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

Programmer Humor

24391 readers
855 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
 

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

top 50 comments
sorted by: hot top controversial new old
[–] Zangoose@lemmy.world 221 points 2 years ago (15 children)
[–] QuazarOmega@lemy.lol 153 points 2 years ago (1 children)

Hmm yes, web dev horrors beyond my comprehension!

[–] grue@lemmy.world 36 points 2 years ago (10 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.

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

even if it's just mobile

you already have to handle landscape/portrait mode

now imagine having to handle angled

[–] grue@lemmy.world 25 points 2 years ago* (last edited 2 years ago) (6 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.

load more comments (6 replies)
[–] CanadaPlus@futurology.today 11 points 2 years ago (6 children)

Yeah, but I don't want to have an app on my phone for a store I go to once. I don't give a fuck if the page is ugly.

load more comments (6 replies)
load more comments (8 replies)
[–] AVincentInSpace@pawb.social 39 points 2 years ago (4 children)

Why does this low key feel like something I would actually want to use

load more comments (4 replies)
load more comments (13 replies)
[–] Plibbert@lemmy.ml 174 points 2 years ago (4 children)
[–] LilB0kChoy@midwest.social 24 points 2 years ago (3 children)

Embrace the power of the pyramid.

load more comments (3 replies)
load more comments (3 replies)
[–] grue@lemmy.world 137 points 2 years ago (1 children)

BRB, sticking microcontrollers to the back of my monitors so I can use their accelerometers to report the orientations in real time...

[–] AVincentInSpace@pawb.social 63 points 2 years ago (1 children)

I would love it so much if xrandr was able to keep up with that and didn't blink for 3 seconds every time you changed orientation

[–] baduhai@sopuli.xyz 17 points 2 years ago

Maybe a custom Wayland compositor could keep up

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

Now we need triangular windows that reshape in real time when you spin the monitor.

[–] chemical_cutthroat@lemmy.world 67 points 2 years ago

All of the screen elements should settle like sand in an hour glass, but using voxel physics in real time.

[–] cupcakezealot@lemmy.blahaj.zone 82 points 2 years ago* (last edited 2 years ago) (1 children)

Linux is the only major operating system ~~to support diagonal mode~~

[–] MashedTech@lemmy.world 57 points 2 years ago (10 children)

I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called Linux, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called Linux distributions are really distributions of GNU/Linux!

[–] ylph@lemmy.world 20 points 2 years ago (2 children)

You can have a Linux distro without GNU -Alpine Linux is a popular example

[–] mexicancartel@lemmy.dbzer0.com 10 points 2 years ago (1 children)

You can have a GNU distro without Linux - Debian GNU/Hurd and Debian GNU/kFreeBSD are popular examples

[–] ylph@lemmy.world 12 points 2 years ago (2 children)

I think "popular" is stretching it here, Debian GNU/kFreeBSD is dead now, and while Hurd is interesting, it has ways to go.

Alpine is actually popular, particularly as a lightweight host OS to run docker.

load more comments (2 replies)
load more comments (1 replies)
[–] UdeRecife@literature.cafe 20 points 2 years ago (1 children)

I've been using it for more than 20 years, but I still love when someone pulls the GNU/Linux card.

To me it feels like reading an old plaque in Latin. It reminds me of an important past that shouldn't be forgotten.

[–] MashedTech@lemmy.world 13 points 2 years ago* (last edited 2 years ago) (2 children)

Christians quote the bible, Muslims quote the Quran and we have our own set of sacred texts.

load more comments (2 replies)
[–] autokludge@programming.dev 10 points 2 years ago* (last edited 2 years ago) (1 children)

That's LiGNUx for short.

pronunciation? uhhh...

load more comments (1 replies)
load more comments (7 replies)
[–] redcalcium@lemmy.institute 67 points 2 years ago (1 children)

Not on wayland, right? Time to pester wayland devs to add this important missing features!

[–] nickwitha_k@lemmy.sdf.org 27 points 2 years ago

Probably would fall into scope of a compositer in Wayland, rather than the protocol. I suspect it originated with old CRT displays. Sometimes they can appear scan diagonally.

Even without that usecase, I think it's great to have around in order to support novel displays and display-like devices.

[–] RIP_Cheems@lemmy.world 51 points 2 years ago (11 children)
[–] asterfield@lemmy.world 92 points 2 years ago (3 children)

What if your monitor has a bullet hole you want to avoid looking at?

[–] RIP_Cheems@lemmy.world 42 points 2 years ago (5 children)

Why does your monitor have a bullet hole?

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

Why do you ask so many questions? ಠ⁠_⁠ಠ

[–] RIP_Cheems@lemmy.world 22 points 2 years ago (2 children)

Why don't you answer them?

[–] Godnroc@lemmy.world 50 points 2 years ago

Because then words like "evidence" and "premeditated" get thrown around.

[–] nossaquesapao@lemmy.eco.br 34 points 2 years ago* (last edited 2 years ago)

Because asking and answering too many questions was exactly how they ended up with a bullet hole in their monitor.

[–] JJROKCZ@lemmy.world 18 points 2 years ago

American schools

[–] leverage@lemdro.id 13 points 2 years ago

I came back to my office after the new year's break and a stray bullet, from I'm assuming celebratory gunfire, was shot through the wall and hit my screen. Admittedly it wasn't a hole and the screen was totally unusable after, but I'll be a close n=1.

load more comments (2 replies)
[–] JJROKCZ@lemmy.world 9 points 2 years ago

A good use case for American k-12 IT admins

load more comments (1 replies)
[–] anarchist@lemmy.ml 92 points 2 years ago (1 children)

to display Java class names on a single line

[–] spader312@lemmy.world 9 points 2 years ago

This person gets it

[–] baduhai@sopuli.xyz 18 points 2 years ago (1 children)
[–] RIP_Cheems@lemmy.world 9 points 2 years ago

Can't argue with that.

[–] rtxn@lemmy.world 12 points 2 years ago

(insert image of Mt. Everest)

Because It's There.

[–] Pregnenolone@lemmy.world 12 points 2 years ago

It’s a novelty. I for one deeply love unusually shaped monitors and UXs.

[–] Aasikki@sopuli.xyz 9 points 2 years ago

Could be useful for an interactive art installation or something alike.

load more comments (5 replies)
[–] Kolanaki@yiffit.net 43 points 2 years ago (3 children)

How many minor operating systems support it? 🤔

[–] backhdlp@lemmy.blahaj.zone 13 points 2 years ago (1 children)

I'm assuming most that can run Xorg.

load more comments (1 replies)
[–] jol@discuss.tchncs.de 11 points 2 years ago (1 children)

There's ReactOS and BSD off the top of my head.

load more comments (1 replies)
load more comments (1 replies)
[–] xX_fnord_Xx@lemmy.world 37 points 2 years ago (1 children)

Finally, Peewees Playhouse has found open source representation.

load more comments (1 replies)
[–] Illecors@lemmy.cafe 20 points 2 years ago (2 children)

I remember seeing the video of this. The guy was doing it for shits and giggles, but it ended up looking great!

load more comments (2 replies)
[–] doctorcrimson@lemmy.world 18 points 2 years ago (1 children)

Ha~! WebDevs haven't cared about desktop for years.

load more comments (1 replies)
[–] syd@lemy.lol 13 points 2 years ago (1 children)

I won't try implement something like this even my boss forces me.

load more comments (1 replies)
[–] JPJones@startrek.website 12 points 2 years ago

I hate this.

[–] dukk@programming.dev 10 points 2 years ago

Original Article

Basically, it’s just some cool X11 magic that uses a matrix transformation to rotate the screen.

load more comments
view more: next ›