dystroy

Joined 14 years ago

Karma
487
Submissions
116
Member since
May 3
Freelance Rust programmer and FOSS author.

https://dystroy.org

View on Hacker News

Recent submissions

Comment · 3 months ago
In addition to deepening my knowledge of Rust Embedded, the challenge was to make the most of standard LEGO parts, the servo, the motor, and especially the power supply (LEGO Power Functions pack of 6 AA batteries).

Non LEGO parts are mostly a Raspberry Pico W (for Wi-Fi control), an arducam (video stream), a Kitronik 5331, a buck converter, and a lot of jumper cables.

What I found most interesting, as a Rust programer, is how similar the backend and embedded code are. Even with the constraints of no_std, the parallel code running on the small Pico looks like your standard rust backend, even while there's no OS and almost no memory on this small chip.

Comment · 5 months ago
You know, my first reaction after reading this was to appraise the quality of your writing, which convinced me your brain recovered.

Wishing you health, of course. The world is better with you in it.

Comment · 6 months ago
Sorry (blog post author), the name of the field was given by AWS, I kept it as is on deserialization.
Comment · 9 months ago
This disclosure has been added today, after some users here called them out for hiding that they were using AI to build it.
Comment · 9 months ago
Termimad author here: I’m always a bit afraid, when I see the popularity of this crate, that it might be undue and that people may lose time trying to use it when it’s probably not the tool they need.

Termimad isn’t a full-fledged TUI framework. It can be used to build TUIs (I made broot, bacon, safecloset, etc. with it), but if you want to quickly build a TUI and compose UI components and widgets, you’ll probably find it much easier to choose a real TUI framework (e.g. ratatui).

Termimad isn’t a generic Markdown viewer either. Markdown is mainly used as a language for the developer to describe parts of the interface—especially rich text—inside a TUI. People interested in rendering arbitrary Markdown files will find that it lacks features such as image rendering.

Comment · 2 years ago
We don't know exactly why nature can't do otherwise, but any complex brain has to sleep.

Some animals, mainly sharks which can't stop or they would be asphyxied, deal with that by having kind of 2 brains which are never both sleeping at the same time.

Comment · 2 years ago
People who do robotics, is efficient stable balancing at rest something which is studied and applied ?
Comment · 2 years ago
If you look at the article, you'll see the picture of such sculpture (a rather impressive one, by the way).
Comment · 2 years ago
Imagine you have a big enum in Rust, for example an Error, with a dozen or more variants.

When maintaining related code, for example a Display implementation, or routing to some behaviors, it's sometimes much easier when it's alpha sorted: you immediately see what's implemented or not.

That's when you can hit the codesort shortcut to have this specific list (enum variants, match arms, etc.) sorted.

Comment · 2 years ago
Is your master thesis online ? A link would be welcome (whatever the language).
Comment · 2 years ago
Montaigne is at least the third French writer to be featured as a (good) static site generator, after Hugo and Zola.
Comment · 2 years ago
This might even look like enough a reason to spend the rest of their life maintaining it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton