Juanito Fatas

Results 44 comments of Juanito Fatas

Hi @Aqualon, I took `"foo" "bar"` example from https://github.com/rspec/rspec-core/blob/34c2c750c48cf880b7194e3e295236afd92c0ca8/lib/rspec/core/configuration.rb#L147-L151, also see http://thepugautomatic.com/2015/01/backslashy-ruby/#comment-1780720281. ## Maybe this just a bad naming, do you have better name for [current example](https://github.com/JuanitoFatas/fast-ruby/blob/master/code/string/concatenation.rb)? Or add explanatory...

Or maybe we setup travis CI to run all versions for us? And README put benchamark result in 2.2 as an idea. If people are curious, check out results on...

Added Travis in #7. I think only to see one is faster than another (> 12%) then it's okay. :simile:

I got this same error trace when redis is not installed / stopped. Start the redis fixed it (`brew services start redis`).

I can reproduce with Ruby 2.1.9: ``` irb(main):001:0> RUBY_VERSION => "2.1.9" irb(main):002:0> require 'yaml'; h = {name: '李'}; YAML.dump(h, File.new('out.yml', 'w:utf-8')) Encoding::UndefinedConversionError: "\xE6" from ASCII-8BIT to UTF-8 from /Users/Juan/.rubies/ruby-2.1.9/lib/ruby/2.1.0/psych/visitors/emitter.rb:27:in `write'...

Also `#`: ``` irb(main):001:0> Encoding.default_external => # irb(main):002:0> Encoding.default_internal => nil irb(main):003:0> RUBY_VERSION => "2.2.5" ``` for 2.1.9: ``` irb(main):001:0> Encoding.default_external => # irb(main):002:0> Encoding.default_internal => nil irb(main):003:0> RUBY_VERSION =>...

I tried to write a test: ``` ruby def test_dump_chinese_string_to_file Tempfile.create(['utf8', 'yml'], :encoding => 'UTF-8') do |t| h = {'one' => '李'} Psych.dump(h, t) t.close assert_equal h, Psych.load_file(t.path) end end...

> @JuanitoFatas nice post! A couple things: > > if the ctags file exists at .git/tags, tags, or tmp/tags within the repo, unused will load it automatically, meaning you won't...

> The alias is necessary if your $PATH is misconfigured. which ctags should return the Homebrew-installed version. If it does, nothing else is required and you can ignore the alias...

> this might be a dumb question This is a good question! 😊 > what do the 2 number columns mean (e.g. 1,1)? The first `1` is _how many times...