skysight-inc/HackerNews huggingface dataset:
For the HTTP API my company has been building, we're returning 400 status codes for most errors. It is intended as a strong suggestion that client code needs to handle errors rather than ignore them. However, we're aware that some client libraries are limited in their ability to handle status codes other than 2xx, so we allow an optional request parameter that asks the server to return 200 instead of 400 for most errors. As you said, smart people disagree about this, so we let them choose. I think we've hit a good balance.
The blog post on which the article is based - which is very long! (I'm still reading through it) - can be found at the top of Dominic Cummins's blog (On the Referendum #33, 26 June 2019) - https://dominiccummings.com/

Given that DC has now been appointed as one of Boris Johnson's key advisors, with a desk (I assume) in 10 Downing Street, it will be interesting to see how far - and how quickly - he can put his ideas into action. If only for the potential car crashes it may cause.

Whatever my views on Brexit (hard against leaving the EU) or the new PM and his Government (definitely not a fan), I do agree (in principle) with Dominic Cummings about the need for major reform of the UK Civil Service and the decision-making processes used there. Whether the tools and processes that he advocates in his blog post are the right ones? I don't know.
The reason why rPi uses micro SD is that it's the cheapest possible storage solution. You are not buying an industrial-grade workstation for $35. (For those using the rPi in industrial settings, there is the Compute Module which has eMMC.
It adds to the cost, though.)

I am not really a fan of "embedded" devices that have to be shut down properly. You can never assume that you won't lose power, and I think there are a lot of flaky/bricked rPis as a result of SD not handing power loss well. But it's cheap, and you just reimage the thing and go when your SD card gets corrupted.

When I last worked on embedded Linux, our OS image was read-only and the writable storage was literally initialized at boot with "mount /dev/mmc1 /storage || mkfs.ext4 /dev/mmc1". That is how you get a consistent state after power loss. But throwing everything away at boot doesn't fit the Raspberry Pi model of being half-embedded half-workstation. The result is flakiness.
I spent some of my life in Hawaii and open breezy houses work great until they don't. The times where it get really hot and there is no breeze it's absolutely miserable. I survived it fine but with how hot and still the summer is where I live in the Midwest I'm glad I have AC now.
Madlib produced all of his most recent album (Bandana) on an ipad, probably garageband. I definitely hadn't given the software enough credit until learning that.
I wonder. When I bought my first house it was a very simple process because my finances were very simple. For the second, which I’m still in the process of finalizing, it’s been an absolute nightmare. Both my wife and I have credit scores above 800, but add just a few unusual financial elements to the mix and the underwriters start having aneurysms. Take away those nice shiny credit scores and I imagine many banks would flat out refuse to touch us.
I think criticism was overblown as well. The many thousands of small electrophysiology projects testing a single hypothesis also cost a ton of money and mice lives, and do not have ambitious goals. A concerted, centralized effort often breeds spectacular results.
The notion that a cofounder has some secret sauce that gives the government the authority and power to do something like this is a great way to drive clicks. But it ain't gonna break up facebook.
> Sort of like how Bernie got locked out of DNC databases

You mean after his staff got caught snooping around Hillary's campaign data?

https://time.com/4155185/bernie-sanders-hillary-clinton-data...
....which would basically mean everything not subject to local laws; ie made in foreign countries?
A primer on *args, **kwargs, decorators for Data Scientists
I think Netflix might be more of a seasonal thing or business readjustment, while Comcast, it's really the end of a business: linear TV.
To play Devil's Advocate - without pharmaceutical companies developing and marketing drugs, how do we set up an incentive structure that encourages R&D and innovation?
I’m interested in this but not knowledgeable.

What is a “tipping point” in this context? The article doesn’t say.

How does the overall size of a forest affect its ability to re-expand? Wouldn’t this happen at the edges once those are no longer maintained, regardless of the overall size?

Does “unrecoverable” mean “via natural processes”? Wouldn’t it be possible for human intervention to reforest?

Thx.
Tulsi is the most prominent Democrat presidential candidate that the media often says has conservative views. She is also broadly considered anti-establishment. Are there any establishment Democrat candidates (e.g. Harvard and Yale Law faculty member and senior senator Warren) to date that have had their Google ad accounts suspended by an 'unbiased' algorithm?
Search for "Copyright © 2019 JND. All rights reserved" -- there are a ton of sites of the same form.
A good way I found to gain more sensitivity on whether i'm thirsty or hungry is to separate the two during meal times. When I have breakfast or lunch, I don't drink any water or juice, unless i'm having trouble getting it down my throat. I either do it half an hour before or after. I've been doing this for years now and now I can accurately feel when i'm truly thirsty or hungry. shrugs try it..
It is a toy. A fun toy, but I've never walked into a studio and seen a producer producing actual tracks on it. Serum + a decent keyboard is the basic setup
Yep, that's the video I watched before I said the quality of music is awful. Anyway, I'm not sure how is "chiptune video game music" relevant to what OP is asking for.
Nope, reputation is definitely still important. As it turns out, you can edit videos to produce a desired effect/impression -- just saying "it's a video" doesn't really establish objective truth.

Since O'Keefe paid $100,000 to settle a lawsuit centered around edited video designed to make ACORN look bad, it's pretty reasonable to treat his videos with skepticism.
Ad supporters will sometimes say that ads are meant to get the word out about a product so people know its an option.

How can we prove that this is false or that the benefits are smaller than the drawbacks?
So, the thing is, it's not a compliance problem. I also understand mistakes happen. Let's recap:

gusto

0 - stole a couple hundred dollars, and didn't notice at all (and for clarity, this was post reimbursement approval via their whitelabeled partner);

1 - ignored 4 support emails, one per day, for a week;

2 - blew off my first phone call, at the beginning of week 2 attempting to get this fixed;

3 - lied on my second, impolite phone call, about when they would follow up with me

4 - took another couple days with no status updates to acknowledge what happened and tell me what they would do.

The above is why I'm doing close to pulling rank and firing Gusto. None of the above is how a competent company treats a customer.

Bluntly, if a CSM at my company did that, either the CSM or his or her manager would be terminated. We can screw up, but we do not blow off customers, commit to following up and then fail to do so, or fail to take ownership over mistakes and at bare minimum communicate with customers.
When I read about these things I always suspect there are some hidden personal motivations behind the scenes that go beyond an altruistic duty to society. Probably some personal vendetta against Zuck or desire to have your legacy disassociated from helping create Facebook.

Not that it makes the publicly stated motivatins or arguments invalid
When I develop for arm Linux, I use local git on Windows PC. I share that folder with CIFS, mount on Linux, build and run my stuff from the mounted directory. As a nice side effect, the disk speed is much faster, the PC has fast SSD, target device uses much slower SD card for the system drive.
I'm stupid but what's the purpose? Why not just call the function directly without Chai?
> It's about time for the next Bay Area recession. Some of those buildings will never be fully occupied. Remember 2008? 2001?

Yeah, and every office park that felt empty in the fallout of 2008 is now bursting with businesses and people. Why are you so worried about the threat of a recession and unoccupied land that you don't want to add housing in a region with record homelessness numbers? This feels extremely conservative.
I built a copy of Minesweeper using AngularJS for fun that may be instructive.

Demo: http://ceasarbautista.com/minesweeper/

Source: https://github.com/Ceasar/minesweeper
Parabola 1 rocket launch. Beijing iSpace achieves orbit on first try
I live in San Diego, and have followed this with great interest. From my understanding, they are only doing this for scooters that are parked illegally: e.g. on the shop owners property, blocking vehicle access, etc.

It's very interesting, because the riders don't have an incentive to park appropriately (and that is sometimes a guessing game -- street signs don't exist for where you can park scooters legally). However, I'd warrant that it's the sheer carelessness of riders who cause this issue.

Without people like these repo folks, there would be no disincentive for either the riders or the scooter companies. The riders don't care (and making them care would hurt the companies' growth/user retention -- part of the appeal is that "drop anywhere" thing).

In short, I see no problem with this. We allow tow truck companies to do the same, with private citizens as the victims. This only forces the scooter companies to solve the problem they created.
Apple to Acquire Majority of Intel's Smartphone Modem Business
I'm not sure about JS being necessarily that slow... The browser engines have done tremendous work in the last decade to make it very performant. It approaches java in some regards... It would be interesting to even see applications where this difference would be noticeable, let alone application examples where there would need to be so much complex logic in scripting itself, and also so much sheer computation requirements where this would ever make any difference...

Also then, if this would be the selling point of ChaiScript, I would want to see some benchmarks (I have a hard time believing it will outperform lua with the built-in JIT or one of the faster JS engines with optimizations (it's not like performance is a novel desire in embeddable scripting languages, tons of manhours have been put into them already))... The website doesn't seem to have any such benchmarks.
Microsoft is not in the clear yet. They will be after Windows uses the Linux kernel, and Microsoft uses Rust. I'd give it ten more years and reevaluate.
Apple buys Intel’s smartphone modem business
The media analysis skills of folks on HN continue to astound. What makes you think project veritas is a credible source? Im serious.
I am guessing YouTube and social media.
Another Devil's Advocate argument- make patients aware of drugs that could solve XYZ health problem that they weren't previously aware of. They just want you to "ask your doctor about..."
If I remember correctly, this is the same guy that wanted to get involved in politics. Great way to get some recognition, while accomplishing very little.

I'm sure he also diversified his stock before his campaign.
Yes, this seems like a critical part of the story. I take it the actual vote was 2-1 in favor of the permit, but you need at least 3 votes to pass something in San Bruno, no matter what? If so, the city council's rules don't deal appropriately with recusal and those should be changed ASAP.

At the same time, whether or not this project succeeded or failed, the larger story about how hard it is to build housing remains fundamentally true (and broken).
"...When the Department of Justice tried to stop the merger with Time Warner, AT&T told a judge in a May 2018 court filing that the merger "will enable the merged company to reduce prices." Instead, AT&T raised prices for DirecTV Now multiple times. DirecTV Now currently offers two plans that cost $50 or $70 a month, and the service charges extra for premium networks. AT&T also raised prices for its DirecTV satellite and U-verse TV services in January while simultaneously making it more expensive for customers to cancel TV or Internet service. ..."

This should be illegal. I don't mean fines, either. An executive somewhere cooked up a plan to lie to regulators, lie to shareholders, lie to their customer base, and lie to the general public. The only way to make large companies stop acting like they're above the law is to throw some millionaire executives in jail. A regular jail, none of that "bookcase in your cell" shit. Even if the plan didn't come from them. They steer the ship in times of prosperity; they sink with the ship when it goes off course and gets a hole.
"If we store the ip directly in a C local variable and mark it register, there’s a good chance the C compiler will accede to our polite request."

Hmm. I may be getting rusty, but do modern compilers actually still pay attention to the "register" keyword?

Also, I may have read this too quickly, but if I'm not mistaken you limit the number of parameters to 8, yet the number of arguments passed to 255. Does that make sense?

Thank you once again for a brilliant read!
I'm comfortable with the idea that "if you take out a loan, but don't pay us back, we're going to tell other people that you're a bigger credit risk" is an absolute requirement to provide the service.

It's certainly a requirement if you don't want the interest rates on loans to be much higher.
Management Consultants: A bunch of 20 sth year olds with fancy degrees and zero experience in growing a business helping huge companies grow by whatever means possible. I always found this hugely ironic.
I've heard though in Europe it is more common to have sparkling water in restaurants while in the US its plain water (maybe filtered tap water)
Why was management pushing for it so hard? Better (existent) salespeople for microsoft vs OSS? Or were there actual reasons they thought microsoft would be better
Is there any more to this analysis than a correlation? I.E. That there was something that happened in the general area some time period ago?

I'm talking about things like thermodynamic carrying capacity, total mass of the test, prevailing wind patterns with estimates of where the aerosol might be now?

A simple bayesian analysis for the current facts: what's more likely to have caused the warming - a test that generated injected a small amount of mass into the air, or the massive increase of CO2 over the last several decades?

Based on these two comments, it seems like you're putting too much emphasis on correlation, and not enough analysis in to some actual thermodynamics.

If you do have access to deeper analysis, please post them. I would be interested in learning something new.
Submit them to a central, vendor-independent database so doctors (or consumers for non-prescription) can find available ones based on their ailments.
Clickbait title: 'If Bluetooth is ON on your Apple device everyone nearby can understand current status of your device, get info about battery, device name, Wi-Fi status, buffer availability, OS version and even get your mobile phone number'
Is housing "going wrong" simply because it is expensive? Maybe it is overall a good thing that tech companies are now expanding into cities outside the bay area due to high housing costs.

At least housing prices are transparent to those thinking about moving in to the bay area, allowing them to make an informed decision. High traffic, insufficient public transit capacity, and over-capacity public services are less transparent. If we build more housing, do we just push problems elsewhere?

How do we determine the optimal amount of new housing?
I've noticed an increasing trend in West Coast cities where people complain that there's "just too many people". "Tell them to move elsewhere, we're full". It's as if the lessons of Malthusian limits were lost on us. For humanity to continue growing as a species we have to become more efficient with land use.
Better that they hash the issue out in the primaries than in the general.
Boeing says 737 MAX crisis could temporarily shut down Renton production
You can easily get through modern life without taking out a loan from the financial system. I'm 41 years old and I've never had a home or car loan. I have credit cards, but I easily could have gotten by using debit cards instead.
One of the reasons that few people swim in deep water is because there are some number of sharks there.

Most problems reach equalibriums. Some problems have a very strong S-Curve effects. "How deep is the water" and "probability of dying of a shark attack" has a sigmoid curve, where as soon as you go into water deep enough for sharks to actually swim, the danger goes from "Unheard of if not impossible" to "Potentially Life Threatening but within acceptable risk territory". Once out there, it keeps going up.

People don't swim in deep water because deep water is not generally accessible. One of the reasons that deep water is not accessible is because deep water also contain sharks. These have reached an equilibrium.

Second example of this fallacy:

"Helicopter parents" is a commonly cited problem [1]. Parents are overprotective of children. The rise of helicopter parenting has coincided with a reduction in child mortality rate from non-natural causes. Wouldn't that indicate that helicopter parenting is working? The answer ranges from "No" to "Maybe". Children killed by car accidents correlates with a decline on overall accident rate - But much of that is driven by initiatives like MADD, which has worked to improve general auto safety as the most effective way of protecting children. These factors can be compared to stoichiometric math - They are trending towards equilibriums, but probably have not yet reached them, and as other reactions happen around them the setpoints they are trending to change.

[1] https://www.washingtonpost.com/news/wonk/wp/2015/04/14/there...
Great link.
I mean insect screens. If you've got biting/disease-spreading insects you can't open your windows when it's hot if you have no AC.

There were very few biting insects that I saw in France/Germany/Switzerland but with climate change they will probably arrive and compound the heat problems.

I have been told northern Europe (Scandinavia) has plenty of biting insects like the US.

The walls were thick everywhere I saw but they just looked like concrete walls, not walls with modern insulation. Someone mentioned above modern insulation is significantly more effective than concrete.
The video recording. Are you gonna claim they are fake?
Yes - it's even outlined in the articles. A sudden increase in spending triggered a fraud detection algorithm, and the account was re-established before the next morning when a human verified there was no fraud.
From what I understand the vast majority of innovative pharmaceuticals are funded by academia.
I mean if they really mean they don't want to build anything then let's talk. It's a policy that can work, it's worked great in Yosemite and the Grand Canyon for example.

But they'll have to stop building massive office buildings if so.
How?

Find a natural experiment where two very similar populations, chosen at random, were placed into two different cohorts. I'm sure there's one somewhere in the recent and well documented past.
Yes, if you want people to loan you money at low interest rates you have to agree to the system whereby if you don't pay things back the system will keep track of that and not loan you money at such low rates again.

That seems pretty reasonable.
the problem above is purely how HN have done the site, I'm guessing they don't save unicode text ( possibly ascii ) as when you load up the text again all the unicode is stripped from the message
> Famine, when it comes, will affect the rest of the world far more than it will the US, Canada, and Russia.

USA has had the biggest impact on climate in the last 100 years and is responsible for the bulk of climate emissions. In other words, the rest of the world will starve because of us and somehow we can justify building walls to protect ourselves. If there is a thing as "evil" it most certainly is that.
Huh. Wow. I remember being at a presentation Chris gave in Dubuque Iowa of all places back in 2007 or 2008 as he explained how the Obama campaign was using Facebook. It was one of the first high profile campaigns to do so. I thought it was brilliant back then for a presidential candidate to utilize social media... What an amazing idea! But now I hate everything. (Was it always this bad and we just didn't see it before?)
>Every pharmaceutical sales rep is an immoral cancer on our society.

This seems like one of the most cleanly horizontally divided opinions in all of the US - where nearly everybody agrees loudly and strongly with it except the wealthy and powerful. I wish a presidential candidate would have the balls to echo this severe but obviously popular thought and fix the fucking system with extreme prejudice.
Part 4 – Transfer Learning Intuition for Text Classification
Monopoly status is legally irrelevant (in direct terms) when it comes to political activity.

Now, it's true that (especially natural) monopoly status is often a justification for laws imposing common carrier rules, but such laws have not been adopted which apply to Google in the activity in question , whether or not such would be a desirable policy, so their alleged monopoly status isn't indirectly relevant that way, either.
Ozone Threat from Climate Change
More than a modem, they also get a gigantic patent portfolio to fight off Qualcomm's trolling
Sure it does! Let's go back to DD's old system where people are blissfully unaware that tips go straight to DD's bottom line and none of the money goes to your driver.

All you see as a Dasher is that there is a new delivery for a 'guaranteed minimum' of $10 which in this world means that you will almost never receive anything other than $10. You take the job, deliver the food, and find out after that $3 of that was tip. You take another $10 job and find out that $0 of that was tip.

In this world there is zero expectation of a tip because almost no one tips outside the app and in-app tips are worthless. The reason tipping is expected is because ...it's expected. You're an asshole at a restaurant if you don't tip because ~15% is the baseline, in DD's world the baseline is 0%.

I'm not exactly sure why you're trying to guilt yourself into paying more for the exact same service to a person that is not expecting anything extra. You're doing the equivalent of tipping the cashier at the grocery store.
According to Intel's latest quarterly report[1], 2,200 employees is ~2% of their entire employee base. Kinda reminds me how massive these companies are.

[1] https://www.intc.com/investor-relations/investor-education-a...
Agreed. It is weird that they just hash the phone number and don't salt it with something else. Even just appleid+phonenumber would be huge and prevent pre-attacks.
The game board is a well ordered grid, I can't fathom why you'd not organise it into an array. The cell object has 3 completely redundant fields. Most of the code just checks the mined parameter of cell objects, but for some reason there is also an isMined function. The code placing mines uses its own data structure to keep track of where mines have been placed, rather than the board data, and manages to be O(n^2) instead of O(n) because of that choice.

Overall it is code that takes a lot of unnecessary detours.
I can see advertising that a condition exists and or a treatment for it exists. But, I have no idea why naming a specific drug benefits the public.
Paper: https://journals.ametsoc.org/doi/10.1175/JAMC-D-18-0263.1 (paywalled)