skysight-inc/HackerNews huggingface dataset:
Wait, but the argument of the post isn't "some unrelated piece of code could go and change the value of config.Pi, affecting everyone". Rather "I don't know if the code of the config package set config.Pi to be actually pi".
This looks more like "Misunderstood TDD did not live up to expectations." It's obvious from the article that tests were written after the code. That explains the excessive coupling in the code and tests being hard to write and constantly getting in the way of code development. This is not "test driven development". This is bolting tests on top of already (poorly) designed and implemented code. Tests are an afterthought. They did not drive the design. No wonder it doesn't work well. The high coupling in the code has to be repeated in tests and it's a rather painful and fruitless exercise. Have tests been written first, it would have been clear which design led to lower coupling: the one it's easier to write tests for.
I'm still not sure I understand what the consumer queues are adding? Is it to allow non-ordered reading to be fast but also allow ordered reading?
How To: Craft CMS Development to Production Process with Nanobox
There's lots of pathologies to watch out for...
Imagine sorting 10 million random ints, where 1% of them are random 64-bit values and 99% are in the range [0..9]. Might be extra fun in parallel.
China and Tesla are not the only players. There are 100s of other new manufacturers. And a few big names as well. The biggest battery technology patent holders Panasonic and Toshiba, LG, Samsung. GM is up there too.
Ask HN: Whats stopping Crypto widespread adoption?
What are the concerns related to the adoption? security? stability? infancy?
> Gold is a less efficient form of money than paper and Bitcoin is an even less efficient form of money than gold.

I don't think that's true in most cases. I can more easily send someone $10,000 in Bitcoin than that amount in gold. And the larger the sum becomes, the easier it is to do that with Bitcoin.
> Scientists are highly motivated to prove the majority wrong, because that's how you make your career, by finding something new that everyone else missed.

Don't romanticize the scientific establishment too much.

Yes, you want to find something that everyone else missed and publish it. However, you don't really want to "prove the majority wrong" (they, after all, review your paper and speak often with people on funding committees) in any kind of funding- and career-invalidating way. What you really want is a detail your colleagues overlooked in their largely-correct approach to a problem. This kind of thing - generating results and techniques that your colleagues can integrate into their own research, citing you - is what makes careers.

Partly this is because (I honestly believe) the majority of people in my field (plasma physics) are competent and conscientious researchers, so "proving them all wrong" is the futile quest of a crank.

However, my point remains - as a junior scientist I do not want to stir up any shit with senior scientists, nor do I want to challenge any narratives that funding agencies like. I mean, I might want to, but it would be counter to my own interests in a big way.
The thing for me in that example is it's not a particularly complex set of options. It knows I'm asking for the weather, it knows that it should give me the weather in a particular location, and google knows where I'll be tomorrow.

The other main mistake was (despite it getting the conversational part right) thinking "the day after" means today.

I don't think these things require TPUs or new NLP.
Defeating pass-the-hash attacks with two-factor authentication
> This feature should be safe in principle, although it does seem to increase HC attack surface a bit ;)

The HC attack surface is already significantly increased because XHCI does many things on its own that used to be done in the driver (eg. the whole address assigning handshake).

XHCI is the first USB controller variant that a USB device project I worked on was able to lock up the controller so hard it took a cold reboot of the computer to fix. That was... unexpected.

(and I can't say I'm happy about that type of complexity ending up in places where I can't fix them)
I dunno.. digital music just sounds better, is more consistent, portable, and all around easier to play than vinyl.

Why stop there? Do you also churn your own butter, milk your own cows, shave with a straight razor?

Personally, I think it's just silly hipster bias.
Correct. Academic's job is to study, it doesn't matter what the outcome is, they have grants either way.
How a 20-year-old kernel feature helped USDS improve VA’s network
As a user, <5 seconds is much faster than 10~60 minutes. And I have never had VISA mutate my transaction... that would be fraud.

Once every 200 transactions let's say, my card will be denied and I'll need to swipe it a second time. This is significantly less of an ordeal than having to rely on the inefficiency of the blockchain every single transaction.
See? You should have had an alphabet ball.
Thank you, but my comment wasn't about the study. My comment was a direct response to the parent's opinion about what is considered moderate drinking. An alcoholic would have a much more liberal judgment.
"Typically, the IYI [Intellectual Yet Idiot] get the first order logic right, but not second-order (or higher) effects making him totally incompetent in complex domains."

https://medium.com/incerto/the-intellectual-yet-idiot-13211e...
Why YouTube Used to Prefer Quality [video]
Show HN; (Rapidserv) the c10k problem with a flask-like web server in python
It may be a little more delayed because of the US 4th of July holiday:

> There will be no release for the week of July 3rd, since this is a holiday in the US. The next release is planned for the week of July 10th.
> 50% of scientists not being able to reproduce their own paper

In the case of the psychology replication crisis (note that I'm NOT talking about climate science here), the problem was the result of a few factors:

1. the lack of incentives to replicate others' work

2. the use of p-values to determine what gets published

3. the low probability of a true positive

These factors are not part of the critique process of peer review. That is, reviewers are looking at whether the methodology is valid. "Did the scientists follow proper procedures? Do the results match up with what they claim?" While these questions can identify methodological errors, they cannot identify when an experiment is a statistical fluke.

Suppose the true positive rate is 5% and the false positive rate is 5%. That means that only 10% of experiments will give results that suggest publishing. But if you look at published papers only, the probability that the paper is false is not 5%, it's 50%!

The solution to this problem is not to throw out peer review, it's to fix the three issues above. We must create a system that incentivizes replication. Perhaps 1st-year grad students will be required to attempt to replicate existing work. (This would be more interesting for the grad student than taking an additional class!) Perhaps we should move away from p-values (but what do we replace that with?)

However, the replication crisis is not really the problem of bad science or corruption -- it's mostly the result of bad incentives and false positives.
Anybody notice what the coal guy said?

"Carbon capture and sequestration does not work. It's a pseudonym for 'no coal,'" Murray said while waiting for a ride outside DOE headquarters. "It is neither practical nor economic, carbon capture and sequestration. It is just cover for the politicians, both Republicans and Democrats that say, 'Look what I did for coal,' knowing all the time that it doesn't help coal at all."

So "clean coal" is BS just like I thought? Is this guy trying to shoot himself and Trump in the foot or what?
"Money" is not a single app, it is three apps in one. It's used to store, transmit, and account for value.
At the same time most of the people they are managing are nowhere near as good as they were at doing the actual work

While I'm good at what I do, I wouldn't class myself as an "incredible engineer." But as a manager, I encounter this frustration all the time. Sometimes, I want to scream "that shouldn't take all day: I could do it in 20 minutes."

But I have to stop, take a deep breath, and use it as a teaching moment. "Can you give me a breakdown for all of those tasks individually so we can see if there's a possibility to reduce scope and bring the time in?" becomes the more polite way to phrase what I'm thinking.

It's a variation of having to remind my developers that we're here to make the customer's life better; not to make their jobs easier.
> I feel that something like what happened with some of the government spying stuff in the last decade or so.

I can't find the story, but there have been a lot of people who wanted to sue as victims of PATRIOT ACT spying, but who couldn't because they couldn't actually prove they'd been spied upon. The lawyer for one such person was accidentally sent papers by the government (as part of a larger, intentional shipment of relevant papers) acknowledging such spying had occurred, but (I think) FBI agents showed up at his door the next day and demanded their return.
Frank Zappa on vinyl, BAM (Bay Area Music magazine) [1987]:

http://www.afka.net/Articles/1987-01_BAM.htm

BAM: Working with a computerized synthesizer, do you find that vinyl is no longer the most desirable way to present your music? Will you be releasing CD-only recordings?

FZ: Well, vinyl never really was all that terrific a medium anyway. Some people cling to the belief that vinyl sounds better. I don't know. Not to my ear. I like it on digital tape myself.

BAM: There's supposed to be a warmth to vinyl.

FZ: Well, let's analyze what the word warmth is. Does warmth mean a lack of top end, or an extra bunch of frequency bulge at 300 cycles. What the fuck is warmth? How do you quantify that in audio terms?

BAM: Critics don't have to quantify in audio terms. We use words like warmth.

FZ: Yeah, well, you know, you can demonstrate pseudo-warmth in a technical way in the studio by using a broad-band equalizer and boosting things around 300 cycles, you know. It just gets pudgier. And you roll off the top end a little bit, and things start to sound, you know, warm! – if that's the kind of sound that you like. I don't particularly care for that sound.

--

Mix Magazine [1983]:

http://www.afka.net/Articles/1983-06_Mix.htm

Mix: The complaint has been that the digital tape sounds great, but when you transfer it to an analog medium you get a whole different sound.

FZ: You do get different stuff, and the reason you do is that the dynamic range of the digital tape is 90 dB and the dynamic range of a record is about 45 to 50 dB. So you can't let all the peaks go where they would normally go – you have to compress it. But if you're going to plan for the future, I think ultimately records are going to be released on compact discs, little laser discs, and they've got 90 dB. There's a way to do it. I'll compensate to get it on a piece of vinyl and still have the right thing digitally.
Sorry, I mistook your original query. It was amongst a bunch of such comments and some seemed to not be getting made in good faith.

The super short version is that I don't want to live in a van because I no longer drive due to my medical condition. There are other factors, but that's a big one.
Shut up or put up:
Come back when you have implemented your own model that reproduces the 21st century's climate to date without human CO2.
This is the standard that scientists are judging themselves by.
For bonus points predict 2003 based on 1800-2002.
AdWords, AdSense and internal Google CRM are written in Dart -
namely AngularDart:

https://webdev.dartlang.org/angular
according to:
http://news.dartlang.org/2017/06/a-stronger-dart-for-everyon...
I think your take-away from the reproducibility crisis shouldn't be that science is corrupt, peer review is stuffed with cronies, or scientists don't know what they're doing, it should be that science is really fucking hard:

https://fivethirtyeight.com/features/science-isnt-broken/#pa...

My old boss at Google used to run the data science program for Search - this is basic business intelligence, not even the natural sciences. He gave an hour and a half long presentation once on all the ways our experiments can and have gone wrong. It included everything from browser bugs disrupting logging, to service outages that happened in the middle of the experiment, to current events that change the normal traffic pattern, to software bugs that trigger failsafes that shut off the experiment but don't affect the control. By the end of the presentation, engineers were asking "So how is it that we actually get anything right?"

My brother-in-law is an actual scientist - he does cancer research, studying gene expression within head & neck tumors. The time it takes to get one rigorous, publishable result is measured in years. And it can be derailed by months by something as simple as a tech mixing up lab samples.

The thing is, when people use examples of these techniques going wrong as examples of why science is untrustworthy, they forget that normal human reasoning doesn't even bother trying. It's basically a given that most of the stuff you "know" is false. What would be the reproducibility stats for an everyday human belief like "vaccines cause autism" or "the economy does better under Democratic presidents" or "vitamin C prevents colds"?

The virtue of science is in being less wrong, it's not in being right. Which, given how often the average human is wrong, is something I'll happily take.
From someone that doesn't know anything about this: Is it impossible for malware to modify that boot code?
The lithium prices may experience continue to increase, but lithium is highly abundant. It won't help the "countries" that much. The US and china has tons of lithium and so do many countries across the world. But most likely, lithium prices may start to decline if the US/Russia/China/etc who have most of the world's lithium decide to start mining seriously.

Certainly well connected mining companies might do well also. But lithium isn't oil. Oil is the basis of modern civilization. It is in pretty much every product you use and every industrial process. Even battery companies will use tons of oil and oil byproducts to create lithium batteries.

Oil and lithium batteries aren't comparable. One is foundational, the other is really a convenience.
JavaScript interop with Elm: Using Ports to read and parse CSV files
In the case of peyta: is that necessary? There are 2 pieces I know of someone would want to change, the Bitcoin wallet and removing the Killswitch.

Surely this is easier then a full understanding of the code?
This system also invites and funds quack medicine, like "treatment" for non-addictive drug use and non-addicts, while real addicts find a shortage of treatment resources.
Turn boring email notifications into actionable Slack conversations
They don't want you to turn DRM off.
> Bitcoin and other digital coins are at the peak of their hype cycle.

Why do you think they are at their peak?
I haven't shared yet but I'm planning on it. I used a lot of code and information available online but some of it is out of date and/or wrong now.
These don't represent a real world application at all. I'm not convinced this is anything more than a compiler optimization for a function that is essentially a noop.
Are you a creationist?
To my knowledge, Freeman Dyson has no peer reviewed research contributions in the climate literature. That should be the price of entry, otherwise there is nothing of substance to critique.
The N9 was probably the most successful unmarketed and unavailable (not in any primary markets that could afford it) phone in history. It's big brother was only available as a dev device.

There's plenty of evidence that there was demand. I'd love to see them relaunch a similar device with updated specs today. I'd certainly get one.
Because the only way that situation would happen would be if the sexism that's endemic to the industry and the country were no longer a problem.
And I'd assume the reason it's is banned in Ukraine is likely due to the persistant rumors that Kaspersky is tied to the Russian FSB.

Anti-virus would be a brilliant way to gain access to millions of machines, send back "sample" files via specific user targeted updates...

If so (and again I'm starting this sentence with IF), being lenient on Kaspersky would have dual benefits of focusing the target Ukraine, provide a "cure" for any critical machines hit in Russia, and allow existing Kaspersky users to recover once the cure is known.

The Interesting thing here is if this was a trial run, I don't think you get another one. If there is another bit of malware that treads lightly on Kaspersky machines, or "accidentally" fails to activate on them then the gig is up.

Still speculation, but will be interesting to follow.
It does not take 10~60 minutes to sign a bitcoin transaction... It doesn't even take a second. Maybe a slow PoS will need another second to actually verify the transaction, but this is still way faster than VISA.

I regularly spend more time than that on VISA transactions because I don't live at my billing address on another continent.
> serious question: why?

Please read https://news.ycombinator.com/item?id=14667456 and
https://news.ycombinator.com/item?id=14667379

We detached this subthread from https://news.ycombinator.com/item?id=14668250 and marked it off-topic.
It is not always true. Imagine the system, where the government is a primary source of grants. There is a possibility that government will prefer funding the scientists whose work supports government's political agenda.
Agreed. I almost didn't read it because I thought "Ugh, one of those flamey everything-sucks posts again". But I was surprised at how positive and short it is.
I think this is example is too simple and misses the point of a config package. If you have config options being read from several different sources (files, args, env) and need to initialize subsystems which need more than one or two parameters (think server with several timeouts, paths, handlers) then you want to pass this as a struct and you need to manage that struct somewhere.

Configuration is also an external contract since you don't want to break installations because you want to rename a variable. Therefore, you have to distinguish between argument parsing and the actual runtime configuration and it makes a lot of sense to have that in a single package since you can then test it properly.

Configuration is a complex issue for non-trivial projects. Managing this in one place allows to have one source of truth.
I'm curious about how accurate the assistants were at listening. That used to be the most pressing issue with voice commands that had relegated the technology to a running joke. It appears that's understandably what the companies have been focusing on so far, but there's still work to be done to get to 100% accuracy of listening, especially when you take into account exotic names and interchanging between languages and slang.
Yes! Voice is sort-of "tactile" if you will. The process of speaking instead of typing may well cause us to expect a more human interaction. I bet they're already studying this effect and changing search results for voice searches accordingly, but it will be fun to watch how it unfolds.

Very nice article, I only skimmed so far, but I think I agree with all of it. It has a definitely pro-consumer bent that I wish would come true, but seems like trends are in the other direction. I suspect there's too much money in search and improving query understanding at scale for companies that get there to be as transparent and open and sharing as this author is asking.
Are you qualified to decipher the data? Honest question.
Introducing esprint: a fast, multi-threaded, open source eslint CLI
I'll just be the sad puppy sitting in the corner writing everything in vanilla es2016/17. I never had any problems and everything works. The amount of code I write is no more than the angular code I write at work. Never used react but it looks like a jumbled mess. Vanilla JS is pretty sweet and has everything I could ever need.
Blue Apron tumbles again in its second day as its IPO settles for a down round
That old faxlore is obsolete I think. From what I've heard, German cops are actually really good these days. Unlike some countries, they're not very likely to shoot first and ask questions later. And the reputation of British cops seems to have gone downhill lately. Also, I didn't think British chefs were bad (Gordon Ramsay is British after all); the main problem with British cuisine is that most of it just borrows from elsewhere, much like American food, and isn't uniquely British.

So I think an updated list would be:

Heaven: German cops, German mechanics, French chefs, Italian lovers, Swiss administrators

Hell: American cops, French mechanics, ??? chefs (Canadian perhaps?), British or American lovers, American administrators
I agree, for sure. That said, there's a lot to be said about listening to an entire album. I'm a huge fan of CDs for this reason. It's a good mix of Vinyl vs Digital. I know I'm getting perfect, uncompressed digital audio. My setup is designed for involved listening if I want it, and I do that mostly with CDs, rather than records. At the same time, if I want something new, or a cd I don't have, I just put on Spotify. There's no reason why you can't have it all.
UCL-Energy 'High-Rise Buildings: Energy and Density' Research Project Results
Nit pick: Although toy systems work by "just" signing the CSR a real CA like Let's Encrypt basically throws the CSR away after verifying its integrity.

The CSR is a signed data structure that says "Hi, here's my public key K1, and I want you to issue me a certificate with properties P1, P2, P3 for names N1, N2, N3" and it's signed using a private key K2.

Using K1 (which is right there in the document) we can check that the K2 signature matches. If not, we can't be sure the real owner of K2 even wanted this certificate and we must reject it.

Then we can look at the list of P1... and N1... and decide if we want to issue a certificate at all. If we do, we can choose to issue any certificate we want, we don't need to issue exactly the one described in the CSR.

This is important because many CSRs, whether generated by well-meaning admins or automatically by an appliance or service, are full of crap that Let's Encrypt doesn't want to, or isn't permitted by the Baseline Requirements to sign.

[ e.g. it's very common for CSRs to claim that London is in a County called Middlesex. Nope, that county was abolished decades ago, London isn't in a county at all, but people see a field labelled "State or County" and they figure they should write something in the box. If a CA signs that, they're claiming Middlesex still exists. ]

By constructing each certificate from first principles after examining the CSR, Let's Encrypt can ensure they sign only certificates for exactly the things they've validated, nothing else.
optimum room design is great to get the best out of your gear but a $5000 stereo set up in your current living room will be significantly better than the earvuds
> I can't skim a page of search results via voice. I'm not going to sit there and have Alexa read 10 page titles and URLs to me.

I think you can. Alexa can read you the titles and you can ask it more information about a specific title. It’s like asking the waiter which desserts they have then interrupting him because you don’t know what a pannacotta is.
Why stop there? Do you write your own libraries, generate your own grammars, go through the logic of your program in your head? Personally, I think it's just silly hacker bias.