Xerxos

joined 1 year ago
[–] Xerxos@lemmy.ml 2 points 3 weeks ago* (last edited 3 weeks ago)

Yes I had a coworker that commented like that:

i++; // increase i by one

Tells you nothing new - a wasted comment. Everyone who can program know this. A comment that describes what you do.

i++; // increase i to move to the next entry

A better comment, explaining why you do what you do. Always add information in your comments that the code doesn't supply already. If you name your variables and methods well, good code is often self-explanatory. Use comments when it's not.

Of course in this trivial example no comment would be needed.

Oh and use XML comments, when applicable.

[–] Xerxos@lemmy.ml 36 points 4 weeks ago (4 children)

How the hell are we supposed to install it without a Internet connection? I worked in a company that was so hard on security that only certified machines were allowed access to the net, so virtual machines were not allowed to access the LAN and therefore the Internet. Generally not a problem as we just used them to test software on different OS versions, so no Internet required.

This change disallows all offline installs. What is their gain? Are they that keen on our data or are they planning to use the connection to a Microsoft account for something even worse than just selling personal information? I could think of a few reasons and none are nice...

[–] Xerxos@lemmy.ml 5 points 4 weeks ago

Reminds me of this joke:

Two worker see their boss arrive in a fancy car. The older worker sees the envy in his younger colleges eyes and says "You like the car? Well, if you really put in the time - you know, really work hard and do a lot of overtime - for a few years? Just work yourself to the bone. And that might just be enough... for him to buy another."

[–] Xerxos@lemmy.ml 2 points 1 month ago

Didn't he already get a side chick? I vaguely remember something like that...

[–] Xerxos@lemmy.ml 3 points 1 month ago

Because America has become the caricature of a country?

[–] Xerxos@lemmy.ml 2 points 1 month ago
[–] Xerxos@lemmy.ml 5 points 1 month ago (1 children)

The batteries analogy in the Matrix was bad and originally it was that the machines used humans as bio-computers, which makes a lot more sense.

[–] Xerxos@lemmy.ml 2 points 1 month ago (1 children)

What I wanted to say was: if it's a lizard that shows human traits (speech, walking upright, tool use, human intelligence) why is it bad to add more human/mammal traits like breasts?

[–] Xerxos@lemmy.ml 10 points 1 month ago (9 children)

Well, if it's a lizard woman then she already is a mixture of mammal (human) and lizard - why shouldn't the secondary sexual characteristics be more on the human side?

[–] Xerxos@lemmy.ml 3 points 1 month ago

AI has its uses: I would love to read AI written books in fantasy games (instead of the 4 page books we currently have) or talk to a AI in the next RPG game, hell it might even make better random generated quests and such things.

You know, places where hallucinations don't matter.

AI as a search engine only makes sense when/if they ever find a way to avoid hallucinations.

[–] Xerxos@lemmy.ml 11 points 1 month ago (4 children)

You can understand Peterson better if you remember that he is very Christian. If you believe that God personally looks out for humanity, how could climate change be happening?

view more: ‹ prev next ›