Posts
3557
Following
214
Followers
361
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.

Jarkko Sakkinen

anything is editable until it is debatable, right?
1
0
0

Jarkko Sakkinen

Fix for LARGE event log buffers (bug was reported for 16 MiB region): https://lore.kernel.org/linux-integrity/20241221113318.562138-1-jarkko@kernel.org/T/#u

#linux #kernel #tpm
1
1
1

vitaut 🤍❤️🤍 🇺🇦

0
2
1

Jarkko Sakkinen

Edited yesterday
Where all existing Rust books fall short is that they are not Rust books.

They are books on building software with Cargo framework.

A great "Understanding Rust" book would based only on using rustc for all examples, and in the context of that book e.g. GNU make could be used to orchestrate the builds.

Using Cargo is obviously fine but it is in the way of in-depth understanding of the language.

This also means that I really do not recommend any of the books written about Rust because they are all as useful as the Rust documentation, i.e. not that useful.

#rust #cargo
7
7
6
Edited 3 days ago
2
5
1

Jarkko Sakkinen

1. My calendar for 2025.
2. My security tip for 2025: use pen and paper for what it works. That info does not leak. I still plan and draft with a notebook (having a grid) and pencil.
0
0
0

Jarkko Sakkinen

Somehow this video from from gwEm two years ago always is a mood lifter, great stuff :---) https://www.youtube.com/watch?v=up4Ci9kzAeE
0
0
1

Jarkko Sakkinen

Edited 4 days ago
Today I'm going to:

1. Install Windows and wipe my Fedora.
2. Install NVIDIA drivers.
3. Redeem the code for "Indiana Jones: The Great Circle" and check that I get it to Steam.
4. Install Fedora and wipe Windows.

Wondering why FSF had a campaign based on lies about TPM chips, and does not have one on NVIDIA being DRM ;-)
1
0
4

Jarkko Sakkinen

Meanwhile in #Finland at my front door...
0
2
8

Jarkko Sakkinen

If you've ever wondered how to debug custom targets outside of cargo environment, here's an example of that:

https://github.com/paritytech/polkavm/issues/208#issuecomment-2544941559

I.e. situation where you just want to check what the compiler emits.

#rust #cargo
0
3
0

Jarkko Sakkinen

Not forgotten and not discontinued:

https://github.com/umlaeute/v4l2loopback/issues/268#issuecomment-2541605102

Just a slow process and busy at work before holidays ;-)

This is pretty typical for OOT drivers really. Bad architecture choices kind of accumulate because no one dares to make any actual changes to what is already there.

Probably would happen to me too if I was doing OOT so not blaming anyone, just saying how it is ;-)

#linux #kernel #video4linux
0
2
3

Jarkko Sakkinen

Pro-Q4! #FabFilter
0
0
0

Jarkko Sakkinen

IM's:

1. Signal: great for professional communications.
2. WhatsApp: great for being in touch with your mom.
3. Telegram and AWS Wickr: great for criminal activity and dealing drugs.
1
3
2

Jarkko Sakkinen

I wonder does SDL3 have anything like baseview [1] for writing plugin UI's?

[1] https://github.com/RustAudio/baseview
0
0
0

Jarkko Sakkinen

Three months in a company after this month. Three PR's in that time. The last one is almost finished: https://github.com/paritytech/polkadot-sdk/pull/6533

Could have performed better but at least all wen right and RISC-V based smart contract moved from PoC to experimental feature in the SDK.

After #6533 next up is to further refine DWARF parser in the PolkaVM.

People have different feelings and thoughts on blockchains but I do enjoy the most is that the whole ecosystem is so unfinished :-) Lot's of cool stuff is still waiting for a trophy collector.

#blockchain #parity #polkadot
0
0
0

Jarkko Sakkinen

Nice write up about Deluxe Paint:

https://www.datagubbe.se/dpaint/

Also in the later years Deluxe Paint Animation on PC was cool.
0
0
0

Jarkko Sakkinen

Edited 10 days ago

https://blog.google/technology/research/google-willow-quantum-chip/

Willow performed a standard benchmark computation in under five minutes that would take one of today’s fastest supercomputers 10 septillion (that is, 10^25) years — a number that vastly exceeds the age of the Universe.

1
0
0

Jarkko Sakkinen

I was wondering why rust-analyzer does random hickups and switching to lld finally fixed it. The choice of linker inherits from matching Rust environment of macOS, which does use LLVM ld, and never experienced similar glitches. This even happened sometimes with 9950X desktop.

So for any Rust installation in Linux I'd first and foremost always add this to .cargo/config.toml before anything else:

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/lld"]

Installation:

1. In Fedora: dnf install lld
2. In Debian: apt install lld

AFAIK, by de-facto it probably uses GNU ld, and also some flashier newer ones do not provide glitch-free result with rust-analyzer (i.e. mold and wild).

#rust #llvm
1
2
0

Jarkko Sakkinen

Hmm... I get weird subprogram names from DWARF with RV32E/RV64E on RISC-V rustc.
Or like, each have the exact same symbol name o_O.

#rust #rustlang #riscv
0
1
0
Show older