this post was submitted on 18 Sep 2023
62 points (86.9% liked)

Programming

17668 readers
123 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 [email protected]



founded 2 years ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] cgtjsiwy 12 points 1 year 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.

[–] [email protected] 11 points 1 year ago

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

[–] [email protected] 9 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 9 points 1 year ago

Why is it better?

[–] [email protected] 8 points 1 year ago

No, I don't think you did.

[–] pileghoff 7 points 1 year ago (1 children)

What's wrong with man ascii?

[–] [email protected] -2 points 1 year ago

What’s wrong with EBCDIC?

[–] 0x0 5 points 1 year ago (1 children)

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

[–] BatmanAoD 10 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

Love typst! I'm looking forward to writing RPGs in it some day :)

[–] [email protected] 2 points 1 year ago* (last edited 1 year 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"
[–] [email protected] 1 points 1 year ago

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