lemmy.helios42.de
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 年前

Python tutorial moment

lemmy.world

message-square
56
link
fedilink
427

Python tutorial moment

lemmy.world

𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 年前
message-square
56
link
fedilink
  • qx128@lemmy.world
    link
    fedilink
    arrow-up
    59
    arrow-down
    1
    ·
    2 年前

    Hahaha now code-golf it. One line FTW!

    remove(Image.open(‘cl.jpeg’)).save(‘output.png’)

    • Tangent5280@lemmy.world
      link
      fedilink
      arrow-up
      61
      arrow-down
      2
      ·
      2 年前

      If I find this in production I’m whipping your ballsack till you change it back.

      • Jumuta@sh.itjust.works
        link
        fedilink
        arrow-up
        19
        ·
        2 年前

        import(“rembg”).remove(import(“PIL”).Image.open(‘cl.jpeg’)).save(‘output.png’)

      • _edge@discuss.tchncs.de
        link
        fedilink
        arrow-up
        15
        ·
        2 年前

        Can i hire you?

      • hackris@lemmy.ml
        link
        fedilink
        arrow-up
        9
        ·
        2 年前

        So I’m not going to change it

    • madcaesar@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 年前

      Code golf! I just learned something new 😂

      • sexual_tomato@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        10
        ·
        2 年前

        https://codegolf.stackexchange.com/

        Enjoy a new rabbit hole to dive down

      • silly goose meekah@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        2 年前

        You never heard of code Golf before? It’s usually programming challenges where the goal is to use the smallest number of source code characters possible.

        • Soulg@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          2 年前

          I haven’t either but I like it.

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 369 users / day
  • 582 users / week
  • 2.19K users / month
  • 7.32K users / 6 months
  • 2 local subscribers
  • 39.4K subscribers
  • 1.83K Posts
  • 32.8K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org