skysight-inc/HackerNews huggingface dataset:
Our justice system, by and large, rests not on proving the truth or not, but on a (idealistically) rational group of peers deciding both on the probability that a crime occurred and the justification/reasoning of both the crime itself and the law criminalizing it. Beyond that, it rests on a legal system (police, courts, etc) that, by and large, also act on notions of reasonability and discretion to bring forth evidence that will inform a jury's decision. As we have seen in many high-profile examples, the system is imperfect - it is human, and in many prominent cases (from exoneration of lynchers in the 1930s to indefinite detention today) it fails in disturbing ways. It is because of intentional vagueness that these failures arise, but it is also by this vagueness that unique exceptions arise. In this case, I don't think that the decision necessarily sets precedent for all of us with hard drives for which we have forgotten the password. I don't necessarily agree with the indefinite detention (although I do not claim to know the scope of other investigations that might rely on the evidence on those drives), but I think the circumstances are positioned such that this decision is an exception to our system rather than the beginning of a slippery slope. Of course i might be wrong, but I wouldn't decry the end of privacy just yet.
Sadasd
sadasdasddas
It's not bizarre at all. "To be a witness against himself" is not metaphorical or ye olde English. It literally means what it says--the government can't force someone to testify against himself (i.e. to provide a confession). If the Founders had meant to say that the government can't compel someone to cooperate in an investigation at all, they would have said that.
Can you refuse a search warrant? My understanding (albeit limited) is that you can't, if it's been signed by the proper legal authority. Is refusing to unlock the HDD the same as refusing to unlock a room, when presented with a lawful warrant? I would think so.
The Caterpillar version: [1]

[1] https://www.youtube.com/watch?v=eS9D1VqBcmI
I don't understand what a fail-deadly drive would look like. Can you give an example?
> In 2016, the United airplane I was in still did not have a seatback screen

This just depends which plane you get. They all have new and old planes, you can get unlucky on any airline.
"Could it be that the lifespan of a appliance is shortened because it his to be more energy-efficient?"

No. It's designed to fail as the article shows. Many components are like this by implication where they're designed for everything but quality and longevity. Things that reduce those two. There could be some extra effect on the two traits due to energy efficiency. The overall problem is there by design. It's also very profitable. ;)
Tesla Firmware Upgrade Tracker
The Biggest Difference Between Coding Today and When I Started in the 80’s
Great idea. I often remember to practice simple driving mindfulness when i drive my car to work. Other than that I just need to find the discipline to go to bed early and wake up early to practice.
"I'm toying with the idea that tears are the direct result of excess CSF pressure (i.e. a way to vent that)," Don't, it's not. Why don't you thing 1) high CSF pressure is mood altering/predisposing to tear activity 2) high CSF may be the result of an underlying cause also express in lactrimal gland activity? Those are simpler explanations, and not false, like the lacrimal duct/CSF hypothesis. As for valproic acid, you are letting the tail wag the dog (the point of the article was to suggest diagnostic technique, and the drug was present in all tested fluids... the burden of proof would be on your to say why concentration in tears would not correlate well with serum levels, which also correlated as well with csf levels).

The only things I could find about migraines and dry eyes were positively correlated, but not strong, and not enough to be causative. Can you share more sources? Also, most source indicates IIH can be comorbid with migraines, but is unrelated, curious if you have sources to share on that, too.
Yep JP edition for me. More thumb keys are very useful.
A Gameboy Emulator for the Apple Watch
The Court's opinion explicitly addresses that (at 18-19). It first recognizes that impossibility of compliance is a defense to a contempt charge. But it then explains why the trial judge reasonably did not buy that argument:

> At the contempt hearing, the Government presented several witnesses to support its prima facie case of contempt. Doe’s sister testified to the fact that, while in her presence, Doe accessed child pornography files on his Mac Pro computer by means of entering passwords from memory. Further, a detective who executed the original search warrant stated that Doe did not provide his password at the time because he wanted to prevent the police from accessing his computer. Doe never asserted an inability to remember the passwords at that time.
What self-truths are bodybuilders hiding under all that muscle?
Quixey's tech could do it without the "if you want and let them do it" part .. by which I don't mean permissions, but that no special arrangements need to be made by the apps.

It is analogous to how google crawls websites with Javascript .. which are essentially applications that need to be "run" before you can get to their content.
Well I guess I misread your comment, then. I had assumed your code sample for a type-unsafe implementation of Map, followed by the smiley, was a recognition of the major lacking on Go, not just of generics but of the ability to operate on collections. I read burke's comment as suggesting a privileged collections library that doesn't go all the way to user-space generics, but perhaps I misread that, too.

I would strongly disagree with the definition of "simple" that you seem to be using. I don't think it's important for a language designed for software professionals to have only features that are easy for high schoolers to understand. It's far more important that experienced developers be able to write a common idiom like map with as little cognitive overhead as possible, that's the meaning of simple that I find valuable in this context.
Asserts it, yes - but my last sentence still applies. We don't have a fine-grained understanding of gravity; we'd need it for such a deduction. As it happens, I don't think we've ruled out that gravity itself - not just waves - slowly decays orbits. I rather expect this to be so, in fact, but on the basis of an eccentric theory of gravity.
Yeah, if you try to _literally kill someone over the internet_ and you think any lawful company is going to fight a warrant for your data, you've got another thing coming.
One of the reasons it lives on is because it does represent what very quickly turned out to be a design mistake in the PC architecture - sticking 'reserved' memory at the top of a 20 bit address space. If it hadn't been for that, nobody would have ever had to opine whether 640k is or isn't enough, they'd have just added more memory and moved on.
I referred to the original comnent that just took it fir granted that calorie burning is an advantage.
Does Turkish Airlines have airplanes in their fleet without seatback screens? Do these planes fly international routes?
A few notes:

1. memcmp is in <string.h>

2. char is not the same as unsigned char

3. Compilers like to remove loops. Notice how there are no labels, and no branches, in main here: https://godbolt.org/g/DCTBb7 .

4. There are benchmarks of various methods: http://0x80.pl/articles/simd-strfind.html .
Yes it's odd - even re relatively small losses. It's almost as though we're buying excess predictability, not being emotionally disturbed by losses we can absorb more easily than the premiums, often; but we aren't emotional about paying them.
Absolutely Psychic Network
it's not similar at all. No one can prove that an encrypted drive is an encrypted drive and not a random number. whereas a safe is plainly a safe.
I wrote an essay[0] about a non-trivial example I did at my company. We had to work with several finicky APIs and the TLA+ spec caught several critical bugs with it. Plus, it's purely a business logic system, so it's pretty concrete.

If you're interested in learning more, I also wrote a beginner's guide[1] to the language, which contains concrete examples and exercises.

[0] https://medium.com/espark-engineering-blog/formal-methods-in...

[1] https://learntla.com/introduction/
18 months later, though, it is completely plausible that he really has forgot. I don't think I would remember a complex password that I haven't used for 18 months. Hell, I sometimes have to reset simple passwords that I created last month. If you don't use knowledge, you forget it.
POSIX does not require EOF to be returned from a blocking read() if the same file descriptor is passed to close() in another thread. Even if it appears to work on some particular OS, consider the case where the reading thread may have called read() but is preempted just before entering the kernel. If another thread then closes the file descriptor, expecting the first thread to see EBADF or EOF, but then the file descriptor is reused (e.g. by accept()) before the first thread resumes, the reading thread may block reading from an unrelated socket. Even if you can guarantee that accept(), open(), or other calls that explicitly allocate a file descriptor will not be called, ordinary library functions are generally allowed to use file descriptors internally (e.g. to read a configuration file), so closing the file descriptor while another thread is reading from it is almost certainly a bug.
Open a subsidiary in a country with no-nonsence tax law, (i.e. Singapore.) Bill/pay from it.
www.smbc-comics.com
Yea, I haven't finished anything, but at various times I've played around with animation. He was using full-frame ( AKA animating the entire frame instead of just the moving pieces) for a ton of shots where its not only unnecessary, but also detrimental to image quality. For example, the bookshelf looked all fuzzy/shaky. If he just drew a single frame and cloned it enough for several seconds, the shakiness would disappear.

That being said, overall I enjoyed the short film. He's got a lot of talent and dedication.
The existence of the child porn might be a forgone conclusion, but there is a lot of other stuff on the hard drive. And that other stuff is not a forgone conclusion. So by decrypting the hard drive, he would be giving them information that is not a forgone conclusion.
I love your use of the cooking metaphor here. Are you expanding on Uncle Bob's discussion of it in The Clean Coder or was that just a coincidence? If I remember correctly, he uses it there to describe the difference between delivering quickly once (and making a mess in the kitchen) and reliably producing over the long term (by taking a little extra time to clean as you go). Adding the spin about the learning process really (forgive me) sweetens it.
Arianna Huffington: Sexism isn't a 'systemic problem' at Uber
From what I hear at work at least some NGOs create lots of problems in other ways as well.
2017 Hackaday Prize Begins Right Now – Hackaday
I use a roll-yer-own test framework that (I believe) strikes the perfect balance between setup costs, simplicity and flexibility. It's a small utility that just looks through a given directory tree, finds folders called */test, compiles and runs each .cpp file in that folder (taking cues from formatted comments inside the file if additional files are required), and compares the output to a stored 'good' output for that file, flagging an error if the files differ.

When developing code, you'll almost always end up writing some ad-hoc testing code anyway: Generate some input data, call the code you're testing, printf() some results. At development time, you read this output to verify your code's working well. My system just makes this a bit more methodical and saves a 'known good' result - if the output changes then the code may be wrong. Once you've fixed the issue (or determined that the new behaviour is in fact correct) you update the known-good output.

Dead simple, basically maintains itself, still catches any problems that the tests would catch.
They already confiscate devices. I'm not sure that there is much to be gained by banning phones. The absence of a report coupled with the publicly available info of landing is probably enough to signal trouble.
In most of the airports (if not all) that I have been lately, there are water refilling stations, usually close to the restrooms or after you pass through the security checkpoint.
I usually pass security with my plastic bottle empty, and then refill it with those machines.
>The guy was wearing basically a hand-cast to let him draw through the injury he was inflicting to himself with that workload.

This isn't dedication, its stupidity. I have chronic shoulder pain from a repetitive stress injury and I wish I had as many warning signs as this guy did. I probably wouldn't have spent the last 17 years in constant pain.

I did think the end result was excellent, but its unnecessary to risk one's health.
I'd imagine you'd have to do a task (like inputting a passcode) every so often or the drive would be made inoperable.

For SSD's it'd be as simple as an automatic single pass overwrite and a new encryption key. For HDD, the hyper-paranoid could rig their drives with small explosives to fracture the platters.
That's like saying "The jury found you guilty of shoplifting, therefore we will put you in jail indefinitely until you confess". Sure them confessing after the conviction adds no information, but you still can't compel someone to do it under threat of a life sentence.
It's called strava for running or cycling... It will show your progres on the same routes or over common segments... You don't even have to share that info with other people if you don't want to
To be fair, the threat model of those countries doesn't include terrorist hijackings. You will surely experience a thorough screening in Israel or Frankfurt.

Every major U.S. airport I've been to in the past 5 years has had ample bottle filling stations.
I believe the parent poster is referring to the second episode [0], where people must earn credits for cycling on exercise bikes.

[0] https://en.wikipedia.org/wiki/Fifteen_Million_Merits
What happens if this guy just claims that he forgets the password and sticks to his story? Will he be effectively imprisoned for life, whether true or not?
How is this differentiated from serverless.com ?
Keep in mind that a 17 year old taking a nude picture of themself is in possession of child pornography. Do you want a harsh minimum sentence for that?
Considering zero fires in carry-on have caused plane crashes, but a non-zero number in cargo have, yeah, basically this makes it way worse.
The LE guidelines are available here, if you're curious as to what they offer: http://www.apple.com/legal/privacy/law-enforcement-guideline...
Looking to build your office from any location? Go Remote Jobs has the best showcase of remote jobs for the digitally inclined.Our goal is to cater remote jobs to qualified professionals and make the whole process easier for both the job searcher and the company that needs talent.
The first AVX-512 noise library
Oh, it definitely can be simplified a bunch. There's all sorts of stuff to prune out. I didn't even attempt to try and code golf at all. There's library definitions included in that snippet that probably aren't needed.
Time-Critical Decision Making for Business Administration [HTML Textbook]
In kenya a company called zuku started providing uncapped home internet at about the same prices. Now its well on its way to owning the market for Internet at home, despite all the efforts of local telcos to compete.

At the same price the biggest telco is only willing to give about 12gb capped data. And it's no where near the quality of a zuku connection.

I think it might have to do with the physical infrastructure. A cell tower can be seen as an access point shared by millions and therefore has to have limits on what each device can send and receive. Home internet is via fibre and an an access point shared by only memebers your household.
IMO not very. It's easy in TLA+ to write things like "randomly select some bijective function from the power set of N to [0, 1]", which can be really handy for speccing but isn't exactly programming-friendly. I personally think of this as a good thing, actually. TLA+ can be simpler and more expressive than it would be if it had to also be translatable.

So you can't guarantee your implementation matches your spec. All the more reason to write unit tests!
I think the term "spinning rust" relates to the fact that the actual data is stored on ferromagnetic material, nothing to do with the energy usage.

I agree with you on the first paragraph.
Quite a minefield of legal issues. Indefinite detention pretty much seems like an abuse of the court's power to find people in contempt. He should get charged with a real crime like obstructing justice and serve a sentence for it, if they have the evidence for that, but this is absurd.
I agree.. I have had a greenway near me for 5 years before I started using it... If you can do something without even having to commute to it, it can be even easier to start a habit
Rapiscan, the maker of the device, was a client of Michael Chertoff's consulting company, and he was the head of Homeland Security when the scanners were put in place by his department.
That was only because they chose a weak password. With a 100+ bit password, it's impossible.
There's an aside about how I've chosen precedence. The way I've defined operator precedence and binding, (\x.x) y is not a valid expression (parentheses only mean function application), and (λx.x y) returns y. You can argue I defined things wrong, but it is all in how you define things.
I don't think drug offenders should be put in prison since it's a victimless crime. I think child porno while much more serious does invoke some of that chain of reasoning.

To me there is a big difference between a guy who found some on the internet and someone who produces or pays for it.

I would be wary of putting in minimum sentencing for such crimes unless it was only targeted towards those producing/paying as you can reach murky area's. Two i can think of off the top of my head would be finding images inside someone's browser cache who browses a site like 4chan where people will post it randomly.

That and art, if someone draws child pornography is that a crime? If blizzard says one of their overwatch characters is 17, are the people who make those animated porno videos making child porn? And are the people watching it consuming child porn?
Sigh. "Working on extending them" means mining.

Bitcoin is far more centralized than was originally expected. The only nodes that matter are the exchanges and the miners, who usually talk directly. Unless you do a high volume op transactions in a monetary sense, running a full node has little or no effect on the network. Transactions go around your node, not through it.

The dream of Bitcoin as a distributed system of peers died years ago.
California Deserts in ‘Super Bloom’ Thanks to a Wet Winter
I'm ignorant of Russia's historical role in sponsoring terrorism; I'm only getting recent Ukraine / Syria links. Can you share some resources to learn more about it?
Love SimplCommerce. Awesome work!
THIS.

The difference between 39 and 46 at the same apparent level of non-fitness is shocking. Stuff hurts that never did before.

Getting and staying in shape is key after 40.
Quite aside from anything else, can someone explain whether or not the same logic would apply to (for example) asking someone to open a safe vs. the code to open the safe. It seems like this ruling would say that failing to open the safe is functionally the same?

As a gratuitously distorted example, lets say i had cooked accounting books in a spreadsheet on my computer, and they were encrypted by a random password that /i/ do not know, but have on a memory stick in a safe. It seems that logically that would be equivalent, but i also am very much not a lawyer so am perfectly willing to accept i am missing nuance of the law.

Outside of the law i don't like the forgone conclusion stuff - for example, revolution period you could say hanging out with revolutionaries regularly could reasonably conclude your documents include a calendar for revolutionary meetings so you should be required to provide that information and/or information required to receive that. Obviously that's some contorted logic but i don't think it's that far removed from this.

I would argue that a hash match should be sufficient, and i would be convinced that (absent other information and details) this was evidence that he's a pedo, but i can see how a lawyer could create reasonable doubt where in reality there is none (specifically referring to hashes here, nothing else).

Of course i can't serve on a jury (and apparently knowing what you're talking about may be disqualifying? :-/)
Linker script fail!
Thanks for providing your perspective here, I'd guess that he has a similar mentality, which is why he wrote that.

In my (admittedly anecdotal) experience, devs who tend to overemphasize formatting and DRY are already self-aware about it, whereas those who give it far too little care and attention regularly shoot themselves in the foot by overlooking simple mistakes that get camouflaged in poor formatting and excessive repetition. My concern is mostly that the latter group would see this article as evidence that they can safely ignore code review comments and such.
all of these suggestions are tbh ok.
but id like to say one of the things that helped me most to get better was when i wrote my own framework. doing so helps you understand not just to code, but how to architect for many many different scenarios.

this allows you to write simpler and cleaner code, which is a high quality code.

and lots of coders think clean code means isolating code into many different pieces but that is so far from the truth. clean codes to me are generally less lines of code, files, and places to look for your stuff. its elegant and efficient. should put effort to separate less and group more. i cringe everytime some dev breaks up a simple methid into dozen pieces when there arent much justification to begin with.

so pls try write your own framework as an exercise. even in a crowded seas of framework, coming up with your own will be the best learning excercise you can do imho. it doesnt even have to be framework but something along the lines that will lead you to think outside the box.
There is an excellent 'pocket' format for compact E-readers in the parent's Github repo as well, which should be nice for smaller screen sizes.
Deadly Commands You Should Never Run on Linux
But shrinking 200MiB binary to 40MiB is nice.

Is that the average size savings?
Nothing you say will be considered "puffery" by the prosecution in a court. Do not _ever_ pretend anything you say in bluster or anger can not be used against you in court...

Also, they're not charging him with attempted murder here. They're charging him with "Cyber Stalking, in violation of U.S.C. s2261A(2)(a) and s2261A(2)(A) and (B)"

There's no doubt at all, that if the evidence as listed is true, he's in clear violation of this: https://www.law.cornell.edu/uscode/text/18/2261A (Something which I suspect a lot of GamerGate/4Chan/shitposters/self-identified-edgelords should think carefully about... I bet a lot of them have no better opsec than this guy...)
Is this about the sad state of test frameworks or about the sad state of C test frameworks? There's a reference to JUnit I don't understand. Junit provides the ability to aggregate tests in suites (strict hierarchies wtf?).

Benchmark may be a different concern.. I know you can do something with rules but it may require more time to set up.

By the way: creating a small, self developed tool that just does what you need is sometimes a good idea, but it doesn't mean everything else is shit. Any library serving a large user base will serve somebody better than others.