• 24 Posts
  • 537 Comments
Joined 2 years ago
cake
Cake day: July 8th, 2023

help-circle

  • Had a programmer like this when I was still an apprentice. He was so full of himself. Was originally a Java programmer but had to program in PHP because that was what ran on the server. I never found out why he couldn’t just put Java on the server. We had full control.

    All his variables were first names. Like $klaus and $grobi. Because he was afraid of clashing with reserved keywords. The thing is, in PHP all variables begin with $ exactly to prevent this issue. So he brought that habit over from Java which was far superior and not such a “Mickey Mouse language”.

    I mean, he wasn’t totally wrong, especially back then PHP was awful. But he surrounded every function with <?php and ?> (PHP was designed to be combined with HTML output outside of these tags) and had plenty of whitespace between them and couldn’t fathom why all his html files had huge swaths of whitespace at the start.

    His way of preventing SQL injection was to look for SQL keywords in user input and then throwing an error in the log files.







  • I rewatched the old ones recently (and am currently watching the animated series from the 90s) and I honestly thought that the third one was the best.

    The first one took itself much too serious, tried to be super artsy and fell flat on its face. With the third one they at least dared to play around and have a little fun. That made all its shortcomings feel not so bad.

    But damn, the animated series is a blast. The first season isn’t that great but by the second season they had found their grove. The episodes where Superman meets Batman for the first time and one where he tries to save a man from a death sentence by doing detective work are especially good.












  • Meh, I don’t see this as a problem. People already crosspost into multiple relevant communities. If anything doing so with one post is a feature that’s missing from Lemmy/Piefed. Or is it missing? I’ll try posting into multiple communities after this comment.

    It seems to me that your problem is more aesthetic in nature. Maybe ask your favourite UI to make a feature to hide mentions and hashtags that are alone on their line.