Better HN
topnewbestaskshowjobs
Log inSign up

Asmod4n

933 karma · joined Sep 3, 2015 (11y ago) · 506 submissions

Submissions

comment 2d ago · link · parent

You can just move subsidies from corn to protein based food. Agriculture eats around 33% of all payed subsidies and 33% of that goes to corn.

The food pyramid everyone gets shown at school is reversed to how it should be.

comment 4d ago · link · parent

Haven’t seen a YouTube ad in years on iOS, or do you mean the lack of sponsor block?

comment 4d ago · link · parent

In around 10-15 years they could stop using coal when the trend for solar and wind continues like it does.

What gets shipped in around 2-3 years and what’s being done in research looks very promising

comment 1w ago · link · parent

For 15+- years it’s common practice to refuse any mails from a Server where the glue records don’t match.

comment 1w ago · link · parent

Labor costs for a car are in the single digits percentage wise, in Germany. It’s laughable to blame the workforce for mismanagement.

comment 2w ago · link · parent

Hm, I’ve seen a degradation of 5.5 yesterday. I’ve had a session running for around 50 days and it just started to generate garbage and ignored all rules. A fresh one feels the same as always

comment 2w ago · link · parent

I keep one git repository as the shared memory for every agent session.

1. I got a set of rules how it’s allowed to do work, and more importantly: what’s forbidden.

2. One state file per repo. It’s getting recorded what was tried, its results and the learnings from the experiments.

3. Tasks as Org mode files, one file per task and who works on it, aka codex, Claude code and which model.

Agent Hooks hold this together, the task and state files get updated automatically.

Code work happens on one branch per task. A second agent reviews each plan before code gets written.

I’m still baffled how well this works.

comment 2w ago · link · parent

I’ve build myself a framework how a group of agents can verify if it’s done a good enough job.

After around 30 days I’ve implemented around 90% of how you manage a team in emergency medicine by accident and then applied the rest of it to it.

I’m quite happy with what they produce.

comment 4w ago · link · parent

Lenovo sells such a display. Built in mic, cam and speakers.

It’s also a usb c dock with a Ethernet port

comment 1mo ago · link · parent

zfs send/recv doesn’t do networking on its own?

comment 1mo ago · link · parent

Have a framework how the AI is allowed to work and keep that as a git repo.

That way you can tell AI 1 to write into it and AI 2 can see where every work you do is currently standing and continue from there.

comment 1mo ago · link · parent

epoll is kinda slow compared to io_uring, I am typically getting double the perf just switching to uring.

comment 1mo ago · link · parent

Apple also has no api to write a fast server.

Libdispatch is a burden to use for a server because of its book keeping overhead, and their history with kqueue makes it hard to convince someone to use it.

comment 1mo ago · link · parent

Jup, all currently running containers got deleted on my account. Hope you guys got your stuff pushed to somewhere before the outage.

comment 1mo ago · link · parent

I am building something similar, with c++26 reflection. So any language can use c++ libs with only a few lines of boilerplate in a lifetime and memory safe way where possible. And where it’s not possible to infer the safe lifetime of an object i got a small .toml file which tells the lib how to safely use those functions.

comment 1mo ago · link · parent

Well, let’s hope rust is better than std::simd from c++ here which lacks the capability to emit some intrinsics.

Gcc and llvm can tell you if they can’t Auto vec a function, maybe rust could turn this into an error at comptime.

comment 1mo ago · link · parent

The issue with libraries which offer you portable simd is that the auto vectorizer of the compiler will likely generate faster code.

comment 2mo ago · link · parent

So far all sessions I’ve started with opus 5.5 have avx512 support, not like all other models where it’s a dice roll each chat.

comment 2mo ago · link · parent

sysadmins CI is hoping the machine still boots after an update. Unless you are lucky you got two identical machines to have a test env.

comment 2mo ago · link · parent

Loads of hosting sites do this, username.domain.tld is the most common one.

comment 2mo ago · link · parent

Sadly glibc made the choice for everyone that you have to recompile constantly to keep your app working.

That’s one of the biggest issues keeping Linux small on the desktop since nearly no commercial oriented company works that way.

But it looks like we will soon be able to „virtualize“ the dynamic loader so glibc has no say in this matter anymore.

comment 2mo ago · link · parent

Win32 is the most stable abi on the Linux desktop.

comment 2mo ago · link · parent

The tv does care which port it came from, since it automatically switches to the one which made the request.

One could build a IR emitter but you need soldering skills for that or buy a usb one which cost north of 30€ + shipping.

comment 2mo ago · link · parent

There is sadly no hdmi CEC support on Most GPUs for pcs. So when you want your tv to turn on and off with your pc it is only possible with the tv being reachable from your pc via ip.

I believe LG doesn’t advertise such an api via Bluetooth

comment 2mo ago · link · parent

to not let the bytes i forward enter userspace, i serve from the page cache for the asset path, directly from a zip file.

i open the file, mmap it, close it and tell io_uring_prep_send which bytes from the mapping to send, this also saves me from a possible SIGBUS cause the access to the mmap happen inside the kernel, and when a SIGBUS would happen in userspace the kernel just reports a shorter send in cqe->res

comment 2mo ago · link · parent

How can one memcpy from a fd to a socket? I don’t touch the bytes in userspace, I just tell the kernel to send them out.

comment 2mo ago · link · parent

For responsiveness that’s what you want, context switches add quite a lot of jitter and perceived slowness’s, making your app feel slow despite running at 120 fps.

comment 2mo ago · link · parent

Tried every way to get contents of a file as fast to a client socket as possible.

mmap and io_uring_prep_send were faster than everything else, no matter the size as long as you keep the map around for the lifetime of the process.

for one off sends when a file is smaller than 256kb then io_uring_prep_read + prep_send are faster than everything else.

12345
17