Hacker Newsnew | past | comments | ask | show | jobs | submit | timonoko's commentslogin

This was in Gopher first, where you had to click a link to view a picture. Then I heard about Mosaic, where you can have pictures and text on the same page. Some problems emerged, until I learned you use <p> to separate chapters: https://timonoko.github.io/alaska/index.htm

where does this character set come from? It looks different on xterm.

for x in range(0x0,0x20): print(chr(x),end=" ")

                    


What are you trying to achieve, none of those characters are printable, and definetly not going to show up on the web.

    for x in range(0x0,0x20): print(f'({chr(x)})', end =' ')
    (0|) (1|) (2|) (3|) (4|) (5|) (6|) (7|) (8) (9| ) (10|
    ) (11|
          ) (12|
    ) (14|) (15|) (16|) (17|) (18|) (19|) (20|) (21|) (22|) (23|) (24|) (25|)    (26|␦) (27|8|) (29|) (30|) (31|)

Just asking why they have different icons in different environments? Maybe it is UTF-8 vs ISO-8859?

UTF-8 is not technically a character set (because it has way more than 256 characters). Characters 32-127 in UTF8 are the same as ASCII, which is the same as the OEM/CP437 and the ANSI/ISO-8859/CP1252.

The characters in CP437 (and other OEM codepages) actually come from the ROM of the VGA (and EGA/CGA/MCGA/Hercules before them).

What you are referring to is those (visually), right? I'm missing some characters in the first line, because HN drops them.

    0123456789abcdef
   0...♥♦♣♠•◘○◙..♪♫.
   1►◄↕‼¶§▬↨↑↓→←∟↔▲▼

As far as I know, the equivalent control characters (characters 0-31) don't have any representation in CP1252, but that's also dependent on the font (since rendering of CP1252 is always done by Windows)

As to their origin, originally the full CP437 character set was taken from Wang word processors. I don't know where Wang took it from, but they probably invented it themselves.

EDIT: There's a more complete history here: https://www.os2museum.com/wp/weird-tales/

EDIT 2: The CP437 character set didn't seem to come directly from Wang; it's just that they took some (a lot) of characters from Wang word processors character sets. The positions of those "graphic" characters was decided by Microsoft when they made MS-DOS (at least according to Bill Gates).


In my screen there is indeed about thirty icons. When I executed the program on xterm, they were different and when I pasted them on LibreOffice they were again different. And now it seems this shit is also different in every country.

The world is broken.


They shouldn't show as visual representations, but some "ASCII" charts show the IBM PC character set instead of the ASCII set. IIRC, up to 0xFF UTF-8 and 8859 are very close with the exceptions being the UTF-8 escapes for the longer characters.

There's no 0x80-0xFF in the UTF-8 encoding. Only up to 0x7F (127) it's the same.

Opera AI solved the problem:

If you want to use symbols for Mars and Venus for example,they are not in range(0,0x20). They are in Miscellanous Symbols block.


Ok this set does not even show on Android, just some boxes. Very strange.

Grok will give solace and support. It assured me that I was not banned (yet).

The most famous literary expression of this idea comes from F. Scott Fitzgerald in The Great Gatsby. While discussing the tedious nature of listening to others recount their dreams, there is a general literary consensus often attributed to him (and other authors like Mark Twain or Henry James) that:

"Nothing is more boring than other people’s dreams."

-- by Gemini


> "Nothing is more boring than other people’s dreams."

I disagree. Often their dreams are more interesting than their boring stories about some their "real life" situations, or - God forbid - their gossip.

I would even claim that at least for the phase in my life when I kept a diary of my dreams, and thus got much more observant of my dreams, I did have (somewhat) interesting dreams (even for other people), for example

- dreaming two dreams in parallel (it's basically like having two desktop applications open at the same time)

- having a dream where I additionally have a dream inside it (and I am aware of the latter); it does in my opinion not really feel like the Inception movie, but rather like the feeling of playing a video game where you are basically both a person who plays a video game in which you control a video game character (and are aware of this), and the character inside the video game.


Nothing more fun than telling your dreams to ChatGPT. Especially if it already has learned the details of the dream-world you are often living in.

I have the best. Natural noise generator, which means microphones outside. With 3 layered windows the winter is just too silent, or rather: filled annoying multistory house noises. In summertime windows are open and that is about the suitable noise level.

Also there is the outdoorsman's reaction to silence. When birds go silent, there is something bad happening. Bears or wolf pack.


On that note: Converting €0 scrap into €400 video editing deck. https://www.youtube.com/shorts/KlWYC6mzVkQ

https://github.com/timonoko/Jogwheel


What a great idea. Legacy VCR controls upcycled for digital control! There's a lot of those old decks and LANC deck controllers lying around...


This is a hard problem. Solvable only with try and error.

Those signals are just weird mess of coils, switches and resistors.

ESP32 clock speed may also be a contributing factor.


I asked Gemini to make sensible & readable version: https://github.com/timonoko/Jogwheel/blob/main/jogwheel_gem....

But did not improve much, except variable names are now less esoteric.


Hey Gemini, can you describe the imperial bicycle tire sizes compared to ISO in concise and preferably comical way?

Trying to understand imperial bicycle tire sizing is like trying to learn a language where the grammar rules change based on how the speaker feels that morning. It’s a chaotic legacy of Victorian engineering and regional stubbornness.

Here is the breakdown of the "Imperial Nonsense" vs. the "ISO Sanity.... etc etc


One ISO mishap I had recently. I tried to fit fat 47-622 to narrow 23-622 rim. Looked I ok, but when I raised pressure the rim cracked length-wise along the spoke-holes. Never heard this happening to anybody.


Try this:

  (menu-bar-mode -1)
  (setq inhibit-splash-screen t)
  (setq inhibit-startup-echo-area-message t)
  (global-set-key "å" 'hippie-expand)
  (global-set-key "∆" 'toggle-truncate-lines)
  (global-set-key (kbd "<f12>") 'toggle-truncate-lines)
  (xterm-mouse-mode 1)
  (global-set-key (kbd "<mouse-5>") 'scroll-up-command)
  (global-set-key (kbd "<mouse-4>") 'scroll-down-command) ;
  (global-set-key (kbd "<wheel-up>") 'scroll-up-command)
  (global-set-key (kbd "<wheel-down>") 'scroll-down-command) ;
  (setq case-fold-search t)
  (setq-default truncate-lines t)
  (setq sort-fold-case t)
  (autoload 'scad-mode "scad-mode" "A major mode for editing OpenSCAD code." t)
  (add-to-list 'auto-mode-alist '("\\.scad$" . scad-mode))
  (require 'scad-preview)
  (global-set-key (kbd "Å") 'dabbrev-expand)

  (add-hook 'python-mode-hook 'whitespace-mode)
  (setq whitespace-line-column 128)
  (custom-set-faces
   '(default ((t (:background "#000000" :foreground "#ffffff"))))
   '(whitespace-space ((t (:background "black" :foreground "blue"))))
   '(whitespace-tab ((t (:background "black" :foreground "blue"))))
   '(whitespace-newline ((t (:background "black" :foreground "blue"))))
   '(whitespace-empty ((t (:background "black" :foreground "grey50")))))


I have webserver in Termux which is viewed in a watch.

Kinda difficult to explain. But Copilot says:

Provide a single-line weather summary (temperature, wind direction name + degrees, wind speed, symbol text) for use elsewhere (repo name suggests it’s for a clock/display).

https://github.com/timonoko/Supersaa_kelloon


Norway is also particularly Not Suitable for petrol-powered autos.

If you live near Holmenkollen you do not need battery charger at all. With regenerative charging you have already %30 when you are in Oslo and you need only some more charge from Vinmonopolet parking lot to get back home. Basically free energy created from thin air.


Also, many tunnels. Less fumes makes a difference.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: