Fri Jan 9 11:10:31 PM CET 2026

Goodbye pekwm, hello i3

pekwm switched to fossil as version control. Tried fossil a bit, didn't like it. And the fact that it's buggy with steam, and a single developer project, so it's more like the last push.

After reading through i3 user guide and playing around a bit, not bad. gkrellm has to change from "panel" mode to normal, and it can be focused, which isn't great. But it probably will be gone after some more work on i3bar to show I/O as well (i3status contrib has a script to show network load already).


Tác giả: pclouds | Liên kết tĩnh | Linux

Thu Jan 8 10:38:37 PM CET 2026

Late

Back home at 10:30. I have never been out this late for at least 10 years. The modern door lock looks like is going to cause problems with deliveries. And how come deliveries come so late, until 10 PM?


Tác giả: pclouds | Liên kết tĩnh

Fri Jan 2 11:31:17 PM CET 2026

Hibernate linux

Trying to hibernate for the very first time, as I've been doing suspend to ram all this time. It didn't work, and I thought it had something to do with nvidia which caused problems with suspend before.

It turns out, resume=UUID=... is not accepted (but the kernel didn't say anything) while resume=PARTUUID... is fine. In retrospect I should have suspected why /sys/power/resume didn't reflect resume=

According to the internet, UUID is inside a filesystem, while PARTUUID is inside partition table. At boot time, the kernel can see partitition content, but not the file system. Which kinda makes sense I guess because you would need to load the related fs module and peek inside. And that's a no no for resuming from hiberation.


Tác giả: pclouds | Liên kết tĩnh | Linux

Tue Dec 16 07:32:32 PM CET 2025

I slept for too long on rice cooker

Watched a video the other day. It never occurred to me I could put more than just rice in the rice cooker. Add half a bouillon cube (a whole one is too much). Add some frozen vegetables, no need to thaw. Add some meat as well if you feel like it. Close the lid. Meal ready in 30 minutes.


Tác giả: pclouds | Liên kết tĩnh | Ăn

Fri Dec 5 04:55:06 PM CET 2025

deno and vite, part 1

Suddenly wanted to look at javascript again (and not because of the react vulnerability). First step though is to go small(-ish). So forget react, let's just start a new server. Which seems to be vite in this case somehow.

Creating a new project is just

deno run -A npm:create-vite-extra --template deno-vanilla

which prepares everything and starting is just

cd vite-project
deno task dev

The project name will be asked during deno run. The --template can be dropped too and be chosen from a TUI-like list.

Not really sure how URL routing works yet, but any .html file at topdir shows up in the web browser's top URL as well. In dev mode, vite inserts

<script type="module" src="/@vite/client"></script>

which probably helps auto reload the page when the source file is changed. It should be in <head> node if it's there otherwise it's directly under <html>. That's 1000 lines or 179kb, no way to actually read it.

In the .html file, src attribute of <script> tag is rewritten. src is local path while of course the real path has to be URL. The rest seems standard typescript.

One interesting bit is the import statement from javascript apparently can load css as well. We don't even need separate html tag for that. Or importing an SVG to a variable. The variable apparently contains the SVG embedded in the URL (with data: "protocol").


Tác giả: pclouds | Liên kết tĩnh

Thu Nov 6 05:14:38 PM CET 2025

Stort strömavbrott norr om Stockholm


Tác giả: pclouds | Liên kết tĩnh | Svenska

Mon Nov 3 09:03:33 PM CET 2025

Nail growth speed

Bumped the big toe on the door near the end of February. It was more like under the door while it was being pulled open. Big dark spot at the root of the toe nail after all the bleeding stopped. It's now November and that spot is nearly gone. So it takes approximately eight months to fully grow a toe nail.


Tác giả: pclouds | Liên kết tĩnh

Thu Oct 23 05:16:28 PM CEST 2025

Best day in four years

Finally got a first-hand rent contract after being in the queue for three years. That's honestly short compared to the horror stories about Stockholm housing. A little bit further away from the center. But eh, I never go there anyway.


Tác giả: pclouds | Liên kết tĩnh

Sun Oct 19 07:54:26 PM CEST 2025

Finally watched Avengers trilogy

I guess I was bored. It was.. ok? Had to skip a lot. All the special effects weren't that special. Still wondering if Mistborn could be made a movie. If only they let Thanos do his thing, things would have been much simpler.


Tác giả: pclouds | Liên kết tĩnh | Phim

Tue Oct 7 04:53:37 PM CEST 2025

Why would Paul Buchman, a film director, go on a trip to alien world?


Tác giả: pclouds | Liên kết tĩnh