Category: Uncategorized

  • TIL https en wikipedia org wiki Billion laughs…

    TIL https://en.wikipedia.org/wiki/Billion_laughs_attack Looks like Nokogiri is too simplistic (by default) to be affected, but the Psych parser in Ruby isn’t so lucky (if you expand to ruby objects, of course… it parses to a Psych object just fine.)

  • Documentation vs. Useful Documentation

    Extensive documentation is time-consuming, but relatively simple to create. USEFUL documentation is potentially time-consuming, and can be difficult to create as well. My approach to documentation (the tl;dr): Record what challenged me personally about a problem. Fill in background gaps. Add gory details as addendums or links (depending on stability of source documentation) Organize so…

  • If you’d like to get nothing done today…

    If you’d like to get nothing done today as a software engineer, try to make programmatic sense out of the IANA Time Zone files https://www.iana.org/time-zones