• 8 Posts
  • 77 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • Anonymouse@lemmy.worldtoShowerthoughts@lemmy.world    .......
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    I feel like everyone’s missing the point. Even 20 minutes a week is almost a day a year of your life sitting at a charger. I fill up my gas tank once a week and it takes maybe 5 minutes which is 4 hours a year that I spend feeding my car, staring at the stupid advertisements for a bacon-egg-and-cheese cinnamon roll covered in maple syrup or whatever other impulse items lie within the gas station. 5 minutes isn’t enough to do anything whereas if I plan for 20 minutes, I’m going to go get a tea or something.

    On the other hand, something we can all agree is a waste of time is, “how many hours of your life have been/will be spent sitting at a traffic light?”



  • I had one from Sony a long time ago. It even had a cable you could attach between two of 'em (600 CDs!) so that it could seamlessly start playing another track while loading the next song. I dropped it during a move and the next time I opened the door, it spit gears at me. I had intended to fix it some day, but started watching Hoarders and decided it wasn’t worth it.








  • It depends on what you do with Docker. Podman can replace many of the core docker features, but does not ship with a Docker Desktop app (there may be one available). Also, last I checked, there were differences in the docker build command.

    That being said, I’m using podman at home and work, doing development things and building images must fine. My final images are built in a pipeline with actual Docker, though.

    I jumped ship from Docker (like the metaphor?) when they started clamping down on unregistered users and changed the corporate license. It’s my personal middle finger to them.








  • I’m using Kubernetes and many of the apps that I use require environment variables to pass secrets. Another option is the pod definition, which is viewable by anybody with read privileges to K8s. Secrets are great to secure it on the K8s side, but the application either needs to read the secret from a file or you build your own helm chart with a shell front end to create app config files on the fly. I’m sure there are other options, but there’s no “one size fits all” type solution.

    The real issue here is that the app is happy to expose it’s environment variables with no consideration given to the fact that it may contain data that can be misused by bad actors. It’s security 101 to not expose any more than the user needs to see which is why stack dumps are disabled on production implementations.



  • Video guides are nice, but I prefer Grog’s Knots. He even has an app for offline knot learning, say, when you’re deep in the woods and it’s raining hard and your tent’s rain cover blows off into the lake and you thankfully brought a tarp and rope but don’t know how to make one of those adjustable knots that you can just slip-tighten. You know, theoretically speaking.

    On a side note and completely unrelated, bring one of those big grout sponges when you go camping. In addition to mopping up all the water in your tent, it makes a nice pillow if your inflatable pillow decides to run away in the night in a storm and go swimming in the lake.

    TL;DR: I hate camping.





  • In the early kernel (think pre 1.0), I “fixed” the CPU scheduler for performance. I gave too much privilege to user processes, who refused to relinquish control back to the OS.

    Another time I was working on a multiprocess bootup configuration (before systemd) in a configuration where the main process would orchestrate the workers. Well, the main process would fork a child to do the work, then the child process would fork a child process to do it’s work. It was infinite delegation and I ran out of pids.