Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Golang nil returns suck ლ(ಠ益ಠლ)

    Trying to make sense of nil return values in golang, coming from Ruby and C.

    July 20, 2022
  • 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.)

    July 5, 2022
  • Factory Pattern in Ruby

    A discussion came up today discussing how the factory pattern looks in certain languages, and I found myself thinking about how it might look in Ruby. A quick Google resulted in an example that seemed to violate part of the reason for the Factory Pattern in the first place (there was a distinct factory for…

    June 21, 2022
←Previous Page
1 … 13 14 15 16 17 … 310
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress