• 1 Post
  • 55 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle

  • The 99 bottles of beer song is (was?) a popular programming exercise to teach beginners about loops. Singing it in real life would be pretty annoying because you would essentially repeat the same two sentences for a couple of minutes. Apparently, the PHP developers were planning to order one beer each, sing the song and get on everyone’s nerves. The C++ dev stopped this by buying all the remaining beer at once.

    The choice of languages is probably OP’s own prejudice. These days I’d say PHP devs are on average older and more experienced than JS and Python devs, just because almost nobody learns PHP as their first language anymore.


  • And I’m pretty sure that the name “hot potato license” and the comment above the license are very strong indicators for this not being the case. The license is meant to mimic a game of hot potato where you get the code for a short moment (one commit) and have to throw it to someone else. Sure, the analogy doesn’t quite work because you can’t decide who has to make the next commit but it would make even less sense if you were able to keep control over the code and add more and more commits. That would defeat the whole point of naming it “hot potato license”.





  • Not sure why you get Apple into this. Apps on iOS have been natively compiled from the beginning and they are amazing at running stuff on older hardware. My current iPhone 12 Mini is over three years old and smoothly runs everything I throw at it. Before that I had a 2016 iPhone SE for about four years and only replaced it because I wanted something with a better camera (I’m a semi-professional photographer so I want something decent for when I see something cool and don’t have my big camera with me). I gave the SE to my mom and she used it for another two years until she decided she needed a bigger screen. It probably still works and it got its last OS update just two months ago.

    As long as you don’t run something super hardware hungry, you can easily use an iPhone for at least five years without any problems. Even if the battery dies halfway through, there are dozens of repair shops around that will replace it for a reasonable price in case you’re not comfortable with opening up the phone on your own.



  • They can. They just have to compile it themselves (the code is available on GitHub) or find someone else to give them a compiled version (for example F-Droid which is linked from the readme on github).

    Free software means that you are allowed to do a lot of stuff. It doesn’t mean you can expect to be handed everything on a silver platter. Correctly building and uploading mobile apps to an official app store is a lot of work (even more on iOS than on Android) and while I personally wouldn’t take money for it, I can completely understand when other developers do so to finance their work. Remember, open source developers also need to pay for food and housing.





  • I never got into kubernetes but docker swarm mode services (not to be confused with old docker swarm) are pretty similar and they’re absolutely amazing for small deployments, even for just a home lab. If there’s anything I want to self-host, no matter if it’s homeassistant, jellyfin, nextcloud, a mastodon instance, a lemmy instance, GitLab or whatever, I can usually just get a preconfigured container, adjust some lines in a docker-compose.yml to fit my environment and be done with deployment in under 5 minutes without having to worry about dependencies, isolation or most configuration. Same for the stuff I write myself. Most of my stuff has a very simple GitLab CI config of maybe 20 lines and immediately shows up live when I merge my changes into main.





  • Even more so when you consider that my initial impulse to set it up was to be a better host when my friends visit. Like the stereotype of staff at high end restaurants and hotels taking notes on their guests’ preferences. I kept forgetting important stuff like allergies and now with the wiki, I have everyone’s favorite drinks and snacks ready, plan dinner that everyone likes, that kind of stuff.

    From there it was just a tiny step to use the wiki to keep track of other stuff that would otherwise sit in the back of my brain or in some badly-maintained list until I forget.



  • For the most time I just kept tabs open or used the post save feature in Reddit, Mastodon and Lemmy. That way I collected dozens if not hundreds of things that were vaguely interesting but I never got around to looking at them anyomere and when I was looking for something specific I had to check multiple places, each with less than optimal search functions.

    Last year I decided to just create a personal wiki. MediaWiki is FOSS, easy to set up (especially with docker), accessible from all my devices and has a huge community because of Wikipedia. I have specific articles for different topics:

    • a list of things I might want to buy at some point
    • lists for books, movies, shows and games I want to read/watch/play in the future
    • a whole category of cooking recipes in a format that’s more readable than the original versions where you have to scroll through ten pages of the author’s life story, translated into my native language and with notes on what I changed from the original
    • articles for projects or questions that I never quite solve (“Where to buy custom printed LEGO minifigs?”, “What scripting languages are easy to embed in a C# project?”, “What’s that weird bug that causes zfs to throw errors when my HDDs take a bit too long to wake up from sleep?”) with partial answers.
    • articles about my friends with some basic facts like birthday, favorite color, favorite animals, allergies and things we’d like to do together at some point
    • and many more

    Whenever I find an interesting link, I check if I already have an article that it fits into and if not, I create one. That way everything is roughly grouped by topic, I can leave notes and I have a nice search function and even a history that keeps references to stuff I edited or deleted.

    Edit: the downside is that saving a link takes a bit longer, especially when I’m on my phone. Because of that I occasionally still save links the way I used to and if I still think they’re relevant after a few days, I move them to the wiki.