• 11 Posts
  • 161 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle
  • OneCardboardBox@lemmy.sdf.orgtoLinux@lemmy.mlPlug-and-play development environment
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    3 months ago

    I set up a very straightforward Godot dev environment yesterday using toolbox which is built on top of rootless Podman.

    • Create a new fedora toolbox
    • Enter toolbox
    • Install DotNet dependencies, git, etc with dnf
    • Install Godot binary from release page
    • Turns out there were other dependencies I needed
    • Godot wanted a few Wayland libs on the container, so I installed Weston (maybe overkill)
    • Godot wanted libxrandr so I added that too
    • Godot just works ™

    The nice thing about toolbox is that it uses my native host Wayland compositor. So whatever I have running in the toolbox can be interacted normally through sway (my host WM).

    You can either distribute a container image with your given toolbox configured, or just document the setup steps.


  • You can host docker volumes over NFS, but the actual container images need to exist on a filesystem that supports overlay (which NFS does not) unless you want things to be slow as shit. And I really do mean miserably slow. A container image shared over NFS will take forever to spin up because it has to duplicate the entire container filesystem instead of using overlays, and then it’ll blow up your disk usage by copying all these files around instead of overlaying them. It’s truly unusable.




  • Sometimes the freeze might be in the display manager. Eg xorg or your wayland compositor has crashed.

    In that case, you can use keyboard controls to change tty and fall back to a text interface. I think it’s ctrl + alt + Fn$number, where $number will correspond to the tty you want. Most graphical sessions launch on tty2, so you would use crtl + alt + F1 to switch to tty1.

    From there you can log in and use terminal commands to launch a new gui session, or to try and debug what went wrong. Generally, I’ve only had freezing issues on Linux when my GPU is dying. There was also a period where my work computer didn’t have enough swap space. It would freeze whenever I tried to compile code during a video call.


  • I used to browse certain subreddits for negativity bait. Eventually I decided that I didn’t want to immerse myself in a negative mindset so often.

    The trick for me was to recognize those moments when I was on auto-pilot and navigating to those spaces because I was bored and it was a reflex. I would remind myself that I know it’s bad for me, and then force myself to do literally anything else. Go to some other website. Vacuum the floor. Put on some music and go for a walk. Eventually I lost that reflexive instinct, and now I have no desire to go back to those places.

    I’m not going to pretend that what worked for me will work for anyone else, nor will I say that I’m now a better person for avoiding those spaces. I’ve probably replaced that habit with an equally pointless one, it’s just nice to not always view things from the context of tearing others down.


  • Eh, maybe. Back during feudalism, emancipation of serfs was also considered theft from the nobles who owned the land (and thus the serfs who worked it).

    Sometimes governments implemented programs to reimburse the nobles for losing “their” serfs, and sometimes not. Now that we’re a couple centuries removed from that drama, we generally accept that the destruction of feudalism was a good thing, regardless of whether it was theft.







  • I think this is probably more a copy of various East Asian social media services than anything Reddit-like. Pretty sure TikTok and a bunch of Chinese video streaming services already do this. I think the whole Money -> Gifts -> Rubies -> Money chain is intended to dance around money laundering legislation. The same way that Pachinko machines aren’t technically considered gambling in Japan.