skysight-inc/HackerNews huggingface dataset:
The only issue I have with Fetch is I can't get progress for up/downloading from it yet. Otherwise I prefer it over Ajax in every other way.
Ignoring the fact that XMLHttpRequest is a hideously unlovely API, it's a huge problem when your primary asynchronous abstraction is not implemented by your primary API for async IO.
Basically whoever gets to labels what's harmful misinformation and what is a legitimate dissenting voice is the source of bias. Everything else is noise. The study is a great example of that noise.

Zoom away from the polarizing US "current thing" BS politics and it becomes even clearer. Things like ESG, Nuclear energy, Middle Eastern conflicts, religious freedoms, criticizing China, etc.

The world is mostly gray, and whoever sets the boundaries of good/bad is king (that's why Media is valuable to billionaires and dictators).
Certainly consumer oriented stuff.

The thing notable about every company I've seen relying on GPL code is that what they sell are services/support. People pay Red Hat to be able to email someone when they have a problem. That's it. That's the business mode. Same with MariaDB (MySQL is a little unique in that it was purchased by Oracle, and I can't speak to Qt having no familiarity with it).

That works for B2B positioning, since the cost of support staff scales well when each new customer is worth thousands of dollars in revenue...and doesn't work well for B2C where the cost of support staff won't scale well when each new customer is worth a few bucks.
How did it all start?

I'm not equivocating them --what is happening there is monstrous, as is what's happening to a lesser degree in China and other places, and we are no way there. But the setting of narrative is the same. They are using narrative to achieve different goals. However, the tool is propaganda exerted by undemocratic institutions.

I think we agree it's a dangerous tool that can be leveraged to do bad things. They are being used for bad things in Russia, we're not leveraging this tool for this purpose --but that does not prevent it from being used in the future for a bad purpose.
You're right, and I haven't seen any recent examples so they probably fixed it, just curious to know what was triggering these warnings
Well, what if the lists got leaked, and the secret services no longer can spy on the electorate with these tools? /s
I don't get the fawning over Tesla -- their cars aren't that great, they aren't a great tech company ... they're valued highly and that's cool for their shareholders I guess but why would we want them in charge of any public infrastructure?
Having the same language on both front and backend makes total sense to me and it will bring down the learning curve for engineers to become full stack. Congratulations on this project and great idea!!
Okay, you're right, at least in 2022. I believe it was relaxed in this regard (well placed political "donations" at work) because I'm fairly certain there used to be requirements to recruit U.S. workers first.

Today, it seems that only "willful violators" are legally required to recruit U.S. workers. So FAANG are merely violating the intent of the law, which is stated extremely clearly by the BOL:

"The intent of the H-1B provisions is to help employers who cannot otherwise obtain needed business skills and abilities from the U.S. workforce"

There's nothing debatable or ambiguous about this direct statement of intent.

So these corporations have successfully bribed the right people to make it legal to violate the intent of the law. Which shouldn't surprise anyone but changes nothing about the ethics of the situation. It's still a massive abuse and entirely used for the purpose of increasing corporate profits.
Since you mention you're a junior dev, wanted to suggest taking the long road and (1) listening to what others say (you're already doing that by asking here, but don't overlook coworkers much closer to you) and (2) start reading on the subject. Might I suggest Eric Evans "Domain-driven design" as a starting point, and don't stop there? Reading is not a quick easy path, but you will benefit from those that have gone before you.

Of course, don't make the mistake I am guilty of sometimes making, and think you now know better than everyone else just because you've read some things others have not. Gain knowledge, but stay focused on loving the people around you. ("Loving" meaning in the Christian sense of respect, not being selfish, etc; sorry if that is obvious)
We should now have clear enough evidence to impeach Hunter Biden. Or at least we could fire him from his government position.

For what it is worth, the laptop is far from the smoking gun people seem to think it is. The data is a mess and the story of how the data was acquired still makes no sense. The only thing that has been verified so far is that some of the emails did pass through GMail.

https://www.washingtonpost.com/technology/2022/03/30/hunter-...
What will drive computer performance after Moore’s Law? [pdf]
Depends on the database - I know that CockroachDB supports rolling upgrades with zero downtime, as it is built with a multi-primary architecture.

For PostgresQL or MySQL/MariaDB, your options are more limited. Here are two that come to mind, there may be more:

# The "Dual Writer" approach

1. Spin up a new database cluster on the new version.
2. Get all your data into it (including dual writes to both the old and new version).
3. Once you're confident that the new version is 100% up to date, switch to using it as your primary database.
4. Shut down the old cluster.

# The eventually consistent approach

1. Put a queue in front of each service for writes, where each service of your system has its own database.
2. When you need to upgrade the database, stop consuming from the queue, upgrade in place (bringing the DB down temporarily) and resume consumption once things are back online.
3. No service can directly read from another service's database. Eventually consistent caches/projections service reads during normal service operation and during the upgrade.

A system like this is more flexible, but suffers from stale reads or temporary service degradation.
> I have no idea why there are regional differences

I'm sure it is multi-faceted, but supply management is a big difference. Notably, diary farmers in some provinces voted to impose a quota price limit in an attempt to make it affordable for new farmers back in the mid-2000s. This means that the amount that quota sells for is the same now as back then, even though the fair market value has at least doubled in the meantime.

This has created a market aberration where the quota is undervalued and to resolve it farmers have started tacking the difference onto the purchase of land. In other words, on paper I pay you $x for quota and $y for land in order to stay compliant, even though in reality I'm actually paying you $2x for quota and $y-x for the land.

This, of course, has driven up the price of farmland to unreasonable heights as people notice what farmland is selling for on record. $40,000 per acre isn't unheard of these days. I bet you in Iowa, despite having a climate that can easily outgrow us in Canada, won't see anything close to that.

As farmland prices have risen (up ~700% since 2007), residential sprawl out into that farmland has become much more expensive. This has increased the pressure on housing in existing urban areas, pushing prices up there. And, thus, the Canadian housing problem that's being discussed in the larger scope here.
You just try to downplay struggle of oppressed people in non-West countries for some reason by saying "welp it happens everywhere nothing special". It's so puzzling why Americans do it all the time.
After software swallowed the world, it also swallowed the branding of “tech”.
The problem with this is the assumption that dietary sodium is bad.

People had this weird rage boner against cholesterol. Cholesterol in the blood is bad. So cholesterol in food must be bad too. This is based on the ridiculous assumption that your body just dumps the cholesterol in your body with no processing or regulation of cholesterol in the blood. Suddenly, there is this relevation that cholesterol in eggs is no longer harmful and you can eat as many eggs as you want. In fact, science has progressed so far that total cholesterol levels predict nothing if you adjust for oxidized cholesterol. If you are in a hurry to oxidize your cholesterol just smoke cigarettes or eat heat processed fats/transfats. The saturated fat scare also feels completely pointless. Saturated fats are solid at room temperature and they are harder to oxidize which means all the supposed harmful effects are overshadowed by the fact that they extend your lifespan. People care about avoiding specific causes of death but if your cells simply get damaged slower because they are less reactive? Nobody gives a damn.

How far away are we from reaching that understanding for salt?
> sashimi

I'm cherry picking one thing from your great comment, but is it really risky? If properly frozen, fish is perfectly safe to consume.
Even if 2% of global HNW individuals bought a home in Canada in the last 5 years (and 2% sounds high to me), they'd each have to buy 50 Canadian houses per person to reach that 1,000,000 number.
Very interesting! Looking forward to the next blog post on that ;)
>So the amount of content you take of the larger body makes the distinction?

Of course. The amount of the original work is one of the key criteria on whether something is fair use or not. And there have been debates over whether Google crosses that line or not.

But no one except the most ardent anti-copyright maximalists would argue that so long as something is available on a public web page, anyone can just reproduce it verbatim and distribute it on their own site. Scrapers do a lot of this anyway but doing anything about it is a wack-a-mole game of publications often don't bother.
No, this happens -- in really horrifying situations.
Ditch Your To-Do List and Use These 10 Docs to Make More Impact
This is completely missing the point. If I worked tremendously hard on a piece of time-based art like music or film and someone regardless of legal right, changed the experience of every moment of it, I would be tremendously sad.
You should also add the survivorship bias caveat. If the bursting bubble wipes out the company you're invested in, you never get your money back.
GPT-3 was released 2 years ago, and in that time CLIP, GLIDE, and DALL-Es 1 and 2 have been released. All of this is just from OpenAI too! DL research is cranking along as quickly as ever imo!
No, as was already explained upthread, "the watermark is supposed to survive being re-encoded, so it can’t be something just in the compression algorithm". It needs to be something that survives no matter which subjective decisions the lossy encoder makes.
The problem isn't a technological one arguably though, and that's why all purely technical solutions are probably doomed to failure.

A huge part of the reason senior government figures around the world often choose to use WhatsApp or Zoom is to avoid or reduce exposure to the statutory recording requirements using the "official" comms channel would entail. The UK in particular has had serious chilling effects on government due to the fear that email or official communications will later embarrass you following publication under Freedom Of Information laws. This isn't a hypothetical - FoI journalism is a real thing in the UK and a source of a huge number of stories that can embarrass the Government of the day.

As long as the official channels are subject to strong public disclosure laws that allow the media relatively easy access to many government communications, politicians will seek devices that allow them to communicate "privately" even if that means adopting less secure devices and services. The "threat" they see is FoI/embarrassment in press a lot of the time, not the State level Cyber attacker.

I'm not defending this practice, but I can understand why it happens. I've even seen NHS employees (state employed drs in the UK health service) avoid saying things in meetings for fear of the later FoI reveal if the meeting minutes are published.
Huh? Couldn't anyone just re-encode the lossy version? Though with some generation loss, since a transparent lossy encoding presumably would also preserve any watermarks.
Not to mention the censorship pressure exerted by family values groups’ complaints to the FCC. Those are generally very conservative groups who want to protect children from seeing a breast.
In Sexy Worms, Inheritance Beyond Genes Can Help Evolution
The point is not about parallelization, it's that nixery has to optimize for cache reuse, which is an artificial problem created by docker.

If you have two layers installing an individual packages like /nix/store/x and /nix/store/y, stacking them as [x, y] and [y, x] would result in the same docker image contents, but docker will generate different hashes.
> If you are in this situation, you do not have free software.

For some things, people eventually realize their advantage over keeping the rights is outweighed by making whatever you've done widely available.

The PDF format is another great example and we've seen a number of apps come up to supplement the core tech or implement features that Adobe doesn't care about but someone finds useful.
Did you view the site? It’s the best way to describe it.
MySQL's built-in replication has always been logical replication, and it officially supports replicating from an older-version primary to newer-version replicas. So similar concept to what's described here, but much simpler upgrade process.

Generally you just upgrade the replicas; then promote a replica to be the new primary; then upgrade the old primary and turn it into a replica.

The actual "upgrade" step is quite fast, since it doesn't actually need to iterate over your tables' row data.

At large scale, the painful part of major-version MySQL upgrades tends to be performance testing, but that's performed separately and prior to the actual upgrade process. Third-party tools (pt-upgrade, proxysql mirroring, etc) help a lot with this.
What is insane is when people frame anti-censorship as an alt-right value. That offends people like me who are staunchly liberal but completely anti-censorship to my core.
> People who consume small amounts of a utility still pay more because of people who consume a lot.

No, they really don't. People consuming small amounts and large amounts both pay more due to higher aggregate demand. If it weren't for the many small users the aggregate demand would be lower and the large users would also be paying less—do you consider that a subsidy in the opposite direction? No, of course not—because a price being bid up by competing consumers is not what is meant by the term "subsidy".

Now, if you banned large users from the system, or imposed discriminatory pricing as you previously suggested for the purpose of keeping prices low for the small users, that would be a subsidy: interference in the market to benefit one group at the expense of another.
Elon Musk Is Frugal
Thanks! Any useful pros and cons vs Cloudflare Workers?
Supersonic commercial aircraft (Concorde, TU-144) and ultra large aircraft (Airbus A380 and Boeing 747).
The short answer is that LSP doesn't mean universal LSP. You still need to pick and choose which LSP servers you want to install, because they are language specific. There are dozens of them and there is no point to downloading a C++ LSP if you work in Typescript.
This is why the Saudi leadership invests so heavily in companies like Twitter and other media companies.
Potential Gains in Life Expectancy Associated with Diabetes Treatment Goals [pdf]
Ads based on private conversations is my primary experience.

People talk about something, never look it up, never search for it, never try to buy it, but they see ads for it.
>There is another side to that, in which the pro-Russian part of the Ukrainian population was silenced.

Fiction. Silenced how? They are in parliament, and until recently Russia-sponsored TV propaganda outlets were on the air throughtout Ukraine.

>Before Maidan 2014 the biggest party was pro-Russian (30%) and after Maidan they were forbidden to exist.

More fiction. Party of Regions existed after Yanukovych fled and merged into another pro-Russia outfit in 2016.

>The people of the Donbas have been terrorized by Ukrainian military.

16 civilians died in Donbas in 2021, that's on both sides. 25 died in 2020. It was a very low-scale war and most people were living in peace.

But goodie goodie, Russia has come to liberate them, and is now murdering thousands with indiscriminate bombings, to say nothing of the mass executions, rapes and so on.

>Ukrainians who have nazi training camps for children (there is a whole documentary about them from The Guardian on YT).

This happens everywhere. I personally know someone in Russia who sent their kids to very sketchy pan-Slavic 'rodnover' far-right camps.
this is not whataboutism, it's actually guilty-by-associationism displayed on both sides. Should we blame children whose elderly parents support the war for taking care of their parents, instead of disowning them? Should we blame employees of Google for allowing employees of Lockheed Martin use Google maps during the Syria invasion? Should we blame employees of Yandex for paying taxes and working for a company which did not cease operations in Russia?

Where do you draw the line of association?
Right, but it's a problem with this specific implementation, not something that couldn't be addressed by user friendlier versions.

To be clear, I'm also against any kind of watermark, but I'd rather it be done with an imperceptible (to me) audio signal than with a constant graphical watermark as is usually the case. Actually, graphical watermarks could be smarter and less obtrusive as well.

> The difference is that the graphical watermark on e.g. a photograph usually isn't there when you've paid for it.

The same could be the case for these audio ones. It's user hostile if this is done on already paid content (but again, I can't read the original article to confirm).
Here's the shadowstats chart: http://www.shadowstats.com/alternate_data/gross-domestic-pro...
Respectfully disagree. Whataboutism is when you try to relativize something by citing an equally bad example from some other side. I'm explicitly not relativizing anything. A whataboutist comment would be "the US does the same [so what Russia is doing is fine", which is the opposite of what I implied: "the US does the same [equally bad thing, we should condemn both]".

The war is an unjustified aggression. It is great that Ukraine has been getting international sympathy and support. It would be great if we all had a similar response in the many other comparable cases that unfortunately happened in the past.
Hey it's a 25% raise if you do the math by the hour!

As someone in North Carolina I'm glad I don't have to wake up to headlines of the state government pretending to try to pass strange utopian wishful thinking laws every few weeks. Not that we're perfect either, but the scope of ambition of CA politicians is so very, very, cute.

Has that California law requiring female board members (or else a punitive fine) for CA HQ'ed companies been struck down by the courts yet? I would be flabbergasted if that law survived the courts. Y'all have it strange out there.
I got excited that we were the first ones to have 3.5" in the HP 150 but Wikipedia says the first one to use them is the Sony MSC-70 and even some kind of word processor before that.

I remember how happy we all were when we transitioned from 5.25" to 3.5", such an improvement!
I was already thinking that before I got to "You can also support me on @Patreon!" which I'd be happy to do for well written fiction if presented as such. Why would you ever put the power controls of a microwave at the unknown statistics of ML? Or perhaps that's all true, but how much directed training would it take to pull off a stunt like that?
> In this case, the card is an image file and the third party is math (the smart contract that issued the token).

There's no canonical block chain. So the same image can be resold on any number of blockchains and every buyer can claim to be the "owner" with the same legitimacy. Which is zero legitimacy. There's not even a meaningful way to verify the person selling an NFT had any rights to do so.

With a signed baseball card if you have physical possession of it then you're the owner. You have exclusive control over access to the card. Even if the card's inflated value drops because no one is willing to buy it, you still have a physical card to enjoy.
> How do you explain their success?

Release the source code in the most user-hostile, obfuscated, undocumented format possible while technically in legal compliance!
For listennotes.com, we did a postgres 9.6 => 11 upgrade (in 2019), and 11 => 13 upgrade (in 2021). ~0 downtime for read ops, and ~45 seconds downtime for write ops.

Our database is less than 1TB. One master (for writes + some reads) + multiple slaves (read-only).

Here's what we did -

1, Launched a new read-only db with pg9.6, let's call it DB_A.

2, Stopped all offline tasks, and only maintained a minimal fleet of online servers (e.g., web, api...).

3, Changed all db hosts (no matter master or slave) in /etc/hosts on the minimal fleet of online servers (e.g., web, api...) to use old read-only db with pg9.6, let's call it DB_B. From this point on, all write ops should fail.

4, Ran pg_upgrade (with --link) on DB_A to upgrade to pg11, and promoted it to be a master db.

5, Changed /etc/hosts on the minimal fleet of online servers (e.g., web, api...) to use DB_A for all db hosts. By this point, DB_A is a master db. And write ops should be good now.

6, Changed /etc/hosts for all other servers and brought back all services.

Step 4 is the most critical. If it fails or runs too long (e.g., more than 10 minutes), then we had to rollback by changing /etc/hosts on those online servers.

We carefully rehearsed these steps for an entire week, and timed each step. By the time we did it on production, we knew how many seconds/minutes each step would take. And we tried to automate as many things as possible in bash scripts.
ON DELETE CASCADE can be dangerous when used with applications that expect to be notified of deletions, like in your case.

Ideally, everything that needs to change when a row is deleted would be changed automatically and atomically using database-side constraints and triggers. In practice, applications often need to sync state with external services that the database knows nothing about, so I understand your concerns.

ON DELETE RESTRICT, on the other hand, will result in errors just like any other query error that you can handle in your application. Nothing happened, so there's nothing to be notified of.
Your comment reminds me of “What If You Only Invested at Market Peaks?”

https://awealthofcommonsense.com/2020/12/what-if-you-only-in...
This is what i'm here for.....bravo :P
What Does It Cost to Fix Your Kubernetes Clusters?
I suppose it's possible it was a very bold owl.

One time when I was camping late at night I took a piss out at this fence line facing a wide open field under a full moon. This freakin' huge owl flew right past a couple meters to one side of me, scaring the crap out of me. It was completely and utterly silent; no wing flapping noise. In the moonlight it did look like it was glowing.
So by this logic there is no way to not brick devices when a company shuts down. You could OSS the code but to first order nobody will bother using the community maintained version so it still creates just as much e waste.
Once I discovered `lib.fakeSha256`, I just put that in the derivation, try to build it and then use the error message to find the correct hash to put into it. Probably not the fastest way to do it, but it's easier for me to remember.