Miek Gieben

@miek@mastodon.cloud
452 Followers
542 Following
2.7K Posts
miek@miek.nl - DNS, LEGO and Gopher
Homepagehttps://miek.nl
LocationThe Netherlands
LinuxDebian/Ubuntu
Americans don't understand that the rest of the world just laughs when they claim to be the country of 'freedom'. They get about 4 days off work a year, no maternity or sick leave, no free healthcare, democracy is owned by billionaires, you arent even free to cross a street.
HOW TO SURVIVE THE HEATWAVE:
1. Stay hydrated.
2. Have an ice cream cone.
3. Dismantle the fossil fuel industry which is literally burning the planet for the short term profit of a vanishingly small capitalist class.
4. Wear loose clothing.

modernc.org/sqlite is a really neat way to embed the sqlite database engine in Go, it uses ccgo to transpile sqlite's original C code into Go code so there's no CGo interop at runtime and essentially no manually ported code to keep in sync with upstream. It's been around for years and is well tested.

ccgo would also be very useful for many other Go↔️C integrations however I've been unable to find much information about ccgo. It appears to have no readme, no docs, no blog posts, etc.

I have only found this one 25 minute conference video on sqlite and ccgo:
https://youtu.be/ry9yTAAVTfs

ccgo is developed almost solely by the video's presenter, Jan Mercl, as a hobby project, so I'm very grateful it even exists, but I'm not sure I'd want to take a dependency on it in a production system I need to support. I don't think I'd have the skills to debug a ccgo issue if I needed to.

The author appears to accept donations, and anyone taking advantage of modernc.org/sqlite, ccgo, or the other modernc.org packages, should consider donating, or getting involved in the maintenance and development of this very impressive tooling.

#golang

To CGo or not: Cross compiling a SQLite driver - Jan Mercl

YouTube

We announced the new native FIPS 140-3 module on the Go blog today!

FIPS 140, like it or not, is often a requirement, and I was increasingly sad about large deployments replacing the Go crypto packages with non-memory safe cgo bindings.

Well, it took over a year, but Go is now one of the easiest and most secure ways to build under FIPS 140.

https://go.dev/blog/fips140

The FIPS 140-3 Go Cryptographic Module - The Go Programming Language

Go now has a built-in, native FIPS 140-3 compliant mode.

@EUCommission This is a non-solution in search of a problem. Young people are getting radicalised by neo-nazi content on all-ages websites like YouTube, Twitter and Facebook, while youth consumption of pornography causes nowhere near comparable harm. I am appalled that we are introducing this level of surveillance into European daily lives, that will spawn government lists of vulnerable and "undesirable" people, and will not fix anything it implies to.

#ageverification

Trololololol! From LinkedIn, via @queen_fennec

De humor hangt (lag) op straat. Klein detail in de stad.

#photography #fotografie #eindhoven

@purpleidea @halfa running dozens of Ubuntu servers with zfs in production. After two years, no complaints yet. Snapshots for the win, and zraid is just plain awesome
@Habbie lvm snapshots will kill your fs in no-time. If you need snapshots go with zfs, or indeed backups