skysight-inc/HackerNews huggingface dataset:
Rails currently wins if you want to make a "typical" web application, which allows people to sign up with email/password/Facebook. Implementing these things with Django requires uncomfortable tweaking, because custom user models have not been available until Django 1.5 (still unreleased).

It is also very painful to make asset pipelines work in Django (SCSS & CoffeeScript compilation and minification). There are various solutions which require various amounts of tweaking, and which can break in unexpected ways on SCSS syntax errors etc. In Rails, all this just works out-of-the-box.

And lastly, Django's app ecosystem is very tied into the Django ORM data model, which is currently very tied into MySQL/Postgres. If you want to use MongoDB (with MongoEngine), most existing Django apps won't work with it. On the Rails side, Mongoid is an established ODM, and there are existing gems to make most things work with MongoDB without any tweaking. This means you will have the email/password/Facebook authentication (Devise/Omniauth), RailsAdmin, CanCan permissions etc. working right away, and your whole web app can run on MongoDB if you want.

So, even though I'm a long-time Django user and fan, I think it just hasn't kept up with the times. Nowadays Rails works better and is more productive for typical new web projects. (But realtime/single-page-apps are a different story, there I lean towards Derby&Meteor.)
The example doesn't compile, either. :-)
The Startup of You (presentation)
Yes, but leave the visionaries and successful entrepreneurs the door. I want to hear from engineers and creative people who've built something interesting and really get a chance to ask them about the nitty gritty of it. HN comments often become more interesting that the topic linked, directing that discussion isn't a bad thing at all.
Glad you like it! Thanks for trying it out.
ANN: Bijection 0.3.0, now with Injections
"Fewer keystrokes"

Your example, Ruby has 26% more characters (194 vs 154).

"I found that they make heavy usage of symbols such as [, ] in code."

Your example, 3 sets of parentheses, 4 equal signs, 4 underscores, one colon in Python.

In Rails, 2 sets of braces, 4 assignment operators (=>), 10 colons, 4 underscores and a <.

I guess I'm not seeing either the brevity or heavier use of symbols in your example...
Let's figure what the important points are.

The Times effectively said "well, our review wasn't quite true but..."

And Tesla figuratively jumped in and said "Hey, I'm glad you admitted your review wasn't true".

Seems like a fine way to end things.

Sure, one could say "But - but, the 'truth is the middle'..." Sure but when you're publishing a review that going to have an economic effect on a company, you have an obligation to both not be false and to not be "sloppy to the point of falsity". So what if Broder was found to not be engaging in an malicious falsification? That the Times admitted Broder was far too sloppy is enough so that Tesla's job of protecting his company's reputation is done.
There's a comparable facility that's part of Django best practices, but it's not bundled with Django. It's a pip requirements.txt file.

Substitute 'bundle install' for 'pip install -r requirements.txt' and it's basically the same thing.
Ask me anything VS discuss the topic at hand leads to two very different discussions.

In an AMA the point would be for us to ask you questions, whereas if I started asking you questions here most would probably be deemed off-topic.
That's not quite correct. The calculations disproved it to a certainty of one against a million.

Or, to put it in another way, the data they had clearly showed that it couldn't happen, but taking into account all known sources of errors, there was a one-in-a-million chance that the data they had was the result of random errors.
The title should read, "The Oxford Comma, and The Internet."
Musk is filtering the NYT's response when he says:

"the Public Editor agreed that John Broder had “problems with precision and judgment," “took casual and imprecise notes” and made “few conclusions that are unassailable.”"

Let me try to cherry pick some points from the very same NYT response (1), spun towards the opposite conclusion:

"Mr. Musk presented his data "in the most damaging (and sometimes quite misleading) way possible" and "I am convinced that [Broder] . . . told the story as he experienced it."

My point isn't that my choice quotes above are accurate, but that Musk's assessment is disingenuous to the NYT's response, and that's in the first paragraph of his article.

I'm not sure what Musk is trying to accomplish at this point, his "spin" is transparent and it feels condescending.

Tesla's goodwill in my eyes is fast eroding.

(1) http://publiceditor.blogs.nytimes.com/2013/02/18/problems-wi...
Perhaps that's true for most people, but I expected more from both sides.
"Press is going to love this response and tear him to pieces."

Agree. As the saying goes don't pick a fight with someone who buys ink by the barrel. Journalists probably stick together and have each others back more than they don't. Not to mention that they could very well be jealous of Musk's fame and fortune as well.

In many people's eyes as well where there's smoke there is fire. For example if this story appeared on 60 Minutes even as fair and balanced it would not be good for Musk and Tesla. (Not the same situation of course but to anyone curious dig up "60 Minutes Audi" to see what happened to that brand.)
Getting rid of Open With duplicates in OS X
Almost certainly: I'd be shocked if they didn't have HR or accounting people dealing with incredibly hairy enterprise accounting, payroll, purchasing, etc. apps. If they're lucky, they support IE > 6.

At a previous job, I called Oracle support for one of their enterprise apps (we paid at least 6 figures a year for “support”) asking about IE8 compatibility and was eventually told that they don't test Microsoft's software for them and would wait until it was released to start. This was after IE8 was released and our users had already discovered that Oracle's thicket of JavaScript had an ancient bindows.net library which relied on IE not throwing an exception for a completely erroneous misuse of elem.style; a week or so later, a support manager called me to ask for a copy of the monkey-patch I'd mentioned so they could distribute it to other customers.
I can't say I'm impressed here.

In the process of being all self righteous and morally outraged, you have killed the comments contributed by your audience.

It strikes me as odd that I kept coming back to your blog, mainly to see whether my comment #775739854 of ~January 23rd was still pending moderation. That post represented considerable effort and it included remarkable data points highly relevant to your post subject.

I noticed I wasn't really the first person to actively bump his comments in order to get noticed. Also, this was the second time I posted said comment at that very article. Somehow, the first one got mysteriously missing, after having been pending for moderation. So all of this leaves me wondering whether you were just not ready to maintain your blog, including comments.

Here is the gist of the comment (I can't reproduce the version anymore, since you ... destroyed it):

> http://jacquesmattheij.com/when-haskell-is-not-faster-than-c...

===================

Hmm. I might be missing something.

But I too read that article you linked, and decided to whip up something in C++.
Here's what I wrote, largely unoptimized: https://gist.github.com/4590998#file-cpp-version-cpp

To my surprise, it was ~40x faster than your C version... (tested with the original test input replicated 2500 times).
Here's the timings (makefile included in the gist I linked)

sehe@desktop:/tmp/4590998$ time ./cpp-version < input | md5sum
33ad35318cfcdc0b675f33633b26445b -
real 0m2.187s

sehe@desktop:/tmp/4590998$ time ./c-version < input | md5sum
33ad35318cfcdc0b675f33633b26445b -
real 1m30.358s

(the md5sum is just there to verify that the results are identical)

===================
My toes practically go numb at prolonged exposure to temperatures in the low sixties.
You take the same stance of "false statements are not lying if you make them to the best of your knowledge". That can not be the standard we hold journalists to.

Broder has "problems with precision and judgement" and his method of keeping a log is "casual and imprecise notes" in "a little red notebook in the front seat". He is a hopeless amateur in the 21th century.
Cheap content attracts cheap commenters. The comments and questions in AMAs rarely express novel insight -- usually, someone pipes up with a popular sentiment, like asking President Obama to stop using drone strikes. Commenting in such threads, which are inevitably mobbed, gives you the illusion of significance ("Wow, X answered my question!") or worse yet they give you actual significance ("Wow, it's X, he did an AMA") both of which function as an invitation to horse-sized-duck trolling and celebrity obsession. Do we want the users who join because Tim Cook did an AMA here once, or people who join to discuss hacking?

As the old saying goes: small minds discuss people, average minds discuss events, great minds discuss ideas. HN has always been a place for great minds -- let's keep it that way.
Worth noting this presentation was made by Hapyrus, a Hadoop specialized startup from 500startups. They know quite a bit about running Hadoop. Following the results of their tests they are now adding Redshift support to their services.
> But, most of all, we would like to thank our customers, who rallied immediately to the defense of Tesla and the electric car revolution, sending hundreds of heartfelt letters of support to The New York Times in the space of a few days!

Holy propaganda style writing batman. Does Musk's business card for Tesla have the job title Dear Leader?
> You seem to think I'm suggesting eating less food.
> I am saying people need to eat less calories.

Your satisfaction from food isn't simply proportional to the weight or calorie content of the food. Foods aren't created equally in terms of how satisfying they are per calorie. My point is that the conventional wisdom of eating lots of bread/pasta is counter-productive simply because they're not very satisfying. A cheesy omelet isn't more or less food than a plain bagel, but for a similar calorie count I'm a lot happier 2 hours later. That's the essence of my point.

> Also, anyone trying to lose weight does not need to be eating in restaurants.

I live in New York and so pretty much only eat in restaurants (nobody here cooks). On a keto diet it's no big deal. Restaurants make money by selling you tons of carbs to inflate entree sizes. If you don't eat carbs, there actually aren't all that many ways to blow your calorie budget. If I'm at a restaurant, I can easily order a big steak and steamed veggies and mushrooms, or fish/chicken with a fatty sauce and keep within ~600-700 calories. The restaurant has no financial incentive to give me a lot of these expensive ingredients, so they don't. Psychologically, it's a lot easier to feel satisfied cleaning your plate of those things than leaving half your huge plate of pasta uneaten.
Using an em dash would make the sentence clear.

"Through the window she saw George—a policeman—and several onlookers."

Or one could simply specify who George is by inserting "who is" after George.

"Through the window she saw George, who is a policeman, and several onlookers."

If using the Oxford comma does not make the sentence clear then the sentence needs to be rewritten.
I am losing respect for Musk with every subsequent chapter of this PR blitz.

What at first promised to be a battle of facts vs fiction is instead turning into yet another word-twisting smear campaign.

This is disingenuous. In fact, his willingness to blatantly twist the words of the NYT calls into question all his previous statements (including some of the interpretations surrounding the data collected during the drive). Unfortunate.
1 - I use an Oxford comma
2 - WTF are we talking about Oxford commas?
Great tip. Thanks for sharing!
W == Why, as in, "Why the fuck?".
I love it.

No matter who's right or wrong here, the next person to review a Tesla will think twice before going about the usual raised-pinky bullshit write-up.

I love this whole episode, irrespective of who's right or wrong for so many reasons.

A CEO pin pointing bullshit (alleged) to such a degree and tech/auto journalism getting a nice dose of facts.
It bears mentioning that this is usually done in conjunction with virtualenv. The common practice is to include a requirements file in your repository, and have every repo clone live in its own virtualenv. This is something I very much love in the Python world: encapsulation of deployments is separate from package management.
I prefer Django for the same reason I prefer Python — Django is more explicit, there's less 'magic', and it's easier to figure out what's going on when something goes wrong.

One example is model definitions — in Django, the canonical definition of a model's database schema is in an app's models.py file. I'm still not sure where to look for this in Rails.

Additionally, other tools you decide to use with Django don't require any extra "Django magic" to work — they work the same as they would if you used them alongside any other tool.

One example is using Less with either framework. Using Less's `less.watch()` functionality, which enables live updating in the browser based on changes in your .less file, is much more difficult to use in the Rails asset pipeline, in my experience.

There's pretty much feature-for-feature parity at this point, and where it doesn't exist there's a plugin or other supplemental tool. For Django, pip, south, and django-mediasync cover for bundler, migrations, and the asset pipeline (sort of). And of course there's a rails admin gem.

But these are the same tradeoffs that have always existed, and I don't think any of them have changed in the new versions.
"The whole Python 2 / Python 3 incompatibility issue was one of several reasons why I decided to focus on learning Ruby and Rails instead."

Confused. It seems, and I'm happy to be corrected, that many new Rails versions deprecate, often with little notice, even core components. Or am I wrong?
Ask HN: What do you wish your non-technical co-founders knew how to do?
My co-founder, who was the technical genius of the duo, left our company awhile back and I've needed to trial-by-fire learn a bunch of new things to help with product development, make scaling/environment decisions, and help troubleshoot support requests. I've also realized these skills are important so as not to perpetually annoy my technical employees and contractors with idiotic requests (not to mention wasting money.)

Short of straight up coding, what, technically, do you wish your favorite non-technical cofounder knew how to do to help you function better in your job or let you focus on the most important things. For example:

* deciphering production logs

* proficiency in vi or another editor

* rails console or similar

* reading a postfix or sendmail log

* basic git commands, reading commits

* analytics and testing

* enough HTML/CSS/JS to make content edits on a corporate homepage

* decipher server/application alerts to understand what's a real issue, what isn't
>seem to mostly be "You're awesome, I just wanted to ask, how did you get so awesome?"

To be fair, that's why I come to HN instead of Reddit (which I NEVER visit). HN is an amazing site with many high quality posts - I think Reddit at the opposite end of the spectrum - because that's what it was when I last looked at it years ago.

A variant of this idea by the OP could work if it was handled correctly - for example, if Richard Branson was invited to talk about establishing successful corporate cultures. If there was an emphasis on a specific individual with a specific topic, then this could work.

Lastly, please don't turn HN into Reddit. I honestly believe this would kill the exact thing that makes this site unique.
Savages Stream online anschauen und Film downloaden | Stream4.org
I'm willing to bet that's a not-uncommon scenario for a lot of organizations, however. If you're doing continuous querying of large amounts of data, then it's probably worth building your own hadoop cluster (physically or via Amazon), but a lot of people are just going to accumulate data and then make queries against it. Lots of 'active users per day', 'traffic by hour', 'purchases by popularity', etc. only get run to create data for the CEO every morning, or by the marketing manager every afternoon, that sort of thing.
> Why would I want HN to be a megaphone for Famous Joe Blow X when I'd much rather have him actively participating and helping out in the threads with the rest of us?

I'd much rather just straight up ask him questions instead of waiting for him to appear.
The Head Office of Skype's Palo Alto
Why do you wish people would stop depending on jQ? I'm just curious.
In Germany, if you ask your employer for a job reference, he has to write it in the most positive words...

The US, in my experience, is no different, whether it be job references or letters of rec. Good writers will be able to use nuance to make their meaning clear, and good readers must be able to interpret the nuances appropriately.
Trazadone and melatonin have helped tremendously in my sleep as well.

For vitamin D you should make sure you get vitamin K in there too:

http://www.vitamindcouncil.org/about-vitamin-d/vitamin-d-cof...

http://examine.com/supplements/Vitamin+D/#thingstoknow
Second Constitutional Convention Open for Beta Testing
he is proving he is an equally good marketer

You are entitled to your own opinion. My opinion is that I am not alone in being turned off by Musk. I no longer desire to buy a product from a company he operates. As an astute friend of mine who is both a theoretically trained scientist and active entrepreneur wrote as a comment on the New York Times public editor piece (on my Facebook wall), "Even if you completely accept Elon Musk's analysis, the bottom line is that owning this car is very expensive and a big pain in the tookus." If I spend that much money on what one of my law school classmates once called a "penis car," I don't want the car leaving me feeling like a schmuck or the car company's president acting like a schmuck in public.
Well numbers like that make sense when you take into account that the 1.5g figure applies readily to people like
http://www.youtube.com/watch?v=xdhOdJ_NVao

Better to eat too much protein than too little anyway.
It has one important downside tho - because you can't chain calls, your code ends up much less readable: It needs to be read from the inside-out, and the functions you're applying on the array are in reverse order compared to the order of execution. Its also harder to to see which arguments go to which function.

Compare

_(array).map(func).filter(func).reduce(func)

and:

_.reduce(_.filter(_.map(array, func), func), func)
A proposal for named parameters in PHP 6
The level of discourse in HN comments is leaps and bounds better than that in Reddit. At the very least, you'd get a much more useful and legible comment thread. And presumably the topics would be more focused on the HN crowd, where as Reddit runs the gamut
Heartily agreed. I am extremely disappointed with Musk over this incident -- and now with the NYT as well, for failing to stand their (valid) ground and failing to call out Musk's blatant lies and manipulations.

As the dust settles, it appears that the worst that Broder is guilty of is being less than lab-test-precise in his reporting. (He did make some unfortunate decisions, such as not charging further on various occasions, but all of these decisions strike me as entirely reasonable given the facts as he understood them at the time, and -- critically -- the advice he was given by Tesla.) It should be noted that the basic thrust of his piece appears to be entirely accurate: everything started out fine; then he started having range problems; he took significant but not drastic measures in compensation; these measures were insufficient. For instance, he may have been a bit sloppy about details such as exactly when he turned down the cabin temperature or exactly what speed he slowed down to, but it's uncontested that he did lower both temperature and speed well below what a normal driver would expect in a normal car.

The car seems to have committed a sin larger than any of Broder's: it "lost" a large amount of range overnight. This was one critical element in the eventual failure (the other being various bits of bad advice from Tesla, in particular the advice to ignore the low range reading after charging for only a short period at the public station that morning).

But the worst sins, by far, are Musk's. He made many sensational accusations. Some seem clearly false, such as Broder "driving in circles" in a supposed attempt to kill the battery (Broder's explanation that he was simply looking for the charging station is far more plausible). Many more of Musk's statements are deliberate distortions of the worst kind. The "battery never ran out of energy"... which may be technically true, but whatever energy may have remained in the main battery, the car was so dead that it couldn't even be towed without a flatbed truck. "Why would anyone do that?" (leaving the last charging station with insufficient charge) when it now appears uncontested that this was under explicit advice from Tesla. "Drove right past a public charge station" -- which he didn't know about, Tesla staff didn't tell him about, and Tesla staff had implied he wouldn't need. And so forth. His entire "most peculiar test drive" piece reads like something Fox News would say about an Obama policy proposal -- nitpicking, distorting, misdirecting, and outright mocking.

I've always been a fan of Tesla, SpaceX, and Musk, but I will never look at him in the same way again.
Great to see you here Michael. I guess the gap between when I started the Tutorial and when you updated it accounts for the difference. Currently on Chapter 7!
Microsoft doesn't seem to be taking steps to lock
others out from editing Office format files.

Microsoft doesn't have to take such steps. It took them six full years (three versions of Office) to get Office to support the strict variant of the Office "Open" XML format that they created.
PHP Security Advisories Checker beta
At first I thought the joke was that there was nothing on the HN Frontpage that was not also posted to Techmeme. Then I realized the site does not work in IE.
Played just to confirm that the yeti ate me :-D. Good times!
The 'fuss' with top gear is that they implied the car ran out of energy and had to be pushed, while the car logging shows it never ran out of energy and had enough juice to drive back into the garage from any point on the track.

Top Gear could have tried to be accurate, and just kept flogging the machine around the track until it actually ran out of energy, but they really dont care. Top Gear isnt a news show, its entertainment. Its a soap opera about cars.
After the recent Rails issue we added a PagerDuty service which is subscribed to django-announcements. When it gets a message from the list it filters the subject for "security" and alerts the on-call engineer who can evaluate the severity (as it applies to us).