skysight-inc/HackerNews huggingface dataset:
Let's say there are two cars with two drivers. The first, with a human driver, is deadly under traditional human scenarios-- the driver could be drunk, texting or eating or distracted. They could make a slow decision, be looking the wrong way, stomp on the wrong pedal, etc.

The second driver is a machine. It sees all around it at all times and never gets drunk. But when it fails it does so in a way that to a human looks incredibly stupid. A way that is unthinkable for a human to screw up- making an obviously bad decision that would be trivial for a human to avoid.

Now let's say that statistically it can be proven that the first type of driver (human) is ten times more likely to be at fault for killing their passengers than the second in real world driving. So if you die, and it's the machine's fault, it will be in a easily avoidable and probably embarrassingly stupid way. But it's far less likely to happen.

Which type of driver do you choose?
PHP hosters have been doing this for 20 years. You have 100s of customers on a single machine, running with a single Apache/PHP process (and child forks), and only if that Host+URL of a customer is requested that PHP code actually gets executed, then completely discarded from memory after its finished.

PHP is very much comparable to serverless. All that talk about bootstrapping costs in serverless is something PHP developers have been tackling forever.
Man I used to have jobs where I'd come in at 10:30 and leave by two, and I mean in a normal company that 'expected' 9 to 5.

I've never owned or used an alarm clock.

I did however manage to save the project on more than one occasion.¹

When people complain I tell them I'm an ability guy, not an availability guy. If they don't like that then I move on.

¹ One time I hacked a buggy compiler we received from IBM that was preventing us from presenting a demo at a trade show. I did it in 8 hours and we made the trade show in time.
I live in North Florida and feel the same way about central and South Florida (Florida man anyone?)
I think the State of Jefferson in California also feels the same way.
Local government should decide these things, not state government.
How did they handle the fact that transport of paper bags has a significantly higher energy cost?
But it is a device that does everything. In the end it doesn't matter much which software module delivers the functionality. It is still a device in your pocket that does it. And even a stock iPhine today is more capable than feature phones of those days. People manage to navigate that complexity rather well, all things considered.
This helps but doesn't really solve the problem—I don't have a good way to carry a reusable bag around with me, and doing so doesn't help the environment in my case.

I understand why a law was needed, I just wish they'd gone with a surcharge, which would likely have solved the core issue.
Poors are called Poors because they do not have disposable income to buy non necessities like Reusable bag.

If you are going to create new necessities then you must provide for poor first.

People don't realize a bit of expense is what acts like a straw that broke the camels back.
What good is that if you don't get the magic piece of paper at the end that says "I went to Harvard"?
The difference is that the loopholes rich people use generally actually exist, while the "loopholes" advertised by sovereign citizens are obvious nonsense like "by filing the right paperwork I can make the government give me a million dollars they're keeping in a secret bank account for a government-created corporation that's named after me except with all caps".
How do plastic bags end up in the river? Do people just throw these things on the ground or into the river?

I wish anti-littering laws could effectively be enforced, but I realize it's tough to do.
> Turns out your car has a habit of glitching like this every 165,000 miles or so (which seems to be the average accident rate) for no apparent reason.

People do equally inexplicably stupid things as well, due to distraction, tiredness or just a plain brain fart.
We visited Austin and had no idea about this law. We were at the mall and picked up a shirt, had no bag, paid for the shirt, and then walked around with it feeling like a shoplifter.
I think it's worked out quite well, honestly. The ones you now pay 10¢ for are much higher quality, and I can use them for a bunch of stuff around the house, where the old ones were so feeble as to be only minimally useful even as grocery bags (tended to tear/rip even on the walk in from the car, etc)

As for their effect on plastic pollution in the biosphere, developed countries already contribute very little, simply because they have sanitation services that collect trash and use landfills. And plastic in a landfill isn't hurting anything. The major source of plastic pollution in the environment comes from rivers that pass through countries that have minimal to no garbage collection. That's the pressing issue to solve. Plastic bans in single-use bags in cities is, IMO, minimally to not effective in terms of plastic pollution per se, although the quality of the bags in use has now gone up, which is nice.
If you don't have distributed backups handled, then you're just putting most users in a worse situation. Now they can lose important parts of their digital life in one disk crash.
What’s wrong with paper bags for your use case?
The problem starts when a landlord has a "financial incentive to get rid of a tenant". At that point it's a non-consenual business relationship and it's no surprise when it becomes toxic.
> But if you think car companies have never promised something they weren't sure they could deliver, you're not aware of the incumbents' unfunded pension liabilities.

Can we just get rid of whataboutism here entirely, please, HN?

One wrong does not excuse another.
That is not entirely correct. Swoole already takes away a lot of the CPU heavy code, like HTTP protocol parsing by providing it in its C extension.

For one of my PHP extensions I benchmarked the C level implementation to be 5x faster than Jitted PHP code: https://beberlei.de/2019/03/25/the_jit_in_relation_to_php_ex...

So no, if your Swoole application does a lot of async I/O and its only in CPU code to delegate between I/O, then it will not benefit from the JIT.

"Long-Running process" alone doesn't mean that its CPU bound.
Why is loosing energy required for particles to clump together?
This is anecdotal, but having lived on both coasts, public defecation is not nearly as prevalent on the East Coast.

New York doesn't have a public bathroom system per se, but government offices like libraries are extremely prevalent, and those will have public bathrooms. Some stores also have bathrooms that are more or less open to the public.
Generally people know when they see it. I suppose you refer only to legal definitions of how people look.
The Intel ME can be accessed over the connected ethernet even when the PC is shut down, as long as the power supply is attached.

SA-00086 as an exploit is available through the ME.

VISA is available for access by the (compromised) ME.

This seems threatening enough to me.
Then if you need those features on a regular basis, you have to make a lot more clicks to access that hidden menu. I personally really like the Microsoft menu paradigm where I can either click on the File, Edit, ... menus or press Alt and then a memorized sequence of characters. It allows for discoverability as well as efficiency.

The Emacs equivalent also works nice: press a memorized key binding for something that you do frequently, or press M-x to type into an autocompleted (and fuzzy searched, with the right packages) list of commands for some particular functionality.
Why we do that at home (uk) and we are by no means poor
I think the point he wanted to make is that even an educated guess can be a decade off.
I can't use them as garbage bags because they can't hold anything even slightly wet, like food scraps.
A CakePHP Tools plugin containing useful helpers, behaviors, components, shells
The “trick” was to add fake lane markings; did they test to see how many human drivers are susceptible to the same attack?
It's usually not even in the contract (most contracts were supplied by customer). Contracts usually have something to the effect that the customer will pay for travel. You can justify this by saying that because your place of business (usually your home or office) isn't nearby, and your work does not require you to be on-site, you will charge for the actual time spent on travel to and from customer site. You have to be firm on this, and be prepared to walk away if they refuse. I haven't once encountered any pushback, though, even though my hourly rate was pretty high. Also, where I couldn't park for free, I'd pass through parking as an expense. Clients are cool with that too. Somehow they don't allow any of this shit for regular employees, for reasons that I don't quite understand. :-)
> If the average person thinks they're better than the computer when the computer is better than the average person, the average person is incorrect.

Until you remember that to obtain statistically significant evidence that the latest version number of Tesla (or any other firm's) software is safer than the average driver entails hundreds of millions of miles of driving. And for that matter that the "average driver" accident rates are skewed upwards by the number of incidents involving people who you'd never, ever volunteer to be driven by [in their state of intoxication].

In the mean time, the human heuristic that a car which tries to kill you by accelerating at lane dividers isn't safer than your own average level of driving skill in many circumstances is probably better than trusting exponential curves and the Elon Musk reality distortion field.
Joe (the author of this post and pthreads extension) has been working on a new threading extension in the last months that looks extremely promising and more along the lines of goroutines than Java style threading:

- https://github.com/krakjoe/parallel
- https://blog.krakjoe.ninja/2019/02/parallel-php-next-chapter...
I find this a little hard to believe as you described. A company whose main reputation based on a $70k minimum is going to throw that away over a measly $5k a year?

Was your friend a contractor? Did he require a work visa? Was he based in the US and working at their office? Was he actually being directly employed by them or through an intermediary?
Because whether or not something could have been designed and made differently is a difficult, subjective, decision.

We're not talking about the need to have cops decide whether 71MPH was too fast or not. We're talking about whether your customers would hypothetically have been as satisfied with an iphone that was 1mm thicker, because if they would, there's a law which says you have to make it repairable. Bring your expert witnesses and panel surveys to convince the jury.
How to setup Redux – minimise boilerplate, speed up development
Here it is in a rather ambitious toy assembler language created specifically to play tetris using Conway's Game of Life rules. Trying to grok it will melt your brain on multiple levels.

http://play.starmaninnovations.com/qftasm/#jllHdnBGSP
13 years later and it seems we've gone too far in the opposite direction. Dumbed-down, unconfigurable interfaces with no "depth" seem to be the norm for new apps now.
And the proper paper esp.
If locks are needed to protect property and safety, something critical has been ignored. It's probably best if society faces that problem and deals with it.

If formal schooling is needed to educate children, something critical has been ignored. It's probably best if society faces that problem and deals with it.

If medication is needed to keep people healthy, something critical has been ignored. It's probably best if society faces that problem and deals with it.

There are no silver bullets, only bullets. Ignore them at your peril.
I think the main theory for how the dark matter free galaxies form is that they somehow lost their dark matter component. Perhaps in a collision with another galaxy.

So in that scenario it's quite possible that the dark matter part of those galaxies is drifting around on it's own somewhere. I don't know that we'll have any way of detecting them soon though...
The "city" is already sprawling, and the outskirts are already far from where people want to live. A lot of my coworkers commute in from places like Fremont, an hour away from the city in good conditions and who knows how long if BART or the Bay Bridge gets backed up.

Meanwhile, I understand your point that "many people are unwilling to live in small apartments" but those people are by default not part of the demand in San Francisco itself - they're part of the demand in Gilroy and Freemont, perhaps, but not San Francisco.

But "not being willing to live in small apartments" is not the same thing as not being willing to live in medium/large townhomes / row houses, which can accommodate vastly more people than live in most of the suburban expanse of the Bay Area. Just to make a dumbly over-simplified point, you could theoretically convert every ranch house in the bay area to two victorian townhomes and that would add room for more than a million new people, which I'm sure would make some dent in demand.

Likewise, most of San Francisco's land area is occupied by 1 and 2 story buildings (Sunset, Richmond, Excelsior, etc.). Just going to an average of 3 stories would add a hundred thousand or more new homes.

Regardless, while you may be right that demand is MUCH greater than supply and we'd need to add a million homes to make a dent, that's not a valid reason to do nothing.

If we're not going to build more housing here, why not limit employment growth here and create some pretty major programs to move jobs OUT of the city and take some of the housing pressure with it. There's nothing stopping us building a big new city at moderate density between San Francisco and Sacramento, for example, and if the whole corridor was linked by reliable, fast transit service then it doesn't need to be a traffic nightmare either.

TLDR; defeatism doesn't help, the economics here aren't THAT complicated we just don't seem to have the political will to do anything about it.
What version of TPM does this apply to? I've yet to dig deeper into TPM, but what I have read so far is that TPM 1.2 is a nightmare, but TPM 2.0 starts to get reasonable.
Editing of sites is now live–thanks for your patience :)
I also love that I can put things in Word's Quick Access toolbar and then Alt+1 will do the first thing, etc.
Was going to talk a bunch of smack about pen-testing, but instead, if someone were offering this service, I'd love to go head to head with them to determine who delivered more value over time and money, a pen-test vs. a risk assessment.
CATL achieves 304 Wh/kg in new battery cells
Or, better yet, a UI builder accessible through that "advanced features" menu that lets the user decide what is accessible and easy.
git-ssb was one of the inspirations for Radicle, we're big fans of the project and we've spoken to cel, the author of that project a few times. one of the most meaningful distinctions is visibility in the network, git-ssb repos are distributed through the Scuttlebutt social graph, while Radicle projects are seesed to the whole network. We've written a little on this in the FAQ, 4th question: http://radicle.xyz/docs/#faq
This is basically TSA Pre and Clear.
I've had a reasonably good time with Laravel (versions 5.x), although not having a lot of experience with other stacks (say, django), ymmv.

