Posts
4807
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1
btm with "-b" flag :-) all that graphics confuses me....
0
0
1

Jarkko Sakkinen

One of my favorite "made with Rust" applications: dua

https://github.com/Byron/dua-cli

Let's put another I use daily:

https://github.com/ClementTsang/bottom

There's not whole a lot command-line / TUI Rust programs that I use but these are definitely my go-to choices for what they do...
1
0
1
@mjg59 I only wish that this was the worst example of initiatives defunded so far.
0
0
0

it's called ssh-keygen but doesn't even play cool tracker music?

1
21
2

If anyone is confused about 18F: imagine an in-house consultancy who could show up and solve your problems but who would then be able to use that knowledge to solve someone else's problems without billing them for the prior work, saving everyone money and also making a bunch of it open source. People took pay cuts to work there. Destroying them is a tragedy

2
13
0

Jarkko Sakkinen

first work day at new job tomorrow
1
0
7
Just wanted get that out of my system... Have not felt pro-active stress about anything else except my own personal fuck ups in life, until the recent times.
0
0
2

Jarkko Sakkinen

Edited 6 months ago
It's hard to keep some of the days head together when the world events are so distracting, and hell is breaking loose from all directions and angles.

#news #politics #war
1
2
5
@Tutanota I'd add a recommendation if you still need to use WhatsApp e.g., with your mom:

1. Use 99% time alternative.
2. For few selected persons (like old relatives) use WhatsApp, if there is no other option.

That kind destroys the market value of the acquired metadata and you don't have to feel bad using WhatsApp.
0
0
1
@roberth I also think as per learning using Nix like without installing it as a building block for embedded image builder together with Docker/Podman has thought me probably more right from the get go than if I had repealed and replaced my Fedora installation with NixOS :-) I really had to "get" some of the bits to make this right and ended up even do a bit of programming (at least the version parser).

You can enjoy operating systems in many ways :-)
0
0
0

Intel's Pentium processor (1993). Looking inside the chip , I found a large, complicated circuit just to multiply by 3 (lower right). Why? The Pentium uses a fast technique to multiply 64-bit numbers and it turns out that 3 is a special case. Let's take a closer look at multiplication... 1/N

1
12
0
@roberth I'm always interested on internals so I thank you for all the wisdom :-) This highlighted me that there exist a thing called "lib.fix" so over time I can dive deeper and have some fuzzy ideas at least. And at least I know the abstract concept of fixed point combinators from algebra classes...

I'm just sort of "build useful product first, learn second" rather than other way around :-) I did something and now I want to learn what I actually did.
1
0
1

Jarkko Sakkinen

Edited 6 months ago
@roberth self-discovery mode, i.e. i peeked and poked without much sleep or not knowing what i'm doing for about a week until i started to get output that i was looking for :-) that's how the current flake.nix and configuration.nix materialized...
1
0
0
@roberth, thanks for informative response appreciate it!

I did this during last week timeline in self-discovery mode without actually knowing what I'm doing but eventually got things working:

https://gitlab.com/jarkkojs/linux-tpmdd-nixos/-/blob/main/flake.nix?ref_type=heads

The project aims to do firmware and OS images for testing my master at kernel.org. Here the particular statements that I were referring to with that post are kernel* statements in the let expression. If I put them in alphabetical order the build system will complain.

I do faintly recall from algebra classes preimages and image and fixed point combinators so what you're saying is not totally alien to me but neither do I fully connect that to this reality nor how "lib.fix" connects to the basic algebra concept :-)

I did this project because I got idea that maybe I could use the combination of Nix and Docker (Podman) to replace my old Buildroot environment. Together they kind of create a rudimentary embedded build system...
2
1
1
@roxedus and generally hope that both initrd generation and MOK key management will be piggybacked into systemd itself as there's bunch of tools doing mostly the same with cosmetic differences...
0
0
0
@roxedus yeah, not criticizing, i was just wondering how things are :-)
1
0
0

Jarkko Sakkinen

So that you know, this is the correct path to export AAVMF (counter-intuitively when comparing to x86-64):

https://gitlab.com/jarkkojs/linux-tpmdd-nixos/-/commit/f24224f0065df3376649e21492a1475f225d95e0

Took a while to figure this out :-)

Also figured out the appropriate options on macOS (with Apple Silicon) how to launch my build with QEMU:

# After doing docker compose up --build:
qemu-system-aarch64 -machine virt -cpu host -accel hvf -m 2G -nographic -bios output/firmware.fd -hda output/tpmdd-nixos.qcow2

I think I've now substituted my legacy BuildRoot environment with this NixOS based system, and gained some new benefits, such as being able to do aarch64 kernel development on macOS and test Rust kernel code.

Next up: send MAINTAINERS update (BuildRoot -> NixOS).

I guess my last week of holiday has been spent well :-)

#linux #kernel #nix #nixos
0
1
1
... please don't take this dead seriously ;-)
0
0
0
Show older