SpeakinTelnet

joined 2 years ago
[–] SpeakinTelnet@programming.dev 8 points 2 years ago (2 children)

I say ess cue ell for the sake of uniformity because it's not Mysequel nor Postgresequel and the language changed from Sequel to the acronym SQL in the 70s so not really in the "too new" ballpark anymore.

It was added in 3.10 and is surprisingly complete. The tutorial pep is a good starting point to see what it can accomplish

On one side I'm really sad it was so because I felt ready to deal with advanced math and started to program around an offset. On the other side I'm damn grateful it was this way because I was far from as ready as I felt.

[–] SpeakinTelnet@programming.dev 15 points 2 years ago* (last edited 2 years ago) (5 children)
def is_even(n):
    match n:
        case 1:
            return False
        case 0:
            return True
        # fix No1
        case n < 0:
            return is_even(-1*n)
        case _:
            return is_even(n-2)
[–] SpeakinTelnet@programming.dev 4 points 2 years ago (1 children)

There's nothing limiting what a comment should be as far as I know.

As an example of what I mean, I've seen in a 10k+ lines python code a few lines of bit manipulation. There was a comment explaining what those lines did and why. They didn't expect everyone to be proficient in bit manipulation but it made it so that anyone could understand anyway.

[–] SpeakinTelnet@programming.dev 6 points 2 years ago (4 children)

I don't care how much you think your code is readable, plain text comments are readable by everyone no matter the proficiency in the programming language used. That alone can make a huge difference when you're just trying to understand how someone handled a situation.

Have you looked at tp-link omada line? It's what I have (eap660 hd) and it's working flawlessly.

[–] SpeakinTelnet@programming.dev 11 points 2 years ago (1 children)

I've come to peace with the fact that I'll laugh way more watching a movie like this or "The Shark Side of the Moon" than any serious comedy. And I mean like belly laugh, not "lol" laugh.

There's a sort of delight in watching a scene that you just know someone said after the nth take "good enough, we'll fix it in post." And forgot that the post processing budget was a pack of beer.

[–] SpeakinTelnet@programming.dev 10 points 2 years ago (1 children)

New employees are responsible of at least 75℅ of documentation clarification and process overhaul.

[–] SpeakinTelnet@programming.dev 30 points 2 years ago (4 children)

Keep everyone awake and on their toes.

view more: ‹ prev next ›