skysight-inc/HackerNews huggingface dataset:
It's pretty brutal and stupid, but:

window.setInterval(function(){eval(this.innerText)},1000);
Along the same lines: for a young college student the death of a grandparent might very well constitute the first experience of losing a family member. With little experience, it's not always clear how these situations should be handled with respect to work or school. More mature individuals are more likely to handle deaths within the family with discretion.

With increasing age it is also more likely that you've already had your grandparents die.
FarmLogs Raises $1M; PageLever, Simperium Acquired
> You're welcome to keep believing, and human-languages interactions sure would be neat at any level, but I'm coming from too pragmatic an angle to believe this will happen before a complete mapping of the human brain or the singularity.

Ummm straw man there.

My point was just that computer languages which leverage people's existing understanding of natural languages do better than those which don't. I said way up at the beginning of my post that the constraints were totally different and that natural languages are quite a bit further from computer languages than we like to think.

I thought we were talking about likeness, not substitutability.
Consider this piece of code:

val resultA = something()
val resultB = somethingElse()

return resultA + resultB

With Futures, the processing for resultA and resultB would be done in parallel, because the call to something() does not block. To combine them you don't even need to wait for the processing to finish, because you just create another Future.

Also, being able to pass them around is a really important use-case and Futures are also all about error handling. With Scala it's really trivial to wrap the async support in Servlets 3.0 and make your controllers return Future responses. Then in the servlet you just attach onComplete and onFailure events to return the request when it's ready or when it fails. Works like a charm.

The greatest thing about Futures is that the concept is entirely agnostic to the underlying implementation details. You could have a Future result that's being processed asynchronously by an IO loop (e.g. ning's AsyncHttpClient), you could have a Future result that's being processed by a thread and you can combine the results.

If anything, I don't think you worked with Futures much. You should try it out in Scala, where Futures (from Akka or Scala 2.10) are modelled as monadic types, making them highly composable. Doing multi-threading with Futures in Scala is like working with Lego blocks.
Don't disable it. Just learn about it and use appropriately i.e. hit yourself with the clue stick.
I have seen the same wing bending test for the A380 at the Airbus factory in Chester. It is jaw-dropping.

The engineers have to climb into the wing to fit rivets and electrical wires. Sometimes it takes 20 minutes to crawl to the spot they want. Since they take a portable lamp with them, a popular prank was to switch someone's light off when they were well inside the wing.

Another anecdote from the Airbus engineer was Boeing had to cut a 747 wing apart because their engineer got stuck in there working on a wing. Can't verify this claim though.
Papier makulaturowy
This is something to be concerned with, it ruins the global economy and might even lead some nations to an economic collapse. $300 trillion USD stolen in this way really hurts. The money could have been used for good and helping people instead of making the wealthy even more wealthy.
Interesting perspective from the comments here.

$1.5M per cofounder over 3 years puts them at $500k/year. Pays more than most jobs I can think of. And you can certainly do a lot with $1.5M in the bank (no mega mansion in SV, but endless traveling, comfort, etc). All relative, I guess. Us Hacker News folk have a skewed vision on the world :)
Depend on abstractions only
Inversion of control could be understood as synonymous to hexagonal architecture or ports and adapters. At least that's what in my, not so humble opinion, it boils down to. It helps to make your application better understandable and open for changes in the future.

The fundamental idea in a hexagonal architecture is to use inversion of control or in other words to depend upon abstractions only when it comes to external components. As an aside, dependency injection, is just one technique to achieve this, another might be a service locator pattern.
I haven't worked with neither Go or Erlang, but it would have been nice if you could use some kind of Future/Promises framework with Python's Gevent.
For me, truth. My grandmother died my Junior year of college right before midterms.
In fact, i know i do not understand how the table on this page is generated:

http://benchmarksgame.alioth.debian.org/u32/which-programs-a...

That is precisely why i am suspicious. I cannot say for a fact that it is deceptive, but it certainly seems deceptive.

On that page Ruby is being shown as 10% faster than Perl. Yet on the direct comparison page things look quite different:

http://benchmarksgame.alioth.debian.org/u32/benchmark.php?te...

On that page, for all benchmarks that can be compared, Perl has used an overall time of 9255 seconds, while Ruby has used an overall time of 10662 seconds. As such Ruby is actually 10% slower than Perl.

Where does this difference come from?
If you're feeling this way please just TELL somebody. If you're ready to kill yourself, what more do you have to lose by just letting someone know?
Django OAuth 2.0 (RFC 6749) pluggable implementation
I hate to get analytical here, but is anyone tracking the suicides of founders? Is it higher than average or are we just seeing more news bubble-up after Swartz?
I like it, but I'm curious how long the links stay active for? As for feature requests, maybe make this an option (like pastebin does, with link expiration)?
Rest in peace, Jody.
Wow, those screenshots look impressive!
And even that can be optimized away - after all, in Eve, you basically issue commands like 'lock onto this ship' and 'activate this cannon', which will then fire every X seconds - all each client has to know is the target, ship information, and a toggle command for a given weapon, the rest can then be determined completely on the client-side when it comes to the visuals. Every X ticks, data (like health) of the target ship can be sent through - although I reckon that too would be optimized away and only sent on-demand, i.e. when the user actually selects the ship under attack.
Now, there is a program that an ordinary person might be able to read to understand what it does.
They're probably using the 'sample' firehose, which is not protected and still serves a few tweets per second.
Boeing batteries are overheating. Tesla batteries are not overheating. There are sufficiently similar requirements on their performance and safety that any layman can conclude there is something wrong with Boeings design.

The problem here is that the engineers at Boeing are not clowns.

The problem here is that you think that is what is being alleged. It isn't: an enormous and old company like Boeing can have an entrenched culture that leads to decisions being made that do not follow the advice of the engineers. What makes Tesla and SpaceX competitive is not their technical knowledge: it's the fact that they can use that knowledge effectively.

NASA's engineers aren't clowns either, yet their shuttles exploded, unnecessarily. The Feynman committee tore their procedures, not their engineering ability, to shreds.
requiescat in pace
> Random piece of feedback: it's weird to use data-model_id (instead of data-model-id)

I have thought about this one too in my own applications, and I seem to switch back and forth.

The good thing about using underscore is that the variable name can match on both sides of the expression:

var model_id = $foo.data('model_id');

vs

var model_id = $foo.data('model-id');

Mixing camelCase with dash seems a bit weird for me, because now there is a delimiter delimited, and case delimited convention: `data-modelId`.

I am trying to use camelCase for new code in other parts of the code though, as it seems to be the general convention in JS. [0]

[0] http://ozmm.org/posts/javascript_style.html
Jody Sherman's story
> Your love of building things makes you great.

I'm a Computer Science dropout myself, but I do work with a couple of people that graduated Ivy League schools (one of these schools is even mentioned in the article). What I did find out is that no matter what school you graduated or no matter what your credentials are, if you're always driven by curiosity ("hey, how does this work?") and always eager to actually build stuff that other people use than the differences easily fade out.
I am lucky
Few think designer's shouldn't code. It's just two different trajectories. For example - when was the last time you drew something? Used water colors? A musical instrument?

For most designers who cross over it's a gradual process using HTML, CSS, and usually Flash / Actionscript -- at least it used to be that way until programmers & bureaucrats mucked up Flash =P
Cool application !

And done with Bootstrap ;)
I made a project that is similar - shows a bit more information except its only for the US and you need to search a specific word/hashtag. http://tweetpleth.herokuapp.com/
Firefox OS Boilerplate App
>> Really? I don't see IntelliJ Idea suffering much from NOT being Open Source

Yeah definitely. Idea & Visual Studio (among others) are top quality products, and yet both nothing more than a chapter 11 filing away from being vague memories.

Contrast adoption of Idea vs Eclipse.

Consider when Windows is no longer relevant, VS will necessarily degenerate to being a niche product (even though it is arguably one of the finest IDEs available at any price today).
Men also die earlier than women so it's possible most students grandfathers are already dead before they reach college. I know this was the case for me.
I have seen close friends and relatives work their way through depression (varying levels), so unfortunate as it is, here is the answer (I KNOW the following sounds crazy - even to me - but this is what is considered rational and obvious by suicidal folks)

Telling someone makes it likely that they will try to stop you. If you have decided to take your life, the worst thing you want (in some cases) is for someone try and prevent it from happening.

Also, depression never leaves you alone, so there will be multiple points in your life where you will think about taking your own life, and you will yourself doubt whether you will go through with it up to the point of pulling the trigger, so you don't want to tell someone and "waste their time" if you are not sure you are going to do it.

Its pretty crazy how these things work, and the best way out for me in helping such people has been to physically take them to a professional, every time, every session, until someone certifies them as no longer depressed. Nothing else has worked for me and I know I am not qualified or capable in talking someone out of a suicide attempt.
Hilarious! Reminds me of another paper suggesting a game theoretic approach to the toilet seat problem - http://home.tiac.net/~cri/1998/toilet.html
Want to become a British citizen? Better swot up on Monty Python
No, I didn't. Now it works, thanks!
You could use some JavaScript to change window.location.href to a new data uri containing the content of the page that you could then bookmark. There's a limit to the length of URLs so it would be an interesting trade off of save size vs features.
Comments are broken by design. This includes HN, by the way. The problem is that commentators can receive approval and social validation for contributing nothing but middlebrow dismissals, tangential hobbyhorses, rehashes of the same damn Internet arguments waged since time immemorial, and in the worst cases, bad jokes and vicious flamewars. Maybe one out of ten, or one out of a hundred comments even approaches the depth of a decent article. And fluff articles are given refuge as host to these sticky but often useless discussions.
Daily Social Media Habits
Ecomom mourns the passing of Jody Sherman
Notepad.cc - a piece of paper in the cloud
iOS isn't MacOS but Windows 8 is just another Windows! The inefficient disk space usage is quite infamous with Windows. They managed to fit the physical memory by memory combining but failed how to manage the files on storage.

Don't be surprised it's Microsoft!

They did physical memory compression but forgot how to optimize it well on the dedicated storage.
Pedant mode: we know the design is unsafe and faulty, so much so that the planes have been grounded. The question now is how much and in what way are they unsafe.

Regardless, I think my post was clear that criticisms which are well founded in solid engineering deserve to see the light of day, regardless of politeness. And even regardless of whether they turn out to be ultimately true. If they are solid criticisms they need to be rebutted with equally solid counterpoint arguments and/or evidence.

Failing to go about the process of safety openly and humbly is the sort of thing that costs lives. Especially now near the anniversaries of the 3 worst accidents in US manned spaceflight history I think encouraging a spirit of honest and open technological criticism is the right thing to do.
I'm going to disregard the bits about wings and the general engineering attitude at Boeing. It is simply not relevant.

Musk has one very important justification to make the statement he did: that battery caught fire. That alone is proof positive that he is right. If the charger should fail, is it then permissible that the batteries catch fire? If not then they are fundamentally unsafe.

For that reason alone this is a valid statement, and there are more justifications (such as BIG cells with LITTLE spacing which is problematic) for the use of the word 'fundamental'.

There is enough data available about the architecture for people with far more experience than you to make such statements, the amount of energy liberated from such a big cell should it go wrong is enormous and that alone is a reason to avoid big cells.

I'm sure Elon is picking up PR points here but you can't just discard what he is saying because he does not have engineering samples on his desk. The incident proves his point quite effectively, this design really does have problems.
One nice variation of that quote I've been seeing is "Don't compare your behind the scenes to someone else's highlight reel". It's far too easy for us to reflect on all the daily hurt and trials we go through, only to compare it to someone else's most glorious 15 minutes and feel like we've failed. When in reality most of us are fighting some sort of battle, many just hide it well.
"While we grieve, our focus is on the business and continuing to move forward with Jody’s vision of providing exceptional customer service and safe, easy choices for moms"

That sounds ice-cold to me. But maybe that's just how business works?
When I was in high school one of the students committed suicide. There was a lot of discussion and outreach at the school at the time. One of the things they talked about was that once one student commits suicide it greatly increases the chances that others will follow.

My mother is also a social worker at the VA Hospital, and she's had some of her patients opt out so to speak. It does appear to have a very strong pull on other people who are suicidal to choose that path.

So if anyone reading this is having those thoughts, please, please talk to someone professionally. Call the suicide hotline in your area. There are very real things that can be done to help you through this.
I think I'd rather camp at -35C than at 2C with driving rain and wind - which is far more likely here in Scotland! (-35C is about the coldest I've experienced at altitude in the Alps).
> I'm betting Musk has as much data about those batteries as Boeing, the FAA, or anyone else alive.

You're betting that, are you? Based on a couple of paragraphs in a news article, you're betting that Mr. Musk has as much data as anyone alive - including the Japanese designers and manufacturers of the battery?

If there were a viable way of determining the facts of the matter, I would be happy to bet pretty much any sum you cared to name against you.
Awesome! I put it in my Dropbox public folder. I can access it from anywhere and start writing.
> Japanese inspectors have cleared the maker of the battery, GS Yuasa, of any defects before the unit leaves the factory. But both Japanese and US investigators continue to examine and test the batteries to understand why they failed after they were integrated into the 787 electrical system and operated on commercial flights.

So it's not the batteries but how they are integrated into the plane? How is this any different than how Tesla has packed their cells? Their cells looked pretty densely packed from my POV.
Programming Clojure by Stuart Halloway is the clearest introduction to Clojure I've read: http://www.amazon.com/Programming-Clojure-Stuart-Halloway/
IOS 6.1 patches several security holes
Isn't it quite easy to present proof that a relative has really died?
Lighten up - it's humour satirizing students trying to get out of exams by claiming grandma died, not research.
Of course, today a colleague pointed out that from within your enterprise account you can ‘link your personal account’ from the let sidebar. That was my last gripe really (apart from the front-end code needing an overhaul).
Superb Realtime 3D Cyber-Attack Alert System in Japan
Yeah, it's unfortunate that all of Javascript uses camelCase instead of underscores, but since it does I'd rather use it everywhere, instead of using underscores when they aren't standard in either Javascript or HTML.
There are other reasons too.

Having been there myself, the big one I've seen in myself and with friends in similar situations is that the depressed individual feels worthless and "unfixable" at their core because of their:

- past behaviour (e.g. they did something considered seriously socially unacceptable and feel they can't tell anybody lest they be ostracised forever, or people already know about it and they are ostracised leading to feelings of no hope of escape); or

- past experiences (e.g. they have a string of failed relationships they feel responsible for and believe they'll never be happy and every day seeing happy couples on Facebook or in the shopping mall is like a stab in the heart).

At the root of it is hopelessness, which also covers:

- future expectations (e.g. they're trapped in a very bad situation, e.g. money, relationship, crime, etc., and can see no way of escape)

In these desperate situations, they feel too guilty, hopeless, ashamed and/or disgusted to discuss their circumstances with anybody, and besides, in their minds, it wouldn't accomplish anything because they "know" they're broken ("I can't live with myself after what I did", "Alice was the only person who could love somebody like me", etc.) or screwed ("I can't go to prison", "If anybody ever finds out I'll never get a decent job/lover ever again", "Nobody can replace Alice, I screwed up forever", etc.) and there's no way out.

Perhaps the saddest thing about suicidal depression is that many (note: I'm not claiming all, or even a majority, OR in the case of Aaron OR Jody, simply 'many'!) of these scenarios seem to stem from a dysfunctional belief system and a lack of introspective coping skills that I imagine could easily be taught, in the form of life skills based on cognitive behavioural therapy, to school teenage children.
Many parents lack these skills (through no fault of their own), and pass dysfunctional beliefs and thought processes onto their children (entirely unconsciously).

It's fascinating to me that such a serious problem - the #2 non-biological cause of death, behind road traffic accidents - receives so little real attention [1]. People get upset about wars, murders, have extensive fire safety requirements, covers for their pools, hide their poison and medicines from children, panic over their children being abducted or falling pregnant etc., yet suicidal depression? I don't believe I knew a thing about it until I had to learn quickly - to help myself.

[1] http://en.wikipedia.org/wiki/List_of_causes_of_death_by_rate
how many of these petitions have led to anything besides a little more than a standard response?
And it's probably a matter of ecosystem too. Outside databases you end up depending on stateful libs/components so you're kinda forced to go with the flow, too much inertia.
Anonymous Hacks US Government Sites With 'Asteroids' Game
Great article, especially in coming up with a clean way to reaching the holy grail. I remember seeing in Spike's tech talk some months back that they initially chose DerbyJS, but it seems from the blog post that they went with Express instead. Curious to find out why.
"I literally fucking exploded like a WWII bomb at the clueless peon who made that accusation."

No you didn't ;-)
Plenty left.
LiFePO4 and LiMn2O4 chemistries aren't magic, although they are less prone to 'rapid disassembly', there is always a possibility. LiCO4 does have advantages though, mainly related to energy density. For something like a car, or a plane, higher energy density in cells means greater efficiency for weight vs. energy potential. Also, it isn't like lithium cobalt is going to explode if you look at it wrong. Nearly all the risk can be prevented by proper cell management, via electronics.

LiFePO4 and LiMn2O4 have the advantage of larger output potential, which for your bike, allows a large amount of power to be put into the electric motor from a small battery. Electric cars/planes get around this by putting lots of cells in parallel, but requires quite a lot of regulation.
I'm confused... why would you need dropbox for this? What exactly did you put in your dropbox folder?
So Apple dug a hole by:

- not allowing iOS to play videos in-DOM.

- deciding not to support WebM, so Firefox users can't see their videos.

And now others are following them by helping to dig deeper in a vastly inefficient way of displaying moving images ?
What could previously be offloaded to dedicated engines is now going to burn the CPU via JS. Hum, now that's gonna work…
It does not matter if the you have the best engineers in the world as long management's primary concern is not flawless designs, from an engineering pov, but striking a balance between that and some unrelated economic measure.
When it comes to safety, such compromises are always /very/ dangerous.

I would think the people who designed the space shuttle's rocket boosters weren't clowns either.
Didn't prevent http://en.wikipedia.org/wiki/Space_Shuttle_Challenger_disast... from happening.
Getting Started with CUBRID Database AMI (Amazon Machine Image)
Diced in a Thai curry maybe. But served as an unadorned wedge on the side in a meat and three veg meal. Yuck.
Regardless of who is playing the 'game of crossing the border' it should provide super low iteration times. Otherwise it is counterproductive.

I am a coder, I can photoshop too, if needed. But it would probably kill my rhythm to find a base psd file, change something and then produce intermediate assets, then deploy then see the difference. That's why html/css is a step forward... Likewise, if you are designing and somehow want to change the behaviors, it should be as easy as that. That's the beauty of scrappy development environments...
Give Me Your Tired, Your Poor…If There’s Room After More PhDs