KDE Social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@tfm@europe.pub to Programmer Humor@lemmy.mlEnglish • 20 days ago

Python!

lemmy.ml

message-square
58
fedilink
712

Python!

lemmy.ml

@tfm@europe.pub to Programmer Humor@lemmy.mlEnglish • 20 days ago
message-square
58
fedilink
  • Oriel Jutty :hhHHHAAAH:
    link
    fedilink
    6•20 days ago
    $ python3 -c 'f = (lambda x: x + 0.5 - 0.5); print(f(2**52))'  4503599627370495.5
    

    #python

    • Cevilia (she/they/…)
      link
      fedilink
      English
      11•20 days ago

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

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

Subscribe from Remote Instance

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.
  • 82 users / day
  • 823 users / week
  • 3.63K users / month
  • 8.82K users / 6 months
  • 38K subscribers
  • 1.83K Posts
  • 39K Comments
  • Modlog
  • mods:
  • @cat_programmer@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org