this post was submitted on 18 Sep 2023
55 points (85.7% liked)

Programming

20763 readers
229 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] cgtjsiwy@programming.dev 11 points 2 years ago

It would be much easier to read if it was actually table, i.e., if hex codes and the characters were separated into their own columns.

[–] morrowind@lemmy.ml 10 points 2 years ago

I'm confused, what does this have to so with typst?

[–] cbarrick@lemmy.world 9 points 2 years ago* (last edited 2 years ago)

A good ASCII table makes it easy to find the effects of the Shift and Ctrl keys. Like, at a glance, I should be able to answer questions like "which control character corresponds to ^V?"

On a Unix terminal, the Shift key zeros out bit 6 and the Ctrl key zeros out both bits 6 and 7. (And the Alt key sets bit 8.)

In man ascii on Linux, it's trivial to see that ^V is SYN.

[–] NateSwift@beehaw.org 9 points 2 years ago

Why is it better?

[–] SpaceNoodle@lemmy.world 8 points 2 years ago

No, I don't think you did.

[–] pileghoff@programming.dev 7 points 2 years ago (1 children)

What's wrong with man ascii?

[–] DirigibleProtein@aussie.zone -2 points 2 years ago

What’s wrong with EBCDIC?

[–] 0x0@programming.dev 5 points 2 years ago (1 children)

How is breaking a decades-old relied-upon standard better?

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

What do you mean, "breaking"? This isn't a new encoding scheme, it's an informational page showing ASCII encoding.

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

Very useful!

Would be nice to have an additional checkbox for enabling that a purely numeric input also shows the number characters.

E.g. with input: "32"

  • Unchecked: Shows just the space character (same behaviour as of now)
  • Checked: Shows the space character, "2" and "3"
[–] argentcorvid@midwest.social 1 points 2 years ago

The "octal" toggle replaces decimal, not hexadecimal contrary to its label.