this post was submitted on 12 May 2024
294 points (95.1% liked)

Programmer Humor

30867 readers
1133 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
 
top 33 comments
sorted by: hot top controversial new old
[–] fckreddit@lemmy.ml 47 points 2 years ago* (last edited 2 years ago) (2 children)

I am a backend dev, but this shit is why I have utmost respect for frontend devs, also because they know how to center a div.

[–] coffee_poops@sh.itjust.works 15 points 2 years ago (1 children)

With flexbox and grid there is no excuse for not knowing how to do that at this point.

[–] Beetschnapps@lemmy.world 7 points 2 years ago (2 children)

There wasn’t an excuse in the first place. It’s kinda amazing anyone can say centering a div was ever hard, especially if you have a computer science degree.

I mean sure it’s different from say object-oriented programming… but it’s frankly weird in a professional setting hearing grown adults with plenty of experience struggle over basic front-end work.

[–] umbrella@lemmy.ml 3 points 2 years ago

honestly a lot of the people trying to pass as big pros on the internet are beginners. however its the most common issue with css, so its solution is dead easy to fucking find.

with that said, if i havent been using css in a while ill probably have to look it up.

[–] Miaou@jlai.lu -3 points 2 years ago (1 children)

Computer science doesn't have much to do with making websites but ok

[–] coffee_poops@sh.itjust.works 6 points 2 years ago

Not web sites but certainly web applications.

[–] Annoyed_Crabby@monyet.cc 23 points 2 years ago (4 children)

What's the use case for such a big monitor anyway?

[–] TxzK@lemmy.zip 116 points 2 years ago (2 children)

Being able to fit a java class name in 1 line

[–] nyan@lemmy.cafe 4 points 2 years ago

Eh, I'm sure we can overrun it just by gluing sufficient instances of Factory to the end of the classname.

[–] ZILtoid1991@lemmy.world 2 points 2 years ago

And OOP in general. I also used to be infamous for such things, then I started to shorten the names, including using letters that are obvious to the user (e.g. int w, h; for width and height).

[–] bjoern_tantau@swg-empire.de 32 points 2 years ago (1 children)

Demonstrating the power of tiling window managers.

[–] stepan@lemmy.cafe 8 points 2 years ago (2 children)
[–] scrawdaddy@lemmy.world 1 points 2 years ago

You sent me down a rabbit hole. Now I’m using a hamerspoon script which mimicks paperwm/niri

Liking it so far!

[–] umbrella@lemmy.ml 1 points 2 years ago

thats a cool concept

[–] nous@programming.dev 29 points 2 years ago

It is a digital signage display (ie in store ads, menus, displays etc) - not meant for desktop use.

[–] turtlepower@lemm.ee 6 points 2 years ago (1 children)

Looks like Untitled Goose Game.

[–] Darkraisisi@feddit.nl 4 points 2 years ago

Yeah he played some games on it to show the different scaling implications.

[–] captain_aggravated@sh.itjust.works 12 points 2 years ago (1 children)

Is Linus still doing the thing with the videos? Huh.

[–] localhost443@discuss.tchncs.de 5 points 2 years ago

Lol was pretty much my first thought.

[–] Evotech@lemmy.world 11 points 2 years ago* (last edited 2 years ago) (1 children)

Frontend devs stopped giving a shit about wide screens at like 24"

It's just massive blank spaces seperating the work area and sides

[–] Anticorp@lemmy.world 1 points 2 years ago

My team cares, mostly because I make them care.

[–] iAvicenna@lemmy.world 7 points 2 years ago

This is not even an edge case, this is jump down from the edge to find what lies in the dark pit of despairs case

[–] ceiphas@lemmy.world 7 points 2 years ago (2 children)

And bootstrap's biggest Screen size Starts at 1400 width... 4k be damned

[–] 5PACEBAR@lemmy.world 2 points 2 years ago (1 children)

I don't want to use Bootstrap in my future project because Twitter. What are y'all using now?

[–] brenstar@midwest.social 3 points 2 years ago

Tailwind is my go-to these days

[–] Daxtron2@startrek.website 2 points 2 years ago

Logical pixels != physical pixels

[–] DarkSpectrum@lemmy.world 4 points 2 years ago (1 children)
[–] Beanie@programming.dev 1 points 2 years ago* (last edited 2 years ago)

did you mean to comment this here?

[–] dog_@lemmy.world 2 points 2 years ago (1 children)

Another obligatory 'Fuck Linus'

[–] cryptiod137@lemmy.world 3 points 2 years ago

"We investigated ourselves and found we did nothing wrong."

[–] smileyhead@discuss.tchncs.de 1 points 2 years ago

Step 1: Write a website in pure HTML, can be converted or builded from something like Markdown

Step 2: Style it a little with CSS, as a layer on top, without touching HTML

Step 3: Profit.