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.
  • Some detailed information on how irb works and…

    Some detailed information on how irb works and configuration options possible: https://docs.ruby-lang.org/en/3.0/IRB.html Predefined global variables https://docs.ruby-lang.org/en/3.0/globals_rdoc.html

    April 20, 2022
  • Blasts from the past https en wikipedia org…

    Blasts from the past https://en.wikipedia.org/wiki/Soundex https://en.wikipedia.org/wiki/Levenshtein_distance irb(main):011:0> soundex(‘Thomas’) => “T520” irb(main):012:0> soundex(‘Tomas’) => “T520” irb(main):013:0> soundex(‘Tom’) => “T500” irb(main):014:0> soundex(‘Tommy’) => “T500” irb(main):015:0> soundex(‘Kris’) => “K620” irb(main):016:0> soundex(‘Chris’) => “C620” irb(main):017:0> soundex(‘Cris’) => “C620” irb(main):018:0> String::Similarity.levenshtein_distance(‘K620’, ‘C620’) => 1

    April 15, 2022
  • On rails 7 new uninitialized constant Gem Source…

    On rails 7 new: uninitialized constant Gem::Source (NameError) (defined?(@source) && @source) || Gem::Source::Installed.new ^^^^^^^^ bundler (2.3.8, default: 2.3.7) Solution was to `gem update bundler` bundler (2.3.11, 2.3.8, default: 2.3.7)

    April 12, 2022
←Previous Page
1 … 21 22 23 24 25 … 312
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress