skysight-inc/HackerNews huggingface dataset:
> But eating small amounts of silly putty isn't going to kill me

But choking on a wad of silly putty definitely can. Hence the fact that it's labeled as a choking hazard and not for young children.

I don't think the bar for "should be banned" is "small amounts are dangerous". A "small amount" of Scrabble can kill your kid, despite there being "no reason" to eat Scrabble tiles, but we don't ban it. Toy stores sell balloons and jacks and dice and all kinds of things that pose real dangers to kids.

> These magnet companies knew that teenagers were using the magnets for fake piercing jewellery.

Shrug? Car manufacturers know teens are racing cars and snowboard manufacturers know teens are riding down black diamonds with little skill and no helmets. Teens do stupid things and we don't ban entire categories of product to attempt to protect them from minor dangers.

> * they resisted putting warnings on the packs and resisted moving the product off toy shelves.*

Did they actually resist labeling them or just resist the ban? If they resisted labeling, that's pointless and dumb and it's perfectly reasonable that they be required to label clearly and appropriately.
The Lisp in the Machine a Clojure Experience Report from Braintree
I'm not sure I understand this use case. I'm on twitter, I see a tweet I'm interested in. I leave, come back, and then try to find that same tweet by browsing for it.

Wouldn't it be simpler to save the tweet the first time around or if not, since I know the tweet I'm looking for, search for it where I'd get the exact result?
Nice data analysis. Definitely a selection bias with respect to self-assessment - I am sure many are comparing to 'programmers' they know in the workplace who are not particularly strong and would seldom use a resource like S.O. (and consequently not respond to a survey like this).
Your point is true, but it's also likely that the model for a lot of these companies is to start with premium so they can focus on a profitable model and get the supply chain and execution worked out while there is still wiggle room, and then move down market. This is what Uber and Tesla did, and I wouldn't be surprised if that is the most fashionable approach these days.

There are probably plenty of exceptions, as well, like Dollar Shave Club.
To use your terminology, he is saying worse problem X was solved with less costly means that are considered effective and pointing out problem Y could have been solved with equal or lesser cost but was instead treated as if it was worse than problem X and solved at greater cost.
How Artificial Intelligence Will Redefine Management
Security headers are worthy of a different [1], lengthy conversation, but they were borne out of need to override defaults about a browser's security features.

Sometimes, for different features, those defaults are permissive, and sometimes they're restrictive, provided the browser supports that header -- and most of them were designed to be backward-compatible so that their truth tables are complicated.

But realistically, consider C-S-P as metadata about the resource representation about to be delivered in the body, instead of a property of the HTTP response itself. In fact, the naming of the header 'Content-[...]' is consistent with the semantics of RFC 7231 [2] which defines a number of different 'Content-[...]' headers, like 'Content-Type' and 'Content-Language'. You can mentally move C-S-P from the HTTP headers into a meta tag (you can do this actually [3]).

[1] https://hn.algolia.com/?query=niftich%20"damn%20header"&type...
[2] https://tools.ietf.org/html/rfc7231#section-3.1
[3] https://w3c.github.io/webappsec-csp/#meta-element
Here is the source: https://gist.github.com/mfikes/c531a4801a84e2c06af11588ce290...
There are many things your kids shouldn't eat. Like a bottle of bleach or my circular saw. We don't need to ban them all. That's really too silly.
Those statistics are meaningless without comparison.

How many children are hospitalized/die from swallowing coins or lego?

Do we need warning labels on coins?

How many kids are hospitalized/die from swallowing batteries? I'd bet it's a lot more than magnets, and batteries can be pretty lethal.
You say overworked, but I think underpaid is the more important aspect to consider for that class of teaching positions. The effort/compensation ratio is not incentivizing.
Yes and that's true of any marketable language.
"Because "live and let live" is an old and honored American tradition, and taking this out of the domain of the family, not being able to refuse to bake a gay wedding cake is the antithesis of that tradition."

The problem with that argument is that it means I can force Christians seeking employment to urinate on the Bible as a condition of that employment. So, the law as it stands prevents me from forcing Christians to denigrate themselves for a quick buck. Similarly, I can't deny Christians access to my services as a programmer. So why should a Christian baker be able to deny their services in kind?

Do you see the problem here? Basically, it would lead to an economic apartheid where the evangelical majority in the South can deny services to those who aren't them. These aren't just bakers either but medical doctors, EMTs, and police officers. Can you imagine a gay person dying from kidney cancer being told by the oncologist they're not going to treat them for their cancer until they repent? This has happened in the United States during the AIDS scare of the 80s. Hospices, hospitals, and individual medical staff refused to treat AIDS patients. Is that the kind of "tolerance" you want? Or do you want the law to say "keep your faith at home." Because even when I was an evangelical years ago I knew that the law was for my benefit too. If you think that a complex society like ours can live that way I'm just done with this conversation.

"They're not directly comparable, because it's your parents, then again, you hardly have to go so far as to desire to transition to be given the cold shoulder or anything but a mild rebuke over something else that differs that's fundamental in your nature and that's different between you and your parents (in my case it pertained to simply going to college)."

In college, you're not obliged to a conversation with your fellow students. If they're there to learn and it's not part of the credit requirement to debate you on a topic in the course then how about you take a hint and leave that person alone. I know that's mean of me but being that I went to college and grad school I found there was little time for chitchat and whenever there was any it wasn't about my gender identity. So, I guess I see college as something I didn't worry about challenging anything because my interest was getting a degree to get a good job and not to play faux activist. Because honestly, there's little virtue in trying to convince "the other side" of anything. I'd rather they just get their collective heads out of their butts and realize my humanity isn't conditional. If it's too hard for them to see me as human then well they're gonna have a bad time talking to me (as I might likely mock their dear Lord and Savior).
I had never seen this before. I'm excited to explore it, as I use webpack for all my projects anymore. Thanks you.
tl;dr :

- TouchBar appears to be denoted as Watch2,5 running watchOS 3.0-14Y36.

- TouchBar OS is stored on EFI partition.

- Setting date to 1.1.1970 triggers iOS date problem and makes mbpro unresponsive for some time.

- Deleting file(s) on EFI partition triggers critical software update.

- TouchBar iOS seems to 'activate' calling Apple servers.
> In this case, when they say LLVM is verified, they mean that they designed a formal correspondence between the (1) semantics of the LLVM virtual machine language and (2) the actual execution of the underlying CPU (in this case, modeled using actual assembly language).

I don't think that's accurate. Vellvm is verifying transformations of IR rather than executions on any given CPU.
Strong magnets are incredibly dangerous; about as dangerous as a table saw I'd say. You can know what you're doing but still get hurt. All it takes is one stray nail under the table to put a damper on your ability to grab a cup in the future.

I bought tiny neodymiums at a store once. They're about 3/4 the size of a dime. You have to pry them off the fridge, they can hang pictures on the wall if a nail is hiding behind, and I _have_ hurt myself with them before. It's easy, and happens before you can blink.
Some adults will let their children use power tools. They'll make sure there's the discussion about safety, they'll do a bit of supervision. They'll hopefully include safety glasses. Everyone knows a drill is dangerous. No-one just hands a hammer drill to a six year old and leaves them to it.

The regulator's point about the magnets is that the manufacturers didn't manage to stop them being sold in toy shops to children, and that even with the warnings parents were giving them to children as toys.

And, even compared to random bits of hardware store: if you swallow a nail you're probably going to be ok. If you swallow magnets you're probably going to need medical help.
> We've seen a continuation of invasive, Bush-era policies IRT the NSA under Obama...but now Trump is terrifying?

Uh, yeah. The Bush/Obama surveillance policies have largely been seen as dangerous not because of actual concrete harms that have materialized, but because if continued they raise the prospect of a much worse (because of the increased scope possible with modern tools) version of the kind of political targeting based on surveillance that was done by Nixon (prompting legal limits, notably the original FISA act.) And perhaps even beyond that, to the kind of retaliation for dissent seen in authoritarian regimes.

Trump is seen as the kind of figure that would be more likely than a more conventional candilate of either party to make those theoretical risks into concrete harms.
Getting all core functionality to work without JS is a huge effort. Getting an about link to show some text is pretty basic however.
I have nation states as part of my threat model so stealing keys enables passive and active monitoring vs popping a box and getting some limited subset of connections intercepted.
I've spent a lot of time in rural Wisconsin and Minnesota, and that particular usage of the word like is still common, even among younger individuals. My roommate in college was from a really small town in Minnesota, and he'd describe things as "All [adjective]-like". He used like in the other manners as well though.
To re-iterate what ManlyBread wrote above, the BS Detector tool uses a fixed list [1] of domains that are deemed to convey 'fake news'; there is no neural network / algorithm / heuristics being used in the tool. Just a blacklist with several categories, curated by humans.

For example:

{"url": "wikileaks.org", "type": "rumors"},

[1] https://github.com/selfagency/bs-detector/blob/master/chrome...
What's amusing to me is the amount of terribly unsafe code (that isn't C) that powers rockets, moon landers, and a variety of other safety-critical systems and yet isn't the subject of such persistent and severe criticisms. There's a reason C and C++ are targets. My (obviously controversial) opinion is it has at least as much to do with ego as a desire for safety.
Ironically the most obvious pivot for the company is anti-EV range anxiety-as-a-service where they'll do something like triple A specifically for EVs by rolling up in a truck with a 500 HP giant diesel generator and fast charge your EV anywhere in a service area, eliminating range anxiety.

Honestly you could probably run something like that without any capital expense at all by just collecting monthly premiums and advertising "$1000 if we can't charge your EV in an hour" and then never paying out due to fine print or paying out $1000 in service gift certificates. If you sell enough plans then you could consider maybe building the truck for real.

I wonder what a 500 HP generator at full battery charging blast sounds like in a residential neighborhood at 2am. Probably similar to a freight train. That alone might be entertaining.
Like for example speaking at a 4th grade level and having simple four word slogans?
Walmart greeters won't exist!
I agree that infinite scrolling is terrible, but pagination based on nothing more than the rank isn't great either. Why do I need to guess that names starting with a 'G' could be on page 12 (no 14, no 13)? Just paginate by the first one or two letters then. When doing so, you can benefit from database indices again while improving usability.
Well, considering your username, I'm sure you may end up in those Kafkaesque situations more than usual...

But, seriously: This nightmare is one of the stories we tell each other. But, for most companies, it's just not true.

I've started four or five companies. Mostly software, one that sells actual (government-certified organic) food, one that mostly worked for governments (including the defense sector). In all that time, I've never felt like regulation prevented me from doing anything. Once or twice, I had to submit some form that I thought was overkill. But in fact I doubt there was ever a year where I spend more than two or three days net on government bureaucracy.

I know that the situation may be different for construction or airplane startups (at least I hope it is). But this sort of hyperbole is just a lie that doesn't improve by repetition.

If anything, I've been surprised by how little regulation there sometimes is. Look at AirBnB or Uber or drones: Who would've though that you could (for a time) fly a model airplane in Heathrow's final approach corridor and only get a "we're looking into it and engaging in a dialog with all interested parties" as a reply?
> I'm curious to know how close it is to the book before I shell out the dough to see it in the theaters.

I think the movie did a very good job capturing the essence of the short story, but it's enough different that I think it's worth watching in its own right. It's not as special-effects dependent as your typical science fiction blockbuster, but I'm glad I saw it in the theater rather than waiting to watch it on video.
Tesla Model X P90D review: The best car money can buy
I have seen it done, so it's definitely possible, but haven't tried myself. My guess would be you probably need to know the native side on iOS/Android decently well for this, but I'm just speculating here.
I am commenting on the narrow selection that YC itself assembled.

I realize there are many YC companies missing from this list, and from the consumer goods and services industry in general. But if this [ahem] curated list leads to the kind of generalizations I made, the list itself may share some blame for that.

If appeals to "basic logic" and wait-for-the-pivot are YC's best shot at getting me excited about the 2016 YC Holiday Season as presented by YC, then by all means carry on.
Controversial Kenyan railway plan divides conservationists
> Buckyballs was never marketed to children,

The first warning label on Buckyballs said 13+. Anyone under 18 is a child.
Shouldn't it be British Army Knife?
Bullet Proof Car
I'm going to start saving up on bottle caps and water purifiers.
That's sort of what I meant by semi-direct speech. It conveys the sentiment rather than the words (like indirect speech), but it uses the tense and person markers that the original occurrence would have used (like direct speech).
About a 6. I enjoy writing code and troubleshooting but there is a ceiling on how much i can make doing this and I'm pretty close it. I'd rather go into sales or management so i can lead teams and make more money.
I recommend watching this video by Fast.ly on some real metrics comparing HTTP/2 and HTTP/1:

https://www.youtube.com/watch?v=0yzJAKknE_k

Overall, the performance gain is not as much (if any) compared to the hype we hear.
You can't really eat ingredients. It's not just distribution there is other labor, equipment, facilities, and resources involved.
> The exiling of Chris Christie from a position of responsibility in the transition team, and the termination of many (or all?) of his people on the transition team. That was very much a drain the swamp thing.

No, it was very much a personal score settling thing. If it was a drain the swamp thing, the people left behind after the purge wouldn't have been just as covered in muck as those purged.
> I am commenting on the narrow selection that YC itself assembled.

That's patently untrue. You commented on YC.
> Does a program which dereferences null do anything useful, all on its own? No.

Yes it does. It produces an exception, which contains a stack trace. I've actually used that, when I had a program that was reaching some code, and I couldn't figure out what the path it took to get there. It was easier to create an exception, catch it, and print the stack trace than to fire up a debugger and set a breakpoint.
> I suspect that for many who have tried, going from a web dev environment to a C oriented dev environment feels like a robust shock to the system.
> I'd also be willing to bet that there's an age bias at play here; C has been around, like, forever. It is certainly not the new hotness. Most (not all) people that I know who enjoy it and are proficient at it, are 40 or older.

As someone who went the "other direction" (Java -> Ruby -> Javascript) I can say that a lot of it has to do with the accessibility of the ecosystem rather than the language itself. This could absolutely just be my filter bubble, but I've noticed that the communities surrounding Ruby, Python, and Javascript seem to go above and beyond the call of duty when it comes to making libraries easy to use, documenting those libraries, building and refining the tools, and so on.

I know there are good tools out there for C development. I know there are good learning materials. I know there are communities out there dedicated to writing good C code (Shout-out to /r/c_programming on Reddit. Love those folks.) But I can't sort out the signal from the noise, because there isn't a lot of discussion about C programming happening in the online spaces I'm familiar with. As a counterexample, there was a _fantastic_ article on here the other day about "writing your own syscall" in Linux. Yes, it contains a lot of hand-holding and overexplanation, but that's useful for me because I haven't built up the mental model to parse a more terse explanation.

In fact, I think this is how having "the new hotness" change every couple years has been helpful _in some respects_- there's an incentive for lots of people to write blog posts, tutorials, and articles about how to properly use the latest and greatest tech, there's active development going on as people forward-port functionality (and therefore plenty of opportunity for devs to make meaningful contributions and have meaningful discussion about "how to write code using this language/library/framework"). For a short period, both the "old hands" and the newbies are in the same boat, and this is unbelievably useful for training up the next generation of developers.

> Me personally - I love it all. C, C++, Java, Python, Javascript, Rust, Haskell, Scheme, etc. Making computers do things for you, and for other people, by writing detailed instructions is quite possibly one of the funnest things in the world. Double bonus for getting paid to do it!

Same here, friend. :) For what it's worth, I wish there were more of this attitude floating around the Internet.
And this is because the experience for users is no longer in the software. Whether I use Firefox or IE matters little when what I actually want is Google Maps and the massive amount of information it provides me. The FSF needs to shift from free software to focusing on "free (as in freedom) service". Cloud services that respect your freedom and privacy.

I don't know how that world would look, but I suspect it will involve heavy government regulation of things like data protection processes and data usage restrictions.
Really? I read the documentation for file I/O directly out of the Rust online docs and put together a complete serialization module for a project I'm working on. It was actually quite straightforward.
Out of curiosity, did you read those case studies? In the two listed, the children swallowed a single magnet, which is actually not particularly dangerous. More problematic were the button batteries these children also swallowed. Do we ban button batteries also?

Also, is there much evidence of teens actually doing this and accidentally swallowing them? I have no doubt that teens are playing with the magnets in stupid ways, but how many teens have swallowed magnets this way and had complications? The CPSC claims its happening but provides no breakout stats for this.

http://onsafety.cpsc.gov/blog/2011/11/10/magnet-dangers/

Also also, I have serious doubts about the accuracy of the claims the CPSC is making. On the page I linked, they clam "22 reports of magnet incidents involving children between the ages of 18 months and 15 years old since June 2009" through Nov 2011 and provide a yearly breakout of all those reports. In the press release poison.org cites, they claim "CPSC staff estimates that small, high powered magnet sets were associated with 1,700 emergency room-treated injuries between 2009 and 2011." So they estimate two orders of magnitude higher than they actually have reports for?

https://www.cpsc.gov/Newsroom/News-Releases/2012/CPSC-Starts...
Sorry, I don't see anywhere in their comment where they talk about the cost or efficacy of solving any problems. They mention other problems that have regulations, but not whether they are effective or cost-efficient.
Millisecond conversion utility for golang
A Guide to White House North
You are right, perhaps my original post was unclear. The goal is to verify the transformation between LLVM and low-level assembly. I embellished slightly by equating the semantics of low-level assembly with CPU executions.
Tell a Better Story
Young Syrian face of siege in Aleppo shares 'last message' on Twitter
Netflix inks $60M deal with Dave Chappelle to challenge HBO
I think the most important gain is that client requests can fit in fewer packets -> fewer RTTs (critical on poor networks) -> lower latency to first paint -> better UX.
Where were you in 2002 (when Mozilla 1.0 came out, four years after mozilla.org was founded, two years before Firefox 1.0)? The conventional wisdom then was the same as the comment up two from yours in this thread -- that we had zero chance against IE, which had monopolized the browser market. No one had ever beaten Microsoft then in any market it had taken over.

It would help if you were on the record way back then, as opposed to now, about how good our odds were. Because everyone from VCs to bigcos (IBM, Sun) to many of our own people saw very long odds against us retaking any browser market share, let alone enough to restart browser competition.

Lots of people leave comments years later about how stuff I did was easy. I expect the same will go for Brave's success. I'll do my best to make history repeat.
The focus of this particular project is to verify transformations that work on the LLVM intermediate language. So there is only one interpreter, for the LLVM assembly. This could be used e.g. to prove the correctness of compiler optimization passes.

Of course, the same LLVM semantics could also be used if someone wanted to verify a compiler backend that generates low-level assembly (similar to what CompCert does), but I haven't heard if anyone has any concrete plans to do that. Rather than verifying a complete a new back-end, it would probably be quicker to write verified translations between the CompCert intermediate language and LLVM, and slot in the Vellvm verified transformations as an extra pass in CompCert.