86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tfm@europe.pub to Programmer Humor@lemmy.mlEnglish · 2 months ago

Python!

lemmy.ml

message-square
57
fedilink
708

Python!

lemmy.ml

tfm@europe.pub to Programmer Humor@lemmy.mlEnglish · 2 months ago
message-square
57
fedilink
  • Cevilia (she/they/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    3
    ·
    2 months ago

    Ah, Python. It might not be fast, but it gets it right in the end. :)

    • Oriel Jutty :hhHHHAAAH:@infosec.exchange
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      2 months ago
      $ python3 -c 'f = (lambda x: x + 0.5 - 0.5); print(f(2**52))'  4503599627370495.5
      

      #python

      • Cevilia (she/they/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        11
        ·
        2 months ago

        Ahh, contrived examples of floating point errors. I haven’t seen those since I asked Javascript to add 0.1 and 0.2 :)

    • Cevilia (she/they/…)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      deleted by creator

    • MashedTech@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Just wait till they get rid of GIL!

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        And get a whole bunch of multi threading horrors…

        • MashedTech@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          Well… I’m sorry to tell you… But they’re already working on it.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
community_visibility: public
globe

public_blurb

  • 618 users / day
  • 1.4K users / week
  • 2.21K users / month
  • 7.99K users / 6 months
  • number_of_local_subscribers
  • 38.6K subscribers
  • 1.86K Posts
  • 39.1K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org