HNHacker News
TopNewBestAskShowJobs

Asmod4n

928 karma · joined September 3, 2015

submissionscomments
Asmod4n··on Does anyone run Postgres without PgBouncer?
The main Question is: why do you allow clients to connect to your database server, it should be limited to a server which could actually serve the data in a format the client can just render without any logic client side.
Asmod4n··on Asynchronous I/O in DuckDB: Work, Thread, Work
Network IO is heavily NIC queue bound, if your NIC only has one queue it just makes it slower to do any threading workload against it.

On my ryzen 9 it needs around 8 cores to do the same work in a threaded io loop than you can do single threaded. And the mechanism doesnt matter, you could share an fd, use SO_REUSEPORT or just share memory between threads.

Just doing the sharing makes everything extremely slow. One context switch becomes more expensive than just doing it single threaded.

Asmod4n··on Someone is running mass vulnerability scans, spoofing AI bots like ClaudeBot
Routers got such a thing build in nowadays, just gotta enable it (not the ones from your ISP of course)
Asmod4n··on Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript
Edge tabs show up in alt + tab.
Asmod4n··on Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript
Just curious, can’t this be done using a bookmarklet? Albeit it being a bit clunky to use compared to a userscript which runs automatically.
Asmod4n··on Linux kernel will support $ORIGIN, sort of
it's finally the year of linux on the desktop! :)
Asmod4n··on Linux kernel will support $ORIGIN, sort of
Wait, does this mean we can „virtualize“ ld.so now? This could finally solve the compatibility issues glibc causes.
Asmod4n··on Netstrings (1997)
zurl and mongrel2 are using it.
Asmod4n··on Ask HN: How long do you use your personal laptop before replacing it?
The 12 is their convertible, it’s a good couch surfing device but the 13th gen intel i3 really struggles.

But that’s what i wanted, I was looking for a native device to test my apps and libs on to see how they perform on a constrained device.

I got a Ryzen 9 in a desktop when I need speed.

Asmod4n··on Ask HN: How long do you use your personal laptop before replacing it?
Sysadmin who likes to code in his free time.

I’ve bought my last MacBook Pro in 2015 and replaced it with a framework 12 this year.

Asmod4n··on Unexpected Solidlike Fracture in Simple Liquids
All we need to do is to replace all plastics with bio degradable ones. But I guess that will take some time since we don’t have replacements for all petroleum based plastics yet.

Hopefully this will get us recycling friendly plastics for foods in the long run since those just get burned nowadays cause you can’t recycle those we have today for that job.

Asmod4n··on Chat Control 1.0 and 2.0 Explained
The system we got for this is called parenting.

And there is a saying where I grew up: you need a village to raise a kid, I feel like we lost track of that and feel the issues of that now.

Btw, von der leyen is trying to get stuff like this written down as laws since 2009, it got her the nickname Zensursula.

Asmod4n··on It's not about physical vs. digital games, it's about ownership
> Many European countries have draconian laws about air conditioning that are killing people this summer.

There are very few laws which can say what you are allowed to do with your owned house. One of them is when it is of historical value. Then you aren’t allowed to change pretty much anything.

The rest are just landlords who want to fuck you over.

Asmod4n··on Why eval startups fail (2025)
And llms seeing this keep on repeating that mistake, like trying to parse html with regexp.
Asmod4n··on The new HTTP QUERY method explained
Not block, straight out crash the process is my guess will happen here.
Asmod4n··on The new HTTP QUERY method explained
That would be lancom. Good routers, the rest not so much.
Asmod4n··on The new HTTP QUERY method explained
Slightly off topic Funfact: you can buy a several thousand dollars expensive ssl intercepting proxy appliance which doesn’t support anything beyond http/1.1.

Will be fun when those see a whole new http verb, I bet that leads to at least DoS by the track record of that company.

Asmod4n··on Epoll vs. io_uring in Linux
I don’t get what you mean, in the past it was all or nothing, now you can disable every single operation selectively.

Gotta read the usual sources to find out what you gotta disable on your machines, like you have to for every single syscall since forever.

Asmod4n··on Epoll vs. io_uring in Linux
Nothing stops you from disabling everything you don’t need and now io_uring offers that per OP too.
Asmod4n··on Epoll vs. io_uring in Linux
With seccomp you can disable a single syscall which might be exploitable since you didn’t get around to patch your kernel, with cBPF you can now do the same for io_uring
Asmod4n··on Epoll vs. io_uring in Linux
Thanks for that! Hope 2027 will then be the year we get the speed back all those spectre etc mitgitations ate for those syscalls io_uring can replace.
Asmod4n··on Epoll vs. io_uring in Linux
Then just disable that singular function which causes the issue instead of a whole kernel subsystem. The current release can do that.
Asmod4n··on Epoll vs. io_uring in Linux
you can now disable opertions with cBPF, like you would be able to with seccomp for normal syscalls.
Asmod4n··on Epoll vs. io_uring in Linux
That’s solved as of last week, you can use cBPF now to disable functionality.
Asmod4n··on Epoll vs. io_uring in Linux
The main reason why it gets disabled is fixed now, the latest RC got cBPF support and as such you can restrict what OPs can be run now instead of just fully disabling it.
Asmod4n··on Epoll vs. io_uring in Linux
No async io framework exists which utilizes everything io_uring can, they are all build around the poll model. As such io_uring will always be worse than the poll like abstractions.

The two things that make io_uring fast are chaining of operations and zero syscall mode, the former would require that all async io frameworks/libs would need to be rewritten to make use of that and then all user facing apps would also need to be rewritten since all you’d get now are completions to operations instead of waiting if you can run a operation.

Asmod4n··on The time the x86 emulator team found code so bad they fixed it during emulation
Windows Explorers zip implementation also seams to do 1 byte reads by the speed is has compared to every other zip implementation.
Asmod4n··on Windows 1.0 and the WinAPI, 40 Years Later
Games for Windows, can’t play any of those anymore without cracking them since the severs got turned off.
Asmod4n··on What happens to an economy when it's too hot to work?
10 degrees increase would collapse any industry, it would turn Norway into Italy.

Do you drive to Norway for your beach holiday?

Asmod4n··on Switzerland wil have a referendum to cap population at 10M
Capping a population is a short term solution creating huge issues for the following generations. Examples: lots of places this happened.
← PreviousPage 2 of 16Next →