skysight-inc/HackerNews huggingface dataset:
I'm using earlyoom on desktop, systemd-oomd on servers.

Due to cgroupv2, systemd-oomd tends to kill entire process groups instead of a single run-away process [1]. It's perfect for servers where almost every process is part of a system service already.

For desktop usage I found this behavior unacceptable. I would sometimes get my entire X session killed when trying something dumb (which is the reason I run such a daemon in the first place), or my editor when spawning a helper subprocess...

earlyoom was the simplest daemon of the bunch I tried, and worked out of the box without special configuration.

[1] Or at least this was the state ~1yr ago.
There is a client-side solution, even if not the most elegant.

I'm paying a domain, this way i have 100% control of my e-mail alias, even if my current provider (google) goes south, i'm still able to host the mail on my own server to retrieve accounts, and maintain ownership or the alias
This has the downside of mixing properties/attrributes with children.

So, in `div`, `class` is a property, but `input` that immediately follows is a child of the component
> - practically need to buy a new keyboard to type all the symbols like '≈', '≠', 'ƒ', etc

You just need to configure a Compose key. I encourage everyone to learn how to do this, it opens up a huge character repertoire that can be easily remembered how to type.
> I suspect that most of the pro-israel side would be against israel comitting genocide

What is that "pro-Israel" side? Was the White Rose "pro-German" or "anti-German"? That whole framing is broken from the get go.

And after you take issue with me calling it genocide, you counter with what you "suspect"? Come on. One of the five acts constituting genocide as defined by the UN Genocide Convention is "imposing living conditions intended to destroy the group". And we have Israeli pundits openly talking about making Gaza "unlivable", we have IDF blowing up civilian infrastructure after posing for selfies in it, e.g. https://twitter.com/muhammadshehad2/status/17317722618482647... , Netanyahu is on record invoking Amalek... what more do you want? 70% of the homes in Gaza destroyed or damaged, and so on.

> of course there are probably some extremists out there, but one hopes they are a small minority

Here's the finance minister: https://twitter.com/MairavZ/status/1741187628618133846

Here's the mayor of Jerusalem: https://twitter.com/jocelynhurndall/status/17330649265606495...

Here's the security minister: https://www.middleeastmonitor.com/20231024-security-minister...

That is what Albert Einstein warned about a long, long time ago. This is what Yeshayahu Leibowitz meant when he referred to "Judeo-Nazis". If you use some vague "hope" to not face what is there, right now, you ensure something even more horrible in the future.
Quantitative Petrography with Machine Learning
More RAM. It's the only thing that can reliably prevent it. Magic SysRq key[1] can trigger the OOM manually, which can sometimes rescue the system if you notice it soon enough. But if you run into the situation regularly under normal use, not programs running amok, more RAM is a must.

If you can't upgrade the RAM, zram[2] is also worth a try.

[1] https://en.wikipedia.org/wiki/Magic_SysRq_key

[2] https://en.wikipedia.org/wiki/Zram
> It's the closest we can easily get to the 'average user experience'

You wouldn’t be really taking the average here though would you? You would be capture the experience someone might have if they were in incognito, using google for the very first time, or using google on another device for the every first time, but not the “average experience”.
Yes. As I said I looked for it. So this is someone writing from the perspective of today.
I guess it's the RuneScape subreddit ? for some reasons it seems that Jaggex, the RS parent company have partenered with a third-party company, Peanuts, that sells things to players. And it's quite controversial.
executives forgetting to reinvest into the company and shoving money into the C-suite. Why does that sound so familiar these days.
Wow, my first thought reading through it was "wait they're just wrapping XML in JSON, what in the world is happening here", eyes widened after reading the completely contradictory introduction, until I saw the reason for that RFC.
Unofficial Unity Remake of the Elder Scrolls II released
You mention underfunded, but not overfunded.

The civilian nuclear reactor operators in the US used to have to pay to a waste disposal fund, that currently has more than $44 BN [1]. This is well above what one would need to do the job: the total cost of the WIPP, which is the disposal site for the military waste in the US [2] was/is $19 BN, and there's twice as much military waste as civilian waste.

> Countries that don't have a site like Sellafield must instead operate other storage facilities and handle unexpected costs related to them

Why? It's like saying that every state in the US needs to have a waste facility. One is enough. I don't see why every country in the EU that has nuclear power reactors needs its own long term disposal place. Finland built one, other countries could use it.

Plus, in the not so distant future we'll be able to significantly reduce the amount of high level waste by burning the actinides in it, and separating the unburned uranium (mainly U-238). This is not just pie in the sky, about 2 weeks ago Russia announced they have started manufacturing nuclear fuel with actinides extracted from waste [3].

[1] https://www.cnbc.com/2021/12/18/nuclear-waste-why-theres-no-...

[2] https://en.wikipedia.org/wiki/Waste_Isolation_Pilot_Plant

[3] https://world-nuclear-news.org/Articles/Mixed-oxide-fuel-wit...
> Even if you have to remember an email address for account recovery, you want your internal identifier for accounts to be meaningless. This will make your life much simpler in the long run, even if this is never exposed to people.

This is the solution.

The rest is an implementation detail ;)
A few examples come to mind: geographic regions that already have codes or abbreviations associated with them (e.g. a FIPS code or state abbreviation in the US), simple enums (though I really only bother putting these in a table if they’re used in multiple places). Have to be careful using a string as the clustered index of a large table, though. Smaller tables with shorter string keys that experience very few writes are most ideal for these cases.
What about the historically common pattern of forgetting the password?
There are no gas stations on Mars. /s
If you're learning Python, and know other programming languages, I have this online ebook [1] that I use with my students so that they learn Python fast enough so that I can teach them about socket programming.

Basically, in each chapter I give a small detailed introduction to the topic and then students do some exercises to solidify things.

[1] https://github.com/joaoventura/full-speed-python
I didn’t like any of the other solutions I’d seen! And besides, you’re talking about someone who hosts a yearly Wheel Reinvention Jam… https://handmade.network/jam/2023
It's not a problem for me or my waist in practice, no ;)
I've bought the rice based on someone touting it on HN. It is good.
I agree with the assessment that there are not many systems we can predict 10 years out with great confidence, specifically geopolitics.

But I do not think I painted much of a picture of Tetlock's results.

I read the article as concluding: let's stop predicting, it does not work. Let's start building. (After stating we cannot predict this, and we cannot predict that.)

And I think Tetlock"s result contradict that, as I said. Sometimes and under certain circumstances we can predict quite well.
> now from a first glance it would have the more senior copyright claim.

So what? What matters is authorship, not the date at which it was published on this or that website. Even if a website copies your text, no matter the date, that is still your text and still copyright infringement no matter what if you didn't license this text to them.
What if the domain expires?
I got £2000 for reverse engineering Psion 5 Word and Sheet file formats (for a Psion based company) in 1998. I tried to get a job with the same company but they didn't want me, which is very sad.
> I wonder why the system can't just stop giving the process memory when it's starting to become critical

If you turn swap off the allocator will error out when you are out of memory. I don't think most software handles that error but all the wiring is there to do that.
On the other hand, at least in my experience, Windows becomes laggy much sooner than Linux. IMO which of the two behaviors is better really depends on the use case.
Since Linux has Unix-legacy and is usually intended to be used on servers, there is one well-intended assumption at play here: unless different settings are applied, all processes are in principle created equal. This also applies to GUI applications, and means that a single out-of-control application can lock up the whole system.

That's actually fine on multi-user systems. A competent admin would set up tight limits and prevent one user taking over all resources, and intervenes if they mess up. On single-user machines, this limitation is not there because there is effectively only one user. And since desktop Linux is not a priority for most Linux vendors, this scenario sees comparatively little consideration.

In comparison, on Windows some applications (at least explorer.exe and the task manager) seem to have way higher priority. No matter what else is going on, the user must be able to use these application to rein in other applications. The drawback is that there is no recourse should explorer.exe ever lock up.
> Maybe this is reinventing the wheel?

I believe something like that exists on mobile platforms for memory, at least on iOS you get a message (applicationDidReceiveMemoryWarning:) when the system is memory starved and wants your app to free memory. If you don't release enough memory and the memory pressure doesn't go down, the system will start killing apps.
In Java you can set an uncaught exception handler, so you can make sure exceptions are caught in child threads from the parent.

In Go, defer blocks are only run for the panicking goroutine. Other goroutines do not run defer, the program simply crashes.
How to Fight Bad Patents: 2023 Year in Review
Can you recommend any learning material on XSLT that is not focused on the transform-XML-to-HTML use case?
> Salt and salary: Were Roman soldiers paid in salt? (2017)

Education system failure.
I also assumed the other TCO when I clicked through, which would have been an interesting take to read for sure (particularly since Bun is so new, so I was wondering how much data would be backing this analysis), but I'm not a strong functional programmer so any time someone covers functional-adjacent topics, it's interesting to me!

I'm with you on wanting to learn and explore more about Bun's main advantages though, the bundled tooling and some of the convenience APIs feel like well-planned time/effort/maintenance optimizations.
How social media's biggest user protest rocked Reddit
At the risk of this being tongue-in-cheeck: if you have a rogue process, any amount of RAM is going to be eaten up.

(It sometimes happens in software development and it's nice if it doesn't take your machine in swap hell as a result.)
> A recall was issued therefore there is already regulatory oversight where it counts.

Just because a recall was issued doesn't imply that there's a regulatory oversight. And even that oversight exists in that particular case doesn't mean it is applicable to other areas.

