skysight-inc/HackerNews huggingface dataset:
Here's a recording of the oral arguments for the US Court of Appeals, Third Circuit back in September: http://www2.ca3.uscourts.gov/oralargument/audio/15-3537USAv....

The gov's argument seems to be that because the defendant doesn't have to give the government the password but rather produce the decrypted hard drives, his actions aren't protected under the fifth. Analogy drawn with unlocking a safe.

EFF counter-argument to the safe analogy is that the encrypted documents do not simultaneously exist in a decrypted form protected by an obstacle, like a safe, but rather are produced as an act of translating the data from decrypted to unencrypted form; the government already has the data on the drives, they just can't understand it without the contents of the defendant's mind.

Justices then press the gov lawyer on whether there are fourth amendment issues in the case, as in whether the government can search all files on the hard drive, if decrypted, for evidence of criminality beyond the specific files they seek. Gov lawyer punts on the issue.

Basically it seems like a steep hill for proponents of encryption. The justices talk about how we're heading for a world where almost everything is encrypted, and encryption proponents are asking the government to give up an enormous amount of power.
Thread-local singletons in C
Karoly does lovely work! :)
Nope. If this becomes widespread precedent, encryption is no longer viable in the US.
I'd suggest Yocto is the de facto standard for this kind of embedded device. It's a bit complex behind the scenes but general building and updating packages is fairly straightforward.

Bringing up the edison is very easy. The bootloader supports DFU, so you can simply connect USB, reset, and flash the system images.

If you're coming at it from a higher level, it has a node.js and ssh services running by default, so it's easy to start tinkering.
What I was suggesting is that machine learning could make the hand-drawn style viable again from a productivity standpoint.

Modern digital techniques aren't without their drawbacks, hence why hand-drawn is often viewed as superior. A machine learning workflow augmenting hand-drawn might be the best of both worlds.
Can anyone think of an attack this would prevent? Anything a pad (or even a laptop) could do could be done by a phone, at least hackingwise or whatever. So something with the physical aspect. A jammer of some sort? A way to intentionally explode batteries in a harmful way?
This case is interesting. If I'm reading https://en.m.wikipedia.org/wiki/United_States_v._Hubbell correctly, the fifth amendment only applies if "they don't know what they're looking for." In this case, because there is (enough) evidence of CP on his computer, they are subpoenaing him to produce the unencrypted drives. In some sense, they're not asking for a password - they're asking for the drive contents, which they know to at least partially be illegal. IANAL though.

Assuming that interpretation of the 5th is correct, subpoenas can easily be used to access encrypted information. I just hope the judges that decide when to grant subpoenas know where that line is.
I'm not sure why they would, considering:

> Structure and Interpretation of Computer Programs by Harold Abelson and Gerald Jay Sussman with Julie Sussman is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License by the MIT Press. [1]

That's not an "ND" (no derivative works) license, and this version also says it's licensed under CC-BY-SA 4.0 International, which should cover the "ShareAlike" part.

[1] https://mitpress.mit.edu/sicp/
Which Responsive Design Framework Is Best? Of Course, It Depends
As an example of p2p, when a user attempts todownload the song “In the AirTonight,” Gnutella will notlook at filenames, but rather, for other computers sharingthat file based upon its SHA-1 hash value. If,“In the AirTonight” is being shared by multiple users then it is possible for the Gnutella network to obtain parts of the filefrom several users; instead of the user downloading theentire song from one computer, he or she will get a smallpiece from several different users sharing the same file.This allows a computer to simultaneously download different portions of the song, making the entire downloadprocess faster and more reliable.
Sometimes you are just extra proud of a commit and the commit message
It's going to put laptops in the baggage where they can be pulled out and their data dumped for dragnet surveillance.
He's be no means a hero to me, but you do raise interesting points.

I'm really not sure if Rockefeller gave more than he took. That's a tough question to answer. Is a world without Standard Oil, but also without his incredibly vast and important array of philanthropic works a better one? I don't think I can make this argument. Many aspects of modern medicine, public sanitation, public health, and public education are all in debt to his charitable work. Did those not improve the world more than his anti-competitive business practices hurt it?
Why Google Analytics Has Not Killed Adobe Analytics (Yet)
$20 could buy you a lot of honest opinions on Mechanical Turk. I've been considering this route lately. I believe it even lets you solicit work from people based on specific demographic data.
I suspect it's more about expanding the envelope of nation specific bans - the devices being a convenient pretense.
I always found it interesting that WinNT got this one right very early on (IOCP; first appeared in NT 3.5 in 1994), and thus avoided all these problems, and a series of subsequent APIs trying to correct them. The way you do efficient asynchronous I/O in Win32 today is still the same as it was 20 years ago.

For those unfamiliar with that model, here's a brief description:
https://web.archive.org/web/20101101112358/http://doc.sch130...

My understanding is that kqueue in FreeBSD is also conceptually similar, but I never had a chance to take a close look at that.
[duplicate comment, admins merged two stories]
If you're launching a startup and you can't approach and talk to someone you're going to have a hard time running a business.
Or just their ass. People can fit amazingly large things in their ass and it would bypass all airport detection. There is no real security with such big loopholes.
Even Fortran added some support for generic programming in 2003, and functional programming before that. It's all about how general purpose you plan on being...
I've seen it quite a few times.

Someone answers their cell phone mid-flight - BOOM! Down goes the plane, steep descent, passengers screaming, masks drop from the ceiling, until that phone call ends and the plane straightens up.

Blanket ban on electronics is the only way to stop this happening.

One time I was flying and someone had forgotten to turn off their phone until the plane was in the air and it interfered with the navigation systems and we landed in London instead of Paris. Very ocnfuisng.
Flying to the moon as a tourist
1) Any statically typed language nowadays is comparable with C++ in terms of speed, unless you fuck up the implementation really badly.

2) This is a complete non-issue -- with Google infrastructure, it's enough to not be significantly slower than C++, which is really a low bar.

3) Go is definitely easier to use than C++, I agree. That said, it also has enough of idiosyncrasies to make it familiar mostly to people used to writing Plan 9 C, starting from "nil" instead of "null", and ending with "dial" instead of "connect".

4) I never noticed how it is any easier to do it than in, say, Java. Most of the large Go programs I've seen tend to leak goroutines, for one thing.

5) Maybe it was designed for these, though I don't quite see the way it's better suited for network applications than, say, Java.

6) It's also a total non-issue at Google.

I have a year of experience writing Go tooling and network applications at Google, and it definitely wasn't enough for me to see the light. The rest of my team had quite similar experience (except of one guy who was a Go fan already before joining the company), and we would often make fun of Go's inconsistencies, idiosyncrasies, and the whole NIH approach of the language authors and maintainers.

Go is not bad language, it would have been great if it was 1989, and your only serious alternative was writing ANSI C. Unfortunately, it's been almost two decades since the 80s, and we figured out some things in the meantime. We now know how to do generics correctly, for one thing, and we already understood that null pointers have been a billion dollar mistake. The worst sin of Go though is that in the true "worse is better" spirit of Unix, it filled a gap for a better C++ by being only marginally better, taking away space for other, actually better contenders that don't happen have a billion dollar company backing them.
> I also strongly disagree with the suggestion that you should ignore the form of your code. Code is read many, many times more than it is written, so improvements to your own and your teammates' understanding can pay huge dividends.

While he explicitly said to ignore fluffs, he followed it up with `Another way to say this is "use your time wisely"`. So I interpreted it as to just not spend too much time on fluffs, rather than completely ignoring it (like code styles as you mentioned). He created Prettier, so I'm sure he knows the value of code styling.
Can this country afford to have a president under investigation by the FBI?
A while ago I wrote a Brainfuck interpreter in lambda calculus. I abused the Clojure macro system to make my job a little easier, and of course, I wrapped it in an interface that could do IO, but this does compile to a single pure lambda calculus function which takes a (church encoded) brainfuck program and input string and returns an output string.

https://github.com/MichaelBlume/lambdafuck/blob/master/src/l...
Ah, that makes perfect sense. Since they could log into his Mac, looking at the Bittorrent metadata would be trivial (apparently he didn't clear history, or at least do so securely), and some clients would indicate not only the downloaded file, but where it was saved to locally.
I have no evidence to support this, but one possibility is that they'd like the opportunity to study those devices without the owners' awareness. It sounds a little tinfoil hat, but in the absence of a better explanation (aside from really poor security theater) it starts to look plausible.
What I found interesting:

>Zapier has no office and all of its employees work remotely anyway, adding, “Even [the] founders don't work from the same place. All three men work from home.”

Makes sense financially for them. If you don't live in the Bay Area, they can pay you less and still offer a competitive salary.
I don't think negative SEO works anymore. Google devalues the inbound links, but doesn't penalize the target site. In the case of Rap Genius I think they made a change specifically for them that punished their bad behavior. I stepped out of an SEO project about 18 months ago so my info is probably dated. Google makes several updates a year.
So the reason this article is on hackernews, is because some kid said he wanted to hurt someone else? That is the newsworthy bit? I can think of a dozen possible arguments justifying this articles relevancy to this community, and they are all laughable. Which one do you prefer? What makes this specific example of said argument more relevant than the thousands of comparable examples to said argument, to hn? I'm curious.

The only reasonable one I can come up with off-hand, is that there should be a browser plugin or video driver plugin that somehow limits refresh rate, detects risky patterns, or prevents media from autoplaying. Seems like the real travesty is that someone raised a child with this condition, in this world, with no fear, and no motivation to protect their life, while providing the child without any direction or insight into the many existing tools that could be installed for free in minutes, for their safety. Also, the child's doctors/health system in general.

Edit: No I didn't see that, only briefly skimmed the article, my comment (of facetious length), was triggered by the comments near the top when I posted. I would have posted the same thing, minus the bit you quoted, had I not overlooked that fact. Also I listed a plethora of reasons that the existence of this case is ridiculous. Had the perp been harder to find, used obfuscation, or hadn't immediately produced the confession, any random kid could effect potentially MASSIVE costs on the justice and police departments.
I'd definitely like to start a biz, but to start a business you need to fill a need in the market. Where else to get ideas but working for someone else? Oppsdaily is good source, although it'd be nice to find more sources of need. There'd probably be more indies if that was the case.
Observables Proposal for ECMAScript
This wouldn't have anything to do with a certain congressional hearing going on today?
Bollocks. That's one thing the millimeter scan will pick up just fine.
It is amazing that anything produced would be admissible.

I don't see how this is different than having circumstantial evidence that someone is a murderer, so ordering them to lead you to where they buried the body.
Responding to your last two paragraphs...

James's suggestions about ignoring code form, DRY, etc resonate with me because I'm someone who is usually inclined to spend too much time on those things. I consciously try to reduce the effort I put into those things and instead focus on trying to get the code to actually do something!
On the third failed try, it should re-encrypt the drive with a random key.
I'm not sure if you're joking or not... Regardless, the ban does not affect cell phones.
The article makes passing reference at the end, but isn't forcing these devices to be in checked bags actually more dangerous than some vague terrorist threat? While still relatively rare, it seems that Li-ion batteries catching fire in the cargo hold is still a bit more risky than the likelihood of what they're trying to address happening.

(I suspect they are acting on some more credible intelligence in this matter, but clearly not so specific that they can target their actions and have to come up with something that itself poses a risk.)
I'm guessing you forgot the /s tag.
The crack/opiate empathy difference isn't about race. The opiate users mostly got addicted under the care of a doctor. Doctors don't normally prescribe anything like crack.

So there is a sense that crack users sought reckless fun, while opiate users were just trying to get medical treatment.
Aw, thanks!
Sure, why not? My father was a nurse, and I remember his graduating class photo, out of 40 something nurses, he was one of two men.
But perhaps they are useful for understanding and exploring how things work? As this article was clearly attempting to do.
>Plus, can confirm that the ME airlines are highly competitive

Very, they are subsidized by their governments.

http://www.economist.com/blogs/gulliver/2015/03/airline-subs...
As much as I enjoy a good conspiracy theory, there's just not enough time for that, with the timing as tight as it is. A particular target with a focused scan, sure. Mass surveillance dragnet? No way. Not unless the NSACIAFBI have a way of dumping a hard drive without turning on the machine at speeds faster than a disk can even dump itself.

(Try pouring out your​ biggest spinning rust drive out over any port that can keep up with the drive. It takes hours nowadays. SSDs can bottleneck at the port instead of the drive, but you can't count on your target having one yet, nor can you count on the fastest ports being available. And we're certainly not going to mass-disassemble laptops to dump their drives.)
Ask HN: How do you imagine becoming AI-human hybrid
Wool gathering:

How do imagine AI-Human hybrid will be created? I was thinking that the only way for AI to not be hostile to human beings is if our biological selves act as some kind of host to a distributed AI 'consciousness'.

Another way is for us to abandon our physical selves and merge with AI..I don't know..on the cloud? (Doh)

No possiblity is too trippy. Let there by no poverty of imagination. Unleashed thoughts, please?
One can know the hash of the file without having it - i.e. if one got the hash as an ID from the file exchange network, and LEOs have the logs suggesting that has was used to download these files - but they don't have the files themselves.
That's incredibly evil, but I'm sad to say that after some thought I believe you. It's hard to think of another reason why the ban would be given as a list of specific airports —
and it just so happens that American carriers don't fly direct to any of the specified cities. (AA sells flights to a few but they are all codeshares, thanks JamilD for correcting my previous statement.)

(Plus, can confirm that the ME airlines are highly competitive. They're subsidized by their governments: http://www.economist.com/blogs/gulliver/2015/03/airline-subs... (thanks hueving)).
This is what https://www.usertesting.com/ is for.
If they "know" that you have something illegal, yes.
Matt Cutts... Wow a blast from the past. Polarizing figure. Yes, he's gone along with any public explanation for SEO changes and guidance.
I preface this by saying I really like using go.

> The only thing stopping them from implementing Generics is the inherent (purely technical) difficulty in providing it in a correct, performant, and type-safe manner.

I initially accepted this, and found the "we don't want to build the wrong thing" explanation reasonable. Some years down the road however that's looking a bit threadbare. I've also read enough conversation threads that it's become very clear a couple of the key decision makers are simply resistant to the idea of consulting with the PLT community for a good design.

I'm happy to wait to Go 2.0 for generics, however, if they yet again recycle this "gosh, it's hard, we just don't know how" I will not be satisfied. There are people walking this planet who know how: ask them.
> and in the time that you spend wavering on which parser generator to use, you could have most of your parser done.

Maybe, but if you want all of the features mentioned above (incremental parsing etc.), then writing a parser becomes much more complicated.
It's not logistic, that's a specific kind of function.
This is how they implement the Muslim ban. Piece by piece, bit by bit, they make it utterly infuriating for any Muslim person to travel to the US. Next they'll ban absolutely all liquids, or something.
Happy New Year! May we all enjoy a New Year ahead filled with growth and fulfillment through Wisdom, Peace, Love, Joy.

Eide shoma mobarak!~
This raises an interesting idea: why not create two passwords for encrypted drives, one password decrypt the drive, another password completely wipes the drive. This way if someone is forced to give a password to decrypt something, that password renders the data moot.

Thoughts?
Why is the ban targeting only these specific airlines? Are they so confident that a potential perpetrator couldn't fly in on Delta through Paris?
> So the reason this article is on hackernews, is because some kid said he wanted to hurt someone else?

No, it's because he actually did.
Patterning Problems Pile Up-Edge placement error is top issue at advanced nodes
Based on your description, I don't see where the "$20" comes in. Are you buying people coffee for their opinions?

Sorry to be negative, but spending more money on a scientific survey would give you believable data to work with. This sounds like a waste of both time and money.
Oddly, that's exactly how I feel about profiling of people from the Middle East.
Maybe not the KSA, but Dubai for example is a key connection for travelers from Asia.
The supreme court is unelected, and are the supreme authority in this nation, above president and congress. the solution is simple - make the supreme court stand up to elections.

America has had atrocious decisions from the supreme court. In Dred Scott, they said black people have no rights because they are black. In Roe v Wade, the abortion laws of 47 states were struck down by 5 oligarchs. No matter what you believe about black people or abortion, it isn't right that 5 unelected people should determine the fate of a nation, able to overrule every state and federal law with no consequences.
Android dagger Tutorial 1
My company is Pacific Medical Training and we do CPR training. This is an extremely competitive space with many losers. I saw one competitor at a conference and quickly figured out that the people at the booth did NOT work for the company and basically knew nothing (and they had vista print business cards).

Their SEO strategy included buying the Drupal plugin that adds Facebook/Twitter links to your page. Then they pushed an update that includes invisible text "BUY YOUR ACLS WITH US" and a link to their homepage. Google immediately ranked them first and they stayed for 3 weeks. Then they got blacklisted.

I purchased email-outreach linkbuilding from a company whose name rhymes with Winter-mitt harkening binges. Complete scam, and they sold us links and then sold the same links to our competitor. I actually have their client list and know that they are doing this to other companies.

END RESULT. Internet marketing is very important to our company so I decided to bring this function in-house. Last year we created 500+ high-quality inbound links. So hang in there kid, keep doing it the right way and things will work out.
Rust is a great thing, and by reducing the number of faults that need to be searched for, it would actually help this kind of AI do its thing, here, too. But Rust doesn't prevent every problem, and sometimes ya gotta go unsafe in Rust, at which point it would be nice to have a quick check on that code. So I think these are independent endeavors; both very worthy.
Here's mine: destruction of evidence is a crime.

Probably not the best idea.

Hiding the partition or otherwise making the encrypted data hidden is probably your only bet.
That's a waste of time and $20. You validate your startup idea by trying to sell it and seeing if someone actually sends you money.

Sometimes people will give you positive feedback and blow smoke up your ass saying it's a great idea, but the real test is if you asked them for $XX right now for the thing, would they give you the money?
Aaron Patzer used a similar approach for Mint, but asked people what they thought of what eventually became "bank level security" on his website. I think that's a better approach for the random stranger feedback.

If you want to know if there's demand for your startup, you could simply build a website and pitch it to people, however, you won't truly know if there's demand until you build something that provides value and ask people for money. (Just like DoorDash & Flexport did) Even then you'll face distribution problems but that's another story :)
New job board for remote opportunities
Show HN: Parametrized recursive descent parser in JS
I wrote an abstract recursive descent parser in JS which accepts an array of terminal (in regexp form, or as a list of string literals) and a list of non-terminal definitions and returns the function that will parse the text.

The parser "generator" has just 125 lines of code and it is an extremely lightweight solution to quickly produce purpose made languages in the browser without need for any tooling.

Together with `` template strings to write your custom made language code in, it makes for a lot of fun in JS. :D

Someone asked for the code in the recent thread about parsers. You need to search for it a bit though. CTRL+U :)

https://megous.com/dl/parser/tests/index.html
Jeff Bezos looks a little too happy piloting a giant mechanical robot
Those that are complaining about this article: Care to share the experiences that made you a better programmer? Can you link to blog posts yourself or others made that we may find useful?