Dorian Marié
Dorian Marié
Hey, would you be open to have batches for parsing large jsonl files?
I'm using proxies and was getting SSL errors.
--- ERROR REPORT TEMPLATE ------------------------------------------------------- ``` Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - /Users/dorianmariefr/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/dorian-sort-csv-0.0.3 /Users/dorianmariefr/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/rubygems/package.rb:508:in `realpath' /Users/dorianmariefr/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/rubygems/package.rb:508:in `install_location' /Users/dorianmariefr/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/rubygems/package.rb:427:in `block (2 levels) in extract_tar_gz' /Users/dorianmariefr/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/rubygems/package/tar_reader.rb:65:in `each' /Users/dorianmariefr/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/rubygems/package.rb:423:in `block...
Currently it gives: ``` >> s = Struct.new(:a).new(1) >> s.to_json => "\"#\"" ``` Woudl be nice it was the same as a hash
it seems there is a constant being initialized twice ``` There was an error while trying to load the gem 'kamal'. Gem Load Error is: /Users/dorianmariefr/.asdf/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/sshkit-1.23.0/lib/sshkit.rb:3: warning: already initialized constant...
What's weird is that it works with structs (and arrays of course) but not with hashes ``` >> require 'csv'; CSV.generate { |csv| csv