• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • I liked this episode better than the previous two. Though it did feel like I was watching what should’ve been episode 1.

    The mysteriousness in the story’s world around the Magia Vander and the Fated Day still feels rather unnecessary. We got some information on both after the credits, but not much that we unexpected. There’s 5 chairs, so perhaps there are only 5 Magia Vander. All 4 of the Magia Vander present at the “meeting” (where they all have silly chairs pointing in the same direction, and Elfaria is facing away from everybody, lol) appear to be rather young. Whether that has an in-universe explanation or it’s just a shounen anime thing, I don’t think we’ll find out any time soon.

    Cariot’s line was a bit confusing to me.

    As usual, we’re holding a boring meeting merely for the sake of it. If the barrier were breached now, the world would be lost.

    Why are the Magia Vander having a meaningless meeting? What does that have to do with the barrier being breached? Do meaningless meetings support the barrier? Or was that just a crazy non-sequitur to let the Magia Vander do some basic exposition?



  • Dahlia has so many allies.

    They spent so much time showing the logistics of how the engagement gets nullified, and surprisingly it was pretty engaging to watch. It felt like getting a glimpse into this fantasy world. All the people involved with the legal work seemed to be allied with Dahlia as well, which seems like a bit of a conflict of interest… I expect Tobias got a high interest loan.

    Glad that Dahlia gets her protagonist hair color back.

    At the end it looks like Dahlia meets the man featured in the OP and series poster. From the OP I was not expecting him to be a knight. Their meet cute is an interesting situation; I’m curious in how this will fold out.


  • Your post wraps ups my concerns with these first two episodes.

    Sure, I could just accept that Will needs to do what he’s doing… but there already was an exposition on the tower this episode! They could’ve helped us understand the world better. Nope, instead we get a “hey, remember that you need to graduate to move up!”. And because of that we get a battle test that Will has to pass because… because he has to graduate! And he needs to graduate, we just learned that’s how you move up!

    They showed one of the classmates becoming mangled. Presumably the other took a good hit as well. They chose to keep both classmates alive. No explanation. I guess it’s magic!

    Maybe it’s leaving out details intentionally. I doubt it; it feels sloppy. (I mean, we did just see a teacher go to the principal to ask for permission to give a student a surprise extra-difficult test where failure means expulsion because the teacher doesn’t like that the student can’t use magic.) It feels like they don’t want to bother fleshing out the world. Let’s just move the plot forwards. Am I supposed to care? I feel like the answer might be “no”.

    A lot of the rest is done fairly competently. I’m willing to ride along and maybe it’ll get better. I’m expecting it won’t.


  • Noor knew about the warrior job but he didn’t know what one looked like?

    This had me confused as well. The only reason I can think of for mistaking Ines for a maid is her servile attitude towards Lynne.

    Also, was the King living in just a large house?

    Large enough to be a palace, I’d say. It has 5-6 above-ground floors and a large enclosed garden. It seems to be larger than Buckingham Palace.

    I wonder how long this show is going to keep him so dense and information somehow not getting to him.

    He really is next-level dense. To be fair, he is probably uneducated and only cares about being an adventurer. Even so, you’d think he’d know about a thing or two about the (adventurer?) royal family.

    Also, the king never got properly introduced and never asked for Noor’s name. Ines had to ask afterwards. And Noor just thinks of the king as Lynne’s father. It’s a little silly, but the silliness is what makes the show fun. If somebody doesn’t stop Noor, he’s going to use a national treasure / ultra greatsword to clean drains.





  • vole@lemmy.worldtoLinux@lemmy.mlLooking to make the switch
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    POP!_OS apparently uses systemd-boot (not to be confused with systemd). It apparently adds a Windows entry automatically if Windows is installed on the same disk. When Windows is installed on a different disk, it looks like booting the windows boot manager EFI program is still possible with systemd-boot. The instructions given in that link are a bit vague, though.

    This page has a different, simpler approach and more specific steps. Apparently you can just copy the Microsoft EFI folder to a specific directory in your Linux drive’s ESP partition. I’d be a little bit concerned about Windows not being able to update its EFI bootloader, but I also don’t know if Windows ever updates that. The page also has instructions on how to interact with the systemd-boot menu during boot.

    You could also install grub yourself, but I can’t guarantee that’ll be easy. Mashing F2 might be the sanest solution, unless you plan on booting into Windows every day.


  • I got interested, so I spent some time looking into what’s going on here. I’m not intimately familiar with X11 or Wayland, but I figured out some stuff.

    Why sudo ip netns exec protected sudo -u user -i doesn’t work for X11 apps

    Short answer: file permissions and abstract unix sockets (which I didn’t know were a thing before now).

    File permissions: when I start an X11 login session, the DISPLAY is :0 and /tmp/.X11-unix/ has only 1 file X0. This file has 777 access. When I start my wayland session with Xwayland, the DISPLAY is :1 and /tmp/.X11-unix/ has 2 files X0 (777) and X1 (755). I can’t figure out how to connect to display :0, so I guess I’m stuck with :1. When you change to a different (non-root) user, the user no longer has access to /tmp/.X11-unix/X1.

    Abstract unix sockets: When I start my wayland/xwayland session, it creates abstract unix sockets with ids @/tmp/.X11-unix/X0 and @/tmp/.X11-unix/X1. See ss -lnp | grep Xwayland. The network namespace also sandboxes these abstract unix sockets. Compare socat ABSTRACT-CONNECT:/tmp/.X11-unix/X1 STDIN and sudo ip netns exec private socat ABSTRACT-CONNECT:/tmp/.X11-unix/X1 STDIN.

    When you do sudo ip netns exec protected su - user, you loose access to both the filesystem unix socket /tmp/.X11-unix/X1 and the abstract unix socket @/tmp/.X11-unix/X1. You need access to one or the other for X11 applications to work.

    I tried using socat to forward X1 such that it works in the network namespace… and it kinda works. sudo ip netns exec protected socat ABSTRACT-LISTEN:/tmp/.X11-unix/X1,fork UNIX-CONNECT:/tmp/.X11-unix/X1. It appears having ABSTRACT-LISTEN before UNIX-CONNECT is important, I guess it would be worth it to properly learn socat. With this sudo ip netns exec protected su - testuser -c 'env DISPLAY=:1 xmessage hi' works, but sudo ip netns exec protected su - testuser -c 'env DISPLAY=:1 QT_QPA_PLATFORM=xcb kcalc' does not work. 😞

    Changing the file permissions on /tmp/.X11-unix/X1 to give the user access seems to work better.

    Wayland waypipe

    Waypipe works as advertised. But it’s still a little bit tricky because you need to have two separate processes for the waypipe client and server, wait for the waypipe socket to be created, adjust file permissions for the waypipe socket file, and set (and probably mkdir) XDG_RUNTIME_DIR.

    waypipe -s /tmp/mywaypipe client &
    sleep 0.1
    chgrp shared-display /tmp/mywaypipe
    chmod g+w /tmp/mywaypipe
    sudo ip netns exec protected su - testuser -c 'mkdir -p -m 0700 /tmp/runtime-testuser && env XDG_RUNTIME_DIR=/tmp/runtime-testuser waypipe -s /tmp/mywaypipe server -- env QT_QPA_PLATFORM=wayland kcalc'
    kill -SIGINT %1
    

    Combined

    into this script https://github.com/vole-dev/grabbag/blob/main/run-netns-user-wayland.bash




  • Completely tangential tip, but in the very-limited video editing I’ve done recently: I’ve used Davinci Resolve, rendered as .mov, and then used ffmpeg to render to my actual desired format. e.g. h264 w/ aac audio so I can upload to Youtube:

    ffmpeg -i input.mov -c:v libopenh264 -profile:v high -c:a aac -pix_fmt yuv420p output.mp4

    I do think that finding the right flags to pass to ffmpeg is a cursed art. Do I need to specify the video profile and the pix_fmt? I don’t know; I thought I did when I adventured to collect these flags. Though maybe it’s just a reflection of the video-codec horrors lurking within all video rendering pipelines.

    edit: there may also be nvidia-accelerated encoders, like h264_nvenc, see ffmpeg -codecs 2>/dev/null | grep -i 'h\.264'. I’m not sure if the profile:v and pix_fmt options apply to other encoders or just libopenh264.