HN user

Krysoph

9 karma
Posts0
Comments3
View on HN
No posts found.

I find it absurd that a TUI desktop app is heavier than a native one AND heavier than most browser based desktop apps, it's so much waste of RAM, CPU, energy/battery just to show text.

I've been working on my own AI harness/chat in C++ Qt6[1] and it's lighter than anything else even with lots of features like sub-agents, code diff, terminal emulator, simple editor, markdown preview, translucent background, custom themes, permissions, MCP, git integration(commits, stage, diffs), dock system to move elements and tabs for projects; but it's not released yet as I want to polish it a bit, remove a few bugs I found and simplify the UI.

[1] https://zeteo.krysoph.com/preview.html

MAI-Code-1-Flash 2 months ago

.

  I think HN strips starting blank lines,
  but it may work when done after a line with some char like: .
edit test:
         0 ┤ ╭───╮ Homer made burger
           │ │ ● │ ╭───╮ McBurger
         2 ┤ ╰───╯ │ ○ │  ╭─────╮
           │       ╰───╯  │  *  │ Food truck burger
         4 ┤              ╰─────╯
           │
           │                         ╭─────╮
         6 ┤                         │  ■  │ this was edited btw
           │                         ╰─────╯                   ╭─────╮
         8 ┤                                   Hairport burger │  ▲  │
           │                                                   ╰─────╯
        10 └┬────────────┬───────────┬────────────┬───────────┬────────────┬
           $0           $8          $16          $24         $32          $40
Works fine for me, even after multiple edits the formatting stays the same ¯\(ツ)/¯
MAI-Code-1-Flash 2 months ago

Text after a blank line that is indented by two or more spaces is formatted as code.

https://news.ycombinator.com/formatdoc

  crimes ↑
         │
   10.0  ┤                                           ● Airport burger
         │                                      ╭──────────────╮
    8.0  ┤                                      │  theft arc   │
         │                                      ╰──────────────╯
    6.0  ┤                         ● Five Guys
         │
    4.0  ┤              ● Food truck burger
         │
    2.0  ┤      ● McBurger
         │
    0.0  ┤ ● Homemade burger
         │
         └───────┬─────────┬─────────┬─────────┬─────────→ price
                $2        $8        $14       $22       $38

  ┌────────────────────┬────────┬──────────────┬────────────────────┐
  │ burger             │ price  │ crime index  │ expected behavior  │
  ├────────────────────┼────────┼──────────────┼────────────────────┤
  │ Homemade burger    │   $2   │          0.0 │ law-abiding citizen│
  │ McBurger           │   $6   │          1.4 │ steals extra napkin│
  │ Food truck burger  │  $11   │          3.1 │ lies about hunger  │
  │ Five Guys          │  $18   │          6.2 │ financial crime    │
  │ Airport burger     │  $34   │          9.7 │ enters villain arc │
  └────────────────────┴────────┴──────────────┴────────────────────┘

  conclusion: burger inflation is a gateway condiment