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.

BastingChemina , in 4 billion if statements

I’ve lost some of my sanity reading this !

redcalcium , in Good luck web devs

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

nickwitha_k ,

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.

frezik , in 4 billion if statements

Those are rookie numbers. Professionals came up with the nested logic monstrosity that is the JSON-LD specification:

www.w3.org/TR/json-ld11-api/#context-processing-a

Looks through the algorithm bits in the various sections. How would you implement that? The answer is invariably by copying the highly nested statements of the spec directly into your language. Maybe there’s a better way, but you’d have to understand all that nested logic first, and you’d be exhausted at that point and just want to move on.

RIP_Cheems , in Good luck web devs
@RIP_Cheems@lemmy.world avatar

Why would you want this?

asterfield ,

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

RIP_Cheems ,
@RIP_Cheems@lemmy.world avatar

Why does your monitor have a bullet hole?

Jerkface ,

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

anarchist ,
@anarchist@lemmy.ml avatar

to display Java class names on a single line

xor , in Good luck web devs

a great prank for computer labs… just rotate everything by 0.5 degrees…

Rin ,

Yeah, keep adding 0.5 deg every minute or so.

Zangoose OP ,

Add a randomizer that has a chance of resetting it back to normal every now and then for maximum chaos

grue , in Good luck web devs

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

AVincentInSpace ,

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 ,

Maybe a custom Wayland compositor could keep up

imPastaSyndrome , in Good luck web devs

Ah yes why I like Linux but hate supporting it

JPJones , in Good luck web devs

I hate this.

Plibbert , in Good luck web devs
lurch ,

They put touchscreens on doorstops now? /s

xmunk ,

Java truly runs on everything.

NoisyFlake ,

Unleash the power of the pyramid!

Illecors , in Good luck web devs

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

Stunning , in Good luck web devs

Dunder Mifflin did it first. The Pyramid.

schwim , in Good luck web devs
@schwim@reddthat.com avatar

This is why people can’t take desktop linux seriously.

lynx , in Good luck web devs

How can you do fractional rotation? Does it only work with x11 or is it also supported in wayland?

Chewy7324 ,

Rotating the display by a custom angle is possible through xrandr on X.org.

There’s no Wayland protocol for custom angle rotation, and I don’t expect anyone to create a protocol extension without a use-case.

My wild guess: Theoretically it should be possible for a compositor to support similar custom rotation, as applications simply draw to their surface (window), without knowing how and where it is displayed on the viewport (display).

But it might require quite a bit of work, depending on the project, so I don’t expect to ever see custom rotation on anything besides smaller/niche compositors.

[1] unix.stackexchange.com/…/rotate-a-display-by-cust…

nintendiator ,

There’s no Wayland protocol for custom angle rotation, and I don’t expect anyone to create a protocol extension without a use-case.

Puh-lease. It’s Wayland; the devs fully and honestly expect every app developer (eg.: calc, Libreoffice, notepad.exe) to implement custom angle rotation on their own.

Vilian ,

in wayland the compositor is king they can do mhatever they want with the screen

m.youtube.com/watch?v=ZBLLC5fOy98&list=PLb7YRKEhW…

syd , in Good luck web devs
@syd@lemy.lol avatar

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

muzzle , (edited )

No one does this kind of stuff because someone asked them to do it. This is the kind of useless, insane stuff you do for the lulz, or because someone dared you.

Zangoose OP , in Good luck web devs
QuazarOmega ,

Hmm yes, web dev horrors beyond my comprehension!

grue ,

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 ,

even if it’s just mobile

you already have to handle landscape/portrait mode

now imagine having to handle angled

grue ,

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 ,

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

flambonkscious ,

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!

AVincentInSpace ,

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

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