Posts
3924
Following
250
Followers
405
OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

With Rust I've accepted the reality that I cannot simply survive with plain Vim. So using more and more Helix with that. I don't GUI and I dislike NeoVim so Helix has started to stick on me over the last year more and more.

One feature that I like a lot in Helix is "no plugins" ;-) That's fresh. One thing that I wished it had, and thus not applicable for kernel development, is the support for ".editorconfig". Once it has that I can try to write a kernel patch with it.

#helix #vim #editor
3
0
6

dtrace.conf(24) is going virtual! We're one month away from the un-conference and are opening the virtual ticket booth for this free event, with optional add-ons for event t-shirts and an on-site social in Emeryville after the event. Bring your topics and prepare to discuss! https://dtraceconf24.eventbrite.com

0
2
0

Jarkko Sakkinen

Edited 2 months ago
{Ref,Unsafe,Once,}Cell is one of the more confusing parts for me in Rust and I almost never end up using them because I don't really know what they are good at.

Also, have to admit that the use of Arc is rare and the use of Rc is never.

#rust #rustlang
4
0
4

8️⃣ Here's the 8th post highlighting key new features of the upcoming v257 release of systemd.

A longer time ago systemd introduced JSON based user records as an extension of classic UNIX `struct passwd`. These records can be provided via Varlink IPC or via drop-in files. The much richer set of account settings is documented here:

https://systemd.io/USER_RECORD/

1
7
2

Jarkko Sakkinen

Edited 2 months ago
My recommended list of crates for baremetal, firmware and no_std alike programming:

- https://github.com/rcore-os/buddy_system_allocator
- https://github.com/Lokathor/tinyvec
- https://github.com/google/zerocopy/
- https://github.com/rust-embedded/heapless
- https://github.com/KokaKiwi/rust-hex
- https://github.com/de-vri-es/serial2-rs
- https://github.com/m4b/goblin
- https://github.com/gimli-rs/gimli

This is a list of crates, which I've actually used and found them useful over time. I've not done kernel code (yet) in Rus. Instead I've worked on two bytecode (with JIT) hosts, i.e. Enarx (wasm) and now with PolkaVM (previously wasm but I'm working on riscv32emac derivative which is the next generation). And right, I'm implemented a crate for zmodem (see zmodem2) ;-)

The crate that I'm not yet sure because have not been able to do yet stuff that I'd want to do with it is:

https://github.com/rust-vmm/vm-memory

I.e. use it for special mapping but with no VMM involved (my uses cases actually involve both with and without VM containers). So looking into that over time. E.g. Paolo is involved with this so I expect it to be quality, and rather contribute than look for other option.

#rust #rustlang #baremetal
0
3
5

Jarkko Sakkinen

Has anyone bought one of those beautiful Checkmate displays? I'm planning to buy one to accompany my MiSTeR FPGA (and Atari STE with Ultrasatan \,,/ :666)

https://www.checkmate1500plus.com/
1
0
0

This is the proper way to console a child.

3
8
2

We don't need to buy a Sun NAS server, we have one at home

The Sun NAS server at home:

5
9
1

Jarkko Sakkinen

bump into, seems useful: https://www.datacentermap.com/
0
0
1

Have you heard about gccrs - the other Rust compiler? Learn about the multiple compilers targeting the Rust Language.

https://blog.rust-lang.org/2024/11/07/gccrs-an-alternative-compiler-for-rust.html

1
6
1

Jarkko Sakkinen

mbsync works perfectly now in #edora 41 fresh install (tested with asahi linux). gr8

#fedora #asahi #mbsync
0
0
0

Jarkko Sakkinen

What is MAX_PAGE_ORDER value on x86-64?

The "fallback value" is 10 (right?) so kmalloc() can allocate at max 2**22 bytes i.e. 4 MB I guess, unless MAX_PAGE_ORDER is larger.
1
0
0

How Europeans would’ve voted in the US election. Surprised by the UK.
via https://x.com/EuropeElects/status/1853474040263876902

8
3
0

7️⃣ Here's the 7th installment of posts highlighting key new features of the upcoming v257 release of systemd.

The graphical login prompt you see when your computer boots up is a sensitive UI: typically, when starting to work, without much thinking you'll type in your username and password, expecting it log you in and provide you with your desktop session. However, what if someone just opened a website in a browser in full screen mode with contents that just *looks* like your login screen, …

3
7
0

Jarkko Sakkinen

Trump does not have a follower but also: now that he gets his four years that zeros out "what if" speculation. History will remember him with brutal honesty now and he won't get martyr reputation, which could be the accelerator for a follower.

If he had lost, his influence might had radiated longer to the future.
0
0
0

Jarkko Sakkinen

I'd drop VR headset with porn subscriptions cargo from planes to these wankers (not even joking):

https://www.politico.eu/article/pentagon-north-korean-troops-pornography-vladimir-putin-russia-war-in-ukraine/
1
0
0

Jarkko Sakkinen

Edited 3 months ago
why wifi is so sensitive? year and decade after it always seem to oops. not blaming anyone really just wondering...

it's not usually even wpa supplicant but straight up kernel oops...

i mean it can be hardware/acpi/firmware etc. that causes this...

Or maybe WiFi is a feature that we should rewrite with Rust? I mean regular oops is at least evidence of regular memory corruption. Even my non-geek friends seem to "know" that Linux always blows on suspend, so it is also kind of a "brand issue", at least in non-Android client use cases.

#kernel #wifi
1
0
0

Jarkko Sakkinen

1
0
2

Please, please if you live in the US immediately stop using period and pregnancy trackers.

Don't put in another piece of data. Delete it.

1
8
0
Show older