Recent submissions

Comment · 2 years ago
The best way to develop GMO technologies is to regulate it after it injures millions of people. And that regulation is... declaring anyone who questions the science a terrorist.
Comment · 2 years ago
Just a few Gb of ram and the feds can audit your state when their zeroday crashes your machine, what a deel.
Comment · 2 years ago
No, and yes. Systemd is needed to put linux under the thumbs of glowies. The people defending it are paid by your tax dollars
Comment · 2 years ago
Just stick to Java
Comment · 2 years ago
Then maybe porn shouldn't be available on the Internet
Comment · 2 years ago
Well, they can't be that bad if the FAA will to listen to them. I can recall another transportation company who is able to have legislation passed for their soul benefit.
Comment · 2 years ago
Reddit?
Comment · 2 years ago
Yes, this is an extremely trivial problem. Anybody who knows how to program in more than one language is going to find this silly. awk or perl would finish it before jit compilation gets started.
Comment · 2 years ago
It's really not. We're talking about gigahertz CPUs and likely solid state storage that can stream many gb/s.. running through a perl script. There really isn't much that is faster than that.
Comment · 2 years ago
Comment · 2 years ago
Perl is always going to be much faster than Java at tasks like this. Use stdin and chomp() instead of reading each line explicitly.

This is really a small, trivial task for a perl script. Even with a billion lines this is nothing for a modern cpu and perl.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton