skysight-inc/HackerNews huggingface dataset:
It is difficult, which is why Clojurescript adoption didn't really take off until React (via Om) showed up. The whole point of the virtual dom model is to avoid stateful DOM manipulation and instead have view code that is an idempotent (and generally pure) transformation from app state to virtual dom. This is a great fit for any functional programming language and makes keeping the DOM in sync mostly a solved problem.

I haven't tried Mithril in cljs personally but it fits the model so you should be fine with just writing a wrapper function or macro to save some boiler plate on the cljs to js data structure conversion.

The challenges in the cljs app I'm working on are the same challenges you run into any app: how do you separate concerns, where does state reside, how do you keep it in sync with the server, etc. A problem that's unique to React based apps is how to get data from your app state to a component without higher level components needing to be changed.

My main annoyance with cljs is that rethrowing errors in Chrome swallows the stack trace and core.async wraps everything in a try/catch block. This means that you need to debug by breaking on error, typing `ex.stack` in the console, and reading compiled JS frames to find the source.
Electroconvulsive therapy is a hazard to your health
Why Buying Provisioned IOPS on RDS Might Be a Mistake
Spiegel went from investigative journalism decades ago to publishing very shallow and (in case of its online version) click-baity articles. Süddeutsche is certainly more insightful.

But at least it is safe to say that Spiegel is not much politically biased on a whole.
And if you're into using Nim for low level programming, I got the binary from yesterday down 1 more byte and made it work on x86: http://hookrace.net/blog/nim-binary-size/#addendum
Exactly. I was too afraid to ask actually and be downvoted and labeled totally uncool. So what is it? I'm still not smarter after reading the FAQ. A "Javascript Platform". Aha. What do I use it for and what problem does it solve for me?

I see it's a fork of Node.js. So people use Node.js to write server programs in Javascript, I heard. So is io.js then "competing" with Node.js then?

Not going to ask what npm is now...
SEO made for Everyone
Omnia vincit amor et nos cedamus amori.
I agree with your choice in the example, but I think of your select as code, not as data. So, you're moving the complex code closer to the data, but it's still code IMO.
3 Ways How the Internet of Things Will Revolutionize Marketing
Airbus are the usual target.
I think it's actually the context of where you're working - the highlighted card could be anywhere on your board.

Eg

- open Trello
- go to bottom of a list and click Add a card
- type the name, <enter>
- <esc> to leave the adding cards box
- 'e' for edit, but actually, you're on the first card in the first list
- <esc> to leave the editor on the wrong card
- click on the card you want to edit (or arrow over / down until you get to it and hit 'e')
- 'e' to edit the desc
- cmd-<enter> to save
- <esc> to close
- 'n' to create another card

You need to be careful that you haven't touched the mouse and highlighted a different card during this process too.

It's simultaneously hard to be in the correct context and easy to move to the wrong context. And you have the situation where actions in one context don't move you there, generally.

Looking at it, it feels like it would be way better if creating a card set that as the currently highlighted card.

There are other things too - like you can't create a card in a blank list without clicking on the button. Not in itself a big deal but it's another thing that pushes you away from shortcuts.

Most of the pieces are there. Just that when I tried to use the shortcuts in earnest I found that I couldn't create smooth patterns to make it work. Now I mostly use the mouse because I feel like I'm going to get it wrong if I use the keyboard, and I have to remember too many things instead of concentrating on what I'm trying to enter.

I'm upvoting you in the hopes that your help goes towards making trello better (obviously I should have just sent this feedback myself, naughty me)
The Internet of Things and Things
third way: Mainstream users largely move away from consuming illegal drugs into abusing prescription drugs. The drug marketplace becomes a confusing grey market of legitimate, semi-legitimate and completely illegitimate usage of the same substances.
In English, the idiom "Don't care what they think" means "don't care what they feel". Though I understand how that might lead to miscomprehension from non-native speakers ;)
That is interesting. I live in Austin, TX and my water bill is all kinds of complicated. A good portion of the dollar amount is actually sewer. We're encouraged to game the system by using as little water as possible during the cold months. Then in the warm months the excess is marked as 'agriculture' and thus we don't pay sewer on it.

The city also doesn't read my meter monthly, but yearly. It just estimates it from month to month. So about once a year I get a huge, insane bill for about 3 times my monthly bill. OTOH they only bill me for the water when they do that so technically I'm getting sewer for 'free' during the year.
"...cause cops to ease up on suburban white kids..."

Law enforcement eases up on suburban white kids in any case. Legalization will actually help the kids who are normally given more harsh punishments for possession. The fact that they will be given the most harsh punishment combined with the fact that marijuana is the drug of choice for the urban youth demographic is what leads to the disparities we see when we view amalgamations of the data.
[Leaks]:HTC One M9e Sports Plastic Body with 20 MP Camera
Please revive the Web SQL Database HTML5 API defacto standard [1] or create a new proposal for a relational database API.

The NoSQL Indexed Database API is okay, but as we all have learned NoSQL isn't the right solution for everything - both SQL and NoSQL have their place - right? So please add SQL to HTML5 - especially for offline web apps.

[1] Supported on more than 90% of all mobile devices (Android, iOS). http://www.w3.org/TR/webdatabase/ (specification is no longer in active maintenance)
> German companies even refer to France as the "evil empire" of industrial espionage

I've never heard such a statement from German companies (and I live in Germany). Related to industrial espionage are rather China (for obvious reasons) and the United States (the latter even before Snowden: http://de.wikipedia.org/wiki/Enercon#Industriespionage.3F_De...).
The little man in the screenshot is from the "LOFI Fantasy 2D/3D" tileset[1], which has a CC BY-NC-ND license. After a quick look around, doesn't look like it's available on Oryx's site any more, however.

[1]: http://forums.tigsource.com/index.php?topic=8970.0
Or Thales, Safran, Dassault, banks,...
SurveyMonkey CEO Dave Goldberg died of head trama
having only read about the usage and successes of AFL, I'm curious what you would "feed" this network protocol debugger. a grammar file (something like BinPAC++ [0]) or something else entirely?

[0] http://www.icir.org/hilti/binpac/intro.html
Rick: How can you close me up? On what grounds?

Captain Renault: I'm shocked, shocked to find that gambling is going on in here!
[a croupier hands Renault a pile of money]

Croupier: Your winnings, sir.

Captain Renault: Oh, thank you very much.
Microsoft should be way more careful with messaging
What do I get for my donation?
Wouldn't you expect the interviewer to explain the organizational chart and then move on to the next question? I don't understand the business or technical context of that question, and it doesn't seem like a behavioral one either.
I like your findings, although I would add that the secs/hit depends a lot not just on the rank but also on the time of the observation.

8PM PST will surely have different secs/hit from 8PM CET
I do understand. My country (Australia) has US spy bases in it too ( https://en.wikipedia.org/wiki/Pine_Gap ), which they have also used to spy on Australians. In Australia's case (and I would be willing to bet that it's the same for Germany), it was a quid pro quo arrangement. Australians spy on Americans and pass the information to the NSA. Americans spy on Australians and pass it to the Australian spy agencies - thereby avoiding restrictions on domestic spying. Seriously, your problem is with the BND, not NSA, because NSA is going to spy on you regardless of whether you want them to. It's pretty much their job. You just don't want the BND actively helping them, which is why your energy should be directed towards them.
I think that it might have been sarcasm.
another annoying thing about PHP is that it keeps emitting warning related INFO messages on webpage for visitors to see even after having proper try{}catch{} error handling. Then you got use set_error_handler for it to suppress unwanted messages
The Musk Who Wants to Change The Way We Eat
Word recovered under the hood by losing the users data but never losing the GUI. The user still thinks it's bad, but he won't think it's unusable. To some degree he will blame himself for not saving the data himself.

You've never done user support, have you? Almost everyone would prefer "UI freaks out for a bit, restarts with no lost work" to "invisible loss of work".

Edit: I've just remembered while I was arranging my mortgage, the customer rep was using some sort of Windows native LOB application. It popped up a failure dialog box with some hex in it .. which she closed and carried on. Users don't care about quality unless and until it stops them doing what they're doing or loses work.
In actuality, it is one of enforcement. It is relatively easy to track and identify water usage. You can disguise a well only for so long. If the US federal government had the means to regulate air usage by so many cubic feet per year, they would.

For some industries this already exists in the form of the regulation of emissions. If you're capping an industries carbon output into atmosphere what you are really capping is the mass of oxygen they can consume from the atmosphere. If you do the thermodynamic analysis of it, you're basically putting a cap on the amount of energy that a business can acquire from using the atmosphere. Most industries run 24/7, so it is really easy to calculate how much oxygen they'll use each year and how much carbon they'll emit into the atmosphere.

It isn't so easy for individuals and smaller businesses. For example, I own a generator that uses oxygen from the atmosphere to get electrical energy. However, I only use it for a tiny fraction of each year.
For Top 25 Hedge Fund Managers, a Difficult 2014 Still Paid Well
I am not sure why people think it is perfectly fine, there are serious mental health risks associated with it. I am probably the only person on HN who thinks that legalization is a bad thing - I used to smoke a lot and strong marijuana definitely caused me issues and I really wouldn't recommend anyone else abuse it to the levels that I did.
FBI Slow-Walking Toward End of Illegitimate Stingray Secrecy
The Big Problem with the New SAT
evil-mode is a very good emulation of vim in Emacs. I use spacemacs (https://github.com/syl20bnr/spacemacs) which builds on evil-mode with extra goodness. You might find you like one or the other.
Networking vs skills.
> The io.js team has done more in a few months than Joyent did in 2 years.

This seems a bit one-sided. What Joyent has been doing is called "maintaining production software." That's something I've been missing in the web world lately. It's surprisingly hard to find high quality libraries that don't change all the time (that is, break all the time). Libraries like jQuery, normalize.css, and Lodash are the exception here. They're some of the few libraries that I'm comfortable guessing will look pretty much the same they do now a year from now.

That is not to say that I don't want to write my gulpfiles in ES6 as much as everybody else, but you have to understand that this whole forking thing scares off people who are looking for a platform they can invest significant time and money into (that is, write more than a million lines of code for).
I think the key phrase is 'more like' rather than 'the same as'. I don't imagine space travel is ever going to be the same as airline travel, it's always going to involve energies and therefore risks far in excess of commercial airliners.

Take engine failure. An airliner with completely failed engines and no motive power at least has a chance of gliding to a landing, without any additional safety or backup system. Rockets, not so much. Jet aircraft can recover safely from a whole range of technical issues, but while rockets have a certain latitude for recovery (SpaceX had a first stage engine failure during launch a while back but the flight continued) their resiliency is much more limited. I don't see that changing, and I doubt SpaceX does either.
As a German I would suggest to just ask the NSA to leave the country. Additionally, I do not want Gabriel to become chancellor, but I would like to see Merkel and de Maizière (who already survived a remarkable amount of scandals) getting bitten by this. America is a friend and important to us, but even more are our ties to France and the EU, which should be our number one priority by a large margin.

But as soon as you argue in that direction someone from an agency, who wants to play with the big guys and their big toys, comes along and argues how America is critical for our security and how endangered we are and that Germany did not had a terrorist attack yet just because the mighty US of A guards us. If he is good at his job, he manages to slip in the Marshall Plan as well. People seem to believe this, even if they know, how our agencies fail to prevent (non-islamic) terrorism [0] and that it was in fact the police on its own that caught the attempted (islamic) bomber in Frankfurt last week [1].

[0]: http://www.theguardian.com/world/2011/nov/16/german-neo-nazi...

[1]: http://news.yahoo.com/report-german-police-conduct-anti-terr...
There is only one lab in the US with a federal license to grow marijuana. It isn't Monsanto. So I doubt Monsanto has a stock of superior seeds, just ready to take over the market.

http://www.cnn.com/2009/CRIME/05/18/government.marijuana.gar...
First step towards Star-Trek's replicator. :)
Tagesschau? Really? To often they show pictures from wrong places and have a lot of hoax. Just google for "tagesschau falschmeldungen". I personaly trust Spiegel more... but thats only my opinion ;)
This. Some actual things we all do to improve our value but not become people persons:

Mentoring and training employees with less technical skill.
Reviewing workflow and looking for ways to "work smarter not harder".
Developing tools which help us internally.
Prototyping ideas which could become customer-facing value-adds.
Finding ways separate parts of the business can help each other. One group will do something another group doesn't, how could having that insight help the second group and vice versa?
The authors said on the mailing list that they're not native english speakers and would love if somebody would help them with that.
I particularly enjoy the history lesson 30mins in: https://youtu.be/ObZDipKRH0c?t=2000
Hopefully marijuana legalisation acts as a stepping stone to further reform, and ideally (to me) complete legalisation of everything.
If it was called that, I would have less of a problem. Braking is, however, merely acceleration in a different direction. :)
From my European perspective, the equation looks simple:

In the U.S., money talks. And it's loud. If the figures showing up from the states of Washington and Colorado (there are others) are good and they mean people are making boatloads of cash with that crop, legalization will spread like wildfire. It is one of the good aspects of a more deregulated market after all.
References in Python for the Idiots Among Us
You have to understand that some circles of the german internet avantgarde have a beloved Feindbild [1] when in comes to the Spiegel (google "ehemaliges Nachrichtenmagazin" [ironic "former news journal"]).

It's not a tabloid and people read it [2]. The online page is clickbait under the fold but the first two/three article will usually offer a good and conscience overview. If that's a virtue is another question. Other sites have less gossip or a different point of view, but the headline articles are usually the same on all major online news outlets nowadays.

If you want more serious news maybe faz.net [3] is worth a look.

[1] http://en.wiktionary.org/wiki/Feindbild

[2] http://de.statista.com/statistik/daten/studie/165258/umfrage...

[3] http://www.faz.net/
You do realize that Apple discourages multiple versions of the same app since releasing in-app purchases, right? It clutters up the App Store having paid and free versions of apps. I wish they would just release a proper app demoing system...
Berlin 1945 and Today
>> Either one of those is not a sign of a good programmer.

Yes I've encountered your type before. I take great delight in watching you fail. What you're saying is completely arbitrary, yet you hold the opinion dearly. That's the thing when you're a dick, people don't help you, and they love to see you fail. Life IS easier if you're kind to others.
I did this for a project a while back with reasonable results. The algorithm was this:
Test each tile for distance to water (you don't have to get this absolutely perfect, just check in about 8 different directions from the centre of the tile). The closer the tile is to water, apply a scaling factor to the elevation, such that at MAX_DISTANCE you scale by 1, at 0 (water's edge) you scale by a factor of 0 (ie you will always have 0 elevation. The exact curve of the scaling factor can be played around with to give you sharper or smoother coastlines... You can even slowly vary the scaling function so that you can have everything from river deltas to cliffs in different parts of the world.
I thought this was a fair question for CERN, specifically, to ask: bearing in mind it's the world-renowned centre of research and academic physics.

If you don't know the structure of CERN, at least vaguely, you might not be paying enough attention to recent developments in physics.

This is also a post on CERN's official recruitment blog. The question now potentially acts as a 'were you interested enough to read and follow-up on the information we gave you?' test.
You had a bad reaction to some substance and so you want to make it illegal for anyone else to consume it, even if most people don't have a bad reaction to it and can moderate? And throw them in jail to rot if they don't comply?

I can't understand this attitude. I had some problems because of alcohol and now abstain (and have for 10 years), but I'm not in favor of re-enacting prohibition. I'm totally fine with people drinking, it's just not a good idea for me. (btw, I don't use marijuana, either)
Program encounters a resource constraint (malloc failed, can't get a lock, no socket available, permissions problem): set a helpful error condition and return

Return to what? If malloc has failed then it's quite likely that large areas of the program can no longer work. If you get a lock timeout then your program is deadlocked and cannot continue.

The distinction that matters is anticipated errors versus unanticipated errors, and the size of the middle chunk of "anticipated, but rare and we don't have time to care about". If you have an unanticipated error you're in the land of unknown unknowns. At that point you have to decide whether it's more important to try to preserve unsaved program state (which may be corrupt) versus the chances of further wrong action (corrupting persistent storage, bad output, physical or electrical damage in some systems).

This is where "continuous saving" and journaling-orientated persistent data structures come in handy. You can crash the app and recover its transient state from persistent state without losing anything.
Every computer science major should build a portfolio?

Ahem, excuse me, but I've been employed. I kinda don't live off Mummy and Daddy and need to eat and pay rent.

May I throw in a gigantic go fudge yourself in there, you elitist prat.
Not having that catchall will trigger a "badmatch", which will cause the process to crash. The Erlang VM will log it to the error log. This isn't a "throw/catch", where the caller will catch it and have to do something; the process this happens in -will- die (and the parent may timeout in waiting for a response).

But, it's an Erlang process; it should be supervised (or separately linked or monitored, but that's neither here nor there). If it is, it will be restarted in a known good state (or at least; should be. That's the guarantee the developer needs to work towards in an Erlang process).

So given that, the outcome is that you get a log of what happened (and it stands out), you wrote less code, and you return to a known good state.

The outcome of the catch all is you have to explicitly log what happened, it is very easy to miss, and your process/system is left running in a possibly ambiguous state (since either that message should have been handled, or it never should have been sent).

Now, that said, dealing with bad user data and sending them a useful error message -is- something that requires some work, some sussing out of what went wrong, yes.

Talking to external resources (as alluded to elsewhere in mentioning jlouis' Fuse library) -is- something you want to limit crashes on (since supervisors are built as a hierarchy, and just because a piece of hardware is temporarily unavailable, you shouldn't crash so often that the system comes down).

Malloc...you probably still want to crash on. Crashes will percolate up the supervisor hierarchy, until eventually hitting the highest level one, effectively dropping all memory and resetting to a good state. If that doesn't get you to a good state, there -is- no way to get there without manual intervention.
"trust but verify" is an old Russian proverb and was Reagan's line that he used to refer to the USSR WRT a nuclear disarmament treaty.

Are we treating the Germans like the old USSR now? Is having an unfair advantage in commerce as important as knowing where are all of the nuclear missiles that are aimed at us?

I think it is somewhat less "crucial" than you appear to think; and I think that "because fuck you, that's why" is the foreign policy of a thug.
"You can trust us, sure we do two-signature transactions and hold two of the keys, but it's TOTES LEGIT GUIZE"

Other fun thought: if Case goes under, your BTC are now unusable. Good thing hardware startups never fail...
America's Willing Helper: Intelligence Scandal Puts Merkel in Tight Place
He/she was making a play on words. Marijuana policy would be a "gateway" to a new, rational approach to drug policy.
Nope, the united states of double standards is the exceptional territory
This seems like a complete counterpoint to this: https://news.ycombinator.com/item?id=9486391

Being self-taught, different experiences bring different problem-solving approaches and not _everyone_ has the need to know Haskell or Racket to self-identify as a programmer.

This is exactly the kind of article that prevent people to consider a software engineering career.
The rules of work.

http://www.amazon.com/The-Rules-Work-Expanded-Edition/dp/013...

For writing clean code, at least maybe start with the Python style guide.

https://www.python.org/dev/peps/pep-0008/
Where did you get that information from? It looks like there are actually hundreds of people who have solved over 500 problems[1].

Which is not to say it is easy, but putting it at only 4 successes makes it much more intimidating.

http://uva.onlinejudge.org/index.php?option=com_onlinejudge&...
They're being really active and aggresive, they bought Uruguay's PedidosYa recently, as well as many other services in Latin America

http://www.deliveryhero.com/delivery-hero-conquers-latin-ame...

http://www.deliveryhero.com/delivery-hero-and-foodpanda-clos...
that might as well be a fraternity hazing
Microsoft announces new solutions for IT professionals