• 0 Posts
  • 15 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 lots 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.





  • Well, you could consider the solution to the riddle a pun though that’s quite a stretch. Though there is at least one modern rendition (in German) that directly uses a more pun-ny solution. It does’t quite translate to English but I’ll try. Basically, Oedipus thinks and thinks until he starts to complain “Ach Mensch…” which is roughly equal to English “Oh boy…” but “Mensch” is literally the German for “human” so it’s the right solution and the sphinx has to accept it. If you understand German, I highly recommend checking out this version. It’s “König Ödipus” by Bodo Wartke. He plays all roles himself on a mostly empty stage with only a couple of props and it’s absolutely hilarious. The sphinx is a lion hand puppet.

    Edit: for anyone interested, here’s a youtube clip of the scene: https://www.youtube.com/watch?v=DogC57ZJuY8 (German with German subtitles)


  • In case you’re serious with the sphinx question: in ancient Greek myth the entrance to the city of Thebes was guarded by a sphinx who would only let you through if you could solve a riddle, otherwise the sphinx would eat you. Which riddle that would be changes from story to story but the most famous one is along the lines of “What creature walks on four legs in the morning, two at noon and three in the evening?”. This was eventually solved by king Oedipus who realized it was a human who crawls as a baby, walks on two legs as an adult and needs a walking stick as a third leg when they’re old. Depending on which version you read, the sphinx was either so shocked by him solving the riddle that it threw itself from a cliff or was simply slain by him.