3 Followers
31 Following
53 Posts

Here’s a great article about features to look forward to in Go 1.26 (planned for February): https://antonz.org/go-1-26/

#golang

Go 1.26 interactive tour

New with expressions, type-safe error checking, and faster everything.

@zekjur Great post, thanks for the link! Looking forward to1.26.

I’m not sure yet whether the errors.AsType syntax is cleaner/easier to read than errors.As, especially in the if-else example. But with how error-prone errors.As is, I might need to get used to it.

On the off chance that you ever need to parse a `GameSettings.bin` file used by Battlefield: Bad Company 2, here's a basic parser for the binary format written in Go.

🔗 https://gist.github.com/cetteup/85b0c52a398b714a632ca60dfc350422

Go-based parser example for GameSettings.bin used by Battlefield: Bad Company 2

Go-based parser example for GameSettings.bin used by Battlefield: Bad Company 2 - main.go

Gist
If you ever have a Cloudflare pages build fail because it's installing (unnecessary) tools from your .tool-versions file, here's my ugly workaround: https://cetteup.com/515/how-to-ignore-a-tool-versions-file-in-cloudflare-pages-deployments/
How to ignore a .tool-versions file in Cloudflare Pages deployments - cetteup.com

Fix Cloudflare Pages build errors by tricking it into ignoring .tool-versions using a custom root directory and build command workaround.

cetteup.com

I finally spent some time updating my concurrent player tracker. Rather than building something custom, I'm just using a public Grafana dashboard.

Feel free to browse concurrent player numbers covering the past 4+ years (for most games): https://census.cetteup.com/d/demze1fgse2gwe/concurrent-players

Grafana

German law is making security research a risky business.

Current news: A court found a developer guilty of “hacking.” His crime: he was tasked with looking into a software that produced way too many log messages. And he discovered that this software was making a MySQL connection to the vendor’s database server.

When he checked that MySQL connection, he realized that the database contained data belonging to not merely his client but all of the vendor’s customers. So he immediately informed the vendor – and while they fixed this vulnerability they also pressed charges.

There was apparently considerable discussion as to whether hardcoding database credentials in the application (visible as plain text, not even decompiling required) is sufficient protection to justify hacking charges. But the court ruling says: yes, there was a password, so there is a protection mechanism which was circumvented, and that’s hacking.

I very much hope that there will be a next instance ruling overturning this decision again. But it’s exactly as people feared: no matter how flawed the supposed “protection,” its mere existence turns security research into criminal hacking under the German law. This has a chilling effect on legitimate research, allowing companies to get away with inadequate security and in the end endangering users.

Source: https://www.heise.de/news/Warum-ein-Sicherheitsforscher-im-Fall-Modern-Solution-verurteilt-wurde-9601392.html

Gericht sieht Nutzung von Klartext-Passwörtern als Hacken an

Der Programmierer, der eine gravierende Lücke in der Software der Firma Modern Solution aufgedeckt hat, fällt unter den Hackerparagrafen, meint das Gericht.

heise online

@fedijedi Luckily yes. But I am left wondering how to get a working copy.

It’s not just me either. Product reviews on Amazon and relevant forums are filled with people reporting similar issues.

The #StarWars #Andor UHD Blu-ray has some *serious* quality control issues. So far I ordered four copies total from two different retailers. All of them came with lose, already scratched disks in the box. The disc containing E05-E08 has been unreadable every time.

Internet Archive Responds to Appellate Opinion in Hachette v. Internet Archive

"We are disappointed in today’s opinion about the Internet Archive’s digital lending of books that are available electronically elsewhere. We are reviewing the court’s opinion and will continue to defend the rights of libraries to own, lend, and preserve books."
-Chris Freeland, Director of Library Services

🔗 https://blog.archive.org/2024/09/04/internet-archive-responds-to-appellate-opinion/

Internet Archive Responds to Appellate Opinion in Hachette v. Internet Archive | Internet Archive Blogs

The Internet Archive lost its appeal in the Hachette case. What a huge, devastating loss for all of us.

#InternetArchive