What it does mean is that you're weak attempt to paint software being exempt because it "doesn't lead to food poisoning" is weak and uninformed at best.

> The CRA is at best redundant

It's not

> at worst a prime example of regulatory capture

Again, it's not.

Just because you engage in FUDing, doesn't make your words true.
I've seen companies ask you to enter any password that you remember.
WMDs would also be about threat to empire.
How many planets are there in the galaxy?
Yeah, the git history will back me up in any actual copyright dispute. I just have the date in the footer to keep my website from looking old and stale.
Major pornography site blocks users in NC in response to new law
Maybe standardized time zone IDs
The startups we lost in 2023
We now have absurd-sql, wa-sqlite, and the official SQLite project all running in a browser. Their tradeoffs are discussed here https://www.powersync.com/blog/sqlite-persistence-on-the-web

That article was written in July, and in the intervening time, Chrome's announced an intent to ship "Multiple Readers and Writers in File System Access API" aka `readwrite-unsafe` [0] in v121 (stable in 2 weeks) which could help improve SQLite's performance even more.

[0] https://chromestatus.com/feature/5172892632875008

Edit: It looks like wa-sqlite already has a prototype VFS taking advantage of the above feature https://github.com/rhashimoto/wa-sqlite/discussions/116
The problem with benchmarking that claim is there's no one true "json decoder" that everyone uses. You choose one based on your language -- JSON.stringify if you're using JS, serde_json if you're using Rust, etc.

So what people are actually saying is, a typical protobuf implementation decodes faster than a typical JSON implementation for a typical serialized object -- and that's true in my experience.

Tying this back into the thread topic of search engine results, I googled "protobuf json benchmark" and the first result is this Golang benchmark which seems relevant. https://shijuvar.medium.com/benchmarking-protocol-buffers-js... Results for specific languages like "rust protobuf json benchmark" also look nice and relevant, but I'm not gonna click on all these links to verify.

In my experience programming searches tend to get much better results than other types of searches, so I think the article's claim still holds.
The model can either generate probable outputs or score the likelihood of given inputs.
I’ve noticed this too, make -j and boom hard lock only option is to reboot. Really annoying l! Windows kinda deals with it but it has other issues; I have also noticed this behavior on MacOS.
The reason they put "express" in the name is pretty impressive too. Putting together the spacecraft for the mission was very quick and cheap. (relatively) I think because they had the satellite bus left over as a spare from another mission.
There is no good identity.

Emails change, people lose access to old emails.

People dislike usernames, they want to be able to choose non-unique ones rather than end up with user53267 or something inane.

People lose devices, just storing a secret UUID in their cookie, or using a passkey from their device isn't going to work.

There is no ideal solution except to blend a variety of things together, for some people email is pretty stable for long time and they like it as the identity, for others their usernames are stable and they prefer that as the identity... though I know of no-one that has had the same primary device for more than years (not decades) so perhaps that one will never work.

I do think this is important though, where it comes up a lot is a work email account, a first.last@company.com, and how all of the vendor software utilises "Sign in with Google", and it's the email address they then store in the vendor app as the identifier...

People get married, people get divorced, people transition, people move culture and choose new names... names change, and so do email addresses.

Perhaps OIDC and the like needs a new extension: a standard API to change a username, and a standard API to change an email address.
> Emphasis on “just as well” because in this scenario the systems are not getting better, you’re not getting an upgrade by switching, you’re just treading water.

Modern messaging systems allow me to do much more than AIM. I can send and receive very high quality photos and other files. I can video and audio call all around the world at zero cost. I get very little spam on WhatsApp/imessage.

> What people aren’t realizing is that if we had interoperability we would have had competition and after 30 years we’d see 30 years of progress in messaging systems unlike the lack of progress we’ve had.

We had interoperability with phone numbers, but I saw no improvement until AIM/Skype/MSN Messenger/Google Talk/WhatsApp/iMessage came along.

With the previous “interoperable” system, I had to pay for international audio calls and SMS/MMS, so I never did.

So interoperability does not seem like a guarantee of progress, and things might even stagnate due to interoperability requirements. Pros and cons for both.
I don’t think your last line is called for.

That said, I would hope no one would read this article and think an x220 is actually a good computer for most modern uses.
If you google TCO, at least where I am (North America), "Total Cost of Ownership" is the first result - and the dominant one on the first page of results.

It's also the main definition of TCO that most people are probably familiar with, me included.

This felt like a reasonable clarification to make.
This is just a way of making the purchase seem bigger than it is. In that 25 years if you took home 50k EUR annually you would earn 1,250,000 EUR. Reducing that to 1,247,000 for 25 years of value feels much less life changing.

