HN user

defroost

275 karma
Posts0
Comments82
View on HN
No posts found.

I know that web.py was around years before Sinatra. But URL routing in Bottle is more similar to Sinatra than it is to the URL dispatching via a tuple at the top of a file. Even so, perhaps Bottle is influenced more by web.py. That doesn't mean there aren't a ton of ports of Sinatra (like Express for node.js, Scalatra) or those influence by Sinatra like itty (http://toastdriven.com/blog/2009/mar/07/itty-sinatra-inspire...) or even perhaps Flask.

I even noticed a comment above that said Bottle looks just like Itty. Yet because I brought up the Ruby framework that Itty is essentially a port of, I'm getting down-voted like crazy. I will never understand why Python people dislike Ruby so much, and vice versa.

You wrote: "But folks like Greenwald need a nemesis, so any point to beat on Wired.com for reporting the story will work."

Greenwald doesn't need to go far to find a "nemesis" in this case. And he is not "beating" on Wired for reporting the story, but for reporting only those portions that it deemed relevant. The fact is Poulsen, for whatever reason, was not truthful in his claim that the unreleased chat logs were only Manning's personal meanderings or that they would reveal national security secrets. Whether someone at the DOJ put pressure on Wired not to release the full chat logs, we will never know. But to say that the full logs are not relevant to Manning's defense or Assange's role in all of this, is absurd.

It absolutely was not "a bunch of chatter about his depression". It was much more. As small sample from the excellent piece by Glen Greenwald at Salon (1):

MANNING: uhm, trying to keep a low profile for now though, just a warning

LAMO: I'm a journalist and a minister. You can pick either, and treat this as a confession or an interview (never to be published) & enjoy a modicum of legal protection.

It is clear from this passage that Lamo promised legal protection of a journalist-source or priest-penitent relationship. And it shows Poulsen's claim that the withheld chat logs were only insignificant ramblings related to Manning's mental state was simply not true.

(1) http://www.salon.com/news/opinion/glenn_greenwald/

I prefer Learning Python by Mark Lutz. I've read a ton of programming books, and I can't recall one the didn't recommend typing the exercises by hand, reading the code carefully line-by-line to understand exactly what is going on. Few quality language books say "go ahead and copy and paste the code from the books website, and don't worry about what the code is actually doing."

I guess he felt that others besides the troll were having a laugh at his expense, (i.e., the HN Tips guys comments, other penis-oriented repos connected to employees of aforementioned companies) and were, if only indirectly, in on the joke.

> Supporting only github means I can't use it. Unfortunate, because their stuff looks cool.

I'm sure if you really wanted to use Pagoda, you could use the http://hg-git.github.com/. Or you could just sign up for a free Github account (free seems to be a requirement for you, and these days with the state of the economy I can definitely relate. although no free and private as you mentioned) and learn git, which is a joy to use, and blazingly fast, which is nice for cloning large repos. Personally, I use Heroku and prefer Ruby to PHP so I don't feel compelled to try Pagoda, but I could appreciate the work that went into the site, and the backend. Impressive.

He is obviously not particularly thrilled with getting divorced and having to move from a city that he is fond of, to a smaller, less interesting location, so I think we can cut him some slack. This subject didn't seem to require that he write in the style of John Updike, after all.

I had a feeling it was some inside joke. Not sure about expressions like these. If you're not familiar with the reference, it just looks like incorrect grammar or a typo.

I do like the trend of having apps that can launch from the menu bar like Alfred, Dropbox, Growl.

I've used your rails3_devise_wizard to get-up-and-running on a recent project, and to experiment with difference stacks and it is really useful. Projects like yours and http://railswizard.org are really useful for customizing the default Rails3 stack and customizing a customization of a given stack. Thank you.

> I'd be surprised if anyone that has built a few significant rails applications with devise would continue to use it. Unless you're going to have the most vanilla session/user/authentication management ever, fighting against devise gets downright nasty.

Authentication can get downright nasty no matter which solution you use, but Devise does a lot of things well, is actively maintained, and well documented. In fact all of the gems from Jose Valim, including inherited_resources and simple_forms are such first rate plugins, it's difficult to imagine anyone throwing any of his work under the bus.

Chromebook 15 years ago

Just what we need: Google involved in more aspects of our lives. No thank you. Nothing against Google per se, but letting any huge corporate conglomerate control the majority of your data seems foolish.

I use OS X as it has the perfect mix of Unixy goodness where superb OSS developer tools run great, graphics tools like Photoshop, and VMWare for Linux. Honestly, it is such a good platform, I cannot for the life of me think of a use-case for Chromebook. I'm actually a bit shocked that many HN users seem to be touting this thing as something revolutionary and/or desirable.

> oh boy. that's actually the mode that keep novices clueless about what's going on with the settings.

Of course. Criticizing it for not having Program mode stuck me as similar to saying "Nice sportscar, if only it had Automatic transmission". People buy high end DSLRs and don't take the time to learn what the various A-S-M-P modes do. It is the fault of the mode and the manufacturers who put P or Green modes on the SLRs, and recommend them as idiot proof modes.

> Genuinely curious: how did he improve the world? At least I heard more news about his Swedish affair than about anything significant disclosed by wikileaks (nicknames of the politicians aside).

Read the newspaper much? WikiLeaks and Assange have been responsible for breaking more MAJOR stories than all of the media outlets combined. First we had the Collateral Murder video which showed a Baghdad airstrike where Iraqi civilians including 2 Reuters journalists killed. Then the Afghan War Diary followed by the Iraqi War Logs. Huge amounts of documents. Then the "US diplomatic cables leaks" which contained more than a few important stories, maybe you heard about them? These we followed by the The Guantánamo Files which revealed that hundreds of innocent Afghan farmers were held for years there without being charged. (If you don't know what any of these things are, I'm sure you know how to find out more about them).

If none of the above is significant to you, I don't know what to say. Anyway, sorry to be snarky, but your comment is either uninformed or the mainstream media and the state have done an good job planting seeds of doubt in your mind about the importance of people like Assange in a free society or both.

I not sure why the developer labels it "Chrome only". I use Webkit Nightly (Safari) as my main browser, and it's slightly annoying when developers don't seem to realize that Safari and Chrome are both Webkit browsers and as such their support of the CSS3 spec is exactly the same.

For one camera I got: "fail The 'NIKON CORPORATION NIKON D200' does not write serial information in the exif. See the supported cameras page for a list of models that do."

For my other camera, a Pentax K20D which is on the supported list I got:

"Problem extracting serial number. If possible, use an original image from the camera that has not been edited in any software."

The only thing I had done was uploaded the image from the camera via iPhoto. But all the EXIF data was in tact, including the Pentax K20D, the serial #, even the lens I used. So I don't think iPhoto stripped any data.

I'm wondering why if Flickr for example can extract all of the EXIF data, even for images not directly from the flash card, why did this happen?

> So far, as far as I know they haven't executed anyone in this country for speaking out again tyranny.

I'm sure you know that Julian Assange is facing possible extradition to the US, and several top official are shamefully talking about dusting off the Espionage Act as a way to seek the death penalty in this case. The fact that he is not American hasn't seemed to deter them. Nor has the fact that other journalists and media outlets like the NY Times printed the same documents.

What is so scary is you have other "journalists" basically joining in to criticize WikiLeaks and JA, not realizing that they are setting the stage for future silencing of other members of the press.

I am primarily a Textmate user as I do a lot of Ruby, Rails, and web work, but a while back when I started learning Lisp I felt compelled to use Emacs. I was some of the most fun I've ever had. And I would contend that extending, customizing Emacs with .el files is a form of coding.

> Filtering the cables to reflect what one group deems "incriminating" would be just another form of propaganda, something Wikileaks does not wish to engage in.

Exactly. And it is certainly news to me that anyone here on HN is critical of WikiLeaks as they have done what any journalists do: by shining a light on the worlds most powerful for the benefit of all of us. There is no real difference between how WikiLeaks or The NY Times achieve their goals, except WikiLeaks is not beholden to anyone, so the have more credibility. Unlike Bill Keller and the NYTimes, they don't work with the White House to see if it is OK to print something. Because they are a stateless entity, they are able to break more stories than any news agency, and this year have broken more than all of them combined. But they have done so at great personal sacrifice. Julian Assange (and WikiLeaks) whatever your personal feeling are about them, have made an enormous personal sacrifices so that we may all benefit. Aside from the usual arguments that have been soundly debunked about the dangers of mass dumping un-redacted documents, what fault could anyone at HN possibly have with WL?

For now, but hopefully they don't circumvent the need for such procedures as this, and the growing talk of requests by the Administration for developers to add "back-doors" into all software is really a horrible direction for things to take in the US, if you care about privacy. Orwellian things like this are really upsetting, especially when the government is so blatant about it.

Why would I use Blueprint, when I could use the excellent 960 ( http://960.gs/ ) by Nathan Smith? To me all of the above choices are good as long as there is a way to use Sass ( http://sass-lang.com/ ) like in Compass ( http://compass-style.org/ ) to remove the presentation code from your markup, i.e. span-8, grid_4, etc., using sass. Compass defaults to Blueprint, but thankfully there is the excellent compass-960 plugin ( https://github.com/chriseppstein/compass-960-plugin ) so you also can use 960.

Anyway, I will try Intuit and see how it compares to the above. Thanks.

> Obama admin did try to push on it for quite a while before apparently concluding they'd dumped enough time and capital into it.

I voted for Obama, but sadly on this issue, he has been mostly a disappointment, to put it mildly. The great Glen Greenwald over at Salon.com recently wrote: "Obama -- for reasons having nothing to do with Congress -- worked from the start to preserve the crux of the Bush/Cheney detention regime. Even with these new added levels of detention review (all inside the Executive Branch), this new Executive Order is little more than a by-product of that core commitment, and those blaming it on Congress either have little idea what they're talking about or are simply fabricating excuses in order to justify yet another instance where Obama dutifully "bolsters" the Bush War on Terror template."[1]

This latest Wikileaks revelation is shameful, and for awhile I bought into the idea that Congress prevented Obama from closing Gitmo. I am no longer convinced.

[1] http://www.salon.com/news/opinion/glenn_greenwald/2011/03/08...

I've been using sass and going kind of mixin crazy in my latest project. Once you discover all the various CSS3 generators online, creating good-looking mixins is absolutely trivial and a lot of fun.

A couple of comments:

1. Aside from my dislike of CamelCase on a few classes, it might be simpler to call the .borderRadius helper "round"? .borderRadius(@radius) is not the best naming, IMHO. 2. As mentioned below, click-stops on gradients really make for nice looking gradients. 3. For the button, I suppose you could make it into a helper method where it can take @buttonColor as a parameter. I'm not loving the almost brown color for the active state. What I did was the reverse the gradient for the active state - so light to dark becomes dark to light when clicked on.

Lastly, what I'm finding is that all these gradients, mixins, shadows, etc. do add up, but I supposed if we compress our assets it will in most cases be less than using images. Anyway, nice work.

I'm not a regular Windows user, but it seems like many even more tech savvy users continually fall for this same cycle of BS from MS. The users frustrated with IE 7 were excited about how much better IE 8 would be. It turned out, IE 8 had many of the same rendering weirdness that IE 7 had. Then came IE 9 to save the day. Only it doesn't do nearly as well supporting HTML 5 features as Chrome, Safari and Firefox.

So now here comes IE 10, and what's the pitch? It's gonna be damn fast. Who gives shit? Chrome and Safari are blazing fast AND you don't have to through all kinds of hacks, and html5.js at them as they work perfectly as is, with nearly ALL of the HTML 5 specifications.

Deterring future whistleblowers (as mentioned below) is why the Bradley Manning has essentially become a political prisoner who is being held in solitary confinement. It is why, as the article mentions, the DOJ issued a subpoena to Twitter for the personal info of 600,000 supporters. Fear. Fear is why Rep. Peter King talks about "labeling" WikiLeaks a "foreign terrorist organization".

This article made me angry, but also sad, as I believe if we allow the government (in many cases we already have) to use tools like the Patriot Act as a kind of umbrella document to provide cover to go after normal American citizens - academia, free-speech advocates, journalists, hackers working on Tor - we allow an extremely dangerous precedent to be set that will likely lead to all kinds of future abuses of civil rights of people who simply want things like transparency in government. (I mean the real kind, not the kind you promise to implement when you are running for office).

Anyway, Glen Greenwald gave an excellent talk on WikiLeaks and Why They Matter (55:00 minutes mark of video) He speaks eloquently on this very issue. http://www.salon.com/news/opinion/glenn_greenwald/2011/04/09...