Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_piud
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Squish, Crease, Tear: An Intuition for Open and Continuous Maps in Topology
(irfanali.org)
3 points
by
_piud
13d ago
|
1 comments
2.
▲
by
_piud
13d ago
When we first encounter the definition of a continuous function in general topology, it often feels completely backward: Why is a map defined as continuous if the pre-image of every open set is open? Shouldn't a structure-preserving ma
3.
▲
Poor Man's Time Machine: Lazy Evaluation in JavaScript and Haskell
(irfanali.org)
3 points
by
_piud
4mo ago
|
0 comments
4.
▲
by
_piud
4mo ago
author here. the idea is to see how the Y and Z combinators come out relatively naturally given an extremely constrained context with no loops, no recursion, no bindings. the article is intentionally structured as a sequence of failed attem
5.
▲
No Let, No Rec, No Problem: A Gentler Introduction to the Y and Z Combinators
(irfanali.org)
59 points
by
_piud
4mo ago
|
10 comments
6.
▲
by
_piud
11mo ago
thanks for the feedback. a few people have expressed the same criticism. i'm open to producing a variant with less-curly curly brances. please raise an issue, if you want to use it. as is expected, all codes in the illustrations, espec
7.
▲
by
_piud
11mo ago
as i mention in the description, Myna doesn't use ligatures. the Unicode sure looks very much like that in the font, though.
8.
▲
by
_piud
11mo ago
designer here. thanks for the feedback. i've updated the serif in `l` after an issue raised the possibility of ambiguity with `1`. alas, that would mean i'd need to regenerate all the images, which i haven't done yet. i didn&
9.
▲
by
_piud
11mo ago
i've now added a table comparing Myna's symbols with a few other popular fonts in the README.md (without naming the fonts explicitly).
10.
▲
by
_piud
11mo ago
i meant programming in general, not just C. the inequalities would probably be more common than bitwise/pointer usage in C, most because of for loops, i guess. but if you consider all the other languages i listed, it is obviously not t
11.
▲
by
_piud
11mo ago
thanks for the suggestion. i'd definitely add it once some obvious rendering bugs on Windows are found and resolved.
12.
▲
by
_piud
11mo ago
i thought the illustrations were enough to decide if one likes the font. now i have also added a comparison table of Myna with many popular monospace fonts (if that could help gauge the utility). i understand that there would be many many f
13.
▲
by
_piud
11mo ago
thanks for the feedback. i think the em-dash is not very different in case of this font too. i made the (en-)dash so wide that there was no way to disambiguate within fixed-width constraints. i don't use em-dash at all, so there was no
14.
▲
by
_piud
11mo ago
i totally get what you mean. i've not been faithful to the original design of Source Code Pro or even Fira Mono or Ubuntu Mono (from which i also derived a lot) but do try to stick to a simple geometrical ideal with only a few exceptio
15.
▲
by
_piud
11mo ago
Myna's predecessor was a customised version of Source Code Pro. but i've changed a lot of glyphs by borrowing designs and modifying glyphs. so, it may not look like it at all now.
16.
▲
by
_piud
11mo ago
yes, indeed. "condensed" means smaller width and less space between characters, in general. it allows for slightly more code to be shown on the screen horizontally.
17.
▲
by
_piud
11mo ago
i think that you also maintained that it is impossible to reconcile monospace with Unicode. what would be ideal is a variable-width font which covers most Unicode characters consistently. some Unicode characters (eg, arrow) would need space
18.
▲
by
_piud
11mo ago
any particular glyph you find surprising in Myna? feel free to open a feature request.
19.
▲
by
_piud
11mo ago
i have addressed this in one of the other comments. it is impossible to achieve both elegance (good look) and consistency (monospace width) in these cases. many folks, like yourself, are pioneering full Unicode editing. we, on the other end
20.
▲
by
_piud
11mo ago
thanks for the feedback. if that be the case, i'm afraid Myna might not be of much use to you.
21.
▲
by
_piud
11mo ago
thanks for pointing it out. i mostly program in ASCII range. Myna covers a reasonable subset of Unicode but one can indeed use Julia as a fallback for Myna to cover Unicode if one wishes.
22.
▲
by
_piud
11mo ago
agreed. formulae are essential LaTeX. are there any particular glyphs compositions which you'd suggest?
23.
▲
by
_piud
11mo ago
if you're looking for those Haskell operators, you'd find them in the huge banner at the start. maybe i should also add them in the illustrations too.
24.
▲
by
_piud
11mo ago
thanks for the feedback. i'd like to think it's just a preference issue. i didn't know about Go Mono. it looks alright but monospace serifs are probably not for me.
25.
▲
by
_piud
11mo ago
thanks for the feedback. i didn't think about it until a few people commented here. if you use it and want it changed, please open a feature request. just like the curly braces, a disambiguating variant of Myna can be issued in the nex
26.
▲
by
_piud
11mo ago
thanks for testing it. if i can suggest, a wider space between letter helps, for me at least.
27.
▲
by
_piud
11mo ago
Ubuntu Mono is great. many glyphs in Myna are directly borrowed from Ubuntu Mono, just more condensed and better aligned.
28.
▲
by
_piud
11mo ago
thanks! in TypeScript, i've not noticed any glaring combination mismatches. i think most common combinations are covered by considering C and Perl. but feel free to try and report them if you find any.
29.
▲
by
_piud
11mo ago
good idea. since i don't code in J, can you supply a 2-3 line quintessential J example to demonstrate this?
30.
▲
by
_piud
11mo ago
thanks for the suggestion. i'd think about adding screenshots of other fonts. about the alignment, i think the README might give an impression that it's solely about vertical alignment, but it's more about uniform flow of cha
More ›