Top all-time · #1926
Ivan Sagalaev
Personal blog · softwaremaniacs.org/blogprogrammingweb
Ivan Sagalaev writes Маниакальный веблог, a personal blog at softwaremaniacs.org about programming and web. Since 2008, 38 different Hacker News readers have linked it 46 times, most often “Python dicts are now ordered”. It is still writing: the last post was on 2026-08-20, and you can follow it by feed.
Too few sampled comments (19) to say how often HN recommends it.?
Why HN links it
Ivan Sagalaev's site, home of the highlight.js syntax highlighter, with posts on JavaScript, Python and JSON parsing. HN readers link it mostly for the highlighter and its project pages.
- Recommended for · 3 comments
- The highlight.js page is called excellent for automatic syntax highlighting and is suggested as worth checking out, with its modularity and lack of jQuery depen
Summarised by Claude from a sample of 19 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- /soft/highlight/en/7 people · 8 mentions · first linked 2008-12-16
- Python dicts are now ordered3 people · 3 mentions · first linked 2020-02-06
- Why Rust's ownership/borrowing is hard3 people · 3 mentions · first linked 2016-02-13
- IJSON - a new SAX-like JSON parser for Python2 people · 2 mentions · first linked 2010-09-23
- /media/soft/highlight/test.html2 people · 2 mentions · first linked 2012-06-02
- /blog/2020/02/05/dicts-ordered/2 people · 2 mentions · first linked 2022-08-21
- Showdown - javascript markdown2 people · 2 mentions · first linked 2011-10-03
What Hacker News says?
For automatic syntax highlighting http://softwaremaniacs.org/soft/highlight/en/ is excellent.
Comment linking /soft/highlight/en/
on “Why I Left Medium”Submitted Python dicts are now ordered as a story · 734 points
HN discussionMore on that: http://softwaremaniacs.org/blog/2012/03/26/rainbow-js/en/
Comment linking /blog/2012/03/26/rainbow-js/en/
on “Rainbow.js - code syntax highlighting in 1.2kb”Submitted Why Rust's ownership/borrowing is hard as a story · 122 points
HN discussionSo... why should I use this instead of http://softwaremaniacs.org/soft/highlight/en/ ?
Comment linking /soft/highlight/en/
on “Rainbow.js - code syntax highlighting in 1.2kb”Submitted Completely unfair comparison of JavaScript syntax highlighters as a story · 48 points
HN discussionThanks, yeah, I was very careful to avoid claiming they're mutually exclusive. However, although I stopped trying to learn Rust back in 2016, unless it's changed its fundamentals radically (which I understand it hasn't), I'm not sure if it's really a counterexample here for expressiveness. Can you use different allocators for different vectors in the same function in Rust? Can you have custom move semantics for obje…
Comment linking /blog/2016/02/12/ownership-borrowing-hard/en/
on “C++20 Ranges”Submitted Showdown - javascript markdown as a story · 47 points
HN discussionSome syntax highlighters, such as highlight.js [0], can do language detection and it works reasonably well with short snippets too. [0] http://softwaremaniacs.org/soft/highlight/en/
Comment linking /soft/highlight/en/
on “What's That Programming Language?”Submitted The C++ Lands [png] as a story · 12 points
HN discussionI used to have the exact same problem with Python, until Python 3.7 made maintaining sort order a feature of the language: https://softwaremaniacs.org/blog/2020/02/05/dicts-ordered/
Comment linking /blog/2020/02/05/dicts-ordered/
on “Gojq: Pure Go Implementation of Jq”Submitted Django as a micro-framework as a story · 11 points
HN discussionIn case you are interested in fast, streaming parsing of JSON, check out the yajl library ( http://softwaremaniacs.org/blog/2010/09/18/ijson/en/ ) In Python, I use the ijson bindings for yajl ( http://softwaremaniacs.org/blog/2010/09/18/ijson/en/ ). Here is a blog post demonstrating ijson: http://thechangelog.com/post/1169335384/ijson-parse-streams-...
Comment linking /blog/2010/09/18/ijson/en/
on “1 in 5 APIs Say “Bye XML” - JSON gaining ground”Submitted Scaling Django for a Russian search engine as a story · 11 points
HN discussionhttp://softwaremaniacs.org/blog/2016/02/12/ownership-borrowi...
Comment linking /blog/2016/02/12/ownership-borrowing-hard/en/
on “Rust is Software's Salvation”Submitted Python Dicts are now ordered, get used to it as a story · 5 points
HN discussionOthers people might find useful: http://craig.is/making/rainbows (1.4kb) http://softwaremaniacs.org/soft/highlight/en/ I prefer http://pygments.appspot.com
Comment linking /soft/highlight/en/
on “PrismJS”Submitted Misconception about OSS Support as a story · 4 points
HN discussionhighlight.js [1] does this, though by running highlighters rather than using some learning-based mechanism. It feels wasteful to run this on display rather than storage, though. SourceClassifier [2] also works, though with less languages. And here's [3] an implementation made with Bayes and Go. [1] http://softwaremaniacs.org/soft/highlight/en/ http://softwaremaniacs.org/media/soft/highlight/test.html [2] http://blog…
Comment linking /media/soft/highlight/test.html
on “Most Pressed Keys and Programming Syntaxes”Submitted Rainbow.js — a new kid on the highlighters' block as a story · 4 points
HN discussionThis implementation was used from 3.6, right? It's interesting that the idea mail mentions that nothing changes about the implementation (including order) but the memory layout. Which would imply insertion order was already preserved in older versions (not the case IIRC) or the idea underwent a few more changes that did in fact impact order. EDIT: I couldn't quite find an answer but https://softwaremaniacs.org/blog/…
Comment linking /blog/2020/02/05/dicts-ordered/
on “Hash Ordering and Hyrum's Law”Submitted Google profile OpenID breakage as a story · 4 points
HN discussionThis doesn't seem like a huge advance from showdown's demo page. http://softwaremaniacs.org/playground/showdown-highlight/
Comment linking /playground/showdown-highlight/
on “Markdown Editor”Submitted When to use decorators in Python as a story · 3 points
HN discussionIf you're going to put up source (or in this case, XML), may I suggest two things? (1) Please indent. (2) Consider syntax highlighting. http://softwaremaniacs.org/soft/highlight/en/ will do it for you.
Comment linking /soft/highlight/en/
on “How we wrote our app for MS Office 2013”Submitted Python Stdlib Gems: Collections.Counter as a story · 2 points
HN discussionAlso worth checking out: highlight.js http://softwaremaniacs.org/soft/highlight/en/ (doesn't use jQuery and is modular).
Comment linking /soft/highlight/en/
on “jQuery.Syntax now does inline highlighting”Submitted Liberal JSON as a story · 2 points
HN discussionThe app depends on highlight.js which currently supports a limited set of languages, and unfortunately, Brainfuck isn't one of them. http://softwaremaniacs.org/media/soft/highlight/test.html I wonder what would happen to the accuracy of highlight.js highlightAuto method if more languages were to be supported. Highlight.js recognizes languages based on how many language constructs it can recognize. More languages = m…
Comment linking /media/soft/highlight/test.html
on “What's this programming language?”Submitted Programmer types: Scientists, Engineers and Teachers as a story · 2 points
HN discussion