skysight-inc/HackerNews huggingface dataset:
Main ingredients are:

Oat Flour (110g)
Maltodextrin (165g)
Brown Rice Protein Isolate (102g)
Canola Oil (56g)
Fiber (38g)

I'm worried about how much of that is Maltodextrin, as it's really just a chain of glucose molecules, and so would give an extremely high glycemic load. It's somewhat mitigated by the fiber, as fiber hampers sugar uptake in the digestive system, but it's still a lot. I'd like to see some proper data on the what the GI score of Soylent is derived from actually testing it properly.
What upcoming shows have you in the US?
As a mathematician, I find many of these jokes very funny.
Again, probability is just a model that can predict something, but not explain how it works. Take a pseudorandom number generator and do rand() > 0.5. Your probability is 50%, and that is a pretty good model to predict how the subroutine will behave, but it may also be useful to understand what algorithm the PRNG is using.
Linting is not THE answer, but it's surely a useful tool that catches a lot of potential mistakes, and has the nice side effect of enforcing some sort of house rules.

The problem is with the linters themselves. JSLint is coded by Crockford, probably the most opinionated sw engineer on earth. It checks what he thinks is right, and mixes formatting checks with syntax checks.

JSHint is a small improvement, it allows you to switch off rules that Crockford doesn't even want to talk about, but apart from that it's not a great step forward. Plus, for no good reason at all they decided to rename some of the rules from JSLint, and switch some of the flags, so that sometimes "true" means enforce something, something it means refuse it. It's rather confusing.

Neither allow you to add your own rules easily.

The new kid on the block is ESLint. It has a pluggable architecture, different warning levels, and make no assumptions whatsoever. With its open architecture and access to the syntax tree it should be possible to create a plugin to check just about anything you care about. It is just coming out of alpha, their first step is to duplicate JSHint's functionality and then move forward from there.

It looks very promising.
Not sure how you come to the conclusion that Go doesn't have type safety.

In the end, the languages are quite different. Rust is ML/Haskelly, Go is C-ish. It's a matter of whether you like the advanced type systems, options, matching, etc in Rust, or if you want something that is capable, but a lot more straightforward and easier to come up to speed on, like Go.
Yeah, they're really different languages. They're not in competition at all, any more than C++ and Python are competing. They're different tools for different jobs. The only thing Go and Rust have in common is that they're compiled and produce native executables.
It's so hard at the beginning to google it,since you don't know the names. This is an extremely helpful tool for beginners!
This is nonsense; entropy and the arrow of time are essentially a many-body effects and require no quantum effects to occur. A simplest way to see it is to make small simulation of a, say, 1000 gas particles with only classical bouncing in a one side of a box partitioned in half with a barrier, obviously with a time-reversible numerical method -- after the removal of the barrier the gas will evenly spread over the box without any entanglement.
Interesting that this is pretty different than what other VCs say is the worst part of their job: http://www.quora.com/Venture-Capital/What-is-the-worst-part-...
Finance and Flickr
Ayhan KARAMAN
Ayhan KARAMAN ile web sayfanızı popüler yapın.
The fun part is that you can be either Alice or Zola with nothing but perl.

The moral of the story might just be "stop trying to be clever and start trying to be done", with all of the usual yaddayadda about preoptimized yak razors.
I wish google camera gets ported to iOS. The best alternative for iOS seems to bee the "Big Lens" app, where you have to manually create a mask to specify the focused area.
Canadian Teenager Charged With Heartbleed SIN 'Theft'
Not disagreeing at all, I was just adding some more infos.
You first take the picture normally. After taking the picture it asks you to slowly move the camera up to generate the depth of field, so there's no moving the camera as you're taking it
So, you're right, of course, that the language differences are major, however, I don't think it's unfair to say that Rust's instability is a source of concern if you're planning a long-running project. No one wants to get stuck on a pre-1.0 release for their production system. Go is post 1.0, and has a backwards compatible guarantee, which means the code you wrote last year under 1.0 is guaranteed to compile today under 1.3. That's pretty important. It's not an indictment of Rust... it's just a fact of the place in development where it exists right now. Go was in that place before it hit 1.0, too.
How can I do this? – With SQL of course
Implementing it in HTML/CSS/JS certainly poses an interesting problem because, as far as I know, one cannot directly access individual, dynamically broken lines of text. One would probably have to wrap each word in a container and keep track of the absolute positions.
I always like the crazily simplified explanation: to truly undo something you need to undo your memory of it as well.
one of the lines as rendered before me begins with an em dash.
A simple rule - you should always remove complexity from a project and never adding it. It builds on its own so any tech you add must remove some complexity from the current project.

Warning sings for tech that brings more complexity than it is usually worth - extensive xml configs, hiding of executable code, stack traces more than 240 levels deep.

Current favorite offender - GWT - I just love when something blows up in the javascript and it just tells you - well signature object object object is not what I expect in javascript apply. And you have no idea where exactly it was generated.

So it is a KISS - the project must be of the least possible complexity to solve the problem.
African Programmer's Agony
Couldn't agree more. The pre-optimization of cool might be a good name for it.
This is an interesting step, but doesn't actually explain why time is asymmetrical. Ok, so things equilibrate as time moves forwards because they entangle as time moves forwards. But this just shifts the question – why is entanglement asymmetrical when time, when the underlying laws are not?

You still have the same problem: if you reverse time, the states become untangled and the coffee heats up.

It's nice to be able to model this from a quantum perspective, but make no mistake – no philosophical issues have been resolved here, and we don't "finally" understand anything we didn't before.
I think that is also because hiring is generally busted, and recruiters who are not programmers don't know what else to ask.
I actually use something like this in every asp.net project (it's called miniprofiler).

But most of us create small projects, pre-optimizing would be a hassle and useless for the client (pre-omitizing just costs more).

If you're a startup, you should use this, not for creating smb client software/webapps.
I've heard decent things about WiredTree for managed servers. Decent, not awesome.

Bytemark are awesome, and do offer managed servers, but I don't know how much they charge for them.
Ah cool, so not a problem. Out of interest how long does the camera-moving step take?
For all low-level I/O details (fflush/fsync/fsyncdata on files/directories after creation/renaming), I've used to read MySQL routines, pretty simple to understand: https://github.com/twitter/mysql/tree/31d6582606ddf4db17ad77...
I get the rather bluntly hammered home moral to use safe reliable tech but that misses a lot of subtlety.

I think the moral of the story is to load test before you dump a bunch of customers onto your system. Regardless of the tech you use you can easily fail in this regard. And secondly not to value people for the effort they put in but the results they achieve.
100GB for 30 years - €399 (~$550) on Longaccess vs $360 (plus retrieval cost) on Glacier.

Who would you trust?
"in a very good explainer"

Apparently written by "W"? I'm a bit surprised to see grammar mistakes in the economist since it's not just someone's blog.
> The street address/book scan approach that Google uses is interesting in that the exact solution is not known, so they presumably have to be somewhat forgiving in accepting answers (as their machine learning might have gotten it wrong).

In the original captcha algorithm there are two images shown, one where the answer is known and one where the answer is not known. The unknown - the street sign or that extract from an old newspaper - is guessed at by those filling in the captcha.

If 90 people say it looks like '11' and 5 people say it looks like '71' and another 5 say it looks like '77' then you can be 90% certain that it is '11'. The machine has therefore 'learned' what that number is, it is '11'. This can continue being used in the captcha however, now that it is known, people will have to type '11' for it.

That is how it fundamentally works and why the two snippets of information 'to get right'. You can try it for yourself, get the first one of the street sign deliberately wrong and see if it lets you through.
Python Programmer – Cambridge Hedge Fund
The shitty years at the end, or would you immediately deteriorate your current health ten years into your future?
NX (also check X2GO, OpenNX etc) is very good and it's as fast as RDP. Much, much better than VNC.
Slightly off topic, but Peter Seibel's take on the idea of code reading groups, and the idea of code as literature, is interesting: http://www.gigamonkeys.com/code-reading/

"Code is not literature and we are not readers. Rather, interesting pieces of code are specimens and we are naturalists. So instead of trying to pick out a piece of code and reading it and then discussing it like a bunch of Comp Lit. grad students, I think a better model is for one of us to play the role of a 19th century naturalist returning from a trip to some exotic island to present to the local scientific society a discussion of the crazy beetles they found."

The reason this is off topic is that it sounds like you were after interesting specimens anyway. I don't have any code examples as such, although if algorithms count I'm particularly fond of Tarjan's algorithm for finding strongly connected components in a directed graph, and the Burrows-Wheeler transform (as used in bzip).
From the FAQ: "We are using a combination of Amazon Simple Storage Service and Amazon Glacier to store your files."
It’s Time to Encrypt the Entire Internet
I laughed at how clever the analogy is. Time is relative to us as observers, the arrow of time is fundamental I would think.
> Out of interest how long does the camera-moving step take?

Around 1 second. You only have to move the phone a tiny bit (maybe 3cm)
Longaccess uses AWS Glacier too (a combination of S3 and Glacier, actually). The added value comes from a couple of features, like:

- making the use of Glacier friendlier to the average user

- providing a well defined way of accessing the data (retrieval, decryption, etc.). This is very useful if, for example, you want the files to be retrieved by your children in a couple of decades

- making a commitment to take care of the data for decades: if Amazon decides in 10 years that they are no longer interested in being in this business, we will move the data to an alternative provider, but nothing will change for our users.

Disclaimer: I'm the founder of Longaccess.
Heartbleed Hacker Arrested
I thought this was a really interesting idea and tried implementing it. You can check out the demo here:

http://xuanji.appspot.com/static/wikipedia.html

Note that the "sinusoidal wave" link isn't working, as it redirects to "sine wave"...gotta work around that :(

If you want to read/modify the code send a pull request to github.com/zodiac/xuanji.appspot.com/, the commit which implemented this is https://github.com/zodiac/xuanji.appspot.com/commit/872b40dc...
Since my primary language is Dutch, it's easy for me:

If I want a short article, read the Dutch version. If I want too many details, read the English version :)
But we can't all be the best.
I tend to prefer the dirty math jokes.

[NSFW?] The length of my "member" in inches is countably infinite. Just when you think you are all out of inches, you can always find more by inspection.
How greed almost sabotaged the smartphone kill switch
Or an even more tl;dr version

https://www.youtube.com/watch?v=7s664NsLeFM
I have to say that the annotation is very nice. Would be a nice feature for something like Github, assuming that developers care enough to do the write up. Might get messy for larger projects though.
Annie96 is typing..
http://storiesforyourscreen.com.s3-website-eu-west-1.amazonaws.com/annie96-is-typing/
(updated url)
The creepiest chat history you will ever read.
Very true. I got a rough POC of this, implemented using the technique in this answer: http://stackoverflow.com/a/22816419/11208

(just with divs instead of images)

It's very brittle though. It relies on knowing the line-height, calculating the line in which the highlighted word sits, accounting for the existence of vertical scroll-bars... not trivial.
Really nice. Why did you skip the media query though?

@media only screen and (min-width: 35em) {
/* responsive styles */
}

@media print {
/* printed styles */
}
Yahoo Mail is still by far the largest worldwide mail provider, counted by active users.

Moreover, in e.g. Japan, Yahoo is the start page of almost every PC, in addition to being the commonly used weather, maps, mail and news web pages.
One does really see everything through a very distorted lens from the own perspective.

yahoo is still far more relevant than one might think!
Well said. I can't tell you how nice it is to have software in production on a boring stack. It gives you freedom to do other things.

I can (and often do) go entire months without touching the codebase of my main rent-paying products. It means I can, among other things, pick up a full-time development gig to sock away some extra runway, take off and go backpacking around the world, or better still, build yet another rent-paying product without having to spend a significant amount of time keeping the old stuff alive.

It seems like on a lot of stacks, keeping the server alive, patched and serving webpages is a part-time job in itself. In my world, that's Windows Update's job. Big New Releases come and go, but they're all 100% backwards compatible, so when you get around to upgrading it's just a few minutes of point and clicking with nothing broken.

I see it as analogous to Compound Interest, but to productivity. The less effort you need to spend on maintenance, the more pace you can keep going forward.
Development in big companies is always slower, even using identical technologies. Once you get to a certain size even the most basic tasks become bureaucratic.
Node.js cluster versus JXcore multithread
I wouldn't say that boring solutions are always the best, unless they satisfied the conditions below.

Here's what is REALLY important:

A) How fast can you get your first product in front of customers?

B) How often can you measure and iterate on that and get the new version in front of customers.

You should pick the best solution that optimizes for A & B. Both are really important because they will help you discover the actual thing you need to be building.
Uber hit with preliminary injunction to stop service in Berlin
You can use getSelection() to do that, but it doesn't work everywhere. [0] [1]

[0] https://stackoverflow.com/questions/7563169/detect-which-wor...

[1] http://jsfiddle.net/Vap7C/15/
Teenage inventions that are changing the world we live in
Sorry, I couldn't find an english source. Google translate link http://translate.google.com/translate?sl=de&tl=en&js=y&prev=...

It's interesting to note that "Uber" is translated as "About" (über)

---

Thanks for everyone explaining why Uber translates to about - I'm a german native. Not knowing that makes the google translate a little hard to read, so I thought I'd add it for all that don't speak german.
Instead of writing "working in web browser", I would write "written in CoffeeScript (or Javascript))".

The demo with live opcode display in the editor is pretty cool!
I would say that it takes about 1 second on my nexus 4. If you do it too fast the app will complain, but I find that it's actually very fast and easy to do right.
Although not all features are included in Kendo UI Core. Official Telerik press release can be found here: http://www.telerik.com/company/press-releases/2014/04/16/tel...
I wrote a ruby script to help with OpenVPN.

https://gist.github.com/arnehormann/9744964
There's a usage howto in the comments and this should be short enough to fully grasp what it does. No third party requirements, just ruby core + openssl.

It creates client and server configuration and creates and manages CA and CRL.

The VPN uses tun mode over UDP.
Required changes on the server are written down in comments at the beginning of the server configuration.

If there is sufficient interest, I can make it a real repo so it can get issues and pull requests.
Young People are pessimistic about the future.
Yahoo spends $58 million to fire its chief operating officer
I find it interesting how insightful, technical articles like this receive hardly any comments while the usual "softer" articles that tend to dominate the Hacker News frontpage these days receive dozens if not hundreds of comments. I wonder what this says about us, HN readers.
You instantly focused on the uninteresting part of his argument.

It seems clear to me that harm reduction is clearly a better policy then zero tolerance. We are not going to fix the smoking problem by banning it, just like we aren't going to stop people from drinking by banning it.

People still smoke cigarettes. But it is better then it was, especially in the USA. This happened with heavy regulation, heavily advertised evidence of harm, and eventually social pressure making it "uncool" in most cases. Meanwhile, pot has been the target of a "war" that ruined far more lives with jail time them the drugs themselves would have, and it is more popular then ever.

Holding on to failing idealism is just stupidity.
Anything Javascript code from Crockford I highly recommend. Well structured and without "hacks" that could cause confusion.
I've been looking at symfonfy2 to see if our team wanted to switch from codeignitor for future PHP gigs we get. Any idea why it is such a dog in the benchmarks?

http://www.techempower.com/benchmarks/#section=data-r8&hw=i7...
It still seems like a problem to me, if your subject (and potentially background) are moving around a lot. I shoot a lot of macro shots of bugs that are always about to jump off plants that are swaying in the wind... Not to say this tech isn't impressive and useful, but it doesn't solve DoF problems for tiny cameras in every situation.
This only allows capture right? Or is there control?
I love following article: http://www.flownet.com/ron/QM.pdf

It basically shows that observation (measurement) and entanglement are the same things.

Think about it: particles are not magically going out of superposition as we observe (measure) them. We (our atoms) become entangled with those particles, we become superposition. It's just propagation of entangled state.

Why we don't perceive ourselves as in superposition? "It turns out that this result generalizes to any number of mutually entangled particles. If we ignore any one particle, the entropy diagram of the remaining particles looks like a system of N-1 particles in a classically correlated state with a non-zero entropy.". That means each atom of our bodies perceives other atoms entangled with it as they were not in any superposition (though as a whole, the system is still in superposition). We (atoms) are constantly entangled and in superposition with our environment, but we perceive it as classical state.

In what state each atom "sees" every other? According to probability. That's why in double slit experiment we see only one of most probable outcomes, not a random one.

Time could be rate of entanglement propagation. Entanglement propagates with speed of light (speed of particles), so we seem live in same timeline. But if something moves away from us with speed of light, the time for this object goes slower, but only relative to us.

Until two particles interact with any way, they live in totally different timelines. After they "observe" each other (entangle with each other), also their time becomes entangled. That's why after we see a cup begin dropped, it becomes part of our reality, and the cup becomes broken in our time.

We live in spacetime. As mentioned in article "“Spooky action at a distance” ought to be no more and no less) mysterious than the “spooky action across time” which makes the universe consistent with itself from one moment to the next.".

Why arrow of time? The article says: "Under QIT, a measurement is just the propagation of a mutually entangled state to a large number of particles. To reverse this process we would have to "disentagngle" these quantum states. In principle this is possible. In practice it is not.". I think differently though.

That are my thoughts. Please don't judge :)
The arguments of most of these types of posts can be hand-waved with "use the right tool for the job."

But honestly, plumbing and electrical infrastructure is a terrible metaphor for a development framework. There is no situation in which a handyman would be praised for advocating complex systems. They complicate every single layer of the build.

A sizable chunk of the "hype" tech facilitates faster, more efficient development at fairly low cost (maybe sacrificing some scalability or stability).

It would be reticent of me not to mention how much the deluge of JavaScript frameworks pisses me off. It is overwhelming trying to keep up.
What Is Tizen?
It's an Economist blog entry, not an official Economist article, so it doesn't get subedited. The whole prose style of the piece would be notably different once the subs were finished with it. The initial-letter monikers are a compromise between the anonymity of Economist articles, (almost) all written in the editorial voice, and the personal voices of the blog.
Here's my minimalist Om icon editor using triangular pixels. (Used early version of Om)

Demo: http://drcode.github.io/tricon/index.html
Source code: https://github.com/drcode/tricon/blob/gh-pages/src/client/co...
Daho.am Munich Developer Conference
nginx/src/os/unix/
Ask HN: How do I winnow my cofounders after a Startup Weekend victory?
My team recently won a Startup Weekend event with what is by all accounts a great idea in a wide-open space, and we've been offered a substantial seed investment to take it full time. Unfortunately, the team is huge (8 people) and everyone says they want to stay on.

Not only do we lack anyone I would be comfortable describing as a technical cofounder (I'm a designer/PM with previous startup experience), but 6 of the 8 are marketing/PR/"business" types with little tech knowledge at all and won't fully commit until the company is on more solid footing.

Myself (the nominal team leader) and one other guy are ready to take the plunge, but we're conflicted about how to handle the others. Should we demand a full-time commitment or they get nothing? Should we give them a small amount of equity (3% each) to move along quietly?
[LIVE]SNOWDEN TO PUTIN: Does Russia intercept comms of millions of individuals?
Start by copying/replicating designs from dribbble. It's just practice. After you learn how to use Photoshop/Sketch start modifying those designs and try to make it your own.
Privacy fears over FBI facial recognition database