You also won't be tied to the this one thing, if it's Netflix today it would be some other form of entertainment later.
XMPP absolutely has cross server support, it was designed from the ground up to do so. You can run your own server and advertise it via DNS, which will then allow other servers to communicate back and forth with users on your server.
> "Leave" as in "ethnically cleanse themselves, never to return"? So what's all this song and dance about pretending to not be on board with genocide about?

Ethic cleansing is about mass relocating people, while genocide is about mass murdering them. They are two different phenomena.
> Email addresses are not good 'permanent' identifiers for accounts

No s~~H Sherlock!
It's hard to tell, given the leading voices of Brexit were each pulling in their own directions and alternated between discounting each other as "not true Brexit"[0] on any specific detail vs. "look at all these other people who also voted for Brexit this proves my vision is the democratic will of the people" when the alternative was keeping the status quo.

[0] For example the end of Theresa May as Prime Minister and Westminster voting against all possible variations on how to do Brexit: https://www.dw.com/en/british-mps-vote-against-all-alternati...
In my mind, this is fine, as Firefox predates the standard by a long time. But newer tools specifically should know better.
If he's single, $70k for CDMX (Mty or Gdl, the other two metro cities) it can work, if he wants to raise a middle-class family not so much.

Rents are $1.5-2K/month in nice neighborhoods (buy range $250K up); taxes are high with a 16% VAT across the board, income taxes are high as well for this bracket; and don't get me started with schools, cars, insurance and the like.

Yeah probably half the population would 'kill' for a $70k job, but they want English fluent, highly-educated, middle-class people, cherry on top, with top notch tech skills. Those candidates either want, U.S. SDE level packages or can make more with run of the mill no-name companies remotely.

I still don't know anyone who has worked for U.S. level pay as a FTE or contractor, take a position with a subsidiary office in Mexico, the salary discrepancy is too great.
You missed a decade of complaints? Under the previous ownership, videos of Tesla “FSD” making dangerous decisions were a Twitter staple for years.
I think this is a backend issue in that for the user, their id is email, but within the systems’s data the primary key shouldn’t be email.

Is anyone still doing this? It’s like the most basic db design issue to not use things like email as the identifier and instead have a lookup table that maps things to a truly unique id (uuid or maybe auto increment from a sequence).

The article doesn’t really make this distinction so it almost reads like how users should be aware of this abstraction.
C# Regex engine is now 3rd fastest in the world
Presumably because today is already 31 Dec 2023, and almost 2024.

It's going to age even less well in a couple years.
Gaza and Israel are at war, because Gaza attacked Israel. In wars, countries don't normally allow aid in to the state you are fighting. The fact that Israel allow anything in at all shows the extent to which they are fighting with kid gloves. In any other place or any other period of history all goods heading into Gaza would be seized, and the entire territory would be put under siege until they either surrendered completely, or died of starvation/thirst.

After all, Hamas need to eat. If nothing gets into Gaza then Hamas must stop fighting.
> Is this irony ? That the US is creating a "peaceful space" ?

Front page on the BBC: https://www.bbc.com/news/world-middle-east-67851897

It is worth educating yourself on the role of the US Navy in peace, safety, and stability around the world, including:

- freedom of navigation (which underpins global trade, 70% of which requires sea transport)

- security of global communication networks

- deterrent to intimidation of countries, particularly in South East Asia

- coordinating and supporting disaster relief efforts around the world

- etc.

US Navy and Foreign Policy: https://www.cfr.org/backgrounder/sea-power-us-navy-and-forei...

History: https://www.fpri.org/article/2010/09/defending-u-s-maritime-...
Letting a domain expire is usually under your own control
Yes, there should always be some sort of unique identifier that is not tied to the users name or email. Display it in the user info, but really it shouldn't be used for anything outside of the technical integration with sso.

Ideally, it would be something like a guid.
> If the numbers are correct, this is indeed completely unrealistic. No one needs 4 liters of salt per week [...]

Isn't the same true for pay in denarii? Based on what Wikipedia says about denarii those 1350 denarii per year would be just over 118 g of silver per week. No one needs 118 g of silver per week.
I just built my own SSG using Markdown for source documents with JSON metadata as "front matter". If I ever need to switch to something else, it should be pretty easy to auto-convert everything. I tried existing SSG tools (Hugo, Grav) but didn't like them. They felt too complicated, with many features I don't need or want.

I have a Tiddlywiki too for personal notes and stuff, and while the portability is great, authoring content is annoying since you pretty much need a custom application or web server to handle changes. That kills a lot of the cool factor IMO.

But I think TW would be great for documentation in a project. Instead of requiring a static site generator in my git repo to compile the docs (or just expect users to browse them via text editor), a self-contained TW would work out of the box. Small edits/contributions should also be relatively easy even without a browser plugin/app, since you could just CTRL+S and send a PR with your changes.

EDIT: although I guess reviewing a TW diff wouldn't be easy, at least in the typical Github/Gitlab UIs