215
all 10 comments
sorted by: hot top controversial new old
[-] marcos@lemmy.world 72 points 1 year ago

The Python ecosystem is "the rest of the fucking owl", but when it just appears after you draw the circles.

[-] smeg@feddit.uk 54 points 1 year ago
[-] astraeus@programming.dev 40 points 1 year ago

Hey, if you understand Python it makes sense. If you’ve used the PIL before it makes even more sense. If you don’t understand Python, you should probably start by understanding Python.

[-] dev_null@lemmy.ml 65 points 1 year ago

Of course it makes sense, the code does pretty much nothing. The point is that the tutorial does not teach you about how to remove a background. It's like a "how to cook X" article that just tells you to "order X online" and that's it.

[-] astraeus@programming.dev 37 points 1 year ago

If you want to build a background removal tool from scratch that’s a project of its own. This shows you how to very simply remove a background with a pre-existing tool that other people have spent the many hours to get functional so you can do the five-minute tutorial.

It’s not the Arch Linux way, it’s more like the Ubuntu way.

[-] emergencyfood@sh.itjust.works 33 points 1 year ago

The first rule of coding is that you don't re-invent the wheel.

[-] lthlnkso@programming.dev 15 points 1 year ago

There are two kinds of "how-to".

  1. How to do something - that's what this is. Simple, straightforward, accomplishes its goal.

  2. How to understand something - explaining how and why this works and how you could generalize what this is doing to related projects.

However, even if you are interested in the second choice, this is still useful! Your next step is just to look into the libraries that the rembg package uses.

[-] lugal@lemmy.ml 13 points 1 year ago

Well, it does the job. No need to reinvent the wheel and for people who don't know the packages, this is helpful

[-] dev_null@lemmy.ml 6 points 1 year ago

Yeah, I'm explaining the meme, not agreeing with it.

this post was submitted on 03 Apr 2024
215 points (100.0% liked)

Programmer Humor

24827 readers
847 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS