Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

magic_lobster_party, (edited ) to programmer_humor in Bill is a pro grammer

I’ve seen code that look like this:

int delay = 15 * 60; // 10 minutes

Even if the comment was on the same line someone forgot to update it. People just ignore comments.

Better solution is to write (in C#):

TimeSpan delay = TimeSpan.FromMinutes(15)

Much more obvious what the code actually means.

magic_lobster_party, to programmer_humor in Bill is a pro grammer

Those cases are rare. Often the most basic solution is good enough.

If you have to write complex code, then you should write a comment (write the name of the algorithm for example).

magic_lobster_party, to linux in My first year using Linux: My experience

KDE Plasma and Gnome are different desktop environments. Kind of like the GUI of the desktop.

Which is best is a matter of taste. I prefer KDE because of its customization options and better virtual desktop support.

magic_lobster_party, to asklemmy in What are Lemmy's unwritten rules?

Mandatory Ubuntu hate as well.

I use Ubuntu btw.

magic_lobster_party, to memes in I didn’t plan this far ahead

Yes we do

magic_lobster_party, to programmer_humor in the myth of type safety

Laughs in Object

magic_lobster_party, to linux in A response to the "Boycott Wayland" article

But locking the screen is not the purpose of xscreensaver. It’s mostly just an overlay with animations.

magic_lobster_party, to linux in A response to the "Boycott Wayland" article

Screen locking yes, but that’s not screen saver.

magic_lobster_party, to linux in A response to the "Boycott Wayland" article

Who even uses screensavers these days?

magic_lobster_party, to programmer_humor in Show me a better text format for serializing

JSON for serialization all the way. It’s simple and to the point. It does one thing and does it well. There’s little room for annoying surprises. Any JSON can easily be minified and prettified back and forth. If you want it in binary format you can convert it to BSON.

Yaml is too much of a feature creep. It tries to do way too many things at the same time. There are so many traps to fall into if you’re not cautious enough. The same thing can be written in multitudes of ways.

magic_lobster_party, to memes in A touching backstory

Talent show judges when you haven’t stopped the cycle of reincarnation:

magic_lobster_party, to linux in Why are gnome devs like this?

On the topic of Microsoft support, I hate how useless support boards are. They’re always responding with the same template answers describing the exact steps the asker clearly stated they’ve already done with no results. Microsoft is far from alone in this, but I just wanted to rant a bit.

magic_lobster_party, to asklemmy in Which YouTuber's voice can lull you to sleep?

ZFG. He has a nice deep voice. He mostly does Zelda Ocarina of Time speed runs, but as of lately he has focused on playing Zelda randomizers.

magic_lobster_party, to asklemmy in Be honest, do you still use reddit?

Reddit is dead to me. Only time I go there is if a Google search leads me there, which is not that often.

magic_lobster_party, to Buttcoin in Bitcoin miners will struggle to survive the next ‘halving’ event amid electricity costs, debt payments

Crypto enthusiasts are hopeful that a once-in-four-years event which rewrites the underlying code of the world’s biggest cryptocurrency will extend the current market rally.

Chill down. It’s just a variable change.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #