Show newer

well the people making unlicensed Halloween costumes seem pretty on top of it as we head into Fall...

"but how do I build my brand?"
friend
you do not have to build your brand
you are free

Show thread

HOW TO USE MASTODON, AN EASY GUIDE:
1. see something nice when going about your day
2. write about it
3. revel in the fact that we are all just people
4. give emotional support and validation to others who write about that nice thing they saw today

When I removed Twitter from my phone, I put a meditation app (Oak) in its place on my home screen.

Now, every time I tap the app out of habit, I do a breathing exercise instead of read shitty news.

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: pastebin.com/rPsrKP94

And find out what's playing with another, $HOME/bin/radio-xsonginfo: pastebin.com/DHx7TraQ

Show thread

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

Show thread

mplayer "ice3.somafm.com/spacestation-3" | 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.

Document Object Model Management Engine, or DOMME,

I just leveled up my computer fairy skills. :computerfairies:

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! :blobcheer:

Today, I wrote some ruby code, learned a thing or two, and threw all the code away. Sometimes, the joy of programming leaves nothing to show for it.

I just did some quick math for no reason and figured that if Windows 10 was shipped on 3.5" 1.44 MB floppies, like Windows 3.1 was, the box would come with roughly 4,500 disks.

Imagine putting in disk 4,126 & discovering it was defective.

I remember back in about 1988, whenever I needed extra storage, I'd just go to the store & for about $12 pick up a box of floppy disks.

I just had that nostalgic feeling today, about 30 years later, because I need extra storage, & I just went to the store & for about $12 picked up a pair of micro-SD cards.

But the one package I bought today has more total capacity than 2,000 boxes back then.

Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!