News for hackers. Stuff that matters.
Re:Philip K. Dick: A Visionary Among the Charlatans (1975) by csdvrx on Tuesday June 01, 2021 @05:01PM (#27361244)
Sorry to contact you there but I do not see an email in your profile.

I just read your comment on derasterize: https://news.ycombinator.com/item?id=25997236

> Based on your project I inferred that adding more matches seems to add more resolution and yeah, outputs are looking even nicer now. I updated the repo!

This is the right approach, but there's a combinatory explosion when computing the matches: you want to select a subset of shapes that in practice are more often right, to save on the matching computation time.

Also, when you are operating with time constraints (ex: video to text), keeping the FPS rate is often more important that the accuracy, as the human eye does a lot of interpolation.

Having different subsets of different sizes and a command-line toggle between them seems like the simpler approach to support multiple uses.

> I also used shapes which are less sharp rather than "perfect match".

Selecting some "less sharp" glyphs is a very daring and unique idea: in retrospect, it should help the bad cases by adding some "blur".

I really like you idea!

Would you be interested in a collaboration to inspect fonts and select glyphs based on 1) their availability (ascii>ansi>unicode) 2) their usefulness (by defining some subsets)

Re:Philip K. Dick: A Visionary Among the Charlatans (1975) by fallat on Thursday June 03, 2021 @12:56PM (#27384119)
I saw your message but was hesitant to respond with disappointment.

I'm sorry my interest in this is not as large as yours!

I think the end result could be cool, but overall not very practical. I wrote my program to include "images" in my text-only articles (http://len.falken.ink/philosophy/is-privacy-in-all-our-inter...), but really I can't imagine a real useful application. We (the world) is much better off to adopt a real "images with text" format which works nicely with terminals (for now this appears to be sixel and the proposal by kiTTY).

My email is inbox at lee <this username> dot ca :)

Re:Philip K. Dick: A Visionary Among the Charlatans (1975) by csdvrx on Friday June 04, 2021 @12:50AM (#27390710)
> My email is inbox at lee <this username> dot ca :)

Thanks, I will get in touch!

I want to release a new version of tmux-sixel first.

> really I can't imagine a real useful application

Plots of datasets are extremely helpful! It is much faster to use gnuplot over ssh than to download a subset of data