Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on sh.itjust.works

42 replies

lemm.ee

This, folks, is why global definition of variables can lead to your untimely demise.

125
wiareply
lemmy.ca

Exactly what I bring up when argumentative people show up with any of the inane food definitions "hot dog is sandwich" or "milkshake is soup" and what not.

23
cm0002reply
lemmy.world

"Pizza is an open-face sandwich" ~Madlad Lemmyor (lemmyite? Lemm? Lemmor? Just what do we call users of Lemmy anyways???) from a couple weeks ago

7
OpenStarsreply
discuss.online

Or "Fedizens" if we want to be inclusive of other members of the Fediverse, like Mbin, Piefed, Tesseract (well, technically that's just a GUI for Lemmy iirc), and soon Sublinks.

But it does seem less playful than Lemmings:-P.

5
wiareply
lemmy.ca

Fedizens is fun. Being citizens of the free and open.

2
lemmy.world
def hot(temp: int = 340):
    return temp

That way Bev can define temp however she needs, but if Picard doesn't specify, he gets his tea at a nice drinkable Kelvin temp.

11
lemmy.world

Python is dynamically typed, so you could just go against the type hint like an animal. But yes, probably.

8

If you're just going to define a variable and then return it there's no reason to do it in a function.

2

Yeah you gotta scope dat shit.

No way the Ent-D rolled off the line with global vars for everything, was this before or after O'Brien transferred off the ship?

10

Crusher is in a shuttle, so the scope of that "hot" is more than just Ent-D. She might have accidentally destroyed the federation with that definition.

4

God I miss Tumble Dry comics. I understand he wanted to be more with his life than just "funny weed man" but fuck if he didn't make some of the most legendary stoner comics of all time.

24
someguy3reply
lemmy.world

The two most memorable Trek comics in one thread.

9

This is how I envision the future of modern day AI crap online ....

".... ... the answer to your question is ... imma gonna kill you .... lol .... what else would you like to ask?"

8
lemmy.world

If TNGs computer were as dumb as ChatGPT.

Thankfully they only let ChatGPT run the hollodecks... Which explains why they're always glitching out!

15
teftreply
lemmy.world

What prompt do I have to say to ChatGPT to get Moriarty?

4

The original prompt was create an opponent capable of defeating Data.

11
discuss.online

I have said it before but I'll say it again: be careful who you give root/superuser permissions to:-).

11
lemmy.world

"Kelvins" just feels wrong, but apparently is correct? (looking it up, seems like it's right) It still feels the same as if you'd say "200 Fahrenheits" or "140 Celciuses".

9
lemmy.world

Celsius and Fahrenheit are both degrees units, meaning they're scaled off of some arbitrary temperature. 20°C means 20 Celsius units away from Celsius 0.

Kelvin isn't scaled. 0 Kelvin means there's no temperature energy at all. So there's no need to couch it in degrees, since it isn't arbitrary but a defined scale with an absolute zero point.

16
slrpnk.net

No change necessary, but fishes is a perfectly acceptable and correct plural of fish, and so much more fun to say!

3
lemmy.world

I'm a big fan of mooses. I think they're large enough to deserve the extra letters.

6

1 degree, 2 degrees. 1 kelvin, 2 kelvins

4

You reached the end