kosayoda
kosalab.dev
kosayoda
@kosalab.dev
i do things some days and write on https://kosalab.dev
Thanks duckduckgo AI
February 22, 2025 at 6:33 AM
That's not including the _other_ "priorities" a Linux system can have, which isn't documented in the manpage of ps and can only be found in the source code, which are (and I kid you not) pri_foo, pri_bar, and pri_baz...
February 7, 2025 at 7:03 AM
Did you know that `ps` has 3 different priorities that have the same column name in the output?
February 7, 2025 at 7:03 AM
Don't you just love how `/proc/pid/status` has CamelCase, Capital_snake_case, Camel_Snake_Case, and snake_case fields
February 7, 2025 at 12:33 AM
ah C, you never fail to impress me
February 5, 2025 at 9:54 PM
Wrote about a silly bug today: kosalab.dev/posts/matche...

Q: What do you think the following code will output?
January 5, 2025 at 6:53 AM
Against better judgement I have implemented an HTML DSL in lua
December 31, 2024 at 7:59 PM
This has to be the weirdest Firefox bug I've seen so far...
December 26, 2024 at 11:47 PM
New blog feature: Runnable Rust code snippets! Implementation similar to github.com/rust-lang/md... using play.rust-lang.org.

Demo video shows a snippet from kosalab.dev/posts/pointe....
December 24, 2024 at 5:39 AM
I like the changes! The popup is easier to read, and the cursor hint is pretty neat.

There is a janky bug though I'm not sure if it's only on my machine: if the cursor is positioned just right (around the bottom of the link), the popup phases in and out of existence
December 18, 2024 at 7:41 PM
Not to mention, is that a link? Is that a button? Why not try div??
December 17, 2024 at 2:21 AM
It's no surprise then that the behavior is because instead of using CSS, it's using a ResizeObserver that doesn't restore the reactions when the size is sufficient again

The comment about pixels widths and overflows is the cherry on top
December 17, 2024 at 2:21 AM
Whoever thought seeing little icons of users I most likely wouldn't know is better than just having all the emoji + counts (which would definitely all fit in the space available)
December 17, 2024 at 2:21 AM
Thanks Github...
December 17, 2024 at 2:21 AM
hello?
December 12, 2024 at 1:31 AM
The layout guarantees of the enum is different, so niche optimizations might not apply for the "top-level" enum among others etc.

doc.rust-lang.org/reference/ty...
December 10, 2024 at 9:05 PM
December 6, 2024 at 7:43 PM
> compile eBPF kernel code to JSON

wat
December 6, 2024 at 7:36 PM
December 6, 2024 at 4:01 PM
I built a train:
December 6, 2024 at 1:00 AM
Lifetime bounds go choo choo

Filed here: github.com/rust-lang/ru...
December 6, 2024 at 12:58 AM