There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

astraeus , in Python tutorial moment
@astraeus@programming.dev avatar

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 ,

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.

aniki ,

Except the code removes the background in complete compliance with the statement “remove image background using python.”

It’s not “remove image background using photoshop.”

astraeus ,
@astraeus@programming.dev avatar

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.

lugal ,

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 ,

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

lthlnkso ,

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.

emergencyfood ,

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

RamblingPanda ,

If nobody before you invented the wheel, you’ve probably not looked hard enough.

Test_Tickles ,

I did, and they were all square or triangles because “that’s good enough for most people”.

datavoid , in Computer components cheat sheet

Needs more jpeg

asterfield , in Gamedev is Easy

This code is going to make me have a stroke. What language is this? Why does the game object have an internal bug tracker implementation? Does the game force itself into wishlists? If yes, why stop at 7000?

I know I shouldn’t get so mad at a random internet joke but this one makes me twitchy.

bdonvr , in Computer components cheat sheet

Hey my inkjet with refillable tanks isn’t so bad

Emtity_13 ,

Stage 1: Denial

Micromot ,

Which one is it? The one I have still has an overflow/nozzle cleaning sponge that bricks the printer when it’s full

bdonvr ,

Oh yeah that whole thing is fucking stupid but bypassable depending on model

melpomenesclevage ,

So you need to hack it and violate warranty to make it work? And this is just fine? On a product you paid for?

Micromot ,

Yeah will see what I can do once it starts complaining

jaybone ,

HP will brick your shit remotely on these.

BurningTurtle , in Computer components cheat sheet
@BurningTurtle@programming.dev avatar

Where is the tracking device for remembering numbers remotely?

jaybone ,

That’s wifi or Bluetooth.

madmaurice , in Computer components cheat sheet
@madmaurice@discuss.tchncs.de avatar

FPU

🤭

Jakylla , in Computer components cheat sheet
@Jakylla@sh.itjust.works avatar

“No” is the most accurate I could ever have imagined for Inkjet Printers

Jaccident ,

Not to be confused with “No.”

xia ,

What about “angry robot demands ink sacrifice”?

onlinepersona , in Computer components cheat sheet

Laserprinters use different colored lasers for multi-color printing.

CC BY-NC-SA 4.0

Midnitte ,
onlinepersona ,

I know. I was kidding 😛

Midnitte ,

You still forgot the numbers part! The most important detail!

xmunk , in there is no need

Anything beyond ncurses is a crutch for the weak and corrupting the youth.

veroxii ,

Where my turbo vision peeps at?

fayoh ,

Upon changing ticket system at work, one of the graybeards asked about apis and cli access because “real men don’t click”

jadero ,

Then I must be among the manliest of men. :)

I learned all the different ways to use the keyboard in Windows and never looked back. The best of both worlds, although relearning everything now that I’ve switched to Linux is proving a challenge. I’m starting to think that the Linux GUIs don’t have true keyboard accessibility.

synae ,
@synae@lemmy.sdf.org avatar

cli gang

lseif ,

ncurses is bloat

DAMunzy ,

Sorry, I like my curses restricted and old skool

saltesc , in there is no need

I really don’t care about my OS UI since I’m barely actually using it, especially after a few minutes setting up one-click actions. Less than 1% of my time and effort on the computer.

Applications, on the other hand, is where I live and FUCKING HELL!!!

ObviouslyNotBanana , (edited )
@ObviouslyNotBanana@lemmy.world avatar

Look, if everyone just decided on a style and everyone went with it within a system I’d be okay with that. It’s not great but at least it wouldn’t be jarring.

But having to live by the whim of 50 different app designers is disgusting. I just want to have a good time, not learn 50 different interfaces.

Though my thoughts on it would also stifle new ideas. So that’s bad.

jak2k ,

Try GNOME/GTK/adwaita apps. They are very consistent.

ObviouslyNotBanana ,
@ObviouslyNotBanana@lemmy.world avatar

They are indeed very similar.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

The GTK file chooser is probably the worst AND most inconsistent example of UX that I’ve ever seen

jak2k ,

Contribute! Maybe you get a part of the 1 million Euro they got from the Sovereign Tech Fund.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Contribute with UX changes? To GNOME maintained software?

jak2k ,

When it’s an enhancement?

Sonotsugipaa , (edited )
@Sonotsugipaa@lemmy.dbzer0.com avatar

Enhancement? No, everything I have a problem with is explicitly intended behavior and GNOME devs are infamous for their everyone is stupid except me mentality

Edit, found a neat lil’ example:

Does Gnome/GTK have an issue board where users vote on issues?

Free software development is not a democracy, and does not get driven by polls. Features and bugs are introduced by those who show up, within a community that works towards a shared goal.

I don’t believe the intentional behavior is desirable and would like to see what other users think.

That’s not how anything works.

pufferfisherpowder ,

That’s a dick way of saying fuck off but I mean they do provide a free service. If they have a vision and don’t want to deal with random people whining about it that’s their prerogative. Same as yours to find that utterly insufferable.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

They do provide a free service (GTK’s file chooser), one that I find horrible and inconsistent (as per the thread) and intentionally so (on issues tangential to example that I found, although the proposed configurable behavior would be nice) - so I won’t even entertain the thought of trying and contributing to it, as it has been suggested.

I don’t know what is insufferable about that, other than the initial criticism…

pufferfisherpowder ,

It’s your prerogative to find them insufferable is what I meant to say. Your criticism and opinions are fair enough.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

I’ve got to work on the fact that seeing the word “insufferable” on social media makes me instinctively get defensive ._.

backhdlp ,
@backhdlp@iusearchlinux.fyi avatar

Pretty sure that money is for the people employed by the GNOME Foundation, they don’t just pay every contributor.

jak2k ,

No, they don’t, but you could get regular contributor…

saltesc ,

It’s like getting into a car you haven’t driven before and you hit the wipers instead of the indicator ×1000. Or playing an FPS and E is now F, C is now Ctrl, X is Shift, and you tap+hold instead of tap. WHY?!?! You can remap, but suddenly there’s conflicting keys for shit the tutorial hasn’t even introduced to you yet, so you don’t know what you can or can’t get away with.

Some designer or dev has a personal opinion they think is better than everything else and now we all gotta live with it on the hopes that’ll be the new standard. And there’s so many of those arseholes and their DVORAK layouts and putting “Cancel” on the left and “Confirm” on the right of a dialogue popup. “I think it’s better this way and the world will thank my big brain!”

YES I’m ranting, lol.

reinei ,

Wait confirm shouldn’t be on the right? Like I am 99% sure most windows pop-up/modal Dialogs had ok on the left and cancel on the right but I am not entirely sure about Linux (also factorio has them left to right as in “go back and go forward” but I dunno if that is RTL dependent…)

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

No, no, they have to be on top of each other! Vertically aligned is the way of the future.

pewpew , in Material design
@pewpew@feddit.it avatar

They use different colors to determine elevation instead of shadows in Material Design 3

boredtortoise , (edited )

Both elevation and tone intensity (and corner size is a possibility as well if it fits the brand)

themusicman OP ,

Yes, thank fuck for that. Material design fatigue is real

pewpew ,
@pewpew@feddit.it avatar

I prefer Material design 1 tho. I liked the shadows

MeDuViNoX , in Wait... it's all backdoors ? Always has been bro...
@MeDuViNoX@sh.itjust.works avatar

One of those backdoors is in the front.

FilthyShrooms ,

Thats the back backdoor

Bigoldmustard , in Wait... it's all backdoors ? Always has been bro...

Coding is kind of like being a wizard. Like, y’all put a bunch of nonsense in just precisely the right order and then some electrictrified minerals bounce around and then a sandwich shows up at my door.

If the process was almost any amount sexier we would absolutely not let half the people running tech startups near it for -gestures broadly- obvious reasons.

tsonfeir , in Wait... it's all backdoors ? Always has been bro...
@tsonfeir@lemm.ee avatar

Yet people give me shit when I say “I don’t want that js tool because it has too many dependencies”

Fargeol , in Wait... it's all backdoors ? Always has been bro...

other relevent XKCD: https://xkcd.com/2166/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines