63 points
*

Its honestly a REALLY good idea. Still pisses me off that windows has had a QR code for years but it just goes to a generic support page.

That said: There are plenty of environments where a QR code is not viable. Secure environments where you cannot have a camera is one. But also most server rooms where the KVM has been abused for years and is covered in filth. What you can squint and scratch down on a piece of paper and what your phone can process are two very different things.

Linux so easy enough to have both code and text but I do have concerns on the broader impact of this being normalized.

permalink
report
reply
52 points

IMO there are exceptionally few cases where it is acceptable for a QR code to not be immediately adjacent to a textual representation of the same content.

permalink
report
parent
reply
4 points

and fewer to none of those allow you to submit kmesg and “debug information” to the kernel bug tracker

permalink
report
parent
reply
-2 points

Agreed.

But take a look at computing and UX in general. There is a reason that a common refrain at the college and entry level job levels is “These kids don’t know what a folder is because they are used to everything at the top level”. And… there are very good reasons to not deal with folders in google drive or whatever. Hell, everyone lamented the loss of the start menu but how many of us still just do “winkey, ‘makemkv’” or whatever to launch something? Which is how you get thought processes that hide that until they are outright gone.

And the same with error messages. Hell, I was in a meeting not too long ago where we had a very serious discussion about whether we should even still emit error data to the console for an application when NOBODY ever thinks to copy and paste that. So what are we gaining when the first day of any support ticket is “Okay… can you get me this file from this folder? Okay, open up explorer and click this box and type c colon slash…”

permalink
report
parent
reply
1 point

should even still emit error data to the console

Log it to a text file instead.

permalink
report
parent
reply
9 points
*

If I uderstand it correctly, this feature will be tied to build flags anyway, so server distros can have this turned off in their kernel.

permalink
report
parent
reply

I agree, it’s a great idea. The limitation is that the maximum amount of data a QR code can hold is about 3kB. Assuming the encoded data is compressed - either mostly ASCII and compressed, or a custom serialization format referencing external lookup tables - you could reasonably fit around 10kB of debugging information into a single QR code. That’s not too shabby.

permalink
report
parent
reply
45 points
*

It should say the following in big easy to read letters:

Don’t Panic

permalink
report
reply
8 points

So long and thanks for all the fish

permalink
report
parent
reply
1 point

So sad it had to come to this

permalink
report
parent
reply
6 points

(but you can panic a little bit, as a treat)

permalink
report
parent
reply

“Don’t tell me, tell the damn kernel!”

permalink
report
parent
reply
3 points

Seriously though I’m not sure how helpful this screen is. It only is going to happen if there is some serious problem. The first thing a user will do is look up what the screen means.

Putting a funny joke on the screen might make people laugh even though they are likely having a bad time.

permalink
report
parent
reply
2 points

I can’t read those messages anyway thanks to my Joo Janta 200 Super-Chromatic Peril Sensitive Sunglasses

permalink
report
parent
reply
18 points

Neat. Can you display a QR code in a tty?

permalink
report
reply
8 points

Yes, couldn’t be easier.

permalink
report
parent
reply
14 points

https://github.com/Lenivaya/qrrs

Here’s a tool that already works - and it’s written in Rust!

permalink
report
parent
reply
7 points

Too bad the c maintainers will make up mumbo jumbo to not include it

permalink
report
parent
reply
16 points

Anime penguin girl describing the error using interpretative dance when?
(I was just trying to make a silly joke but it’s not like I don’t want it)

permalink
report
reply
6 points

I’d really like to see this on a modified kernel tbh.

permalink
report
parent
reply
13 points
*

QR code takes you to:

"This panic brought to you by

NERDZBETZ

Deposit up to $100 and we’ll match your money!

Bet on buffer overflows, segmentation faults, memory leaks, and even traceback memory addresses!

Sign up NOW!"

permalink
report
reply
2 points

Shhhh THEY’LL HEAR YOU

permalink
report
parent
reply

Linux

!linux@programming.dev

Create post

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Community stats

  • 2K

    Monthly active users

  • 704

    Posts

  • 5.7K

    Comments