News for hackers. Stuff that matters.

odc

In Perl -> is the dereference operator, similar to C.

So when you see

    $a->[2]{"bar"}
then $a is an array reference where each item is a hashmap. But with

    $a->[2]->{"bar"}
then $a is an array reference where each item is a reference to a hashmap.
And that's why it is best to avoid GPU-acceleration unless you truly need it.

GPU drivers have always been full of bugs and will always be, since modern GPUs are ridiculously complex and designed for speed rather than reliability.

Re:argp: GNU-style command line argument parser for Go on Sunday March 23, 2025 @04:04PM (#43455482)
The standard flag package in Go also supports GNU style flags.

https://pkg.go.dev/flag#hdr-Command_line_flag_syntax

Re:Nearly 90% of our AI crawler traffic is from ByteDance on Thursday October 31, 2024 @04:30PM (#42011182)
Good to know there are other solutions than Cloudflare to block those leeches.
I love Go's letter casing. It's such a neat way to remove cruft.
Re:Simplicity of IRC on Wednesday March 13, 2024 @07:50AM (#39690345)
There are usage statistics of most IRC servers and channels on https://netsplit.de/networks/top10.php
Re:Running 9front on an emulated SGI Indy via MAME on Tuesday January 02, 2024 @04:42AM (#38839866)
Gloriously useless :)
Re:Octos – HTML live wallpaper engine on Saturday July 22, 2023 @12:55PM (#36827775)
It's an electron app, so I guess at least 1GB of RAM.
Re:Aspartame: Once More Unto the Breach on Sunday July 02, 2023 @01:55PM (#36563840)
I love this article! It is not the first time I hear the bad reputation of aspartame is unfounded.

AFAIK, there was only one study which said aspartame was dangerous: they fed a rat with a HUGE amount of it (like way more than a human could consume, in proportion) and the rat got ill or died I don't remember. That "study" was obviously flawed yet the media kept talking about it everywhere.

At that point, it wouldn't surprise me if the sugar industry is behind this.

Re:I am done. I give up on Friday December 23, 2022 @05:44AM (#34104347)
message to OP: you see? All you had to do is create some drama and now people are interested in you :)
Re:How efficient can cat(1) be? on Monday July 18, 2022 @06:38AM (#32136601)
Why indeed! Recent versions of GNU cat (and other coreutils) include those optimizations.

https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/cat...

Re:NFS Shares with ZFS on Thursday February 24, 2022 @11:13AM (#30456419)
If you wanted to have 2 redundant hosts, you could use something like GlusterFS for the replication. I have only tested it with XFS, but apparently it supports ZFS now: https://gluster-documentations.readthedocs.io/en/latest/Admi...
On Linux with glibc, ldd -v will give you similar information, though less pretty of course.
Re:Flatpak Is Not the Future on Tuesday November 23, 2021 @07:31AM (#29317046)
> No one cares how big it is.

A lot of people care, especially Linux users.

> Disk space is still cheap on end users machines.

Not cheap for everyone.

Re:Flatpak Is Not the Future on Tuesday November 23, 2021 @07:29AM (#29317028)
> Neither Flatpak nor Snap have increased memory usage because of containerization.

Yes it does, because you end up loading multiple versions of the shared libraries.

There is also the memory used by the flatpack/snap daemons. Snapd is quite big since it is written in Go.

Don't remove it. Please. I'm begging you ;_;
Re:The world in which IPv6 was a good design (2017) on Tuesday December 29, 2020 @08:32AM (#25569577)
So what? Just because IPv6 does does not solve all the problems in networking it's trash and we should abandon it? No thanks. Where I live, ISPs are starting to share IPv4 addresses between several customers, which creates many problems.

And QUIC over IPv6 is still a lot better than QUIC over IPv4.

Re:Modern C on Friday September 04, 2020 @12:03PM (#24376176)
We simply put all the team's keys in an S3 bucket. Each server regularly syncs the bucket and updates the authorized_keys file.
Too bad the FCC does not think about space pollution. The astronomers were already very fed up with the Starlink constellation interfering with their observations, now they will have to deal with twice the number of satellites. Not to mention the risk of collision in space which keep going up.
Re:Australia to make Facebook, Google pay for news on Friday July 31, 2020 @09:32AM (#24008373)
This looks a lot like what France Press did in 2007: https://en.wikipedia.org/wiki/Google_News#EU_copyright_and_d...
Re:Perl 7 is going to be Perl 5.32, mostly on Thursday June 25, 2020 @02:29AM (#23637507)
This is fantastic news! I'm glad perl 5 is evolving again.
Re:Math-as-Code (2015) on Saturday June 13, 2020 @06:34AM (#23508472)
Oh. I was expecting someone to post the original APL paper here.
"the industry consensus is that 5G will double to triple energy consumption for mobile operators" - https://www.fiercewireless.com/tech/5g-base-stations-use-a-l...

Needless to say that ecologists see the 5G deployment as utter madness, especially since, in their view, 4G is good enough.

Nice to see we're going back to simple counters like in the 90s.
Re:Remote code execution vulnerability in SQLite on Saturday December 15, 2018 @07:46AM (#18688167)
Any news about Firefox? Are they also impacted?
Re:MongoDB has filed to go public on Friday September 22, 2017 @08:14AM (#15311431)
FYI, MongoDB now passes the Jespen test suite. It's just as safe as Postgres, while much easier to use.
Re:Macron emails leaked by wikileaks on Monday July 31, 2017 @08:59AM (#14891475)
It seems 90% of the emails are just newsletters (LeMonde, Korben, Google Alerts...). It would have been so easy to remove those!
Re:Is Amazon getting too big? on Friday July 28, 2017 @05:52PM (#14877896)
For you :-)
Re:Introducing Docker Secrets Management on Thursday February 09, 2017 @12:59PM (#13609139)
docker-compose 1.11.0 will be released soon with support for secrets, probably using the same system.

Older »