Karn Wong
• Unknown
Karn Wong
Homepage and blog by Karn Wong
- Generator
- Zola
- Public lists
- I ♥ RSS
- Fetched
Karn Wong
• Unknown
Model inference in ONNX
Karn Wong
• Unknown
My code search setup throughout the years
Karn Wong
• Unknown
2025-05-07
Poking holes into websites is my version of fun. People act like I grow two heads when I say I do it to relieve stress.
Oops.
And when I deploy a lot of new services to my kube cluster at home, yup that’s my peak stress and I need to let off some steam.
Karn Wong
• Unknown
WASM FFI performance benchmark
Karn Wong
• Unknown
2025-04-02
Happy to say I'm a direnv convert. No more setting up dotenv for every project I work on is a godsend (and especially when you write in multiple languages this gets old real fast).
Karn Wong
• Unknown
2025-03-15
I had this android tablet since 2019-ish, the last official update was android 8, so I thought why not flash Lineage on it.
Turns out I can't unlock bootloader because the [device region] and [account region] are not the same.
Yup, no longer buying devices from this manufacturer.
Karn Wong
• Unknown
WASM deployment benchmark
Karn Wong
• Unknown
Migrate from Docker Desktop to Podman on Darwin
Karn Wong
• Unknown
2025-02-21
Was writing down vendors list from a security conference I attended last month.
There's this one vendor, where their website at www is fine, but if you access it without leading www, it shows you an admin page. Hoo boy.
And their SSL cert is not valid!!!!! 😬
Karn Wong
• Unknown
Cross-platform keyring-like setup (also works without desktop environment)
Karn Wong
• Unknown
2025-02-11
It's very amazing with the amount of work put into Proton engine for running windows games on linux.
I installed a game from 2015-ish with native linux port - the screen stutters when I move the camera, and it crashes very often. But if I run this game through Proton, zero issues!
Karn Wong
• Unknown
2025-02-06
I'll never forget that time when my Intel NUC was running hot on idle (70 C). I removed a lot of workloads from it, still high temp.
Turns out the culprit was accumulated dust. Turned it off, blow it from every angle. Lo and behold, the idle temp is now at 50 C.
Karn Wong
• Unknown
2025-02-01
Upside from running Linux as my desktop setup is that I never run into BSOD.
Compared to when it was running Windows, occasionally it would get BSOD, sometimes in a middle of a gaming session 🥹
Karn Wong
• Unknown
2025-01-30-1
I set up a custom-domain email for my family to use (name@lastname.com)
a year went by, and I got a request to "shorten" the email address"
The part they want it to become shorter is, you guessed it, the "domain" part
She wanted it to be just $name@wong.com
You see where this is going 🤣
Karn Wong
• Unknown
2025-01-30-2
Recently discovered the existence of QUIC and HTTP3. Modern, yes. Standardized, yes.
Turns out caddy's default already utilizes HTTP3. Modern technology is awesome. Gone were the days of manually setting up SSL and auto-renew cron.
Karn Wong
• Unknown
2025-01-26-1
With pixi I can finally remove pyenv from my setup.
Previously needed it to use mamba for installing qgis on ARM mac for geoparquet support
Which means you only need two lines to install qgis via conda:
curl -fsSL pixi.sh/install.sh | bash
pixi global install qgis
2025 is awesome
Karn Wong
• Unknown
2025-01-26-2
Very impressed with flox - dev venv standing on nix ecosystem.
Especially with the fact that it auto detects your project language & runtime means you do not have to setup the flox env from scratch, yay devx.
ถ้าคุณเป็นคนที่ประสาทจะกินกับการเซ็ตคอมของเดฟทุกคนในทีม
หรือ ตบตีปัญหา dev env ที่ไม่เคยตรงกันซักเครื่อง
แต่จะไปไล่เซ็ตทุกอย่างเป็น setup script ก็ไม่ได้ว่างขนาดนั้น
อยากใช้ nix แต่เซ็ตอัพไม่ง่ายสำหรับน้องๆ ในทีม
ขอแนะนำ flox - รมณ์ประมาณ nix แบบ venv
เจ๋งอย่าง คือ flox auto detect language + runtime จาก source code แล้วปั้น flox config มาให้ในระดับนึงแล้ว ชีวิตจะได้สบาย
Karn Wong
• Unknown
My journey for fully switching from Windows over to Linux
Karn Wong
• Unknown
2025-01-23
A few weeks back I was optimizing my website to reduce total size. Turns out google analytics took up 300 KB alone. Yeet it out and my homepage is reduced to 130 KB. Yay optimization!
Karn Wong
• Unknown
Information gathering infrastructure
Karn Wong
• Unknown
2024-12-27-1
Migrated my site from hugo to zola this week, gotta say using python to convert frontmatter to toml is kinda cheating.
Karn Wong
• Unknown
2024-12-27-2
Migrated authentik to pi4, because it should be in a landing zone. On initial access it took around 5 seconds to load, oof.
Karn Wong
• Unknown
2024-12-25
Installed Ubuntu on Mac Mini 2018 only to find out the WiFi driver is not supported. Thankfully there's a whole wiki on how to install wireless drivers on T2 mac devices. It's a warm and fuzzy feeling to know that the community is always there for your tech ailments.
Karn Wong
• Unknown
2024-12-24
Was browsing HN and saw a thread about Proxmox shredding SSDs. Looking under the console and yup, it's 13% degraded. It's a used Mac Mini 2018 and only been used as Proxmox for a year.
I still love Proxmox, but I only use it to spin up scratch VMs. Maybe I'll use the Mac Mini for distro hopping 😝
Karn Wong
• Unknown
Native implementation vs WASM for Go, Python and Rust benchmark
Karn Wong
• Unknown
Various notes on career-related stuff
Karn Wong
• Unknown
Calling C from Go, Python and Rust benchmark
Karn Wong
• Unknown
LLM serving latency benchmark
Karn Wong
• Unknown