Janik

Hello there, I am Janik, a human being (probably).

🐈

2025-06-25

*Arrives at barbershop for an appointment*
Person at the reception: sorry we have to reschedule, the barbar left a few minutes ago because their wife went into labor.

What a timing 🙃

2025-06-13

@kraftnix bone conduction headphones that play audio files.

2025-06-13

Do people here have Audiobook recommendations?

From the ones I listened to, I think the one I enjoyed most so far was "blood sweat and pixels". And I'm currently listening to "stuff matters" which is also quite fun.

Usually I enjoy reading, but I'm listening to audiobooks when I go swimming, so holding a book or looking at a screen isn't really an option.

:BoostOK:

2025-06-04

I wish people had higher expectations and standards when it comes to software and the people writing it.

"just retry it, it often doesn't work" shouldn't be an acceptable answer. You wouldn't accept a carpenter saying "just put a book under the lag of the chair to stop it from wobbling" either.

2025-06-04

@muvlon you are referring to ifd being non blocking when you say it would be awesome if this just worked, right?

In the meantime you could probably try writing a lix plugin, depending on how annoying the extra eval time is.

Btw out of curiosity, what format are you talking about?

2025-06-04

Shortly before finishing the patch I also saw that you can call RegisterPrimOp in a lix plugin. But I didn't try that since I already am building lix from main anyway, and have a bunch of machinery in my config to automatically apply patches to sources locked with npins.

2025-06-04

So I decided to poke around a bit in the #lix codebase, and just add a toBeautifiedJSON builtin, how hard could it be. Turns out, this was a fun 20min adventure.

I already knew that I had to look around in libexpr. From there copying the existing toJSON code, was trivial, and making it format the json was as easy as appending `.dump(2)` to the json object, because nlohmann/json already has pretty printing support.

For me the size trade off, compared to compact json is worth the convenience. 🧵

2025-06-04

A few modules in my NixOS config emit json for e.g. Prometheus.

Nixlang's builtin.toJSON always outputs compact json. I found this to be inconvenient at times, especially with freeform modules, where type checking happens at build or runtime, because the errors you get are like "parsing err at: 1:3128" which is annoying.

I ended up using the nix import from derivation feature and piping the builtin output through jq. This has one big disadvantage, ifd makes evaluation crawl to a halt. 🧵

Janik boosted:
2025-06-03

"Think of AI as a junior developer"

Oh, interesting. That'd imply helping junior devs learn and building understandable systems would be a massive force multiplier. Yet you seem entirely opposed to doing so?

Nothing says leadership like treating peers worse than your IDE's autocomplete, I suppose.

2025-06-03

The old, wooden interior, Munich subway carriages are certainly a vibe 🚇

I did not expect to run into one of those today, iirc Fürth/Nürnberg decommissioned those a few years ago.

Totally forgot how much fun those hydraulic door handles are :3

For reference:
upload.wikimedia.org/wikipedia

2025-05-31

@april the price of beer at the Oktoberfest.
opendata.muenchen.de/dataset?q

2025-05-31

Munich has an open data portal, and their example search query is looking for the "price of beer". Very bavarian 🙃

2025-05-12

I need more info dumps in my life, people excitedly explaining a thing they care about is so mesmerizing :breadpeek:

2025-04-09

Since moving I'm living on a relatively high floor and on the ground floor of the adjacent building is a bakery.
Now imagine what happens when they prepare to open up at 6am and I have my windows open.

Ahhhhaa it's 4:45am and the entire apartment smells like freshly baked goods.

2025-03-31

Nothing more German than spending multiple hours of a Monday morning being in phone waiting queues for different state agencies.

2025-03-28
A wooden fence, street and pedestrian walkway. The wooden fence has a bunch of color full paintings.
2025-03-24

@duesee @mahmoudajawad if you are looking for a book to get a bit of an overview, take a look at leanpub.com/nixos-in-productio
It's quite good.

2025-03-23

@baloo @samueldr

No worries, just got curious 🙈
What NixOS-images were you iterating on that you had to touch UEFI related stuff? My first assumption would be that it's something to do with secure boot?

---

My new employer has offices in California and 2/4 of my team are located there, so not too unlikely, *assuming* your country of residence manages to become less fascist :)

Otherwise, tell me if you ever visit Germany or a neighboring country :P

2025-03-22

@baloo @samueldr honestly I'd love to sit down with (either of) you if I get the chance and just talk about whatever, (both of) you seem like very cool and knowledgeable people :3

Kinda sad that it didn't work out the last time I was in SF.

btw is the backend you mention open source? :P

2025-03-22

@baloo @samueldr I found github.com/Richard-W/uefi-run earlier, which constructs the FAT filesystem and qemu command invocation.

(looking at the projects and finding a paper referenced in another repo by the author is what caused me to spiral down that rabbit hole)

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst