skysight-inc/HackerNews huggingface dataset:
This is an interesting idea. It's amazing to think that a tool like the axe -- which has been around for millennia -- can still be improved.

[OTOH, I've split a fair amount of wood. And I'd have to say that anyone who thinks splitting wood with an axe is a good way to produce fuel for the primary heat source for a house, is pretty much insane. It's exhausting work. Get a powered splitter for goodness sake. :-) ]
Indians have families, too.
You don't need to be, but why not? It should be plenty fast and work well. If it's turning out to be too slow due to too much locking, that should be fixed.
Obvious alien abduction. ;) I kid but someone is going to believe this was the case.
Here you go. We can both win: http://www.reddit.com/r/hnyoutubechannels/
It's troubling to hear sentiments like that. Statements like "no debt means you overpaid up front" have a nasty habit of being repeated by people as after-the-fact rationalization for their own failure to design. It is anti-intellectual: it reflects a culture where writing code is valued over understanding the problem. It also devalues our time to non-technical management.

Over-design is a legitimate concern. But, if you don't know much design, however, you probably aren't going to fall into this trap. You're more liable to under-design things.
Adding to aidenn0's comment, if you trust /dev/urandom to produce 4kb of random data, it follows that you trust it to produce 128 bits.

128 bits (32 bytes) is sufficient to initialize a PRNG into any one of 115792089237316195423570985008687907853269984665640564039457584007913129639936 states (that's 1 with 77 digits). Consequently, hitting the kernel constantly for so much data is utterly inefficient in the first instance, and totally unnecessary in the second.

Blog author could improve his design's efficiency >128x just by seeding a PRNG with a single 32 byte read at the start of the subprocess
Yeah, I really don't understand why this OSX monopoly on "just works" still persists. A plain old Ubuntu install just works, lots of Linux distros do, but if you want the additional customisation, it's there.
Where are you from?, I find that the idea of social anxiety is almost non existant in Spain (there is people less social, but doesn't seem to be a big issue, or super common), but I find that it's a common conversation topic in the states. Maybe you've been raised in an hambient that makes you more prone to experience social anxiety.

Also when I go out I don't do it with the idea of meeting strange people, but you do find people you know from time to time. And also you know you can have a nice conversation in the cafeteria at your street or the book shop.. It's not an anonimous and impersonal experience (although you may go the other way and have one if you wish, is not a big brother situation)
in short, they save fuel/money at the cost of time.

Instead of going to ISS directly, they have put the Dragon to some cheaper point in the space with some speed vector. After that, it will turn around Earth multiple times, until the orbits of the Dragon and the ISS are closer.

But it's very short and partially incorrect (as they may also have a few correction boosts)
https://www.youtube.com/user/sixtysymbols - really interesting and well made physics videos

https://www.youtube.com/user/flitetest - fixed wing and (multi)copter builds and flights. Mostly mechanical, electrical, and aerospace.

minutephysics, minuteearth, and crashcourse are also great.
Samsung's fingerprint flop latest biometric cautionary tale
The Scienctific Approach to Dominating a Pinewood Derby
I’d echo your intuitions about learning, drawing on my experience learning a second language (German) to fluency in my late teens, and comparing them to my half-hearted, dead-ended attempts with a few others (Chinese, French, Ancient Greek) afterward.

To me, it seems the most important factor in learning a language is exposure (à la Gladwell’s 10k hours, and 1 hr in classroom counts far, far less than 1 hr of watching a trashy soap opera). Related and also important is motivation.

Excelling at the classroom model might provide a foundational excitement or make talking with natives less humiliating or help with grammatical minutiae (in German, irregular verb stems and modifier declension, which just take more hours to get intuitively), but has nothing directly to do with how fluent you end up.

I’d guess this test serves more to reinforce an already prevalent, toxic fatalism about learning languages (in particular as adults) than to teach us about our selves.
https://www.youtube.com/user/diginfonews
A fair point, but don't you think with sufficient demand there would be competition in a free market?
I looked up the Wikipedia article and I'm actually a huge fan of this. This article sucks though.
Perhaps we have different definitions of OOP. To me, it's not OOP without subclasses and private mutable state. What does OOP mean to you? I'm guessing you're thinking of Haskell's typeclasses as an analogue to Java's interfaces. Any other features?
Heartbleed proves we need to change how we use open source
HackCard: The world's first loyalty card for hackers
Sometimes there is not money to do that.
Could this have any implications when it comes to learning new programming languages?

For example, is it better to just dive into existing code in the language and play around with it, as opposed to picking up a book on the language and first understanding the theory and the idioms behind it end-to-end?
Veritasium

Sixty Symbols

CGP Grey

ViHart

Smarter Every Day

The Brain Scoop

Vsauce

Numberphile

Crash Course

(Sorry for the lack of links, but that takes forever)

(And the formatting. I don't know how to make it \n)
Ubuntu is still the best looking distro to me, particularly after a bit of customisation. Elementary just looks like a cheap OSX skin for Linux.
The dollar value at the time it is awarded matters zero. As an employee the only time a dollar value matters is when I can cash out. The problem is that you have to predict the percentage contribution of an employee from now until liquidation before they do any work. (This is why we vest options, so that if they don't contribute they don't get anything.)
It's not a beach house, it's a bach, which is usually just a wooden shed in a nice spot.
Thinking about this another way, if the company shoots up in value immediately even 10% of your equity grant could mean a significant payout if the company is following the rest of Sam's advice by offering above market percentages and being exercisable up to 10 years after the grant date.
What does the deleted article contain that is more informative about DO as a company than DO's above-the-fold?

https://www.digitalocean.com/
How do you define performance? It's a fantastically difficult thing to define. In my experience every attempt at this (at least for engineers) ends up in a situation where people are putting their effort into maximizing metrics as opposed to furthering business goals.

We completely decouple performance reviews from compensation. Full stop.
I would love to see an E-ink-based product:

- That makes annotating and highlighting nearly as easy as with pen and paper

- Which also is not too expensive (Kindle DX pricing is fine, newly announced Sony's e-reader at $1000+ is not), and,

- Which supports easy transfer of content/URL to the device from within the firewall. (E.g. Virtual print driver that sends to the device and opens it there.)

Will be very happy to hear if there is a solution that I am not currently aware of!
Grass fed beef is worth every penny you'll spend on it if you are somewhere where you can find it.

When you have it for the first time though, prepare it some way with a minimum of seasonings, maybe like a simple burger patty. If you first prepare it in something beef is just a part of, say something like a chili, you won't necessarily taste why it is worth a little more.

And that's not talking about any possible health benefits it just tastes great.
What parts do you think contribute to looking nice? (I am more interested in things that look nice before customization).

Is this a case of better defaults? Or is it just as simple as different themes and window managers?
The employee typically gets options, not equity. They are valued at the current market value of the company and cost that amount to acquire. So the value upon grant is 0[1].

[1] modulo accounting tricks
I always go with firefox for printing a page, chromium always fucks up the kerning so much more.

I did notice that it was a lot worse on small font size, as the article did too, and it's really annoying: font are supposed to be scalable, why isn't there the same kerning errors on bigger sizes?
https://www.youtube.com/user/drive
People are eating more, hence the 8% increase in carb/fat consumption. But since they are actually getting a hair less protein it means people must be eating food with less protein in it on average.
The Virginia 1967 ,reminds me of my youth when we still had a demand side economy and a thriving middle class.
180 / 365 will pose the issues as 90 days. I had to let go of my stocks since the price to exercise was too high when I left. I wasn't sure when the company would ever IPO or get bought. Though had it been 365 days, it would have worked out for me. My company got acquired 8 months after I had left.
Legal warchest.

I've said it before: when your business model requires individuals to serve your customers in such a close personal way, something really bad is going to happen. A fire that takes out an apartment complex, a rape, a murder. The sort of thing requiring tens of millions of dollars to make it go away.
Selections from Paul Graham's quotes page...

"Programs must be written for people to read, and only incidentally for machines to execute." - Abelson & Sussman, SICP, preface to the first edition

"That language is an instrument of human reason, and not merely a medium for the expression of thought, is a truth generally admitted." - George Boole, quoted in Iverson's Turing Award Lecture

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay

"Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve." - Alan Perlis

"Premature optimization is the root of all evil (or at least most of it) in programming." - Donald Knuth

"Lisp has jokingly been called "the most intelligent way to misuse a computer". I think that description is a great compliment because it transmits the full flavor of liberation: it has assisted a number of our most gifted fellow humans in thinking previously impossible thoughts." - Edsger Dijkstra, CACM, 15:10

"The key to performance is elegance, not battalions of special cases." - Jon Bentley and Doug McIlroy

"Change breaks the brittle." - Jan Houtema

"Your twenties are always an apprenticeship, but you don't always know what for." - Jan Houtema

"Focusing is about saying no." - Steve Jobs

Source: http://paulgraham.com/quo.html
At an absolute minimum this flight has shown that SpaceX is capable of testing reuse of the first stage on operational launches (including use of landing legs on the first stage) with no impact to the launch (provided there is sufficient payload margin, which there will be on any further Dragon launches). That's a big deal, it means they get tens of millions of dollars in free testing subsidized by their customers, and that gives them a huge leg up in working towards reusability.
My hunch is we won't see or hear much about it unless it's a (relative) success, then we'll have video from multiple drone POVs.
This could be a really nice replacement of Backbone.View.
Markov-generated Spring class names: Can you guess which is real?
It doesn't really contradict the article, which isn't really saying that eating protein is healthy, but that people scarf up carbohydrates trying to find protein - but it doesn't seem to have anything to do with the article.

http://www.eurekalert.org/pub_releases/2014-03/cp-cpi022714....
You know, it's funny, I read things like this from time to time: "so if I have 0.5% of company and it gets acquired tomorrow for $100 million dollars, will I get $500,000?" and I remember that I am in this exact scenario, and have no idea what the answer is. I've been an employee at a startup for 2 years now. I joined when I was young, naive, and broke — I don't even remember if I read the paperwork before signing it.

Does anyone have any advice for how to go about learning more about employee options? I realize I sound dumb, but better late than never.

Some questions I've always had but have been too afraid to ask:

- How does one exercise their options?

- What taxes are there and when do you have to pay those?

- In the above scenario, what factors are involved in me actually getting that $500k?

- What questions aren't I thinking of because I don't know enough about any of this? For example, I've never asked about my options since signing the paperwork: was there something I would have had to do already that I haven't, and will likely screw me in the future?

P.S. Throwaway for anonymity (because I am embarrassed to have to ask!).
As a user of libcares (which is awesome for bulk DNS lookups btw) I'll add that I've only ever needed one ares_channel per process. Having one ares_channel for every CURL-handle seems a bit excessive. This is probably the main problem here, not the kernel spinlock.

Edit: Come to think about it, why isn't the CURL-handle reused? Sounds like a new CURL-handle is inited for every request, which I don't recall being necessary.
I found this to be informative and simple enough to be interesting for both parents and kids who are interested in Pinewood Derby racing. As mentioned in the video, there are more in-depth sources on engineering a dominant car but I think that this would be a better tool for a kid who wants to learn what makes a fast car fast.
I frequently see texts in prints though, especially headings, that start overlapping with other things around. This seems way more common than what I would like. Once in a while, believe it or not, all the characters print on the top of each other for headings. All this is such a mess.
> bad is: ... pasta, bread ...

Yep, those French and Italians are dropping like flies.

> stay away from ... rice

Ah yes, Asia, the poster child of poor dietary health in the world.
I think we're in agreement. I agree that "Core Yahoo" might presently have negative value, because it could lose money in the future and eat into the company's other assets.

I'm just saying that if Yahoo sold its major stock assets and transferred most of its cash to shareholders, the remainder of the company (consisting of "Core Yahoo" and not much else) would have positive value.
"Defying projections, crime has dropped since the law went into effect January 1, and the flow of new tax revenue, more than $2 million a month, is on par with the state’s haul from alcohol taxes. Is this what the pot-friendly future of America looks like?"

It sounds like all rainbows and unicorns right? Well, not exactly. . .

"Marijuana is by far the No. 1 cause of student expulsions from Colorado public schools" - http://www.thedenverchannel.com/news/local-news/more-younger...

"Colo. kids getting into parents' pot-laced goodies" - http://www.usatoday.com/story/news/nation/2014/04/02/marijua...

"Colorado News: Pot problems in Colorado schools increase with legalization" - http://www.summitdaily.com/news/marijuana/8877953-113/mariju...

"Harmless pot? New marijuana study shows brain damage in those 18-25" - http://www.deseretnews.com/article/865601141/Harmless-pot-Ne...

Yeah the tax benefits are great for the state, but there's going to be a lot of unintended consequences. Not sure I'd want my kids getting exposed to this at a young age.

EDIT: I guess I shouldn't be surprised. Downvotes for a one article and nobody presenting any fear of their kids being involved with pot at an early age.

I will simply leave with you a family friends comment to me who's been a drug counsellor for 25 years, "In my 25 years of practice, all of my patients who came to me seeking help with their addictions, they all had one thing in common - they all started with marijuana."
That is quick, but still the axe gets lodged in the wood at least four times in that video.
Yes!! This will be very helpful
There was a neat corner case with easements/rights-of-way and water from property class that I would constantly screw up in hypos. I obviously bombed it on the final but whenever I hear it I always think it is interesting. I think it is something to do with waterfront access to property that is otherwise inaccessible.
can you give some examples of things that 'taste like protein but aren't'? thanks
Also soy sauce and some other fermented sauces (Worcestershire sauce, e.g.) hydrolyzed vegetable protein, hydrolyzed yeast, soy extracts, and the ever popular "natural flavor".
There are a lot of things in this post that deserve to be addressed, like the fact that the 90 day exercise period for ISOs after termination is based on IRS rules, not arbitrary company policy.

But what really needs to be addressed is the fact that employee startup equity rarely produces the kind of reward that one would expect it to given the outsize attention that is paid to it. Sam writes:

> As an extremely rough stab at actual numbers, I think a company ought to be giving at least 10% in total to the first 10 employees, 5% to the next 20, and 5% to the next 50. In practice, the optimal numbers may be much higher.

It's worth testing these numbers against real-world data. For this, I'll use CB Insights' 2013 Global Tech Exits Report[1], which shows that:

1. 1,825 private tech companies exited in 2013.

2. Only 19 of them exited at a $1 billion-plus valuation.

3. 45% of exits were under $50 million, and 72% of exits were under $200 million.

If you assume that the first 10 employees receive 10% of a company's equity, and that each employee in that group receives 1%, a $200 million exit produces up to $2 million before taxes for each of the early employees. A $50 million exit produces $500,000. If you're making $125,000/year as a senior engineer, $500,000 gross after 4 years is the equivalent of what you earned in salary over the past 4 years. That's a nice bonus, but not life-changing wealth. $2 million is nicer, but if you plan to stay in the Bay Area, you might spend half or more of that on a modest house or condo.

Once you factor in the cost of exercising your options, taxes, dilution, liquidation preferences, lack of acceleration and the fact that a good portion of employees leave before fully vesting, you can see that even in a scenario where 10% of the company is given to the first 10 employees, employees aren't likely to see the type of compelling returns that Silicon Valley dreams are made of. Facebook and Twitter-like exits, where thousands of employees become paper millionaires overnight and the earliest gain tens or hundreds of millions of dollars, are the exception, not the rule.

What's worth considering further is the fact that 66% of the companies that exited in 2013 had raised no institutional capital according to CB Insights. So, as a prospective employee, in joining a venture-backed company (or a company coming out of a prominent accelerator), you may be putting yourself at a disadvantage even before you take into account the fact that employee equity is most vulnerable to dilution and liquidation preferences at these companies.

Final note: CB Insights' 2012 Global Tech Exits Report[2] shows similar trends to the 2013 report. In fact, in 2012, over half of exits were under $50 million and 76% of the companies that had an exit had not raised institutional capital.

[1] https://www.cbinsights.com/blog/global-tech-exits-report-201...

[2] https://www.cbinsights.com/blog/tech-mergers-acquisitions-de...
Userland PRNGs are one of the easiest ways to introduce security vulnerabilities into your programs. I would recommend being very, VERY careful before trying to do this, like the traditional "Don't roll your own crypto" advice.
I put a moderate moderator flag on it so that it would be lower, but still on the front page. My reasoning: Space X is cool and interesting, but it isn't a major story every time they do a launch.

Edit: We took the penalty off several hours ago: https://news.ycombinator.com/item?id=7611240
The explanation for obesity is simply a caloric surplus. You can't get much simpler than that.
'shared_ptr' can use type erasure because it is a much heavier object. 'unique_ptr' on the other hand is supposed to be a nearly free.

If you wanted a version of your code with unique_ptr, you would create a SDLDelete struct template. The result would be nearly identical except for an additional type parameter (and the new struct).

Then if you wanted to make "CreateWindow" generic for any of SDL's create/delete pairs... you are basically looking at the OP's make_resource code but slightly different. :P Their version just avoids making a new struct.
https://www.youtube.com/user/scishow
It'll already have happened by now. We'll see if they release footage or not. Usually the footage isn't very clear because of condensation and water spray.
Interestingly enough, I have actually been working on writing a DNS client library in C++ with Boost ASIO this very afternoon. I was going to get my source of random data using the following C++11 standard library code. I would really appreciate any comments from people here if there is anything wrong with what I'm doing:

#include <random>
std::uniform_int_distribution<uint32_t> dist;

// Seed a Mersenne twister PRNG with random data:
std::mt19937 eng;
std::random_device rd;
eng.seed(dist(rd));

// Now to generate random numbers, simply:
uint32_t random_number = dist(eng);
I kept pushing, and wasn't told. I ended up leaving not long after. I should have left on the spot.
You're welcome. Yes wrt paper being better even without professional layout.

I didn't really start to get these things until doing some print work after years of being internet-only.
Yes. As I mention above, I find motivation to be extraordinarily important in learning languages of all kinds. Diving in implies you start with some task you’re already motivated by.

A crucial, well understood advantage with PLs is that they are well documented (both officially and on Stack Overflow), making minor successes with little previous exposure more likely, which can provide constant reinforcement.

In fact, natural languages are far better documented than people believe. Armed with a few electronic unabridged dictionaries, translation corpora, and conjugation tools, you can make text chatting with a native speaker motivating in the same way as diving into a new programming language, even without having ever composed a sentence before.
How to Monetize Tinder for Good or Evil
I like the idea of metamorf.us a lot, but it seems to me to be solely focused on social anxiety. Do you have plans to expand out of that?
There are lots of applications that require a cryptographically secure random number generator, which math/rand doesn't claim to be.
Way way less than that. I'm in this town on holiday currently. Check the prices!

http://www.trademe.co.nz/Browse/CategoryAttributeSearchResul...
Elon Musk on Risky SpaceX Test: If It Works, It's the Biggest Thing We've Done
Does it support pre-programmed microcontrollers? Pre-programmed with code I supply, that is.
This "some random data is more important then other random data" musical chair dance going on with /dev/random vs /dev/urandom vs userland [CS]PRNGs (often gathering from extremely poor sources, or using broken algos) has been nothing short of an unmitigated security and useability disaster.

We have the abillity to make the /dev/urandom CSPRNG secure enough and fast enough for (almost) any randomness purpose. We need to cut all the rest of this insane crap.

People choose the wrong RNGs and get burned, or wont use the right ones because of speed or imaginary entropy exhaustion issues. This matters.