• 3 Posts
  • 103 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.




  • 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.



  • If you’re doing activities outdoors: Always bring an extra bottle of water. That is to say, bring a bottle to drink, and then another for when you get thirstier than expected. This season is relatively cool, but you really don’t want to be caught unprepared. Also: Arizona has a law requiring businesses to serve water for free if you ask. Don’t let anyone bullshit you and ask for money.

    Keep an eye on the weather reports, and do not hike down washes, ravines, or narrow canyons if there’s a rain storm anywhere nearby. Heavy rainfall several miles away can turn a sunny, dry ravine into a raging torrent that can kill. If you see a road that’s currently flowing with water, don’t try to cross it, even in a big car. You don’t know how deep it really is, and even just a few cms of fast water is enough to sweep a person off their feet and drown them. It doesn’t take much more to get a car stuck.

    If you’re going to Northern Arizona, bring warm clothes. People can be caught unprepared when they leave Phoenix for a day trip and it’s 60⁰F, but when they get to Flagstaff 2h later it’s snowing.

    If you see a Jumping Cholla:

    Don’t get too close. Their spines are longer than they look because they get so thin as to be nearly invisible.