skysight-inc/HackerNews huggingface dataset:
> anything that gets people thinking more about their activity and diet seems like a good thing.

This makes intuitive sense; however, in practice, the truth is a bit more complicated.

We don't really know how to get people to change their behaviour and exercise more, eat less, etc.[0] - this is the holy grail of "lifestyle" diseases such as diabetes or heart attacks. (Disclaimer: my startup is a health-tech company aimed at improving medical outcomes through a number of factors, including getting patients to adapt their behaviour).

However, there's a lot that we know doesn't work. It turns out that simply making people more aware of what they're eating not only doesn't work, but in fact oftentimes causes people to eat more. There are a few hypotheses explaining this, both of which are supported by evidence (so it's likely to be a combination of factors).

First, people falsely equate awareness with action, psychologically[1], so making them over-aware of that they are doing makes them likely to think that they are taking more action than they actually are[2].

The second is that people don't have a good sense of how to process this data, so by (e.g.) placing caloric counts[3] next to food items, if they don't also know how many calories they should be consuming in a typical meal[4], they can end up overeating ('This dessert is "only" 800 calories!).

[0] by this, I mean a systematic process that is cost-effective on the population at large, not something that is (a) effective only for a small subset of people, or (b) effective but cost-prohibitive. There are a lot of strategies that are very effective for people who are already low-risk, and a few strategies that are effective but insanely expensive for people who are high-risk.

[1] This is analogous to what happens in politics with "slactivism".

[2] This is probably the origin of the advice that you shouldn't tell your friends about new resolutions before you have constructed a plan to enact them - telling others about it gives you a sense of satisfaction even before you've done anything.

[3] Not that calories are really the best way to measure diet, but let's set that aside

[4] Most often, people are familiar with the number '2,000 daily', but that doesn't help you determine how that should be allocated throughout the day (dividing up into three equally-sized meals is not ideal), and many people require significantly less than or more than 2,000 calories.
Consumer Reports: iPhone 6 and iPhone 6 Plus Not as Bendable as Believed
Niels Bohr would have approved of this. After all, he lived in a house which was linked to the Carlsberg brewery across town by his own private beer pipeline as well. The house -and lifetime supply of beer- was offered to him by the brewery after he won the Nobel prize in Physics: http://www.forbes.com/sites/alexknapp/2012/11/28/for-winning...
I actually had this happen at my company. We had a dispute with a past employee and they started bringing up issues they shouldn't have known about. Eventually we figured it out.
Bitcoin Mining Is Now an Expensive Hobby for Most
Show HN: Posters for Coders
Oddly enough, that page is giving me a 405:

$ curl -IL http://www.amazon.com/gp/aag/main/ref=olp_merch_name_1\?ie=UTF8\&asin=0521141885\&isAmazonFulfilled=0\&seller=A2HO9KC0NMYNYH
HTTP/1.1 405 MethodNotAllowed
Date: Sat, 27 Sep 2014 22:57:27 GMT
Server: Server
x-amz-id-1: [redacted because I have no idea what this is]
allow: POST, GET
x-amz-id-2: [redacted because I have no idea what this is]
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=ISO-8859-1
I've always thought that setting would make for a good MMO.
Best Low end router for small office with cable – 100mb throughput
I am setting up a small 12 person office with Cable internet, capable of 100mbs download speeds. I am having trouble picking the right router that will allow such speeds; a low end router not enterprise style.
Bashcheck – check for various bash/shellshock-related vulnerabilities
Thanks for this post! I've known about the massive effects of optimizing for cache lines but this is the first time I've heard of the write commit delay. Great example as well.
Dhcpcd patched for shellshock
D.J. Bernstein: The Good News Archive (2005)
It's L^2 in finite dimensional spaces also - you can just as well define || v || = \int |v_i| dC(i) (where C is the counting measure). Finite dimensional spaces can also be interpreted as functions, i.e. C^3 is the same as {1,2,3} => C.

This is a rationalization but it's useful. We have a physical theory in L^2, and we know that you can't have such a theory in L^2.1 or L^7. Our theories might be totally wrong. But we are confident they can't be only a little wrong.
ISIS – Tailored Terrorism
History is in scope here.
Can projects like this be funded by carbon credit/tax offsets? The article mentions that road traffic from this pipeline will be reduced by 85%.
Ah, much simpler test. Thanks!
Building a Flask Single Page Application – Part 4 (consuming a RESTful API)
Video: http://youtu.be/Yo-RxGCpJ9s

Part 4 of a 5 Part Series on building a Flask Single Page Application.

Purchase the Real Python at http://realpython.com courses to be part of the next session!

We're building a Tinder for finding pair programmers! :)
If the sampling is deterministic, it sounds like you'd risk malicious input being able to cause pathological results? Not unlike the various hashmap DoS'es from a couple of years ago.
That's a false dichotomy.

The desire for a simple language doesn't mean you have to accept all the mistakes Go made. Go is just not a very good language. It would be completely irrelevant without the Google name behind it.
Video - http://youtu.be/Yo-RxGCpJ9s
So you weren't trying to be insulting when you said people that like go want to live the 70's and are happy with java 1.0? Was that a compliment?
If (twittedtoXbotYtimesinZseconds >= 5){
Stopsendingmessages(); }
ASLR is another one of the nice things about dash compared to bash in Debian:

$ hardening-check /bin/dash /bin/bash
/bin/dash:
Position Independent Executable: yes
Stack protected: yes
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: yes
/bin/bash:
Position Independent Executable: no, normal executable!
Stack protected: yes
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: no, not found!
Email is pull already, every email client can be configured to only pull manually. I never had blinking icons or anything and never understood the supposedly big problem with email communication. On the contrary I like it because it is a asynchronous way of communicating. I answer emails when I have the time to do so, not when someone calls and takes my attention.
One of the creators wrote a great comment on the origins, which really cleared things up. My first comment meant to read "Seems likely to only be found by the creators". I just thought it was a rare and hard to observe occurrence.
Despite the media fanfare (http://www.pressreader.com/bookmark/7WFY0PDVE4Z/TextView), I have some reservations giving credibility to a single model-generated study. Not to say it’s groundless, but I wouldn’t jump to conclusions just yet.
Watch a Science Cop Take on the Anti-Vaccine Movement
This can be done without eliminating email altogether. Disable notifications in your email program, and have it poll only manually.

This lets you respond to email at your own pace. For me, working through my email once in the morning and once after lunch seems to be a good pace. My coworkers quickly adapted, and will use an instant message or phone call if something really needs immediate attention.

This might not be as easy for non-programmers, but for me it helps me get more done since I can focus easier, which is ultimately what will keep my boss happy. In more tricky environments, you may be able to configure filters so that important emails do send notifications.

Hopefully in the future we can all have a digital assistant that watches our email for us and detects the level of urgency automatically.
Citizen Hackers Tinker with Medical Devices
Holy shit I would have been pretty pissed. That could have gone even worse....
Look at their working environment. They have eight employees with laptops sitting around a table. They had a total of twenty employees when they started this. They're so tiny they don't need internal e-mail.
Fedex also carries most of express/priority mail for USPS:

http://www.bloomberg.com/news/2013-04-23/fedex-to-fly-mail-f...
$153.23 to $724.78 is more than enough to keep a couple of t2.micro AWS instances going and ramen in the cupboard for a few months.

Remember: the period after demo day and your second seed round separates the winners from the losers. This is when you have the greatest opportunity to show investors that you can hack life and hustle. Pull it off and your investors might even agree to an uncapped convertible note.
Why do computers fail?
I personally like this solution. I don't know why there's so much negative opinions on this. Yes, it doesn't solve the problem of generics as a language construct and it doesn't provide macros as a language construct. But it gives a lot of power for many other real-life applications like embeddeding/processing some content or generating type-safe bindings/wrappers/parsers/collections/...

It's an extension of a build system, not a language. It helps to specify build process details right in the source files that either depend on it, or provide necessary details for it. This approach worked for CGo, it worked for +build flags, so I don't see why it will not fit in this particular case.

One thing I worry is how to get the processor app during the build process. E.g. if bindata is used to embed a file - how will "github.com/jteeuwen/go-bindata" be installed?
Keep in mind -- their company on linkedin is <10 people. FC quotes 34~.

This is not a huge/ultra-growing company C-level/VP-level executive getting 300 emails a day.
Follow up study: women physically abused by their spouses claim to appreciate the treatment, agreeing that it helps them to "control their impulse to speak when it is not appropriate or wanted".
This is going to be the main reason I upgrade my parents' phones to the latest iOS...
> so the Go community by definition consists only of people who think Java-1.0 style programming is perfectly fine in 2014.

This is a false analogy because there are significant differences between "Java-1.0 style programming" and Go.

> Yes, there are reasons why the intended audience of Go just didn't care and Go is mostly used PHP, JavaScript, Python, Ruby etc, developers today.

Why do you feel the need to bin people? I'm a Haskell programmer and yet I love Go. In your world view, this is an impossibility. But maybe I've given you too much credit.
I had never read "grognard capture" before. Isn't this a special case of the economist's "path dependence" (http://en.wikipedia.org/wiki/Path_dependence)?
Completely agree. I also think projects should draw a clearer distinction between queues, and messaging. ZeroMQ for example, is not a queue, it's a toolkit for building a message bug!
It's not clear from the HTML5 spec (http://www.w3.org/TR/2dcontext/#drawing-paths-to-the-canvas) what's supposed to happen when you try to fill a degenerate polygon. This may be "flot" relying on undefined behavior.
"created: 1337 days ago" awesome!
If you're a Peter Thiel fan, they discuss their secret here: Developing countries have poor mobile data infrastructure and thus messaging apps need to be optimized for a poor connection.
‘You Are Not a Product’: Ello Wants to Be the Anti-Facebook Social Network
$153.23 to $724.78 is more than enough to keep a couple of t2.micro AWS instances going and ramen in the cupboard for a few months.

And how about rent for said cupboards? At least a few grand?
I'm having trouble understanding his explanation of interference. I understand applying the 45 degree counter-clockwise rotation twice would transform the qubit from |0> to |1>. I don't understand how this implies that there are two paths to state |0>. How could those two rotations could get you anywhere besides |1>?
Dear Vancouver, a Solemn Goodbye
I would be interested in a debate over these strategies between the cattle.io creator and one of the cf guys..
A few years ago I watched "Sugar: The Bitter Truth" [1], by Dr Lustig of UCSF. It's a very interesting watch, which convinced me to change my diet away from most everything sugary, and put much more more fiber and fat into my diet.

[1] https://www.youtube.com/watch?v=dBnniua6-oM
This is FULL of hateful rhetoric. Please remove this HN.

That said, I'm glad the Venn diagram of ignorant gamers and racists have a lot of people in common.
Pretty nice way to comment on video and highlight the portion you like.
Opus beats all other lossy audio codecs. Again
Oops, my mistake. That's actually disappointing, since it means that for every message, N workers will all wake up and needlessly try to grab the message.

You can get around that by using advisory lock to make access exclusive, but they will still all wake up and will still have issue a select.
How 2 Tweets per Day Can Help You Find Direction and Move Forward
I wish people would use the word "nature" instead of "god" in public lectures and writings, to avoid seeming to lend credence to revealed religion. Insiders know exactly what Einstein meant by the word, but the problem is not insiders.
Quick Explore of the Ello API
Its not two paths to state |0>. Its one path to 1/sqrt(2)|0> and one to -1/sqrt(2)|0> and those cancel out.

If you start at |0> and do a 45 degree rotation you end up at (|0> + |1>)/sqrt(2). If you start at |1> and do a 45 degree rotation you end up on (-|0> + |1>)/sqrt(2) (note that the coefficient on the |0> is negative now).

Now the trick is that rotations are a linear transformation so rotate(a(x+y)) = a(rotate(x) + rotate(y)). In our case, when we rotate |0> twice, we first end up at (|0> + |1>)/sqrt(2), then we can use linearity to split that into a |0> and a |1> component, rotate them individually and then add up the the results. When we rotate the |0> component we get a +|0> and when we rotate the |1> we get a -|0> and those cancel out (destructive interference).
Like I said, you need to hack life and hustle. If you're paying rent, you're doing it wrong and any reputable Silicon Valley investor will tell you you're not hacking and hustling hard enough.

It's bad enough Y Combinator upped its funding to $120,000. Entrepreneurs did a lot better with $5,000/head.
Forgot to say that a decent job manager should be sufficiently composable that you can integrate a GUI and high-level monitoring into it by exploiting its API.

I consider the persistence layer a private implementation detail of a system. If Gearman controls an RDBMS schema, for example, I don't want to bypass Gearmen to mess with that directly, ever. But as far as I can see, German doesn't have an API to access anything in the queue.
Check out the Mikrotik's. The RB450g costs 100$ and maxed out at about 100mb. The Cloud Core's start at $400 and will do gigs of throughput.

http://routerboard.com/RB450G
http://cloudcorerouter.com/routers.php
Essentially it's based on experiences of scaling up CF installations for customers, and for the public service version (Pivotal Web Services).

A high-intelligence controller turns into a giant "god object". It attracts new functionality like a magnet. Everything depends on it and it has to know everything about everything.

In practice it begins to be both the leading cause of failure and the main scaling bottleneck.

The auction-based model allows any number of auctioneers and executors to participate without any one component needing global state.

Essentially, we rediscovered the economic calculation problem. And we're solving it by distributing knowledge across the system and letting agents solve their own problems locally.
What about the transition from manual to automatic transmissions? It's also interesting to note the continued prevalence of manual transmissions in Europe and elsewhere. This is a major way that automobile control can vary.
Show HN: Simple travel suggestion map
I thought of mentioning this - specifically, people who use the .qmail file in the mail directory.

Anyway, djb uses shell scripts liberally in his software projects but I've never seen him include a shell script with Bash-isms. That tells me he does not _assume_ his users to be using Bash.

Everyone has a choice. And if you are trying to practice "secure" computing, then some choices are wiser than others.

If a user thinks Bash is the bee's knees, then djb's software will work just fine; it does not discriminate against that user.

But if a user does not use Bash, and prefers to use a more simple, POSIX-like shell, that will work just fine too.

This is purely my opinion but unlike so many other software authors, djb does not appear to discriminate against people who prefer simple software systems that are not loaded with "features"; he does not intentionally or unintentionally force them to embrace complexity or be ignored.

That said, it also appears he is a self-professed Ubuntu user these days. For example, read his latest blog.cr.yp.to entry.

I do not understand how he can tolerate the amount of complexity in Ubuntu that is on by default and hidden from the user. But maybe I'm just too stupid to understand.

There seems to be a choice of at least two options:

1. keep Bash installed and try to determine every possible untrusted user input accepting or internet facing application that might at some time use the system shell, or

2. uninstall Bash and use a barebones POSIX-like shell without extra features.

Preserving the continued use of shell scripts with Bash-isms as a reason to choose option #1 does not make sense to me. Maybe there are other "compelling" reasons? (Interactive shell features?) With a little effort, these Bash script authors could probably learn to write scripts that do not use Bash-isms. Is that really so terrible as to make option #2 untenable?

If there are enormous Bash scripts being relied on in security senstive settings which "cannot" be rewritten in POSIX shell, then maybe the mistake was ever "deploying" such monstrosities in the first place.

Shell scripts, no matter what shell, should always be relatively small assuming the author has any common sense.
> It's L^2 in finite dimensional spaces also

The concern of "is this thing square-integrable" arises only in infinite dimensional spaces. Inner product of all $\mathbb C^N$ where N in finite is finite. There is no point in saying "L^2" when talking about spins etc. (forcefully casting a finite sum of finite terms to integration and then introducing the concept of "square integrable" isn't helpful, if not trivial).

> This is a rationalization but it's useful.

You can do that kind of rationalization when you "know" the answer ahead. It has zero prediction power.

Newton had a rationalization about the independent nature of time. Descartes also had a rationalization about how action-at-a-distance works for gravity. Aether was also a popular rationalization once.
None of those rationalizations held any value at the end.

Such "rationalizations" are better cut by Occam's razor and left for philosophers.

At least, I prefer not waste my time with such stuff as a physicist.
Arduino Leaks a Peek of Their Upcoming 3D Printer
Not at all, just wondering about your thinking. Note that I think using a database for IPC is a bad idea if you're actually using tables and such to coordinate; Postgres' listen/notify IPC is much better.

That said, it has issues, as pointed out elsewhere in this thread; when you notify, all listeners wake up, which is not what you want with a one-job-per-worker dispatch system.

If you abstracted the listening to a central job manager app, however, you could use "listen" to wake up just the job manager, and then use that wake-up to dispatch the next job to an available worker.
Fight illegal Amazon Rainforest mining with citizen science IoT crowdsourcing?
That reads like an Onion satire. If it's literally true, it's very depressing. And I suspect it's literally true, at least for some women.
It's a frank assessment of reality.
Not so. Roundoff errors happen because when you add a big number and a small number in finite precision, the result loses information that was in the small number. The magic of complex step differentiation is keeping the small part (the imaginary part) separate from the (potentially) large part (the value of the function evaluated at a real argument).

You can use a very small step size (and so get very high accuracy) with traditional finite difference differentiation at x=0 for functions with f(0) = 0. Complex step differentiation takes advantage of the fact that real valued functions of a real argument have 0 imaginary part everywhere on the real line.

> most problems won't be [well conditioned] and the complex step method won't help much then either

Try coming up with an example of this. You might be able to find one if there is a pole or branch cut very near the real line, but otherwise, complex step differentiation is very robust.
Thank you God for Florian Weimer! Now that reason has prevailed over this insanity [1][2] I can sleep well again.

1. https://news.ycombinator.com/item?id=8368272
2. https://news.ycombinator.com/item?id=8368676
What I find more concerning is to pass unchecked
environment variable directly from remote (or any input, actually).

You can understand the opinion to an extent because it would require the every program to know in every case what variables are needed and what they're supposed to look like.

sudo does this to a small extent; it wipes function env vars.

In the rare system/popen my programs do I explicitly give the entire env - just PATH=/bin:/usr/bin; sometimes I give an empty env.

For something like a dhcp client it is obviously bad.
The responsibility there is to whatever invokes it.
Why the ... you hidde scrollbar ?

body {
background: none repeat scroll 0 0 #171d25;
color: #fff;
display: none;
height: 100%;
overflow: hidden; !!!!!!!!!!!!!!!!!!!!!!!!!!
position: relative;
}
I used to have a SparcStation running NetBSD that I used in a way similar to what this paper proposes - testing my software in an environment where some of my (implicit) assumptions were no longer true (a non-Linux system running on a big-endian CPU that caused a bus error on non-aligned memory accesses) to uncover bugs.

So, I like the idea.
[Infographic] How Does Inbound Marketing Work?
In case the site goes down or something, here's a check to see if you're vulnerable:

foo='() { echo not patched; }' bash -c foo
What Founders Can Do in the Face of Economic Downturn
Double your reading speed in 30 seconds
Rohrer's Blood Diamonds: 3 years, 2 publishers and a garage full of games (2012)
here is someone's github that has some sample tests:

https://github.com/hannob/bashcheck
Frustrating article. Attempts at communicating biology in popular science are invariably incomplete. Additionally, we must realize that identifying targets is far different from developing effective drugs for these targets.

Scanning the comments: No one really thinks that Tau is responsible anymore. The problem is that we only rather recently realized soluble AB oligomers are the most distal causative agent. T3 diabetes is again a distal effect of the etiologic agent of AD; what causes T3 diabetes?

I would encourage anyone who is interested to begin with this paper: http://www.cell.com/abstract/S0092-8674(13)00387-5 (Zhang et al. Cell 2013).
An API for real-time transactions in competitive video games using Bitcoin
Exactly - and yet BMI is one of the metrics included. Meanwhile a manual input is required, despite having been provided with the relevant data.
They did - http://techcrunch.com/2011/10/06/swype-the-maker-of-speedy-v...
Cool idea! This adds a new dimension to YouTube videos. Also, great name!
ASP & PHP servers don't have exceptional performance but they're 98% of the web
Had your father pulled out a second earlier, we might not have had to read your stupid comment.