this post was submitted on 28 Dec 2023
1474 points (99.3% liked)

Programmer Humor

19821 readers
2 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
1474
Good luck web devs (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Alt text:Twitter post by Daniel Feldman (@d_feldman): Linux is the only major operating system to support diagonal mode (credit [Twitter] @xssfox). Image shows an untrawide monitor rotated about 45 degrees, with a horizontal IDE window taking up a bottom triangle. A web browser and settings menu above it are organized creating a window shape almost like a stepped pyramid.

Edit: alt text

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 30 points 1 year ago* (last edited 1 year ago) (5 children)

That's why you should've just handled arbitrary rotations instead of inventing a finite predefined set of orientation "modes" in the first place.

Things get a lot easier in the long run if you aggressively look for commonalities and genericize the code that handles them instead of writing bunches of one-off special cases.

[–] xmunk 44 points 1 year ago (3 children)

And this is why my webapp only renders properly on circular displays.

[–] [email protected] 25 points 1 year ago

Mine only renders on moebius strips.

[–] flambonkscious 11 points 1 year ago

Peak evil - well done. How much is the extra fee to wrap a letterbox around the circle on a conventional aspect ratio?

There's good money in this idea!

[–] [email protected] 4 points 1 year ago

Personally I went for the globe display, because I figured that was a more globally applicable format.

[–] [email protected] 10 points 1 year ago

true

however

everything would be fluid in the layout and you would need to set what should go on top of what. And having this feature doesn't seem worth the hassle of making if work, or even using it.

Imagine trying to type in a 'fluid' keyboard

TBH tho, seems like a cool gimmick for some apps.

[–] [email protected] 3 points 1 year ago

And that's called Responsive web design

[–] [email protected] 2 points 1 year ago

That's called over-engineering for use cases that don't and won't exist. Please lecture us some more though.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

You mean the browser handles alignment instead of every single web dev?