lessbergstein
Re:Attempting to engineer microscopic insulin pumps out of a skin bact...
on Wednesday January 10, 2024 @10:22PM (#38947112)
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.
Re:The memory remains: Permanent memory with systemd and a Rust allocator
on Wednesday January 10, 2024 @10:15PM (#38947062)
Just a few Gb of ram and the feds can audit your state when their zeroday crashes your machine, what a deel.
Re:The memory remains: Permanent memory with systemd and a Rust allocator
on Wednesday January 10, 2024 @10:14PM (#38947033)
No, and yes. Systemd is needed to put linux under the thumbs of glowies. The people defending it are paid by your tax dollars
Re:The One Billion Row Challenge
on Wednesday January 10, 2024 @08:58PM (#38946440)
Just stick to Java
Re:Age verification is incompatible with the internet
on Saturday January 06, 2024 @01:24AM (#38888990)
Then maybe porn shouldn't be available on the Internet
Re:Boeing wants FAA to exempt MAX 7 from safety rules to get it in the...
on Saturday January 06, 2024 @01:22AM (#38888978)
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.
Re:The One Billion Row Challenge
on Friday January 05, 2024 @05:11AM (#38877466)
Reddit?
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @07:09AM (#38866002)
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.
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @06:59AM (#38865941)
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.
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @06:56AM (#38865917)
Why are you using cat at all? Use a pipe. This isn't hard stuff. Don't use <>, feed the file into a scalar or array. it should only take a few seconds to process a billion lines.
https://www.perl.com/pub/2003/11/21/slurp.html/#:~:text=Anot....
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @06:52AM (#38865891)
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.
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @04:05AM (#38864772)
That's strange, you should be able to stream the file right into a tiny perl executable at the same speed as the bottlenecking hardware. The kernel will take care of all the logistics. You're probably trying to do too much explicitly. Just use a pipe. Perl should be done before Jit completes.
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @03:10AM (#38864457)
Perl would do it quite fast and it has the benefit of accessing posix primitives directly.
Re:The One Billion Row Challenge
on Thursday January 04, 2024 @01:10AM (#38863668)
I don't understand, it should be pretty easy. A rolling average with BigDecimal would probably be sufficient but a scientific lib might be better for a rolling average or more than a hundred million numbers.
https://stackoverflow.com/questions/277309/java-floating-poi...
Re:Unintended electromagnetic radiation from Starlink satellites
on Thursday January 04, 2024 @01:02AM (#38863614)
Ha ha that's pretty funny but the article specifically states that there's no regulation around these types of rf emissions and that maybe there should be
Re:Unintended electromagnetic radiation from Starlink satellites
on Wednesday January 03, 2024 @10:36PM (#38862691)
Tldr: lets make regulation to attack Musk specifically.
Re:Shader Park Is Kinda Neat
on Monday December 11, 2023 @05:47AM (#38599395)
That progress will last, for sure. We're about to see a resurgence of small developer web apps and games! Web 4.0 here we come.
Re:High school math doesn't prepare most students for their college ma...
on Monday December 11, 2023 @03:23AM (#38598656)
One of my freshman classes was game theory. A prerequisite was trigonometry, and I only had pre-Calc. The best part about it was I was doing averages and which great which number is greater in my senior high school class after taking pre-Calc as a Sophomore. Of course I complained about this to both schools but that wasn't really their problem. I suppose they just didn't care.
Re:Shader Park Is Kinda Neat
on Monday December 11, 2023 @03:20AM (#38598644)
What a great stack of web standards we have, right folks?
Re:Cory Doctorow: The real AI fight
on Monday November 27, 2023 @06:27PM (#38440038)
How is that relevant? Doctorow is not very rich.
Re:Whisky: Wine Supercharged with the Power of Apple's Game Porting To...
on Sunday November 26, 2023 @10:03AM (#38422081)
Fortified wine or Thunderbird would be a more accurate simile, I think
Re:Sam Altman's been fired before. The polarizing past of OpenAI's rei...
on Friday November 24, 2023 @03:38PM (#38407997)
They had to make these rules because they weren't being followed
Re:Sam Altman's been fired before. The polarizing past of OpenAI's rei...
on Wednesday November 22, 2023 @11:38AM (#38381479)
This website is YCombinator. Sam was with YCombinator
Re:Microsoft Swallows OpenAI's Core Team โ GPU Capacity, Incentives, IP
on Monday November 20, 2023 @01:56PM (#38352642)
@sama is now a wagie for msft lol
Re:Ask HN: What are you reading these days?
on Sunday November 12, 2023 @03:27AM (#38238414)
Various auto generated content from large language models
Re:Amazon gives Apple 'massive preferential treatment' in secret deal ...
on Friday November 10, 2023 @06:36PM (#38226006)
Both Apple and Amazon are very important for national security. I wouldn't be surprised if there is more going on here then just preferential treatment.
Re:New York Restaurants Fight Back Against Reservations by Bots
on Friday November 10, 2023 @06:27PM (#38225948)
for restaurant reservations
Re:Microsoft pulls OneDrive update that would quiz you before letting ...
on Friday November 10, 2023 @06:24PM (#38225935)
Because they'e just looking at the metrics in isolation and the people who are responsible for it couldn't care less about long term viability.
Re:Apple discriminated against US citizens in hiring, DOJ says
on Friday November 10, 2023 @06:21PM (#38225911)
All the FAANG and similar corps have been doing this for decades at this point. Our government works for them. This judgement is a joke designed to save face.
Re:Major Outage Across ChatGPT and API
on Wednesday November 08, 2023 @01:43PM (#38194935)
Rules for thee not for me.