Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has joined #ruby
lucasb has joined #ruby
adu_ has quit [Quit: adu_]
<NL3limin4t0r>
I haven't used any full text search engines myself, but Elasticsearch is also petty popular and the official Ruby binding has 1.5 milion downloads.
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
adu_ has joined #ruby
Technodrome has joined #ruby
<nakilon>
I prefer good solutions, not popular
Jonopoly has quit [Quit: WeeChat 3.0.1]
<NL3limin4t0r>
nakilon: Popular poroducts are often popular for a reason. The reason Google went so big is because it was the best search engine at the time. I don't know if elasticsearch is good or not, but they are doing something right.
<NL3limin4t0r>
Another helpful thing is that trouble shooting is often a lot easier for popular products.
<NL3limin4t0r>
In the end it's your choice. I can't offer any user experience feedback on any of them regardless.
<CommunistWolf>
cute
<CommunistWolf>
(in fact, google almost failed despite being popular, and only survived through choices making it progressively less popular)
FetidToo_ has joined #ruby
FetidToo_ has quit [Client Quit]
alexherbo28 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo28 is now known as alexherbo2
adu_ has quit [Quit: adu_]
adu_ has joined #ruby
adu_ has quit [Client Quit]
FetidToot has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
deviantfero has joined #ruby
Emmanuel_Chanel has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
<weaksauce>
havenwood yeah i did export EDITOR="code" and export EDITOR="code --wait --new-window" to no avail
<weaksauce>
even in the same session and echo'd it to be sure
<weaksauce>
bundle config shows editor to be that since i also set it through BUNDLE_EDITOR
<weaksauce>
i'd have expected vim maybe but not nano which i've never used
<havenwood>
weaksauce: It's BUNDLER_EDITOR, not BUNDLE_EDITOR, right?
nertzy has quit [Ping timeout: 245 seconds]
niv has joined #ruby
lockweel has quit [Quit: Leaving]
niv has quit [Client Quit]
niv has joined #ruby
n1v has joined #ruby
n1v has quit [Client Quit]
n1v has joined #ruby
TCZ has joined #ruby
<weaksauce>
havenwood i don't think so but either way bundle config found it correctly
niv has quit [Ping timeout: 250 seconds]
n1v has quit [Client Quit]
<weaksauce>
and that was just a one off that i tried in a shell
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Client Quit]
<weaksauce>
i guess it's kind of a silly thing but a little lame
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Client Quit]
dpl__ has joined #ruby
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
dpl__ has quit [Quit: dpl__]
n1v has joined #ruby
niv has quit [Remote host closed the connection]
n1v has quit [Client Quit]
legahc has quit [Quit: %bye%]
cnsvc has quit [Quit: %bye%]
legahc has joined #ruby
niv has joined #ruby
cnsvc has joined #ruby
cnsvc has quit [Remote host closed the connection]
legahc has quit [Client Quit]
legahc has joined #ruby
niv has quit [Client Quit]
cnsvc has joined #ruby
niv has joined #ruby
Iarfen has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
TCZ has quit [Quit: Czesc]
dpl_ has quit [Read error: Connection reset by peer]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Xiti has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
rubydoc has quit [Ping timeout: 268 seconds]
walidvb has joined #ruby
<walidvb>
hey all
gearnode has quit [Ping timeout: 258 seconds]
<walidvb>
i'm calling CSV.for_each(path, header: true) do |row|; end; , but row is an array rather than an object..
<walidvb>
so if i had Name, Job, i would get row = ['Name', 'Mathias']. second argument of the block would be the second column, etc etc
<walidvb>
i can't find anything about this, and i'm reusing working code from another codebase
TCZ has joined #ruby
gearnode has joined #ruby
jetchisel has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
ur5us__ has quit [Ping timeout: 258 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
rubydoc has joined #ruby
cthulchu_ has quit [Ping timeout: 246 seconds]
phaul has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
<havenwood>
walidvb: Is `row` a CSV::Row?
<walidvb>
havenwood: it isn't, it's an 2D array
<havenwood>
walidvb: p row
<walidvb>
(i've now changed with a CSV.parse and iterate through the table result)
<walidvb>
but earlier i did not p row, simply ran row from the browser's debug console
<havenwood>
walidvb: For example, if row is #<CSV::Row "ID":"1" "VALUE":"A"> then row.to_a would be [["ID", "1"], ["VALUE", "A"]] and row.to_h would be {"ID"=>"1", "VALUE"=>"A"}.
<walidvb>
row.to_h failed, as the first item of row wasn't an array
<walidvb>
i'm really not sure how come the block's argument turned into some sort of *row_values
<walidvb>
either way, i had to go with another solution as i need to deliver this asap :|
<walidvb>
thanks havenwood, always here! \o/
dka has quit [Quit: My Ex-Girlfriend once told me: I'm not a slut, I'm just popular]