skysight-inc/HackerNews huggingface dataset:
Thanks for the info. I don't think anyone's accusing the Persona team of being half-hearted. Execution was great! But I will accuse Mozilla leadership of being tragically poor. It's nice to think about "sustainability" in a post-web world, but sustainability for Mozilla must start with Firefox. Mozilla is Firefox. And Mozilla has the billions to make it rock. So when resources are diverted away while there's still work to do, you should see red flags and look for better focus right away. When Apple was the iPod, we made damn sure it was the best possible iPod before anything else.
I dunno, I like second being a bad choice, the number of times it is useful are very few. `!! 2` is much more straightforward. In contrast `last` is impossible to do that way and `head` is part of the underlying data structure (as in it is a linked list, so has head and tail) so is a gimme.
I used Litmus to test email compatibility of the buttons. Just checked again and you are correct. A border shows up in one of the older Android Gmail clients, but it works in all the rest. Even Lotus Notes 8, Blackberry, and Outlook 2000 :)

I'll update the example to fix. Thanks for pointing that out.
Sorry, I thought this was worth sharing and didn't have the inclination to write a blog post.
Don't know about public opinion on life imprisonment for minors, but the death penalty still has support from a majority of polled Americans [1]. I'd say it might be 'old' just because the UN passed this almost 25 years ago but the public policy is [supposed to be] derived from where the people are at. Seems like its still a relevant statement.

[1] http://www.gallup.com/poll/1606/death-penalty.aspx
so what you're saying is 'this is dumb because i'm lazy'?
I don't think XML does either by itself. The schema will determine which fields are parsed as strings and which are parsed as numbers.
> When you say glue, I'm assuming you actually mean WAX.

We used to use a rubbery glue called Cow Gum. It too was repositionable and invisible to the camera. I haven't seen it for years, gone the way of Letraset probably, but it was good stuff. The raging solvent-fume headaches after a day of pasting up were not so good though.
That's exactly why I'm programming way more Haskell than Go these days.
I believe they never figured out the necessary shock absorbers, so manned flight wouldn't be feasible today.
1) where do you think that money goes? 2) if they're paying for stuff they aren't getting, whose problem is it?
> Technically it can return any item in the list

But that is all it can return. By looking at the name I know with 100% certainty what it is.

> I can guess what a function does in C or C++, too

Never without the name. Too few functions are actually pure and the difference in a pure signature and a non-pure one doesn't exist.

Heck if it is C or C++ it could cast all the void* to int* and find the first one that is non-null and points to a positive value.
Since 2005 Supreme Court decisions found juvenile executions unconstitutional as "cruel and unusual punishment"[50][51][52] and that mandatory sentences of life without the possibility of parole are unconstitutional for juvenile offenders.

So the US already can't execute or imprison children. So that's not the reason for not signing it.
Here's a dramatically simplified diagram to illustrate the principle:

https://db.tt/Fvs0xBpd

If I put a voltage on pin 2, and key A is pressed, I will get a voltage at pin 1. If I put a voltage on pin 3 and key B is pressed, I will get a voltage at pin 1.

It doesn't matter if both are pressed simultaneously because I am reading them sequentially.

All you have to do is scan the keys quickly enough that someone can't "sneak in" a key press in between scans which turns out is possible with even the lowest powered hardware.
The HN mods typically sanitize titles to match the title of the underlying article. (Except when they don't, of course.) They are generally unwilling to explain themselves, even when their edits are clearly making the title worse.

It's honestly a mystery to me why the system even lets submitters specify titles.
Hey Eli. It sounds like you're really knowledgeable in this space. I'd love to chat more. You can reach me at greg@sendwithus.com.
Michigan woman's auto-payments hid her death for six years
If youre a Linux guy just develop for Android. They have a thriving game market and you dont have to compromise openness.
Glad you like it! Yes, that would be a great use case for this. It especially shines is more advanced CS classes, like Coursera's Intro to Recommendation Systems, the Scala course, where something like Eclipse/Intellij would be very useful.
And then we're thinking there are other skills like debugging, schema optimization etc. which can also be taught more efficiently on this platform.
The only (well not the only) problem with that is then they would have an incentive to just get people out as quickly as possible to get paid. We would have to set up some sort of standards for what it meant to be "rehabilitated" and that would be pretty difficult.
>I also think your "rather silly" comment is a bit flippant. For someone who is not bothered by tests this might seem reasonable.

It's not like I love exams myself? This is simply something people should learn to deal with.

>But for kids that are not ready, introducing them to high stress testing situations can scar them badly and impair their performance for life.

If your kid gets scared for life by a test, then I'm afraid you simply haven't prepared them for life at all. Test might be frightening, I'll grant you that, but it's such a normal part of the education system and a lot of other things, that it simply is something one must learn to cope with in some way or another. There's often counseling or guidance you can get if you really have anxiety.

>it means inevitably they will do very poorly on the test, which will feed back into their self esteem and have a high risk of setting back their educational progress.

Then you deal with that by helping them as I mentioned in the last sentence in the paragraph before. It can also be an indicator that the child simply hasn't learned what it was expected to have learned, and therefore isn't ready to progress yet.

Kids aren't fragile little things that'll break so easily. I'll stand on my earlier claim and would say "sparing" them of such things will do more harm to them later on in their life than it will do them good. You can't always hold you child in the hand, and if they never learn to deal with stressful situations it will have a much larger impact later on in life.
AC-130 is significantly more of a sitting duck to infantry-deployable surface to air missiles. They have to be fairly low and fly in slow circles with the broadside facing the target. It would be hard to imagine a better missile target. One was shot down in the gulf war by one such infantryman/SAM and all 14 crew were killed. A-10s can loiter and provide extended ground support, but can come in/leave quickly, maneuver well, use terrain to hide from ground fire, etc.
Being in this sort of shitty company is pretty common for the US when it comes to human rights treaties.

http://blog.foreignpolicy.com/posts/2012/05/17/america_the_e...

There isn't a "US's stated reason for not signing". Instead, there's lot of "yeah that'd be great, we'll get on that later" from the various administrations, and what sounds like paranoid whining from religious conservatives.

http://en.wikipedia.org/wiki/US_ratification_of_the_Conventi...

> On 16 February 1995, Madeleine Albright, at the time the U.S. Ambassador to the United Nations, signed the Convention. However, though generally supportive of the Convention, President Bill Clinton did not submit it to the Senate. Likewise, President Bush did not submit the Convention to the Senate. President Barack Obama has described the failure to ratify the Convention as 'embarrassing' and has promised to review this. The Obama administration has said that it intends to submit the Convention to the Senate, but there is no set timeline for it.
And hidden in the middle there, 1/3 of americans don't believe the death penalty reduces murder, and 2/3 believe innocents have been murdered in execution of a death penalty, meaning that those agreeing to it just do so out of spiteful vengeance.
To my mind it's like stack objects - not only do you not have to worry about freeing them, the destructor gets called and so do subordinate destructors for memeber objects. It was a bit of a revelation when I did some 'real' c++ for the first time a couple of years back.

In some ways it is just another of the myriad of implicit behaviours in C++ that make it hard to work with, though.
On a slight tangent, that was an amazingly well-written article, with very professional illustrations, photos, good research, no typos I could see, etc.

How come this is on Medium rather than on, say, the NY Times?
You could have 'reading' and 'rendering' plugins. Reading plugins obtain the content and meta-data.

A possible use case would be generating pages from an RSS feed. You'd have to specify the meta-data separately in some config though.

(Sorry, really don't want to over-design something that seems simple and elegant. Just a thought.)
The MIT course on youtube from the 80s using SCIP and Scheme was the single best time investment I've made since learning programming. It still blows my mind how much it changed my perspective on programming.
Not just a nice tool, but a great implementation. Simple, lean code, no promises or anything fancy.
Several of my graduate math professors sometimes failed at solving Calculus problems on the board because they made a mistake somewhere and couldn't evaluate an integral.

In Bio classes, almost everyone used Powerpoint. Those who did the blackboard approach had the worst lectures mostly because they wrote down very little and just talked about concepts.
Human brains are no more difficult to exactly reproduce than any other piece of matter: extremely difficult. The best we've done to date is a few previously entangled particles.

Edit to add: what I'm talking about here is quantum teleportation of the matter of the brain.

Typically when people talk about "uploading a mind" they mean that the mind is software running on the hardware of the brain--like Windows running on a PC. I'm not aware of any scientific evidence that the mind and brain can be considered separately in that way.
A 50-cent microscope made of paper that could revolutionize healthcare
As saurik mentioned before trying to seed /dev/urandom by reading once from /dev/random relies on an implementation detail, i.e. the fact that both share the CSPRNG and therefore seeding /dev/random also seeds /dev/urandom. IMHO it is better not to make this assumption but assume that /dev/random and /dev/urandom are completely independent because the implementation may change.

There may of course be a specification stating that this relationship between the two has to be this way but then many things have been carve in stone and changed later. So unless there is a compelling argument to prefer implicit seeding of /dev/urandom over doing it explicitly, I would definitely avoid it.
They're not that fast. A single thread build of my python/c project (pillow) takes ~ 15 seconds on a vm, ~ 30 on an ancient core duo laptop, and ... still waiting on the raspberry. edit: 5:15. So 25 times slower.
I've been attempting to extract various bits of government data and found the process to be quite tedious. The fastest way has been to use google vs data.gov to find particular data sets.

Edit: Just add '-site:data.gov' to your google search to help find the actual data set ;-)
EdSurge (Burlingame, CA), an edtech/news startup, just raised $1.5MM and is looking for a software engineer. Details: http://careers.edsurge.com/software-engineer/
If they are not children, why do we give them no say in the laws they are incarcerated for violating?
I can agree that the market is over-valuing coupons.com, but not with the overall emphasis on past profits in IPOs. "But they're losing money and hugely over-valued!" is a sentiment I hear a lot from traders and observers who deal in established companies, but it may or may not apply to IPOs and new companies.

Coupons.com has been around for a long time (1998), and if it hasn't figured out a way to be profitable in 15 years I don't think a cash infusion is going to help. I don't see any evidence of a new product or service or a new revenue stream. In fact I'd bet against coupons.com growing as users become weary (for the non-technical) and wary (places like HN) of additional browser addons.

COUP aside, sometimes it's wise to ignore profits in an IPO. Emerging markets, new technologies, and early-stage high-growth startups are good examples.

For example, Tesla lost over 55 million the year before its IPO.[1] Some said the shares were too high, but it paid off[2] for those who saw the potential. Musk pointed this out himself:

"A lot of people were puzzled about why we were going public without profits,” Musk told reporters outside the Nasdaq building in Times Square. “The reason we are not profitable today is because we are in the midst of expanding with the Model S."

New product, new market, growing company. Check. Proven management team with realistic expectations and a strong proof-of-concept? Check.

In Tesla's case it makes sense to ignore past losses and bet on the long play. While coupons.com could become profitable, I'll be shocked if the premium paid on this IPO pays off.

[1] http://www.wired.com/autopia/2010/06/tesla-ipo-raises-226-1-...
[2] https://www.google.com/finance?q=tesla
I think that is probably the solution. I've seen somewhat similar systems that tried to be more technically advanced than that, but they always made things worse. Just a straight-up camera-feed to the projector would work great though.

The advantage of these over overhead projectors would still be pretty small though (really only the being blinded and replacement bulbs issue), so you would need to ensure that the system is rock-solid reliable. If not, then you've just made it worse by making it more advanced.
There are some very good answers to that question. Related to that question, I still fail to see any advantage to using shared_ptr, weak_ptr, unique_ptr, auto_ptr, etc. If you are doing C++ right, nearly everything should be allocated on the stack, and the things that aren't should be encapsulated in a class, RAII style. If you can't design your program so that the ownership and lifetime of your objects are clear, then you're using the wrong language, and shared_ptr won't save you.
A+++ as described, arrived promptly, made Spotify sound better than my Linn Sondek LP12 with Troika cartridge and PWB modifications. Would buy again.
I really love writing libraries. Haskell has a type system that supports defining really solid abstractions (I.e. code that doesn't even permit wrong usage). Creating APIs like that is extremely satisfying. Maybe take a look on hackage and see if there's something missing that you'd like to see and make it.
If the person re-commits a crime, then the prison must re-pay the government back. Perhaps we can do away with mandatory sentencing as well! Let the prison decide when a person has paid their debt to society.
IDE vs Editor
> [a] -> a

> That takes a list (brackets denote a linked list) and returns a single item. There is a small list of things that this could be. It can't filter or order in any way, since there are no restrictions or functions provided, it can't aggregate for the same reason, that leaves either the first item or the last item.

Assuming that lists can be empty, it can't be the first item or last item either, as either of those (or the second, or third, etc.) would have to be [a] -> Maybe a

Haskell doesn't actually do this, but (while there may be pragmatic reasons to do this and yet have them work on a type that isn't constrained to non-empty lists), its kind of a failure in the logic of types, which makes head (and last, etc.) subject to crashing. But if you pretend that you can use type based logic and what is possible to guarantee based on the type signature to infer semantics of returned values, then you have to really follow the logic alone -- if you can start to accept that there could be unstated assumptions of the type Haskell actually makes, then you open up lots of other possibilities based on which specific unstated assumptions that aren't implicit in the types involved are made.
Well at least there's some innovation here. The cord is unidirectional. Let's see those cheap USB cables try to beat that.
Or the process of releasing those in need of treatment during the 80's. Its amazing how we're capable of so much as a society but can't get it together to help those most in need.

(Interesting piece from the time on how it came about that the mental hospitals started being emptied: http://www.nytimes.com/1984/10/30/science/how-release-of-men...)
It's a real problem, Thomas, particularly in headless VMs cloned from a freshly-installed image.

On these machines, reading /dev/random at boot time can hang indefinitely. Your "1 line in an rc script" will make the OS appear to be broken.

It's possible the problem can be ameliorated by a combination of approaches. Educating sysadmins is clearly important. I can imagine a userspace process monitoring /dev/random at boot time and screaming if someone tries to read from it and it blocks. (Though on a headless VM, "screaming" in such a way as to reliably be heard may be nontrivial.)

The point is, work needs to be done here, by a variety of people, including the distro publishers. Getting that to happen is going to take some advocacy.
The world's fastest plane was built before we landed on the moon. We're spoiled in tech by Moore's Law but the difficultly in making advances in commercial and military aviation is disappointing. In the 1970's everyone probably though NY to London in 2 hours was a given by now.

Here's a great book to read about the SR-71.

http://www.amazon.com/Skunk-Works-Personal-Memoir-Lockheed/d...
I am a lifelong liberal but I did work for a year as a correction officer on Riker's Island (a decade ago, at ARDC which is the jail discussed). The "box" was referred to by everyone as the "bing".

This isn't an AMA, but I will say that many like much of law enforcement, there is a discretionary aspect. That is, though inmates can be thrown in the bing for minor offences, almost all were there because of an accumulation of violent activities. In other words, they really were "bad guys" (once again a lot could have changed in a decade).

I would say a bigger problem were the "schools" that the inmates went to in the jail - they were among the most violent places on earth. The teachers obviously could not control the classes and there weren't enough COs to help enough either.

But for the most part things things self-leveled. Inmates had an assigned classification which tended to bunch them together. Kids who honestly were good kids, would usually wind up in a camp-like environments called the "sprungs". And bad kids would wind up with other bad kids, and wind up doing bad things.

Another thing about that jail, was it was about 50% adolescents and 50% adults. The adults were usually sentenced but waiting for a bed available in a state facility.
How many fake restaurants are on Seamless?
Not to diminish the content of the article in any way, but I couldn't help but be amused when I read the headline and thought "Oh god, stuck on a two dimensional plane, how horrible!"
I'll be honest, I'm kind of enjoying 'Aviation Week' here on HN. This is the kind of stuff that got me interested in math and science to begin with. Too bad my vision is so awful.
Ask HN community: suggestion on finding co-founder
I'm a founder of EaterIn.com, a site similar to Pinterest + Yelp for restaurants and eaters to find, share and review. My little project is under construction and probably, would be online pretty soon. Since I'm not a technical guy, I'd like to find one around Boston area. I'm still looking extensively to build a team and wonder if anyone interested, or anyone has any suggestion. I'm very opened-mind to all directions.

Thanks for read and best to all,

Vu
Those clauses seem contradictory. You have a very clear (and in my opinion on point) critique of what you're presenting us, but you don't have the inclination to write a blog post? You even wrote your own top-level comment providing some context. That would have made a sufficient blog post right there.

(A great blog post might have compared bad vs good cases, or provided some suggestions on improving, or even looked more broadly at whether this was an outlier of badly structured/provided data or just the norm)

The whole "Try (downloading|accessing) this..." strikes me as the same kind of title as Upworthy's "You'll never believe this..." in that it seems vaguely like link-baiting. I'm a little too curious not to click just to see what the dataset is about.
Wow, that is a great idea.

I wonder how such a thing could ever get started. Perhaps as an experiment in one of the smaller states?
The New Yorker actually wrote a wonderful article on solitary confinement that's a must-read for anybody who cares about the subject.

http://www.newyorker.com/reporting/2009/03/30/090330fa_fact_...
Difficult indeed. As they say "When a measure becomes a target, it ceases to be a good measure."

Still, we could do better than paying by prisoners housed. Perhaps prison profits should be based on the income of released inmates.
Sure. Call them minors, because legally they are - they don't have full rights. But when the term 'children' is used for mid- to late- teenagers, it's being used an an emotive term.

Perhaps the solution is the creation of a legal area of 'semi-responsibility'? That between young childhood and adulthood there is a period where you're considered responsible, but at a reduced rate. This concept is clearly already in place - for example in my state, you simply cannot try someone under the age of 10 for murder, so you get 'minors under 10', 'minors over 10', and 'adults' - but it appears to be an administrative hodge-podge managed differently for different laws. Perhaps making an interstitial 'semi-responsible' range more codified might assist when making laws?

I honestly don't know - IANAL, let alone one that deals with juvenile law.