I write code and play games and stuff. My old username from reddit and HN was already taken and I couldn’t think of anything else I wanted to be called so I just picked some random characters like this:

>>> import random
>>> ''.join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789") for x in range(5)])
'e0qdk'

My avatar is a quick doodle made in KolourPaint. I might replace it later. Maybe.

日本語が少し分かるけど、下手です。

Alt: e0qdk@reddthat.com

  • 6 Posts
  • 27 Comments
Joined 1 year ago
cake
Cake day: September 22nd, 2023

help-circle
  • I mentioned in a past comment a while back that I made a catalog of my anime. One of the observations I found while making it is that everything except for one movie had an entry on the English language Wikipedia already. That movie is Gundress from 1999. According to my personal journal, I watched this once back in 2014, apparently, but I remembered nothing about it, so I loaded it up recently and rewatched it.

    The movie has that “sort of hard to follow if you don’t already know the source material” kind of feel – although I think this is the original work? I checked the Japanese Wikipedia entry about it after watching it. Sticking the article through a translator, there’s a description of a seriously screwed up initial showing and mismanagement of production with the film being finished after it aired in theaters initially. The version I have is finished, of course; if half the movie wasn’t colored in I’d definitely have remembered that!

    The DVD menu prominently credits it as “Masamune Shirow’s Gundress”, but I’m not sure what his role in the production actually was. He’s listed in the opening credits for 設定協力 which got translated to English as “Characters Designed by” – but different people are credited with character and mech design in the end credits. A literal translation is something like “setting cooperation”.

    There’s definitely a number of familiar elements with some buildings reminiscent of Dominion Tank Police, mech suits that reminded me of designs in GitS:SAC, as well as thermoptic camouflage, cable-based cyborg communication (jacked into the neck), cyberdiving, etc. coming up during the story.

    Unusually, this anime features a Little Arabia enclave within the Japanese “Bayside City” the story is set in and one of the main characters is Muslim. I think this may be the only time I’ve seen Arabic script in anime – although I don’t know what it says.

    I clipped some screenshots and stacked them up so you can see what it looks like, if you’re curious: https://files.catbox.moe/qtsa0d.png (~8MB)





  • What I’d do is set up a simple website that uses a little JavaScript to rewrite the date and time into the page and periodically refresh an image under/next to it. Size the image to fit the remaining free space of however you set up the iPad, and then you can stick anything you want there (pictures/reminder text/whatever) with your favorite image editor. Upload a new image to the server when you want to change the note. The idea with an image is that it’s just really easy to do and keeps the amount of effort to redo layout to a minimum – just drag stuff around in your image editor and you’ll know it’ll all fit as expected as long as you don’t change the resolution (instead of needing to muck around with CSS and maybe breaking something if you can’t see the device to check that it displays correctly).

    There’s a couple issues to watch out for – e.g. what happens if the internet connection/server goes down, screen burn-in, keeping the browser from being closed/switched to another page, keeping it powered, etc. that might or might not matter depending on your particular circumstances. If you need to fix all that for your circumstances, it might be more trouble than just buying something purpose built… but getting a first pass DIY version working is trivial if you’re comfortable hosting a website.

    Edit: If some sample code that you can use as a starting point would be helpful, let me know.





  • Any ways to get around the download failing

    I did this incredibly stupid procedure with Firefox yesterday as a workaround for a failing Google Takeout download:

    • backup the .part file from the failed download
    • restart the download (careful – if you didn’t move/back it up, it will be deleted and you will have to download the whole thing again; found this out the hard way on a 50GB+ file… that failed again)
    • immediately pause the new download after it starts writing to disk
    • replace the new .part file with the old .part file from earlier (or – see [1] below)
    • Firefox might not show progress for a long time, but will eventually continue the download (I saw it reading the file back from disk with iotop so I just let it run)
    • sanity check that you actually got the whole thing and that it is usable (in my case, I knew a hash for the file)

    [1] You can actually replace the new .part file with anything that has the same size in bytes as the old file – I replaced it with a file full of zeros and manually merged the end onto the original .part file with a tiny custom python script since I had already moved the incomplete file to other media before realizing I could try this. (In my case, the incomplete file would still have been useful even with the last ~1MB cut off.)

    There are probably better options in most cases – like Thunderbird for mailbox as other people suggested, or rclone for getting stuff from Drive – but if you need to get Takeout to work and the download keeps failing this may be another option to try.







  • Hmm… I’m pretty sure I started both of them way back when, but I don’t think I ever beat them. Dusting off the classics and seeing if I’m better suited to them now with the benefit of a few more years of experience is not a bad idea… Maybe I’ll give that a shot after I finish Hell Pie.

    Thinking along those lines, there’s also Super Mario Sunshine, of course, for anyone else looking. (I definitely beat that one though!)



  • Thanks for the suggestion. I’ll take a look. Toilet humor isn’t my usual goto, but I can enjoy it from time to time; I mean, that boss from Conker’s Bad Fur Day – you know the one, if you ever played it – is among the most memorable encounters I’ve ever had in gaming…

    Edit: I’m a few hours in now, and I’d say it’s kind of like the developers took Conker’s Bad Fur Day and A Hat in Time, ground both up with a meat grinder, shoved the mix in a pie tin, added a dash of Ford Cruller’s Secret Blend of Psitanium and Spices, and baked in the oven at 350 degrees until well done. I’m enjoying it so far. Fair warning to anyone else reading who is thinking of trying it that it’s much more tuned to Conker’s style of cartoon violence (with blood and gore) than to A Hat in Time’s.






  • I played it back in March 2012 after learning about it from a Let’s Play (thanks Toegoff, if you’re still out there, somewhere!). The comments recommended Katawa Shoujo, and, yeah, I went down a bit of a rabbit hole after that too…

    I’ve been digging through a lot of old anime lately looking for amusing lines and striking images and so on to post to various kbin/lemmy communities, and I guess something tickled my memory of this game, so I dug it up out of a backup of my old hard disk and fired it up again to get this screenshot. This line is one of the things that’s stuck with me from it over the years.





  • e0qdk@kbin.socialtoLinux@lemmy.mlOpenGL version problem
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago
    • GLFW is intended to be built with cmake.
    • After unzipping the source, make a build directory, and configure glfw3
    • ^^ I like using ccmake to do this interactively, but you can also just pass flags to cmake if you know what they are
    • You should build with GLFW_USE_WAYLAND and GLFW_USE_OSMESA turned off to get it to try to build against X11.
    • You will probably also want to turn off GLFW_BUILD_DOCS, GLFW_BUILD_EXAMPLES, GLFW_BUILD_TESTS
    • You can adjust CMAKE_INSTALL_PREFIX if you don’t want to use the /usr/local default install path.
    • After generating a Makefile, run make and make install
    • glfw3 generates a pkg-config compatible .pc file as part of its build process that lists flags needed for compilation and linking against the library. Normally, you’d just call pkg-config --cflags --libs --static glfw3 to get this info as part of your own build process (in a Makefile, for example) or else require glfw3 as part of a cmake-based build, but you can read what’s generated in there if that program is not available to you for some reason. In case it’s helpful for comparison, what I get with a custom build of the static library version of glfw3 installed into /usr/local on a slightly old version of Ubuntu is output like -I/usr/local/include -L/usr/local/lib -lglfw -lrt -lm -ldl -lX11 -lpthread -lxcb -lXau -lXdmcp but you may need something different for your particular configuration.

    Basically, something like this, probably, to do the compilation and get the flags to pass to g++:

    wget 'https://github.com/glfw/glfw/releases/download/3.3.8/glfw-3.3.8.zip'
    unzip glfw-3.3.8.zip
    mkdir build
    cd build
    cmake -D GLFW_BUILD_DOCS=OFF -D GLFW_BUILD_EXAMPLES=OFF -D GLFW_BUILD_TESTS=OFF -D GLFW_USE_OSMESA=OFF -D GLFW_USE_WAYLAND=OFF -D GLFW_VULKAN_STATIC=OFF ../glfw-3.3.8
    make
    make install
    
    pkg-config --cflags --libs --static glfw3
    
    

    If you want to just compile a single cpp file after building and install, you can do something like

    g++ main.cpp `pkg-config --cflags --libs --static glfw3` -lGL