Ubuntu development on Mac OS X

My main development machine is Mac OS X. Sometimes I need to use some Linux specific tool though. Here is my setup for doing that. VM, shell and ssh setup Lima-VM launches Linux virtual machines with automatic file sharing and port forwarding. Install lima-vm using homebrew: brew install lima Next I’m creating and starting an ubuntu VM: limactl create --name=ubuntu template://ubuntu-lts ... INFO[0005] Run `limactl start ubuntu` to start the instance. limactl start ubuntu ... INFO[0012] READY. Run `limactl shell ubuntu` to open the shell. At this point the ubuntu VM is running, and lima tells us how we can open the shell: limactl shell ubuntu. ...

2025-10-31 · Ivar Refsdal

Databasekøar, batching og 1400 GB XML

Dette innlegget vart fyrst publisert på kode24.no. Bakgrunn Eg hadde sagt ja til å forbetra hastigheita på eit legacysystem. Kor vanskeleg kunne det vera? Eg hadde fått det for meg at det var snakk om rundt 70 GB XML det skulle prosessera. Det viste seg å vera 1400 GB XML. Kjeldekoden var skriven i Python 2 (end of life i 2020), hadde ingen testar, ingen spesifiserte avhengigheiter og innehaldt i tillegg rundt ti tusen linjer med SQL, primært i form av prosedyrer. ...

2025-08-08 · Ivar Refsdal

Datomic's handling of network failures

Introduction This post will examine how the Datomic on-premise peer library handles and responds to network failures. The version tested is 1.0.7075, released 2023-12-18. Datomic uses the Apache Tomcat JDBC Connection Pool for SQL connection management. PostgreSQL is used as the underlying storage in this test. More specifically we will be testing: com.datomic/peer 1.0.7075 ; Released 2023-12-18 org.apache.tomcat/tomcat-jdbc 7.0.109 (bundled by datomic-pro) org.postgresql/postgresql 42.5.1 OpenJDK 64-Bit Server VM Temurin-22+36 (build 22+36, mixed mode, sharing) We will be using nftables to simulate network errors. ...

2024-05-19 · Ivar Refsdal