News for hackers. Stuff that matters.
Re:500 Byte Images: The Haiku Vector Icon Format by prashnts on Saturday September 03, 2016 @07:11PM (#12421724)
Right!? I have another "fun" story, where I found using SVGs a bittersweet experience. The firm I was interning this summer had a third party project of extracting waveform data in PDFs generated from ECG machines. Since parsing PDFs are another horrible experience, I used Inkscape to generate SVGs, and then used XPaths to parse the SVG's XML to get the data. All was good except that the XML tree was ~30-40 nodes deep at places.

I do wish that XML based formats were more deterministic to generate. Order should matter, however, I have seen several tools generating something that looks like this:

    <foo transform="translateX(10)">
      <bar transform="translateX(-10)">
        <...>
Inkscape has less than ideal UX on Mac though, which is why I use Sketch.
Re:500 Byte Images: The Haiku Vector Icon Format by Ezhik on Saturday September 03, 2016 @09:09PM (#12422122)
I couldn't get Inkscape to work on Mac at all.