med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

343
active users

#rust

65 posts64 participants6 posts today

some fuckery with #rust sysfs-gpio vs #RaspberryPI vs my bike wheel -- at some point, my code stopped seeing edges/transitions on the magnet sensor (after "something" got upgraded) and then removing a flush from right before a poll in sysfs-gpio made it work again.

and then i forget about this hack and wonder why the magnet sensor is broken again.

and then eventually remember.

but not got round to trying to understand what is actually broken here.

#Goals2025

Moving away from the constant upgrade cycle & moving closer to the ideals of #PermaComputing #MalleableSoftware

Design and setup a redundant system of old/used, cheap, low-power devices running oa #Guix, #Linux, #FreeBSD, #macOS, #HaikuOS, #Plan9Front, #X11 working together

Become an expert on #MicroControllers #ESP32 #STM32 #RP2040 #MIPS #RiscV

Move as much as possible of my computing needs to the #Terminal and #Emacs. #CLI #TUI

Get an #3DPrinter and learn to use it

Design and build my own portable 8dot #braille terminal & try out if 3x3 or 3x4 dots is also workable.

Design and build my own low-power computers, their OS, and tools

Writing more of my own tools #DIY

#SmallTalk #ObjectPascal #Prolog #Scheme #Racket #CommonLisp #Haskell #Rust #Go #ObjectiveC #Swift

Deploy #LoRa #ReticullumNetwork #RNodes #MeshCore #Meshtastic

Start an #InternetResiliencyClub

Add #Tor, #I2P support by #WebProxy

#SelfHost over #I2P and as #OnionService

#SolarPowered servers

SelfHost a blog/wiki

SelfHost my own repositories
#Darcs #Mercurial

SelfHost my own #EmailServer, will only accept email from #KnownHosts #MutualEmailAcceptance and otherwise only if they contain an proper #OpenPGP signature

Share files via #BitTorrent over #I2P

DIY #HomeAutomation

Start #Gardening #GreenHouse #GardeningAutomation

Get a house cat

Start asking money for advice & technology support

Anyone have a favorite #rust #rustlang intro. Former full stack dev now doing ops but I want to try rust for some personal projects.

Only thing I can note is my brain likes to understand how things work under the hood (really struggled to pick up Rails back in the day despite its simplicity), so something that touches on the borrowchecker and maybe things I'm not aware of would be awesome.

"Microsoft recently released Edit, a new terminal text editor written in Rust. It's pretty nice - it's reminiscent of nano but with a retro MS DOS feel.

I wanted to run it on my Apple Silicon Mac. Microsoft don't (yet) provide compiled builds for that platform, but they do have a release for aarch64-linux-gnu. I figured I'd run that in o Docker container (I have Docker for Desktop installed) to try it out.

One thing lead to another and I ended up creating and shipping a new Docker image to GitHub's Container Registry. This means anyone with an Apple Silicon Mac and Docker can try out edit against the files in their current directory by running this command:"

til.simonwillison.net/github/c

Screenshot: Publishing a Docker container for Microsoft Edit to the GitHub Container Registry - Microsoft recently released Edit , a new terminal text editor written in Rust. It's pretty nice - it's reminiscent of nano but with a slightly more modern feel.
til.simonwillison.netPublishing a Docker container for Microsoft Edit to the GitHub Container RegistryMicrosoft recently released Edit , a new terminal text editor written in Rust. It's pretty nice - it's reminiscent of nano but with a slightly more modern feel.

Just found out that #cargo (The #rust thing) is still pre-release software at version 0.88.0…

Kinda not surprising considering that even their
#semver implementation isn’t standards-complient and assumes any form of stability guarantees for pre 1.0.0 releases. Sadly it still drives home that the rust ecosystem as a whole is still not ready for actual practical use, because everything seems to depend on unstable pre-release versions.

(Seriously, this
#zerover nonsense is a much bigger factor in keeping me away from rust than it probably should be; among many other issues it communicates an extreme disregard for standards and professionalism: Semver explicitly states that “If your software is being used in production, it should probably already be 1.0.0.” — Having widely used software on version 0.x.y is at least as much a semver-violation as a minor breaking change between version 1.1.1 and 1.1.2! Rewriting with a new API in a different programming language between version 0.2.3 and 0.2.4 is btw. NOT a semver-violation, but explicitly allowed!)