Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nigeltao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
nigeltao
9y ago
> I guess they’ve seen one too many bugs from precedence confusion. Yep. I just filed a precedence bug at https://github.com/jbangert/nail/issues/7 for Nail, which is a security-concious project. (It was p
92.
▲
by
nigeltao
9y ago
Hi, Puffs author here. ingve linked to the github page instead of the announcement e-mail: https://groups.google.com/forum/#!topic/puffslang/2z61mNTAMn... That announcement has more to say about the compariso
93.
▲
Puffs: parsing untrusted file formats safely
(groups.google.com)
33 points
by
nigeltao
9y ago
|
0 comments
94.
▲
by
nigeltao
9y ago
Oh, in case you were wondering, the ubiquitous term "rune" in the Go documentation is simply shorthand for "Unicode codepoint".
95.
▲
by
nigeltao
9y ago
Yeah, there's not really a guaranteed-valid buffer concept in Go. Even if you have valid UTF-8, you still have to iterate over it to e.g. rasterize glyphs, and iterating over possibly-bad UTF-8 is no harder than iterating over known-go
96.
▲
by
nigeltao
9y ago
The author found it hard to "find the right API entry point in Go documentation". For the record, Go produces one U+FFFD per byte, not per maximal contiguous run, when iterating over bad UTF-8. This is part of the language specifi
97.
▲
by
nigeltao
9y ago
Last year, I invented IconVG, a compact, binary format for simple vector graphics: icons, logos, glyphs and emoji. IconVG is similar in concept to SVG (Scalable Vector Graphics) but much simpler. Compared to "SVG Tiny", it does no