That said, I don't think it's so profoundly amazing as to be worth learning PHP if 1) you're not already somewhat exposed to it or 2) the place where you work doesn't already use a lot of PHP.
Except he doesn't explain how to pay for it as far as I can tell. He has four funding sources that don't come close to adding up to the $3 trillion he would need to fund a UBI. The $800 billion for a vat is incredibly generous but even assuming that he can only come up an additional $500 billion by assuming that everyone will prefer a UBI over other government programs. He also assumes $100-200 billion will be saved by the government due to lower costs of other government programs.

Even assuming everything adds up that still only gets you to $1.5 trillion, you still to come up with another trillion at least! Borrowing the money will result in the US running the largest peacetime budget deficit of any developed country ever. A budget deficit of 15% of GDP would be at least 3 times what the budget deficit was at the height of the Reagan era. It's simply disingenuous to claim that this is par for the course for advanced economies. It isn't.
> Or are you really a very regular whimsical shopper?

All the time, yeah. I don't usually plan to go shopping, I just walk into the grocery store when I pass by.

I probably will use paper bags—but, ironically, I feel crappy about the environmental impact, since I can't reuse them as garbage bags.
On the other hand, they have been moving to frameworks with separate templates and long-lived processed serving multiple requests - just like every other languange. But mod_php and logic mixed directly into the templates were the two main things that made it so easy to get started with, so with PHP moving to the same model as other languages, why not use another (even nicer) language?
As someone who worked in the hosting industry before moving to supporting and consulting on cloud stuff, it's a couple of things.

A handful of projects really are the driving reason for PHP's ubiquity.

Wordpress/Joomla, phpBB/Invision/vBulletin, Magento...

The demand for support for these and some smaller and similar projects really drove webhosts to need to support PHP, and for a lot of the standardized tooling webhosts used, such as cPanel/WHM and Plesk, to support not only PHP, but the automated installation of these projects.

Sure, WordPress wasn't the first - phpNuke, Postnuke, etc, were really popular CMS tools before WP, but if we're talking staying power, you really can look at the stuff I listed as being why it has stuck around.
I've moderated some forums in my time.

The fact is the folks who REALLY want to be moderators, are almost always the folks who should not be.

When I moderated a large gaming forum years ago, anyone who lobbied too hard was automatically out as a moderator candidate, the pattern was just way to clear that the folks who want to moderate badly, are the worst. It was amusing as when you denied those folks, they usually did something terrible... (forum rules wise, not really terrible).

I agree, one of the issues with Reddit is that there is a chain of moderators who bring their buddies along or seem to horse trade moderator duties. I've seen more than one sub have issues after these full time mods show up as moderators in forums they don't seem to have participated in (yes I know they use alt accounts) and behave as if they do not understand the forum.... or just don't actually do anything and the forum falls prey to the usual low effort memes, "hey look at this pic" and such issues.
In so far as the rule of law means ensuring that actions have predictable consequences, I view it as imperative that we automate as much of the legal system as is technically possible (not saying we're there yet). In the US, federal law is growing increasingly complex, not to mention the added uncertainty introduced by judicial activism (judges reinterpreting old laws, ostensibly to make them fit modern society). As a result, the legal system is completely backlogged and unpredictable, requiring people to expend a lot of money retaining top lawyers who know how to game the system. If machine learning can help make the system more predictable, it could, on balance, improve the rule of law and the spread of justice, even if in a small fraction of cases a decision is made that differs from what a judge would have decided.
A Comparison of Assertion Libraries
Can you tell me something about how you manage backups or point me to any guides used for setting this up? I use the same Hetzner setup for some small side projects and my backup strategy here is just a daily pg_dump and archive on S3.

For larger projects I usually run Amazon RDS and don’t worry too much about backups.
My Gmail spam folder has emails from Google Cloud in it which I find amusing because it states the following:

> Why is this message in spam? It is similar to messages that were identified as spam in the past.

Oh really Google? You've identified your own emails as spam? Well then!
If that’s true then it is a solvable problem, use green energy.
How to get people to do so? Carbon taxes for example, and other means.
Wikipedia lists 3 Tesla autopilot deaths since Jan 2016. In that time about 4 million people have died in road accidents caused by humans. I care about the deaths but 4,000,000>3.
>Malicious content is embedded in such emails

Isn't that what content scanning is supposed to check for? I mean, it's not like they're not scanning the email body for keyword extrapolation, anyways, right?

To be fair, though, Stripe should change their SPF record to hard-fail (-all).

;; ANSWER SECTION:

stripe.com. 600 IN TXT "v=spf1 ip4:173.193.210.51/32 ip4:166.78.69.60/32 ip4:198.2.180.60/32 ip4:13.111.2.227/32 include:spf1.stripe.com include:greenhouse-outbound-mail.stripe.com ~all"

stripe.com. 600 IN TXT "docusign=4a93db58-af07-4632-a881-b569d41a6c57"
The irony is you've deviated so far from the average population that it's worthless to tell people to just "do this" because virtually no one is listening.

Yeah, if you come from a good school, got a job with no experience and a degree with no loans, and you are 'smart', you can easily become a millionaire. I'm sure all 3 people with these qualities are thanking you right now.

Actually, you will not become a millionaire within 4-6 years of graduation. That's ridiculous.

Graduates do not get paid 250k p/year. Not even in finance positions. And reliable stocks are too long term of an investment to expect a payout in 4 years with no risk. You live in a fantasy world, sir.
Perhaps instead of destroying the environment to help the poor, we should simply give the poor more money and stop them being poor at all.
You have no capital exposure if either you (a) work full time and your living expenses are $0 e.g. parent's basement, or (b) you have a job to pay your living expenses and work on your business in your spare time and value your spare time at $0.
This isn't the right question since any answer you get today is probably not going to be how it's done in the eventual future when it actually is solved. "Nano drones with scissors" is exactly what someone in 2019 would say. The point is that it's a known unknown.
Quickest Charging Electric Cars Compared at 175 KW Charger
Please explain. Just holding a mutual fund won’t generate any taxable events... except for dividend/distributions... just like a stock. Buying and selling ETFs are also treated just like a stock.
Erasing SSDs with Blkdiscard (On Linux)
One of the reasons I think spammers have been so successful has to do with companies only.

Because companies send a LOT of spam emails / promotions etc that they have to come up with alternate domains to send emails. On customer side its very difficult to know the truth.
Taking a wild guess, but I would figure it's about distinguishing statements about truth values and statements about sets. If you think of it as a function, takes in two booleans and returns a booleen. Likewise ⊂ takes a thing and a set and returns a booleen. I've never really been a fan of ⊃, and always personally preferred an arrow.
Right and it's great for travel too. I love it.
Weird title. Made me think this was for the original IBM PC and its clones but it seems to require at least a 686 (Pentium Pro). By that time the term IBM PC compatibles was already obsolete.
Michael Jackson's Neverland Farm Mulls on Land Market