658
Machine learning (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] Gork@lemm.ee 124 points 1 month ago

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

[-] oxideseven@lemmy.ca 22 points 1 month ago

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.

[-] cm0002@lemmy.world 6 points 1 month ago

"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

[-] Bougie_Birdie@lemmy.blahaj.zone 18 points 1 month ago

I see "Lemmings" a lot and fairly like that

[-] OpenStars@discuss.online 4 points 1 month ago

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.

img

[-] oxideseven@lemmy.ca 2 points 1 month ago

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

[-] OpenStars@discuss.online 1 points 1 month ago

And I do prefer being inclusive whenever possible:-).

[-] model_tar_gz@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

Calzones are just folded pizzas.

[-] Nougat@fedia.io 3 points 1 month ago

Hot dog is taco.

[-] ArtVandelay@lemmy.world 11 points 1 month ago* (last edited 1 month ago)
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.

[-] WhiskyTangoFoxtrot@lemmy.world 4 points 1 month ago
[-] ArtVandelay@lemmy.world 8 points 1 month ago

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

[-] watersnipje@lemmy.blahaj.zone 0 points 1 month ago

If you want to write Python like a caveman, then sure

[-] echodot@feddit.uk 2 points 1 month ago

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

[-] kellyaster@lemmy.world 10 points 1 month ago

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?

[-] Buddahriffic@lemmy.world 4 points 1 month ago

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.

this post was submitted on 03 Oct 2024
658 points (98.4% liked)

TenForward: Where Every Vulcan Knows Your Name

3789 readers
350 users here now

/c/TenFoward: Your home-away-from-home for all things Star Trek!

Re-route power to the shields, emit a tachyon pulse through the deflector, and post all the nonsense you want. Within reason of course.

~ 1. No bigotry. This is a Star Trek community. Remember that diversity and coexistence are Star Trek values. Any post/comments that are racist, anti-LGBT, or generally "othering" of a group will result in removal/ban.

~ 2. Keep it civil. Disagreements will happen both on lore and preferences. That's okay! Just don't let it make you forget that the person you are talking to is also a person.

~ 3. Use spoiler tags. This applies to any episodes that have dropped within 3 months prior of your posting. After that it's free game.

~ 4. Keep it Trek related. This one is kind of a gimme but keep as on topic as possible.

~ 5. Keep posts to a limit. We all love Star Trek stuff but 3-4 posts in an hour is plenty enough.

~ 6. Try to not repost. Mistakes happen, we get it! But try to not repost anything from within the past 1-2 months.

~ 7. No General AI Art. Posts of simple AI art do not 'inspire jamaharon'

~ 8. No Political Upheaval. Political commentary is allowed, but please keep discussions civil. Read here for our community's expectations.

Fun will now commence.


Sister Communities:

!startrek@lemmy.world

!memes@lemmy.world

!tumblr@lemmy.world

!lemmyshitpost@lemmy.world

Want your community to be added to the sidebar? Just ask one of our mods!


Honorary Badbitch:

@jawa21@startrek.website for realizing that the line used to be "want to be added to the sidebar?" and capitalized on it. Congratulations and welcome to the sidebar. Stamets is both ashamed and proud.


Creator Resources:

Looking for a Star Trek screencap? (TrekCore)

Looking for the right Star Trek typeface/font for your meme? (Thank you @kellyaster for putting this together!)


founded 10 months ago
MODERATORS