Interests: programming, video games, anime, music composition

I used to be on kbin as e0qdk@kbin.social before it broke down.

  • 2 Posts
  • 23 Comments
Joined 11 months ago
cake
Cake day: November 27th, 2023

help-circle
  • I set up a couple profiles with different colored backgrounds so that I can easily visually distinguish terminal windows when I have several open at once. For example, I usually switch the profile to one with a red background when I ssh into a server to help avoid confusion about which system I’m running commands on. I also cranked up the font size a bit in all profiles to make it easier for me to read.


  • I’m not sure if I’ve ever fallen in love with a completely imaginary dream person, but I did dream about my ex once years and years after we broke up. I don’t remember what I dreamed about exactly, but I do remember waking from it. The happiness fading as the realization set in that it was all a dream – I was by myself in bed and none of it had been real. I’m usually pretty good at dealing with solitude, but that moment… that was the most intense loneliness I think I’ve ever felt.



  • Everything I’ve set in Settings is forgotten: Default Listing reverts to All, Default Post Sort reverts to Hot, and so on.

    mlmym (the “old” interface) stores its front-end specific settings in your browser via cookies and local storage. The way it’s implemented works for the most part and probably makes the front-end simpler, but has some downsides like not retaining your choices between logins. There’s an issue open for this in the bug tracker: https://github.com/rystaf/mlmym/issues/104

    I’m not sure why it forces a logout periodically even when you’re using it regularly though. (I mean, the cookies are probably not being updated and just expire eventually – but I don’t know if that was a deliberate choice or not.) It might be a good idea to open an issue for this?





  • I don’t know how to do it with KDE’s tools, but on the command line with ffmpeg you can do something like this:

    ffmpeg -i video_track.mp4 -i audio_jp.m4a -i audio_en.m4a -map 0:v -map 1:a -map 2:a -metadata:s:a:0 language=jpn -metadata:s:a:1 language=eng -c:v copy -c:a copy output.mp4
    

    Breaking it down, it:

    • runs ffmpeg
    • with three inputs (-i flag) – a video file, and two audio files.
    • The streams are explicitly mapped into the result, counting the inputs from 0 – i.e. -map 0:v maps input 0 (the first file) as video (v) to the output file and -map 1:a maps the next input as audio (a), etc.
    • It sets the metadata for the audio tracks -metadata:s:a:0 language=jpn sets the first audio track (again counting from 0…) to Japanese; the second metadata option sets the next audio track to English.
    • -c:v copy specifies that the video codec should be copied directly (i.e. don’t re-encode – remove this if you DO need to re-encode)
    • -c:a copy specifies that the audio codec should be copied directly (i.e. don’t re-encode – remove this if you DO need to re-encode)
    • output.mp4 – finally, list the name of the file you want the result written into.

    See documentation here: https://ffmpeg.org/ffmpeg.html

    If you need another language in the future, I think the language abbreviations are the three letter codes from here: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes – but I’m not certain on that.










  • I’ve seen 20+ car crashes outside my window in the last few years and cars usually either stay right where they stopped until police (and later tow trucks) arrive in the case of serious accidents or else pull over to the side of the road to exchange insurance information in minor accidents. In some of the moderate cases, I’ve seen the drivers try to move their cars out of the way of traffic but they still stay at the scene. I’ve never seen a car pull into a parking lot after an accident despite there being one literally right there where I live.


  • Glad to know it’s not just me. I think there might be more going on than just a caching issue though since when I look at the URLs requested in my browser’s dev tools it seems like it’s actually requesting the wrong data from the API. It looks like it’s always requesting https://reddthat.com/api/v3/post/list?limit=20&sort=New&type_=Subscribed twice per click for me – with the requests raced – regardless of whether I click on Local or All or try to change the sort order. (Subscribed + New sort order is my default view; you might get something different if you have a different default view or are testing it logged out.)




  • The problem still shows up on my profile (including if I view it logged out) and the order is persistent until I comment – but still jumbled afterwards. e.g. right before posting this “Penguins in the Bathroom [Penguindrum]” is at the bottom of the first page despite being a post I made 4 months ago, and right above it is “It’s just one of those days… [Nichijou]” from just under two months ago with a screenshot from Nichijou as a comment just above that – but my comments on things like the Kendama Core post and the April Fool’s Day Shrek thread are on the second page despite being much more recent.

    Looking at your profile right now as well, I see a comment on “Frequent short downtimes lately?” from 8 months ago at the bottom of the first page while your comment about Meta’s Threads from 2 weeks ago is at the top the second page.

    Looking at it logged out, it seems like it’s trying to sort user profiles by Hot by default. I didn’t notice that before since I have default sort set to New – which it definitely is not doing for profiles even though it adds it to the URL. (I’m not sure if it’s actually the Hot sort though – it might be ignoring that too…)

    (Submitted an issue on mlmym for you)

    Thanks. My ability to interact with Github is limited since I absolutely refuse to give Microsoft my phone number.