Live data from Hacker News

🥺: the best sudo replacement

xeiaso.net

291–300 of 559 posts

Re: 🥺: the best sudo replacement

#291
post #267
post #133

Earlier quoted context omitted.

Thanks! That's exactly the point of it! I'm going to be working on the CSS this weekend on stream (the images being so big for longer conversations take up too much screen real estate), but in general the idea is to have a combination of the Socratic method of dialogue based teaching combined with a few consistently written characters; not to mention it helps move out parentheticals to break up giant walls of text. I…

If you're going to be working on CSS anyways, I noticed that the tables on the pronoun page could use a little bit of padding—the text is touching the table borders ( https://vgel.me/imgshare/xe-pronouns-no-padding.png )

Good catch! I'm really bad at CSS lol

Re: 🥺: the best sudo replacement

#293

Earlier quoted context omitted.

🆔 this type of thing works too

There's a fairly new CSS selector to configure emoji rendering, choosing between a text-like rendering and the coloured emoji rendering. So far, there's very little browser support. https://developer.mozilla.org/en-US/docs/Web/CSS/font-varian...

I really love the text-like style. I didn't know Unicode added as composing character to ask for that style!

That's awesome. Those are so easy to read and I love how they play nice with users' font coloring choices.

Re: 🥺: the best sudo replacement

#296
post #175

Earlier quoted context omitted.

Normally this is just tangentially related and not for Hacker News but I feel this time it needs a bit of attention. My brain melted in the first minutes trying to read this article. I honestly just couldn't. It feels like I'm reading a mentally ill extremelly schizophrenic write-up on the recent sudo vulnerabilities, makes me lose sanity. Has anyone actually managed to read this? How is this on the front page? (Not…

It's actually rather simple. You read one bit of text, and then you read the next. It's a dialogue, if you've ever read a book the format should be familiar.

Disconsidering the sarcasm in your answer I should note I am familiar with the format, I was noting this one specifically was really bad and I just couldn't follow it, specially because of the figures (although that's not really the topic of my question). Just to clarify further: I was asking because I was curious if anyone thought different about it and how they decided to approach the reading.

Re: 🥺: the best sudo replacement

#297
post #109
post #102

Earlier quoted context omitted.

Ok, editded for you above: plain-text-obsessive ^^^^^^

Well, now we're gonna get nitpicky :) Unicode is plain text, therefore emoji are in the set qualified as "plain text." "ASCII text" may be more accurate.

ASCII text would be less accurate I'm afraid. I'm open to suggestions!

Re: 🥺: the best sudo replacement

#298

The first time I saw perfectly valid Unicode take down an RSS reader (in ~2003), it was an ü that did it. I have taken to calling that the kaboomlaut in unit tests.

The are quite a lot of "gotchas" with passwords being Unicode though. One of my favourite tricks is to include a null byte in passwords and see what happens. Sudo treats it as the end of the string. Passwd gives "token manipulation error" and nopes out. Many websites seem to fail in interesting ways...

I've run into a service where having a password longer than 15 characters _truncates_ it but the password change dialog does not so it's stuck in limbo.

Re: 🥺: the best sudo replacement

#299
post #271

Earlier quoted context omitted.

The are quite a lot of "gotchas" with passwords being Unicode though. One of my favourite tricks is to include a null byte in passwords and see what happens. Sudo treats it as the end of the string. Passwd gives "token manipulation error" and nopes out. Many websites seem to fail in interesting ways...

A bigger deal happens with ambiguities concerning composed versus decomposed characters. Linux and Windows tend to prefer writing composed characters, whereas Mac OS will prefer writing decomposed characters. The letter é will have two distinct byte sequences to represent the same character (more precisely, the same grapheme).

Shouldn't normalization functions handle that?

Re: 🥺: the best sudo replacement

#300

Earlier quoted context omitted.

It's just the classical socratic method applied to characters that you particularly don't identify with. Fasterthanlime's bear and why's guide have often been praised here for the same thing (the interludes break up the long, boring blocks of text that deep dives often lose readers on,) and it's trivial to use a Reading Mode or skip them for the legitimately interesting technical information within.

Unfortunately reading mode didn't remove the characters for me, it actually made them occupy the whole screen LOL (Fennec on Android if anyone is wondering). I don't have that much of a problem with the conversational format as long as it's used in an appropriate context, but this one was really intrusive and broke the flow of the text, since I'm reading mostly for entertainment I decided it wasn't worth the time.

I'll investigate fixing that. Where can I download Fennec?
Post reply on HN