logoalt Hacker News

TIPSIOyesterday at 3:05 PM2 repliesview on HN

Oh wow, I love this idea even if it's relatively insignificant in savings.

I am finding my writing prompt style is naturally getting lazier, shorter, and more caveman just like this too. If I was honest, it has made writing emails harder.

While messing around, I did a concept of this with HTML to preserve tokens, worked surprisingly well but was only an experiment. Something like:

> <h1 class="bg-red-500 text-green-300"><span>Hello</span></h1>

AI compressed to:

> h1 c bgrd5 tg3 sp hello sp h1

Or something like that.


Replies

naoruyesterday at 3:14 PM

You'd like Emmet notation. Just look at the cheat sheet: https://docs.emmet.io/cheat-sheet/