There is not a single proper database

I’m so tired of it. I’m using MongoDB and you can store files, great. But the Go driver, the official one sucks. And the mgo driver is abandoned. The official driver is also slow, slower than Postgresql. 3.2ms for querying a dataset of 5k entries and another {“_id”: {“$in”: [“list”, “of”, “objectids”]}} that’s 1-20 long…

Read Article

diesel: Failed with: relation “__diesel_schema_migrations” does not exist

If you’re exporting an existing database with pg_dump and trying to use that exported SQL with diesel and your initial migration, even after diesel setup has been done and get this message: Failed with: relation “__diesel_schema_migrations” does not exist Then you likely have the following line in your postgreSQL dump:

it needs to be…

Read Article

Abwendung von Go und Github – Hin zu Rust und gogs

Dadurch das Google mit gängelt und speziell Ian Lance Taylor von Go mich angreift und mein Github Profil nicht-öffentlich geflaggt hat, durch “gute Beziehungen” zu Github, habe ich beschlossen mich langsam aber stetig von Go abzuwenden und Rust zuzuwenden. 7 Jahre mit Go aber wenn so ein Google Mitarbeiter dich im Visier hat dann greift…

Read Article

Bash script to upgrade keycloak standalone

Assuming keycloak is unpacked in the user’s home directory for instance /home/keycloak/keycloak-9.0.0 is the old version and /home/keycloak/keycloak-9.0.2 is the new version

Read Article