THE DECEMBER ADVENTURE STARTS
https://eli.li/december-adventure
https://eli.li/december-adventure
Oatmeal - December Adventure
The Advent of Code is cool, but a lot, and not everyone’s jam. The December Adventure is low key. The goal is to write a little bit of code everyeli.li
Alexander Cobleigh
in reply to Alexander Cobleigh • • •for today's leg of #DecemberAdventure, i fixed a little sorting bug in https://cblgh.itch.io/rad-reader a user had reported! 😀
glad to have had a good opportunity to get back to the project 😊
Rad Reader by Alexander Cobleigh
itch.ioAlexander Cobleigh
in reply to Alexander Cobleigh • • •for today's #decemberadventure i explored how to emulate raspberry pi on linux!
i thought it would be a quick one but it was surprisingly involved, thank fuck for fellow nerds writing great guides 🙏
Alexander Cobleigh
in reply to Alexander Cobleigh • • •in today's #decemberadventure i cross-compiled golang binaries with c dependencies (i.e. using cgo) and ran on the emulated raspberry pi!
in so doing, i discovered that what i *thought* was a 32-bit raspi install (what i wanted) was actually 64-bit
Alexander Cobleigh
in reply to Alexander Cobleigh • • •fuck all the virtual machines: i dusted off the raspberry pi 1B+ from the closet, installed
the easy to use raspberry pi imager (it has defaults for tossing on a retro game emulator on a pi?!!) and shot legacy rpi os lite onto the sd card 😀
after figuring out its ip and tunneling into it, and performing a dance of little dependencies (installing git and go, the latter from a tarball) i managed to reproduce the issue that started me on this quest in the first place!
#decemberadventure
Alexander Cobleigh
in reply to Alexander Cobleigh • • •Devine Lu Linvega
in reply to Alexander Cobleigh • • •Alexander Cobleigh
in reply to Devine Lu Linvega • • •Alexander Cobleigh
in reply to Alexander Cobleigh • • •almost forgot about the #decemberadventure today due to <INSERT: LIFE> but here i am - adventuring! if git is to be believed, i'm off to a good start for the current leg:
10 files changed, 118 insertions(+), 492 deletions(-)
Devine Lu Linvega
in reply to Alexander Cobleigh • • •Alexander Cobleigh
in reply to Devine Lu Linvega • • •@neauoire when i had the pi up, i was doing a first build (takes some time). during that downtime i figured out the blocker for making the cross-compilation work
but yes, if i run into more shit i'm pitching over the build to the pi and brewing some tea XD