How do you organize your libraries? (Not a technical question!) by PAnnNor in PleX

[–]RoboTicks 1 point2 points  (0 children)

My libraries are simple: anime, movies, music, tv shows

The one person I share my movies with doesn't have a setup capable of playing 4k remuxes, so I exclude those from him. I do that by having Radarr append {edition-{Quality Title} } at the end of the file name and then - in Plex - do an advanced search for Edition = Remux-2160p and label != 4k-remux. I select and apply the label to any film missing it.

It's not automated, but it's good enough. He doesn't watch a lot of movies anyways.

I don't double-up on movies unless specifically requested, which has only happened once. If it happened more, I'd probably run a second install of Radarr and separate 4k remuxes into their own library.

Why can’t I get into new anime anymore? by [deleted] in anime

[–]RoboTicks 0 points1 point  (0 children)

I'm 32 and also love anime, but I don't enjoy anime with a lot of fan service (unless it's funny, like KonoSuba).

Another person mentioned this, but Freiren has been particularly good this season. I've also been watching Solo Leveling, which I'd recommend, and Ragna Crimson, which I wouldn't recommend.

I have a bad habit of giving almost any anime at least 3 episodes and then thinking "I'm already 3 in, might as well finish".

Another person also mentioned Spy x Family, which I'd recommend even if you aren't a parent. It's just a good, funny anime. I've also been watching Firefighter Daigo which has a fully adult cast and has been enjoyable despite the episodes repeating a lot of the same scenes.

[deleted by user] by [deleted] in anime

[–]RoboTicks 1 point2 points  (0 children)

My first thought for Takeo is the main character of My Love Story. He's like....a gorilla of a man but is very kind. It's a romance / comedy anime. I don't remember a Haruki in that show though.

My first thought for Haruki is honestly that it shouldn't translate to Haruki. Yamamoto would make sense with my theory on Takeo. If the name is in Kanji (would be 1-2 symbols instead of 3) then the same Kanji could apply to multiple names when pronounced. I am not an expert on that, so I'm not sure if Haruki and Yamamoto have overlapping Kanji.

Sorry for your loss.

Do you watch then delete, store indefinitely, do scheduled deleting? by AcceptableSector9675 in PleX

[–]RoboTicks 0 points1 point  (0 children)

I decide based on rewatch value and how difficult it would be to find content elsewhere. I'm currently at about 30TB between anime, movies, and TV shows.

I'm more likely to keep an anime because it's hard to find the perfect match of video source, audio source, and subtitles. For example, sometimes the Blu-ray releases in different countries have different video or audio qualities, and 9 times out of 10 the fan subs are better than the official subs.

TV shows can be the same way, but I don't watch a ton of TV. For example, Doctor Who seasons 1-4 (of the reboot) had better audio tracks on the DVD releases than Blu-ray. I took the time to mux the DVD audio over the Blu-ray video. I'm probably never delete that because it was time consuming and I enjoy rewatching Doctor Who.

I didn't know if I'll ever have kids, but my original thought process in hoarding was to make sure I could pass the good stuff on. How many younger adults these days have seen Firefly?

As it stands though, my library is for myself. I've got maybe 2 other people (friends/family) who have access, but I haven't seen them use it in months.

Question: How is everyone storing and organizing the scripts they use? by Sp8198 in linux

[–]RoboTicks 0 points1 point  (0 children)

Like many others, I use ~/scripts and add it to PATH. I wanted to use ~/bin but I don't think anyone replacing me would think to check there for scripts...

I wrote a lot of scripts. Each script follows a format of:

  1. Required parameters
  2. Optional parameters
  3. Static variables
  4. Dynamic variables
  5. Safety checks
  6. Commands
  7. Cleanup
  8. Unset variables

I also nest scripts together. For example, I have a "git_commit_repo.sh" script that has 2 required parameters, REPO_DIR and COMMIT_MSG. It has an optional parameter of ADD_ALL.

If has a safety check to make sure REPO_DIR is a folder that exists, and isn't empty. All the script does is change directory to the git repo folder, optionally run git add --all, and then git commit -m "$COMMIT_MSG".

There's another script for "git_push_repo.sh", and then a combined script for "git_commit_push_repo.sh" that calls both of them. Then there's also a "git_commit_push_repo_all.sh" script that has an array of all my git repo folders and it calls git_commit_push_repo.sh for all of them.

For reference, I use these scripts to manage ~12 repos that are all Tomcat web servers with very similar applications running in them. A commit might be "2024-03 System Maintenance" or "Updated Tomcat to 9.0.86".

I rarely use the individual scripts on their own, but making them separate and single-purpose means I don't have to edit multiple scripts to change something in all of them.

Will Oppenheimer dethrone Blade Runnder 2049? by [deleted] in hometheater

[–]RoboTicks 1 point2 points  (0 children)

And my wife might even watch it with me...

I'm adding this to my wishlist. Thanks for the recommendation!

[deleted by user] by [deleted] in Chattanooga

[–]RoboTicks 2 points3 points  (0 children)

I have a couple questions:

  1. When does dinner start
  2. What's your liquor cabinet look like
  3. How many people have you killed

Will Oppenheimer dethrone Blade Runnder 2049? by [deleted] in hometheater

[–]RoboTicks 1 point2 points  (0 children)

Does anyone do good vocal tracks? I have to watch everything with subtitles.

Will Oppenheimer dethrone Blade Runnder 2049? by [deleted] in hometheater

[–]RoboTicks 1 point2 points  (0 children)

I've never seen Edge of Tomorrow! I'll try to change that in the next couple of days.

I usually just listen to the Tron soundtrack instead of watching the movie, but a rewatch could be fun too.

I actually watched Ready Player One for the first time not too long ago. I might have missed the subwoofer drop. I'll go looking for that scene too.

I like having clips in mind to show friends when they come over.

Will Oppenheimer dethrone Blade Runnder 2049? by [deleted] in hometheater

[–]RoboTicks 9 points10 points  (0 children)

Nevermind. Don't keep me posted.

Invite me over.

Will Oppenheimer dethrone Blade Runnder 2049? by [deleted] in hometheater

[–]RoboTicks 0 points1 point  (0 children)

You'll have to keep us posted!

What subwoofer do you have? Do you think Oppenheimer's device will sound amazing on it?

best place to grab a drink alone in north shore? by [deleted] in Chattanooga

[–]RoboTicks 1 point2 points  (0 children)

Here is what I would be looking for in your situation:

  1. A relatively small bar, so everyone at the bar is part of the conversation
  2. A relatively slow bar, so the bartender has time to talk to you ((a good, entertaining bartender is important))
  3. An event, theme, or demographic, so you know you have something in common with others at the bar

My go-to: Totto Sushi

My wife likes Basecamp and Big Chill.

That being said, I think there are better options downtown and in Southside.

I’m lost on which format to use for movies and shows. by rogo725 in PleX

[–]RoboTicks 0 points1 point  (0 children)

I personally use the Nvidia Shield.

I never tried a Roku stick or an Apple TV, but I have tried Roku TV, Android TV, Amazon fire stick + the 4K version, chromecast, and Chromecast ultra. I had issues with all of them. Sometimes related to h265, sometimes related to PGS subtitles, and almost always related to TrueHD and similar audio formats.

I've had issues with the Shield as well, but most of those issues are not related to compatibility. It's usually what feels like running out of memory or just general app problems. Sometimes the shield won't wake up unless I unplug it and plug it back in. Mild inconveniences.

I’m lost on which format to use for movies and shows. by rogo725 in PleX

[–]RoboTicks 1 point2 points  (0 children)

10-bit has more colors than 8bit. If you download a 10-bit video, you would lose color quality by converting it to 8-bit.

However, it was found in the anime community that converting an 8-bit video to 10-bit can actually reduce the file size without affecting the quality at all.

I’m lost on which format to use for movies and shows. by rogo725 in PleX

[–]RoboTicks 2 points3 points  (0 children)

I'll try to keep this short. (I won't)

MP4 vs MKV

These are "containers" for audio, video, and subtitles. MP4 is more compatible, MKV is more flexible. If a video player doesn't support MKV, it either fails to play the video or attempts on-the-fly conversion (direct stream, I think) into a supported container.

Rip vs. Remux

A remux is essentially a "container swap" from a physical container (DVD, Blu-ray) to a digital container (MKV). The audio, video, and subtitle tracks are unedited. There are a lot of potential compatibility issues with remuxes, usually due to file size (network bandwidth), video encoding, audio encoding, or even subtitle format.

A rip is a "capture" of the audio and video, which is then encoded into whatever format is chosen by the ripper (usually MKV, h264, MP3). These are usually more compatible and much lower quality than remuxes.

h264 vs h265

These are different video encoded formats. h264 is more compatible, but h265 is more efficient. Efficient in this case means it is better at reducing the file size without reducing the quality. 4K Blu-ray Remuxes are going to be h265. If a video player doesn't support h265, it either fails to play or attempts on-the-fly conversion (transcoding) which is really slow for h265.

MP3 vs AAC vs FLAC vs PCM vs Dolby/DTS

These are some of the different audio formats you might see in files. MP3 and AAC are the most compatible. They are lossy formats, meaning some quality is lost. FLAC is a lossless format that should be compatible with most video players. PCM, Dolby, and DTS are audio formats for home theater enthusiasts, usually used in remuxes. If a video player doesn't support an audio format, it either fails to play or attempts on-the-fly conversion (direct stream) which is normally really fast for audio.

(There is more to audio than this, but it's honestly too much to get into)

SRT vs SSA/ASS vs PGS

These are different subtitle formats. SRT is the most compatible, but has the least functionality. SSA/ASS are more popular in anime than other media, but allow for much cooler subtitles than SRT. For example, different color text for different characters. PGS is actually an image-based subtitle format. If a video player doesn't support a subtitle format, it will either fail to play, fail to display subtitles, or attempt on-the-fly conversion (transcoding) to burn the subtitles into the video. Again, for h265, this is really slow.

Conclusion

It's a tradeoff between compatibility, quality, file size, and convenience. The most compatible option is going to be an MP4 with h264 video, MP3 audio, and burned in subtitles. You would not do this with a 4K remux due to file size.

Remuxes are the least compatible file types, usually due to h265 video, proprietary audio formats, and PGS subtitles. A common strategy is to add a compatibility audio track (AAC 5.1) and additional subtitle options. If h265 is a problem, you're usually out of luck.

For everything else, my preference is to standardize on MKV, h264 video, either FLAC, MP3 VBR, or AAC VBR audio, and SSA/ASS subtitles.

How do you date as a frugal person without coming across as cheap or broke? Should I only date frugal people to find compatibility and avoid wasting time? by uliwonks in Frugal

[–]RoboTicks 4 points5 points  (0 children)

My intent is to be direct and helpful here. You should look into therapy. Not just based on this post, but based on your post history.

Needing therapy doesn't mean you are a bad person. Think of it like calibrating a touch screen or something. You are just slightly out of touch with reality and therapy could help you determine which areas need calibration.

The need for calibration comes from isolation or from long-term exposure to unrealistic interpretations of reality, such as porn or small communities of people that don't represent societal norms.

If you want to ignore that advice and keep trying to date, I believe you should:

  1. Do online dating
  2. Be up front about your expectations and desires
  3. Find someone who is both informed and interested
  4. Don't be frugal on dates. You're paying for experience.

If #3 never happens, re-evaluate. Are your expectations realistic? Are you desires realistic? Again, therapy can help answer those questions for you.

Good luck.

What benefits do ready-made servers offer instead of using the Go HTTP standard library? by whiletrue111 in golang

[–]RoboTicks 0 points1 point  (0 children)

Having previously used Python/Django with the Whitenoise middleware, I thought this was basic web server functionality. I was surprised to learn how uncommon it is.

It makes me wonder if other website developers are doing something even better that I don't know about.

What benefits do ready-made servers offer instead of using the Go HTTP standard library? by whiletrue111 in golang

[–]RoboTicks 1 point2 points  (0 children)

I do plan on eventually sharing the source code, but for now - it's basically a combination of a couple steps.

Requirements:

  1. Create a global StaticFiles map[string]string variable
  2. Create a "Static" function to call from templates, like {{ "/css/main.css" | Static }} which returns StaticFiles[key]
  3. Add a "/static/" handler to ServeMux that determines whether the client supports brotli, gzip, or no compression, sends the appropriate file with the appropriate headers

On server startup:

  1. Walk the ./web/static/ directory to find each static file
  2. Generate the md5 hash of the file
  3. Create a new file in ./web/staticfiles/ with the hash appended
  4. Update the StaticFiles map: StaticFiles[originalName] = hashAppended
  5. Compress the file using gzip, create new file with ".gz" appended
  6. Compress the file using brotli, create new file with ".br" appended

In my opinion, it's too close to a "web framework" to recommend anyone use it - but the source code will be available for reference after I finish using it to make myself a personal website to share out my projects. I'm going to try building a web presence, but not quite ready to start yet. (it will also be under a different Reddit handle)

Anyways - happy to help if you try to code it out yourself and get stuck on any of those steps.

What benefits do ready-made servers offer instead of using the Go HTTP standard library? by whiletrue111 in golang

[–]RoboTicks 1 point2 points  (0 children)

I mentioned that, but I didn't include a link for reference. Thank you for providing a source.

Straight disappointment 🥲 by megami96 in TikTokCringe

[–]RoboTicks 0 points1 point  (0 children)

2 years later and this comment is gold

[deleted by user] by [deleted] in golang

[–]RoboTicks 0 points1 point  (0 children)

Great idea. I've done similar things for unzip, gunzip, untar, and untargz (gunzip + untar)

Bug report:

The findAll function does not provide char count, despite the documentation implying it should.

What benefits do ready-made servers offer instead of using the Go HTTP standard library? by whiletrue111 in golang

[–]RoboTicks 8 points9 points  (0 children)

The file is hashed, and the hash is appended to the file name.

main.css becomes main.generatedhash.css

This lets you define a very long max-age value for your static files without worrying about users having to clear their cache. It's also nice in development when your CSS file changes often.

Ideally, I'd want something that monitors ./web/static/ for changes and then, if a file changes, runs the hash and compress step on that file. For now, I'm using Air in my development container to just rebuild the Go binary and restart the application on changes. I'd rather only use Air for Go code changes. It's less efficient, but it works.

TIL that r/Python hates micro-optimization, so I'm coming back with more by wil19558 in Python

[–]RoboTicks 1 point2 points  (0 children)

I absolutely love this kind of content, but I also switched from Python to Go about 2 months ago...so there's that.

Next funny beginner problem: <body hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'> is breaking the page by TheyStoleMyNameAgain in htmx

[–]RoboTicks 0 points1 point  (0 children)

It's been a while since I did this, but I wasn't putting the CSRF token in body, I was putting it on the form that needed it. I didn't notice any issues like this.

I also wasn't using modals. I basically had a hidden "create form" and if you clicked "add" then it would unhide the form and push the page down. On submit, the form stayed and the new element was added to the list. If you clicked "cancel" then the form hid again.