Sat Jan 17 04:44:10 PM CET 2026

IKEA

Furniture assembly was fun at first, but it can be really hard work. At least when it comes to beds. So many screws. So many pieces. Even needed to hammer a few times. The whole thing took a day, but most of it was just for the bed.

Though in the bed's defense, I should have chosen a bed without cabinets. The six cabinets alone added so much more work. And I could only use three anyway because the bed is in a corner.

All the complications come at a cost. I made a mistake one, then panicked because I thought that was it. But fortunately I could unscrew a few things and move the piece around. Crisis averted, but one screw might be broken.

That's not the worst of all because one screw would not just come in. Probably slight misalignment of the hole between two pieces of wood. Not much I can do about it.

All in all. Not bad. Stubbed a finger once. Scratched an arm once. Stubbed another toe once. The last one was bloody but I didn't notice. So there was a blood trail from the bed to the front door, and in the socks. First blood in the new apartment.

New apartment! First hand contract. I'm going to live here forever.


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

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