Recent submissions

Comment · 3 months ago
Not the OP, but yes - just imagine a web server talking to DB over one connection without any connection pooler
Comment · 6 months ago
When you pair-programming with AI, even Haiku is very good. Just treat is as you assistant.
Comment · 7 months ago
I'm currently writing simulations of trading algorithms for my own use. I'm using worker_threads + SharedArrayBuffer and running them in Bun. I also tried porting the code to C# and Go, but the execution time ended up being very similar to the Bun version. NodeJS was slower. Only C gave a clear, noticeable performance advantage — but since I haven't written C in a long time, the code became significantly harder to maintain.
Comment · 7 months ago
You can fix you code 10 times you will fix it.
Comment · 8 months ago
I'm saying Haiku isn't that bad, it's good enough for my needs, and it's the cheapest one. Maybe it's because I'm giving it small, well defined tasks.
Comment · 8 months ago
I also use Haiku daily and it's OK. One app is trading simulation algorithm in TypeScript (it implemented bayesian optimisation for me, optimised algorithm to use worker threads). Another one is CRUD app (NextJS, now switched to Vue).
Comment · 9 months ago
I mean, aren't system calls thread-safe?
Comment · 9 months ago
Doesn't (honest question) the operating system kernel prevent data races in memory accesses at the level of system calls like brk? I wonder at what level the operating system handles such things?
Comment · 1 year ago
What do you think, there are milions of people or companies running NetBSD on 486 to protect the planet from e-waste? How many times have you replaced your phone with a newer model in the last 10 years?
Comment · 1 year ago
Maybe in the future, if the language has very good AI support, security guarantees of the language won't be as important, as it (ai) will find potential bugs well enough. This may be the case with Zig, as the language is simple and consistent, and the lack of macros will make it easier for LLMs to understand the code.
Comment · 1 year ago
For me it is natural that since the desktop environment is the most important part of the desktop operating system, it should have its own distribution.
Comment · 1 year ago
For some background, it is now a single guy paid by Microsoft to work on implementing async direct I/O for PostgreSQL (github.com/anarazel)
Comment · 1 year ago
Maybe such operators for basic linear algebra (for arrays of numbers) should be just built into the language instead of overloading operations. I'm not sure if such a proposal doesn't already exists.
Comment · 1 year ago
With comp-time reflection you can build frameworks like ORMs or web frameworks. The only trade-off is that you have to include such a library in the form of source code.
Comment · 1 year ago
let name = $state('blastonico')

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton