duckdb benchmark, csv vs parquet vs native table
Small benchmark i did today with duckdb, nothing scientific, i just curious how slow csv really is for lookup query. I have skip-trace data, one column is phone number, and i want to find one number. …
port knocking with knockd, hiding ssh from the internet
I have small vps that i use for everything, and the auth log on that thing is just bots trying ssh password all day long. fail2ban help, but it still feel stupid to expose port 22 to whole internet. …
Kubernetes resource quota, keeping cpu and memory in check
If you share cluster with other teams, sooner or later there is one pod that eat all node memory and then everything else start getting OOMKilled. Usually that is the moment people found out …
Add new mode for display using xrandr
Generate new mode for xrandr using cvt
$ cvt 1600 900 # 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz Modeline "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 …
My Twitter deactivated
Since twitter has a new rule for inactive account will be removed in 30 days, and i just forgot to reactivated my account so now its deleted forever.
Today i decided to post in my blog instead of …