skysight-inc/HackerNews huggingface dataset:
I can't say I've noticed a big difference, though I usually go to YouTube knowing about what I want to watch.

I've seen so many people suffer in real life from getting sucked down YouTube rabbit holes I try not to rely on their content discovery mechanisms.
The article doesn't seem to discuss one of the most fundamental guarantees of current-day DB-application interaction:

Acknowledged writes must not be lost.

For example, if a user hits "Delete my account", and gets a confirmation "You account was deleted", that answer must be final. It would be bad if the account reappeared afterwards. Similarly, if a user uploads some data, and gets a confirmation (say via HTTP 200), they should be able to assume that the data was durably stored on the other side, and that they can delete it locally.

Most applications make this assumption, and that makes sense: Otherwise you could never know how how much longer a client needs to hold onto the data until being sure that the DB stored it.

This can only be achieved reliably with a server-side network roundtrip on write ("synchronous replication"), because a single machine can fry any time.

The approach presented in the article does not provide this guarantee. It provides low latency by writing to the local SSD, acknowledging the write to the client, and then performing "asynchronous replication" with some delay afterwards. If the server dies after the local SSD write, but before the WAL is shipped, the acknowledged write will be lost. It will still be on the local SSD, but that is not of much use if the server's mainboard is fried (long time to recovery) and another server with old data takes over as the source of truth.

This is why I think it's justified that some other commenters call this approach a "cache" when compared with a multi-AZ DB cluster doing synchronous replication.

The Litestream approach seems to provide roughly the same properties as postgres-on-localhost with async replication turned on. (I also wonder if that would be an interesting implementation of this approach for Fly.io -- it should provide similar microsecond latency while also providing all features that Postgres has.)

As I understand it, Fly.io provides Postgres with synchronous replication (kurt wrote "You can also configure your postgres to use synchronous replication", https://community.fly.io/t/early-look-postgresql-on-fly-we-w...), and https://fly.io/docs/reference/postgres/#high-availability explains that it uses Stolon, which does support synchronous replication if you turn it on. But the "Postgres on Fly" page doesn't seem to explain whether sync or async is the default, and how exactly I can turn on sync mode on Fly.

So I think it would be helpful if the article stated clearly "this is asynchronous replication", thus making clear that it will likely forget acknowledged writes on machine failure, and maybe link to Fly's Postgres offering that provides more guarantees.
I’m surprised and sad that UST blew up before tether
With CO the issue is that it binds to haemoglobin and stays bound to it permanently. Only a small proportion of CO2 in the blood is bound to haemoglobin (~10% [0]) so the real issue is that the O2 carrying capacity is reduced. As red blood cells are constantly being replaced limited exposure is not a long term issue, but this is a process that takes weeks. This means that someone with acute exposure cannot be helped with supplemental oxygen (or just being taken outside) unlike with CO2.

CO2 in high concentrations causes issues through various mechanisms with a major one being that it impairs your ability to absorb O2 and other cellular disruption through increasing the pH of your blood [1]. This can cause unconsciousness in seconds at high concentrations and other potentially fatal impairments even at lower levels.

So CO poisoning is worse as there's no (easy) therapy for it but it is still very possible to have fatal exposure to CO2 if you are not able to receive fresh air in a immediate time frame (minutes).

There is also the general issue that confined spaces might be low on O2 as well, as described in this video on confined spaces in ships [2].

[0] https://www.ncbi.nlm.nih.gov/books/NBK532988/

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5380556/

[2] https://www.youtube.com/watch?v=uNVj_JpZia8
R Bookdown
What bothers me most about the recommendations I get are the videos I have clearly watched. "You recently watched this clip, so we at YouTube think you should watch it again."
What I noticed is how sterile and sanitised the comments are. You don't see any negative comments anymore.

Also if you search you will get random unrelated videos mixed with your results.
How hard is it to migrate if/when.
It's classic but is it good in 2022?
Not OP. I guest he put his UST on Anchor to earn the 20% interest.
minecraft intensifies
This is fundamentally different though, they never claimed AFAIK to be backed in that way like eg. USDT/USDC do. It's supposed to algorithmically maintain its peg, by being swapped with LUNA. I think the idea is that if it drops below $1 then people will swap it for LUNA, which burns the UST, reducing the total supply and increasing its value. And likewise you can swap LUNA for freshly minted UST, I think - so if it gets above $1 people will do that and the increased supply will push the price back down.

I don't understand what was expected to happen if LUNA dropped 50%+ as it has, and as all non-pegged cryptocurrencies historically sometimes do. I might be missing something but it seems like this sort of peg can only hold if that LUNA token has low volatility.
How to Build a Translation Function
There wouldn't be any more information, but it'd look nicer and might perhaps be easier to process / interpret without the spikes.
Have you done something like this before? I would love to know about the feature addition, maintainability, struggle (?) etc. behind that.
Depends on when you are asleep and how you act when you wake up to help your colleagues.
If you offer more to depositors than you charge borrowers, it's never sustainable you're making a loss.

If I make £3000 in interest from borrowers on a set of money and give away £5000 in interest to depositors of those same funds, even before I account for the costs of operations (systems don't develop and run themselves) I'm making a loss.

You seem to be suggestion luring people in with a high rate and then dropping it later. That only really works if there's some kind of lock-up to prevent all your depositors fleeing as soon as you lower the rates again.

If you lock-up funds, generally you have to guarantee the rates for the period of the lock-up otherwise that's a bait-and-switch, which is generally going to get you into legal problems :)
I genuinely don’t understand why Google got it right with Circles, realizing we have different orthogonal interests… but all my YouTube subscriptions go in a giant pile, as if advanced math, news, and rap videos are fungible content.

I want some ability to create sets of channels with a focus and only access that when I want to.

I think the problem is that YouTube has always been a manipulative and exploitative platform — targeting your psychology with algorithms. Now, it’s ratcheted that to the point it’s creepy and unlikeable.
At least in Germany, there does exist a movement (YouTubers Union) that demands that YouTube should pay more to the creators. YouTube, on the other hand, denies that it makes money. So the question whether YouTube does make money or not is a highly politicized one in the German area.

German Wikipedia on YouTubers Union: https://de.wikipedia.org/wiki/Youtubers_Union

Website: https://youtubersunion.org/
Where do you see "celebrating" in the article? Over half of it is devoted to worker pushback against surveillance and criticism of the technology itself, including whether it even works.
How about a library to enable operational transformation for this format? I wrote one once, but got really burned out with some of the stretch goals (log compression for 3+ participants).
> I basically can't open youtube.com without wasting 10 minutes

It's the opposite for me. These days when I have 10 minutes I open YouTube and there's nothing interesting. It recommends me irrelevant stuff, stuff I've seen already, shorts or trending video crap interspersed in between in case I've suddenly become real interested in the Kardashians and football news.
"someone dedicating years of studies to understand the state of the art in a scientific field and THEN doubting results."

That very same argument was and is done on the theological level, too. You doubt god? You just haven't read the bible enough. How dare you criticize someone who spend 40 years studying it? Do the same and then you understand and maybe can start criticizing. (I was told this many times in various forms.)

So critical questions are the core of science. Even if they are ignorant ones, then you can point them to the subject they are missing.

And sure, not every ignorant answer deserves to be answered. Time and energy are limited. But appeal to authority is never a good scientific argument. I rather believe they erode the fundaments of it. There likely are many wrong models around and usually wrong models don't get challenged by the established institutions.

(Max Planck: science progresses one funeral at a time)

But of course, in your example, there was no critical question. So no science. Those people I tell to create a structured argument first, if they want to have a scientific debate.
To the surprise of absolutely nobody.
Depending on your expected lifecycle of the app, you should use an adapter between the DB and the rest of your app.

Have an interface made up of clear methods which you do all your business through. That way, if you want to change the DB, you only need to rewrite the adapter.

I believe SQLite is a great, low-insallation-needs portable DB you can start your project with. If it turns out your startup gets millions of users, you can afford to switch.
How do you feel about writing this in a community spanning thousands of people across tens of countries and providing only a fully ‘literate’ approach as per the GPs comment?
I am a data enthusiast, I have never thought about Julia as a viable option. R is the gold standard, Python has those C backed libraries.

I talked to couple of engineers about MATLAB vs Julia or X vs Julia. They said the company pays for whatever they do that includes computational time, error handling time and obviously paying for the software.
Before Filecoin, there was Sia: Try a hands-on demo of its file storage tech
A lot of businesses operate at a loss for the sake of growth early on, including a lot of the unicorns from the last decade or more.
Python 3.11: possessive quantifiers and atomic grouping added to re module
It’s absolutely worth it for the people you’ll meet playing the game. I’m in Iceland right now for the annual player meeting and it’s been a blast. Many alliances have internal tools which interface with the game and external crowdsourced market data, and it’s common knowledge that those tools are better than real world logistics software, so working on them is a great way to learn how to build relevant products.
1) Do you have any evidence that the price of gas affects who people vote for? (And what about the prices of other things that are vastly more expensive, like health care, education, and housing?)

2) Do you actually believe that in a privately financed duopoly, elected politicians are responsive to voter preferences as opposed to donor preferences? For example, voters overwhelming favor campaign finance reform. Whereas campaign donors and elected politicians overwhelmingly disfavor campaign finance reform.

3) Does most of the public actually understand and believe in the consequences of climate change, in the stark terms that you've stated? Whether the public favors a particular course of action at the present, and whether the public favors the ultimate consequences of that course of action, are two entirely separate questions. The fact that you, by your own admission, are perfectly willing to participate in killing hundreds of millions of people, with foreknowledge and eyes wide open, doesn't imply that everyone else feels the same way.
It was beautiful.

I played probably 8-10k hours across three characters and 8 years. So not that much ;)

The world used to be much harder to get into, requiring a ton of RW time, RW skill and grinding to really progress. Then each seperate workflow (PvP, PvE, industry, extraction, scanning, ...) became safer as well as easier to grok and master as a single user.

Then there was somewhat of an eternal september amongst a dwindling population as the old guard finished dropping out.
> That's a different deal than some body squeaking around tax law; this was all about trying to change parts of the nature of capitalism's tendency to rerun money to capital more than to labor.

No, this was a small group successfully lobbying to reduce their share of the costs of running society. AKA special interests.

> Until we have that base level of security for all, we need things like massive redistribution, which includes carrots like opportunity zones, as well as sticks like taxes on land and monopolies.

If you're going to redistribute wealth, do it in a broad, simple way (UBI/negative income tax). Not through millions of tiny special interest gifts like 'opportunity zones'.
You could have a look at https://teachyourselfcs.com/ which aims to cover most of what you'd get from a degree with books and videos.

Not for complete beginners to programming though.
I deliberately cast a wide net on YouTube and I'm not coming across all of that sort of junk on a frequent enough basis for it to annoy me. The "algorithm" is pretty good in my book and tends to surface things I would genuinely find interesting, so I'm curious why it isn't for you. Do you use subscriptions a lot? I have over 1000 subs so YouTube really knows what I'm into which might help.
Ask HN: Write simple code that even a junior programmer can understand?
The following advice is often said by developers:

If your code is meant to be read by other developers, then no matter how experienced you are a programmer, your code should be so simple and clear that even a junior programmer can understand it.

This belief or advice is often repeated in articles and in comments on forums like HN.

But is this a belief that everyone agrees with? Or is it a belief few programmers practice in real life?

What are the examples of medium-sized (or larger) open-source projects written in simple and clear code suitable for programmers of all levels to understand? Are there standard libraries that meet this criteria?

In contrast, programmers often confess that [insert framework here] is full of 'magic'. I've even read complaints from developers that some SSGs (static site generators) are the opposite of simplicity of when reading the code. Does this suggest that 'magic' is actually the more common scenario among programmers?

Could it be that the experienced programmer avoids writing code at a junior-level comprehension because of the gaze and (silent) judgment of their colleagues?

Your thoughts?
I would love if there was a setting to tell YouTube that I'm interested into topics, not people. I sometimes don't watch semi interesting videos, because I know that the person is popular and that if I watch one video, my video overview will be spammed for the next week's with uninteresting content of that "popular person".
I dislike the removal of the dislike button.

If you disagree with me (or the OP), and feel like downvoting me, please look in the mirror.
As Lenin put it, "a journal which speaks for British millionaires". It hasn't changed.
Apple, Google and Microsoft team up on passwordless logins
Ok, if you have to worry about that, than the solution is probably rather to get a divorce. (are secret cameras a legal way to get evidence?)
I spent a summer or so playing Eve maybe 10 years ago. I eventually joined EVE University to get a taste of the social aspects. One of my most cherished gaming related memories is still going with them into nullsec space for the first time and the moment where our scouts reports that we've just run into Test (which was like the biggest alliance back then?). Obviously we got shot to shreds. :)

Haven't played the game since, but it is pretty damn comfy and I'd recommend anyone to try it out.
I've researched some more and come upon this article: https://kash-defi.medium.com/why-ust-is-a-superior-stablecoi...

I'd be curious to hear whether you still think it's a scam after reading it.
Do you have any other WASM-based clients?
Your are talking about normal stablecoins. UST is an algorithmic one. Quite different.
cool! will check it thanks
I like it. The spatial element gives some pointers towards order in time too. I think ordering by importance (most quoted, replied) takes precedence.
> The Germans I've met all go into anaphylactic shock at the slightest whiff of antisemitism

While I wish that were true, it’s sadly not (I’m not commenting on the non-quoted part of this sentence in this forum). It’s less of an issue than in several other countries that move further right faster, but sadly, antisemitism is still an issue in Germany and has been on the rise again.
Thank you so much for your comment! Yes, that functionality is meant for people who aren't comfortable speaking or just mute. It would work perfectly for your case too!

We want to release an android version asap, we just need more early access/Beta sign ups to the form on our website. Since this is all open-source voluntary for now, it's a huge investment of time and effort
Programming Style Influences
Great questions.
Q)"How is this different from the current boilerplate tools"
A) This tool will do more than creating the boilerplate. For example, in case of UI frameworks, it'll give you different components based on different design-systems which will be available on Figma.

Also, this tool will act as a superset of all those tools. I'm using the most popular CLI for each language/framework, if there is one available, to keep it as close as possible to developers who're perhaps already using those CLIs.
I don't want to change anyones habit, just making people's lives easier.

Q) "Additionally, "deploy to AWS" is somewhat vague. Deploy as a lambda function? Static site? Ec2 instance? With(out) a DB?"
A) You'll have different options. As I can detect what options are viable for your project I can give you those options in an interactive session and deploy it based on the scenario you choose.
House Panel to Hold Public Hearing on Unexplained Aerial Sightings
There is a lot of technology yes.

The real question is: should it really be used to for that purpose. Does it make sense that the Netherlands is the second biggest exporter of tomatoes in the world? The easy answer to that is: no. The more complicated one is: also no.

To actually produces these vegetables in -let's be generous- less than ideal climate, they have huge gas-heated greenhouses, with 24/7 lighting. That is anything but sustainable.

Of course they are highly-efficient greenhouses, combining heating with electricity production, allowing to minimize the use of chemical inputs etc, etc, etc. But in the end, the gas prices they got were so cheap, that they would simply burn gas to produce and resell electricity, and vent the heat in the atmosphere.. Oh well..

What about them pigs? Does it make sense to have about as many pigs as inhabitants in such a densely populated country?

etc.
You might be missing the point. Dislikes are also feedback to users, the same way you can infer at a quick glance on HN that if a post is 10 hours old, with 30 points, the probability is high that the reward might be low, even if the title appeals to you. YouTube is not just YouTube, it's also a tech juggernaut and thus a UI trend setter. A few months ago they stopped displaying negative feedback to users, a major indicator. They certainly won't discuss with us the result of that experiment, at least when it comes to UX. Telling someone that the topic is not relevant to HN might just be a reflection of your own personal preference on how people should use this community. Also keep in mind that in the past, discussions of that nature stemming from these very threads have at least influenced changes.
Basically eve online extracts the worst traits out of people and has a huge botting problem.
I live in slovenia.

A basic factory worker (a bit above minumum wage), earns 1200eur monthly gross, which (due to weird laws) costs the employer 1393eur (gross-gross), and the worker gets 831eur net out of that, meaning that the government takes around 40%. (the tax rate also includes pension and health insurance)

If you earn 5x times average pay (let's say you're becoming "rich"), that would make it 10k gross, costing your employer 11610eur, and you earning 5167eur net, meaning that the government takes around 55%.

Ok, similar enough,... but(!), with the same cost to your employer (11610eur), you can earn a lot more if you avoid taxes.

Lets say you start an independing contractor business in slovenia (a paper thing, you get the status) - this would make you pay a minimum of ~450eur monthly for health insurance and pension insurance (yes, this would also make you get minimal pension later, but wait for the rest of the math). Then you open a company in bosnia, where you pay ~100eur per month for bookkeeping, a mailbox, and other related costs, and then pay only 10% when you take out the profits. So your fixed monthly cost is around 600eur + 10% of the 11k of your gross gross left over, totalling to 1700eur, and earning 9900eur net, meaning that you effectively pay 15% in taxes. But that's not the worst part... if the company is registed in your girlfriends/brothers/mothers/... name, you (as a couple) still earn the same, but you're now (on paper) poor, so if you have a kid, with some paper turning, the kid will get free kindergarden and food (compared to almost 500eur monthly for two a bit above average paychecks). You might also get a government sponsored apartment to avoid high rents.

So yeah... at some point, dealing with bureaucrats in two countries goes from "not worth it" to "definitely worth it".
Musk getting hold of Twitter is great! And you saying it is the same experiment is part of why.

It is not at all the same.

So yeah, let's continue.

All those things you mention are still happening. Every day.

It is all about who gets to do it and why.

I expect to see those things highlighted soon and when they are, we can have this talk. It may have a lot more value too.
You are right. However I believe that, after some time, beginner Elixir developers become intermediate Elixir developers and they get to used to having a little bit of Erlang here and there.
File system access is going to make some amazing things possible. With that plus service workers, Web is finally catching up to native.

I'm glad to see that other browsers(Except FF) have it.
Unit Tests Done Right (Part 2)
How to test LINQ and mappings in .NET
When the game peaked around 2011 ,EvE felt more of an unpaid second job without pay. But what a job it was! Once you get sucked in, you could spend several months per year playing EvE.

Luckily, CCP screwed things up quite badly, and I lost interest. If they hadn't, I'd probably be stuck playing EvE rather than living in the real world. :D
> block any channel that does this

Isn't there an endless supply of such channels? Or does YouTube notice your lack of engagement?
Without being able to ratio likes to dislikes, every video on YouTube becomes useless for information value. Every video is now for entertainment only, which is what the communist radical left wants - when there is no truth, then whoever shouts the loudest becomes the voice of truth. They have taken a big step towards ruining the internet.