Sign in

reto

@galactic-forensics.space
88 followers 111 following 65 posts

building instruments to study dust from the death throes of stars, mad scientist vibes, with a passion for 🦀

PostsRepliesMedia
reto @galactic-forensics.space · 23/09/2026
At long last: Here's an update on the instrumentRs v0.2.0 idea. I wrote a new driver for SMC HRR chillers, which communicate via MODBUS RTU. I think the framework is starting to get there. As always, questions, comments, ideas very welcome! #Rust blog.galactic-forensics.space/blog/11-smc-...
blog.galactic-forensics.space
Controlling an SMC HRR chiller via MODBUS
Thoughts and ideas...
053
reto @galactic-forensics.space · 28/08/2026
My first real Pico de Gallo test: successfully set the voltage on an LTC2686 DAC. Development with Pico de Gallo is going to be very fun :) Next thing up: write an actual Rust driver with Device Driver v2. Thanks to @balbi.sh and @diondokter.nl for these amazing tools! #EmbeddedRust #Rust
Bottom left shows a Pico de Gallo in a case connected to a colorful ribbon cable. Some wires of ribbon cable connects to a LTC2686 dev board in the middle. Furthermore, various probes are connected to the dev board to supply the required voltages. A voltmeter on the right, which is connected to an output channel on the LTC2686 shows 2.499 V.
391
reto @galactic-forensics.space · 28/08/2026
This week I received a Deimos DAQ Rev7 from @deimoscontrols.bsky.social It acquires precision measurement, here from two thermocouples, and can use these to control outputs, here a GPIO pin. All controllable from #Rust (or python). Thanks @ponderingpothos.bsky.social for all your help!
A Deimos DAQ Rev7 data acquisition and hardware control module with two thermocouples plugged in. A volt meter is connected to a GPIO output pin and shows a signal of 3.291V.
142
reto @galactic-forensics.space · 21/08/2026
Why does MODBUS RTU order the data BE but then the CRC-16 in LE? Today was not the first time this puzzled me, but it seems to be just the way it is according to en.wikipedia.org/wiki/Modbus#...
en.wikipedia.org
Modbus - Wikipedia
100
Reposted by reto
Dion Dokter @diondokter.nl · 21/08/2026
‼️device-driver v2.0 has been released ‼️ It has been a lot of work, but after almost 1.5 years a new major version of the toolkit is out now! Get it on crates-io: crates.io/crates/devic... Visit the website: device-driver.com Join the matrix chat: matrix.to#/#device-dri...
device-driver.com
device-driver
A toolkit to write better device drivers, faster
2337
Reposted by reto
Dion Dokter @diondokter.nl · 11/08/2026
Getting close to device-driver v2 release :) So I've been working on a v1 to v2 converter as I promised long ago. Was simpler than I expected! github.com/diondokter/d...
github.com
Converter by diondokter · Pull Request #273 · diondokter/device-driver
Adds a convert command to the CLI that can ingest v1 manifests and output ddsl. Closes #116 Todo: Write migrations guide Document the limitations of the converter Ref blocks don't exist any...
131
Reposted by reto
Dion Dokter @diondokter.nl · 02/08/2026
Ok, putting it out there so there's a higher chance of me getting it actually done :P It's my aim to release device-driver v2 this month
2112
reto @galactic-forensics.space · 30/07/2026
InstrumentRs just got a derive macro to let you derive InstrumentParameter, i.e., how your new types get transformed into instrument commands. You can read all about it here: blog.galactic-forensics.space/blog/10-deri...
blog.galactic-forensics.space
InstrumentRs: #[derive(Parameter)]
Thoughts and ideas...
121
reto @galactic-forensics.space · 22/07/2026
TIL: an endless loop in my proc macro crate can make the compiler spin forever in the test crate… But definitely having fun with macros for instrumentRs
070
reto @galactic-forensics.space · 17/07/2026
Used the instrumentRs v0.2.0 design idea to implement a instrument driver for a Lakeshore336 temperature controller. If you are interested, the write-up of the design improvements, what I learned, and what's to come is in this blog post. blog.galactic-forensics.space/blog/09-inst...
blog.galactic-forensics.space
Lakeshore 336 Temperature Controller Driver with instrumentRs v0.2.0
Thoughts and ideas...
100
Reposted by reto
Randall Munroe @xkcd.com · 14/07/2026
Toasting Marshmallows xkcd.com/3270/
Comic. [Two people toasting marshmallows over fire.] PERSON 1: At least we finally determined the board’s actual thermal limit. PERSON 2 with shoulder-length hair: Yeah. You know, we probably shouldn’t eat these. [caption] Engineering tip: Keep sticks and marshmallows around to make failures look intentional.
92283242
Reposted by reto
Baochip @baochip.com · 14/07/2026
A version of the BIO core has been taped out and will be on the @wafer.space run 2! Thanks to Deepak Sharda (twitter: x.com/deeempak / website: lut4.com) for doing the heavy lifting of porting a version of the Baochip BIO core to this process! Full design available at github.com/dpks2003/bio...
1122
reto @galactic-forensics.space · 08/07/2026
The 2026 Scientific Computing in Rust Workshop is starting this afternoon 🎉 Registration is still open, if you are curious to join scientificcomputing.rs/2026/register
033
reto @galactic-forensics.space · 27/06/2026
Registered instrument.rs last night. Not much there yet, but stay tuned!
020
reto @galactic-forensics.space · 25/06/2026
Spent the last two weeks swapping out the PCB (top right, based on RPi Pico2) and expanding the user workflows of the interface. Firmware on the Pico2 as well as the interfacing software are written in Rust. The actual interface is based on Slint @slint.dev. #Rust #RustEmbedded
Shot from top of an electronics box with no cover. Bottom right shows high voltage cabling. On the bottom right is a DC power supply. Top right of the box shows a custom electronics board holding a Raspberry Pi Pico 2. On top of the electronics box lays a ReTerminal that displays a GUI with overview information of the system, stating the sample temperature as well as pressures of the chamber and transfer system. The GUI also shows that all sample slots are currently empty. The whole box is integrated into an aluminum frame.
281
reto @galactic-forensics.space · 19/06/2026
Are you still interested in writing drivers for (scientific) instruments in Rust? The second blog post discussing ideas and a first implementation on how to test such drivers is up now! As always, any feedback is more than welcome! #Rust blog.galactic-forensics.space/blog/08-inst...
blog.galactic-forensics.space
Testing drivers in instrumentRs v0.2.0
Thoughts and ideas...
110
reto @galactic-forensics.space · 10/06/2026
Do you write/want to write drivers to communicate with (scientific) instruments in Rust? Check out my latest blog post on how to make this hopefully easier in the future. Comments, ideas, etc. are always welcome. blog.galactic-forensics.space/blog/07-inst... #Rust
blog.galactic-forensics.space
instrumentRs v0.2.0 design ideas
Thoughts and ideas...
3163
reto @galactic-forensics.space · 10/06/2026
Just tried out lychee for the first time to check links in a document. What amazing user experience! lychee.cli.rs #Rust #DevTools
lychee.cli.rs
lychee
A fast, async link checker written in Rust. Finds broken hyperlinks and mail addresses, supports Markdown, HTML and more, simple and lightweight.
000
reto @galactic-forensics.space · 03/06/2026
Clicking on that green link opens Thunderbird... I'm am kind of tempted to send a message, but what to write?
The top half of a table with title "Basic"
The first row shows "CPU" and the entry "CM4". The second row shows, underneath "CM4" the words: "Quad-core Cortex-A72@1.5GHz". "Cortex-A72@1.5GHz" is in green while the rest of the text is in white on a dark background.
000
reto @galactic-forensics.space · 02/06/2026
Even as a die-hard LaTeX user I figured I need to give #Typst a go, especially since the instant preview is amazing when working on presentations. Planning to show off my new slide design at Scientific Computing in Rust - stay tuned :) scientificcomputing.rs/2026/
050
Reposted by reto
Baochip @baochip.com · 01/06/2026
The Baochip-1x is IR-inspectable. But, how does one read chips, and what does it even mean? Here's a blog post put out by @bunnie.org that helps make sense of the Baochip-1x SRAM macros, and its implications for trusted boot: www.bunniestudios.com/blog/2026/on...
Detail of SRAM macro, this time with white background instead of transparency turned black.
2164
reto @galactic-forensics.space · 30/05/2026
Beautiful 22° halo around the Sun on this nice day near Geneva. Physics is beautiful! en.wikipedia.org/wiki/22%C2%B...
A photo of the sun in the center, surrounded by a faint, rainbow colored 22° halo and thin, veil-like clouds. In the bottom right the crown of a tree peels into the picture.
000
reto @galactic-forensics.space · 22/05/2026
The May edition of the Scientific Computing in Rust newsletter is out. Enjoy! scientificcomputing.rs/monthly/2026...
scientificcomputing.rs
Scientific Computing in Rust
the Scientific Computing in Rust annual workshop and monthly newsletter.
161
reto @galactic-forensics.space · 21/05/2026
Really enjoyed following the livestreams of #rustweek the last couple of days. There were lots of really great speakers presenting on amazing projects. Michael Winkelmann's talk on microcad.xyz and the live demo was especially fascinating to follow, a really neat project to play with more soon!
microcad.xyz
Startseite
000
Reposted by reto
Matthew Scroggs @mscroggs.co.uk · 21/05/2026
Scientific Computing in Rust 2026 is talking place on 8-10 July. This is an annual virtual workshop aimed at anyone using (or interested in using) the Rust programming language in any scientific context. More info, free registration, talk submission, etc at scientificcomputing.rs/2026/.
scientificcomputing.rs
Scientific Computing in Rust 2026
the Scientific Computing in Rust annual workshop and monthly newsletter.
031
Reposted by reto
Dion Dokter @diondokter.nl · 04/05/2026
Final part of my async blog! tweedegolf.nl/en/blog/237/... Last time I shared some tips for improving your async code. Now we look at why the compiler doesn't do it for us. I want to fix it in the compiler, but I need your help! If you can help with funding, reach out to me. Please share :)
tweedegolf.nl
Async Rust never left the MVP state - Blog - Tweede golf
I've previously explained async bloat and some work-arounds for it, but would much prefer to solve the issue at the root, in the compiler. I've submitted a Project Goal, and am looking for help to ...
3339
reto @galactic-forensics.space · 30/04/2026
Still one of my favorite blog posts out there on maintaining rust crates, updated deps, etc. Finding myself here and there going back to it to remember some details and tools. corrode.dev/blog/long-te...
corrode.dev
Long-term Rust Project Maintenance | corrode Rust Consulting
Rust has reached a level of maturity where it is being used for critical infrastructure, replacing legacy systems written in C or C++. This means, some Rust projects need to be maintained for years or...
010
Reposted by reto
Randall Munroe @xkcd.com · 23/03/2026
Star Formation xkcd.com/3222/
4-panel comic. (1) [Glowing black dot surrounded by clouds.] DOT: I think I did a good job with this universe. Pressure waves dance through gas clouds. They clump together and then pressure pushes them apart. (2) [Some of the clouds are clumping together.] DOT: Oh weird, that big clump of clouds is staying together. Their gravity is overcoming the pressure and more gas is falling in. (3) [More clouds are sucked in.] DOT: It’s not stopping! The heat is rising but the collapse is only accelerating! I messed up. I messed up *bad*. (4) [The clump has become a shining star.] DOT: NOOOOOOOO!!! My beautiful clouds! Ruined! It’s all ruined!
282525301
reto @galactic-forensics.space · 19/03/2026
The March edition of the scientific computing in Rust newsletter is out. Enjoy! scientificcomputing.rs/monthly/2026...
scientificcomputing.rs
Scientific Computing in Rust
the Scientific Computing in Rust annual workshop and monthly newsletter.
0134
Reposted by reto
Kyle M. Douglass @kmdouglass.bsky.social · 12/03/2026
I finally managed to rewrite the Cherry Ray Tracer GUI using egui, an immediate mode GUI for Rust with WASM support. In addition, I figured out threading in WebAssembly via SharedArrayBuffers, so this thing is now lightning fast. kmdouglass.github.io/cherry #optics #wasm #raytracing
2122
reto @galactic-forensics.space · 06/03/2026
The current FAQ section on rust-embedded.org/faq/ is being worked over and expanded. If you have come across FAQs that are suitable for rust-embedded.org, please consider contributing them (if possible including an answer) to this discussion: github.com/rust-embedde... #EmbeddedRust
github.com
FAQ gathering for rust-embeeded.org · rust-embedded rust-embedded.github.io · Discussion #51
As discussed during the archeology day (#49), the FAQs are a bit outdated and in need of editing. This discussion shall serve to gather FAQs (and hopefully good answers for them) that we can then u...
100
reto @galactic-forensics.space · 02/03/2026
Very excited about this board and very much looking forward to getting my hands on a few of them!
010
reto @galactic-forensics.space · 11/02/2026
If you are looking for a new incubator, look for a model that has the control board **above** the chamber, especially if you work with salt water... Don't get me wrong, I love oxidized firmware #EmbeddedRust, not so much corroded components though.
Image of part of a printed circuit board for an incubator controller. The image focuses on the MCU and surrounding components, many of which show a blue-ish corrosion layer from saltwater damage.
040
reto @galactic-forensics.space · 03/02/2026
TFW you start up a $70k controller for a new instrument and it flashes “Windows Embedded Compact 7” at you…
010
reto @galactic-forensics.space · 21/01/2026
First Scientific Computing in Rust monthly newsletter of 2026 is out. Enjoy! scientificcomputing.rs/monthly/2026...
scientificcomputing.rs
Scientific Computing in Rust
the Scientific Computing in Rust annual workshop and monthly newsletter.
085
Reposted by reto
Phil Lewis @phillewis.bsky.social · 19/01/2026
Dr. Gladys West, the pioneering mathematician whose work laid the foundation for modern GPS technology, has died. She was 95.
thezebra.org
Dr. Gladys West, Mathematician Whose Work Made GPS Possible, Dies at 95
ALEXANDRIA, VA — Dr. Gladys West, the pioneering mathematician whose work laid the foundation for modern GPS technology, has died. She passed away
545270829547
Reposted by reto
James Munns @jamesmunns.com · 19/12/2025
I've been wanting to try and start brain dumping some thoughts on (embedded) rust, how I approach problems, write HAL/device drivers, tools I use, etc. But, I'm terrible at starting to write unless I have specific questions to answer. So: ask me anything re: embedded/rust/hardware!
16618
Reposted by reto
Jacquelyn Gill @jacquelyngill.bsky.social · 12/12/2025
The #BEASTLab won second place in the departmental holiday decoration contest!
A glass ball containing a clear liquid hanging from a red ribbon. There is an NFPA hazard label with a Santa hat and a white label saying DANGER Hydrofluoric Acid 50%.
491040224
reto @galactic-forensics.space · 06/12/2025
Knowing now what cephalopod math looks like, I wonder what iterators look like in cephalopod Rust... And now I wonder if cephalopod Rust also uses a crab as the mascot... this rabbit hole looks deep! #AdventOfCode
050
Reposted by reto
Emil Privér @priver.dev · 01/10/2025
I found a flowchart which helps you navigate the IT landscape
52104833701
reto @galactic-forensics.space · 01/12/2025
It's finally December again, day one of Advent of Code 2025 is done. #AdventOfCode adventofcode.com/2025/day/1
adventofcode.com
Day 1 - Advent of Code 2025
000
reto @galactic-forensics.space · 29/11/2025
It has been out for a bit, but just read this great post on the corrode blog on defensive programming patterns in rust. A great overview, enjoy! corrode.dev/blog/defensi...
corrode.dev
Patterns for Defensive Programming in Rust | corrode Rust Consulting
I have a hobby. Whenever I see the comment // this should never happen in code, I try to find out the exact conditions under which it could happen. And in 90% of cases, I find a way to do just that. M...
040
Reposted by reto
Self-Directed Research @sdr-podcast.com · 26/11/2025
It's almost like I was there with them 🥹
media.tenor.com
a yak is standing in a field with the words yak intensifies behind it
Alt: a yak is standing in a field with the words yak intensifies behind it
062
Reposted by reto
Matthew Scroggs @mscroggs.co.uk · 20/11/2025
It's nearly Christmas and something terrible has happened... www.mscroggs.co.uk/blog/120
mscroggs.co.uk
Christmas (2025) is coming!
The mscroggs.co.uk Advent Calendar is back for its eleventh year, making it the Advent calendar's tenth anniversary! Behind each door, there will be a puzzle with a three digit solution. The solution ...
193
Reposted by reto
Tim McNamara @timclicks.dev · 19/11/2025
A cheat sheet of Cargo plugins to improve your day as a #rustlang developer. More detailed notes and a PDF version is available through the link in the QR code.
0287
Reposted by reto
Kyle M. Douglass @kmdouglass.bsky.social · 18/11/2025
When X-rays are incident upon a crystal, some of their energy is reflected from the lattice planes. Certain angles of incidence will lead to the observation of diffraction peaks due to constructive interference between the reflected wavefronts. #optics #microscopy youtu.be/FZ4gilAe7x0
youtu.be
The Bragg Condition
YouTube video by Kyle Douglass
041
reto @galactic-forensics.space · 18/11/2025
@bot.astronomy.blue signup
000
reto @galactic-forensics.space · 18/11/2025
Fun and interesting article on the history of "deliberately sacrificial conductor[s]" (aka fuses): c.digikey.com/dc/hIEerrlOP... Reminded me of the fuse discussion in episode "How is software safety certified?" of @sdr-podcast.com
c.digikey.com
100
reto @galactic-forensics.space · 17/11/2025
Been exploring Jujutsu (github.com/jj-vcs/jj) for my daily usage. See for yourself: Git: 1. I screw up my repo again 2. Go to ohshitgit.com 3. Hopefully find a solution to my problem 4. Run the command that I copy and cross my fingers... Jujutsu: 1. I screw up my repo again 2. `jj undo`
ohshitgit.com
Oh Shit, Git!?!
010
Reposted by reto
James Logan @ponderingpothos.bsky.social · 16/11/2025
InterpN is Scientific Computing in Rust's crate of the month, and featured in This Week in Rust! Check out the writeup to see how it pulls off an up to 200x speedup over SciPy's already-quite-good interpolation methods! Available via Python bindings and as a (no_std!) Rust crate. jlogan.dev/blog/
A plot showing speedup vs. number of dimensions, ranging from about 30-200x
061