-
I forgot how much setup was required to…
I forgot how much setup was required to go from a base Ubuntu install to bundling and running ruby things: “mkmf.rb can’t find header files for ruby” and other header files messages with bundler… new to also install ruby-dev with your ruby package install in Ubuntu On Ubuntu… need the following: apt-get install -y ruby…
-
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
-
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