skysight-inc/HackerNews huggingface dataset:
eh, my argument is that as long as they are intelligent enough to safely get to the side of the road, I think there's a very large number of people who would be okay with a car that "broke down" every 10K miles if it was otherwise great. (heck, I've been in some sort of breakdown or accident in an uber more often than that, even not counting app failures, so people would probably tolerate a lot more than that if the things were really self-driving.)

Note, you still have the safety problems to solve. You need to know how to get out of the road if the road infrastructure is on the blink. I'm just saying that "I don't know what to do so I will pull over" as long as it doesn't happen too often, is an acceptable answer.
This is a bit disingenuous.

If you haven’t sold you have not made anything - it’s just that the market values the asset you hold higher than what you paid for it.

If you did sell you made 25k for storing your previous savings in the stock market

It is a choice you made about what to do with your money
> A different testing style is property based testing (PBT) with contracts. By generating a random set of inputs, we cover more of the state space than we’d do manually.

For someone new to the way you define property and contracts, the second sentence is not enough definition. The article made sense once I found other links in the article defining property and contracts: https://fsharpforfunandprofit.com/posts/property-based-testi... and https://www.hillelwayne.com/post/contracts/.

I would summarize by saying

> A different testing style is property based testing (PBT) with contracts. By testing invariant properties like commutativity instead of specific cases, and writing the functions under test with assertion-like contracts that fail if they ever attempt invalid behavior, we can test with random input data and cover more of the search space than we would manually.
I was asked by a cousin to help find something old and definitely offline so his kid can learn to type his name, draw on MSPaint (or similar), things that we deem basic but for a below-10yo seem miraculous. He doesn't want to just throw him a tablet and let him be. He wants to have a feeling for computing "the good old way" (not as far as DOS but Win98SE was good-looking enough and could do what he needs).

Please don't trash Win98SE :)
This is ridiculous. Those are three great ways to build wealth. There are infinite other ways, from starting a small business, to working your way into management, to simply saving and investing in a smart way. Where would you get the confidence to say these are the only three paths, and that's it?
Yes it is unsafe yet everybody does it. As long as you accept that some backups may be corrupted, it's fine. You'll still have older backups to go to. Of course, you have to notice the corruption in the first place!

On a snapshotting system such as ZFS it should be fine because there won't be a race between updates and copying the WAL file and the DB file. (Haven't investigated it though.)
Principles of Engineering Management
I was aware of Chaitin constant but not of Chaitin elegance; thank you for the link!
"Despite strong economic performance, a majority of respondents in every developed market do not believe they will be better off in five years' time."

"Fifty-six per cent of the surveyed global population said capitalism in its current form does more harm than good in the world."

Developed markets represent a tiny portion of the "global population".

By and large globalism has caused significant income inequality in developed markets and declining social mobility. This seems problematic until one discovers that in the same 40 years billions of people have been raised out of extreme poverty by globalism and have access to education and health resources that didn't previously.

Source is the book Factfulness or the site: https://www.gapminder.org

This article is woefully misleading.
>I received an amber alert on my phone a few days ago.

I've turned them off. I'm not sure it's much a privacy issue--at least any more than having my phone on is. But the likelihood that I'm going to be able to provide any useful information is miniscule vs. the inconvenience of an alert.

But you're basically arguing for ubiquitous monitoring (e.g. license cameras in the case of Amber alerts) becaause, who knows, it might help someone somewhere.
I'll keep somewhat up to speed with professors that were impactful to me during undergrad, and offer to take them out for a coffee if I'm in their city. It always surprises me how little effort you need to exert to stay on someone's good side. Soft skills will always win.
Thank you.

I would welcome any suggestions you might have. If you'll contact me at john.sambrook@protonmail.com I'll send you the two clips. I don't see how to find your email and I'm reluctant to ask you to disclose it publicly.
I don't get your point?
The warming effects of carbon emissions on the atmosphere was scientifically known and measured back in the 1800s.

Seems reasonable that as the climate warmed by fractions, we cooled by fractions.
Yes, I started doing this with independent authors a few years ago. When I read a book I enjoy, I drop them a note saying "thank you" and citing one thing that I liked about the book. I do not offer any criticism or even a hint of negative feedback.

I have a near 100% response rate - which is usually just a "thanks!" - but I clicked with one author and we've traded book recommendations off and on for ~3 years. He tipped me off to the Passage Trilogy which was great.

Who knew that kind words had a good impact!? ;)
The links don't link to the original repos. Tried clicking on bepis and it didn't go to the repo.
If you have the time stamp you could also reference other areas where he could have walked and get more footage. But the faster you go and get these cottage the better as some are not kept after a few days
When you're too smart, unique, megalomaniac to get a job you probably need to work for yourself.

Entrepreneurship is also the better option compared to wage-slavery. Self-employment is somewhere in the middle.

Try working for yourself and when you succeed headhunters will flock to you anyway.
These are all tactics / campaigns, not strategies. A LinkedIn ad is not a strategy.
Sydney trains have a more forgiving fare structure for this purpose. Scone to Bomaderry or Goulburn is at most $8.86 for over 300 km straight-line distance.
Astronomers find an oddball asteroid entirely inside the orbit of Venus
It depends what you mean by jerk. But no, I probably wouldn't hire someone who is a jerk unless there was no other option and we'd put in place a bunch of controls

There are two main problems with people who think they're brilliant jerks.

i) They're jerks

ii) They're rarely as brilliant as they think they are.

People have this weird misconception that their work stands alone, independent of them or anyone else, and so it doesn't matter if they're a jerk so long as the work is good. This is wrong. When you're a jerk you lower the quality of other people's work.

For example, a jerk doctor is less safe than a non-jerk doctor. https://www.civilitysaveslives.com/academic-papers-1 And https://scholar.google.co.uk/scholar?q=civility+patient+safe...

> Tell me HN, what do I do?

Work out why you're a jerk; work out why you think it's acceptable to be a jerk; work out how to fix it; then fix it.
Ozone Layer Recovery Is Being Undermined by Pollution from U.S. Companies
eh, right now most people are massively underinsured; minimum coverage in California is like $35k, and most insurance companies won't sell you a plan with more than a half million of liability (at least not without an umbrella policy) - if we stop subsidizing driving through pushing costs on to victims of accidents, the cost of driving will go up. But yeah, it should be about the cost of a good umbrella policy+auto policy is now, modulo any savings if the self-driving car gets in fewer accidents.
Would you say the same to someone who has been holding Amazon stock for 10 years? Or Apple? Or has a home in SF?

Unrealized gains are gains. Of course it can go down but no one should subtract that number from their wealth. Appreciating assets are what make most people wealthy.
Show HN: In-Depth Review of PythonAnywhere
Thanks for posting this. IMO, at least in the context of US law and the US Constitution, you're utterly misinformed and wrong.

However, I encounter your defeatism/opposition in some of the privacy work I do, and it's good to see the prevalent narrative so boldly expressed. I would ask readers if they are willing to cede the field to the extent this person does? If not, an important first step in supporting privacy is rejecting the common penchant for defeatism.
I put (kosher) salt on Apples and Watermelon and it is delicious.
It's hard to say. I think a lot of the Rust community actually hails from more of the web world, where security is rightfully a big concern, and the that's where actix was positioned. So maybe with something like HFT it wouldn't be as big of a deal.

On the other hand, very little of the Rust community actually does HFT, or understands the trade-offs. In HFT code, "caching pointers" to just about everything is extremely common, because it's super fast. So you'd be using unsafe a ton. If people got a glimpse of some of the code, I have a strong feeling that some subset would start lecturing (unironically, engineers with a decade of experience in HFT) about safety vs perf trade-offs, and ask "have you actually benchmarked", etc.
I don't even have opportunity to work hard so it's just pointless, though I am from an extremely rural part of a third world.
I'd love to use Postgres with PhotoStructure, but it would triple the installation size (!!), make my code more complicated (I'd basically need to automate common dba work), and Windows support is shaky (last time I checked, at least).

I picked SQLite to reduce moving parts.
Great list, would love to see a budget range for each of the tactics, the definition of small/medium-high budget can vary greatly depending on who you ask!
If you're reading this, you probably need make a majority of your income using your hands, and your ability to type things with them.

Please get yourself a proper keyboard. They keyboard on your laptop, or even a good external one, is likely destroying your wrists. You're injuring yourself.

I highly recommend the microsoft sculpt keyboard. It's cheap (for something that will help you protect your livlihood) and will make a substantial difference in the longevity of your wrists.

Keyboards should be split. If you're not using a sculpt at the least, please change that. You'll thank yourself when you're older.

(Currently typing this on a keyboard.io -- it's a lot more expensive than the sculpt, and a lot of that cost goes to the cool factor of it, imo. The sculpt is a great keyboard.)
Haha, I think that might have been this article I wrote which briefly graced the front page a few months ago.

I collected all of the emails where recruiters started off with "I'm Impressed...".
https://www.iteachrecruiters.com/blog/when-everyone-started-...
An append-only format should work fine with most backup software that copies files. A vacuum phase would still have to do an atomic rename.
To be fair the quote consists of headlines appearing alongside every article in the series, and as such ought to be taken as part of the package - you don't need to navigate anywhere to see them.

Does every single piece need to hammer in how awful someone is when the whole makes entirely clear they indeed are?
Show HN: WebRTC based encrypted data transfer between peers
Unless you realized those gains this is fiction.
You mean this C++ code?

std::vector<std::pair<std::string, int>> s;
s.push_back({"a", 1});
s.push_back({"b", 2});
s.push_back({"c", 3});

I mean let's compare apples to apples here.
> Continuing to use a file descriptor after it has been closed

It would be nice if file descriptors on 64-bit platforms used tagging so the full value could never be reused.

E.g. lower 32 bits is the normal fd and the 32-bit is a serial number (or random value). When using the fd the kernel can use the lower 32-bit as index into the table and check the upper 32 bits are correct.
Disclaim: I'm American and I'm mostly guessing here,

I know that sometimes companies create multiple SKUs of products to get around certain restrictions. For example, if the Coca-Cola in Poland is only sold in Poland, and is different from what's sold in France (let's pretend your flag is on the can) - then they're technically "different products" and don't have to follow the same regulations.

I know the WD easy stores sold at best buy are best buy specific so that they don't have to price match them with competitors, even though what the competitors sell have identical internals.
Changed the title. Also, added the info.

I'm looking for help in limiting the users after certain number of trails per day. Currently, I'm relying on a counter that is referred from the "localStorage" of the page
I've been eating tomatoes in the US my whole life and definitely most people I've met think it's weird eating them plain.
I'm not into gardening myself, but looking at all of the other comments people responded with I can see that you have done a great job -- and also, you know, the fact that it's been doing so well too ;). Nice work :)
Hilarious! Trusting Artificial Idiocy algorithms with such tasks is a recipe for disaster.

You can automate but always make sure actual humans check before publication.
> he vengefully bankrupted a website because he didn’t like how they wrote about him.

This is so uncharitable and dishonest. Sure it's technically true, but I think outing someones sexuality deserves to be noted as more than just 'didn't like how they wrote about him.'
holds Apple stock for 15 years

“Those gains are fiction”
website down?
There is a reason Google's initial DNN project was called "deep dream"- It's because it essentially uses "dreaming" to generate new content based on a source database of unrelated images.

It is making up new image details (highly convincing and realistic new image details) and hence this tech is completely inappropriate for handling criminal evidence.
I've been a user of PythonAnywhere for a while now. This is an in-depth review of PythonAnywhere for hosting Python web apps.

PS - I had deleted the first post due to an error without knowing that HN system will not allow to submit the same link again. Thus I have to create a redirect link.
That depends on your backup solution. Naively copying or rsyncing files can lead to corruption for a large number of applications, including anything using SQLite. With OS or file system support you can make a snapshot of a point in time and copy that. Windows backup for example uses VSS (Volume Shadow Copies [1])) which should not suffer from this problem. On linux you can make ZFS clones or BTRFS snapshots, backup those and then delete them locally.

1: https://en.wikipedia.org/wiki/Shadow_Copy
>what would be the difference between a never-null unique_ptr and a reference ?

Ownership.

> all implementations do use atomic reference counting

They do not.

> exception is the standard way to report errors in C++

Not really, at least in practice. Many C++ developers do not use exceptions at all, with good reason.

>turing-complete language can generate arbitrary things and is not immune to halting problem, news at 11 :p

The point is that a relatively simple syntax error on behalf of the programmer generates an incomprehensible error message. This is just a comical example of that, and a lot of real world code using templates is full of opaque errors at the start. That said, concepts should help eventually.
Somebody asked this question as a reply to one of the tweets and the author replied: https://twitter.com/jxxf/status/1219128189768871936

> We considered a number of options, but decided that the fix was not making it about dates at all but rather offsets (e.g. "t+1 year", "t+2 years", etc.), which bypassed the Y2038 issue.

> We then immediately called something else to do the final translation into dates for the CSV.
> But when at the doctor nurses will always mention something like 37.2 as not indicating sickness.

Note though that they may not be wrong, even if you're sick and you know it from that temperature alone: 'indicating' is a term of art.

More than just 'based on this it does/doesn't seem to be the case that' it means that a specific (guideline-given, perhaps regulated) set of criteria have or haven't been met that tell them whether a certain procedure or whatever should be ordered.

It doesn't mean they can't also listen to what you're saying, and proceed as though it was indicated , making a judgement on that basis.
Insertion sort is very intuitive and simple as well
Favicon SEO
The universe is really, really big.
Perhaps you would prefer the term "middle income." I think your conception of the term class and the one used in the article are different. By substituting the term "middle class" for "middle income"this issue is sidestepped.
Which is a relatively recent thing. How does that explain the trend going back as far as the article calls out?

Without facts to back it, you’re projecting an emotional bias. Either anon commenter is a self loathing obese person or pointlessly finds obese people disgusting. Either way you’ve shown your opinions aren’t worth much
This is an extremely reductive view of rich-vs.-poor. By "reductive" I don't mean wrong, per se -- just that there can be an awful lot more to how much wealth one has than one's beliefs about What To Do With Money.

For years of my life I was, if not precisely "poor," simply not making enough to save a material amount of money. I was nearly 30 before I got the first job that paid me $25K a year. I was not, IIRC, in serious debt then, but savings had never been an option before then -- and what I used those newfound riches to do was move out of the apartment I'd been living in, in an area of Tampa known as "Suitcase City" due to its transient population. (It was also known for high levels of crime.) I still wasn't able to save until that same job's salary was "readjusted for the market" to a whopping $36K.

There are things I didn't know then, sure; the company I was at had a 401(k) plan and I contributed to it, but I wasn't contributing at any higher level than the company matched. When my salary hit (gasp) $50K, that was almost certainly a mistake, but I didn't know that. When I was laid off I had maybe $10K in savings and another ~$15K in investment. By some standards I was still poor, but it was not because I "saw money as something to be spent buying more things" -- it was in part because I didn't know much about the best ways to save for retirement, but in part because I just wasn't making a whole lot of money. Rich people certainly "see money as capital to create more opportunities with," but heartwarming anecdotes about grocery baggers who became multimillionaires notwithstanding, statistically speaking, rich people also tend to hit relatively high incomes pretty quickly in life. (They also are likely to come from similarly rich families, which matters more than we often like to admit.)
This helps. The cost of living keeps a lot of people out and there's a lot of competition for the folks that are here.

In smaller markets the same supply and demand exists, but there are far fewer options and possibly less willingness on the part of employers to compete for new hires.

A tech business in a smaller market might be growth constrained by a lack of talent and that may be fine. Tech employers in the bay area are generally under a lot of pressure to grow.
So, still no HiDPI/Retina support. This is probably the most requested feature since at least Pharo 4, and nobody seems to be interested in implementing it.
Wow, how long did this take? very impressive.

No issues with copyright and such?
We Switched to Elixir
> The best way to get ahead is to inherit wealth.

I think you need to define ‘best’ here. 80% of American millionaires today are first generation wealth, so if by ‘best’ you meant ‘most likely’, you’d be wrong.

[1] https://www.investopedia.com/financial-edge/0810/7-millionai...
Note to readers: Wrong link, this submitter accidentally included the anchor #fnref:D in the URL, so the browser sends you to a random citation entry instead of the beginning of the article.

The correct link is https://danluu.com/everything-is-broken, or if you want to skip the list of bugs and only read the author's thoughts on them, click https://danluu.com/everything-is-broken/#wat instead.
Because above the Maslow pyramid, there's some insanity zone

Seriously: people with too much money quickly get surrounded with yes men, who act as an echo chamber for these persons fears, and deliver them the white elephants they want. An apocalypse is very unlikely. But yeah, have this sweet NZ bunker. It's good for the local economy I guess?

Now they have their nice bunkers, I hope they start fearing death more, and invest in anti senescence research. This could benefit a lot of people besides NZ local economy.
Rust "fearless concurrency" doesn't cover static deadlock prevention or livelock prevention or misuse of C++11 memory model even if you only use safe code.
Peloton goes to court over “connected fitness”
Makes sense. Thanks again! :-)
Social media-predicted personality traits and values match people to ideal jobs
Nothing with words or I get really distracted. Well, unless I really know the music, but even then it's a bit distracting.
We have an insurance policy covering $5k of loss/damage. We have a process rigorous enough to fend off scammers.
I would suggest change "Amateur" to "Starter".

Amateur definition:

"sloppy, not professional looking."
https://www.urbandictionary.com/define.php?term=amateur

"a person who is not skilled"
https://www.oxfordlearnersdictionaries.com/definition/americ...

"one lacking in experience and competence in an art or science"
https://www.merriam-webster.com/dictionary/amateur
You might want to consider reaching out to ClearView AI. Ethics aside, they probably can help you identify the burglars. With regards to the comments suggesting super-resolution, just remember that the Second Law of Thermodynamics prevents recovery of information that does not exist. Neural networks and ML can give you a good guess at what the face may look like, but you won't necessarily get more information out of it and if done incorrectly, might even get a false positive. What neural networks are useful for here is to extract the feature vectors from the face and perform facial recognition on them.
I think lawyers fundamentally premise their work on the variability of interpretation. They make arguments in favor of certain interpretations, and take pains in the texts they write to preempt any undesirable interpretations.

Legislators may or may not think like writers/lawyers, but even if they do they're constrained by those who don't, the need for compromise, and the incentive to have gotten something done even if it's not perfect. So they sometimes end up doing a bad job of legal writing.
Current State of PHP 8
One of the ways to define the set of computable numbers is as the set of numbers for which there exists a program that, given an integer, gives you the n'th digit of this number.

This set is countable: each one of these programs represents a single number, and you can use Gauss to transform any program into a integer and vice-versa. What's amazing is that almost every real number you heard about is part of this set: pi, e, and √2 can all be nicely put into a well-defined countable set.

The set of the reals is uncountable, which means that almost every number is uncomputable like Chaitin's constant.
Or the degree to which entropy gets reduced still isn't sufficient to åfford admissible amounts of certainty on its own.