Posts
4916
Following
327
Followers
491
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

Edited 1 hour ago
Through dependency graph GItoxide has a RSVM requirement of 1.88.

For me that means exactly to never use Gitoxide and stick using libgit2 bindings because they retain software ubiquitos across environment and toolchains.

This also thought me an important lesson: using well established C-library throught bindings is 9/10 times a better choice than using equivalent "pure Rust" implementation. This does not mean that the Rust implementation would be somehow"worse", generally it just seems that Rust developers are completely ignorant of optimizing things like RSVM.

That leaves you two options.

1. Use a really old version of "pure Rust" library in order to maintain RSVM of your choice. Usually this means using a version, which never will be updated.
2. Use Rust-bindings of a C-library and have always up to date version of the dependency while retaining RSVM of your choice.

The crazy RSVM requirement of Gitoxide zeros down its applicability for anything production. I will never touch it again.

#rustlang
0
0
0

Jarkko Sakkinen

tpm2-protocol 0.14.0 #linux #tpm #rustlang
0
0
1

Jarkko Sakkinen

Can you somehow make rz and sz to transfer files in hex mode instead of bin32?

#zmodem
0
0
0

We’re happy to announce that Mastodon 4.5 is now ready for prime time! Quote posts, async fetching of replies, server timeline visibility settings, more moderation tools, and lots and lots of other tweaks and improvements.

Announcement on our blog: https://blog.joinmastodon.org/2025/11/mastodon-4.5/

Full release notes and update instructions are available on our GitHub release page: https://github.com/mastodon/mastodon/releases/tag/v4.5.0

0
11
0

This graph also show clearly the logic of authorization policy management in tpm2sh:

  1. tpm2-tpmkey reads and writes keys in the TPM 2.0 ASN.1 format. Those bound with a policy have a pre-compiled list of policy commands.
  2. tpm2-policy-language compiles policy expressions into command lists.
  3. Finally, tpm2sh post-processes [*] and executes the command lists in a policy session.

[*] At minimum, tpm2sh writes handle of the temporal session to the command buffer.

0
0
0

Jarkko Sakkinen

this is how my little stack plays out as a dep graph

#linux #rustlang #tpm
1
0
1
Multi-core was already a thing (and Moore's law for single core was reached) when wasm was invented and its execution pipeline is really better fit for hardware that precursors it by multiple years.
0
0
0
@pinkforest well yeah of course you need to address contraints when designing "softcore" (i guess this a term?) :-)

First, you need some register space for book keeping (like one or two registers at least) and it unfortunately shares space with softcores registers.

So problem at hand is like:

1. Reduce softcores register space i.e., it will have less registers than host CPU.
2. "Share-and-swap" registers with the softcore for the colliding part.

This of course assumes that ISA is similar enough to x86-64 and aarch64 but that is quite fair constraint to set from the get go for obvious reasons :-)

Anyhow, it will quite simple and sound translation with no artificial stack machines blocking the way :-)
1
0
0

Jarkko Sakkinen

I'm using Servo in the next (0.3.x) version of mailweb, which will no longer open browser like viewhtmlmail.

Instead using servo this will happen when showing HTML mail in mutt:

1. Render page as bitmap(s) to the cache after extracting CID shenanigans using Servo.
2. Page is showed then in the terminal sixel first and fallback to unicode rendering.

This way sixels performance issues won't get in the way and will overall much nice experience than opening a random tab in a browser.

https://crates.io/crates/mailweb

#mutt #viewhtmlmail #mailweb #servo
1
0
2

Jarkko Sakkinen

i wish this was the last day when i hear the word "memory safety" ;-)
1
0
0

Jarkko Sakkinen

there's now easy path to get #servo webviews: https://github.com/nacho/servo-gtk
0
0
2

Jarkko Sakkinen

Edited 4 days ago
@mjg59 i'm also working loosely with oracle to realize d-rtm i.e. trenchboot i.e. lots of stuff is going to get shuffled anyhow and made more robust and early boot friendly etc. so i think the time is right too. and to add, it would good to see it collide with those changes if there is anything because that might help to make right choices with trenchboot related changes.
0
0
0
@mjg59 and actually in work life someone asked me not like many months ago "would that be possible" explaining roughly encrypted hibernated so there is I think a lot of hidden opportunities for it especially in the embedded world.
1
0
0
@mjg59 and also i'm waiting for situations like this to further refine my small debugging tool for tpm (initated in august): https://crates.io/crates/tpm2sh
1
0
0
@mjg59 please do send patches, in my books it would be feasible feature, and would be also interesting to wire hat up to my buildroot build and vm setup, and a find way to get fast edit-compile-run cycle :-) not promising ack but i can commit with this message to test run it live before giving even a single review comment because it would be a fun challenge.
1
0
0

Jarkko Sakkinen

Edited 4 days ago
WebAssembly is one of the worst ideas in the industry during past 10 years. why end up with stack machine and purposely complicate JIT. Never really grabbed it engineering wise TBH but maybe I'm missing something who knows.

You don't need to be an engineer to get it. It just tends to be easier to find ways map registers to registers, and requires more stretch to move between stack and register machine.
1
0
0

Jarkko Sakkinen

i do want to support the cause but i don't want or am going to create yet another account 🤷 #mastodon
0
2
2
@oleksandr it's entertaining and it has been nice to hook with some old friends so definitely on plus side :-)
0
0
0

Jarkko Sakkinen

Edited 4 days ago
linkedin i scroll posts and spot at least three posts from someexperts about DAC permission and how to decipher them.

dude, you have like left and right plus one more state. i could explain DAC to my mom who does not anything aboutc omputers or permissions and i'm confident that she would get it.

other posts are the usual 2025 AI crap. i made account mostly to backup CV somewhere someday and curiosity after many years away from.

it does deliver shit and i do get some entertainment for boring moments so i guess it is a great service then 🤷
1
0
0

Jarkko Sakkinen

0
0
1
Show older