Re:How we made Haskell search strings as fast as Rust
by whalesalad on Wednesday March 13, 2019 @05:00PM
(#19383724)
I can't speak to the content or Haskell at all but I really like the clean formatting of the post, particularly the charts and images. Does anyone know what tool might have been used to produce them? So clean and crisp.
[ Parent
| on HN ]
Re:How we made Haskell search strings as fast as Rust
by duijf on Wednesday March 13, 2019 @05:38PM
(#19384136)
It's LaTeX, tikz, and pgfplots for the images. Complied with xelatex to pdf and pdf2svg to svg. The rest is custom HTML and CSS. We use the Hakyll static site generator.
Re:How we made Haskell search strings as fast as Rust
by ruuda on Wednesday March 13, 2019 @07:11PM
(#19384921)
Yes, can confirm. Check out [1] and [2] to learn more about TikZ and PGFPlots.
[1]: http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf [2]: http://mirrors.ctan.org/graphics/pgf/contrib/pgfplots/doc/pg...
Re:How we made Haskell search strings as fast as Rust
by josephg on Wednesday March 13, 2019 @08:14PM
(#19385303)
I particularly appreciate how the text in the diagrams matches the font (& font size) of the body text. Almost nobody does that and it looks great.
Re:How we made Haskell search strings as fast as Rust
by seanmcdirmid on Wednesday March 13, 2019 @05:35PM
(#19384113)
The graph looks a lot like GraphViz output. Not sure about the charts, however.
Re:How we made Haskell search strings as fast as Rust
by andrepd on Wednesday March 13, 2019 @06:17PM
(#19384487)
As always, I will bitch about the colour of the text being grey (#333) instead of black. Hurts readability, doesn't improve design.
Re:How we made Haskell search strings as fast as Rust
by whalesalad on Wednesday March 13, 2019 @06:38PM
(#19384679)
#333 is a great color for text on the web.
Re:How we made Haskell search strings as fast as Rust
by chrisdone on Thursday March 14, 2019 @01:39PM
(#19391516)
That depends on the medium used to view the web. On my KoboHD e-ink reader, grey text is not legible. It's sad because thousands of web sites that would be gorgeously legible if their text were #000 are not. But this is more of a browser issue; Kobo should disable colors IMO. And this is something that people can do on regular browsers.
Re:How we made Haskell search strings as fast as Rust
by sumnole on Wednesday March 13, 2019 @06:59PM
(#19384840)
objectively its color contrast ratio on a white bg is more than high enough to meet web content accessibility guidelines