mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#mpd

3 posts3 participants0 posts today

alojapan.com/1246467/new-tokyo New Tokyo Police Unit Faces Tall Order to Stop Lone Wolf Crimes ##visitjapanjp #ArtificialIntelligence #China #crime #cybercrime #editorial #editorials #MPD #news #NorthKorea #Politics&Security #security #terrorism #Tokyo #TokyoMetropolitanPolice #TokyoNews #YamiBaito #東京 #東京都 このページを 日本語 で読む On April 1, the Tokyo Metropolitan Police Department (MPD) launched a “Third Public Security Division” within the Public Security Bureau. Its mandate…

I have to say, I'm getting more comfortable with #systemd services. And I find it fascinating how with its templates and powerful dependency feature I could achieve some wild, very dynamic stacking of @gstreamer, @pipewire, #mpd, #mpv and #SAP / #RFC2974 with only a few lines for various systemd services. So for instance a #multicast SAP announcement of @schenklradio will only appear if something plays on that pipewire device, which only happens if that radio is on air and reachable.

Musk’s Team Evicts Officials at the U.S. Institute of Peace, an independent non-profit

A simmering dispute broke into a dramatic standoff ending w/#DC #MPD involvement & #DOGE taking up residence at the independent agency.

WTAF????

#MuskTrumpPurge running amok.

Gift article: nytimes.com/2025/03/17/us/poli

Kenneth Jackson, a State Department official the Trump administration has named as the new acting president of the U.S. Institute of Peace, trying to enter the institute’s headquarters on Monday afternoon.
The New York Times · DOGE Staff Marches Into U.S. Institute of Peace and Evicts Its OfficialsBy Aishvarya Kavi

someone asked recently why anyone would want to use a #bash shell. In my defence, I was listening to #mpd and wondered what a track was, two tracks back, and yes, I could be crude about it, but no, in a few minutes I had

grep played /var/log/mpd/mpd.log | cut -f 1,2,4 -d ':' | sed 's/played[^/]*\///;s/.mp3"$//' | cut -c 8- | tail

gives a list like

22:37 : Eighth Street Orchestra/221230 Drom Taberna/12-Route 66

fiddling with my NAS again. I've got music copied to it, and it seems to me that's the right place for it.

Looking at #MPD again. I like the idea, but I can't get my head around it. Can you get a client to play music **ON THE CLIENT**, not on the server? That's the WTF feature for me. I don't want the machine connected to the hifi to be the one that stores the music…

Was hab ich mich geplagt, den richtigen client für meinen MusicPlayerDaemon zu finden.
War doch nicht so schwer, einfach ncmpcpp zu installieren.
Genau mein Fall, ne eierlegende Wollmilchsau für 2.5MB, YES!

- ⌨️ TUI (Terminal User Interface)
- snappy as ⚡ snappy can
- Feature komplett mit Soße und scharf🌶️
- 🆘? cheatsheet auf F1, zack!

rybczak.net/ncmpcpp/

#MPD #TUI #ncmpcpp#FingerWegVonDerMaus
#FahrbareHilfetaste

rybczak.netNCurses Music Player Client (Plus Plus) | rybczak.net

Back on my remote control for #Mopidy, now the hardware buttons are working for basic music controls.

It was hard to break out of polling for updates because #Micropython doesn't seem to have a file-like object I can pass to the Poll object and write to from the interrupt handler. Instead I just reduced the timeout to 50ms, but that means more CPU activity, albeit it only connects to the server on an update. Any better suggestions are welcome.