blog, "regarding why software is so bad"
i wrote up some feels about software as a craft and why it's so awful right now
> Only together can we seize the craft from the industry. Only together can we demand and develop the high ethical standards that public infrastructure requires. We are not scabs or mercenaries. We are craftspeople, and we will do our craft justice.
Thank goodness for the Big Book of Amiga Hardware. I had to take my (secondhand) A500 apart to see if a RAM upgrade I was eyeing is compatible, but I found this weird little Kickstart switcher card I couldn't identify in the ROM socket instead. http://www.bigbookofamigahardware.com/bboah/product.aspx?id=669
Just put your 0.75 PB of data in a zip file & email it to yourself, Linus. If it's still too big, keep putting the zip file in another zip file until you're down to 64 KB. :V
(Linus Tech Tips exploring cloud storage solutions and exploiting Google Drive.) https://youtu.be/y2F0wjoKEhg
Please don't install spyware on anyone's devices, even if they're your kids. Maybe especially if they're your kids.. https://motherboard.vice.com/en_us/article/9kmj4v/spyware-company-spyfone-terabytes-data-exposed-online-leak
Anyway, back to streams & pop-ups, I fleshed it out into two shellscripts & commented the heck out of them.
I listen to radio streams at work with one script, $HOME/bin/radio: https://pastebin.com/rPsrKP94
And find out what's playing with another, $HOME/bin/radio-xsonginfo: https://pastebin.com/DHx7TraQ
long mplayer stuff
Also, you can control mplayer with or without a terminal window if you do this:
mkdir -p $HOME/.mplayer
mkfifo $HOME/.mplayer/fifo
echo "input=file=/home/you/.mplayer/fifo" >> $HOME/.mplayer/config
Then, while mplayer's running,
Quit mplayer:
echo quit > $HOME/.mplayer/fifo
Pause/resume mplayer:
echo pause > $HOME/.mplayer/fifo
Play next file/stream:
echo pt_step 1 > $HOME/.mplayer/fifo
Play previous file/stream:
echo pt_step -1 > $HOME/.mplayer/fifo
mplayer "http://ice3.somafm.com/spacestation-32-aac" | stdbuf -o L grep "^ICY Info: StreamTitle=" | while read line; do stream=`echo $line | cut -d\' -f2`; len=$((`echo $stream | wc -c`+4)); Xdialog --infobox "$stream" 5 $len 10000; done
A few days ago, I used this shell one-liner to listen to Space Station Soma, and whenever the stream switched to a new tune, pop up a window showing what it was.
Instead of popping up randomly, I wanted to flesh it out so I could call up a pop-up whenever.
I just leveled up my computer fairy skills.
I installed virtualbox on my FreeBSD workstation, & not only did vboxdrv trigger kernel panic (page fault), so did vboxnet. Hello, stuck in reboot loop!
Figuring out `disable-module vboxdrv` in the boot menu was easy enough, but I couldn't boot past the early shell, & I couldn't fix anything bc `mount -o rw /` failed. Turns out, I use ZFS & needed `zfs set readonly=off zroot`.
Then, fix stuff, & success!
✨ Kind 'Net Help Desk fairy by day. ✨
✨ Weird & furry Unix fairy by night. ✨
✨ Sometimes a retrocomputer fairy. ✨
✨ Pays the ComputerFairi.es bills. ✨
✨ Sparkly✨shellscript✨princess. ✨
✨ Age: Mere days younger than ✨
✨ the Intel 4004 & Unix 1st Edition. ✨
✨ Follow requests welcome. ✨
✨
✨