Skip Navigation
e0qdk e0qdk @reddthat.com

kbin account: [email protected]

This is my Lemmy alt. I'm about 50/50 between kbin and reddthat these days, but my kbin account is more established. If you're looking for my older posts, check there.

Interests: programming, video games, anime, music composition

Posts 7
Comments 103
Hello, I'm laid off and I can't afford therapy. If it's okay I'd like to vent.
  • I start my new job in about a week. It's a good company, pays well, allegedly they care a lot about their employees.

    Do they offer a medical plan? If so, you might be able to get mental as well as physical healthcare through it depending on the specifics.

  • Lemmy cookie expiring and forgetting, well, everything?
  • 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?

  • Active communities promotion thread
  • kbin.social has been totally down for a while. I don't think your posts are actually federating when you post into a kbin.social magazine right now; the votes you are getting are probably from other lemmy.world users only.

  • [Your much does your meal cost] 8€ meal at a factory in Germany.
  • I don't recognize the main dish or dessert -- beyond being some sort of pudding presumably with blueberries and something else on top.

    What are they called?

  • Otome Games [not mine]
  • [...] male-gazey content. I am 2) a woman extremely disinterested in that.

    I feel some men might also not want to see content focused on games where a big goal is to romance a man as a woman, presented in a femgazey way or a way tailored to our desires even if not sexualized.

    Fair enough. There are a lot of eroge where you play as a women that are absolutely, clearly intended to be played by men though; that part alone isn't likely to be off-putting, but I can see specific presentation and femgaze heavy works being just as off putting to some guys as malegaze heavy works are to some women. If the audience is mostly straight guys, posting fan art of something like an explicit BL work probably isn't going to get much positive response, I suppose. :-)

    There's so little content posted regularly in the visualnovels community though that I feel like anyone actively trying to start discussions there on the subject of VNs would likely be welcomed, but I might be wrong about that. The most successful posts I've seen are generally notices about sales and some business news with people occasionally posting memes and such as well.

    If that doesn't feel right to you though, I get it, and hopefully reviving the other community works out.

    Is the issue that the posts will be frequently inaccessible?

    I don't think your posts are federating out at all when kbin.social is down -- basically only people on your own instance can see it, if I understand how federation works correctly. If you check the view of the community from lemmy.world the last post visible is from a month ago, for example -- https://lemmy.world/c/[email protected]?dataType=Post&sort=New -- even though I can see on your instance that you've started several threads since then. I can't even load the community from reddthat since it was probably never requested and kbin.social is down currently; it just errors out.

    Does Lemmy have a way to get inactive mods removed and replaced?

    I don't know. Tagging @[email protected] for suggestions since they've been trying to grow the Fediverse for a while and may know how to go about it, if it's possible.

  • Otome Games [not mine]
  • kbin.social's been down for a while, and having serious problems for months.

    There is a general visual novel community at [email protected] which might be a better place to post to. It's not very active, but I know there are at least a few people around paying attention to it. I might chime in on some threads occasionally if you post there. My tastes are more in line with VNs aimed at the straight-male demographic, but I'm willing to try other VNs beyond that if there is a really good story or novel mechanics or some other non-sexual factor that makes it interesting.

    If that community doesn't fit your needs, I think there is also [email protected] -- but it seemed completely dead the last time I looked. You might be able to revive it though if you want to try.

  • ISO-8859-x encodings and invalid bytes
  • I was curious, so I did some searches on this topic for you and found these pages:

    The second link in particular notes:

    The reason that things are much easier with all ASCII data is that practically every Unicode encoding in existence maps bytes 0x00..0x7f to the corresponding code points, so byte strings and Unicode strings that contain the same all-ASCII data are basically equivalent, even semantically. What usually trips people up with non-ASCII data is that the semantic meaning of bytes in the range 0x80..0xff changes from one encoding to another.

    But, thinking like a systems programmer again, for many purposes the semantic meaning of bytes 0x80..0xff doesn’t matter. All that matters is that those bytes are preserved unchanged by whatever operations are done. Typical operations like tokenizing strings, looking for markers indicating particular types of data, etc. only need to care about the meaning of bytes in the range 0x00..0x7f; bytes in the range 0x80..0xff are just along for the ride.

    So the trick for beating Python 3 strings into submission is to put in encoding and decoding calls where you need to, choosing a single-byte encoding that doesn’t mutate 0x80..0xff. There are many of these; most of the Latin-{1..6} sequence (aka ISO-8859-1..10) is has this property. What you do not want to do is pick utf-8 or any of the multibyte Asian encodings. Latin-1 will do fine; in fact it has an advantage over the others in memory consumption, which we’ll describe below.

    Whether depending on this is actually correct or not is beyond me, but it seems like people have actually been using that pass-through behavior in practice and put it into things like Python2 -> 3 migration guides.

    The first link suggests that the seemingly undefined ranges are valid as C0 and C1 control codes which may be why it doesn't throw errors.

  • Art style comparison (art by テレみ)
  • (translation)

    Title: Let's try drawing Kagamine Rin in the style of (blank)

    Top row:

    • Is the Order a Rabbit? (Gochumon wa Usagi desu ka?)
    • Love Live!
    • Hidamari Sketch
    • YuruYuri

    Middle row:

    • Attack on Titan
    • Nisekoi
    • To Love Ru
    • Danganronpa

    Bottom row:

    • K-On!
    • NEW GAME!
    • Crayon Shin-chan
    • Original

    Hash tag: Kagamine Rin 10 Year Anniversary

  • Is this an issue in my code or in my Linux distro?
  • ResizeRedirectFlag

    Did you mean ResizeRedirectMask?

    Xlib docs for that say:

    Similarly, a single client can select for ResizeRedirectMask on a parent window. Then, any attempt to resize the window by another client is suppressed, and the client receives a ResizeRequest event.

    which definitely sounds like it could cause misbehavior.

    Glad to hear you've made progress, and good luck on the rest of your project!

  • How can i convert a pbf file to pdf file
  • Or is there a website where you can download OpenStreetMap as a PDF.

    Have you taken a look at this wiki page yet?

    Depending on what you need one of the suggestions there may be helpful.

    There is also documentation about PBF files as used by OSM if you want to do something more unusual that needs custom coding.

  • Is this an issue in my code or in my Linux distro?
  • On a past OpenGL project where I supported resizing, I used GLFW and responded to its framebuffer size callback by calling glViewport and resetting the projection matrix (in my case with glLoadIdentity followed by glOrtho -- it's not fresh in my memory any more, but I don't think that project used shaders at all). I also called glClear with GL_COLOR_BUFFER_BIT as part of my regular redraw. That worked fine for my needs.

    It looks like what GLFW was doing under the hood to trigger that callback was looking for an XEvent from X11 (via XNextEvent in a loop with a condition based on the result of calling XQLength) with type set to ConfigureNotify and which had an xconfigure entry with a width or height that differed from what was tracked directly by GLFW on its own window structure. When it saw an event like that, it would call the callback. After processing the event queue, GLFW called XFlush on the display.

    See x11_window.c in GLFW's source code for more detail: https://github.com/glfw/glfw/blob/master/src/x11_window.c

    Direct link to raw code, if you prefer: https://raw.githubusercontent.com/glfw/glfw/master/src/x11_window.c

    Hopefully comparing with what GLFW did can help you debug your own implementation. Good luck!

  • Long page load times on Reddthat (May 2024)
  • I was getting it a few days ago, but I'm pretty sure you weren't on 0.19.4-rc.11 yet the last time I saw it. Testing for a few minutes just now I haven't managed to reproduce it. Will let you know if I see the issue again. (Hopefully it's just good now!) Thanks!

    I did find a small issue while checking though -- on mlmym's settings page, the logo in the top left is showing up with src %3cnil%3e instead of a valid path.

  • ECH status: enabled in Chrome but not in Librewolf?
  • IIRC, Mozilla doesn't ship Firefox with DNS-over-HTTPS (DoH) enabled by default in most countries -- and I think it only does Encrypted Client Hello (ECH) if DoH is enabled.

    From LibreWolf's website:

    By default DoH is not enabled in LibreWolf.

    I assume that also disables ECH by default.

  • Polygon Graphics - For vaguely technical things about old 3D consoles and such
  • Is this for game consoles only, or would stuff like experimenting with similar looking (low-poly) art techniques on modern computers be acceptable there as well?

  • 相席(あいせき) doesn't exist/is long in English. More words like that, please?
  • To clarify, the word OP brought up is "aiseki".

    (Takoboto is a dictionary site.)

  • How to render videos with multiple audio tracks with 2 languages (select between tracks)?
  • 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.

  • Long page load times on Reddthat (May 2024)
  • Got it. Best of luck in your bug hunt!

  • Long page load times on Reddthat (May 2024)
  • Thanks. I'm still seeing some long load times, so it looks like the issue is still present.

    Do the RC releases have the federation changes to ditch the sequential transfer model? If so, I wonder if the DB is getting hammered or something...

  • Long page load times on Reddthat (May 2024)

    Has anyone else been getting long page load times (like ~10 or more seconds) frequently but intermittently over the last couple days?

    12
    Saibaa (by Jun Ling)
  • No; I just thought it was probably a typo but wanted to make sure I'm not missing a pun or something.

  • Request: update mlmym on reddthat (from 0.0.41 to 0.0.44)

    mlmym (the "old" interface) was updated on GitHub recently with changes that should fix the broken orangered notification envelope and the user profile sort order issues.

    @ticoombs -- when you have a chance, could you please look into updating mlmym on reddthat? Thank you!

    3