6 ms·
Look at this abomination that someone posted in the comment section there: ⌈e⌉ = ⌊π⌋ This is … evil.
by _Microft 6y ago
Look at this abomination that someone posted in the comment section there:
⌈e⌉ = ⌊π⌋
This is … evil.
- deleted 6y ago[deleted]
- sigjuice 6y agoHow is it evil? To me, it is a mildly amusing coincidence.
- imglorp 6y agoWhich is greater? e^pi or pi^e? https://www.youtube.com/watch?v=SPHD7zmLVa8 https://www.youtube.com/watch?v=SPHD7zmLVa8
- UI_at_80x24 6y ago⌈⌉ Characters like these remind me of the C64 and how they could be strung together to make graphics [ANSI/ASCII/NCURSES are close].
- rzzzt 6y agoThere is a Unicode block dedicated to these symbols: https://en.wikipedia.org/wiki/Box_Drawing_(Unicode_block) https://en.wikipedia.org/wiki/Box_Drawing_(Unicode_block)
- banana_giraffe 6y agoI'm always a little sad how poorly these can work: https://imgur.com/a/mCLZVwp https://imgur.com/a/mCLZVwp I'm sure there's some amount of font twiddling and changing to a different terminal that'll fix this, but using these characters out of the box is problematic.
- UnquietTinkerer 6y agoFor comparison (not trying to be argumentative!), it looks pretty good in gnome terminal on linux mint: https://utio.net/demos/box_drawing.png https://utio.net/demos/box_drawing.png I only mention this because I've used these to decorate tables in my own notes in the past. It's not really worth the trouble, but I remembered being impressed with how nice these characters looked at the time. If anyone else wants to try it, paste this into a python REPL: print("\u250f\u2501\u2513\n\u2503 \u2503\n\u2517\u2501\u251b")
- a1369209993 6y agoYeah, this is purely a issue of poor support for box drawing characters by the font. Eg, I get: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhAAAABQAQMAAAByCd6PAAAABlBM VEX///8AAABVwtN+AAABc0lEQVRYw+2YwWrEIBCGR5EyhR6k5LCHsvUx9iQ6t30n6dL3LmxnHDdx IadmoUtwAr/5M+OHRIUYgKeLJPKSlnvWBCu21yU8wJQgXuJrVRTFKH3YxdaoxUtXkiYIITAAKyJA Tvm16kn0lANUl1ujVh7PJYzw3s+jCGBSxkXRSB92pjVq5fFcwghEhFIOpQBNnmw6x6ooisaX6gxo oxZtV1ImcM4BEZIH4jr3JZmb4tFTdUdNNYuuKyEAa+2MQEJzxkX5ouqMpprFvoQR/ShYa+amivCK 8A3hK2IuYYS8C0qKcBRMxkXROKrOaKpZ7EsYITMiiPeK4InDRTFLH3ZZU81iX8IIWRclRXqDCFaW z6FqbErawp3FrqTA3Uq1K2phxfYKq4v9r9trxH7i8/qzD8QHXwMxEAMxEAMxEAPxFIjdfF+M2Glc tyO+94CQc+pGhJyWNyLkzL4RIX8ONiLk/8X/j+IB7+IBM/KAdfE8e2TbZv8FgJZ8r2PE1j8AAAAA SUVORK5CYII= Edit: how do I force HN to turn URLs into links? It usually does that automatically. Code-blocked for now.
- deleted 6y ago[deleted]
- deleted 6y ago[deleted]
- Pinus 6y agoIs there a way for a font to "know" at what line spacing it is being rendered?
- rzzzt 6y agoI don't think it is controllable by the font; the only issue I can see if these lines and corners are not extended all the way to each character cell's bounding box.
- ska 6y agonot evil. mildly amusing, but also a demonstration/reminder of how both functions work. Assuming you have approximations of both in easy memory, which probably covers most of HN readership.
- jameshart 6y agoWe need to bring in the other atoms of mathematics to really capture the transcendent beauty of this fundamental relationship: ⌈e⌉ 0 ——— = i ⌊π⌋
- nvader 6y agoI would buy this t-shirt.