Better HN
topnewbestaskshowjobs
Log inSign up

Zefiroj

14 karma · joined Sep 5, 2023 (3y ago) · 21 submissions

Submissions

comment 3w ago · link · parent

Actually, there are some ingredients that you need to increase linearly and some that are good to do in steps, others you actually might need to increase sublinearly and some not at all. And all of that could depend on how an ingredient is used in the recipe. I think this is actually quite useful.

comment 3w ago · link · parent

AI is fantastic at creating recipes. I've been using it to adjust and tweak recipes according to my cooking experience and my specific equipment, and it tends to do quite well, at least as a first pass. It probably has internalized more science than most recipe creators. And honestly, New York Times cooking recipes are a hit or miss at best.

comment 2mo ago · link · parent

Sports is fundamentally entertainment. Let people do what they want.

comment 1y ago · link · parent

Check out the lru_gen_min_ttl from MGLRU.

comment 1y ago · link · parent

> But if you do that, things like the USPS donkey train [0] would be stripped, the US military would / should be reduced to a fraction of its current size or down to nothing, etc.

and that is a problem because? These are funded by tax dollars collected. It's impossible for people to stop paying for them whether they make sense or not.

comment 1y ago · link · parent

in a sense, RCU is garbage collection.

comment 1y ago · link · parent

I wonder how well the caching works. The FAQ says 30 days, so you might be getting a pretty stale result. That combined with Google's "fun fact: 15% of all Google searches have never been searched before", makes me wonder how identifying these queries can be.

comment 1y ago · link · parent

The rust language is not well-specified, and if you take rust as the language specified by the compiler, then it has many soundness bugs. So even if you stay within "safe rust", you can segfault.

The "memory safety" of rust is oversold since "safety" is not formally proven for the rust language. While anecdotally memory-related bugs seem less likely, rust without unsafe is not absolutely safe.

comment 1y ago · link · parent

There's a good balance between preventing accidents and reducing friction.

One person having "god-mode" access isn't usually that terrible.

comment 1y ago · link · parent

Funny enough, Google is still on cgroup v1. Writeback is also very aggressive such that most of pagecache is clean.

comment 1y ago · link · parent

The author has identified the issue to be memcg reparenting causing a spike in CPU usage. Reparenting mostly solves a problem with zombie memcg, where the memcg lingers because some resource is still charged to it. In the extreme case you can end up with tens if thousands of zombies. The zombie memcg problem is not unique to cgroup v2, but reparenting is fairly recent.

The article solves the cpu spike by disabling the io or memory controller, but if one would like to use those controllers, a better way to charge memory would be nice.

It is unfortunate that it's clear where the memory should be charged, but the kernel does not provide reliable way to deterministically charge that memory. If anyone has any design ideas, please feel free to chime in!

comment 1y ago · link · parent

Linux excels at drivers and device support. The actual kernel is nowhere near as good as its competitors.

comment 1y ago · link · parent

nix-ld[1] and envfs[2] provide a decent workaround for unpatched binaries, in case you haven't heard of these tools yet.

[1] https://github.com/nix-community/nix-ld [2] https://github.com/Mic92/envfs

The blog post linked by [1] is quite good.

comment 2y ago · link · parent

I get some horrendous peering at home, and proper DC networking is not going to have that problem.

comment 2y ago · link · parent

star-triforce

comment 2y ago · link · parent

The support for mTHP exists in upstream Linux, but the swap story is not quite there yet. THP availability also needs work and there are a few competing directions.

Supporting multiple page sizes well transparently is non-trivial.

For a recent summary on one of the approaches, TAO (THP Allocation Optimization), see this lwn article: https://lwn.net/Articles/974636/

comment 2y ago · link · parent

The cheesecake factory, amongst other chains.

comment 2y ago · link · parent

It places a moral judgment on economic growth and production.

Which I find deeply confusing as these precisely correlate with QoL compared to life 100 years ago. E.g. the air conditioner was just invented and way more expensive 100 years ago. With the attitude of "as successful as its least privileged soul", I doubt the air conditioner would be nearly as available today.

comment 2y ago · link · parent

It shows that their interest is in a "sustainable ad-driven economy model with privacy deemed acceptable by Mozilla", and an "agent of the user".

I suppose it shows who's paying Mozilla.

comment 2y ago · link · parent

Ostensibly huaqiangbei has a few ways of getting around the activation lock.

But a more common scenario is the phone gets used for parts. As for the icloud account. AFAIK you used to be able to get the full account email with GSX. Not sure about now.

comment 2y ago · link · parent

You can. They're called chromebooks.