this post was submitted on 22 Jun 2025
67 points (100.0% liked)

Ask Lemmy

32822 readers
1336 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

Little programs or scripts or automations you've created ad-hoc to solve a particular single use case

I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly

you are viewing a single comment's thread
view the rest of the comments
[–] umbraroze@slrpnk.net 5 points 3 days ago

Dang, I really should write a programming portfolio page about all of the weird hacks I've made over the years. Other people link to their GitHub profiles in job applications and gesture non-specifically. I'd just point to my portfolio of weird hacks about weird problems I tried to solve weirdly. Anyway...

An ancient one I made back in the day:

I was listening to music while trying to sleep. I controlled the music player with infrared remote. Some mystery song starts playing and I have no idea what it's called. Obviously, the monitor was far away and turned off so I couldn't read.

So I was like, dammit, why can't I just push a button on the remote and have the computer say the name of the song?

My previous project actually helped with that - I had previously made an extension for XMMS that allows other programs to read the song information via a named pipe. So I just whipped up a script that reads the song name and feeds it to Festival TTS, and hooked that up to the infrared daemon. And that was at like 3 AM, so I quickly got back to trying to sleep

Some more recent ones:

Long ago, I was using Adobe Photoshop Elements Organizer to import my photos from SD cards (etc) to my NAS. It was horrible. It sucked. So much that when I finally snapped and switched over to better software (read: stable version of digiKam for Windows came out), I never trusted the photo organiser to get this thing right. So for a while I used random hacks and a bunch of weird scriptery. Then I decided to turn it into a PowerShell script. That started to kinda suck, so I now have a massive overengineered Python script to import my photos. And it does exactly what I want it to do. And I'm finally happy. (Available here for what it's worth)

Another thingy: I have to set the clocks on some devices manually. Daylight saving time, clock drift, you name it. One of my recent old-lady whinges was "Why the hell doesn't Windows even have an analog clock anymore?" I just prefer to have a clock that has both number display (to set the time) and analog clock face with a second hand so I can time the button press better visually. ...so I made one. Because I've never written an analog clock before. First, I made one in Processing. Then, a second version, because I'm in process of learning Godot.