skysight-inc/HackerNews huggingface dataset:
>For example, restricting calories means that you're restricting protein. Most people think of protein as a good thing, but that's what stimulates the hormone IGF-1 to be secreted, which is necessary for growth of all kinds--muscle growth (which is why bodybuilders eat as much protein as possible), but also including cancer.

While people on CR do seem to try and keep IGF-1 on the lower side, there's no consensus on protein yet. Most seem to eat a normal proportion, (though still less than average person since their overall intake it lower.).

I have seen some people doing CR specially avoid whey protein because it's known to particularly raise IGF-1 (which is why on the other hand people trying to maximize size of muscles like it)
Because we are the internet and they owe us everything.
This is fantastic and I wish everything did this. As an android user, I'm often at a loss as to why an app needs a certain permission, and there's simply no easy way to figure out the answer. An initial dialog that explains the feature before it is used/enabled seems like the perfect solution.
Yes. Kind of a good example how competitive systems lead to a better end result for customers. Competitive teaching is something we should actually encourage. Tyler Cowen often argues how the availability of systems to teach to a huge number of students is going to make teaching superstars and bring the cost of teaching down to almost zero because the marginal cost of distributing teaching is almost 0 with enough students.
thanks for the advice. I'd appreciate a couple links to recommended books, as would other people here reading this. My techniques are very basic and uninspired currently, so I'd like to change that. Take care!
In high school we had a similar class that required us to use Mavis Beacon (or some similar typing application) and report our words per minute. I thought this a waste of time and annoying, so I wrote a program to simulate the keystrokes and type for me. I think the teacher knew something was amiss though when it showed that I was typing at over 5000 words per minute.
Been waking up at 5 a.m. since my second child was born. Sleeping late isn't an option, and actually I've been loving it. Get stuff done, feel better, had to learn to go to bed early otherwise following day is complete crap.
5 year old discovers major security hole in Xbox Live
Teaching is plenty competitive- starting teacher salaries are low because there's lots of competition. If you want results though, you have to pay.
Spot on. When GMail was still in Beta, and you didn't know anybody else on it, at least you could still send and receive email with the rest of the world.
Are you ready for another pump and dump?

starts beating chest and humming
SSL certificate already ordered :)
It's almost hard to believe how far Linux gaming has come just in the past, what, two years?

I think it really started with the Humble Indie Bundle's mandatory Linux support, accelerated with the help of Unity and Kickstarter, and really achieved mainstream legitimacy with Steam. As long as the GPU manufacturers cooperate and write good drivers, the future looks very bright indeed.
The Guilt of the Video Game Millionaires
This is basically the correct way to go about it when you have a small budget.
I have been looking at *coins for a while and the implications of the blockchain-based concensus system are interesting.

The system really maps the real world onto computers very well, in that it reduces what used to be technical issues to "political" issues. These systems work on concensus, and as such, require a significant amount of interested parties to work in the expected way. They are very much subject to network effects that only occur after critical mass is reached.

Namecoin, in particular, was subject to a major security issue last year: http://www.reddit.com/r/Bitcoin/comments/1ohyom/fatal_flaw_i...

Blockchains are being used to implement solutions to different problems, and they could really solve some significant problems such as decentralized identity and reputation management (!). The difficulty lies in creating a significant enough "currency" so that miners will become involved and make the blockchain stable and reliable.

Bitcoin is a currency in a much stronger sense than namecoin or any other of "not-really-money-coins" around. I wonder if piggybacking on bitcoin might actually be the solution for this situation (i.e introduce other information in the bitcoin blockchain instead of using a brand new one).

Sadly, adding external information to the blockchain could be construed as "spamming the blockchain" and therefore not deemed worthy for inclusion in the bitcoin blockchain by miners. So there is a big challenge there.

If you are interested in this topic and want to work on related projects feel free to reach out (google my username).
IMBB: Is My Boss Behind? App to detect footsteps nearby
Eyes in the Aisles: Why Is Cap’N Crunch Looking Down at My Child?
Hmmm. I like the idea of a shared database, but on the flipside you "only" need your developers to precisely understand the language they're using. The vast majority of people have no need for a deep understanding of their native language, I'd be worried about subtly-wrong translations. Something is better than nothing, but weird is still bad. For example, you use "you" in "You have {count||message}" - there's no gender or other meaning encoded, it'll probably be a bit off for some languages.

More technically: how does this translate?

>This is indeed [bold] a very [italic: powerful] framework][/bold]

To make a hypothetical worst-case scenario, say one of the target languages combines "this" and "powerful" into a single word, splits "framework" into three, and reorders it so conceptually you flip between bold and italic and plain practically at random. There's (probably) an element of aesthetics combined with the text's meaning, can the crowd detect that aesthetic? What if it varies all over your site because it's sourcing from different crowds?

Similarly, say you refer to "this" thing on the website/app, which is up and a little to the right, but not this other thing to the left. RTL probably switches that, and does "up and a little to the right" have an encoding in TML so that the meaning is retained if a language has a specific word for that?
I don't understand the connection made here, because calculating the quantum state is NP-hard and is very time consuming, the object cannot exist in the universe? How is that preventing the macroscopic system from existing? How does the complexity class have anything to do with the real world?

For example, a shortest path problem in the real world does not have any use for complexity theory: http://www.johnmurray.io/log/2012/07/10/Real-World-Shortest-...
"It is not from the benevolence of the butcher, the brewer, or the baker that we expect our dinner, but from their regard to their own interest."

Adam Smith's insight helped launched the enterprise of modern economics because it turned out attention to what matters: results. Benevolence, like self-interest, is neither necessary nor sufficient to produce a social benefit.

So you're right: the motivations of high-frequency traders are irrelevant, except insofar as we can change their behavior by changing the incentives they respond to.
The blockchain is only used as an authoritative source. You don't really look up names in the blockchain, you use a vanilla cache for it.
'cause who really likes _eating_, anyway. A no-brainer to just reduce food. Yeah that'll work.

Lots of things might reduce mortality and prolong lifespan. It's quite another thing to ask whether these things are viable options for modern human beings.
If they could make Windows actually POSIX compliant and have a proper shell it would be a massive step forward for the platform.

It's not that Windows is different, but that Windows is just plain broken and there's heaps of hacks on top of that to try and deal with the awful design. PowerShell is an attempt to fix CMD which is an attempt to fix batch files and the feeble CPM inspired command prompt.
Go for it. That's why it's open source. :-)

For BookMD, I use Pandoc [1], which is the most versatile Markdown generator in existence. Pandoc has out-of-the-box support for ePub, so I just use that.

The part where more customization is needed is if you want page breaks. For PDF output, Pandoc lets you use Latex directives in your Markdown (\newpage, etc.), so that should work fine. For ePub, I'm not actually sure what you would do, or whether you would even want the same sort of pagination.

[1]: http://johnmacfarlane.net/pandoc/
Seems like this guy has a good thing going. Lots of people pay for a gym and workout every morning before they go work. This guy is basically doing the same thing but he is getting paid for it.
Fair enough. It wasn't obvious to me what the strlen was doing at first glance, and I doubt it's obvious to any 'beginners' reading the book so it's worth noting either way.

It's true, you're right, I was keeping it a bit in-line with the book, if you change the malloc to be one less, then you can't use strcpy since it'll write the null term to memory you don't have (It might actually work on some platforms since it's just one byte but it's undefined behavior). If you just memcpy the string with bufsiz then there's no issue though.
I think it's disingenuous to project motivations for Michael Lewis. Is he shilling for the buyside the same way he was shilling for the Oakland A's? In my opinion, the only thing we know based on facts is that Michael Lewis, the author, has one objective in mind: To sell more books.

In order to sell books, the story and narrative has to be compelling. Is the story of a Canadian guy making millions of dollars at his trading desk quitting his job and starting a company (we love startups!) that may undermine a controversial trading tactic a compelling story? Absolutely. Is the story of Einhorn or Cohen or Icahn doing things like insider trading or activist investing equally compelling? Probably not, since it's on the cover of the WSJ or on CNBC every week.

Michael Lewis does not have a responsibility to educate main street about the nuances of HFT, although as a secondary benefit of his noble pursuit to sell more books, he does shine a light on the topic. In this regard, Lewis is exceptionally successful. He's sparked a debate, he's created controversy, he's made smart people discuss a topic they had previously less interest in.

Think about what Moneyball did for professional sports? Lewis was hardly the first (e.g, Bill James) but he popularized it so we, the general population, could discuss the topic with some conviction and knowledge. If he can do the same for HFT and trading in general, then good job. And he sells more books.
The "not allowed" refers to sharing some of the best code I've written. I find it hard to reproduce that quality of code in a 45 minute code puzzle, like the time I interview for Twitter.
.NET library for server-side rendering of React components and JSX compilation
Does publicly questioning papers lead to more corrections and retractions?
I wish every day for this to finally become usable and deployable. A bit of GitHub integration and I have tons of places I'd get Wave going again.
Dear Apple, please buy f.lux
We had an internal wiki where the "delete article" link was a GET. Then someone wrote a crawler for it and deleted the entire wiki in 15 minutes. It was changed to a POST after that.
Large hedge trades involve block shopping

ELI5 version is that you need to pay for (1) working capital. This scales with the size of the block (capital cost). You also need to pay for (2) some lead-gen fees to get the block (service cost). You also have to pay for (3) a hedge on economics while your lead-gen process play's out. The cost of this hedge scales with size (just like capital cost), but also with vol (of underlying) and time (speed of lead gen process).

If you don't cut the deal to cover your hedge (or put one on) you run the risk of massive losses from mino movemnets in the market (ie, if you have a <1% cent spread on 5 mill position and the stock spikes 10%).

So a trade's profits:

(A) scale+fees = Revenues

(B) capital+hedge = Costs

Both the hedge and the capital are proportionate to time.

TLDR when you talk about HFT you are optimizing on time; and thus talking about (B) as much as (A) in terms of profits. Most of the optimization is on (B).

What's unique here is that (B) is blind to the casual observer and to some extent, the market.

But analytically, it influences profits and drives behaviour/incentive structure.

If you dis-regard it out of hand, you're missing an important part of the picture.
Scientist thought they could shortcut this process by discovering the underlying biochemical mechanism. One promising lead was the insulin subsystem which is ubiqitous in our tissues and in most animals for nearly 700 million years. This lead to the SIR family of genes and chemicals like red wine that seem to manipulate them. What works in yeast and worms doesnt seem to apply to mammals that well yet.
Western mdicine: develop and take a PILL to solve your problems.
> the idea of least cognitive load I think only runs skin deep (syntax)

Perhaps... I'm not aware of any empirical study into the matter so my claim is mere speculation.

There are, for example, plenty of highly productive Perl and Haskell programmers. Those languages are notorious for the gobs of arcane syntax. And yet their proponents claim it's an advantage.

"Cognitive load," in my case refers to the amount of information about the language and its compiler/runtime I have to recall in order to estimate how a given piece of code will execute.
This is very true for a collaboration platform. I wanted to use this for school to collaborate with the groups there. If 1 person of the group did not have Wave, we couldn't use it.
A Journey Through Monument Valley
I think the disruption of cable TV is that many people don't care about any kind of TV anymore.

Apple TV is interesting because you can watch your movies and home videos on a big screen with the family. It's not "TV" for me as I watch neither series, nor live TV on it.

Before Internet, people had no other place to get current info except radio and TV. Now there is. Ergo, those who still watch TV or look for TV alternatives to disrupt TV, are mostly people who haven't truly moved on.

But the world is moving on. Especially the population below 50 years old. At least how I see it.
> Blockchains are being used to implement solutions to different problems, and they could really solve some significant problems such as decentralized identity and reputation management (!). The difficulty lies in creating a significant enough "currency" so that miners will become involved and make the blockchain stable and reliable.

Author of the original article here. Namecoin is actually merge-mined with Bitcoin, so miner participation is not a serious problem. There's no way you could have known that without happening to know that, though, and I agree that this is an issue for a lot of new blockchain-based technologies.
I'm not an expert but I believe you are incorrect. What you are suggesting is that the broker could perform a "trade-through", which was allowed under the old ITS rules. Under the Order Protection rule, trade-throughs of even 100 shares are explicitly prohibited. Reg NMS is very strict and that's why it is so controversial. My understanding of Thor is that it does not trade through, but it executes at all relevant exchanges near-simultaneously by delaying order routing to lower-latency exchanges. This prevents HFTs from sniffing your order at one exchange and beating you to the next.
The institutional orders get baited to BATS BYX with "taker rebates" (on BZX the fee structure is the normal maker-rebate taker-fee, but on BYX it is reversed). It hits BYX first because the broker's router is programmed to send it there first for that rebate, but its only for a minimal amount of shares. And that's a signal which the HFT firms use to pull or front-run equivalent offers on the various other exchanges.

The other big scam seems to be HFT firms buying a broker's order flow - for hundreds of millions of dollars. For example, Schwab sold its order flow to UBS for 8-year contract in 2005, for $285 million. It was massively underpriced, Schwab is said to have left a billion dollars on the table. And UBS, in turn, sold Schwab's order flow to Citadel for an undisclosed sum. Why is the right to execute a broker's order flow so valuable? Nobody seems to have a good answer, but the obvious reason is that its easy scalping.
I cut the cable 5 years ago and I have never looked back. I can utilize many sources and avenues for what I want to watch, but I am technically inclined. The advent of Popcorn for the general masses is going to push the cable cutter approach even further.

Really, if someone would just find an easy, reasonably priced way to give sports and local news to everyone on a Roku/ATV/FireTV/etc. I think it would push the demise of cable tv into hyperdrive.
I'm Sad Brendan Eich Had to Step Down as Mozilla CEO
Thank you for the response! I'm actually very interested in this kind of products, it might look like there is already choice in this area, but I don't think so; there is still space for doing something different and better.

I'd have thousands of questions, but I guess I'll just focus on this:

* Over how much time are the load metrics computed? For how long do they have to go above 85% to trigger a scale?

* Do you compute the average load across all scalers? Or some percentile?

* Can these parameters be tuned ? Can the load and the scaling decisions be seen (a part from the bill?)

* Assuming other bottlenecks (like IO), you won't notice high CPU or RAM load, but you would notice a spike in response time. Do you allow, or have any plans, to include other metrics in the scaler or to allow customers to export custom metrics?

* Do you allow to spawn long running background processes. If yes, how does it interact with the CPU load based scaling?

ADDED:

* Can the user add placement constraints when deploying an app in multiple DCs ? Can the scalers themselves span multiple DCs in the same region. If not do you plan offering access to configuring loadbalancers to serve traffic to multiple app instances serving as a single logical app?
A few summers ago I lived in Seattle but worked in Bremerton, which is over an hour away by ferry. To reach on time I had to take the earliest ferry possible; at 6-something AM. If I missed that ferry, the next one wasn't until 1.5 hours later, which would make me very late.

Almost every day--like clockwork--I got up slightly late, threw on some clothes, and went out with my bike. Half-asleep, cold, and worried about missing the ferry, I pedaled my heart out through Seattle's hilly downtown streets and past morning-rush buses.

It sounds miserable. But y'know what... By the time I reached the ferry--usually with only a few minutes to spare--I felt awake, full of energy, and ready to take on the day. As someone who's usually slow and tired in the mornings, this was an immensely refreshing feeling.

(To say nothing of the commute back, biking up a series of brutal, steep-grade hills...)
The Hubot Orchestrate-Brain
I've never seen an app ask for the same permission more than once. I'm pretty sure that if the user declines it the first time, all subsequent times will be automatically declined without prompting the user.
Note, be very careful with "mmap is the fastest way to do IO". That's not true 90% of the time.
mmap is the fastest way to do IO when the OS already has file contents in memory and it's more than a few pages so setup of mmap() call is cheaper than memcopying data from kernel space.
However mmap is terrible for cold IO. The problem is that mmap is IO-by-sideeffect-of-pagefaults. One has to use madvise() very carefully to make sure that the OS reads useful parts of a file during a pagefault. mmap style of IO is also susceptible to access-pattern bugs, eg even the Linux toolchain gets it deadly wrong and ends up doing IO backwards: https://blog.mozilla.org/tglek/2010/05/27/startup-backward-c....

mmap is even worse on Windows. Windows has no madvise(), OSX equivalent is pathetic. OSX and Windows read mmaped files in bizzarely small chunks, etc.

mmap has the worst error-handling semantics of all IO methods. Linux gives you a super-hard-to-wrap SIGBUS, Windows forces use of slightly-less-horrific SEH http://msdn.microsoft.com/en-us/library/windows/desktop/aa36...
>So if you don't eat much you may live longer.
>It will certainly FEEL longer.

https://www.youtube.com/watch?v=h7fs33Jewsg&t=4m25s

According to people that do it they feel great (possibly due to BDNF activation in the brain).
Shaming, Social Media, and the Impact of Online Power

http://laurahudson.tumblr.com/post/56458456777/shaming-socia...
Oh FFS, there's enough good info in the article to just think about that, without getting all butt-hurt about in-groups and out-groups.
You get promoted by asking for help on HN and having patio11 respond to you.
Given the solution, a fish was a great choice of shape.
TrueCar Files S-1 Registration For IPO
What about something like this http://www.patreon.com/ except with the focus you describe in your blog post?
I remember as a kid it was time to chill out or go play in my room when 6pm came around because it was time for the evening News. Now you can get the News all day, everyday, even as it is happening so you are entirely right about that point of change.
Highlight supported browser versions right away, especially if supporting older ones (otherwise this could actually count against the project)
You forgot the whole quote. "Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%."

Knuth is saying that in most cases optimizing prematurely is not worth it, which is right, but just as critical is the part saying that there are parts where pays off to consider optimization early. Writing your logging function in assembly likely fits into the 97%. Writing your N-queens solver, if you're aiming for all-out speed, likely fits into the 3%.

Of course not thinking about optimization at all will lead you down a path where your software is unoptimizable, or at least very difficult to optimize. Ask anyone who's had to optimize a video game that manages all objects in a scene graph, where reorganizing a cache hostile tangled web of pointers to base classes is a herculean feat.
Similar concepts are found with Penflip (http://www.penflip.com) that go outside programming but offer similar functionality, depending on the breadth of what you may want to write on.
It's certainly not trivial to get it running on a current Linux distribution, it's easier to just use wine.
I had a good book titled 'Humanure' that stated that the sitting posture is quite unnatural and drop toilets or rather throne-less were better for us.

At university (UK) I couldn't work out why some toilets had shit all over them, like people just evacuated all over the seats. I thought: what animals/dirty tricksters! After reading that book I realised that it was non-uk students who were struggling with the UK style toilets.

Some suggest standing on the throne as a compromise, but it's a bit precarious, and it's not nice if you miss the target.

I prefer squat toilets myself, as long as they are kept clean.
It's really refreshing to hold Ctrl-R and see what new comments slide into place.