Harald Hoyer

Software Engineer

#enarx #rust #sgx #sev #snp #confidentialcomputing #wasm #wasi #varlink #dracut #systemd

still searching for a fediverse app for my own server

2025-05-02

Created github.com/haraldh/memo128

A Rust library and CLI tool for encoding 128-bit numbers as memorable natural language sentences.

An idea, I had a couple of years ago. Somehow I remembered it and was able to implement it with the help of several AIs basically in a day.

#rust #crypto #cryptography

Harald Hoyer boosted:
gwendoline primiorinogwenprime@www.librepunk.club
2025-04-19

photography is just amateur radio for the 500nm band

2025-04-18

Interesting! #dracut #ubuntu

Dracut will be supported in Ubuntu 25.04 - Project Discussion / Foundations - Ubuntu Community Hub

discourse.ubuntu.com/t/dracut-

> Following Please try out dracut and the specification [Spec] Switch to Dracut we are going to support Dracut as alternative to initramfs-tools as initrd generation tool in Ubuntu 25.04 (plucky). We want to make Dracut the default in the following Ubuntu 25.10. […]

Harald Hoyer boosted:
2025-03-30

define "greenwashing"

Plastic "paper" bottle
2025-03-30

At the end of a vibe coding session with goose for fun, google gemini 2.0 flash admitted:

```
I am not able to do it and I am in a loop
I apologize and end the process as I am not competent enough to solve this task
```

Claude sonnet 3.7 generally does better, exceeded by gemini 2.5-pro-exp-03-25, but that one has still too many rate limits.

#ai #rust #vibe_coding #goose

Harald Hoyer boosted:
2025-03-28

"Digitale Bücherverbrennung"... ein leider offenbar sehr treffender Begriff für diesen Vorgang: "In Trumps erster Amtszeit wurden zum Beispiel Daten aus der Klimaforschung gelöscht. Aber das ist kein Vergleich zu den großflächigen Löschungen, die jetzt passieren." netzpolitik.org/2025/digitale-

Harald Hoyer boosted:
2025-03-22

Use a burner phone if you travel to or from the US.

From: @RealJournalism
mastodon.social/@RealJournalis

Harald Hoyer boosted:
2025-03-16

Teacher in Idaho told she must remove sign saying "Everyone is welcome here" because it had images of hands with a variety of "skin tones."

School officials said "that it was not the message that was at issue, but rather the hands of different skin tones on the poster."

Sadly, we need to know about things like this so that we can oppose them & keep them from growing & reenforcing each other.

idahostatesman.com/news/local/

#Racism #Education

Sign saying "Everyone is welcome here" is all capital letters. Beneath the sign is a series of hands of various colors. Each hand has a red heart on it.
Harald Hoyer boosted:

The safe, fast and easy way to do trees is by using Rc<RefCell<T>>. Rc/Arc allows data to be owned multiple times. You want this because this way a node can be referenced by its parent and its child at the same time. However, Rc makes the inner type inmutable. And you probably will want to mutate it in a tree, that’s what RefCell is for. With RefCell you do the borrow checking at run-time instead of at compile-time. This allows you to mutate T even though Rc only gives you an inmutable reference. This is called interior mutability.

RefCell doesn’t eliminate the borrow checker though, you must still follow its rules. If you try to get 2 mutable references to the inner type of RefCell, it will panic.

I know you don’t want to read unsafe, but you gotta hear about the alternative. Just use pointers. Pointers don’t have the borrow checker to restrict them. And self-referencing structures with interior mutability are not easy to borrow-check automatically. You can have the raw pointers as private fields of the struct so the code that is actually unsafe will be a few very small functions.

Here’s why the other options worse than pointers:

Rc<RefCell<T>> will clutter your code with boilerplate and it’s a pain to deal with. Pointers are not too ergonomic in rust (mainly because there is no -> operator), but they need way less boilerplate. Also, you already need to manually check the mutability rules, why not all the rules.

Another option that I’ve seen is “have a hashmap with all the nodes, and just store the id of the node instead of a reference”. This is the same as “have all the nodes on a Vector and store the index”. Think about this for a second. You have a pool of memory and a number that identifies what part of that pool is the memory you want. Seen it yet? That is exactly what a pointer is! If you do that, you’re just disabling the borrow-checker anyway. You just created your own memory allocator and will have to manage your memory manually, at that point just use pointers, it will be the same except with fewer boilerplate and indirection.

Harald Hoyer boosted:
ZEITbot (inoffiziell)zeitbot@muenchen.social
2025-03-15
Harald Hoyer boosted:
Tenacity Audio Editortenacity@floss.social
2025-03-15

And we've done it! We're now at floss.social.

Unfortunately I think Tusky is going to notify me about the "new" followers under this account all over again. Hopefully my phone doesn't blow up 😂

Harald Hoyer boosted:
Ingo Dachwitzroofjoke@mamot.fr
2025-03-09

Als Student der Kommunikationswissenschaft habe ich damals Nachrichtenwert-Theorie gepaukt. Wenn Ereignisse Faktoren wie "Negatvitität", "Nähe" oder "Prominenz" erfüllen, werden sie von Medien eher zur Nachricht gemacht. Man muss die Liste inzwischen leider um "Rassifizierbarkeit" ergänzen: Wenn sich eine Geschichte rassistisch ausschlachten lässt, ist dies aktuell einer der wichtigsten Nachrichtenwertfaktoren. Wenn weiße Deutsche amoklaufen und morden, interessiert es viele Medien einfach nicht

Harald Hoyer boosted:
2025-03-09

2023: #merz gewinnt vor dem #BVerfG mit einer Klage gegen ein Sondervermögen von 60 Mrd. Euro, in der Folge muss #Habeck die Förderung der #emobilitaet streichen.

2025: Merz setzt ein Sondervermögen von 500 Mrd. Euro auf und vereinbart mit der #SPD die Förderung von E-Mobilität.

Kannst du Dir nicht ausdenken! Wir hätten ALLES, was jetzt verhandelt wird, längst haben können, hätten #CDU und #CSU das staatsbürgerliche Gewissen, das sie jetzt von den #Grüne|n einfordern.

#merznichtmeinkanzler

2025-03-03

@mavori
Zeit für was dezentrales?

Harald Hoyer boosted:
Pete Prodoehl 🍕rasterweb
2025-03-01

Resistance can be as simple as using certain terms:

"online video" instead of "YouTube video".

"online search" instead of "Google Search" (or "do a search" instead of "google it".)

"music playlist" instead of "Spotify playlist".

Do not give these company any free advertising by using their names.

Do not make them the default term for something.

Harald Hoyer boosted:
2025-03-01

@kuketzblog Zur Info: Wir haben das Starterpack dann noch erweitert, man findet dort nun auch viele Open-Source-Projekte und Unternehmen aus der ganzen Tipp-Serie.

Harald Hoyer boosted:
buck_joabuck_joa
2025-03-01

@tagesschau Das US Militär ist bereits in Europa, ua Airbase Rammstein.

Müssen wir befürchten, daß von dort Angriffe auf Ukraine erfolgen werden und andere EU Staaten?

Ich muss sagen, es macht mir Angst die US Streitkräfte hier in Europa zu haben, wenn diese Streitkräfte von jemandem geführt werden, der Europa als Freiwild und Beute betrachtet.

Harald Hoyer boosted:
2025-03-01
Harald Hoyer boosted:

Umbenennung Amerikaner in Demokratieplätzchen wann?

Drei Amerikaner aus hellem Teig mit Zuckerguss überzogen.
Harald Hoyer boosted:
2025-03-01

Open source infra reliability on US big tech is a bit of a problem. For instance #nixos dependence of AWS and Fastly. European Universities have a lot of compute and bandwidth, I wish they would collaborate to provide popular open source projects a less commercial alternative. There was a time when most of us got all our stuff from university ftp mirrors.

Client Info

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