magic_lobster_party

@magic_lobster_party@kbin.social

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

magic_lobster_party,

This is way beyond a first hint of disapproval.

magic_lobster_party, (edited )

You don’t need to tell each other to shut the fuck up in all caps and call each other idiots to get the point across. It’s possible to instruct your peers in a much more professional manner.

magic_lobster_party,

He has used this comic as his profile pic on Twitter and StackOverflow for quite a while.

magic_lobster_party,

You can’t rescue the princess, but you can borrow her.

magic_lobster_party,

One way to tell if two numbers are equal is to show there’s no real number between them. Try to formulate a number that’s between 0.999… and 1. You can’t do that.

magic_lobster_party,

The difference is zero, so they’re equal.

magic_lobster_party,

0.999… means infinitely repeating 9s. There’s no more 9 to add that hasn’t already been added. If you can add another 9, then it’s not infinitely repeating.

magic_lobster_party,

Capitalism takes into account for basic facts like human nature.

magic_lobster_party,

Even ants and bees falls into the trap of having one tyrannical leader all the workers are serving.

magic_lobster_party,

We’re long past the hunter-gatherer reality with a world population of 20,000, which your post concerns.

magic_lobster_party,

Socialist ideas is to move away from the idea of private ownership. Everything is owned by the “people” in collective (which in practice often means the state). You don’t own your cellphone, your computer or your shoes. They’re all provided to you by the “people” (the state).

The roads in your example are paved by private companies in a competitive market (often funded by tax money). They may have been selected by the state to do the work at an agreed price. Next time some other private company might do the work because they compete with even better prices. This process is not socialistic.

magic_lobster_party,

The terminal is a power tool. I can do stuff with it that’s slow or inconvenient with graphical tools.

I really like the piping capabilities of the Linux terminal. Incredibly useful for text processing.

magic_lobster_party,

Because I can get my fucking point across without them

magic_lobster_party,

It’s found at sudo snap install mustard-gas nowadays

magic_lobster_party,

That’s why Mega Drive was always superior

magic_lobster_party, (edited )

GameCube. Because I have fond memories of it in my childhood. I prefer it over PS2 because it properly supports 4 player games (without any extra gadgets).

Smash Bros. Mario Kart. TimeSplitters. All excellent couch multiplayer games. Even Metroid Prime 2 had quite fun multiplayer.

And Soul Calibur 2 got Link.

magic_lobster_party,

Continuous deployment pipelines usually have lots of automatic testing ensuring nothing breaks for the user.

magic_lobster_party,

“Due the global economic circumstances, we were forced to make the incredibly tough decision to say good bye to one of our staff members, cutting down the work force by 100%”

magic_lobster_party,

I’m also glad I did it as a hobby before I started viewing software development as a job. No code from me if there’s no money on the table.

magic_lobster_party,

I think most people fail to understand what code smell really is. They think code smell means bad code. A code smell is actually an indication that something else might be bad with the code. The code smell itself might not be bad.

So when a code smell appears, it means you should identify the reason it exists and potentially fix it. In this case the bad code is a buggy external library, which is difficult for you to fix. Therefore, leaving the “code smell” is the best course of action.

Your manager was in the wrong and you were right to write comments.

magic_lobster_party,

It’s probably a little bit slower, but there are other things more worth to optimize than to shave off a few microseconds from a 15 minute delay.

magic_lobster_party,

One example was when a method's documentation said that it would throw a certain exception. Turns out it was actually throwing a different exception (deep into the code), so no wonder why we never captured it in time.

magic_lobster_party,

If you’re working in embedded I guess you can probably make an inline function or a macro so it’s taken care of at compile time.

magic_lobster_party,

My job title is actually a data scientist. I’ve seen few pieces of code that couldn’t have been made more explainable by just using a more clear and concise naming of variables and functions. Don’t try to be so overly clever with your single letter variables and Greek alphabet. Just explain what it is with a good name.

If I’m lucky I get to write a cool new algorithm once per quarter or so. Usually it’s just a standard algorithm that has an explanation in a Wikipedia page, so I just give the name of the algorithm and a link to that page.

Most of the time we’re just doing basic data processing building on the preexisting solutions. These generally don’t need comments.

The worst code is usually when someone has tried to be overly clever (including myself). Often a simple and straightforward solution had been overlooked. Simple solutions are easier to understand and maintain. Anyone can just look at the code and get a sense of what’s going on without any comments. In many cases a simple solution has also more accurate and faster to compute.

In my work, having explainable results far outweighs anything else, and you don’t get that by writing difficult to understand code.

magic_lobster_party,

x += 1; // Increases x by one

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