L
== L[0:len(L)]
== L[0:l] + L[l:len(L)]
== L[0:l] + L[l:r] + L[r:len(L)]
I actually didn't like this syntax until I had to work this out. Now everyone else's approach seems silly to me.But does anyone else get embarrassed of their career choice when you read things like this?
I've loved software since I was a kid, but as I get older, and my friends' careers develop in private equity, medicine, law, {basically anything else}, I can tell a distinct difference between their field and mine. Like, there's no way a grown adult in another field evaluates another grown adult in the equivalent mechanism of what we see here. I know this as a fact.
I just saw a comment last week of a guy who proudly serves millions of webpages off a CSV-powered database, citing only reasons that were also covered by literally any other database.
It just doesn't feel like this is right.
Or you could just call it what everyone has been calling it for the past 20 years and say "software engineering."
Tell me when and where, I'll bring the pre-workout.
Nothing that builds up an ever-growing surveillance database on private conversations between friends can be in the running for “best”.
# Music Quiz Bot
Existing apps work ok. A lot of paid and don't let you use a specific Spotify playlist.
The only thing annoying about this one is that none of the Discord API wrappers handle audio very well so I've found that this one gets a bit flaky if you're trying to play a lot.
This one is probably like 500 lines of Typescript but a lot of that is for the Spotify API. The game logic is pretty minimal.
# Birthday Bot
This is like 10 lines of Python. It's a cron that reads from a Google Sheet my friends and I keep up to date with personal information. If it's someone's birthday then it'll post a happy birthday message to them.
# Plex Bot
I wrote this before I discovered that Overseerr just has this built-in. My Plex was set up with a webhook to hit whenever new media was downloaded. The bot would post to a specific thread with the metadata about the new media. This included another webserver for serving the cover art from the private Plex metadata server.
# Movie Quiz Bot
Similar to the music bot although I don't think existing apps exist that do this. Essentially it's https://framed.wtf/ except as a game in a Discord channel where random frames are pulled from movies in my media library and everyone competes to name the movie first. This one required some ffmpeg fun to make pulling the stills not take forever. I considered doing static stills or having a cronjob do it, but it's more fun when it's completely random.
https://www.toyota.co.th/en/model/hilux_champ?tab=commercial...
My partner and I moved into a house on a pretty secluded street of a very suburban township. There are 5 houses on the block. We're friendly with everyone but we're all in very different periods of our lives. Two of the houses have younger kids, one has older kids, and one is empty nesters. They're all super nice and we're friendly, but none of them are coming over to lift heavy weights in the garage while Creed is blasting.
[1] https://www.informationweek.com/sustainability/reusing-waste... [2] https://www.techspot.com/news/97995-data-center-uses-waste-h...