Dan Jones @[email protected]

Husband, Father, Software Engineer (PHP, go, etc.). Lover of Star Trek and anime.

Looking for other things to do, such as writing, acting, voice acting, but not really finding the time for it. Maybe when my kids are a little older, I'll get back on stage.

Feeling pretty bleak about the future of the United States. #NeverTrump

Feel free to follow. I may follow back if we seem to have similar interests.

#BlackLivesMatter #TransRightsAreHumanRights #StayWoke

Other interests: #Parenting #StarTrek #Writing #Theater #anime #PHP #golang #Programming #WebDevelopment #genealogy #ScienceFiction #DadJokes

My Links

links.danielrayjones.com

Pronouns

he/him/his

XMPP

[email protected]

Mastodon account

fosstodon.org/@danjones000

LinkedIn

linkedin.com/in/danjones000

Résumé

danielrayjones.com

  • Notes
  • Articles
  • Followers 225
  • Following 303
  • Remote follow
Dan Jones's avatar
Dan Jones
@[email protected]

I have this massive BASH script that I use for transcoding video files that I download before adding them to my Jellyfin library (don't ask me for it, it's a giant mess).

I recently wanted to make a change to it that required sorting some data according to some specific rules (like moving English subtitles first, but only if they're text-based like srt and not image-based like DVD subs).

It was too complicated for BASH. So, I did what anybody reasonable psychopath would do: I embedded a Python script into my BASH script.

No, I didn't rewrite the whole thing in Python, but I do have an entire Python script in the middle of my BASH script now. My BASH script pipes the Python code into the Python interpreter, and captures JSON output from it.

It's a terrible abomination, but, I might do it again.

#BadProgramming

  • permalink
  • interact from your instance
  • 5 days ago
Powered by microblog.pub 2.0.0+9c8693ea and the ActivityPub protocol. Admin.