space for my thoughts
rust_tricks_generic_output_functions
I’m re-writing my network-delay-differential-equations-solver from my master thesis — this time in Rust (of course!). The idea is to learn more about the language. That’s why I try to tackle problems by using clever new approaches that Rust enables me to do. Along the way I there’ve been a few tricks that I learned or that nice people taught me which made it or will make it into the program. This one came from a someone (eqv) who’s much more experienced in such things:…
Read more ⟶rust libraries
Rust libraries I often use As I always seem to forget which library I am using and which version and how they are spelled exactly … here’s a list:
# complex numbers num-complex = "0.4.2" # pseudo-random number generation rand = "0.8.5" # automatically derive arithmetic operations (Add, Sub, etc) for structs derive_more = "0.99.0" …
Read more ⟶scifi_scale
A while ago I read some “hard” science fiction from Charles Stross where he was counting time in kilo-, mega- and gigaseconds. I had to calculate the times each number represented and/or look them up somewhere else in the book. Recently I thought that a nice visualization of these scales might make a good bookmark that people could use.
I added a few time units as well as some extra pieces of information - like the time it takes for light to travel certain distances.…
Read more ⟶vintage_yamaha
love at first sight Last month I bought two quite old pieces of audio equipment from “eBay-kleinanzeigen”. Admittedly I got interested in the amp, mainly because of its gorgeous design. While reading up on it1 I discovered that it was tremendously well received when Yamaha introduced it in 1981. Back then it cost 1200 DM (~1367 Euros in 20212). As I still like to listen to the radio naturally I needed a nice tuner as well.…
Read more ⟶how to use arduino on linux
Installing the arduino IDE goes like this:
$ sudo dnf install arduino On Fedora linux the Arduino appears as a file.
ls -l /dev/ttyACM0 # this returns: # crw-rw----. 1 root dialout 166, 0 Dec 19 18:43 /dev/ttyACM0 This means the “file” (the file representing the Arduino) is owned by root i.e. only root may manipulate it. In order for your current user to manipulate the Arduino we have to add “username” to the group “dialout”:…
Read more ⟶