havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
<havenwood> size.positive? \o/
_sfiguser has quit [Ping timeout: 240 seconds]
enterprisey has quit [Ping timeout: 248 seconds]
Derperperd has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 252 seconds]
kameri has joined #ruby
kameri has left #ruby [#ruby]
kies has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
masondesu has joined #ruby
marr has quit [Ping timeout: 245 seconds]
_sfiguser has joined #ruby
roamingdog has joined #ruby
harai has quit [Ping timeout: 252 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
assistantwch is now known as nchambers
Guest38754 is now known as ged
ged is now known as Guest78050
Derperperd has joined #ruby
altes has joined #ruby
masondesu has quit [Quit: sleep!]
shayan_ has quit [Quit: shayan_]
xaviergmail has joined #ruby
Derperperd has quit [Ping timeout: 248 seconds]
altes has quit [Ping timeout: 240 seconds]
bastelfreak has quit [Ping timeout: 240 seconds]
pskosinski has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 240 seconds]
gloscombe has quit [Ping timeout: 248 seconds]
xaviergmail has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Andrew_TA has joined #ruby
masondesu has joined #ruby
Andrew_TA has quit [Ping timeout: 256 seconds]
dc2 has joined #ruby
charliesome has joined #ruby
hahuang61 has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
ur5us has quit [Remote host closed the connection]
enyo_ has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
nettoweb has joined #ruby
enyo_ has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
xaviergmail has joined #ruby
shayan_ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
renojdl has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
shayan_ has quit [Quit: shayan_]
fredolinhares has quit [Quit: WeeChat 1.6]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dkings has joined #ruby
ruler has joined #ruby
Derperperd has joined #ruby
arescorpio has joined #ruby
nettoweb has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dkings has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 255 seconds]
bastelfreak has joined #ruby
nertzy has joined #ruby
braincrash has quit [Ping timeout: 245 seconds]
neuropunk has quit [Quit: Leaving]
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
ur5us has joined #ruby
nowhereman has quit [Remote host closed the connection]
porfa has quit [Quit: porfa]
braincrash has joined #ruby
porfa has joined #ruby
Guest78050 is now known as ged
ged is now known as Guest51153
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
kcantwel has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
xaviergmail has quit [Ping timeout: 240 seconds]
porfa has quit [Quit: porfa]
JoshS has joined #ruby
porfa has joined #ruby
Lord_of_Life has quit [Excess Flood]
Lord_of_Life has joined #ruby
Ishido has quit [Ping timeout: 240 seconds]
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
dkings has joined #ruby
kcantwel has quit [Ping timeout: 256 seconds]
Ishido has joined #ruby
masondesu has quit [Quit: sleep!]
jaequery has joined #ruby
enterprisey has joined #ruby
dkings has quit [Ping timeout: 240 seconds]
georgie has quit [Ping timeout: 240 seconds]
jaequery has quit [Ping timeout: 255 seconds]
<Definity> Is there any Gem that can conver a JSON object to a DB? that I can search from?
jaequery has joined #ruby
duderonomy has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
blackmesa has quit [Ping timeout: 240 seconds]
segy has joined #ruby
georgie has joined #ruby
jaiks has quit [Ping timeout: 255 seconds]
jaiks has joined #ruby
alibby has quit [Read error: No route to host]
alibby has joined #ruby
rikai has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
Kug3lis has joined #ruby
tdy has joined #ruby
xaviergmail has joined #ruby
maddmaxx has joined #ruby
braincrash has quit [Ping timeout: 245 seconds]
Kug3lis is now known as Kug3lis_off
rt has quit [Excess Flood]
Sembei has quit [Excess Flood]
justsum13lse has quit []
rt has joined #ruby
Sembei has joined #ruby
altes has joined #ruby
dc2 has quit [Ping timeout: 252 seconds]
flughafen has quit [Ping timeout: 240 seconds]
flughafen has joined #ruby
<Radar> Definity: Not that I know of. Your best shot is to parse the JSON object using the JSON.parse method and then read that into a database using something like the Sequel gem.
b0nn has quit [Quit: leaving]
altes has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
jeyraof has joined #ruby
b0nn has joined #ruby
enyo_ has joined #ruby
nerio has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
d^sh has quit [Ping timeout: 240 seconds]
Andrew_TA has joined #ruby
<nerio> fkda
d^sh has joined #ruby
<Radar> nerio: hello to you too.
xaviergmail has quit [Ping timeout: 240 seconds]
enyo_ has quit [Ping timeout: 256 seconds]
ozzloy has quit [Ping timeout: 256 seconds]
Guest51153 is now known as ged
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
ged is now known as Guest87315
roamingdog has joined #ruby
Andrew_TA has quit [Ping timeout: 249 seconds]
hahuang61 has joined #ruby
pilne has quit [Quit: Quitting!]
vikaton has joined #ruby
__Yiota has joined #ruby
braincrash has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 256 seconds]
hanmac has joined #ruby
jaequery has joined #ruby
nankyokusei has joined #ruby
hutch34 has joined #ruby
ozzloy has joined #ruby
empty_cup has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
rikai has joined #ruby
ICantCook has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
porfa has quit [Quit: porfa]
ICantCook has left #ruby [#ruby]
jaequery has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
optiz0r has quit [Ping timeout: 245 seconds]
brent__ has quit [Remote host closed the connection]
braincrash has joined #ruby
mrconfused has joined #ruby
jaequery has quit [Client Quit]
jameser has joined #ruby
porfa has joined #ruby
masondesu has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
thewoolleyman has joined #ruby
pawnbox has quit [Remote host closed the connection]
thegriff has joined #ruby
pawnbox has joined #ruby
charliesome has joined #ruby
<Radar> !ban thegriff
thegriff was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
ruler has quit [Quit: Connection closed for inactivity]
Dry_Lips has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
porfa has quit [Quit: porfa]
porfa has joined #ruby
bhegel has quit [Quit: bhegel]
<Radar> !unban thegriff
thegriff has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
thegriff has quit [Quit: leaving]
thegriff has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wennefer has joined #ruby
masondesu has quit [Quit: sleep!]
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
wennefer has quit [Client Quit]
wennefer has joined #ruby
wennefer has quit [Client Quit]
wennefer has joined #ruby
wennefer has quit [Client Quit]
wennefer has joined #ruby
__Yiota has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
wennefer has left #ruby [#ruby]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
eelster has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
thegriff has quit [Ping timeout: 260 seconds]
montanonic has joined #ruby
maddmaxx_ has joined #ruby
arescorpio has quit [Read error: Connection reset by peer]
maddmaxx has quit [Ping timeout: 252 seconds]
maddmaxx_ is now known as maddmaxx
nerio has quit [Ping timeout: 240 seconds]
montanonic has quit [Remote host closed the connection]
braincrash has joined #ruby
jaequery has joined #ruby
montanonic has joined #ruby
dkings has joined #ruby
howdoi has joined #ruby
zapata has quit [Ping timeout: 240 seconds]
dkings has quit [Ping timeout: 258 seconds]
Guest87315 is now known as ged
bmurt has joined #ruby
ged is now known as Guest1516
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Client Quit]
braincrash has quit [Ping timeout: 258 seconds]
tdy has quit [Quit: WeeChat 1.6]
dyyylan has joined #ruby
ozzloy has quit [Ping timeout: 258 seconds]
<dyyylan> Hi can someone help with how to convert a simple array of arrays into a csv file? I can get it to write but the values are not escaped at all. can't seem to find anything written in this century on google that is relevant :|
braincrash has joined #ruby
hightower3 has joined #ruby
Yacker has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zapata has joined #ruby
jaequery has joined #ruby
<dyyylan> do people still use ruby?
thegriff has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 255 seconds]
<dyyylan> i guess not
dyyylan has left #ruby ["Textual IRC Client: www.textualapp.com"]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thegriff has quit [Ping timeout: 255 seconds]
<Radar> harsh
dyyylan has joined #ruby
ozzloy has joined #ruby
<dyyylan> Radar: are you familiar with the CSV class at all? I am trying to output a really basic array and it seems to be escaping stuff really weird. im sure im doing something very obvious wrong
<Radar> dyyylan: Yes I am.
<Radar> Do you have some code that I could look at?
<Radar> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<Radar> Put it there ^ and give me the link
<dyyylan> basically i have the array and am just doing CSV.open('file.csv') do |file| file << my_array end
<dyyylan> where my_array has each line with [blah].to_csv
<Radar> dyyylan: real code pleaes.
<Radar> With fake code you may be actually hiding the thing that is causing the problem
<Radar> Give me some code that reproduces the issue and I will give you the answer.
<Radar> Can you show me what the output of line 34 is please?
<dyyylan> its awful code i know, i dont really use ruby ever
<dyyylan> sure
<Radar> I have seen much worse.
<dyyylan> [["VIP", "206 COLONY WAY W JUPITER FL 33458", 26.923861, -80.112053], ["VIP", "18834 LOBLOLLY PINE CT JUPITER FL 33458", 26.953317, -80.132284], ["VIP", "112 RAINBOW FISH CIR JUPITER FL 33477", 26.9226532, -80.0678156]]
<Radar> This is _pristine_ compared to some code I have seen.
<Radar> Right, so it's an array of arrays. Makes sense.
<Radar> Give me a moment to tinker.
<Radar> dyyylan: So I think the issue is that on line 37 you're assigning each of the geocoded lines to the variable "line", but then you're using "geocoded" on line 38.
<Radar> dyyylan: line 38 should be using "line", not "geocoded"
excubitor has quit [Ping timeout: 240 seconds]
enyo_ has joined #ruby
<dyyylan> sorry that was in the middle of editing
braincrash has joined #ruby
<dyyylan> simpler
optiz0r has joined #ruby
<Radar> Yup, simpler but it has the same issue... The out << things_done_did call should be done for every element in things_done_did./
<dyyylan> it seems to wrap each array in quotes, and the quote ends on the next line
altes has joined #ruby
Definity has quit [Ping timeout: 255 seconds]
<Radar> Yup, simpler but it has the same issue... The out << things_done_did call should be done for every element in things_done_did./
<Radar> Bah.
<dyyylan> ok so I wrapped that in an .each and get `<<': undefined method `map'
<dyyylan> ohh
<dyyylan> so when you use the CSV class it automatically does the .to_csv calls?
<Radar> yes
enyo_ has quit [Ping timeout: 255 seconds]
<dyyylan> ok that seems to work
<dyyylan> thanks for your help, been banging my head against the wall for an hour
<Radar> no worries
mim1k|work has quit [Ping timeout: 240 seconds]
altes has quit [Ping timeout: 260 seconds]
<dyyylan> now i can remove the iterator and slam the google geocoding api for the next half hour :D
chouhoulis has quit [Remote host closed the connection]
griffindy has quit [Read error: Connection reset by peer]
<al2o3-cr> dyyylan: the last part can be as simple as: File.write('output.csv', foo.map(&:to_csv).join)
mim1k|work has joined #ruby
<dyyylan> the & is how you specify a method to use?
<Radar> foo.map(&:to_csv) is the same as doing foo.map { |f| f.to_csv }
<dyyylan> if i defined my own method, it would be foo.map(&bar) ?
<al2o3-cr> dyyylan: sure
<al2o3-cr> proc
<dyyylan> ok cool, didn't remember that syntax :)
<dyyylan> ive been in javascript land for too long
Andrew_TA has joined #ruby
skweek has joined #ruby
dkings has joined #ruby
s2013 has joined #ruby
gix has quit [Ping timeout: 258 seconds]
Andrew_TA has quit [Ping timeout: 248 seconds]
dkings has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
gix has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
LoneHerm_ has joined #ruby
nankyokusei has joined #ruby
hutch34 has joined #ruby
LoneHerm_ has quit [Ping timeout: 248 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
aaronm04 has joined #ruby
Guest1516 is now known as ged
Myk267 has joined #ruby
ged is now known as Guest11291
Devalo has joined #ruby
agent_white has joined #ruby
dcluna has quit [Ping timeout: 240 seconds]
thegriff has joined #ruby
dcluna has joined #ruby
Channel6 has quit [Quit: Leaving]
vikaton has quit [Quit: Connection closed for inactivity]
Devalo has quit [Ping timeout: 240 seconds]
thegriff has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ponga has quit []
eggshke has joined #ruby
last_staff has quit [Quit: last_staff]
nofxx has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
<thewoolleyman> Can anyone explain why (on OSX/POSIX) PTY turns a LF into a CR+LF:
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
sebastia_ has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 252 seconds]
mrconfused has quit [Ping timeout: 258 seconds]
ballangddang has joined #ruby
ballangddang has left #ruby [#ruby]
tdy has joined #ruby
harfangk has joined #ruby
renchan has joined #ruby
porfa has quit [Ping timeout: 252 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
enyo has joined #ruby
thegriff has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrconfused has joined #ruby
__Yiota has joined #ruby
enyo has quit [Ping timeout: 240 seconds]
ozzloy has quit [Ping timeout: 256 seconds]
thegriff has quit [Ping timeout: 258 seconds]
roamingdog has quit [Remote host closed the connection]
mrconfused has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
roamingdog has joined #ruby
Guest11291 is now known as ged
ur5us has quit [Remote host closed the connection]
ged is now known as Guest89809
wugy has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
<havenwood> thewoolleyman: For what it's worth, it's the same with libutil on Linux or BSD.
pawnbox has joined #ruby
enyo has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thewoolleyman> Found the answer - it's when stty has onlcr, vs -onlcr set. No idea why it's on by default on my system.
roamingdog has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
enyo has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
dionysus69 has joined #ruby
altes has joined #ruby
Kug3lis_off is now known as Kug3lis
milardovich has quit [Ping timeout: 240 seconds]
altes has quit [Ping timeout: 256 seconds]
blaxter has joined #ruby
chouhoulis has joined #ruby
vali_ has joined #ruby
kgrz has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
last_staff has joined #ruby
milardovich has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Andrew_TA has joined #ruby
Tau has quit [Remote host closed the connection]
Kug3lis is now known as Kug3lis_off
a0s has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
<kgrz> Hi! Any way to find out the document size parsing limits for Nokogiri? There is a config option `HUGE` that removes any hardcoded document size limit, but there is no information (on that doc) about the actual limit of, say, a HTML page.
jenrzzz has quit [Ping timeout: 240 seconds]
aganov has joined #ruby
Andrew_TA has quit [Ping timeout: 240 seconds]
xrlk_ has quit [Ping timeout: 255 seconds]
hahuang61 has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 256 seconds]
a0s has quit [Quit: Mutter: www.mutterirc.com]
nankyokusei has joined #ruby
hutch34 has joined #ruby
pawnbox has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
vali_ has joined #ruby
nowz has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
vali_ has quit [Client Quit]
conta has joined #ruby
maddmaxx has quit [Remote host closed the connection]
Devalo has joined #ruby
thegriff has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
Devalo has quit [Ping timeout: 260 seconds]
terens has quit [Remote host closed the connection]
thegriff has quit [Ping timeout: 258 seconds]
enterprisey has quit [Read error: Connection reset by peer]
ARCADIVS has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
govg has quit [Quit: leaving]
govg has joined #ruby
astrobunny has joined #ruby
Guest89809 is now known as ged
mark[oz] has joined #ruby
ged is now known as Guest48856
dkings has joined #ruby
milardovich has joined #ruby
tonini has joined #ruby
tvw has joined #ruby
tonini is now known as zastav
pawnbox has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
zastav is now known as tonini
conta has quit [Quit: conta]
charliesome has joined #ruby
dkings has quit [Ping timeout: 256 seconds]
conta has joined #ruby
cibs has joined #ruby
conta has quit [Client Quit]
astrobunny has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 240 seconds]
conta has joined #ruby
astrobunny has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
Silthias has quit [Read error: Connection reset by peer]
futilegames has joined #ruby
Silthias has joined #ruby
ddrmanxbxfr has quit [Remote host closed the connection]
tristanp has quit [Remote host closed the connection]
jenrzzz has joined #ruby
futilegames has quit [Quit: futilegames]
jenrzzz has quit [Ping timeout: 255 seconds]
aryaching has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
aryaching has joined #ruby
<dionysus69> anyone who might be familiar with APA style, I am trying to reference ruby gem in my paper which is on github. How would I do it correctly? even small details matter :S
pandaant has joined #ruby
enyo has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
nowhereman has joined #ruby
enyo has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
TomyWork has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
blaxter has quit [Quit: foo]
aufi has joined #ruby
vondruch has quit [Ping timeout: 248 seconds]
Andrew_TA has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
Andrew_TA has quit [Remote host closed the connection]
Snickers has joined #ruby
Andrew_TA has joined #ruby
_sfiguser has quit [Ping timeout: 255 seconds]
Andrew_T_ has joined #ruby
naprimer_2 has joined #ruby
mark[oz] has quit [Remote host closed the connection]
Andrew___ has joined #ruby
mark[oz] has joined #ruby
enyo has joined #ruby
Andrew_TA has quit [Ping timeout: 248 seconds]
aryaching_ has joined #ruby
mark[oz] has quit [Read error: No route to host]
aryaching has quit [Ping timeout: 240 seconds]
thegriff has joined #ruby
Andrew_TA has joined #ruby
naprimer has quit [Ping timeout: 256 seconds]
Andrew_T_ has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_TA has joined #ruby
Andrew___ has quit [Ping timeout: 256 seconds]
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_T_ has joined #ruby
SpiffTR has joined #ruby
thegriff has quit [Ping timeout: 256 seconds]
Andrew_T_ has quit [Read error: Connection reset by peer]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thewoolleyman has left #ruby [#ruby]
milardovich has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
_sfiguser has joined #ruby
dkings has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
Sammichmaker has joined #ruby
biberu has joined #ruby
SesMan has joined #ruby
govg has quit [Ping timeout: 240 seconds]
dkings has quit [Ping timeout: 248 seconds]
mark[oz] has joined #ruby
voker57 has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
rikkipitt has joined #ruby
DoubleMalt has joined #ruby
voker57 has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
mark_66 has joined #ruby
nowhereman has joined #ruby
altes has joined #ruby
koldbrutality has quit [Remote host closed the connection]
eggshke has quit []
terens has joined #ruby
Cohedrin_ has joined #ruby
koldbrutality has joined #ruby
Guest48856 is now known as ged
altes has quit [Ping timeout: 256 seconds]
ged is now known as Guest7084
yeticry has joined #ruby
yeticry_ has quit [Read error: Connection reset by peer]
aidalgol has joined #ruby
pawnbox has joined #ruby
antgel has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
walterheck has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
djbkd has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
jaequery has joined #ruby
harai has joined #ruby
SpiffTR has quit [Quit: Leaving.]
frozengeek__ has joined #ruby
Myk267 has quit [Quit: Myk267]
jenrzzz has quit [Ping timeout: 245 seconds]
agit0 has joined #ruby
hahuang61 has joined #ruby
andikr has joined #ruby
aidalgol has quit [Read error: Connection reset by peer]
Derperperd has quit [Quit: WeeChat 1.5]
hahuang61 has quit [Ping timeout: 256 seconds]
anisha has joined #ruby
nankyokusei has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
ruby-lang651 has joined #ruby
Silthias1 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
Silthias has quit [Ping timeout: 258 seconds]
<ruby-lang651> can anyone tell me why age is printing the object id of the class instead of the age?
milardovich has joined #ruby
SpiffTR has joined #ruby
<baweaver> It's printing the object itself
<baweaver> >> class Person;def initialize(n,a)@name,@age=n,a end;end; Person.new('ruby', 22)
<ruby[bot]> baweaver: # => #<Person:0x420e9880 @name="ruby", @age=22> (https://eval.in/716991)
Devalo has joined #ruby
pawnbox has joined #ruby
<baweaver> >> class Person;def initialize(n,a)@name,@age=n,a end;end; puts Person.new('ruby', 22)
<ruby[bot]> baweaver: # => #<Person:0x406b9834> ...check link for more (https://eval.in/716992)
ddffg has joined #ruby
<ruby-lang651> so how to print the age?
<baweaver> What have you read so far?
milardovich has quit [Ping timeout: 240 seconds]
<ruby-lang651> https://eval.in/716992
<baweaver> ?
<ruby-lang651> oh i get what you meant
thegriff has joined #ruby
<baweaver> You have a Hash of Hash[Symbol, Person]
<ruby-lang651> ya?
<baweaver> you're using puts on a person object
<baweaver> so it returns the equivalent object reference of a person
Devalo has quit [Ping timeout: 255 seconds]
<baweaver> What tutorials have you read to get to this point?
<ruby-lang651> this is my first time experiencing this
pawnbox has quit [Ping timeout: 256 seconds]
<ruby-lang651> haha forgive me
<baweaver> Not a problem
<baweaver> just seeing what you've already covered.
<ruby-lang651> person[name.to_sym] = Person.new(name,age)
<baweaver> helps me to help you.
dkings has joined #ruby
<ruby-lang651> basically i wanted to the person hash to have it's name as it's key
<ruby-lang651> with the values of name and age
<baweaver> Of this I am aware.
<baweaver> Which tutorial / book are you reading?
<ruby-lang651> i read finish
<ruby-lang651> i just trying it out only
<baweaver> Which tutorial or book or website are you currently reading through to learn ruby?
<ruby-lang651> peter cooper
<baweaver> I will warn you that APress has very often had bad books
thegriff has quit [Ping timeout: 252 seconds]
<ruby-lang651> peter cooper is the best book for ruby
<ruby-lang651> im not blaming the book anyway
<baweaver> That's subjective at best and I'd disagree with that, but that's beside the point
<baweaver> Anyways... Do you know what an object is?
<ruby-lang651> and the reason why's the printing the age is because?
<ruby-lang651> yup instance object of an class
altes has joined #ruby
<ruby-lang651> it's not *
nowz has quit [Quit: Leaving]
<baweaver> >> class Person;def initialize(n,a)@name,@age=n,a end;end; puts Person.new('ruby', 22)
<ruby[bot]> baweaver: # => #<Person:0x41d01858> ...check link for more (https://eval.in/716996)
<baweaver> So we have that person
dkings has quit [Ping timeout: 252 seconds]
<baweaver> it has a name and an age attribute
<baweaver> how do you ask a person object for its age?
* dminuoso hands baweaver a Struct
<ruby-lang651> attr_accessor
haxrbyte has joined #ruby
mark[oz] has quit [Remote host closed the connection]
<baweaver> one step ahead there, but you will need that
triangles has joined #ruby
haxrbyte has quit [Client Quit]
<baweaver> >> class Person;attr_accessor :name, :age;def initialize(n,a)@name,@age=n,a end;end; puts Person.new('ruby', 22)
<ruby[bot]> baweaver: # => #<Person:0x41a35660> ...check link for more (https://eval.in/716998)
<baweaver> Now how do you ask that new person object its age?
<ruby-lang651> you create the object
<ruby-lang651> e.g person1.age
<ruby-lang651> puts person1.age
ferr1 has joined #ruby
<baweaver> there you go.
<ruby-lang651> oh shit
<baweaver> Now on line 22 of that program you sent me
<baweaver> you might rename value to person
<baweaver> it'll make more sense.
nowz has joined #ruby
<baweaver> Also if I were to rank Ruby books, 'Eloquent Ruby' is the best followed by 'Practical Object Oriented Development in Ruby', and 'The Well Grounded Rubyist' for beginners.
djbkd has quit [Remote host closed the connection]
<baweaver> I've not read the Pragmatic Programmers book on the subject yet, but probably need to. It's typically called the Pickaxe Book
ruby-lang126 has joined #ruby
<ruby-lang126> person.each do |key,person| puts "Name is #{key}" puts "Age is #{person[1]}" end
<dminuoso> Eloquent Ruby is an excellent book. Haven't read it, but it's great!
<baweaver> Apress has consistently bad books on everything though. I've yet to read one of theirs that wasn't a mess
djbkd has joined #ruby
<baweaver> no proofreading.
<baweaver> Pro Active Record and Pro AngularJS were both a mess.
<ruby-lang126> baweaver
<baweaver> person.age
<baweaver> not person[1]
<dminuoso> baweaver: Well, any book related to ActiveRecord is bound to be a mess..
<dminuoso> :-o
<baweaver> More that it was flat out wrong in a lot of sections
<dminuoso> baweaver: As long as you get a 37% discount, who cares? :-)
ruby-lang651 has quit [Ping timeout: 260 seconds]
<ruby-lang126> baweaver thx man
<baweaver> Also if I were to rank Ruby books, 'Eloquent Ruby' is the best followed by 'Practical Object Oriented Development in Ruby', and 'The Well Grounded Rubyist' for beginners.
<ruby-lang126> how do you know this stuff man?
<baweaver> Apress has consistently bad books on everything though. I've yet to read one of theirs that wasn't a mess
ur5us has quit [Remote host closed the connection]
mim1k|work has quit [Quit: Reconnecting]
<baweaver> Better part of 6 years on Ruby and 12 years programming in general
mim1k|work has joined #ruby
<ruby-lang126> until you tell me it makes sense to me right now
<baweaver> All things take time.
<baweaver> If objects confuse you, Practical Object Oriented Design in Ruby is an amazing book.
<ruby-lang126> person[name.to_sym] basically it's the object right?
<baweaver> it's pointing to it
<baweaver> I'll comment on the gist and clean it a bit.
<ruby-lang126> oh HAHA
mark[oz] has joined #ruby
<ruby-lang126> nvm it's okay bro :)
<baweaver> I'll leave comments and such.
Mortomes|Work has joined #ruby
<ruby-lang126> after realizing creating object
djbkd has quit [Ping timeout: 260 seconds]
<ruby-lang126> now i get it :)
<ruby-lang126> haha
dionysus69 has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
<zenspider> bro...
<zenspider> *sigh*
<ruby-lang126> haha sorry man when i use person[name.to_sym] basically i thought it was just assinging to hash
<zenspider> you are when you use person[name.to_sym] = ....
<zenspider> no need on the chomp before to_i either
<ruby-lang126> because right hand side it's a class
<zenspider> no
<ruby-lang126> person[name.to_sym] = Person.new(name,age)
<zenspider> right hand side REFERS to a class, but calls new on it
<ruby-lang126> ya
<ruby-lang126> zz
<zenspider> right hand side is an instance of that class
evotopid has joined #ruby
jsrn_ has joined #ruby
<ruby-lang126> and it's assigning to person[name.to_sym] object
<zenspider> i = 0; while i < 5 do ... i += 1; end => 5.times do ... end
pskosinski has joined #ruby
pskosinski is now known as Guest25289
ishe_ua has joined #ruby
milardovich has joined #ruby
tristanp has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
flying has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
<zenspider> ruby-lang126: sorta. it's adding your Person instance to the person hash at the key `name.to_sym`...
Guest7084 is now known as ged
nettoweb has joined #ruby
ged is now known as Guest8352
saneax-_-|AFK is now known as saneax
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
workmad3 has joined #ruby
lenwood has joined #ruby
astrobunny has quit [Ping timeout: 240 seconds]
<apeiros> any german speaking developers interested in a job in zug, switzerland? please pm :) (crossposted to #rubyonrails)
pawnbox has joined #ruby
ruby-lang126 has quit [Ping timeout: 260 seconds]
Snowy has joined #ruby
byte512 has joined #ruby
jeyraof has quit [Quit: This computer has gone to sleep]
CloCkWeRX has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has quit [Ping timeout: 252 seconds]
rodfersou has joined #ruby
j3r0 has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
astrobunny has joined #ruby
marr has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
Beams has joined #ruby
rodfersou has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
agent_white has quit [Quit: agent_white]
milardovich has joined #ruby
Guest25289 has quit [Changing host]
Guest25289 has joined #ruby
Guest25289 has joined #ruby
Guest25289 is now known as pskosinski
flughafen has quit [Quit: WeeChat 1.3]
thegriff has joined #ruby
CloCkWeRX has joined #ruby
tomphp has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
astrobunny has quit [Remote host closed the connection]
braincrash has joined #ruby
amarsharma has joined #ruby
byte512 has quit [Ping timeout: 240 seconds]
<altes> z
altes is now known as irondocwatson
<irondocwatson> quit
irondocwatson has quit [Quit: WeeChat 1.6]
eggshke has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
Shashikant86 has joined #ruby
braincrash has joined #ruby
chouhoulis has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
irondocwatson has joined #ruby
dionysus69 has joined #ruby
gregf_ has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
milardovich has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
matp has quit [Quit: ZZzzzZz...]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
braincrash has joined #ruby
tdy has quit [Quit: WeeChat 1.6]
jameser has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
enyo has quit [Ping timeout: 256 seconds]
matp has joined #ruby
hahuang61 has joined #ruby
Guest8352 is now known as ged
ged is now known as Guest45335
ldnunes has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
rodfersou has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
rodfersou has joined #ruby
hutch34 has joined #ruby
TomyWork has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 240 seconds]
GreyHands has joined #ruby
conta has quit [Ping timeout: 240 seconds]
thegriff has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
nowhereman has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
koldbrutality has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
walterheck has quit [Ping timeout: 240 seconds]
conta has joined #ruby
thegriff has joined #ruby
enyo has joined #ruby
rikkipitt has quit [Ping timeout: 256 seconds]
manjaro-kde5-- has joined #ruby
lenwood has quit [Ping timeout: 256 seconds]
dhollinger has quit [Ping timeout: 258 seconds]
rodfersou has quit [Read error: Connection reset by peer]
dhollinger has joined #ruby
rodfersou has joined #ruby
xen0fon has quit [Read error: Connection reset by peer]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thegriff has quit [Ping timeout: 252 seconds]
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
CloCkWeRX has quit [Ping timeout: 252 seconds]
pandaant has quit [Remote host closed the connection]
rodfersou has quit [Read error: Connection reset by peer]
toretore has joined #ruby
rodfersou has joined #ruby
spectrum has quit [Ping timeout: 240 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
braincrash has quit [Ping timeout: 240 seconds]
SesMan has joined #ruby
mark[oz] has quit [Remote host closed the connection]
nowz has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
CloCkWeRX has joined #ruby
mark[oz] has joined #ruby
mark[oz] has quit [Remote host closed the connection]
mark[oz] has joined #ruby
masetrax has quit [Quit: Leaving]
frozengeek__ has quit [Quit: frozengeek__]
frozengeek__ has joined #ruby
mark[oz]_ has joined #ruby
mark[oz] has quit [Read error: Connection reset by peer]
ferr1 has quit [Ping timeout: 240 seconds]
spectrum has joined #ruby
psychicist__ has joined #ruby
ponga has joined #ruby
walterheck has joined #ruby
nowz has joined #ruby
spectrum has quit [Read error: Connection reset by peer]
saneax is now known as saneax-_-|AFK
bhegel has joined #ruby
Guest45335 is now known as ged
Shashikant86 has joined #ruby
ged is now known as Guest7273
enyo has quit [Ping timeout: 258 seconds]
mark[oz]_ has quit []
JeanCarloMachado has joined #ruby
lenwood has joined #ruby
minimalism has quit [Ping timeout: 252 seconds]
Tempesta has quit [Quit: See ya!]
ruby-lang501 has joined #ruby
blackmesa has joined #ruby
jaruga___ has joined #ruby
SpiffTR has quit [Quit: Leaving.]
marr has quit [Ping timeout: 240 seconds]
manjaro-kde5-- has quit [Ping timeout: 255 seconds]
jan_ has joined #ruby
minimalism has joined #ruby
SpiffTR has joined #ruby
Tempesta has joined #ruby
lenwood has quit [Ping timeout: 255 seconds]
rodfersou has quit [Quit: leaving]
jan_ is now known as AltLock
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
AltLock has quit [Quit: leaving]
rodfersou has joined #ruby
c355e3b has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Burgestrand has joined #ruby
SpiffTR has quit [Quit: Leaving.]
ARCADIVS has quit [Quit: ARCADIVS]
jenrzzz has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
SpiffTR has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
DoubleMalt has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 260 seconds]
Andrew_TA has joined #ruby
milardovich has joined #ruby
Andrew_TA has quit [Ping timeout: 248 seconds]
<terens> hi
<terens> I have this attr_accessor :use
tk__ has joined #ruby
blackmesa has joined #ruby
tyang has joined #ruby
skweek has quit [Ping timeout: 256 seconds]
<apeiros> terens: and do you have a question?
lenwood has joined #ruby
SpiffTR has quit [Quit: Leaving.]
sdothum has joined #ruby
Mortomes|Work has joined #ruby
enyo has joined #ruby
kgrz has quit [Quit: Connection closed for inactivity]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
lenwood has quit [Ping timeout: 255 seconds]
hahuang61 has joined #ruby
agit0 has quit [Ping timeout: 252 seconds]
hahuang61 has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
hutch34 has joined #ruby
SpiffTR has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psychicist__ has quit [Ping timeout: 245 seconds]
nankyokusei has quit [Ping timeout: 255 seconds]
Burgestrand has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
CloCkWeRX has quit [Quit: Leaving.]
toretore has quit [Ping timeout: 240 seconds]
lenwood has joined #ruby
b00jah has joined #ruby
workmad3 is now known as wm3|away
millerti has joined #ruby
SpiffTR has quit [Quit: Leaving.]
prestorium has quit [Ping timeout: 256 seconds]
b00jah has left #ruby ["Leaving"]
Guest7273 is now known as ged
ged is now known as Guest95588
eggshke has quit []
blackmesa has quit [Ping timeout: 240 seconds]
SpiffTR has joined #ruby
Ropeney has joined #ruby
Ropeney has quit [Client Quit]
futilegames has joined #ruby
synthroid has joined #ruby
thegriff has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
milardovich has quit [Remote host closed the connection]
prestorium has joined #ruby
toretore has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
walterheck_ has joined #ruby
walterheck__ has joined #ruby
walterheck has quit [Ping timeout: 248 seconds]
walterheck_ has quit [Ping timeout: 240 seconds]
synthroi_ has joined #ruby
vitorsousa has joined #ruby
SpiffTR has quit [Quit: Leaving.]
synthroid has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
SpiffTR has joined #ruby
agit0 has joined #ruby
masondesu has joined #ruby
tristanp has joined #ruby
wm3|away is now known as workmad3
sasik has joined #ruby
<sasik> hi, I have path pattern like "/var/data/**/*.xml". I want to check if it exists, I mean if there is any file or directory that matches this pattern. Is there any better way than Dir.glob? Dir.glob is too eager for me, it iterates over all matching files and returns array - it may take a lot of time and I want to stop it as soon as I find first match
tristanp has quit [Ping timeout: 240 seconds]
Bish has joined #ruby
anisha has quit [Quit: Leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thegriff has quit [Ping timeout: 240 seconds]
ishe_ua has quit [Read error: No route to host]
sebastiansier has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
ruby-lang501 has quit [Ping timeout: 260 seconds]
Yacker has joined #ruby
Lord_of_Life has quit [Excess Flood]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 256 seconds]
SpiffTR has quit [Quit: Leaving.]
SpiffTR has joined #ruby
Lord_of_Life has joined #ruby
thegriff has joined #ruby
SpiffTR has quit [Client Quit]
nettoweb1 has quit [Client Quit]
Mortomes|Work has joined #ruby
papz22 has joined #ruby
charliesome has joined #ruby
Yacker has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has joined #ruby
thegriff has quit [Ping timeout: 255 seconds]
_geoff has joined #ruby
vali_ has joined #ruby
papz22 has quit [Quit: java]
nobitanobi has joined #ruby
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
saneax-_-|AFK is now known as saneax
Kug3lis has joined #ruby
vali_ has quit [Client Quit]
milardovich has quit [Ping timeout: 255 seconds]
Kug3lis has quit [Client Quit]
thegriff has joined #ruby
rodfersou is now known as rodfersou|lunch
milardovich has joined #ruby
psychicist__ has joined #ruby
aupadhye has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
tk__ has quit [Quit: ばいばい]
Shashikant86 has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phoo1234567 has joined #ruby
Burgestrand has joined #ruby
synthroi_ has quit [Remote host closed the connection]
Kug3lis has joined #ruby
Devalo has joined #ruby
last_staff has quit [Quit: **poof**]
Shashikant86 has quit [Client Quit]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
spiette has quit [Ping timeout: 240 seconds]
ramortegui has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sasik has quit [Ping timeout: 260 seconds]
thegriff has joined #ruby
Devalo has quit [Ping timeout: 258 seconds]
s2013 has joined #ruby
<sonOfRa> I'm getting a date formatted like 20170113145538.000014Z from an LDAP server. DateTime.parse seems to magically understand the format, and correctly infer it to create a DateTime object. Should I rely on this behaviour staying the same, or should I use strptime explicitly with format '%Y%m%d%H%M%S.%6NZ'?
<sonOfRa> This seems like the kind of magic that's dangerous to rely on, but I may well be mistaken
synthroid has joined #ruby
futilegames has quit [Quit: futilegames]
rodfersou|lunch has quit [Read error: Connection reset by peer]
<toretore> sonOfRa: isn't the answer obvious?
rodfersou|lunch has joined #ruby
<sonOfRa> Not really, no
<toretore> your instinct is right
Guest95588 is now known as ged
ged is now known as Guest9539
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> sonOfRa: DateTime.iso8601("20170113145538.000014Z")
thegriff has quit [Ping timeout: 255 seconds]
<apeiros> it's valid iso8601, no reason not take advantage of a (potentially?) optimized and properly validating method.
<sonOfRa> Oh, i thought iso8601 was only for the version with dashes in it.
wennefer has joined #ruby
<apeiros> iso8601 is rather vast
JeanCarloMachado has joined #ruby
M-travis has quit [Remote host closed the connection]
daveyboi[m] has quit [Read error: Connection reset by peer]
aviraldg has quit [Read error: Connection reset by peer]
Xi[m] has quit [Remote host closed the connection]
velu_aon[m] has quit [Remote host closed the connection]
ryantriangles[m] has quit [Write error: Connection reset by peer]
kineticrootkit[m has quit [Write error: Connection reset by peer]
dmitrysinina[m] has quit [Read error: Connection reset by peer]
mavenik[m] has quit [Write error: Connection reset by peer]
vma[m] has quit [Write error: Connection reset by peer]
bascht1 has quit [Read error: Connection reset by peer]
M-shine has quit [Write error: Connection reset by peer]
jsanti[m] has quit [Write error: Connection reset by peer]
Giphy[m] has quit [Write error: Connection reset by peer]
k13nox has joined #ruby
M-manveru has quit [Write error: Connection reset by peer]
h42r62[m] has quit [Write error: Connection reset by peer]
fjj[m] has quit [Write error: Connection reset by peer]
tachyons[m] has quit [Write error: Connection reset by peer]
kp666[m] has quit [Write error: Connection reset by peer]
<apeiros> I still have the .dot graph for my iso8601 parser, it's easily >A3 if you want it in readable size
<sonOfRa> jeez
<sonOfRa> But hey, time is complicated
wennefer has quit [Client Quit]
<herwin> and to make it worse: there are things that say they accept iso8601, but only work with a small subset of the standard
* herwin looks at xmlrpc
<toretore> that's what i'd be afraid of in this case
<apeiros> honestly, I'd be happy if iso specified a "required" subset
<apeiros> so implementers aren't tasked with having insanely flexible parsers for 0.0001% edge cases
<sonOfRa> The format coming FROM ldap is unlikely to change, apparently it uses this exact format because it allows a string-based comparison for indexing.
<apeiros> I mean who needs to provide e.g. a date in an http header in yyyy-wwW-dd?
<sonOfRa> Was just worried about the ruby implementation changing, but with iso8601 that should be sufficiently unlikely
<toretore> afaik iso8601 doesn't require a date part, so there's no way Date or Time could actually implement the whole standard
<apeiros> sonOfRa: any big-endian format allows that
<apeiros> well, any big-endian *padded* format allows that
<sonOfRa> true
SpiffTR has joined #ruby
<sonOfRa> And, this is a readonly application, so I don't need to worry about formatting dates correctly to write them \o/
SpiffTR has quit [Client Quit]
Kug3lis has joined #ruby
nettoweb has joined #ruby
JoshS has quit [Read error: Connection reset by peer]
teclator has quit [Read error: Connection reset by peer]
amarsharma has quit [Ping timeout: 240 seconds]
psychicist__ has quit [Ping timeout: 260 seconds]
Shashikant86 has joined #ruby
Andrew_TA has joined #ruby
saslam has joined #ruby
__Yiota has joined #ruby
chouhoulis has joined #ruby
gnufied has joined #ruby
Andrew_TA has quit [Ping timeout: 240 seconds]
wennefer has joined #ruby
wennefer has quit [Client Quit]
chouhoulis has quit [Ping timeout: 260 seconds]
sylario has joined #ruby
wennefer0 has joined #ruby
kcantwel has joined #ruby
kcantwel has quit [Client Quit]
wassup42 has quit [Quit: WeeChat 0.3.8]
wennefer0 has quit [Client Quit]
SesMan has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
kineticrootkit[m has joined #ruby
georgie has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
vuoto has joined #ruby
rippa has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 256 seconds]
tristanp has joined #ruby
jhack has joined #ruby
brain_shim has joined #ruby
nankyokusei has joined #ruby
patarr has joined #ruby
rodfersou|lunch has quit [Read error: Connection reset by peer]
rodfersou|lunch has joined #ruby
<patarr> I was googling the difference between byebug and the standard debugger and couldn't find anything interesting. I only read that "debugger still has issues". What are these issues and why is byebug preferred?
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
teclator has joined #ruby
hutch34 has joined #ruby
k13nox_ has joined #ruby
thegriff has joined #ruby
_geoff_ has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
<apeiros> "the standard debugg" - there is no standard debugger in ruby
nowhereman has joined #ruby
enyo is now known as Guest68791
theRoUS has left #ruby ["Off to another part of the maze of twisty little passages"]
k13nox has quit [Ping timeout: 255 seconds]
Shashikant86 has joined #ruby
_geoff has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
nowz has quit [Remote host closed the connection]
dionysus69 has joined #ruby
vuoto has quit [Quit: Lost terminal]
vuoto has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has joined #ruby
Spaulding has quit [Quit: WeeChat 1.4]
k13nox has joined #ruby
Kug3lis has joined #ruby
vuoto has quit [Remote host closed the connection]
nowhereman has quit [Quit: Konversation terminated!]
nowhereman has joined #ruby
imperator has joined #ruby
imperator has left #ruby [#ruby]
Spaulding has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
k13nox_ has quit [Ping timeout: 245 seconds]
Devalo has joined #ruby
rodfersou|lunch has quit [Read error: Connection reset by peer]
rodfersou|lunch has joined #ruby
centrx has joined #ruby
Devalo has quit [Ping timeout: 248 seconds]
ddrmanxbxfr has joined #ruby
walterheck__ has quit [Ping timeout: 260 seconds]
saneax is now known as saneax-_-|AFK
rodfersou|lunch has quit [Read error: Connection reset by peer]
rodfersou|lunch has joined #ruby
agit0 has quit [Ping timeout: 248 seconds]
shinnya has joined #ruby
blackmesa has joined #ruby
rodfersou|lunch is now known as rodfersou
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
cdg has joined #ruby
Guest9539 is now known as ged
ged is now known as Guest87814
JeanCarloMachado has joined #ruby
chouhoulis has joined #ruby
cdg has quit [Read error: Connection reset by peer]
cevett has quit [Read error: Connection reset by peer]
cdg has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
cevett has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
spiette has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
Guest87783 has joined #ruby
Kug3lis has joined #ruby
hahuang61 has joined #ruby
k13nox has quit [Quit: Leaving...]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
wennefer0__ has joined #ruby
LoneHerm_ has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
wugy has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
millerti has joined #ruby
Jameson_ has joined #ruby
vitorsousa has left #ruby ["Leaving"]
DLSteve has joined #ruby
JeanCarloMachado has quit [Ping timeout: 256 seconds]
govg has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ianmethyst has joined #ruby
LoneHerm_ has joined #ruby
JeanCarloMachado has joined #ruby
TinkerTyper has joined #ruby
Snowy has quit [Remote host closed the connection]
rodfersou has quit [Read error: Connection reset by peer]
Snickers has quit [Quit: Snickers]
rodfersou has joined #ruby
Madper is now known as Madper|AFK
Snowy has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wennefer0__ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
M-shine has joined #ruby
daveyboi[m] has joined #ruby
M-travis has joined #ruby
bascht1 has joined #ruby
M-manveru has joined #ruby
Giphy[m] has joined #ruby
jsanti[m] has joined #ruby
ryantriangles[m] has joined #ruby
aviraldg has joined #ruby
velu_aon[m] has joined #ruby
vma[m] has joined #ruby
fjj[m] has joined #ruby
Xi[m] has joined #ruby
tachyons[m] has joined #ruby
dmitrysinina[m] has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
mavenik[m] has joined #ruby
h42r62[m] has joined #ruby
kp666[m] has joined #ruby
chouhoulis has joined #ruby
tdy has joined #ruby
Snowy has quit [Ping timeout: 252 seconds]
tdy has quit [Client Quit]
Snowy_ has joined #ruby
unshadow has joined #ruby
SpiffTR has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
SpiffTR has quit [Client Quit]
rodfersou has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
milardovich has quit []
Dreamer3 has quit [Quit: Leaving...]
zapata has quit [Ping timeout: 245 seconds]
malconis has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Ping timeout: 240 seconds]
mim1k|work has quit [Quit: Lost terminal]
j3r0 has joined #ruby
tdy has joined #ruby
TinkerTyper has quit [Quit: ZNC - http://znc.in]
shinnya has quit [Ping timeout: 252 seconds]
TinkerTyper has joined #ruby
Shashikant86 has joined #ruby
GreyHands has quit [Quit: Textual IRC Client: www.textualapp.com]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
mlkkk has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
last_staff has joined #ruby
bodgix has joined #ruby
zapata has joined #ruby
psychicist__ has joined #ruby
mlkkk has quit [Client Quit]
rodfersou has quit [Client Quit]
mlkkk has joined #ruby
_sfiguser has joined #ruby
lenwood has quit [Ping timeout: 240 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
milardovich has joined #ruby
last_staff has quit [Quit: last_staff]
howdoi has joined #ruby
mark_66 has quit [Remote host closed the connection]
SpiffTR has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
montanonic has joined #ruby
mim1k|work has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowz has joined #ruby
millerti has joined #ruby
Andrew_TA has joined #ruby
Kug3lis has joined #ruby
hutch34 has joined #ruby
TinkerTyper has quit [Quit: ZNC - http://znc.in]
TinkerTyper has joined #ruby
Gasher has joined #ruby
Andrew_TA has quit [Ping timeout: 240 seconds]
sebastiansier has quit [Remote host closed the connection]
brent__ has joined #ruby
Guest87814 is now known as ged
centrx has quit [Remote host closed the connection]
ged is now known as Guest32629
hutch34 has quit [Quit: WeeChat 1.5]
SpiffTR has quit [Quit: Leaving.]
brent__ has quit [Remote host closed the connection]
harai has quit [Ping timeout: 255 seconds]
nowhereman has quit [Ping timeout: 240 seconds]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
cevett has quit [Read error: Connection reset by peer]
cevett has joined #ruby
porfa has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<porfa> hello guys i have a question… when i do sleep 1, what does it really do? does it wait or halts?
polysics has joined #ruby
<porfa> my real question is, i am uwsing selenium webdriver and i need for it to wait a couple of secs for the page to load, then do wtv i need. but if im just halting or suspending ruby, the sleep wont help me there.
gizmore has quit [Ping timeout: 255 seconds]
gizmore has joined #ruby
<al2o3-cr> porfa: man 3 sleep
<porfa> ok, thank you
<porfa> what about this, i have googled about it, the page is loaded (confirmed through driver.save_screenshot)
<porfa> Selenium::WebDriver::Error::JavascriptError: Error: Permission denied to access property "document"
<porfa> the information i found about that is that i should wait for the page to load before asking it’s source through nokogiri ( Nokogiri::HTML(driver.page_source) )
frozengeek__ has quit [Quit: frozengeek__]
<porfa> i never encountered this before
jhack has quit [Quit: jhack]
lxsameer has quit [Quit: WeeChat 1.6]
pawnbox has quit [Remote host closed the connection]
mlkkk has quit [Remote host closed the connection]
pawnbox has joined #ruby
jhack has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
nadir has joined #ruby
nankyokusei has joined #ruby
sepp2k has joined #ruby
SpiffTR has joined #ruby
hutch34 has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
<apeiros> porfa: ruby's sleep stops the current thread and allows ruby to schedule other threads. code in other threads will still be running.
brendan- has quit [Ping timeout: 260 seconds]
<apeiros> re "I need for the website to load" - afair selenium has utilities for that which are much better than waiting a random amount of time and hoping it's sufficient.
brendan- has joined #ruby
arvindsaik has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Devalo has joined #ruby
vali_ has joined #ruby
conta has quit [Ping timeout: 245 seconds]
tonini has quit [Quit: Connection closed for inactivity]
wennefer0 has joined #ruby
wennefer0 has joined #ruby
wennefer0 has quit [Changing host]
Snowy_ has quit [Remote host closed the connection]
wennefer0 has quit [Client Quit]
aufi has quit [Quit: Leaving]
nowhereman has joined #ruby
sebastiansier has joined #ruby
irondocwatson has quit [Ping timeout: 258 seconds]
SpiffTR has quit [Quit: Leaving.]
Jameson_ is now known as Jamdaman_
nobitanobi has joined #ruby
renojdl has quit [Quit: renojdl]
alexar has joined #ruby
jsrn_ has quit [Quit: Leaving]
<al2o3-cr> porfa: can you gist your code?
Guest68791 has quit [Ping timeout: 255 seconds]
antgel has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpiffTR has joined #ruby
pitayita has quit [Ping timeout: 248 seconds]
shakes has joined #ruby
skweek has joined #ruby
frozengeek__ has joined #ruby
frozengeek__ has quit [Client Quit]
frozengeek__ has joined #ruby
Bish has quit [Quit: leaving]
maddmaxx has joined #ruby
gusrub has joined #ruby
Snowy has joined #ruby
pitayita has joined #ruby
unshadow has quit [Ping timeout: 260 seconds]
nobitanobi has quit [Remote host closed the connection]
Tau has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
unshadow has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
Tau has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
nanoz has joined #ruby
nanoz has quit [Changing host]
nanoz has joined #ruby
DoubleMalt has quit [Ping timeout: 256 seconds]
TinkerTyper has quit [Quit: ZNC - http://znc.in]
nofxx has joined #ruby
TinkerTyper has joined #ruby
frozengeek__ has quit [Quit: frozengeek__]
frozengeek__ has joined #ruby
Beams has quit [Quit: .]
SpiffTR has quit [Quit: Leaving.]
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
sebastia_ has joined #ruby
sebastiansier has quit [Ping timeout: 248 seconds]
Snowy has quit [Ping timeout: 252 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
nowhereman has quit [Read error: Connection reset by peer]
Kug3lis has joined #ruby
Shashikant86 has quit [Ping timeout: 240 seconds]
Guest32629 is now known as ged
ged is now known as Guest35458
pitayita has quit [Ping timeout: 240 seconds]
Shashikant86 has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
andikr has quit [Remote host closed the connection]
SpiffTR has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
vali_ has joined #ruby
Shashikant86 has quit [Client Quit]
vali_ has quit [Client Quit]
thegriff has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
gusrub has quit [Ping timeout: 245 seconds]
gusrub has joined #ruby
pilne has joined #ruby
vali_ has joined #ruby
gusrub has quit [Remote host closed the connection]
alexar has quit []
xen0fon has joined #ruby
Tau has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
tpendragon has quit [Ping timeout: 256 seconds]
gusrub has joined #ruby
pitayita has joined #ruby
sebastiansier has joined #ruby
nowz has quit [Remote host closed the connection]
xen0fon has quit [Ping timeout: 240 seconds]
thegriff has joined #ruby
sebastia_ has quit [Ping timeout: 248 seconds]
psychicist__ has quit [Ping timeout: 240 seconds]
Snowy has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
shakes has quit [Quit: Leaving]
mlkkk has joined #ruby
mlkkk has quit [Client Quit]
milardovich has quit [Remote host closed the connection]
koldbrutality has joined #ruby
milardovich has joined #ruby
xen0fon has joined #ruby
thegriff has quit [Ping timeout: 255 seconds]
tpendragon has joined #ruby
nowhereman has joined #ruby
SpiffTR has quit [Quit: Leaving.]
psychicist__ has joined #ruby
nowhere_man has quit [Quit: Konversation terminated!]
bodgix has quit [Quit: Leaving.]
harai has joined #ruby
thegriff has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
dionysus69 has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
segy has joined #ruby
sebastia_ has joined #ruby
Guest87783 has quit [Remote host closed the connection]
sebastiansier has quit [Read error: No route to host]
milardovich has joined #ruby
nowhereman has quit [Remote host closed the connection]
nowhereman has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
Tau has quit [Ping timeout: 260 seconds]
c-c_ is now known as c-c
thegriff has quit [Ping timeout: 245 seconds]
cgfbee has quit [Ping timeout: 255 seconds]
harai has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
nowhereman has quit [Ping timeout: 252 seconds]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
vali_ has joined #ruby
cdg has joined #ruby
xen0fon1 has joined #ruby
govg has quit [Ping timeout: 240 seconds]
DoubleMalt has joined #ruby
xen0fon has quit [Ping timeout: 260 seconds]
xen0fon1 is now known as xen0fon
vali_ has quit [Client Quit]
SpiffTR has joined #ruby
SpiffTR has quit [Read error: Connection reset by peer]
SpiffTR has joined #ruby
thegriff has joined #ruby
gusrub has quit [Ping timeout: 245 seconds]
gusrub has joined #ruby
Andrew_TA has joined #ruby
renchan has quit [Quit: Leaving...]
Devalo has joined #ruby
enyo_ has joined #ruby
thegriff has quit [Ping timeout: 248 seconds]
mostlybadfly has joined #ruby
Andrew_TA has quit [Ping timeout: 240 seconds]
sebastiansier has joined #ruby
jaruga___ has quit [Quit: jaruga___]
djbkd has joined #ruby
harai has joined #ruby
vali_ has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
prestorium has quit [Quit: Leaving]
enyo_ has quit [Ping timeout: 255 seconds]
Xentil has joined #ruby
sebastia_ has quit [Ping timeout: 240 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ax has joined #ruby
Kug3lis has joined #ruby
BigGold has joined #ruby
psychicist__ has quit [Ping timeout: 256 seconds]
Kug3lis has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
cgfbee has joined #ruby
psychicist__ has joined #ruby
spt0 has joined #ruby
MyMind has joined #ruby
thegriff has joined #ruby
Sembei has quit [Ping timeout: 248 seconds]
<BigGold> hi. i have a problem: i upgraded ruby, and gems are crashing with things like "Ignoring nokogiri-1.7.0.1 because its extensions are not built. Try: gem pristine nokogiri --version 1.7.0.1", but running "gem pristine" anything just dumps the same bunch of gem ignoring gems because native extensions aren't built
ponga has quit [Quit: Connection closed for inactivity]
<__Yiota> anyone know how to create a url with request headers from a hash?
<__Yiota> i.e domain.com/blah?foo=bar&grok=zok
nankyokusei has joined #ruby
cgfbee has quit [Excess Flood]
thegriff has quit [Ping timeout: 248 seconds]
jaequery has joined #ruby
cgfbee has joined #ruby
tolerablyjake has joined #ruby
Guest35458 is now known as ged
ged is now known as Guest28141
Cohedrin_ has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
cgfbee has quit [Excess Flood]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thegriff has joined #ruby
<toretore> __Yiota: be more specific?
maasha has joined #ruby
<toretore> do you mean create a query string from a hash?
<maasha> g'evening
vali_ has joined #ruby
<__Yiota> I have a hash {"foo":"bar", "grok":"zok"} is there a built-in funciton that will take the base url "domain.com/blah" and join it with this hash to create the above urL?
<maasha> Anyone aware of a Shiny Apps lookalike based on Ruby?
cgfbee has joined #ruby
<toretore> >> {"foo":"bar", "grok":"zok"}.map{|k,v| "#{k}=#{v}" }.join('&')
<ruby[bot]> toretore: # => "foo=bar&grok=zok" (https://eval.in/717333)
Coldblackice has joined #ruby
shayan_ has joined #ruby
irondocwatson has joined #ruby
<__Yiota> thanks toretore
<__Yiota> but that only joins without '?'
<toretore> ...
<__Yiota> and I can't blindly add '?' to every base_url
<__Yiota> because that's not a valid endpoint
<__Yiota> so it can only add '?' if the hash is non-empty
porfa has quit [Quit: porfa]
irondocwatson has quit [Ping timeout: 256 seconds]
<BigGold> i'm overflowing my stack
Snowy has quit [Remote host closed the connection]
<__Yiota> URI.encode_www_form(request_headers)
<__Yiota> that's the function I needed
gheegh has joined #ruby
yeticry has quit [Ping timeout: 252 seconds]
harai has quit [Ping timeout: 240 seconds]
maasha has quit [Quit: Page closed]
yeticry has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
SpiffTR has quit [Quit: Leaving.]
harai has joined #ruby
last_staff has joined #ruby
TinkerTyper has quit [Quit: ZNC - http://znc.in]
TinkerTyper has joined #ruby
walterheck__ has joined #ruby
gix has quit [Ping timeout: 252 seconds]
skweek has quit [Ping timeout: 252 seconds]
Kug3lis has joined #ruby
enterprisey has joined #ruby
gix has joined #ruby
Ax has quit [Quit: Ax]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
yeticry has quit [Ping timeout: 245 seconds]
walterheck__ has quit [Ping timeout: 252 seconds]
porfa has joined #ruby
yeticry has joined #ruby
walterheck__ has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
zeroDi has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
AndBobsYourUncle has joined #ruby
Devalo has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ericsupreme has joined #ruby
centrx has quit []
djbkd has quit [Ping timeout: 240 seconds]
elementaru has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Devalo has quit [Ping timeout: 252 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
TomyLobo has joined #ruby
Snowy has joined #ruby
spt0 has quit [Ping timeout: 248 seconds]
psychicist__ has quit [Ping timeout: 252 seconds]
porfa has quit [Quit: porfa]
blackmesa has quit [Ping timeout: 240 seconds]
porfa has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spt0 has joined #ruby
modal has joined #ruby
tomphp has joined #ruby
ur5us has joined #ruby
al2o3-cr has quit [Ping timeout: 260 seconds]
AndBobsYourUncle has quit [Ping timeout: 240 seconds]
vali_ has joined #ruby
vuoto has joined #ruby
unshadow_ has joined #ruby
unshadow has quit [Ping timeout: 252 seconds]
dkings has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest28141 is now known as ged
ged is now known as Guest37728
kht has joined #ruby
AndBobsYourUncle has joined #ruby
dkings has quit [Remote host closed the connection]
dkings has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
dkings has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
Snowy has quit [Quit: ragequit]
dkings has joined #ruby
AndBobsY_ has joined #ruby
enyo_ has joined #ruby
Definity has joined #ruby
dkings has quit [Remote host closed the connection]
dkings has joined #ruby
modal has quit [Quit: Leaving]
modal has joined #ruby
enyo_ has quit [Ping timeout: 258 seconds]
sebastiansier has quit [Read error: Connection reset by peer]
<BigGold> every one of the `gem pristine` suggestions results in the exact same output
statelesscode has quit [Ping timeout: 240 seconds]
<havenwood> BigGold: Have you already tried?: rbenv rehash
<BigGold> not yet
<BigGold> just did, no change
roamingdog has joined #ruby
AndBobsY_ has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
<havenwood> BigGold: And you're not using sudo?
Andrew_TA has joined #ruby
masondesu has quit [Quit: sleep!]
<BigGold> nope. can't anyway because i'm on a shared host
<havenwood> BigGold: It's your rbenv ruby and gem if you check `which ruby` and `which gem`?
<BigGold> /home/arielmt/.rbenv/shims/ruby and /home/arielmt/.rbenv/shims/gem
<havenwood> BigGold: And it's the same after manually running?: eval "$(rbenv init -)"
<BigGold> yes
<BigGold> `ruby --version` -> ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
roamingdog has quit [Ping timeout: 240 seconds]
<BigGold> `gem version` just dumps the same "ignoring x because its native extensions are not built" list and symbol lookup error
<BigGold> `gem --version` i mean
<dminuoso> And another day..
<havenwood> BigGold: Hmm. And same after a?: gem pristine --all
<BigGold> `gem pristine --all` was the first thing i tried
JeanCarloMachado has quit [Ping timeout: 245 seconds]
AndBobsYourUncle has quit [Ping timeout: 260 seconds]
Andrew_TA has quit [Ping timeout: 248 seconds]
<BigGold> it's like gem itself got corrupted somehow just by a ruby minor version change
<havenwood> BigGold: Sanity check the "Installed at" for one of the gem's?: gem list -d nio4r
Trynemjoel has joined #ruby
AndBobsY_ has joined #ruby
<havenwood> BigGold: What version of RubyGems?: gem -v
<BigGold> same list, nothing like expected output
<BigGold> i can't even get /that/ anymore
Kug3lis_off has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> BigGold: Turn it off and turn it back on again.
<havenwood> BigGold: If that doesn't work, I'd suggest that ruby-install and chruby work very well for me!
<BigGold> okay, that suggestion made me giggle :3
<havenwood> BigGold: In any case, Ruby 2.3.3 is out! Now's a good time to bump your 2.3 version. :-D
<havenwood> BigGold: Oh, nevermind, I misread.
<havenwood> Already on 2.3.3, perfect.
PaulCapestany has quit [Quit: .]
dionysus69 has quit [Quit: dionysus69]
gloscombe has joined #ruby
<havenwood> BigGold: One thing you could do is update your RubyGems (once you get gem working): gem update --system
<havenwood> If it was a RubyGems issue underlying this it might have been fixed.
<BigGold> i made the mistake of not taking notes on how i installed gem to begin with
rkoller has joined #ruby
rkoller has quit [Client Quit]
solocshaw has joined #ruby
sepp2k has quit [Quit: Leaving.]
frozengeek__ has quit [Quit: frozengeek__]
jhack has quit [Quit: jhack]
jhack has joined #ruby
Jackneill has joined #ruby
thegriff has quit [Ping timeout: 255 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Trynemjoel has quit [Ping timeout: 245 seconds]
bodgix has joined #ruby
Trynemjoel has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
thegriff has joined #ruby
Gasher has quit [Quit: Leaving]
dc2 has joined #ruby
bodgix has quit [Quit: Leaving.]
gix has quit [Quit: Client exiting]
nankyokusei has joined #ruby
thegriff has quit [Ping timeout: 252 seconds]
Gasher has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
vali_ has joined #ruby
iooner has joined #ruby
gajus has joined #ruby
thegriff has joined #ruby
irondocwatson has joined #ruby
elementaru has quit [Read error: Connection reset by peer]
blackwind_123 has quit [Ping timeout: 258 seconds]
bhegel has quit [Quit: bhegel]
roamingdog has joined #ruby
blackwind_123 has joined #ruby
irondocwatson has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
bhegel has joined #ruby
sepp2k has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Guest37728 is now known as ged
ged is now known as Guest8832
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tyang has quit [Ping timeout: 256 seconds]
jero_ has joined #ruby
xen0fon has quit [Quit: xen0fon]
porfa has quit [Quit: porfa]
SuperLag has quit [Ping timeout: 240 seconds]
j3r0 has quit [Ping timeout: 258 seconds]
<BigGold> i had to nuke my .gem/ and .gems/ dirs. (well, rename, not exactly nuke)
spt0 has quit [Ping timeout: 258 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slackbotgz has joined #ruby
Lord_of_Life has quit [Excess Flood]
<BigGold> gem 2.6.8 on ruby 2.3.3
tomphp has joined #ruby
SuperLag has joined #ruby
Lord_of_Life has joined #ruby
Snickers has joined #ruby
<sonOfRa> Is there a version of zip that is symmetrical wrt imbalanced array sizes?
<sonOfRa> [].zip [1,2,3] is [], but [1,2,3].zip [] is [[1,nil],[2,nil],[3,nil]]
<sonOfRa> I'd want [[nil,1],[nil,2],[nil,3]] in the first case
<sonOfRa> I can write it myself, but I don't want to write it if it already exists
gix has joined #ruby
Burgestrand has joined #ruby
<baweaver> It's left hand biased by design.
<baweaver> You can make a default array though if you don't like empties.
workmad3 has joined #ruby
<baweaver> Array.new { 0 }
synthroid has quit []
<sonOfRa> It's not always empty, both sides may be less than, equal, or larger than the other side
bhegel has quit [Quit: bhegel]
nanoz has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
mistergibson has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
walterheck__ has quit [Ping timeout: 260 seconds]
mikeric has joined #ruby
mikeric has quit [Max SendQ exceeded]
<baweaver> then you have a custom case you need to write against.
spt0 has joined #ruby
AndBobsY_ has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
helpa has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
helpa has joined #ruby
triangles2 has joined #ruby
thegriff has quit [Ping timeout: 256 seconds]
AndBobsY_ has joined #ruby
<sonOfRa> seems so. Thanks
triangles has quit [Ping timeout: 248 seconds]
AndBobsYourUncle has quit [Ping timeout: 256 seconds]
inra has joined #ruby
bodgix has joined #ruby
bodgix has quit [Client Quit]
malconis has quit [Read error: Connection reset by peer]
masondesu has joined #ruby
thegriff has joined #ruby
JeanCarloMachado has joined #ruby
iooner has quit [Quit: http://www.iooner.me]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
ericsupreme has quit [Quit: Leaving]
blackwind_123 has quit [Ping timeout: 248 seconds]
Cohedrin_ has quit [Max SendQ exceeded]
blackmesa has joined #ruby
Cohedrin_ has joined #ruby
thegriff has quit [Ping timeout: 256 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackwind_123 has joined #ruby
skweek has joined #ruby
unshadow has joined #ruby
iooner has joined #ruby
iooner has quit [Remote host closed the connection]
iooner has joined #ruby
slackbotgz has quit [Remote host closed the connection]
unshadow_ has quit [Ping timeout: 258 seconds]
porfa has joined #ruby
gix has quit [Ping timeout: 240 seconds]
jhack has quit [Quit: jhack]
enyo_ has joined #ruby
gix has joined #ruby
flying has quit []
sepp2k has quit [Read error: Connection reset by peer]
enyo_ has quit [Ping timeout: 252 seconds]
skweek has quit [Remote host closed the connection]
skweek has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
malconis has joined #ruby
biberu has quit []
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: last_staff]
malconis_ has joined #ruby
malconis has quit [Ping timeout: 258 seconds]
Guest8832 is now known as ged
ged is now known as Guest75409
gnufied has quit [Ping timeout: 258 seconds]
ramortegui has quit [Remote host closed the connection]
spt0 has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
thegriff has joined #ruby
Andrew_TA has joined #ruby
swills has quit [Read error: Connection reset by peer]
swills has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
Andrew_TA has quit [Ping timeout: 240 seconds]
harai_ has joined #ruby
harai has quit [Ping timeout: 245 seconds]
gnufied has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
thegriff has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
bmurt has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
polishdub has quit [Quit: Leaving]
roamingdog has quit [Remote host closed the connection]
bmurt has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
bmurt has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
moei has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
harai_ has quit [Ping timeout: 255 seconds]
skweek has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
thegriff has quit [Ping timeout: 240 seconds]
kht has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
sebastiansier has joined #ruby
ben___ has joined #ruby
millerti has joined #ruby
nankyokusei has joined #ruby
ben___ has quit [Remote host closed the connection]
ben_____ has quit [Read error: Connection reset by peer]
ben___ has joined #ruby
thegriff has joined #ruby
Jamdaman_ has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
solocshaw has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
thegriff has quit [Ping timeout: 240 seconds]
thegriff has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
irondocwatson has joined #ruby
harai_ has joined #ruby
gheegh has quit [Ping timeout: 240 seconds]
thegriff has quit [Ping timeout: 240 seconds]
eelster has quit [Ping timeout: 245 seconds]
Jackneill has quit [Remote host closed the connection]
irondocwatson has quit [Ping timeout: 240 seconds]
nowhereman has joined #ruby
enterprisey has quit [Remote host closed the connection]
kodnin has joined #ruby
milardovich has joined #ruby
dkings has quit []
dc2 has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
postmodern has joined #ruby
Tau has joined #ruby
<agent_white> Evenin' folks
<Papierkorb> Yo
bentanweihao has joined #ruby
JeanCarloMachado has quit [Ping timeout: 256 seconds]
tvw has quit [Read error: Connection reset by peer]
saslam has quit [Ping timeout: 256 seconds]
BigGold has quit [Quit: Leaving]
rkoller has joined #ruby
maddmaxx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
eelster has joined #ruby
Definity has quit [Ping timeout: 255 seconds]
patarr has quit [Ping timeout: 252 seconds]
JeanCarloMachado has joined #ruby
harai_ has quit [Ping timeout: 240 seconds]
Guest75409 is now known as ged
ged is now known as Guest46066
Gasher has quit [Quit: Leaving]
modal has quit [Quit: Leaving]
kodnin has quit [Quit: leaving]
blackmesa has quit [Ping timeout: 245 seconds]
Snickers has quit [Quit: Snickers]
inra has quit [Quit: Leaving]
CloCkWeRX has joined #ruby
bentanweihao has quit [Remote host closed the connection]
TomyLobo has quit [Ping timeout: 255 seconds]
bentanweihao has joined #ruby
milardovich has quit [Remote host closed the connection]
lenwood has joined #ruby
roamingdog has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tyang has joined #ruby
tyang_ has joined #ruby
zerun0 has quit [Ping timeout: 255 seconds]