this post was submitted on 28 Dec 2023
243 points (99.6% liked)

Programmer Humor

19572 readers
1572 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 1 year ago
MODERATORS
243
Good luck web devs (lemmy.world)
submitted 10 months ago* (last edited 10 months 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] 8 points 10 months ago (8 children)
[–] [email protected] 8 points 10 months ago (1 children)

Hmm yes, web dev horrors beyond my comprehension!

[–] [email protected] 2 points 10 months ago (1 children)

That, right there, is a perfect example of why folks need to stop trying to shoehorn web apps everywhere they don't belong. It's a use-case for a proper native mobile app if ever there was one.

[–] [email protected] 2 points 10 months ago (1 children)

even if it's just mobile

you already have to handle landscape/portrait mode

now imagine having to handle angled

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (2 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.

[–] [email protected] 3 points 10 months ago (1 children)

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

[–] [email protected] 1 points 10 months 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] 1 points 10 months 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.

load more comments (6 replies)