apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
zz_jrhorn424 is now known as jrhorn424
lemur has quit [Remote host closed the connection]
<shevy> it's just a representation, I think you can get it via db.inspect
phinfonet has joined #ruby
zz_karupa is now known as karupa
<sgp667> shevy, db.class gives me Mysql, db.inspect give me the crytipc mesage :(
pietr0 has quit [Quit: pietr0]
hpoydar has joined #ruby
ahofmann has joined #ruby
momomomomo has quit [Remote host closed the connection]
ahofmann has quit [Client Quit]
predator117 has quit [Ping timeout: 264 seconds]
ahofmann has joined #ruby
<shevy> it's not cryptic
Kricir has joined #ruby
<shevy> it's just some internal representation thing
<shevy> possibly where it's stored
<shevy> what message do you want to see else sgp667 ?
<shevy> you already have an instance of class Mysql assigned to the variable name db
predator117 has joined #ruby
nateberkopec has joined #ruby
NukePuppy has quit [Ping timeout: 240 seconds]
Matip has quit [Ping timeout: 240 seconds]
<sgp667> shevy, I guess I didn't introdue the whole proble I get thsi message and similar ones even I try to query something and I do something like fetch_row, in this case I am expecting something recognizable from my database but I get similar set of numbers
robbyoconnor has quit [Excess Flood]
<sgp667> shevy, what are those numbers anyway? some error exception? If I knew what it is I would look it up
net_mask has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
net_mask has joined #ruby
<shevy> you get this problem only in irb?
<shevy> <shevy> it's just some internal representation thing
<shevy> <shevy> possibly where it's stored
<shevy> <shevy> it's just a representation, I think you can get it via db.inspect
jkline has joined #ruby
<shevy> Here is the method explanation: http://ruby-doc.org/core-2.1.1/Object.html#method-i-inspect
<sgp667> shevy, good point I'll try to run this from a file
<shevy> here the explanation why #to_s is not the same as #inspect:
<shevy> and
Kricir has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Remote host closed the connection]
karupa is now known as zz_karupa
net_mask has quit [Ping timeout: 240 seconds]
combusean has quit [Quit: Leaving.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradhe has joined #ruby
kaspergrubbe has joined #ruby
hpoydar has quit [Remote host closed the connection]
x1337807x has joined #ruby
Hobogrammer has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 240 seconds]
timgauthier has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
binaryhat has joined #ruby
jrhorn424 is now known as zz_jrhorn424
binaryhat has quit [Read error: Connection reset by peer]
kireevco has quit [Quit: Leaving.]
pietr0 has joined #ruby
charliesome has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
russt_ has joined #ruby
dwayhs__ has quit [Read error: Connection reset by peer]
jrhe has quit [Quit: Connection closed for inactivity]
pietr0 has quit [Client Quit]
russt_ has left #ruby [#ruby]
mgorbach has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
synfin has quit [Quit: leaving]
ddv has quit [Ping timeout: 245 seconds]
synfin has joined #ruby
ddv has joined #ruby
synfin has quit [Client Quit]
mgorbach has joined #ruby
toastynerd has joined #ruby
sdouglas has joined #ruby
zz_karupa is now known as karupa
sinkensabe has joined #ruby
teejar has quit [Ping timeout: 240 seconds]
wiku5_ has joined #ruby
synfin has joined #ruby
benlieb has quit [Quit: benlieb]
nateberkopec has quit [Quit: Leaving...]
toastynerd has quit [Ping timeout: 240 seconds]
lw has quit [Quit: s]
teejar has joined #ruby
Hobogrammer has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
dgutierrez1287 has joined #ruby
kenndel_ has quit [Read error: Connection reset by peer]
kenndel_ has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
joaoh82 has joined #ruby
wallerdev has joined #ruby
northfurr has quit [Quit: northfurr]
havenwood has quit [Remote host closed the connection]
marr has quit [Ping timeout: 252 seconds]
linojon has quit [Quit: linojon]
nanoyak has quit [Quit: Computer has gone to sleep.]
kitak has quit [Remote host closed the connection]
newUser1234 has joined #ruby
kitak has joined #ruby
mijicd has quit [Remote host closed the connection]
nateberkopec has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
oo_ has joined #ruby
eka has joined #ruby
tyfighter has quit [Quit: <3]
cpruitt has quit [Quit: cpruitt]
jottr_ has quit [Ping timeout: 252 seconds]
milad has joined #ruby
GriffinHeart has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
nateberkopec has quit [Quit: Leaving...]
paradisaeidae has joined #ruby
senayar has quit []
redondos has quit [Excess Flood]
redondos has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Read error: Connection reset by peer]
Takle has joined #ruby
descala has joined #ruby
saarinen has quit [Quit: saarinen]
sevenseacat has joined #ruby
danman has joined #ruby
b1205 has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
danman has quit [Client Quit]
sambao21 has joined #ruby
jespada has quit [Ping timeout: 244 seconds]
<milad> Oh, I forget to mention the version that I'm using, It's 5.8.10. you can download the source from here http://vault.centos.org/6.5/os/Source/SPackages/rsyslog-5.8.10-8.el6.src.rpm
<milad> Oops, wrong window!
andrewjanssen has quit [Quit: Leaving...]
arrubin has joined #ruby
milad has left #ruby [#ruby]
jespada has joined #ruby
gusblan has quit [Remote host closed the connection]
timonv has joined #ruby
blooberr____ has quit [Quit: Connection closed for inactivity]
sambao21 has quit [Client Quit]
sski has joined #ruby
guyz has quit [Ping timeout: 252 seconds]
Kricir has joined #ruby
Ankhers has quit [Read error: Connection reset by peer]
timmow has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 252 seconds]
gomikemike is now known as gomikemike_ZZz
digifiv5e has joined #ruby
bradhe has joined #ruby
digifiv5e is now known as Guest50712
cashnguns has quit [Remote host closed the connection]
lyanchih has joined #ruby
balazs has joined #ruby
timmow has joined #ruby
monkegjinni has joined #ruby
Davey is now known as Eomar
nateberkopec has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
<balazs> hi. what's the way to store a big data structure to a pstore ? can I do: ps = Pstore.new(file); ps = bigdatastructure ?
b1205 has joined #ruby
lyanchih_ has joined #ruby
ghr has joined #ruby
sdouglas has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 264 seconds]
adantj has quit [Ping timeout: 264 seconds]
sdouglas has joined #ruby
lemur has joined #ruby
aantix has quit [Quit: aantix]
cjsarette has joined #ruby
lyanchih has quit [Ping timeout: 252 seconds]
lyanchih_ is now known as lyanchih
lw has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
monkegjinni has quit [Ping timeout: 252 seconds]
zorak has quit [Read error: Connection reset by peer]
MatthewsFace has joined #ruby
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
sgp667 has quit [Quit: Leaving]
ghr has quit [Ping timeout: 245 seconds]
<toretore> ps[key] = value
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
rezzack has quit [Quit: Leaving.]
lemur has quit [Ping timeout: 264 seconds]
cjsarette has quit [Remote host closed the connection]
b1205 has quit [Ping timeout: 264 seconds]
happytux has quit [Remote host closed the connection]
cjsarette has joined #ruby
zorak has joined #ruby
Hanmac1 has joined #ruby
freggles has quit [Remote host closed the connection]
momomomomo has joined #ruby
northfurr has joined #ruby
Rollabunna has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
stantona has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eka has joined #ruby
Channel6 has joined #ruby
aspires has quit []
robustus has quit [Ping timeout: 252 seconds]
Kricir has joined #ruby
doodlehaus has joined #ruby
b1205 has joined #ruby
ixti has quit [Read error: Connection reset by peer]
robustus has joined #ruby
cjsarette has quit [Remote host closed the connection]
MZAWeb has joined #ruby
cjsarette has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
ahofmann has quit [Quit: Computer has gone to sleep.]
b1205 has quit [Ping timeout: 240 seconds]
zorak is now known as zorak8
zorak8 has quit [Quit: Saliendo]
zorak8 has joined #ruby
Zenigor has joined #ruby
mikepack_ has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Valesk_ has joined #ruby
Channel6 has quit [Quit: Leaving]
net_mask has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
ASLY has joined #ruby
<wallerdev> how is everyone this afternoon
havenwood has joined #ruby
mikepack_ has quit [Ping timeout: 240 seconds]
<ASLY> holaaaaaaaaaaaaaaaaa
<havenwood> hi
linuxnewb2 has joined #ruby
<ASLY> de donde don
ASLY has left #ruby [#ruby]
MatthewsFace has quit [Quit: This computer has gone to sleep]
Photism2 has joined #ruby
ndngvr has joined #ruby
dreamchaser has joined #ruby
dreamchaser has joined #ruby
dreamchaser has quit [Changing host]
ndngvr` has quit [Ping timeout: 276 seconds]
cjsarette has quit [Remote host closed the connection]
toastynerd has joined #ruby
cjsarette has joined #ruby
Photism_ has quit [Ping timeout: 276 seconds]
eguim has quit [Ping timeout: 276 seconds]
dseitz has joined #ruby
renier has joined #ruby
momomomomo has quit [Quit: momomomomo]
kies has quit [Quit: baaaaiiiiiiiiiii~]
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
kies has joined #ruby
ponga has joined #ruby
mary5030_ has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
Channel6 has joined #ruby
<shevy> wallerdev nothing happens
<wallerdev> zzz
<wallerdev> im eating dinner
<wallerdev> then going home
hamakn has quit [Remote host closed the connection]
<shevy> yeah
<shevy> nothing happens
_reset has joined #ruby
nateberkopec has quit [Quit: Leaving...]
datafirm has quit [Quit: Computer has gone to sleep.]
<balazs> toretore: so I need to loop thru each key of bigdatastructure ?
datafirm has joined #ruby
<balazs> no way to just say: store this data in this file ?
reset has quit [Ping timeout: 264 seconds]
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
net_mask has quit [Remote host closed the connection]
_reset has quit [Ping timeout: 244 seconds]
net_mask has joined #ruby
mikesplain has joined #ruby
datafirm has quit [Ping timeout: 240 seconds]
krz has joined #ruby
bradhe has joined #ruby
<wiku5_> q
wiku5_ has quit [Quit: WeeChat 0.4.2]
benzrf is now known as benzrf|offline
net_mask has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
felixjet has quit [Read error: Connection reset by peer]
mikesplain has quit [Ping timeout: 245 seconds]
felixjet has joined #ruby
TheComrade has joined #ruby
Kricir has quit [Remote host closed the connection]
Slavox|AFK has quit [Ping timeout: 252 seconds]
datafirm has joined #ruby
Slavox|AFK has joined #ruby
hamakn has joined #ruby
<TheComrade> if !(File.exists?(dest_fn) && (File.size(dest_fn) == s3_obj.content_length)) < this code is failing on the File.size call, because the file does not exist. Question is: Why isn't this code short circuiting out on File.exists? I thought I had this figured out yesterday but apparently not...
net_mask has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
Valesk has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gaboesquivel has joined #ruby
GriffinHeart has joined #ruby
mgorbach has quit [Max SendQ exceeded]
mgorbach has joined #ruby
dorei has quit []
Spami has quit [Quit: This computer has gone to sleep]
ghr has joined #ruby
b1205 has joined #ruby
<TheComrade> argh, nevermind. wrong line.
phoo1234567 has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
gruz0[russia] has joined #ruby
ehc has quit [Quit: ehc]
radic has quit [Ping timeout: 240 seconds]
OffTheRails has quit [Ping timeout: 264 seconds]
radic has joined #ruby
ehc has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
b1205 has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
atraylen has quit [Ping timeout: 252 seconds]
ehc has quit [Ping timeout: 264 seconds]
Atrumx has joined #ruby
combusean has joined #ruby
doodlehaus has quit [Remote host closed the connection]
zB0hs has joined #ruby
binaryhat has joined #ruby
zB0hs has quit [Max SendQ exceeded]
SCommette has joined #ruby
aantix has joined #ruby
Asher has quit [Quit: Leaving.]
oo_ has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
Takle has quit [Remote host closed the connection]
amclain has joined #ruby
Kricir has joined #ruby
tectonic has joined #ruby
harryk has quit [Ping timeout: 240 seconds]
aantix has quit [Client Quit]
doodlehaus has joined #ruby
eka has joined #ruby
pot is now known as version
lyanchih has joined #ruby
gbchaosmaster has joined #ruby
b1205 has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
binaryhat has quit [Quit: Leaving]
oo_ has joined #ruby
spastorino has joined #ruby
kenneth has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
doodlehaus has quit [Remote host closed the connection]
harryk has joined #ruby
<lagweezle> Hmm. For rspec, using let ... let only creates/assigns for an example that uses it, but it makes a new one for each example?
<sevenseacat> yep
<sevenseacat> tests in isolation
<sevenseacat> no shared state between tests
newUser1234 has quit [Remote host closed the connection]
<lagweezle> Yay!
eguim has joined #ruby
Zenigor has quit [Remote host closed the connection]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Boohbah has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
newUser1234 has joined #ruby
Takle has joined #ruby
gusblan has joined #ruby
* lagweezle peers at results.
<lagweezle> let has some ... interesting behaviors...
<sevenseacat> such as?
eguim has quit [Ping timeout: 245 seconds]
<lagweezle> it 'meh' do
<lagweezle> puts "start #{moo}"
<lagweezle> moo = b
<lagweezle> b = moo + 1
<lagweezle> moo = moo + 1
<lagweezle> puts "end #{moo}"
<lagweezle> end
<lagweezle> That ... did odd things.
<sevenseacat> i have no idea what you expect that to do
bradhe has joined #ruby
<lagweezle> If I take out the 3rd and 4th lines, I get Failure/Error: moo = moo + 1 NoMethodError: undefined method `+' for nil:NilClass
timonv has quit [Ping timeout: 240 seconds]
<lagweezle> As written, 'puts "end #{moo}"' outputs 'end 3'
musashi1 has quit [Quit: Musashi1]
net_mask has quit [Remote host closed the connection]
<lagweezle> I'd expect 'start 1\nend 2' w/o needing the 3rd/4th lines
<lagweezle> oh ... let(:moo) { 1 } is before the it line
<sevenseacat> as written, end 3 makes sense
zz_jrhorn424 is now known as jrhorn424
<lagweezle> Yes. If I comment out lines 6 and 7 in the gist, I'd expect 'end 2' but I instead get a NoMethodError.
mary5030 has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
<sevenseacat> something odd is going on there.... i also get 'start 1', but then 'no method error'
eguim has joined #ruby
<sevenseacat> how can it be 1 then nil
phinfonet has quit []
yfeldblum has joined #ruby
scx_ has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
Kricir has joined #ruby
<lagweezle> something is VERY weird
scx has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
bmurt has joined #ruby
b1205 has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
bmurt has quit [Client Quit]
Kricir has quit [Ping timeout: 245 seconds]
Shidash has quit [Quit: Leaving.]
monkegjinni has joined #ruby
mary5030 has joined #ruby
Eomar is now known as Davey
ghr has joined #ruby
<noob101> Hello
braincrash has joined #ruby
<noob101> Can I use `exit` in ruby to terminate the program in my program, can I put in my code `exit`?
aspires has joined #ruby
yetanotherdave has joined #ruby
Boohbah has joined #ruby
<noob101> I think that's what someone said to me when I said I use abort, which one works or is exit not an existent thing in ruby?
monkegjinni has quit [Ping timeout: 264 seconds]
<jkline> Noob101: I don't understand your question
<noob101> jkline, I am developing some code in my text editor.
<noob101> When I want to end the program after user_input matches etc, I put abort then the program stops.
<noob101> Someone suggested me to replace abort with exit, do you understand now?
mary5030 has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<noob101> jkline: So my question is, does exit do anything special, what is it's significance and does it exist in ruby?
<jkline> exit is a method on the Kernel module, http://www.ruby-doc.org/core-2.1.2/Kernel.html#method-i-exit, and its purpose is to end the program
<jkline> It does that by raising a particular exception. That's what you want.
<jkline> I am not familiar with abort
<noob101> Ah ok.
<noob101> jkline: I am not familiar with exceptions unfortunately, I tried learning that but I failed but ok. Thank you for your help.
ghr has quit [Ping timeout: 264 seconds]
<jkline> You don't need to be familiar with exceptions to use exit
<jkline> but exception handling is something you should learn later.
<noob101> jkline: so exit just does the same as abort right? It terminates the program if a certain condition is met?
fresham has left #ruby [#ruby]
<jkline> I'm not sure yet, i'm still reading the docs
<jkline> It looks like abort calls exit
<noob101> jkline: ah ok thanks.
<jkline> you can use exit to indicate your program failed, or your program suceeded.
jespada has quit [Quit: Leaving]
<jkline> abort always means your program failed.
<jkline> abort will print an error message, but exit will not .
thesheff17 has joined #ruby
<jkline> I should have said: abort will print an error message, if you pass an error message to be printed.
<jkline> Does that make sense?
Rollabunna has quit [Ping timeout: 240 seconds]
<sevenseacat> abort implies unexpected failure
<noob101> I need to think about that jkline
<jkline> abort means your program failed to do whatever it was asked to do.
<jkline> exit means your program is finished doing what it was asked, and you have to specify if it suceeded or failed
<noob101> jkline: Oh ok
djbkd has joined #ruby
<noob101> jkline: Oh ok for example, if the program exits then I would purposely know depending if I made exit a good sign if exiting the program means success or failure right?
<jkline> I think that is right.
<jkline> `exit 0` or `exit true` means you're done, and you accomplished your goal.
<jkline> `exit false` or exit with any non-zero integer means you failed.
<jkline> and whoever called your program is responsible for checking the exit status to know how to react.
cjsarette has quit [Remote host closed the connection]
mary5030 has joined #ruby
cjsarette has joined #ruby
<noob101> My freaking keyboard mouse froze sorry
<noob101> Thank you for the info jkline
microdex has joined #ruby
dik_dak has quit [Quit: Leaving]
<microdex> Anyone use Unicorn ?
b1205 has joined #ruby
newUser1_ has joined #ruby
<microdex> I can start Rails app using 'rails s' but with Unicorn it just hangs and then times out
sski has quit [Remote host closed the connection]
<noob101> By the way, what kind of things are created using ruby. Can anyone show me something before I go to sleep, I wonder if I will be able to use my ruby skills.
sski has joined #ruby
<sevenseacat> anything... its a general purpose programming language
newUser1234 has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
<noob101> sevenseacat: What does that mean? What can be created then?
<sevenseacat> anything you want
mary5030 has quit [Remote host closed the connection]
<mozzarella> well, you wouldn't write an operating system in ruby, for example…
<mozzarella> and you can't really do embedded programming with it either
sski has quit [Remote host closed the connection]
sski has joined #ruby
<sevenseacat> if you were after doing either of those things, you wouldnt be named 'Noob101' and wouldnt be asking the difference between exit and abort
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
NukePuppy has joined #ruby
mradmacher has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
alvaro has joined #ruby
<alvaro> E: Unable to locate package rails3
<alvaro> E: Unable to locate package ruby1.9.3
<alvaro> How to proceed whit this?
<sevenseacat> thats not a lot to work with
Takle has joined #ruby
<alvaro> =/
<sevenseacat> start with what OS you're on and what command you're running
GriffinH_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
<alvaro> sevenseacat, Ubuntu 13.10, command "sudo apt-get -y install ruby1.9.3 rails3". :)
<sevenseacat> well those packages do not exist
<sevenseacat> so you cannot install them
<alvaro> oh i see
Blaguvest has quit []
<alvaro> Sorry, I'm using a squeeze Debian 6.
<alvaro> But thanks anyway. :)
<alvaro> sevenseacat, ;)
<sevenseacat> then why on earth did you say ubuntu 13.10
Xuerian has quit [Ping timeout: 245 seconds]
<mozzarella> download ruby (sudo apt-get install ruby) or even, use something like ruby-install
<mozzarella> and then use gem to install rails
<mozzarella> I wouldn't install rails with apt-get
<alvaro> haha! It's for a CMS call "noosfero"... It's the default.
<sevenseacat> i wouldnt install ruby or rails with apt-get
<ponga> im impressed how you manage chatting in multiple channels microdex
<ponga> i mean mozzarella
cjsarette has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 240 seconds]
<alvaro> mozzarella, ty.
<alvaro> I'll try.
<sevenseacat> i'd use ruby-build or ruby-install to install ruby, and then gem install rails
<alvaro> Got it.
cjsarette has joined #ruby
mattstratton has joined #ruby
<mozzarella> ponga: I have 9 buffers displayed at once… so I can chat in 9 different channels
bradhe has joined #ruby
<ponga> mozzarella you manage 9 channels in single screen?
<ponga> wow
<ponga> mozzarella do you use hotkey to switch around channel?
<mozzarella> yes, ctrl + vim "movement keys"
<ponga> lol
<ponga> irc pro
<mozzarella> which would usally be hjkl, but I'm using a dvorak keyboard layout
<mozzarella> ;p
cjsarette has quit [Remote host closed the connection]
<ponga> wow
cjsarette has joined #ruby
<mozzarella> weechat is the best irc client
to_s has joined #ruby
bmurt has joined #ruby
helpa has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
helpa has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
FifthWall has quit [Ping timeout: 252 seconds]
FifthWall has joined #ruby
net_mask has joined #ruby
byonic has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
jack_rabbit has joined #ruby
kireevco has joined #ruby
Monte has joined #ruby
<Monte> these hips are big hips
lyanchih has quit [Quit: lyanchih]
maletor has joined #ruby
Kricir has joined #ruby
<alvaro> haha
PanPan has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
paradisaeidae has quit [Ping timeout: 245 seconds]
bmurt has quit []
cpruitt has joined #ruby
newUser1_ has quit [Read error: Connection reset by peer]
b1205 has quit [Ping timeout: 264 seconds]
newUser1234 has joined #ruby
Monte has left #ruby [#ruby]
eka has joined #ruby
eka has quit [Client Quit]
cjsarette has quit [Remote host closed the connection]
amargherio has quit [Remote host closed the connection]
cjsarette has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
stantona has joined #ruby
<microdex> Anyone know how to find logs for Unicorn? My app works perfectly when started with 'rails s' but breaks down when using Unicorn
ehc has joined #ruby
stantona has quit [Ping timeout: 244 seconds]
Eyes has quit [Read error: Connection reset by peer]
SuinDraw has joined #ruby
SuinDraw is now known as Eyes
TheComrade has quit [Remote host closed the connection]
ehc has quit [Ping timeout: 252 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
oo_ has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 265 seconds]
danijoo has joined #ruby
Kricir has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
papercode has quit [Quit: WeeChat 0.4.3]
net_mask has quit []
helpa has quit [Ping timeout: 245 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
b1205 has joined #ruby
Deele has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
timonv has joined #ruby
brunops has quit [Quit: leaving]
Kricir has quit [Remote host closed the connection]
i_s has joined #ruby
mary5030 has joined #ruby
Channel6 has quit [Quit: Leaving]
doodlehaus has joined #ruby
gaboesquivel has quit []
bradhe has joined #ruby
b1205 has quit [Ping timeout: 240 seconds]
datafirm has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 244 seconds]
SOLID000 has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 252 seconds]
cjsarette has joined #ruby
Valesk has joined #ruby
cephalostrum has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 252 seconds]
doodlehaus has quit [Ping timeout: 264 seconds]
linuxnewb4 has joined #ruby
musashi1 has joined #ruby
musashi1 has quit [Client Quit]
srx___ has joined #ruby
cephalostrum has joined #ruby
ratdaddy has joined #ruby
emergion has quit [Quit: Connection closed for inactivity]
codezomb has joined #ruby
cjsarette has quit [Remote host closed the connection]
datafirm has joined #ruby
cjsarette has joined #ruby
linuxnewb2 has quit [Ping timeout: 272 seconds]
wchun has joined #ruby
wchun has quit [Remote host closed the connection]
linuxnewb4 has quit [Ping timeout: 245 seconds]
wchun has joined #ruby
Gil_ has joined #ruby
aantix has joined #ruby
Dreamer3 has joined #ruby
oo_ has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
Tricon has quit [Remote host closed the connection]
Tricon has joined #ruby
Gil_ has quit [Ping timeout: 240 seconds]
Tricon has quit [Remote host closed the connection]
Tricon has joined #ruby
gaboesquivel has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dreamer3 has quit [Ping timeout: 245 seconds]
SCommette has quit [Quit: SCommette]
cjsarette has quit [Remote host closed the connection]
aantix has quit [Quit: aantix]
cjsarette has joined #ruby
yetanotherdave has quit [Ping timeout: 264 seconds]
toretore has quit [Ping timeout: 264 seconds]
lyanchih has joined #ruby
cjsarette has quit [Remote host closed the connection]
lw has quit [Quit: s]
cjsarette has joined #ruby
codezomb has quit [Ping timeout: 264 seconds]
newUser1234 has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cya]
lw has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
newUser1234 has joined #ruby
NukePuppy has quit [Ping timeout: 240 seconds]
rkr090 has joined #ruby
monkegjinni has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
newUser1234 has quit [Remote host closed the connection]
exgf_z has joined #ruby
ghr has joined #ruby
monkegjinni has quit [Ping timeout: 252 seconds]
exgf has quit [Ping timeout: 264 seconds]
tobago has joined #ruby
Rollabunna has joined #ruby
alem0lars has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
x1337807x has joined #ruby
cjsarette has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 264 seconds]
cjsarette has joined #ruby
ehc has joined #ruby
Spami has joined #ruby
sinkensabe has quit [Remote host closed the connection]
aspires has quit []
ferr_ has joined #ruby
mijicd has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
ehc has quit [Ping timeout: 245 seconds]
dukedave has quit [Ping timeout: 264 seconds]
jobewan has joined #ruby
amclain has quit [Quit: Leaving]
MrDoctor has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
tagrudev has joined #ruby
comma8 has quit [Ping timeout: 245 seconds]
jkline has quit [Quit: jkline]
Kricir has joined #ruby
kireevco has quit [Quit: Leaving.]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
bradhe has joined #ruby
luisjose has quit [Read error: No route to host]
subraminion has joined #ruby
ta has quit [Remote host closed the connection]
Valesk_ has joined #ruby
luisjose has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
kireevco has joined #ruby
kireevco has quit [Client Quit]
Kricir has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
nemesit|znc has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 272 seconds]
nanodano has joined #ruby
aganov has joined #ruby
<nanodano> By what name do you call one who Rubies? A Rubier? A Rubist? A Ruber?
<Hanmac1> Rubican? ,P
nemesit|znc has joined #ruby
<sevenseacat> rubyist
<nanodano> ah!
yfeldblum has joined #ruby
djbkd has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: Leaving]
heftig has quit [Quit: Quitting]
<nanodano> I am a fresh Rubyophyte
djbkd has joined #ruby
pvb has joined #ruby
<sevenseacat> welcome :)
alvaro has quit [Quit: Saindo]
<nanodano> I saw a couple talks by David Heinemeier Hansson and rails, specifically one about test driven design and how he hates it, and another called "writing software" and he definitely re-sparked my interest in Ruby (coming from the PHP world)
<sevenseacat> that was an interesting talk recently
<nanodano> I liked what he had to say
<nanodano> I did not realize he wrote rails, I knew him from business talks and 37signals
djbkd has quit [Ping timeout: 240 seconds]
<sevenseacat> well 37signals made basecamp, and the original basecamp codebase is what rails was originally extracted from
<nanodano> I have used CAkePHP which I think is meant to be a clone of rails
<sevenseacat> one of the many php frameworks heavily inspired by rails, yes
<nanodano> I'm hoping that knowledge will transfer well when learning rails
<sevenseacat> some will - like the basics of MVC on the web
ta has joined #ruby
<sevenseacat> we also have a dedicated channel for discussing rails - #rubyonrails
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
<nanodano> I'm watching a Google Tech Talk by Matz right now
yetanotherdave has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
cjsarette has quit [Remote host closed the connection]
kiri has joined #ruby
ferr_ has quit [Remote host closed the connection]
cjsarette has joined #ruby
yetanotherdave has quit [Ping timeout: 244 seconds]
Shidash has joined #ruby
thesheff17 has quit [Ping timeout: 244 seconds]
garndt has quit [Quit: Connection closed for inactivity]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
to_s has quit [Quit: leaving]
chrishough has quit [Quit: chrishough]
akonny has joined #ruby
SOLID000 has joined #ruby
krz has joined #ruby
mijicd has quit [Remote host closed the connection]
yetanotherdave has joined #ruby
alem0lars has quit [Quit: Going AFK...]
ghr has joined #ruby
alem0lars has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
i_s has quit [Quit: i_s]
alem0lars has quit [Client Quit]
djbkd has joined #ruby
echevemaster has quit [Quit: Leaving]
sinkensabe has joined #ruby
saarinen has quit [Quit: saarinen]
ghr has quit [Ping timeout: 272 seconds]
krz has quit [Quit: WeeChat 0.4.3]
<nanodano> Just to get a feel, what kind of applications do some of you guys write? Do you write hobby or professional?
adantj has joined #ruby
himsin has joined #ruby
cjsarette has quit [Remote host closed the connection]
alem0lars has joined #ruby
<sevenseacat> i write rails apps for a living
cjsarette has joined #ruby
<nanodano> nice!
yetanotherdave has quit [Ping timeout: 264 seconds]
<nanodano> Do you freelance?
ehc has joined #ruby
djbkd has quit [Ping timeout: 252 seconds]
Macaveli has joined #ruby
blinkdesign has joined #ruby
jprovazn has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
dawkirst has joined #ruby
IceDragon has quit [Quit: Space~~~]
b1205 has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
ehc has quit [Ping timeout: 264 seconds]
<sevenseacat> nah
kwd has joined #ruby
timonv has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
sdouglas has joined #ruby
cjsarette has quit [Remote host closed the connection]
lkba has joined #ruby
apeiros has quit [Remote host closed the connection]
bradhe has joined #ruby
cjsarette has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
b1205 has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
lxsameer has joined #ruby
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Ping timeout: 245 seconds]
<lxsameer> hey guys what is ruby 2.0 hash syntax ?
<mozzarella> >> {item: 'value'}
<eval-in> mozzarella => {:item=>"value"} (https://eval.in/161447)
hamakn has quit [Read error: Connection reset by peer]
<sevenseacat> well to be fair the syntax was introduced in 1.9, not 2.0
Kricir has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
<sevenseacat> but yes, when a hash has symbols for keys you can do {key: value} instead of {:key => value}
apeiros has quit [Ping timeout: 264 seconds]
klaut has joined #ruby
Darryl has joined #ruby
dawkirst_ has joined #ruby
akonny has quit [Quit: akonny]
gbchaosmaster has quit [Ping timeout: 244 seconds]
dawkirst has quit [Ping timeout: 264 seconds]
<lxsameer> sevenseacat: ah thanks
<lxsameer> sevenseacat: is there any official coding style around?
<sevenseacat> not official ones
<sevenseacat> there are generic ones around, such as https://github.com/bbatsov/ruby-style-guide
doodlehaus has joined #ruby
timonv has joined #ruby
Xeago has joined #ruby
GriffinH_ has quit [Remote host closed the connection]
adantj has quit [Ping timeout: 252 seconds]
yacks has joined #ruby
doodlehaus has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kilk_ has joined #ruby
yottanami has joined #ruby
badhatter has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
nkn__ has joined #ruby
dawkirst_ has quit [Remote host closed the connection]
claymore has joined #ruby
dawkirst has joined #ruby
cjsarette has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
gusblan has quit [Remote host closed the connection]
cjsarette has joined #ruby
bradleyprice has joined #ruby
gusblan has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
nkn__ has quit [Quit: nkn__]
blackmesa has joined #ruby
comma8 has joined #ruby
fabrice31 has joined #ruby
jottr_ has joined #ruby
timonv has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
cjsarette has quit [Remote host closed the connection]
tharindu has joined #ruby
bradleyprice has quit [Ping timeout: 240 seconds]
noop has joined #ruby
cjsarette has joined #ruby
gusblan has quit [Ping timeout: 252 seconds]
ayaz has joined #ruby
sepp2k has joined #ruby
railzForDaiz has quit [Ping timeout: 272 seconds]
blinkdesign has quit [Remote host closed the connection]
balazs has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
Takle has joined #ruby
cjsarette has quit [Remote host closed the connection]
monkegjinni has joined #ruby
cjsarette has joined #ruby
relix has joined #ruby
Takle has quit [Ping timeout: 252 seconds]
e^0 has joined #ruby
anarang has joined #ruby
monkegjinni has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
freggles has joined #ruby
yetanotherdave has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
lokeshguddu has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
lokeshguddu has quit [Client Quit]
djbkd has joined #ruby
rippa has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
claymore has quit [Ping timeout: 252 seconds]
doev has joined #ruby
Xeago has joined #ruby
Rollabunna has quit [Ping timeout: 240 seconds]
combusean has quit [Quit: Leaving.]
srx___ has quit [Ping timeout: 272 seconds]
ehc has joined #ruby
ta has quit [Remote host closed the connection]
DEA7TH has joined #ruby
djbkd has quit [Ping timeout: 272 seconds]
claymore has joined #ruby
bradhe has joined #ruby
dangerousdave has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
nitish has joined #ruby
nitish has quit [Changing host]
nitish has joined #ruby
ehc has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 264 seconds]
andikr has joined #ruby
timonv has joined #ruby
bricker`LA has quit [Ping timeout: 252 seconds]
ndrei has quit [Quit: Lost terminal]
holden247 has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
Doppp has quit [Quit: leaving]
datafirm has joined #ruby
Doppp has joined #ruby
gusblan has joined #ruby
sinkensabe has quit [Remote host closed the connection]
e^0 has quit [Quit: WeeChat 0.4.3]
sinkensabe has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
blaxter has joined #ruby
railzForDaiz has joined #ruby
GriffinHeart has joined #ruby
sinkensabe has quit [Ping timeout: 272 seconds]
toastynerd has quit [Remote host closed the connection]
toastynerd has joined #ruby
gaboesquivel has quit []
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
tesuji has joined #ruby
alex88 has joined #ruby
jimbauds has quit [Quit: Leaving]
cuqa has quit [Changing host]
cuqa has joined #ruby
Notte has joined #ruby
Morkel has joined #ruby
tomyx has joined #ruby
SegFaultAX has quit [Ping timeout: 272 seconds]
ctp has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
qba73 has joined #ruby
SegFaultAX has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
<whyy> Hey
hermanmunster has quit [Remote host closed the connection]
<whyy> I was recently going through Optional Types in Swift Programming Language by Apple, and it seems they have done a good job of avoiding Nil Propogations with the same
hermanmunster has joined #ruby
<whyy> Is there anyway the same pattern for avoiding nil propogations in Ruby be adopted or implemented ?
cjsarette has quit [Remote host closed the connection]
ratdaddy has quit [Quit: Connection closed for inactivity]
cjsarette has joined #ruby
mikecmpbll has joined #ruby
ctp has quit [Ping timeout: 264 seconds]
toastynerd has quit [Remote host closed the connection]
obs has joined #ruby
<Mon_Ouie> What do you mean, nil propagations? Most often, as soon as you message nil where you didn't expect to get it you'll get a NoMethodError exception
dayepa has quit [Quit: dayepa]
ta has joined #ruby
lw_ has joined #ruby
hermanmunster has quit [Ping timeout: 252 seconds]
ctp has joined #ruby
nfk has joined #ruby
MrDoctor has quit [Remote host closed the connection]
MrDoctor has joined #ruby
moritzs has joined #ruby
lw has quit [Ping timeout: 252 seconds]
olivier_bK has joined #ruby
nitish has quit [Remote host closed the connection]
MrDoctor has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
<Macaveli> I have objects in my array is it possible to set this object to nil?
yubrew has joined #ruby
<Macaveli> object.first = nil not working NoMethodError: undefined method `first=' for #<Array:0x007fef4d066398>
<shevy> use []
yubrew_ has joined #ruby
<shevy> >> array = [1,2,3]; array[0] = nil; array
<eval-in> shevy => [nil, 2, 3] (https://eval.in/161473)
<Macaveli> Thank you
<shevy> \o/
<Macaveli> \_/ cup of care is full :D
<Macaveli> still looks empty :(
<shevy> oh my ASCII guy was cheering for you!
<shevy> with arms raised up high \o/
yubrew__ has quit [Ping timeout: 240 seconds]
<shevy> I kind of misread your nick as Macciavelli or something
apeiros has joined #ruby
<DefV> so did I
andrewlio has joined #ruby
rdark has joined #ruby
cjsarette has quit [Remote host closed the connection]
<Macaveli> shevy, is there another method like compact that removes the [] and nil?
cjsarette has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
klaut has quit [Remote host closed the connection]
tectonic has quit []
Zai00 has joined #ruby
sinkensabe has joined #ruby
canton7 has quit [Quit: ZNC - http://znc.in]
canton7 has joined #ruby
<tobiasvl> >> [nil, 2, 3].compact
<eval-in> tobiasvl => [2, 3] (https://eval.in/161475)
<tobiasvl> Macaveli: what do you mean by removing the []?
wallerdev has quit [Quit: wallerdev]
cjsarette has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 272 seconds]
jobewan has quit [Quit: Leaving]
cjsarette has joined #ruby
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
dilated_dinosaur has quit [Ping timeout: 240 seconds]
rdark has joined #ruby
moritzs has quit [Ping timeout: 240 seconds]
DouweM has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
chth0n has joined #ruby
<Macaveli> still figuring out if there are [] or nils in an array
djbkd has joined #ruby
<Macaveli> btw the eval feature is super cool :D
<tobiasvl> yep!
sepp2k has quit [Read error: Connection reset by peer]
atraylen has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Hobogrammer has quit [Ping timeout: 264 seconds]
MrDoctor has joined #ruby
yetanotherdave has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
djbkd has quit [Ping timeout: 264 seconds]
shime has joined #ruby
cgj has joined #ruby
sk87 has joined #ruby
tomyx has quit []
jackneill has joined #ruby
ghr has quit []
anaeem1 has joined #ruby
ghr has joined #ruby
gusblan has quit [Remote host closed the connection]
b1205 has joined #ruby
<shevy> Macaveli you can get rid of other Arrays in an Array via .flatten or .flatten!
<shevy> and .compact! to eliminate nil
dilated_dinosaur has joined #ruby
moritzs has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
bRUTEfORCE has joined #ruby
yetanotherdave has quit [Ping timeout: 264 seconds]
rkr090 has quit [Quit: Leaving]
b1205 has quit [Ping timeout: 264 seconds]
ctp has quit [Read error: Connection reset by peer]
timonv has joined #ruby
ctp has joined #ruby
cjsarette has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 240 seconds]
cjsarette has joined #ruby
datafirm has joined #ruby
Rollabunna has joined #ruby
cjsarette has quit [Remote host closed the connection]
Takle has joined #ruby
Azulinho has joined #ruby
cjsarette has joined #ruby
datafirm has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
marr has joined #ruby
blaxter has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
jrhorn424 is now known as zz_jrhorn424
railzForDaiz has quit [Ping timeout: 240 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
moritzs has quit [Ping timeout: 240 seconds]
flagg0204 has quit [Ping timeout: 245 seconds]
doodlehaus has quit [Ping timeout: 244 seconds]
Takle has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 240 seconds]
zz_jrhorn424 is now known as jrhorn424
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
_justin has joined #ruby
shanlar has quit [Ping timeout: 260 seconds]
blinkdesign has joined #ruby
toastynerd has joined #ruby
moritzs has joined #ruby
rdark has quit [Quit: leaving]
blaxter has joined #ruby
yubrew has joined #ruby
rdark has joined #ruby
subraminion has joined #ruby
yubrew__ has joined #ruby
alem0lars has quit [Quit: Going AFK...]
yubrew___ has joined #ruby
workmad3 has joined #ruby
yubrew_ has quit [Ping timeout: 240 seconds]
toastynerd has quit [Ping timeout: 272 seconds]
ponga has joined #ruby
microdex has quit [Remote host closed the connection]
MZAWeb has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 252 seconds]
bRUTEfORCE has quit [Read error: Connection reset by peer]
yubrew__ has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
bluenemo has joined #ruby
monkegjinni has joined #ruby
<isomorphismes> I want to unshift the individual elements of an array but I'm accidentally unshifting the entire array
bradhe has joined #ruby
<isomorphismes> ary = []; ary.unshift( (1..6).to_a.sample(5) )
<isomorphismes> that gives [[1,4,2,3,6]] but I want [1,4,2,3,6]
<isomorphismes> what's the right syntax for that?
<apeiros> unshift(n) means "unshift the first n elements"
<apeiros> docs ftw
Takle has joined #ruby
<apeiros> I'm surprised this doesn't raise
<apeiros> ah
<apeiros> d'oh
<apeiros> too hot
<canton7> for an easy-to-remember way to distinguish shift and unshift, remove the 'f'
<apeiros> ignore me
<apeiros> unshift, not shift :-S
<isomorphismes> i'm looking at Array
<isomorphismes> of the ruby-core-doc
<apeiros> ary.unshift(*other_ary)
<canton7> isomorphismes, prolly need to splat it?
<apeiros> you need a splat
Takle has quit [Remote host closed the connection]
ephemerian has joined #ruby
<isomorphismes> oh ok let me read about that one
<canton7> yeah, [].unshift(1, 2, 3) == [].unshift(*[1, 2, 3])
monkegjinni has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
<isomorphismes> oh my bad
<isomorphismes> I see it now, it's concat
<isomorphismes> thanks canton7 apeiros
yeticry has joined #ruby
<canton7> you can use concat as well if you want :P
Takle_ has joined #ruby
<apeiros> isomorphismes: concat appends, though. unshift prepends.
<apeiros> but yes, if you want to append, concat is the proper choice. and doesn't need splat either.
<canton7> depends whether you're conceptually concatenating two arrays, or motifying one array
<canton7> meh, [a].unshift(*[b]) == [b].concat([a])
<isomorphismes> oh oops
<isomorphismes> I forgot to say I don't care push vs unshift
Takle_ has quit [Read error: Connection reset by peer]
<canton7> just use push, then
<canton7> that's idiomatic
<isomorphismes> no push wasn't working
<canton7> and probably much cheaper :P
<isomorphismes> push does the array
Takle has quit [Read error: Connection reset by peer]
<canton7> >> [1, 2, 3].push(*[4, 5, 6])
<eval-in> canton7 => [1, 2, 3, 4, 5, 6] (https://eval.in/161510)
subraminion has quit [Quit: Computer has gone to sleep.]
<isomorphismes> wait unless i did it wrong
Takle has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
<isomorphismes> >> [].push( (1..6).to_a.sample(5) )
<eval-in> isomorphismes => [[1, 6, 3, 2, 5]] (https://eval.in/161512)
<Mon_Ouie> But then use .concat instead of .push(*x)
<canton7> >> [].push( *(1..6).to_a.sample(5) )
<eval-in> canton7 => [5, 1, 2, 3, 6] (https://eval.in/161513)
<canton7> we told you about splat already ;)
<isomorphismes> >> ['check'].concat( (1..6).to_a.sample(5) )
<eval-in> isomorphismes => ["check", 3, 1, 2, 6, 5] (https://eval.in/161515)
<apeiros> canton7: push with splat is a bad idea. concat is to be preferred in that case.
sevenseacat has quit [Quit: Leaving.]
<canton7> fair enough :P
<isomorphismes> >> ['check'].splat( (1..6).to_a.sample(5) )
<eval-in> isomorphismes => undefined method `splat' for ["check"]:Array (NoMethodError) ... (https://eval.in/161517)
<canton7> he was claiming that #push didn't work. I'm proving him wrong
<apeiros> isomorphismes: splat is that * in the args
<canton7> isomorphismes, the '*' before an array is called the splat operator
<Hanmac1> >> [*1..6].sample(5)
<apeiros> foo(*[1,2,3]) # <-- the * here is "splat operator"
<eval-in> Hanmac1 => [3, 1, 5, 4, 6] (https://eval.in/161519)
<isomorphismes> >> ['check'].push( (1..6).to_a.sample(5) )
<eval-in> isomorphismes => ["check", [6, 2, 5, 3, 1]] (https://eval.in/161520)
<apeiros> isomorphismes: use concat
<canton7> see the '*' I added in my example?
<isomorphismes> see canton7 push doesn't work
<isomorphismes> canton7: it's doing the entire rather than piecewise
<apeiros> isomorphismes: a) use concat, b) if you use push, use push(*ary)
<canton7> isomorphismes, I've shown you how to make push work
cpruitt has quit [Quit: cpruitt]
<canton7> see my message juuust above
<apeiros> 20 messages now really :o)
<isomorphismes> canton7: oh oh
<canton7> man, it's like talking to a brick wall
cjsarette has quit [Remote host closed the connection]
<canton7> apeiros, was it as much as 20? :O
<Hanmac1> isomorphismes: "[*1..6]" is better than "(1..6).to_a"
cjsarette has joined #ruby
<isomorphismes> so I see *(1..6).to_a and *(1..6) both
<isomorphismes> no wait it's *(1..6).to_a versus [*1..6] ?
<canton7> there are two things here
<canton7> it's (1..6).to_a vs [*1..6]
LadyRainicorn has joined #ruby
<canton7> and push([1, 2, 3]) vs push(*[1, 2, 3])
<apeiros> (1..6).to_a and [*1..6] are equivalent
<apeiros> push([1, 2, 3]) and push(*[1, 2, 3]) are NOT
<canton7> indeed - I should have made that clear
<apeiros> concat([1,2,3]) and push(*[1,2,3]) are equivalent
<apeiros> IMO ary.concat([*1..6].sample(5)) should be used
<isomorphismes> canton7: why concat vs push or unshift?
Takle_ has joined #ruby
<canton7> isomorphismes, what do you mean by that?
<isomorphismes> over, even
Takle_ has quit [Remote host closed the connection]
railzForDaiz has joined #ruby
<Hanmac1> apeiros: i think [*1..6] might be a bit faster than (1..6).to_a
<isomorphismes> well, you all are saying that with a "splat" I can do with unshift and push
subraminion has joined #ruby
<apeiros> concat over push because with push you need a splat. a splat is more work.
<apeiros> concat can work directly.
subraminion has quit [Remote host closed the connection]
<canton7> more idiomatic, really. there might be a small speed boost
Takle_ has joined #ruby
ehc has joined #ruby
<isomorphismes> readability is what I'm more interested in =)
<apeiros> there too, concat IMO wins.
<isomorphismes> ok
subraminion has joined #ruby
<apeiros> one operation, less noise.
<Mon_Ouie> As a proof, look at how much explanation it took to make you see the splat
cjsarette has quit [Remote host closed the connection]
<isomorphismes> >> (*[[[1,2,3]]])
<eval-in> isomorphismes => /tmp/execpad-94149d8a741a/source-94149d8a741a:2: syntax error, unexpected ')', expecting :: or '[' or '.' ... (https://eval.in/161531)
cjsarette has joined #ruby
<isomorphismes> well I'm new
<isomorphismes> so I don't count
<apeiros> isomorphismes: splat only makes sense in assignment
<apeiros> a,b = *[1,2]
<Mon_Ouie> Well that's the same as a, b = [1, 2] though
<isomorphismes> >> ary = *(1..10)
<apeiros> argument passing is like assignment. def foo(a,b); … end; foo(*[1,2]) is almost like a,b = *[1,2]
<apeiros> Mon_Ouie: only because of rubys sad choice for autosplat
tharindu is now known as tharindu|away
Takle has quit [Ping timeout: 252 seconds]
yetanotherdave has joined #ruby
<isomorphismes> when canton7 used it it was not in assignment itwas in push( *(........
<apeiros> 11:26 apeiros: argument passing is like assignment. def foo(a,b); … end; foo(*[1,2]) is almost like a,b = *[1,2]
<apeiros> isomorphismes: ^
<apeiros> reading helps :-p
<isomorphismes> this is a lot to keep up with. I'm still parsing 10 mins ago responses
<apeiros> :)
ehc has quit [Ping timeout: 245 seconds]
<apeiros> note that the splat can be on both sides of the assignments. on the left side it means "collect the rest of the data into an array", on the right side (the one you've seen so far) it means "expand an array to individual values"
Azulinho has quit [Ping timeout: 252 seconds]
<apeiros> >> a = [1,2,3,4]; *x,y,z = *a; x
<eval-in> apeiros => [1, 2] (https://eval.in/161534)
shaquile has joined #ruby
<Hanmac1> you can use "_" as variable name if you want to leave something out of a assignment
spider-mario has joined #ruby
tharindu|away is now known as tharindu
<Hanmac1> apeiros: the second splat is not needed:
<Hanmac1> >> a = [1,2,3,4]; *x,y,z = *a; x
<eval-in> Hanmac1 => [1, 2] (https://eval.in/161537)
<Hanmac1> >> a = [1,2,3,4]; *x,y,z = a; x
<eval-in> Hanmac1 => [1, 2] (https://eval.in/161538)
cjsarette has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
<whyy> Hey
<whyy> require 'objspace
cjsarette has joined #ruby
<shaquile> I'm trying to POST data to a rack-app with Curl. But i'm having difficulties reading it.. req = Rack::Request.new(env), then req.post, or req.body.read.. I can't find the data =/
<whyy> obj = Object.new
<whyy> ObjectSpace::allocation_class_path(obj)
<whyy> That is returning nil
<whyy> any reasons ? Why is that?
<apeiros> whyy: see the example in the docs
<apeiros> seems you need to wrap it in ObjectSpace.trace_object_allocations do
<whyy> apeiros: Oh ok, Let me try
dawkirst has quit [Remote host closed the connection]
<apeiros> though, for me the doc example copy & pasted doesn't work either…
Papipo has joined #ruby
<Papipo> Hi there
ksinkar has joined #ruby
<whyy> aperios: Yes
<whyy> aperios: The example in the docs also returning nil
<apeiros> whyy: my nick is not aperios
<apeiros> use tab completion
<apeiros> I'd post to the mailing list. seems like a bug to me.
<apeiros> (either implementation or documentation - one of them is off)
dawkirst has joined #ruby
<whyy> apeiros: Which version are you using ?
<apeiros> I tested on 2.1.2
cjsarette has quit [Remote host closed the connection]
<whyy> yeah same here
cjsarette has joined #ruby
<isomorphismes> >> [*1..9]; [].push( *(1..9) ); {|x|x+=1} ( *[*1..9] )
<eval-in> isomorphismes => /tmp/execpad-84e1e8ac915e/source-84e1e8ac915e:2: syntax error, unexpected '|', expecting '}' ... (https://eval.in/161539)
yetanotherdave has quit [Ping timeout: 272 seconds]
mehlah has joined #ruby
cHarNe2 has joined #ruby
datafirm has joined #ruby
jprovazn has quit [Quit: Leaving]
<whyy> apeiros: Might be regression in 2.1.2 ? /me verifies on 2.1.1
<isomorphismes> >> [*1..9]; [].push( *(1..9) );
<eval-in> isomorphismes => [1, 2, 3, 4, 5, 6, 7, 8, 9] (https://eval.in/161540)
oo_ has quit [Remote host closed the connection]
<apeiros> maybe. I've dropped 2.1.0 and 2.1.1 from this machine and don't intend to reinstall
dawkirst has quit [Ping timeout: 240 seconds]
<isomorphismes> so is the splat maybe like readline or things that happen in bash (eg ! being intercepted, things needing to be escaped etc) in that splat [*1..6] is expanding [1,2,3,4,5,6] "before" it's written in, whereas (1..6).to_a invokes ruby "more", first creating a range and then coercing it?
<whyy> apeiros: Same with 2.1.1, Doubting whether missed something
<apeiros> whyy: given that the example doesn't work, it's at the very least a documentation bug
datafirm has quit [Ping timeout: 264 seconds]
<apeiros> isomorphismes: no, [*1..6] and (1..6).to_a both create a range first and call to_a on that
yfeldblum has quit [Remote host closed the connection]
<isomorphismes> >> push(*[1,2,3]); push([1,2,3]);
<eval-in> isomorphismes => undefined method `push' for main:Object (NoMethodError) ... (https://eval.in/161541)
oo_ has joined #ruby
cjsarette has quit [Remote host closed the connection]
klaut has joined #ruby
railzForDaiz has quit [Ping timeout: 264 seconds]
cjsarette has joined #ruby
CamonZ has joined #ruby
Zai00 has quit [Quit: Zai00]
<isomorphismes> [].push( *[[[1,2,3]]] ); *(1..10); a,b=[33,55];a;b;[1,_,3]
<isomorphismes> >> [].push( *[[[1,2,3]]] ); *(1..10); a,b=[33,55];a;b;[1,_,3]
<eval-in> isomorphismes => /tmp/execpad-2a4a23af0a8e/source-2a4a23af0a8e:2: syntax error, unexpected ';', expecting :: or '[' or '.' ... (https://eval.in/161542)
<whyy> apeiros: Will Put the same on the mailing list
xjiujiu has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<isomorphismes> thanks apeiros Mon_Ouie Hanmac canton7 . I'm going to give up for now but appreciate the help
Platini has quit [Remote host closed the connection]
<Hanmac> apeiros: [*1..6] does not call to_a perse ...
<Hanmac> >> RubyVM::InstructionSequence.compile("[*1..6]").disasm.lines[1..-1].map(&:squeeze).map(&:chomp)
<eval-in> Hanmac => ["0 trace 1 ( 1)", "02 putobject 1.6", "04 splataray true", "06 leave "] (https://eval.in/161543)
jemendja has joined #ruby
<Hanmac> ups there was "putobject 1..6" but it does squeeze to much ;P
nw has quit [Quit: leaving]
nw has joined #ruby
ctp has quit [Ping timeout: 264 seconds]
jottr_ has joined #ruby
jemendja has left #ruby [#ruby]
toastynerd has joined #ruby
Morkel has quit [Quit: Morkel]
dawkirst has joined #ruby
ctp has joined #ruby
ctp has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karupa is now known as zz_karupa
jottr_ has quit [Ping timeout: 264 seconds]
toastynerd has quit [Ping timeout: 272 seconds]
relix has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
bradhe has joined #ruby
himsin has quit [Quit: himsin]
jprovazn has joined #ruby
<Hanmac> havenwood: huhu did you watch doctor who or AT recently?
xjiujiu has quit [Read error: Connection reset by peer]
tjsousa has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
Azulinho has joined #ruby
yfeldblum has joined #ruby
<yottanami> Is it wrong in case : when "text" || "integer" || "string"
xjiujiu has joined #ruby
havenwood has quit [Remote host closed the connection]
Rojo has quit [Ping timeout: 245 seconds]
ctp has joined #ruby
havenwood has joined #ruby
<Mon_Ouie> It's the same as when "text" because ("text" || "integer" || "string") == "text"
<Mon_Ouie> You probably mean when "text", "integer", "string"
yfeldblu_ has joined #ruby
datafirm has joined #ruby
Takle_ has quit [Remote host closed the connection]
xjiujiu has quit [Read error: Connection reset by peer]
fabrice31 has quit [Remote host closed the connection]
helpa has joined #ruby
yfeldbl__ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
pencilcheck has joined #ruby
chth0n has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
<alexherbo2> Hi
<alexherbo2> How replace last line with 'bar' in 'foo.txt' ?
yfeldblu_ has quit [Ping timeout: 240 seconds]
ponga has quit []
xjiujiu has joined #ruby
Takle_ has joined #ruby
<alexherbo2> I use the last line of the file to puts json data which i want update whenever un run the script.
ponga has joined #ruby
datafirm has quit [Ping timeout: 245 seconds]
ponga has quit [Client Quit]
xjiujiu has quit [Read error: Connection reset by peer]
yfeldbl__ has quit [Ping timeout: 244 seconds]
xjiujiu has joined #ruby
xjiujiu has quit [Read error: Connection reset by peer]
Azure has quit [Quit: Blue Sky Fish]
pencilcheck has quit []
xjiujiu has joined #ruby
ehc has joined #ruby
pencilcheck has joined #ruby
toastynerd has joined #ruby
chth0n has joined #ruby
b1205 has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
ehc has quit [Ping timeout: 272 seconds]
<yottanami> I wrote all_fields.join!("") and I have error undefined method "`join!' for ["title", "string"]:Array" should I write all_fields = all_fields.join(" ") ?
codecop has joined #ruby
xjiujiu has joined #ruby
ash_m has quit [Ping timeout: 246 seconds]
doev has quit [Quit: Verlassend]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
<canton7> sure
yetanotherdave has joined #ruby
<canton7> all of the bang methods which mutate (that I'm aware of) don't change the *type* of the thing being mutated. i.e. none of them take, say, an array, and turn it into a string
<yottanami> canton7: There is no join! ?
<canton7> #join! would do that
railzForDaiz has joined #ruby
<canton7> just like there's no #to_i! or #to_s!
toastynerd has quit [Ping timeout: 245 seconds]
b1205 has quit [Ping timeout: 240 seconds]
<yottanami> canton7: Thanks
AlSquire has joined #ruby
doodlehaus has joined #ruby
Biohazard has joined #ruby
TheKruex has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
railzForDaiz has quit [Ping timeout: 252 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
<Hanmac> canton7: i recently wrote a holder object that when you do "<meth>!" it does "obj = obj.<meth>" internally
ksinkar has quit [Remote host closed the connection]
<canton7> aha! no bad
ksinkar has joined #ruby
railzForDaiz has joined #ruby
yetanotherdave has quit [Ping timeout: 245 seconds]
<apeiros> Hanmac: yes it calls to_a
himsin has joined #ruby
<apeiros> >> a = 1..6; def a.to_a; [:a, :b, :c]; end; [*a]
<eval-in> apeiros => [:a, :b, :c] (https://eval.in/161557)
kiri has quit [Remote host closed the connection]
Papipo has left #ruby [#ruby]
<Hanmac> apeiros: oh then its hidden and optimized in the splatarray function ..
yacks has quit [Remote host closed the connection]
xjiujiu has quit [Read error: Connection reset by peer]
sski has quit [Remote host closed the connection]
sski has joined #ruby
chth0n has quit [Ping timeout: 240 seconds]
tharindu has quit [Quit: Leaving...]
xjiujiu has joined #ruby
zarubin has joined #ruby
TheKruex has quit []
sski has quit [Ping timeout: 240 seconds]
TheKruex has joined #ruby
garndt has joined #ruby
Takle_ has quit [Remote host closed the connection]
flagg0204 has joined #ruby
<Hanmac> canton7: hd=HiddenDelegator.new([1,2,3]) ; hd.inspect #=> [1,2,3] ; hd.class #=> Array; hd.join!; hd.inspect #=> "123" ; hd.class #=> String
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
akonny has joined #ruby
xjiujiu has joined #ruby
tessi_zz is now known as tessi
alem0lars has quit [Quit: Going AFK...]
moritzs has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
senayar has joined #ruby
xjiujiu has quit [Client Quit]
Takle has joined #ruby
railzForDaiz has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
joaoh82 has quit [Remote host closed the connection]
chth0n has joined #ruby
sski has joined #ruby
timonv_ has joined #ruby
Takle_ has joined #ruby
Takle_ has quit [Remote host closed the connection]
mupkoo has joined #ruby
Takle_ has joined #ruby
flagg0204 has quit [Ping timeout: 252 seconds]
Takle has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 252 seconds]
poguez_ has quit [Quit: Connection closed for inactivity]
jottr_ has joined #ruby
yfeldblum has joined #ruby
alem0lars has joined #ruby
dangerou_ has joined #ruby
flagg0204 has joined #ruby
alem0lars has quit [Client Quit]
monkegjinni has joined #ruby
alem0lars has joined #ruby
andikr has quit [Remote host closed the connection]
dangerousdave has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
datafirm has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
yacks has joined #ruby
<MrDoctor> Can I have an array of strings as a property in DataMapper class?
TheKruex has quit [Read error: Connection reset by peer]
TheKruex has joined #ruby
Takle_ has quit [Remote host closed the connection]
datafirm has quit [Ping timeout: 240 seconds]
alexju has joined #ruby
kaspergrubbe has joined #ruby
<Hanmac> MrDoctor: i dont think that would work ... you might need yaml or json or similar for that
<MrDoctor> Okay, Hanmac, thanks
<Hanmac> MrDoctor: normaly it might be used in a m-n connection with TableA has many TableB... there you have a TableAB with is connected with both (like in TableB are the strings and in TableAB only the ids )
vifino has joined #ruby
<MrDoctor> That would do I guess
<MrDoctor> Thanks a lot
ehc has joined #ruby
TheKruex has quit []
lyanchih has quit [Ping timeout: 240 seconds]
fella5s has joined #ruby
vinleod has joined #ruby
kaspergr_ has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
b1205 has joined #ruby
akonny has quit [Quit: akonny]
ehc has quit [Ping timeout: 244 seconds]
kaspergrubbe has quit [Ping timeout: 240 seconds]
tjsousa has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
bbloom_ has joined #ruby
joaoh82 has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has joined #ruby
toastynerd has quit [Ping timeout: 252 seconds]
b1205 has quit [Ping timeout: 264 seconds]
cjsarette has quit [Remote host closed the connection]
bbloom has quit [Ping timeout: 245 seconds]
cjsarette has joined #ruby
fabrice31 has joined #ruby
blackgoat^ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
yetanotherdave has joined #ruby
joaoh82 has quit [Ping timeout: 245 seconds]
bbloom_ has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
DrCode has quit [Remote host closed the connection]
yeticry has quit [Quit: leaving]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
blackgoat^ is now known as blackgoat_
ctp has joined #ruby
whyy has quit [Remote host closed the connection]
maknado has joined #ruby
maknado has left #ruby [#ruby]
blackgoat_ has quit [Quit: Leaving...]
blackgoat_ has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
whyy has joined #ruby
blackgoat^ has joined #ruby
blackgoat has quit [Ping timeout: 276 seconds]
blackgoat_ has quit [Client Quit]
DrCode has joined #ruby
scx_ has quit [Ping timeout: 272 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
blackgoat^ has quit [Client Quit]
scx has joined #ruby
blackgoat has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
newUser1234 has joined #ruby
phutchins has joined #ruby
blackgoat_ has joined #ruby
ctp has quit [Client Quit]
eka has joined #ruby
yetanotherdave has quit [Ping timeout: 244 seconds]
mupkoo has quit []
whyy has quit [Ping timeout: 240 seconds]
timonv_ has quit [Read error: Connection reset by peer]
timonv has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
donnoc has joined #ruby
fella6s has joined #ruby
mijicd has joined #ruby
toretore has joined #ruby
sk87 has joined #ruby
kiri has joined #ruby
ldnunes has joined #ruby
phoo1234567 has joined #ruby
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
fella5s has quit [Quit: Leaving]
subraminion has joined #ruby
gruz0[russia] has joined #ruby
blinkdesign has quit [Remote host closed the connection]
Takle_ has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
Notte has quit [Remote host closed the connection]
joaoh82 has joined #ruby
Morkel has joined #ruby
Takle has joined #ruby
mostlybadfly has joined #ruby
_justin has quit [Quit: _justin]
lkba has joined #ruby
Xeago has quit [Remote host closed the connection]
Takle_ has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
donnoc has quit [Ping timeout: 272 seconds]
yottanami has quit [Remote host closed the connection]
jxf has joined #ruby
<linduxed> hey guys
<linduxed> if i see something like this:
<linduxed> Foobar.new(* )
<linduxed> i react in two ways:
<linduxed> 1. WTF
<linduxed> 2. What does that even mean?
<linduxed> i'm wondering if someone could answer number 2
jespada has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
timonv_ has joined #ruby
<linduxed> i know of splatting arguments
<linduxed> but this isn't splatting anything, or so at least i think
<workmad3> >> Object.new(* )
<eval-in> workmad3 => /tmp/execpad-98cfdba2c828/source-98cfdba2c828:2: syntax error, unexpected ')' (https://eval.in/161567)
<workmad3> linduxed: syntax error ;)
Takle has quit [Remote host closed the connection]
<linduxed> hmmm, pretty much what i thought
lxsameer has quit [Quit: Leaving]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
<apeiros> linduxed: foo(*) is illegal. def foo(*) on the other hand is legal.
<apeiros> are you *sure* it's Foobar.new(*)?
timonv has quit [Ping timeout: 244 seconds]
<linduxed> apeiros: yes
<linduxed> apeiros: and i'm thinking that this code is simply never run
<LadyRainicorn> What does def foo(*) do?
<apeiros> the whole file. it'd be a syntax error
<linduxed> apeiros: hmmm, yeah true
<apeiros> LadyRainicorn: accept an arbitrary number of arguments and ignore them all
<LadyRainicorn> Huh that is neat.
<apeiros> foo(a, b, *) works too
Takle has joined #ruby
<LadyRainicorn> Can you def foo(a, ,c)?
<apeiros> no
<apeiros> linduxed: you can paste the source and highlight the line?
akonny has joined #ruby
<linduxed> hmmm, actually this was apparently only a non-committed buffer on one of my colleagues screens
<linduxed> i checked out the repo and found that there was a variable right after the splat operator
<linduxed> so it's actually syntactically legal
<linduxed> just not on his computer
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
doodlehaus has quit [Remote host closed the connection]
yeticry has joined #ruby
<apeiros> :-p
<apeiros> well, yes… code in writing is sometimes syntactically invalid. news at 11 ;-)
<linduxed> yeah my thought was kind of "never seen this stuff before, wth is this
<linduxed> "
<linduxed> but anyway, that got figured out
moritzs has joined #ruby
<apeiros> ^^
yalue has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
whyy has joined #ruby
datafirm has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
fella6s has quit [Read error: Connection reset by peer]
<apeiros> and there, I was already rejoicing… https://github.com/muesli/netatmo-ruby
arturaz has joined #ruby
arturaz has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
akonny has quit [Quit: akonny]
datafirm has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
blinkdesign has joined #ruby
timonv_ has quit [Remote host closed the connection]
oponder has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
ehc has joined #ruby
benzrf|offline is now known as benzrf
fella5s has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
blinkdesign has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
toastynerd has joined #ruby
cjsarette has joined #ruby
balazs has joined #ruby
ehc has quit [Ping timeout: 245 seconds]
MrDoctor has quit [Remote host closed the connection]
robertodecurnex has joined #ruby
MrDoctor has joined #ruby
balazs has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 272 seconds]
mark_locklear has joined #ruby
oo_ has quit [Remote host closed the connection]
Xeago has joined #ruby
cjsarette has quit [Remote host closed the connection]
oo_ has joined #ruby
codydh has joined #ruby
cjsarette has joined #ruby
toastynerd has quit [Ping timeout: 264 seconds]
MrDoctor has quit [Ping timeout: 240 seconds]
oponder has quit []
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
GriffinHeart has quit [Remote host closed the connection]
diegoviola has joined #ruby
MrDoctor has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
blackgoat_ has quit [Quit: Leaving...]
<whyy> Hi
cjsarette has quit [Remote host closed the connection]
lolmaus has joined #ruby
<whyy> In this file, Does anybody have idea as to what this struct does ?
<whyy> static struct traceobj_arg *tmp_trace_arg;
cjsarette has joined #ruby
relix_ has joined #ruby
GoodTimes has joined #ruby
relix has quit [Ping timeout: 240 seconds]
yetanotherdave has joined #ruby
godd2 has joined #ruby
<godd2> morning, all
emsilva has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
joaoh82 has quit []
<diegoviola> hi
cjsarette has quit [Remote host closed the connection]
soulcake has quit [*.net *.split]
Guest3499 has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
barratt has quit [*.net *.split]
netf has quit [*.net *.split]
timfoo has quit [*.net *.split]
tsunamie has quit [*.net *.split]
Deele has quit [*.net *.split]
rotor has quit [*.net *.split]
psmolen has quit [*.net *.split]
GoodTimes has quit [Ping timeout: 240 seconds]
cjsarette has joined #ruby
psmolen has joined #ruby
rotor has joined #ruby
sinkensabe has joined #ruby
timonv has joined #ruby
blackmesa has joined #ruby
lyanchih has joined #ruby
<benzrf> hows it goin m8
subraminion has quit [Quit: Computer has gone to sleep.]
dblessing has joined #ruby
kies has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
<godd2> just workin on getting Ruby to programmatically play arbitrary audio
timonv has quit [Remote host closed the connection]
sdegutis has joined #ruby
<sdegutis> Is it possible to compare ranges without enumerating their "contents"?
timonv has joined #ruby
<canton7> compare their beginnings and ends?
<sdegutis> I'd like to compare that x == 2..Float::INFINITY, but it goes into an infinite loop.
<sdegutis> Hmm, yeah, but also their inclusivity type.
<benzrf> sdegutis: .include?
<benzrf> >> (2..Float::INFINITY).include? 3
<eval-in> benzrf => true (https://eval.in/161582)
<sdegutis> benzrf: I'm comparing another range.
timonv has quit [Remote host closed the connection]
badhatter has joined #ruby
<benzrf> sdegutis: o
<benzrf> define your own method for it :u
bmurt has joined #ruby
<benzrf> >> (2..Float::INFINITY).last
<eval-in> benzrf => Infinity (https://eval.in/161583)
<benzrf> >> (2..Float::INFINITY).first
<eval-in> benzrf => 2 (https://eval.in/161584)
mupkoo has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
<sdegutis> All I need now is a method to determine the type of the range.
<sdegutis> And to figure out how to create custom expectations in RSpec 3
bmurt has quit [Client Quit]
<benzrf> >> class Range; def == other; other.first == first and other.last == last; end; end; (2..Float::INFINITY) == (2..Float::INFINITY)
<benzrf> >> class Range; def == other; other.first == first and other.last == last; end; end; (2..Float::INFINITY) == (2..Float::INFINITY)
<eval-in> benzrf => true (https://eval.in/161585)
<sdegutis> benzrf: oh man, that would break so many things
<canton7> sdegutis, #exclude_end?
bradhe has quit [Ping timeout: 272 seconds]
<sdegutis> Yep thanks.
<godd2> benzrf isn't Range#== already defined that way?
<sdegutis> godd2: All I know is that in RSpec 3, expect{range}.to eq 2..Float::INFINITY goes into an infinite loop
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sdegutis> godd2: return rb_exec_recursive_paired(recursive_equal, range, obj, obj);
cjsarette has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
<sdegutis> So no.
bmurt has joined #ruby
cjsarette has joined #ruby
<workmad3> sdegutis: you could use the overlaps? method from ActiveSupport...
<benzrf> sdegutis: how many thinks would it br8k
<sdegutis> Thanks but I am not going to pull in ActiveSupport for this.
<workmad3> sdegutis: you don't need to pull in activesupport... the method is a 1-liner
himsin has quit [Quit: himsin]
<sdegutis> I have a good equality implementation, now just need to research how to make a custom RSpec 3 matcher.
<workmad3> sdegutis: did you try 'expect(range).to == 2..Float::INFINITY' too?
shevy has joined #ruby
kpshek has joined #ruby
sinkensabe has quit [Remote host closed the connection]
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
<godd2> Doesn't rspec use == if it's defined for the object? http://rubydoc.info/gems/rspec-expectations/2.4.0/RSpec/Matchers#eq-instance_method
dawkirst has quit [Remote host closed the connection]
alexju has quit [Ping timeout: 240 seconds]
<sdegutis> workmad3: nope lemme try
<sdegutis> I thought I had to use eq
<sdegutis> The == didn't work and I forgot why.
cjsarette has quit [Remote host closed the connection]
<workmad3> sdegutis: hmm... actually, eq should be using ==
<workmad3> sdegutis: so if you've overridden that, you should be good...
cjsarette has joined #ruby
<sdegutis> >> 2..Float::INFINITY == 2..Float::INFINITY
<eval-in> sdegutis => /tmp/execpad-467001ae6d08/source-467001ae6d08:2: syntax error, unexpected .. ... (https://eval.in/161591)
<godd2> oh looks like they changed it for rspec 3
<sdegutis> >> (2..Float::INFINITY) == (2..Float::INFINITY)
<eval-in> sdegutis => true (https://eval.in/161592)
<sdegutis> Oh how nice.
<workmad3> >> a = (2..Float::INFINITY); b = (2..Float::INFINITY); a == b
<eval-in> workmad3 => true (https://eval.in/161595)
<workmad3> >> a = (2..Float::INFINITY); b = (2..Float::INFINITY); a.object_id == b.object_id
<eval-in> workmad3 => false (https://eval.in/161596)
<workmad3> ok, looks like ruby is handling it then :)
<sdegutis> So it shouldn't be infinitely looping. Must be an RSpec bug.
<workmad3> >> a = (2..Float::INFINITY); b = (3..Float::INFINITY); a.object_id == b.object_id
<sdegutis> le Sigh.
<eval-in> workmad3 => false (https://eval.in/161598)
urinal-cake has joined #ruby
<workmad3> sdegutis: btw, any reason you did expect{} instead of expect() ?
<sdegutis> Time to return a two-element array instead of a range from my API to work around RSpec.
<sdegutis> workmad3: typo, I really did ()
dblessing has quit [Read error: Connection reset by peer]
dblessing has joined #ruby
<workmad3> sdegutis: hmm... 'expect(2..Float::INFINITY).to eq(2..Float::INFINITY)' works fine in my rspec...
<urinal-cake> Hi there, if time permits I'd appreciate it if someone took a look at my apache config: https://gist.github.com/urinal-cake/884be992feb3f78d8b5c I'm trying to use rvm to upgrade Ruby on my server for the Ruby app Redmine (http://redmine.org) Here are the steps I took: https://gist.github.com/urinal-cake/884be992feb3f78d8b5c#file-gistfile2-txt and the result: http://jsbin.com/goriyiye/1/
<urinal-cake> I've spoke with the rvm, redmine and passenger devs so far
akonny has joined #ruby
spyderman4g63 has joined #ruby
yacks has quit [Ping timeout: 264 seconds]
doev has joined #ruby
dawkirst has joined #ruby
<shevy> /usr/local/rvm/gems/ruby-1.9.3-p547/gems/json-1.8.1/lib/json/ext/parser.so: [BUG] Segmentation fault
<shevy> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
<shevy> looks awful
qba73 has quit []
<shevy> why is it saying 1.8.7 when you run 1.9.3
<urinal-cake> That's what I was trying to figure out :/
obs has quit [Read error: Connection reset by peer]
<sdegutis> workmad3: hmmmm
linojon has joined #ruby
<urinal-cake> ruby -v and which ruby both showed 1.9.3
obs has joined #ruby
adantj has joined #ruby
paulfm has joined #ruby
<shevy> I am on ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
<shevy> but straight compile from source, no rvm
Xuerian has joined #ruby
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
xaxisx has joined #ruby
blinkdesign has joined #ruby
Ankhers has joined #ruby
doodlehaus has joined #ruby
dseitz has joined #ruby
<urinal-cake> thanks shevy, i'll try an upgrade without rvm
sailias has joined #ruby
why_away has joined #ruby
<shevy> I think one big problem is that you don't get a backtrace
whyy has quit [Read error: Connection reset by peer]
kwd_ has joined #ruby
akonny has quit [Quit: akonny]
<shevy> if I run into a segfault on linux from the commandline, I get a long report
cjsarette has quit [Remote host closed the connection]
<shevy> showing which libraries are called an so forth
<shevy> *and so forth
cocotton has joined #ruby
<workmad3> urinal-cake: did you take a look at this file? /usr/local/rvm/gems/ruby-1.9.3-p547/wrappers/ruby
<urinal-cake> i have not
cjsarette has joined #ruby
<workmad3> urinal-cake: I wonder if that's actually acting as a wrapper for the system ruby...
<sdegutis> Ugh if only this were Swift
<urinal-cake> lolol
lw_ has quit [Quit: s]
phinfonet has joined #ruby
<sdegutis> Ooooh, I bet it's the printing of it that's going awry.
<urinal-cake> looking at it now workmad3
<workmad3> sdegutis: hahah :D
<sdegutis> I bet it's trying to do to_s on it
BizarreCake has joined #ruby
monkegjinni has joined #ruby
kwd has quit [Ping timeout: 264 seconds]
kwd_ is now known as kwd
<sdegutis> Or trying to unwind it maybe..
newUser1_ has joined #ruby
taybin has joined #ruby
<workmad3> sdegutis: just did a failing range test...
<workmad3> sdegutis: it tries to diff the elements...
NET||abuse has quit [Quit: WeeChat 0.4.2]
NET||abuse has joined #ruby
tesuji has quit [Ping timeout: 244 seconds]
gregf has quit [Ping timeout: 252 seconds]
<sdegutis> LOL yeah that's it then.
<sdegutis> Oh well, I just made my test pass and it works fine.
<sdegutis> Kinda sucks, but just nobody break this test.
timonv has joined #ruby
<workmad3> sdegutis: wrap it in a Timeout?
<sdegutis> dunno how
timonv has quit [Remote host closed the connection]
nateberkopec has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
robert_ has left #ruby ["Connection reset by traffic clause."]
gregf has joined #ruby
Azulinho has quit [Ping timeout: 240 seconds]
<codydh> Hello! I'm new to Ruby/Rails. Followed this http://guides.rubyonrails.org/getting_started.html basically substituting "articles" for "users" to connect to an already-existing database with about 20 columns. My models/user.rb only specifies "firstname" and "lastname," yet somehow in one of my views I'm able to access other columsn in the MySQL table. Does this mean my
<codydh> models/user.rb isn't doing anything?
chilimac has joined #ruby
almostwhitehat has joined #ruby
sski has quit [Remote host closed the connection]
<workmad3> sdegutis: begin; timeout(1) { expect(...) }; rescue Timeout::Error; fail "Range was not equal"; end
<workmad3> sdegutis: or something along those lines
monkegjinni has quit [Ping timeout: 244 seconds]
niharvey|out is now known as niharvey
<shevy> codydh problem is that it is a rails question, the rails folks are on #rubyonrails
sski has joined #ruby
fella5s has quit [Read error: Connection reset by peer]
<codydh> shevy: Aah, sorry! Thanks!
<workmad3> sdegutis: you might need to do 'require "timeout" ' before that in your spec_helper.rb
Notte has joined #ruby
<sdegutis> workmad3: woot thanks
<shevy> if it is a question about core ruby then people here can help, but I am not familiar with model-view-mysql environments
<workmad3> sdegutis: and I'm only assuming 'fail' works... I think it does :)
<shevy> so even when they have the best intention, they still could not help because they do not understand the problem domain fully
datafirm has joined #ruby
<shevy> workmad3 are your projects on rubygems.org?
steveelsewhere has joined #ruby
codecop has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
<workmad3> shevy: no
tier has joined #ruby
<shevy> :(
<steveelsewhere> hey does anyone use gems for joining separate modules of their own app? I'm looking for some workflow advice
<workmad3> sdegutis: ah, it works fine for me :)
<shevy> I would not call them app
xaxisx has quit [Quit: xaxisx]
<shevy> but I use many different gems steveelsewhere
diegoviola has quit [Remote host closed the connection]
<steveelsewhere> I have a couple of git repos that are pulled in as gems
joaoh82 has joined #ruby
<shevy> good!
cjsarette has quit [Remote host closed the connection]
xaxisx has joined #ruby
<shevy> hmm
<shevy> but not via "gem install" right?
<steveelsewhere> bundler
pvb has quit [Quit: Leaving]
cjsarette has joined #ruby
<shevy> yeah as I suspected hehehe
<shevy> the rubygems bin/gem wrapper does not by default like non rubygems.org sources
<steveelsewhere> so the current workflow is https://gist.github.com/stevepereira/55a00be8bcc9b3978a69
sski has quit [Ping timeout: 240 seconds]
<shevy> whereas bundler does not seem to care much
diegoviola has joined #ruby
<workmad3> sdegutis: also, I managed to run the test fine on my machine with a timeout of 0.01, which will trigger a test failure quicker in that circumstance :)
<shevy> it's a big division IMO really... just as workmad3 surely uses github... but not rubygems.org :(
andrewhl has joined #ruby
chilimac has left #ruby [#ruby]
<workmad3> shevy: the gem command line is perfectly happy to use things other than rubygems.org
<shevy> it looks more like a bundler workflow
<workmad3> shevy: but it does require a rubygems compatible gem repository
<shevy> workmad3 yeah but users must add the remote source
<shevy> I estimate 99% of the users will fail at that haha
<workmad3> shevy: which is fair enough... rubygems is a package manager
<sdegutis> Thanks.
<steveelsewhere> I'm just wondering if there's a simpler workflow or a tool to reduce those steps
<steveelsewhere> I think my answer is to write rake tasks for it all
<workmad3> shevy: bundler is more of a provisioner though... you tell bundler "in order to work, I need X from here, Y from there and Z from whereever you can find it" and it goes away and sorts stuff out for you :)
<shevy> I guess you need a git expert here
jottr_ has quit [Ping timeout: 264 seconds]
<steveelsewhere> I've checked with #git =]
kies has joined #ruby
<shevy> workmad3 well that is actually a feature that gem itself lacks :(
<shevy> or perhaps lacks is too strong a word
<shevy> it doesn't make it convenient enough
<steveelsewhere> I investigated subtrees but nobody in #git seemed to use them
NukePuppy has joined #ruby
<workmad3> shevy: it's a feature that is part of a provisioner, not a package manager
RubyPanther has quit [Ping timeout: 260 seconds]
<shevy> ok then I suggest to replace gem with bundler completely
spyderman4g63 has quit []
netf has joined #ruby
<workmad3> shevy: bundler is written on top of gem though
Caius has joined #ruby
sski has joined #ruby
<shevy> we could create a third project to replace BOTH! :)
soulcake has joined #ruby
<workmad3> shevy: :P
Deele has joined #ruby
peckermanzzz has joined #ruby
danijoo_ has quit [Read error: Connection reset by peer]
barratt has joined #ruby
<workmad3> steveelsewhere: it does kinda sound like you've got something that matches a pretty typical bundler Gemfile...
tsunamie has joined #ruby
danijoo has joined #ruby
<workmad3> steveelsewhere: list your gems as git repos in your gemfile with 'gem "gem-name", github: "user/repo" ' and then just 'bundle install' and 'bundle update'
timfoo has joined #ruby
<workmad3> steveelsewhere: to get them down and update the recorded ref that's in use
ehc has joined #ruby
SCommette has joined #ruby
sdouglas has joined #ruby
ayaz has quit [Ping timeout: 244 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
sdegutis has left #ruby [#ruby]
akonny has joined #ruby
<steveelsewhere> is there a rake module or some extension that is built to interact with bundler and gems?
pencilcheck has quit [Ping timeout: 264 seconds]
<workmad3> shevy: btw, my 'stuff' isn't on rubygems.org mostly because the majority of what I do isn't really gems, and when I do create gems they tend to be private code, so I store them in private github and bitbucket repos and use bundler to install them
pencilcheck has joined #ruby
<workmad3> steveelsewhere: interact in what way?
b1205 has joined #ruby
<steveelsewhere> update gemfiles and lockfiles when I have a branch scenario, etc
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jerius has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
<workmad3> steveelsewhere: well, if you had those sub-gems checked out into different directories, rather than subdirectories of the main project (which seems somewhat weird), you can easily use https://coderwall.com/p/tqdrhq
donnoc has joined #ruby
nemesit|znc has quit [Max SendQ exceeded]
toastynerd has joined #ruby
ehc has quit [Ping timeout: 240 seconds]
nemesit|znc has joined #ruby
apearce has joined #ruby
<workmad3> steveelsewhere: then to switch branch, you'd alter the branch in your checkout... and it wouldn't update the Gemfile.lock until you'd made sure it was fine and run a 'bundle update' iirc
<steveelsewhere> hmm
doev has quit [Ping timeout: 252 seconds]
datafirm has quit [Ping timeout: 240 seconds]
doev has joined #ruby
akonny has quit [Client Quit]
<steveelsewhere> the problem then becomes everything but local dev
nemesit|znc has quit [Max SendQ exceeded]
nemesit|znc has joined #ruby
toastynerd has quit [Ping timeout: 252 seconds]
The_NetZ has joined #ruby
<shevy> hehe
<The_NetZ> hello. how would one go about compling ruby with debugging symbols for gdb?
jrhorn424 is now known as zz_jrhorn424
RubyPanther has joined #ruby
Channel6 has joined #ruby
tessi is now known as tessi_zz
djcp has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
OffTheRails has joined #ruby
<godd2> workmad3: rspec does indeed attempt a diff when an expectation is not met. line 27: https://github.com/rspec/rspec-expectations/blob/master/lib/rspec/expectations/fail_with.rb
kevind has joined #ruby
badhatter has quit [Quit: Lost terminal]
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
badhatter has joined #ruby
cocotton has quit [Remote host closed the connection]
sk87 has joined #ruby
doev has quit [Quit: Verlassend]
bradhe has joined #ruby
thesheff17 has joined #ruby
kilk_ has quit [Quit: kilk_]
lyanchih has quit [Quit: lyanchih]
<phutchins> anyone know anything that can be used in rails to loop through pages after a given time? I have a few dashboards that i want it to show for 30 seconds each...
ehc has joined #ruby
<phutchins> I've used sinatra_cyclist for sinatra but moving the project into rails...
apearce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
b1205 has quit [Ping timeout: 244 seconds]
stantona has joined #ruby
why_away has quit [Ping timeout: 244 seconds]
bradhe has quit [Ping timeout: 240 seconds]
<apeiros> phutchins: #ror
setra has joined #ruby
jherbst has joined #ruby
ephemerian has quit [Ping timeout: 264 seconds]
yetanotherdave has joined #ruby
tjsousa has joined #ruby
MZAWeb has joined #ruby
ehc has quit [Ping timeout: 252 seconds]
thesheff17 has quit [Ping timeout: 240 seconds]
shime has quit [Remote host closed the connection]
cocotton has joined #ruby
b1205 has joined #ruby
<shevy> hehe
djcp has left #ruby ["WeeChat 0.4.3"]
Zenigor has joined #ruby
stantona has quit [Remote host closed the connection]
lw has joined #ruby
fella5s has joined #ruby
cjsarette has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
cjsarette has joined #ruby
doev has joined #ruby
Zenigor has quit [Client Quit]
apearce has joined #ruby
Zenigor has joined #ruby
chipotle has joined #ruby
hermanmunster has joined #ruby
t0rc has joined #ruby
Takle has quit [Remote host closed the connection]
t0rc has left #ruby [#ruby]
northfurr has joined #ruby
cjsarette has quit [Remote host closed the connection]
Zai00 has joined #ruby
maximski has joined #ruby
cjsarette has joined #ruby
Notte has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
SCommette has quit [Quit: SCommette]
blackmesa has quit [Ping timeout: 244 seconds]
yetanotherdave has quit [Ping timeout: 245 seconds]
kitak has quit [Remote host closed the connection]
noop has quit [Ping timeout: 264 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kitak has joined #ruby
diegoviola has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
senayar has quit [Remote host closed the connection]
silkfox has joined #ruby
cjsarette has quit [Remote host closed the connection]
subraminion has quit [Read error: Connection reset by peer]
senayar has joined #ruby
Azulinho has joined #ruby
subraminion_ has joined #ruby
apearce has quit []
cjsarette has joined #ruby
<godd2> workmad3: I submitted an issue and a proposed fix for it: https://github.com/rspec/rspec-expectations/issues/577
apearce has joined #ruby
ehc has joined #ruby
cocotton has quit [Remote host closed the connection]
m_3 has quit [Remote host closed the connection]
bee_keeper has joined #ruby
mikesplain has joined #ruby
jmurray has joined #ruby
mattstratton has joined #ruby
sk87 has joined #ruby
alexju has joined #ruby
b1205 has quit [Ping timeout: 240 seconds]
apearce is now known as eluvium
chipotle has quit [Quit: cya]
Channel6 has quit [Quit: Leaving]
cjsarette has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
cjsarette has joined #ruby
fschuindt has joined #ruby
Takle has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
silkfox has quit [Ping timeout: 245 seconds]
joaoh82 has quit [Remote host closed the connection]
hpoydar has joined #ruby
hamakn has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
combusean has joined #ruby
ericboehs has quit [Ping timeout: 245 seconds]
gomikemike_ZZz is now known as gomikemike
BizarreCake has quit [Read error: Connection reset by peer]
doev has quit [Quit: Verlassend]
cpruitt has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
cjsarette has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
silkfox has joined #ruby
cjsarette has joined #ruby
bricker`LA has joined #ruby
Xeago_ has joined #ruby
tvw has quit []
michaelchum has joined #ruby
joaoh82 has joined #ruby
lemur has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
subraminion_ has quit [Quit: Lingo - http://www.lingoirc.com]
oo_ has quit [Remote host closed the connection]
snath has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
tobago has quit [Remote host closed the connection]
mary5030 has joined #ruby
senayar has quit [Remote host closed the connection]
combusean has quit [Quit: Leaving.]
freerobby has joined #ruby
version is now known as ver
ffranz has joined #ruby
cocotton has joined #ruby
ksinkar has quit [Quit: Konversation terminated!]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
hpoydar has quit [Remote host closed the connection]
asteve has joined #ruby
treehug88 has joined #ruby
datafirm has joined #ruby
robertodecurnex has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
pvb has joined #ruby
SCommette has joined #ruby
tagrudev has quit [Remote host closed the connection]
phrozen77 has joined #ruby
phrozen77 has quit [Changing host]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
toastynerd has joined #ruby
spectri has joined #ruby
charliesome has joined #ruby
senayar has joined #ruby
hiyosi has joined #ruby
ericboehs has joined #ruby
bluenemo has quit [Quit: Verlassend]
lemur has quit [Remote host closed the connection]
newUser1_ has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
cjsarette has quit [Remote host closed the connection]
robertodecurnex has joined #ruby
andrewhl has quit [Quit: andrewhl]
cjsarette has joined #ruby
jeregrine has joined #ruby
toastynerd has quit [Ping timeout: 252 seconds]
lemur has joined #ruby
bradhe has joined #ruby
ixti has joined #ruby
northfurr has quit [Quit: northfurr]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
datafirm has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
cjsarette has quit [Remote host closed the connection]
alexpresnyakov has joined #ruby
cjsarette has joined #ruby
Zenigor has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 245 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
<The_NetZ> rubyw.exe runs ruby scripts without opening a command prompt, correct?
cjsarette has quit [Remote host closed the connection]
slap_stick has joined #ruby
Zenigor has joined #ruby
cjsarette has joined #ruby
apeiros has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby
kwd_ has joined #ruby
kwd_ has quit [Client Quit]
apeiros has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
kwd has quit [Read error: Connection reset by peer]
dawkirst has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 264 seconds]
relix has joined #ruby
hpoydar has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
iamayam has quit [Ping timeout: 276 seconds]
SCommette has quit [Quit: SCommette]
tkuchiki has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
slap_stick has quit [Quit: Page closed]
cjsarette has quit [Remote host closed the connection]
tkuchiki_ has quit [Ping timeout: 244 seconds]
maximski has quit []
apeiros has quit [Ping timeout: 264 seconds]
cjsarette has joined #ruby
jrhorn424 is now known as zz_jrhorn424
aganov has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
geggam has joined #ruby
dawkirst has joined #ruby
yetanotherdave has joined #ruby
eluvium has quit [Ping timeout: 272 seconds]
cjsarette has quit [Remote host closed the connection]
iamayam has joined #ruby
cjsarette has joined #ruby
aantix has joined #ruby
benzrf is now known as benzrf|offline
Tamae has joined #ruby
fresham has joined #ruby
<shevy> The_NetZ I think so
avril14th has joined #ruby
cjsarette has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
alem0lars has quit [Quit: Going AFK...]
cjsarette has joined #ruby
momomomomo has quit [Quit: momomomomo]
doev has joined #ruby
joonty has quit [Quit: WeeChat 0.4.2]
toastynerd has quit [Remote host closed the connection]
yetanotherdave has quit [Ping timeout: 244 seconds]
tessi_zz is now known as tessi
sambao21 has joined #ruby
mikespla_ has joined #ruby
hamakn has joined #ruby
joaoh82 has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
Takle has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
jprovazn is now known as jprovazn_afk
hpoydar has quit [Remote host closed the connection]
heftig has joined #ruby
Rollabunna has quit [Remote host closed the connection]
DouweM has joined #ruby
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
Jnco has joined #ruby
tkuchiki has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
cjsarette has joined #ruby
tier has quit [Remote host closed the connection]
arrubin has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
moritzs has joined #ruby
acrussell has joined #ruby
MatthewsFace has joined #ruby
tkuchiki has joined #ruby
yfeldblum has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
benzrf|offline is now known as benzrf
tier has joined #ruby
sski has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
donnoc has quit [Ping timeout: 245 seconds]
sski has joined #ruby
snath has joined #ruby
phantasm66 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
diegoviola has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
combusean has joined #ruby
jj_ has joined #ruby
mikespla_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
mikesplain has joined #ruby
tkuchiki has quit [Remote host closed the connection]
avril14th has quit [Quit: Page closed]
MatthewsFace has quit [Quit: This computer has gone to sleep]
codydh has quit [Quit: Lingo - http://www.lingoirc.com]
sski has quit [Ping timeout: 252 seconds]
Macaveli has quit [Ping timeout: 252 seconds]
subraminion has joined #ruby
mupkoo has quit [Remote host closed the connection]
maestrojed has joined #ruby
<jj_> hi, i remember that from ruby 1.9 there is a method to do something with the returned value of a call, but i cannot find it... something like rails's .try method... i need to call "var = foo.bar.zoo" and bar could return nil, i'd like to avoid doing "baz = foo.bar ; var = baz && baz.zoo"
boris has joined #ruby
<canton7> there's a gem called andand :P
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
<benzrf> canton7++
<jj_> canton7: I'm building a gem, I'd like to depend on as few gems as possible :)
<benzrf> jj_: you could roll your own
Takle has joined #ruby
monkegjinni has quit [Ping timeout: 264 seconds]
<banister> jj_ it's .try
<benzrf> .try?
<benzrf> >> 3.try.times
<eval-in> benzrf => undefined method `try' for 3:Fixnum (NoMethodError) ... (https://eval.in/161696)
<banister> benzrf rails method :)
moritzs has quit [Ping timeout: 264 seconds]
<lemur> activesupport
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codabrink has quit [Ping timeout: 252 seconds]
donnoc has joined #ruby
<benzrf> banister: jj_ specifically mentioned try
<benzrf> do u even read bro
SBoolean has joined #ruby
<jj_> banister: that's activesupport's method, also it returns nil if the method doesn't exisy :)
<jj_> exist*
workmad3 has joined #ruby
datafirm has joined #ruby
cjsarette has quit [Remote host closed the connection]
<banister> jj_ so you're looking for something exaclty like #try but that's baked into ruby itself? there's nothing like it
cjsarette has joined #ruby
<jj_> benzrf: yeah, defining a method for this is plan B
charliesome has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Takumo is now known as omuaT
<benzrf> jj_: should be quite simple
fabrice31 has quit [Remote host closed the connection]
codabrink has joined #ruby
sputnik13 has joined #ruby
<benzrf> class Object; def andand; self; end; end; class Proxy; def method_missing(*args); nil; end; end; class NilClass; def andand; Proxy.new; end; end;
<benzrf> >> class Object; def andand; self; end; end; class Proxy; def method_missing(*args); nil; end; end; class NilClass; def andand; Proxy.new; end; end; nil.andand.foo
<eval-in> benzrf => nil (https://eval.in/161697)
GoodTimes has joined #ruby
<benzrf> >> class Object; def andand; self; end; end; class Proxy; def method_missing(*args); nil; end; end; class NilClass; def andand; Proxy.new; end; end; 3.andand.+ 4
<eval-in> benzrf => 7 (https://eval.in/161698)
<lemur> or just yank the code
Takle has quit [Remote host closed the connection]
<benzrf> >> class Object; def andand; self; end; end; class Proxy; def method_missing(*args); nil; end; end; class NilClass; def andand; Proxy.new; end; end; nil.andand.+ 4
<eval-in> benzrf => nil (https://eval.in/161699)
kireevco has joined #ruby
sambao21 has joined #ruby
<benzrf> jj_: ;)
cocotton has quit [Remote host closed the connection]
<jj_> banister: mm.. I was sure there was from 1.9 :\ or maybe i'm confused with another one, not returning the value, something like: foo.bar.method {|p| puts p }.baz..... which I also don't remember the name, lol :)
Rojo has joined #ruby
<canton7> jj_, #tap ?
<jj_> yes :)
<DouweM> that sounds like #tap, but that's different from what you mentioned before
<banister> jj_ tap returns the receiver, whereas you want the result of the block dont u?
subraminion has quit [Remote host closed the connection]
<jj_> yes.. I guess I was just confused
<lemur> pipeable
<jj_> thank you all :)
sdouglas has joined #ruby
nitish has joined #ruby
cocotton has joined #ruby
<lemur> all of 5 lines
subraminion has joined #ruby
Takle has joined #ruby
<lemur> 1.pipe { |i| i + 5 } # => 6
sdouglas has quit [Remote host closed the connection]
datafirm has quit [Quit: Computer has gone to sleep.]
thesheff17 has joined #ruby
<banister> lemur if you comebine pipeable with funkify you can get: 1.pipe(&add(2)) #=> 3 "hello".pipe(&print)
IceDragon has joined #ruby
<DouweM> what's the difference between that and parentheses around the experession?
datafirm has joined #ruby
aantix has quit [Quit: aantix]
<banister> DouweM parameters flow from the left
<Jnco> hey guys , is there a channel where I can find folks for freelance work?
<DouweM> yeah I guess that's useful instead of having a hundred open parentheses on the left
<lemur> #google
<lemur> freelancer and some other sites are in the first few results
TheKruex has joined #ruby
<Jnco> uhmm
<lemur> banister - could. Pipeable was a 10 minute hack gem
<banister> lemur i always found it weird that monadic composition is left to right, but function composition is right to left
<banister> composition via >>= anyway
<lemur> yeah, haskell
<banister> i know there's some weird function you can use to compose monads from left to right, something like >=> or god knows what
qwyeth has joined #ruby
<banister> benzrf probably knows
<banister> form right to left8
<benzrf> :-O
<lemur> or we could ask on #haskell
<benzrf> banister: to compose kleisli arrows left to right, use (>=>)
<benzrf> banister: (.) is right-to-left because that's math notation
<lemur> or find where bitemyapp hides
datafirm has quit [Client Quit]
mg^^ has quit [Quit: Leaving]
<Mon_Ouie> You can use (<=<) as well though
Ankhers has quit [Remote host closed the connection]
<benzrf> (>>=) is probably left-to-right so that do-notation is a more direct translation
lw has quit [Quit: s]
yacks has joined #ruby
Fraeon has quit [Quit: Lost terminal]
datafirm has joined #ruby
<Mon_Ouie> As well as (=<<)
<benzrf> but i have observed sentiments on #haskell that (=<<) should be the method and (>>=) the function
<benzrf> really, join should be ;)
apearce has joined #ruby
treehug88 has quit [Ping timeout: 272 seconds]
jobewan has joined #ruby
Ankhers has joined #ruby
bradhe has joined #ruby
treehug88 has joined #ruby
andrewjanssen has joined #ruby
<banister> benzrf Mon_Ouie is only 15 and he's doing a PhD in category theory
combusean has quit [Quit: Leaving.]
<benzrf> !!!
<benzrf> Mon_Ouie: is that true???
datafirm has quit [Ping timeout: 255 seconds]
sdelmore1 has joined #ruby
shenk has quit [Read error: No route to host]
<lemur> benzrf is younger too, right?
<Mon_Ouie> benzrf: The first of those statement has been true for several years!
<benzrf> Mon_Ouie: you've been 15 for several years eh
<benzrf> lemur: i 17
<lemur> thought it was somewhere around there or 16
<sdelmore1> Does Ruby have built in time period classes? I have a lot of code with (startdate, enddate) that smells like a missing TimePeriod class but I didn't want to re-invent the wheel if one already exists.
<Mon_Ouie> benzrf: Indeed. Like, 4 years now.
bradhe has quit [Ping timeout: 255 seconds]
<DouweM> damn, this channel has a lot of young regulars
tier has quit [Remote host closed the connection]
bee_keeper has left #ruby [#ruby]
<lemur> define young
<lemur> not sure if I quite qualify anymore.
<Mon_Ouie> seitensei: No, but it has a range class so you can do start_date..end_date
<Mon_Ouie> sdelmore1*
<DouweM> lemur: young as in I'm starting to feel old at 20
apeiros has joined #ruby
<lemur> I'm 23 if it makes you feel better.
<sdelmore1> Easy enough to build one using the range operator then. Thanks.
* Hanmac is 25 and is now feeling old
<lemur> Combine with activesupport and....
danman has joined #ruby
<DouweM> Hanmac: haha
<lemur> (1.day.ago..3.days.ago)
<lemur> I turn 24 in 10 days at least.
enebo has joined #ruby
<lemur> I don't really count myself as older though.
<DouweM> lemur: oh definitely not, but there's a lot of <20 here
sdouglas has joined #ruby
<lemur> yeah
MrDoctor has quit [Remote host closed the connection]
<DouweM> more than I'd expected anyway, although that makes little sense as I was here when I was <20 as well
<lemur> when I was under 20, I was mostly still trying to be an artist
MrDoctor has joined #ruby
jj_ has quit [Quit: Page closed]
<DouweM> it just furhter confirms the idea that I'm not a unique snowflake :P
<DouweM> lemur: artist in what?
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lemur> Digital
<lemur> baweaver.deviantart.com
<sdelmore1> For what it's worth, I am not looking at how to check if time ranges overlap, I am looking to dry up code by putting the logic into a class instead of having startdate..enddate between, overlap, etc in 50 different places. I just hate writing a class only to find out it already exists in the standard library.
<DouweM> sdelmore1: there's not a stdlib class like that, no
<DouweM> lemur: pretty
<lemur> got published in a few magazines and such, sold some work, but didn't really see it as sustainable compared to programming.
sski has joined #ruby
<DouweM> makes sense
<lemur> I'm a polymath, I can do about anything I really want to
<atmosx> lemur: like El Greco?
<atmosx> lemur: cool
<atmosx> like Da Vinci
<atmosx> lemur: can you do a pizza?
<lemur> Pretty much
<DouweM> lemur: cool
momomomomo has joined #ruby
betacz has joined #ruby
codydh has joined #ruby
<atmosx> I ate 2 fruits trying to avoid pizza, but my stomach is still complaining. Id'd make a salad but I'll need another one in about 2 hours for sure
<atmosx> hmm
<lemur> Writing (couple books on the way), Art, Music (trumpet, french horn, piano, guitar, etc), Running (college athlete), Fencing, and a lot of other stuff I keep forgetting about.
Ankhers has quit [Ping timeout: 264 seconds]
tacit7 has joined #ruby
<DouweM> lemur: damn, nice
<lemur> It's pretty much if I get interested in something, I do it.
<atmosx> lemur: yeah, but do you excell on these things?
<lemur> Like Piano, I started last February, I can already play basic Chopin songs and some Rachmaninoff
<atmosx> haha then you do excell I guess :-)
<lemur> I had offers for scholarships in Art and Music across the board
MrDoctor has quit [Ping timeout: 264 seconds]
<atmosx> and why didn't you take them?
<lemur> running I was a state level in high school
<lemur> programming pays a lot more
<atmosx> true
<lemur> and a scholarship is signing away part of your soul
<lemur> book wise I just need to quit rewriting the dang things already and publish them
sski has quit [Ping timeout: 244 seconds]
<DouweM> lemur: synopsis?
<atmosx> cool
<lemur> Two books
mikepack has joined #ruby
mupkoo has joined #ruby
fold has joined #ruby
<lemur> I'll see where I hid the first few chapters.
<lemur> First is Black Manifesto, SciFi / Dystopian
<lemur> Watchdogs reminds me of it a lot, but this goes a lot further down the rabbit hole
jottr_ has joined #ruby
jerius has quit []
betacz has left #ruby [#ruby]
mark_locklear has quit [Ping timeout: 244 seconds]
timonv has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
lemur has quit [Read error: Connection reset by peer]
lemur has joined #ruby
<lemur> both of the intros at least
<lemur> not sure how old those versions are though.
datafirm has joined #ruby
timonv has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
<lemur> Second is Nocturne, more in the realm of fantasy
<DouweM> lemur: opened in tabs, will check out once I've finished this ep of orange is the new black :P
<lemur> heh, fair enough
<lemur> I'll probably be afk for about an hour
<lemur> ping at brandon_weaver@baweaver.com or @keystonelemur on twitter if anyone wants to
doev has quit [Ping timeout: 255 seconds]
noop has joined #ruby
<DouweM> sure
<lemur> Running wise, managed a 4:24 mile at least. Nothing great though.
<lemur> Still my life goal to be a modern day Da Vinci
<lemur> we'll see how it goes.
bluOxigen has joined #ruby
nitish has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
GriffinHeart has joined #ruby
anarang has quit [Quit: Leaving]
havenwood has quit [Ping timeout: 264 seconds]
<arrubin> Da Vinci was a runner?
m_3 has joined #ruby
apearce has quit []
<DouweM> haha
yetanotherdave has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
GriffinHeart has quit [Ping timeout: 240 seconds]
subraminion has quit [Ping timeout: 264 seconds]
BWStearns has joined #ruby
gusblan has joined #ruby
The_NetZ_ has joined #ruby
OffTheRails has quit [Quit: Leaving]
sambao21 has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
deric_skibotn has joined #ruby
The_NetZ has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
gregf has joined #ruby
tirengarfio has joined #ruby
lw has joined #ruby
cjsarette has joined #ruby
oponder has joined #ruby
yetanotherdave has quit [Ping timeout: 245 seconds]
heftig has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
newUser1234 has joined #ruby
<tirengarfio> I have installed pushmeup gem (https://github.com/NicosKaralis/pushmeup) . Now I would like to use it using "require", so I have add at the top of my file this "require 'pushmeup'", but i get this error "/home/tirengarfio/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- pushmeup (LoadError)from /home/tirengarfio/.rvm/rubies/ruby-2.0.0-p353/lib/r
<tirengarfio> uby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from pushGCM.rb:2:in `<main>' [tirengarfio@tirengarfio server (master)]$ whereis pushmeup pushmeup:"
<tirengarfio> what should add exactly to use pushmeup? how to know the path?
yfeldblum has quit [Ping timeout: 240 seconds]
tier has joined #ruby
aspires has joined #ruby
joaoh82_ has joined #ruby
bricker`1A has joined #ruby
geggam has quit [Remote host closed the connection]
frem has quit [Ping timeout: 244 seconds]
tier has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
donnoc has quit [Ping timeout: 264 seconds]
geggam has joined #ruby
Takle has quit [Remote host closed the connection]
sski has joined #ruby
yubrew has joined #ruby
ffranz has quit [Quit: Leaving]
centrx has joined #ruby
jhass|off is now known as jhass
yubrew_ has joined #ruby
codydh has quit [Quit: Lingo - http://www.lingoirc.com]
olivier_bK has quit [Ping timeout: 244 seconds]
alex88 has quit [Quit: Leaving...]
ratdaddy has joined #ruby
yubrew___ has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
ffranz has joined #ruby
dawkirst has quit [Remote host closed the connection]
yubrew__ has joined #ruby
pvb has quit [Quit: Leaving]
CaioTSan has joined #ruby
almostwhitehat has quit [Quit: almostwhitehat]
yubrew has quit [Ping timeout: 264 seconds]
yubrew_ has quit [Ping timeout: 240 seconds]
mikesplain has joined #ruby
<Hanmac> tirengarfio: how did you install the gem? does gem list show it?
mupkoo has quit [Ping timeout: 245 seconds]
blinkdesign has quit [Remote host closed the connection]
maletor has joined #ruby
bricker`1A is now known as bricker`work
<tirengarfio> Hanmac, no it is not in the list
taybin has quit [Quit: This computer has gone to sleep]
MrDoctor has joined #ruby
dukedave has joined #ruby
dukedave has quit [Max SendQ exceeded]
zorak8 has quit [Ping timeout: 252 seconds]
<queequeg1> I'm looking for very small projects/gems to do some practice reading code. Any suggestions. The smaller the better as I'm looking for things around 100 lines of code.
ta has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
<jhass> go for anything you actually used so far
sdouglas has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
maximski has joined #ruby
stantona has joined #ruby
michaelchum has quit [Quit: Connection closed for inactivity]
maximski has quit [Max SendQ exceeded]
mikecmpbll has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
<queequeg1> I've mostly used rails most of the gems I have looked at are too complex for first foray into code reading. I was really hoping to find something small.
maximski has quit [Max SendQ exceeded]
stantona has quit [Read error: No route to host]
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
stantona has joined #ruby
maximski has joined #ruby
klaut has quit [Remote host closed the connection]
zorak8 has joined #ruby
tcstar has joined #ruby
<jhass> pick a particular feature you want to understand, don't try to read any library top down
lolmaus has quit [Ping timeout: 264 seconds]
sski has quit [Remote host closed the connection]
lkba has joined #ruby
sski has joined #ruby
maximski has quit [Client Quit]
lolmaus has joined #ruby
stantona has quit [Read error: No route to host]
stantona has joined #ruby
djbkd has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
wallerdev has quit [Quit: wallerdev]
subraminion has joined #ruby
sski has quit [Ping timeout: 244 seconds]
taybin has joined #ruby
nmokru has joined #ruby
SilverKey has joined #ruby
pietr0 has joined #ruby
Kricir has joined #ruby
amargherio has joined #ruby
sdouglas has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby
Kricir_ has joined #ruby
<queequeg1> have any suggestions you think are fairly easy to follow?
andrewjanssen has quit [Quit: Leaving...]
dukedave has joined #ruby
ta has joined #ruby
redondos has quit [Excess Flood]
b1205 has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
Kricir has quit [Ping timeout: 264 seconds]
GriffinHeart has joined #ruby
xaxisx has quit [Quit: xaxisx]
sski has joined #ruby
Kricir_ has quit [Ping timeout: 264 seconds]
stantona has quit [Remote host closed the connection]
dik_dak has joined #ruby
mary5030_ has joined #ruby
kiri has quit [Quit: Leaving]
mary5030_ has quit [Remote host closed the connection]
mary5030 has quit [Read error: Connection reset by peer]
tier has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
pietr0 has quit [Quit: pietr0]
pietr0 has joined #ruby
nmokru has quit [Quit: nmokru]
mjsmith2 has joined #ruby
SCommette has joined #ruby
obs has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
benzrf is now known as benzrf|offline
andrewjanssen has joined #ruby
mijicd has quit [Remote host closed the connection]
kevind_ has joined #ruby
elaptics is now known as elaptics`away
cocotton has quit [Remote host closed the connection]
almostwhitehat has joined #ruby
BillyParadise has joined #ruby
lolmaus has joined #ruby
silkfox has quit [Read error: Connection reset by peer]
xaxisx has joined #ruby
Shidash has joined #ruby
silkfox has joined #ruby
kevind has quit [Ping timeout: 252 seconds]
kevind_ is now known as kevind
Takle has joined #ruby
mupkoo has joined #ruby
toastynerd has joined #ruby
lw has quit [Quit: s]
<BillyParadise> hey people, i'm trying to hash a string, write it to a file, read it back in, and compare the hashes - they're not matching. for example x=Digest::SHA256.hexdigest(y)
<BillyParadise> any immediate gotchas?
gruz0[russia] has joined #ruby
wallerdev has joined #ruby
<jhass> BillyParadise: put your code into a gist so we can reproduce
<wallerdev> agreed
<BillyParadise> thx... 2 min
lw has joined #ruby
lw has quit [Max SendQ exceeded]
fuhgeddaboudit has joined #ruby
combusean has joined #ruby
lw has joined #ruby
poincare101 has joined #ruby
Fraeon has joined #ruby
yetanotherdave has joined #ruby
Fraeon has quit [Client Quit]
Fraeon has joined #ruby
mb___ has joined #ruby
<poincare101> Hi everyone. I have a quick question about metaprogramming. I have a super class which needs to create an instance of itself in one of its class methods and then return that instance. However, I don't want to limit the # of arguments a child constructor can have. What would be a way to do this?
fold has quit [Ping timeout: 245 seconds]
<jhass> BillyParadise: iirc readline includes the trailing newline
<RubyPanther> poincare101: Put the arguments into a hash, then you just have 1 argument
<BillyParadise> so chomp it?
<poincare101> RubyPanther: I thought about that, but what if the child class doesn't want to have a hash? Is there some way to create an "empty" instance of a class?
<jhass> yeah
SCommette has quit [Quit: SCommette]
<Mon_Ouie> poincare101: You can use allocate which will not call initialize
<jhass> poincare101: yes, with .allocate, though you'd have to initialize sooner or later anyway?
bricker`work has quit [Ping timeout: 244 seconds]
<poincare101> jhass: right, thank you
silkfox has quit [Ping timeout: 252 seconds]
<BillyParadise> line 16 of the tester, i added .chomp
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<BillyParadise> still doing the same thing
kpshek has quit []
pencilcheck has quit [Remote host closed the connection]
<RubyPanther> poincare101: You need to read a basic Ruby book so that you can internalize the semantics. There are unlimited contents, because everything is dynamic. And an instance has instance variables, but they're not really attributes, and the class doesn't even know which ones you might use
nanoyak has joined #ruby
<BillyParadise> also tried to chomp on the readline
banister has joined #ruby
<poincare101> jhass: I don't think I'd have to allocate; I'm just copying the the instance variables over to the actual object
predator117 has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
predator117 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
saarinen has joined #ruby
<poincare101> RubyPanther: I'm writing a super class called "JSONSerializable" (you can guess what it does). The child classes are just data containers so I'm copying over instance variables from a dictionary to an object and then returning that object.
dawkirst has joined #ruby
chth0n has quit [Ping timeout: 245 seconds]
yetanotherdave has quit [Ping timeout: 240 seconds]
subraminion has quit [Remote host closed the connection]
nanoyak has quit [Client Quit]
kaspergrubbe has joined #ruby
subraminion has joined #ruby
Spami has joined #ruby
saarinen has quit [Client Quit]
mark_locklear has joined #ruby
andrewjanssen has joined #ruby
Gil_ has joined #ruby
ghr has joined #ruby
saarinen has joined #ruby
monkegjinni has joined #ruby
<Hanmac> poincare101: JSONSerializable should be a module
subraminion_ has joined #ruby
<poincare101> Hanmac: that makes sense
doev has joined #ruby
subraminion has quit [Ping timeout: 272 seconds]
<ryanneufeld> I'm not sure how to describe my problem, which is part of the problem,
<ryanneufeld> I'm working within a Vagrant file
<ryanneufeld> I'm' using the vm.synced_folder
sski has quit [Remote host closed the connection]
<ryanneufeld> and I'd like to have a loop over an array of items
<ryanneufeld> or rather use an array as the parameter list
<RubyPanther> poincare101: There is no such distinction as a "data container" except for base classes like Hash and Array
oponder_ has joined #ruby
doev has quit [Client Quit]
ghr has quit [Ping timeout: 252 seconds]
<RubyPanther> poincare101: You're over-thinking some things, but only by reading a whole book can it become clear to you
Rainicorn has joined #ruby
monkegjinni has quit [Ping timeout: 252 seconds]
<poincare101> RubyPanther: ok, book recommendations?
<poincare101> RubyPanther: also, an example where the scheme of just copying over the instance variables would fail would be great
b1205 has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
<RubyPanther> poincare101: "pickaxe" is canonical, there is a free online old version that is mostly still correct
sambao21 has joined #ruby
benweint has joined #ruby
LadyRainicorn has quit [Ping timeout: 245 seconds]
<RubyPanther> poincare101: assuming the data is in instance vars it works fine to copy them. The only time that doesn't work is classes written in C that might use their own storage
<poincare101> RubyPanther: ok, thank you.
poincare101 has left #ruby [#ruby]
<jhass> BillyParadise: I guess your equal? tricked you, that compares object identity. I took the liberty to slightly rewrite your code to a better style: http://paste.mrzyx.de/p4c88faa0/
papercode has joined #ruby
ryannielson has joined #ruby
oponder has quit [Ping timeout: 245 seconds]
dawkirst has quit [Remote host closed the connection]
TheKruex has quit [Ping timeout: 264 seconds]
bricker`work has joined #ruby
oponder_ has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
Kedare has quit [Read error: No route to host]
frem has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
brunops has joined #ruby
<lectrick> Anyone know why if I type "exit 5" in IRB, and then immediately type "echo $?" (in Bash shell), I don't get 5 as the exit status?
yetanotherdave has joined #ruby
timonv_ has joined #ruby
<lectrick> I'm assuming it's because of some crap irb does at_exit which doesn't preserve exit status
b1205 has joined #ruby
<BillyParadise> @jhass DANKE!!
forcefsck has joined #ruby
K3dare has joined #ruby
Notte has joined #ruby
hobogrammer1 has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
doodlehaus has quit [Ping timeout: 264 seconds]
stantona has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
rdark has quit [Quit: leaving]
sambao21 has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 244 seconds]
binaryhat has joined #ruby
binaryhat has quit [Client Quit]
dangerousdave has joined #ruby
danman_ has joined #ruby
danman has quit [Ping timeout: 264 seconds]
danman_ is now known as danman
timonv has quit [Ping timeout: 240 seconds]
yetanotherdave has quit [Ping timeout: 255 seconds]
kpshek has joined #ruby
kireevco1 has joined #ruby
mikepack has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
kireevco has quit [Ping timeout: 264 seconds]
andrewjanssen has quit [Quit: Leaving...]
GoodTimes has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
SilverKey has quit [Quit: Halted.]
kljksdf has joined #ruby
dilated_dinosaur has quit [Ping timeout: 252 seconds]
<kljksdf> Hi all. I am learning ruby these days and I am having problem checking if I am right or not about the functions I wrote. Can anyone please check my code and tell me what am I doing wrong? https://gist.github.com/anonymous/f0a54dea3664506a6cdf
pencilcheck has joined #ruby
ta has quit [Ping timeout: 264 seconds]
xaxisx has quit [Quit: xaxisx]
<jhass> Self is a (undefined) constant
<jhass> you probably mean self
cjsarette has quit [Remote host closed the connection]
tcstar has quit [Ping timeout: 244 seconds]
cjsarette has joined #ruby
<kljksdf> oh, should be small?
brunops has quit [Ping timeout: 264 seconds]
<jhass> yes
<jhass> now there are more issues
jprovazn_afk is now known as jprovazn
akonny has joined #ruby
<jhass> first of all self is implicit on method calls, you only need it to pass it along or disambiguate between local variable assignments and calling attribute writers
qhartman has quit [Remote host closed the connection]
tier has joined #ruby
<kljksdf> jhass: means I don't need to write self at all?
<jhass> to_s.downcase.gsub! /[^a-z\d],*/, '' # now this line, you #to_s, which returns self on a String, you call downcase, which returns a new(!) string and on that you call gsub! which modifies that new string in place, then you don't do anything with the result, it just vanishes
<jhass> rarely
<jhass> not in this case
nmokru has joined #ruby
<jhass> if Self.eql?(Self.reverse) == true # that's just if self == reverse
cocotton has joined #ruby
<kljksdf> how would it know on what object I have to do that thing?
<jhass> as said, self. is implicit
<jhass> if condition; true; else; false; end # just write condition instead, it return the value of the condition which already is true/false
<kljksdf> I see. If I don't put any object it would automatically take self
<kljksdf> gotcha
<kljksdf> thanks, jhass
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kljksdf> ah
<jhass> arr = to_s.downcase!.split # same as above, plus don't chain on bang (!) methods, they may return nil if they don't change anything
Azulinho has quit [Ping timeout: 252 seconds]
<kljksdf> I see
<jhass> always use newlines with do end blocks, do |arg| [newline] body [newline] end
Kricir has joined #ruby
pencilcheck has quit [Read error: Connection reset by peer]
diegoviola has quit [Remote host closed the connection]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
freerobby has quit [Quit: Leaving.]
ta has joined #ruby
<jhass> and finally there's no String#group_by
freerobby has joined #ruby
subraminion_ has quit [Quit: Lingo - http://www.lingoirc.com]
<jhass> only Enumerable#group_by (which is included into Array and Hash for example)
pencilcheck has joined #ruby
<jhass> oh and while we're at it, ruby has no functions, only methods ;)
b1205 has quit [Ping timeout: 252 seconds]
<kljksdf> jhass: other than that my code is bad?
yfeldblum has joined #ruby
Morkel has joined #ruby
boris has quit [Remote host closed the connection]
<kljksdf> it's not reneralize?
workmad3 has quit [Ping timeout: 252 seconds]
<kljksdf> generalize*
<jhass> you mean reusable?
<kljksdf> Nope, I mean it's erronious?
<kljksdf> it doesn't work for all kind of inputs?
ctp has joined #ruby
b1205 has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
<jhass> I don't know by looking (and what you mean exactly tbh.)
ta has quit [Read error: Connection reset by peer]
<jhass> not authorized
<kljksdf> Oh I see
sdegutis has joined #ruby
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
mupkoo has quit [Remote host closed the connection]
tcstar has joined #ruby
mupkoo has joined #ruby
silkfox has joined #ruby
emsilva has quit [Quit: Keep Walking (Computer Slept!)]
jxf has quit [Ping timeout: 240 seconds]
aspires has quit []
treehug8_ has joined #ruby
<Sigma00> !gist
<helpa> http://gist.github.com - Put your codes online with pretty syntax highlighting and the ability to embed it into other pages.
dawkirst has joined #ruby
almostwhitehat has quit [Quit: almostwhitehat]
reset has joined #ruby
nmokru has quit [Quit: nmokru]
kilk_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
emsilva has joined #ruby
cocotton_ has joined #ruby
reset has quit [Client Quit]
benzrf|offline is now known as benzrf
tier has quit [Remote host closed the connection]
aspires has joined #ruby
<sdegutis> Can anyone offer some feedback on my new project for configuring and deploying to EC2? https://github.com/sdegutis/management
MrDoctor has quit [Remote host closed the connection]
treehug88 has quit [Ping timeout: 255 seconds]
cocotton_ has quit [Remote host closed the connection]
MrDoctor has joined #ruby
skysploit has joined #ruby
ta has joined #ruby
GoodTimes has joined #ruby
<dukedave> Hey gang, I'm implementing an Array subclass which has C++ iter style semantics, but I'm a little stuck on map!, any suggestions? https://gist.github.com/dukedave/8130eca1c9386cba6935
datafirm has quit [Quit: Lingo - http://www.lingoirc.com]
tier has joined #ruby
datafirm has joined #ruby
cocotton has quit [Ping timeout: 244 seconds]
blueOxigen has quit [Read error: Connection reset by peer]
Rahul_Roy has joined #ruby
danman_ has joined #ruby
silkfox has quit [Ping timeout: 272 seconds]
danman has quit [Ping timeout: 245 seconds]
danman_ is now known as danman
jailbot has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
jailbot is now known as lordflapjack
MrDoctor has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
<jhass> dukedave: I hope that's just for fun?
SilverKey has joined #ruby
wchun has quit [Quit: Leaving]
<dukedave> jhass, no, why? I need some
ta has quit [Remote host closed the connection]
rippa has joined #ruby
<dukedave> references to objects which are selected out
<jhass> >> e = [1,2,3].to_enum; [e.next, e.next]
<eval-in> jhass => [1, 2] (https://eval.in/161795)
<dukedave> jhass, I need prev too
larissa has joined #ruby
bluOxigen has joined #ruby
<dukedave> Also, I need semantics where I can select! out values from the array, but have to original links preserved
<Mon_Ouie> Plus what's already implemented has many problems. What if I want to store objects that have an instance variable called @next or @prev?
Vivekananda has joined #ruby
<Mon_Ouie> throw is not used to signal errors in Ruby, that's what raise is for
<jhass> this sounds like your transcribing a C++ program to ruby instead of writing it in ruby in the first place
dawkirst has quit [Remote host closed the connection]
kenneth has joined #ruby
mocfive has joined #ruby
<dukedave> Mon_Ouie, 1. then you're screwed; 2. ah yes, thanks
<dukedave> jhass, well I don't have a pair, and this is the best I could come up with :|
ponga has quit [Remote host closed the connection]
brunops has joined #ruby
Rainicorn has quit [Ping timeout: 264 seconds]
<dukedave> But if you have a moment, I'll summarize what I'm doing, and would be interested in your approach
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<jhass> we can try, maybe others are listening too
<Sigma00> /nick NSA
alexpresnyakov has quit [Quit: Leaving]
tier has quit [Remote host closed the connection]
jonahR has joined #ruby
<dukedave> Ha :)
<RubyPanther> If they don't stop school shootings, they're not going to bother with alternate construction to fix your bugs
nmokru has joined #ruby
<Sigma00> everyone knows code is where the real terrorists are
carraroj has joined #ruby
<Sigma00> CRYPTO IS A TERRORIST WEAPON
<RubyPanther> "wtf wtf WTF, oh gawd noooooooo W T F nononono" "omg they're torturing him in there! Somebody do something!"
bradhe has joined #ruby
<RubyPanther> https://www.youtube.com/watch?v=HtTUsOKjWyQ Angry Computer Guy to the rescue
bradleyprice has joined #ruby
blueOxigen has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
MrDoctor has joined #ruby
mb___ has quit [Ping timeout: 246 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
<dukedave> that's about as terse as I can get :)
nmokru has quit [Client Quit]
blackmesa has joined #ruby
yetanotherdave has joined #ruby
brunops has quit [Changing host]
brunops has joined #ruby
fantazo has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
<sdegutis> I was aiming to be much simpler than Chef, whose complexity isn't merited when you only have a handful of Ubuntu servers.
silkfox has joined #ruby
kljksdf has quit [Ping timeout: 246 seconds]
joaoh82_ has quit []
<Mon_Ouie> array.map { |x| thingy(x) }.select { |cluster| cluster.place }.chunk { cluster.place }.map { |state, clusters| concatenate(clusters) }
<Mon_Ouie> Or in other words, learn about the Enumerable module
nmokru has joined #ruby
aspires has quit []
mattmcclure has joined #ruby
jprovazn is now known as jprovazn_afk
LadyRainicorn has joined #ruby
hpoydar has joined #ruby
nmokru has quit [Client Quit]
aspires has joined #ruby
nmokru has joined #ruby
<dukedave> Mon_Ouie, ha, that's exactly the implementation I had to begin with
kirun has joined #ruby
Takle has quit [Remote host closed the connection]
sdegutis has left #ruby [#ruby]
<dukedave> with the one change, that I had to do cluster.place ? cluster.place : :_alone, in the chunk method, to not group clusters without a place
<Hanmac> Mon_Ouie: .select { |cluster| cluster.place }.chunk { cluster.place } is unessary ... chunk already removes nil elements
x1337807x has joined #ruby
danijoo_ has quit [Read error: Connection reset by peer]
silkfox has quit [Ping timeout: 244 seconds]
<shevy> what is .chunk
reset has joined #ruby
<Mon_Ouie> A method that has way too many special cases apparently
<shevy> first time I read it
<dukedave> :)
danijoo has joined #ruby
tier has joined #ruby
tier has quit [Remote host closed the connection]
<Mon_Ouie> It's been added at some point during 1.9, maybe 1.9.3
<dukedave> Mon_Ouie, jhass sorry in an attempt to keep my gist short I missed out a rather important step, which means I couldn't use Mon_Ouie's chunk suggestion
<shevy> during the dark days
<dukedave> But.. I think I can rejigger my algorithm to work around it any way :)
<jhass> ammend that point?
Gil_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Gil_ has joined #ruby
akonny has quit [Quit: akonny]
testcore has joined #ruby
hiyosi has quit [Ping timeout: 244 seconds]
<dukedave> Updated, for the sake of closure :) https://gist.github.com/dukedave/fee680610f058fcfc579
mb___ has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
SCommette has joined #ruby
datafirm has joined #ruby
toastynerd has quit [Remote host closed the connection]
<Mon_Ouie> Just removing clusters without a place after merging all the other ones should work then
Gil_ has quit [Ping timeout: 244 seconds]
Shidash has quit [Quit: Leaving.]
senayar_ has joined #ruby
5EXABF2MD has joined #ruby
sambao21 has joined #ruby
nszceta has joined #ruby
<dukedave> Mon_Ouie, that's what I realized :) it's a little more subtle, because there's a different between a cluster we didn't try to get a place for, and one where the place was nil; but yeah a 'tagging' then selecting approach is nicer
dawkirst has joined #ruby
dawkirst has quit [Remote host closed the connection]
dawkirst has joined #ruby
<dukedave> jhass, Mon_Ouie, thanks for call me out on ArrayIter :)
senayar has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
ra4king1 has joined #ruby
ra4king is now known as Guest63890
datafirm has quit [Ping timeout: 244 seconds]
sdelmore1 has left #ruby [#ruby]
Hanmac1 has joined #ruby
ra4king1 is now known as ra4king
Gil_ has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
dangerousdave has quit []
mjsmith2 has quit []
Hanmac has quit [Ping timeout: 245 seconds]
<jhass> there's one? can't it just be nil in both cases? or if in your example b would get p1 it would result in bde(p1)?
ponga has joined #ruby
tier has joined #ruby
Guest63890 has quit [Ping timeout: 240 seconds]
jxf has joined #ruby
holden247 has quit [Quit: Leaving.]
Takle has joined #ruby
jonahR has quit [Ping timeout: 240 seconds]
Kricir has joined #ruby
GriffinHeart has joined #ruby
lordflapjack has quit [Quit: keep cool, stay in school]
almostwhitehat has joined #ruby
dangerousdave has joined #ruby
diegoviola has joined #ruby
<jhass> dukedave: ^
ponga has quit [Ping timeout: 245 seconds]
joaoh82 has joined #ruby
Olipro has quit [*.net *.split]
_m_g_ has joined #ruby
doodlehaus has joined #ruby
Zenigor has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 272 seconds]
_m_g_ is now known as SlvrDragn
nmokru has quit [Quit: nmokru]
<dukedave> jhass, no, because the resultant array can't include the 'x's (there's another method to decide if each cluster is 'placeable' or an 'x'); and yep if b was p1 it would be bde
IceDragon has joined #ruby
lkba has joined #ruby
pencilcheck has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Quit: WeeChat 0.4.3]
andrewjanssen has joined #ruby
GriffinHeart has quit [Ping timeout: 264 seconds]
Kricir has quit [Ping timeout: 255 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
mb___ has quit [Ping timeout: 246 seconds]
NivenHuH has joined #ruby
pencilcheck has joined #ruby
nmokru has joined #ruby
gusblan has quit [Remote host closed the connection]
Gil_ has quit [Remote host closed the connection]
gusblan has joined #ruby
Gil_ has joined #ruby
yfeldblum has joined #ruby
jonahR has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
silkfox has joined #ruby
timonv has joined #ruby
tier has quit [Remote host closed the connection]
edmellum has quit [Quit: Connection closed for inactivity]
<jhass> wait, why isn't it deg then?
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
SCommette has quit [Quit: SCommette]
lolmaus has quit [Read error: Connection reset by peer]
<jhass> dukedave: ^
Zenigor has joined #ruby
Gil_ has quit [Ping timeout: 264 seconds]
tier has joined #ruby
lolmaus has joined #ruby
<dukedave> jhass, because f has a nil place (I updated the gist, FYI, just to be sure you're not looking at the bogus version I put up first)
Blaguvest has joined #ruby
streblo has joined #ruby
ta has joined #ruby
BalkM has joined #ruby
ghr has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
Olipro has joined #ruby
hiyosi has joined #ruby
klaut has joined #ruby
<dukedave> jhass, just updated one more time, to make it clear the nil place clusters are still needed at the end
<dukedave> FWIW, I've nearly finished now, will post full code shortly :)
<shevy> I'd wish we could have this in ruby
<shevy> if foo
<shevy> bla
<shevy> else
<shevy> ble
<shevy> # that's it!
<jhass> dukedave: so, it's "don't join if element with no place in between", "don't join if element x is in between" and "don't assign a place to x elements" which means to me that for looking at joining them, it doesn't matter if it's x or not, it just hasn't a place
<dukedave> jhass, you got it
gusblan has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
almostwhitehat has quit [Quit: almostwhitehat]
ta has quit [*.net *.split]
ratdaddy has quit [*.net *.split]
timmow has quit [*.net *.split]
canton7 has quit [*.net *.split]
camilasan has quit [*.net *.split]
bjeanes has quit [*.net *.split]
LostDatagram has quit [*.net *.split]
jinie has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
lele has quit [*.net *.split]
noocode has quit [*.net *.split]
kalleth has quit [*.net *.split]
keen________ has quit [*.net *.split]
kalz has quit [*.net *.split]
eval-in has quit [*.net *.split]
gusblan has joined #ruby
eval-in has joined #ruby
spastorino has joined #ruby
lele has joined #ruby
bjeanes has joined #ruby
keen________ has joined #ruby
ratdaddy has joined #ruby
timmow has joined #ruby
m8 has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
kalleth has joined #ruby
camilasan has joined #ruby
ta has joined #ruby
sambao21 has joined #ruby
cjsarette has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 272 seconds]
noocode has joined #ruby
canton7 has joined #ruby
cjsarette has joined #ruby
heftig has joined #ruby
jinie has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
phrozen77 has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
LostDatagram has joined #ruby
<jhass> dukedave: http://paste.mrzyx.de/p881c83b0/ is what I'd come up with, not 100% certain I entirely got this though tbh.
LostDatagram has quit [Excess Flood]
andrewjanssen has quit [Quit: Leaving...]
<jhass> basically what you got the other day already
shevy has quit [Ping timeout: 245 seconds]
gusblan has quit [Ping timeout: 264 seconds]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
yubrew__ has quit [Ping timeout: 264 seconds]
mehlah has quit [Quit: Leaving...]
Xeago_ has quit [Read error: Connection reset by peer]
<dukedave> jhass, looks good! :)
Xeago has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
bradhe has joined #ruby
<dukedave> I think, this is why I shouldn't start the day without a coffee
musashi1 has joined #ruby
stantona has quit [Remote host closed the connection]
LostDatagram has joined #ruby
kalz has joined #ruby
LostDatagram has quit [Excess Flood]
akonny has joined #ruby
yubrew_ has joined #ruby
stantona has joined #ruby
qwyeth has quit [Quit: Leaving]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
rixius has joined #ruby
benzrf is now known as benzrf|offline
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
cjsarette has quit [Remote host closed the connection]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
cjsarette has joined #ruby
stantona has quit [Remote host closed the connection]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
ryannielson has quit []
postmodern has joined #ruby
setra has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
maximski has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
blooberr____ has joined #ruby
yfeldblum has joined #ruby
maximski has quit [Max SendQ exceeded]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
bradhe has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
maximski has quit [Max SendQ exceeded]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
ahofmann has joined #ruby
silkfox has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
b1205 has quit [Ping timeout: 240 seconds]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
cjsarette has quit [Remote host closed the connection]
almostwhitehat has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
cjsarette has joined #ruby
monkegjinni has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
tjsousa has quit [Quit: Computer has gone to sleep.]
DanielRb has quit [Ping timeout: 276 seconds]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
benweint has quit [Quit: Computer has gone to sleep.]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
joaoh82 has quit [Remote host closed the connection]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
b1205 has joined #ruby
Spami has joined #ruby
zz_jrhorn424 is now known as jrhorn424
datafirm has quit [Quit: Computer has gone to sleep.]
fold has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
sdouglas has joined #ruby
datafirm has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
mupkoo has quit [Remote host closed the connection]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
danijoo has quit [Read error: Connection reset by peer]
monkegjinni has quit [Ping timeout: 255 seconds]
hy2guru has joined #ruby
silkfox has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
danijoo has joined #ruby
sheperson has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
sski has joined #ruby
LostDatagram has joined #ruby
combusean has quit [Quit: Leaving.]
aspires has quit []
hy2guru has quit [Client Quit]
datafirm has quit [Ping timeout: 245 seconds]
bricker`work has quit [Ping timeout: 244 seconds]
beef-wellington has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
phrozen77 has quit [Changing host]
phrozen77 has joined #ruby
RubyPanther has quit [Ping timeout: 240 seconds]
NinoScript has joined #ruby
timonv has quit [Remote host closed the connection]
Gil_ has joined #ruby
alvaro_o has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danman has quit [Ping timeout: 252 seconds]
spyderman4g63 has joined #ruby
silkfox has quit [Ping timeout: 264 seconds]
danman has joined #ruby
brasten has quit [Quit: brasten]
IceDragon has quit [Ping timeout: 272 seconds]
tier has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
IceDragon has joined #ruby
beef-wellington has quit [Ping timeout: 255 seconds]
silkfox has joined #ruby
GoodTimes has quit [Ping timeout: 264 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
mupkoo has joined #ruby
mupkoo has quit [Remote host closed the connection]
mehlah has joined #ruby
hy2guru has joined #ruby
momomomomo has joined #ruby
senayar_ has quit [Remote host closed the connection]
Gil_ has quit [Remote host closed the connection]
senayar has joined #ruby
dreks has joined #ruby
hy2guru has quit [Client Quit]
sheperson has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
b1205 has quit [Ping timeout: 245 seconds]
cjsarette has joined #ruby
ra4king1 has joined #ruby
<dreks> after updating puppet to the latest version, ruby can't seem to find library files it looks like.. does anyone have any suggestions. Here is the errors seen. http://hastebin.com/itucoxofec.vbs
<dreks> They all reference require statements
newUser1234 has quit [Remote host closed the connection]
<testcore> hastebin? .vbs? seems legit
<dreks> that’s the format it chose by default
<dreks> sheesh
<dreks> there, plain text
qhartman has joined #ruby
ra4king has quit [Ping timeout: 245 seconds]
<jhass> first of all update your ruby, 1.8 is out of support
codydh has joined #ruby
codydh has quit [Changing host]
codydh has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
Azure has joined #ruby
brasten has joined #ruby
<dreks> i don't think this is a version problem.. seems like path problem
stantona has joined #ruby
<jhass> and 1.9 ships with json
<jhass> 2.0 and 2.1 too
ponga has joined #ruby
BizarreCake has joined #ruby
nanoyak has joined #ruby
RubyPanther has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
jkline has joined #ruby
stantona has quit [Ping timeout: 240 seconds]
tjsousa has joined #ruby
codydh has quit [Quit: Lingo - http://www.lingoirc.com]
ahofmann has joined #ruby
ponga has quit [Ping timeout: 272 seconds]
joaoh82 has joined #ruby
jkline has quit [Client Quit]
codydh has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
shevy has joined #ruby
joaoh82 has quit [Read error: Connection reset by peer]
ra4king1 is now known as ra4king
joaoh82 has joined #ruby
DanielRb has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
Atrumx has quit [Quit: Exit]
tjsousa has quit [Ping timeout: 255 seconds]
CamonZ has quit [Quit: Linkinus - http://linkinus.com]
stantona has joined #ruby
NivenHuH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oponder has joined #ruby
<shevy> whee
codydh has quit [Quit: Lingo - http://www.lingoirc.com]
joaoh82 has quit [Ping timeout: 255 seconds]
<wallerdev> ^_^
mikeric has joined #ruby
cjsarette has quit [Remote host closed the connection]
benweint has joined #ruby
mikepack has joined #ruby
cjsarette has joined #ruby
havenwood has joined #ruby
gusblan has joined #ruby
<shevy> april 2014
<shevy> <shevy> wallerdev say something funny
<shevy> <wallerdev> your face
<wallerdev> wow
skysploit has quit []
<wallerdev> wowww
aspires has joined #ruby
<shevy> I got more ... though not from you ... June 2014
qwyeth has joined #ruby
<shevy> <newusr> can anyone explain me what does foreman exaclt do
<shevy> <makerops> it's just a process rapper
codydh has joined #ruby
codydh has quit [Changing host]
codydh has joined #ruby
<shevy> hmm... none of these two are here
<wallerdev> stalker
omuaT is now known as BACON_PANCAKES
<shevy> wallerdev we just have to make it on bash.org !
<wallerdev> is that site still going haha
kaspergrubbe has quit [Remote host closed the connection]
toastynerd has joined #ruby
djbkd has quit [Remote host closed the connection]
x1337807x has joined #ruby
sambao21 has joined #ruby
GoodTimes has joined #ruby
tier has joined #ruby
<shevy> not sure
<shevy> probably not as awesome as it was shortly after it was started
tacit7 has quit [Quit: Leaving.]
cjsarette has quit [Remote host closed the connection]
gusblan has quit [Ping timeout: 244 seconds]
cjsarette has joined #ruby
hiyosi has joined #ruby
SBoolean has quit [Remote host closed the connection]
dukedave has quit [Ping timeout: 264 seconds]
maximski has quit []
x1337807x has quit [Client Quit]
ra4king has quit [Quit: Leaving]
bradhe has joined #ruby
tacit7 has joined #ruby
stantona_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
x1337807x has joined #ruby
LostDatagram has quit [Quit: Bye :P - znc.in]
sski has quit [Remote host closed the connection]
BACON_PANCAKES is now known as KIM_JONG_UN
LostDatagram has joined #ruby
spyderman4g63 has joined #ruby
ra4king has joined #ruby
KIM_JONG_UN is now known as Guest31810
LadyRainicorn has quit [Read error: Connection reset by peer]
cjsarette has quit [Remote host closed the connection]
stantona has quit [Ping timeout: 272 seconds]
cjsarette has joined #ruby
ohwhoa has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
stantona_ has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 255 seconds]
Guest31810 is now known as KingOfPotato
kaspergrubbe has joined #ruby
havenwood has quit []
claymore has quit [Quit: Leaving]
KingOfPotato is now known as Takumo
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
GoodTimes has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
cocotton has joined #ruby
DEA7TH has quit []
sdouglas has quit [Remote host closed the connection]
ra4king has quit [Remote host closed the connection]
hy2guru has joined #ruby
sdouglas has joined #ruby
banister is now known as banisterfiend
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
JBreit has joined #ruby
gigetoo has quit [Remote host closed the connection]
jarto has joined #ruby
wallerdev has quit [Quit: wallerdev]
SCommette has joined #ruby
dorei has joined #ruby
luisjose has quit [Quit: Leaving...]
stantona has joined #ruby
gattuso has quit [*.net *.split]
Eiam has quit [*.net *.split]
sheepman has quit [*.net *.split]
Cork has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
DrOwl has quit [*.net *.split]
gigetoo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Eiam has joined #ruby
gattuso has joined #ruby
sheepman has joined #ruby
DarthGandalf has joined #ruby
DrOwl has joined #ruby
combusean has joined #ruby
gtc has quit [Remote host closed the connection]
DarthGandalf has quit [Max SendQ exceeded]
gattuso has quit [Max SendQ exceeded]
mehlah has quit [Quit: Leaving...]
gattuso has joined #ruby
sdouglas has quit [Ping timeout: 252 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
sski has joined #ruby
spyderman4g63 has joined #ruby
cjsarette has quit [Remote host closed the connection]
mehlah has joined #ruby
cjsarette has joined #ruby
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby
Cork has joined #ruby
nszceta has quit []
<shevy> hmm
gbchaosmaster has joined #ruby
<shevy> how to downcase all keys in a hash in an efficient manner?
nmokru has quit [Quit: nmokru]
momomomomo has quit [Quit: momomomomo]
<jhass> hash.keys.each(&:downcase!); hash.rehash ?
<shevy> hmm
djbkd has joined #ruby
kyb3r_ has joined #ruby
LadyRainicorn has joined #ruby
tjsousa has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
hy2guru has quit []
andrewjanssen has joined #ruby
Takle has quit [Remote host closed the connection]
SCommette has quit [Quit: SCommette]
LostDatagram has quit [Quit: Bye :P - znc.in]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
tjsousa has quit [Ping timeout: 245 seconds]
cjsarette has quit [Remote host closed the connection]
bricker`work has joined #ruby
cjsarette has joined #ruby
ra4king has joined #ruby
codydh has quit [Quit: Lingo - http://www.lingoirc.com]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
nmokru has joined #ruby
gbchaosmaster has quit [Ping timeout: 244 seconds]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
GriffinHeart has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
gruz0[russia] has joined #ruby
troyready has joined #ruby
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
nmokru has quit [Client Quit]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
cocotton has quit [Remote host closed the connection]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
cjsarette has quit [Remote host closed the connection]
hy2guru has joined #ruby
cjsarette has joined #ruby
<hy2guru> good
kirun has quit [Quit: Client exiting]
LostDatagram has joined #ruby
LostDatagram has quit [Excess Flood]
jprovazn_afk has quit [Quit: Odcházím]
LostDatagram has joined #ruby
pencilcheck has quit []
wallerdev has joined #ruby
pencilcheck has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
danman_ has joined #ruby
yalue has quit [Quit: Leaving]
danman has quit [Ping timeout: 264 seconds]
danman_ is now known as danman
_bart has joined #ruby
cjsarette has quit [Remote host closed the connection]
pencilcheck is now known as pen
cjsarette has joined #ruby
nmokru has joined #ruby
<_bart> So if I have floats of 1.0 .. 10.0, but I only want to display the decimal when it's not zero, so hide when it's .0, how do I do that?
<_bart> So 7.2 stays 7.2, 7.0 becomes just 7.
noop has quit [Ping timeout: 264 seconds]
LostDatagram has left #ruby ["Leaving"]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
<_bart> Got it: "%gx" % 7.0
gusblan has joined #ruby
Atrumx has joined #ruby
benzrf|offline is now known as benzrf
<_bart> I mean: "%.2g" %
jobewan has quit [Quit: Leaving]
tjsousa_ has joined #ruby
tacit7 has quit [Ping timeout: 264 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
rezzack has joined #ruby
<shevy> cool
paulfm has quit []
nmokru has quit [Quit: nmokru]
ponga has quit [Ping timeout: 240 seconds]
nmokru has joined #ruby
mark_locklear has quit [Ping timeout: 240 seconds]
LostDatagram has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
Zenigor has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
jobewan has joined #ruby
cjsarette has quit [Remote host closed the connection]
joaoh82 has joined #ruby
cjsarette has joined #ruby
workmad3 has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<wallerdev> you gbuys watching thew orldc up?
Sawbones has joined #ruby
<shevy> only by side
enebo has quit [Quit: enebo]
jackneill has quit [Remote host closed the connection]
<shevy> the TV is running to the far left side of the room
<RubyPanther> shevy: C-style ifs, that is not one I'm used to hearing people request.
<RubyPanther> Personally, I'm from the "considered harmful" side on that one in C
<benzrf> c-style ifs?
<shevy> well C uses {}
<RubyPanther> no braces, one line, don't make a mistake
<benzrf> lol
<benzrf> well ruby has that
<benzrf> it's just postfix :-)
<RubyPanther> postfix you can't make that class of mistake
<RubyPanther> postfix is "considered safe" even by those who consider it disgusting
b1205 has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
sailias has quit [Quit: Leaving.]
cjsarette has joined #ruby
bradhe has joined #ruby
almostwhitehat has left #ruby [#ruby]
<RubyPanther> In Perl they teach that postfix is superior because the "point" of the line is what happens, not when it happens; if you're searching the code it is for where something happened first, and then when is the next step
<shevy> Perl teaching is oldschool teaching
<RubyPanther> In Ruby it is more just, "whatever man"
<RubyPanther> Dangling ifs are way older than Perl
lemur has quit [Read error: Connection reset by peer]
lemur has joined #ruby
nfk has quit [Quit: yawn]
<shevy> kinda sad they didn't get through with perl 6
hiyosi has joined #ruby
<shevy> "Building Rakudo from the sources requires Perl 5.8 or newer"
<shevy> enter the future - by bowing to legacy
taybin has quit [Quit: This computer has gone to sleep]
cjsarette has quit [Remote host closed the connection]
ctp has quit [Read error: Connection reset by peer]
cjsarette has joined #ruby
robertodecurnex has quit [Remote host closed the connection]
LadyRainicorn has quit [Ping timeout: 245 seconds]
<shevy> lua is damn small compared to the other scripting languages family ... lua-5.2.3.tar.xz
bradhe has quit [Ping timeout: 252 seconds]
<shevy> 197K
<shevy> ruby-2.1.2.tar.xz: 9,0M
<shevy> python-3.4.0b1.tar.xz: 14M
combusean has quit [Quit: Leaving.]
<shevy> php-5.5.13.tar.xz: 11M
<shevy> perl-5.20.0.tar.xz: 11M
tier has quit []
<shevy> hmm
bahar has quit [Changing host]
bahar has joined #ruby
lemur has quit [Remote host closed the connection]
GoodTimes has joined #ruby
cjsarette has quit [Remote host closed the connection]
BizarreCake has quit [Quit: Leaving]
cjsarette has joined #ruby
NukePuppy has quit [Ping timeout: 264 seconds]
toastynerd has quit [Remote host closed the connection]
Bumptious has joined #ruby
combusean has joined #ruby
spider-mario has quit [Remote host closed the connection]
d5sx43 has joined #ruby
<godd2> Is that including ruby's standard libraries or just the core?
tessi is now known as tessi_zz
danijoo has quit [Read error: Connection reset by peer]
<shevy> all included
<shevy> the respective official source downloads
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
danijoo has joined #ruby
<shevy> repackaged into .tar.xz because my external HDDs are not that big :(
lemur has joined #ruby
cjsarette has quit [Remote host closed the connection]
<shevy> I no longer have ruby-1.8.7 to compare though
danman has quit [Ping timeout: 272 seconds]
<shevy> it doesn't even compile anymore either
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjsarette has joined #ruby
lemur has quit [Read error: Connection reset by peer]
Gil has joined #ruby
danman has joined #ruby
LostDatagram has quit [Quit: Bye :P - znc.in]
lemur has joined #ruby
lemur has quit [Remote host closed the connection]
LostDatagram has joined #ruby
benzrf is now known as benzrf|offline
Takle has joined #ruby
<workmad3> shevy: what? you mean you haven't manually patched your 1.8.7 source to work with readline 6.3?
ldnunes has quit [Quit: Leaving]
djcp has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
BalkM has quit [Quit: Computer has gone to sleep.]
tjr9898 has joined #ruby
cjsarette has quit [Remote host closed the connection]
LostDatagram is now known as DavidJRobertson
cjsarette has joined #ruby
freerobby has quit [Quit: Leaving.]
Asher2 has joined #ruby
x1337807x has joined #ruby
monkegjinni has joined #ruby
Gil has quit [Ping timeout: 272 seconds]
mijicd has joined #ruby
sambao21 has joined #ruby
momomomomo has joined #ruby
<shevy> there is more than one problem in the compile process with 1.8.7 than that
LadyRainicorn has joined #ruby
Morkel has quit [Quit: Morkel]
Asher has quit [Ping timeout: 264 seconds]
b1205 has quit [Ping timeout: 272 seconds]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
<workmad3> shevy: pfft, like I'd know... I haven't compiled 1.8.7 for years now :P
<jhass> which is a good thing! hooray!
bmurt has quit []
monkegjinni has quit [Ping timeout: 255 seconds]
<shevy> workmad3 I think I last compiled it ... hmm 2 years ago or 1 year or something like that
saarinen has joined #ruby
musashi1 has quit [Quit: Musashi1]
Vivekananda has quit [Quit: Ex-Chat]
blooberr____ has quit [Quit: Connection closed for inactivity]
<shevy> Glibc Version: (GNU libc) 2.17
ra4king has quit [Remote host closed the connection]
<shevy> I think that's just about the glibc at which ruby 1.8.7 refuses to want to be compiled
djcp has left #ruby ["WeeChat 0.4.3"]
ra4king has joined #ruby
<isomorphismes> canton7: I just got your shit/unshit comment. Clever!
nszceta has joined #ruby
lemur has joined #ruby
<canton7> yeah - heard someone else say it, and it stuck :P
GoodTimes has quit [Ping timeout: 244 seconds]
gusblan has quit [Remote host closed the connection]
GoodTimes has joined #ruby
gusblan has joined #ruby
steveelsewhere has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phantasm66 has quit [Quit: *sleeeep….]
cjsarette has quit [Remote host closed the connection]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cjsarette has joined #ruby
DavidJRobertson has quit [Quit: Bye :P - znc.in]
BWStearns has quit [Ping timeout: 252 seconds]
lewix has quit [Ping timeout: 264 seconds]
reset has quit [Quit: Leaving...]
dapz has joined #ruby
ctp has joined #ruby
gusblan has quit [Ping timeout: 255 seconds]
reset has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Sawbones has quit []
ccooke has quit [Remote host closed the connection]
nmokru has quit [Quit: nmokru]
<isomorphismes> oh also this makes def fun(*Args) .... make sense
<isomorphismes> its accept an array as arg
nszceta has quit []
saarinen has quit [Quit: saarinen]
ccooke has joined #ruby
segfalt has quit [Quit: Connection closed for inactivity]
djbkd has quit [Remote host closed the connection]
saarinen has joined #ruby
Hanmac has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
saarinen has quit [Client Quit]
Hanmac1 has quit [Ping timeout: 255 seconds]
toastynerd has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
silkfox has quit [Ping timeout: 240 seconds]
dblessing has quit [Quit: dblessing]
blackmesa has quit [Ping timeout: 272 seconds]
blueOxigen has quit [Ping timeout: 264 seconds]
SilverKey has quit [Quit: Halted.]
mradmacher has quit [Ping timeout: 240 seconds]
stantona has quit [Remote host closed the connection]
sputnik13 has quit [Ping timeout: 240 seconds]
cjsarette has quit [Remote host closed the connection]
sputnik13 has joined #ruby
cjsarette has joined #ruby
SCommette has joined #ruby
Shidash has joined #ruby
saarinen has joined #ruby
tjr9898 has quit [Remote host closed the connection]
Gil has joined #ruby
IcyDragon has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
Karunamo- is now known as Karunamon
IceDragon has quit [Ping timeout: 255 seconds]
silkfox has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
TheNumb has quit [Ping timeout: 264 seconds]
jxf has quit [Ping timeout: 240 seconds]
stantona has joined #ruby
tjr9898_ has joined #ruby
Takle has quit [Remote host closed the connection]
Gil has quit [Ping timeout: 245 seconds]
ponga has quit [Ping timeout: 255 seconds]
TheNumb has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
ahofmann has joined #ruby
IcyDragon is now known as IceDragon
nmokru has joined #ruby
treehug8_ has quit []
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
bradhe has joined #ruby
joaoh82 has joined #ruby
macdever has joined #ruby
macdever has left #ruby [#ruby]
dangerou_ has joined #ruby
b1205 has joined #ruby
dangerousdave has quit [Ping timeout: 240 seconds]
kaolinite has joined #ruby
fresham has quit [Quit: fresham]
SCommette has quit [Quit: SCommette]
akonny has quit [Quit: akonny]
<isomorphismes> >> a=[1,2,3,4,5]; x,*y,z = a; y
<eval-in> isomorphismes => [2, 3, 4] (https://eval.in/162011)
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
calaba has joined #ruby
<wallerdev> the power of ruby 1.9
klaut has quit [Remote host closed the connection]
blackmesa has joined #ruby
GoodTimes has quit [Ping timeout: 264 seconds]
kaolinite has left #ruby ["Textual IRC Client: www.textualapp.com"]
cjsarette has quit [Remote host closed the connection]
wildercycle has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 264 seconds]
cjsarette has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has quit [Read error: Connection reset by peer]
m8 has quit [Quit: Sto andando via]
alexju has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
danijoo has joined #ruby
b1205 has quit [Ping timeout: 255 seconds]
dangerou_ has quit [Ping timeout: 252 seconds]
calaba has quit [Remote host closed the connection]
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
joaoh82 has joined #ruby
acrussell has quit [Quit: Leaving.]
dawkirst has quit [Remote host closed the connection]
timonv has joined #ruby
cjsarette has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 272 seconds]
cjsarette has joined #ruby
qwyeth has quit [Quit: Leaving]
Notte has quit []
GoodTimes has joined #ruby
silkfox has quit [Ping timeout: 240 seconds]
dreks has quit [Quit: Leaving...]
yokel has quit [Ping timeout: 244 seconds]
yokel has joined #ruby
lemur has quit [Remote host closed the connection]
tjr9898_ has quit [Remote host closed the connection]
djbkd has joined #ruby
chipotle has joined #ruby
djr has joined #ruby
tjr9898 has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
adantj has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
sputnik13 has joined #ruby
rixius has quit [Quit: leaving]
sputnik13 has quit [Max SendQ exceeded]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
SCommette has joined #ruby
mtmcfarl has joined #ruby
niftylettuce_ has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
<mtmcfarl> How would one go about parsing a tab delimited file where the first three fields are single line and the last field is multiline? I'm trying IO and CSV.foreach
tjr9898 has quit [Ping timeout: 240 seconds]
<mtmcfarl> The end goal is to put this data into the database with the multiline field as a text column
<wildercycle> have you tried anything?
<mtmcfarl> I have tried IO.readlines and for each line splitting on the tab character.
dwayhs has joined #ruby
<mtmcfarl> this creates a huge array with each line of the mutiline field an element.
SCommette has quit [Client Quit]
spyderman4g63 has quit []
wildercycle is now known as berlin
x1337807x has joined #ruby
<berlin> code please
rinji has joined #ruby
berlin is now known as theberlin
Xeago has joined #ruby
<theberlin> so do you want to keep or throw out the first 3 fields?
<mtmcfarl> keep them
<mtmcfarl> i want 4 total fields
<theberlin> so you want an array of arrays?
geggam has quit [Remote host closed the connection]
<mtmcfarl> the last one being the concatenated message
danijoo has quit [Read error: Connection reset by peer]
cjsarette has quit [Remote host closed the connection]
djbkd has joined #ruby
cjsarette has joined #ruby
gusblan has joined #ruby
<mtmcfarl> I feel like I need to read the last column and loop through it somehow to get the entire message
danijoo has joined #ruby
riotjones has joined #ruby
<theberlin> so readlines just literally reads every line. what if you set up some if statements so that if the first 3 are empty but the last one is full, to concatenate it to the last item from the previous line?
thesheff17 has quit [Ping timeout: 244 seconds]
<workmad3> mtmcfarl: CSV can handle multiline fields as long as they're quoted appropriately, iirc...
tacit7 has joined #ruby
riotjone_ has quit [Ping timeout: 245 seconds]
<mtmcfarl> interesting that it can handle multiline fields.
jobewan has quit [Quit: Leaving]
<mtmcfarl> I think the issue is that the first line it reads has one quote in it since the entire message is dumped in a quote
cjsarette has quit [Remote host closed the connection]
<theberlin> can you show sample data?
<mtmcfarl> so the csv parser chokes and says mismatched quote
cjsarette has joined #ruby
andrewjanssen has quit [Remote host closed the connection]
<workmad3> mtmcfarl: yeah... badly quoted data will cause choking
<toretore> invalid csv, who'd have thought?
<workmad3> mtmcfarl: quotes within the text should be doubled up :P
<mtmcfarl> something like this 111111 ABCDEF 2014-05-09 12:45:01 UTC "From: Acme
<mtmcfarl> that would be a sample first line
jottr has joined #ruby
GriffinHeart has joined #ruby
<mtmcfarl> and it looks like the ending quote is at the end of the message which may be 100 lines in lenght
<workmad3> mtmcfarl: shouldn't matter, as long as all quotes within the message are escaped correctly (which in CSV is done by doubling the quotes)
dgaffney has joined #ruby
<workmad3> mtmcfarl: so what you have sounds like malformed data... so yeah, you're gonna have issues
<mtmcfarl> ok workmad3 I will double them up. I have access to how the file is generated as well.
zoraj has joined #ruby
<workmad3> mtmcfarl: I'd suggest you use a proper CSV generator to generate the file then...
<mtmcfarl> I will try that tonight, thanks for the tip.
senayar has quit [Remote host closed the connection]
<workmad3> mtmcfarl: if the generation is in ruby, the CSV library in stdlib can handle both reading and generating
jespada has quit [Quit: Leaving]
<mtmcfarl> workmad3: this is how its generated FasterCSV.open("./tmp/notes_export.csv", "w", { :col_sep => "\t", :row_sep => "\r\n"}) do |csv|
jottr_ has quit [Ping timeout: 264 seconds]
cjsarette has quit [Remote host closed the connection]
dukedave has joined #ruby
northfurr has joined #ruby
amargherio has quit [Remote host closed the connection]
cjsarette has joined #ruby
Vivekananda has joined #ruby
<mtmcfarl> we are just looping through the records and adding them to the csv array like csv << [field, field, field]
<workmad3> mtmcfarl: FasterCSV??? are you still using ruby 1.8? :/
<mtmcfarl> haha, no. I suppose I can just use CSV now
ctp has quit [Ping timeout: 264 seconds]
GriffinHeart has quit [Ping timeout: 252 seconds]
jhass is now known as jhass|off
mtmcfarl has left #ruby [#ruby]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 244 seconds]
Valesk_ has joined #ruby
ohwhoa has quit [Quit: woah!]
yubrew_ has quit []
snath has quit [Ping timeout: 245 seconds]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hanmac has joined #ruby
cjsarette has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
cjsarette has joined #ruby
arrubin has quit []
danman_ has joined #ruby
kpshek has quit []
Shidash has quit [Ping timeout: 252 seconds]
danman has quit [Ping timeout: 272 seconds]
danman_ is now known as danman
timgauthier has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
andrewjanssen has joined #ruby
lemur has joined #ruby
djbkd has joined #ruby
gondalier has joined #ruby
<segv> hey any of you use thor? I am trying to figure out how to have commands for each one of my included files seperately but getting confused
ahofmann has quit [Quit: Computer has gone to sleep.]
Gil has joined #ruby
danman_ has joined #ruby
ponga has joined #ruby
danman has quit [Ping timeout: 244 seconds]
danman_ is now known as danman
bradhe has joined #ruby
moritzs has joined #ruby
benweint has quit [Ping timeout: 255 seconds]
vifino has quit [Quit: Ze Cat now leaves...]
gondalier has quit [Quit: Textual IRC Client: www.textualapp.com]
gondalier has joined #ruby
<AntelopeSalad> segv: what do you mean?
x1337807x has quit [Ping timeout: 272 seconds]
<segv> just a bad understanding of how modular gems are built
<AntelopeSalad> do you want a single thor class that has a bunch of commands but the implementation details of each command is in its own file?
<segv> I have one file called cli.rb and I am using thor as the main starting point for the app, so App.start(ARGV) is passed to CLI.rb
Gil has quit [Ping timeout: 272 seconds]
ponga has quit [Ping timeout: 255 seconds]
<segv> I wanted to just have all my options in one spot and then include each one individually somehow but i've since confused myself and gone far down the wrong rabbit hole
bradhe has quit [Ping timeout: 272 seconds]
<segv> well, each one meaning, each other modular class individually
workmad3 has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
Shidash has joined #ruby
kies has quit [Ping timeout: 264 seconds]
Kricir has joined #ruby
toastynerd has quit [Remote host closed the connection]
snath has joined #ruby
<AntelopeSalad> segv: you might want to look at the bundler project on github
<segv> kk
<AntelopeSalad> it has a pretty good example of splitting up a cli in a reasonable way
<segv> I read they were using thor
frem has quit [Ping timeout: 264 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<segv> ahhh
x1337807x has joined #ruby
<segv> AntelopeSalad good call, that's cool how they handle it
x1337807x has quit [Client Quit]
linojon has quit [Quit: linojon]
saarinen has joined #ruby
<AntelopeSalad> yeah
<segv> very clean
chipotle has quit [Quit: cya]
zoraj has quit [Remote host closed the connection]
moritzschaefer has joined #ruby
cantonic has joined #ruby
perlsyntax has joined #ruby
zoraj has joined #ruby
Shidash has quit [Quit: Leaving.]
charliesome has joined #ruby
cjsarette has quit [Remote host closed the connection]
hermanmunster has quit [Remote host closed the connection]
cjsarette has joined #ruby
hermanmunster has joined #ruby
x1337807x has joined #ruby
dapz has joined #ruby
toastynerd has joined #ruby
ghr has joined #ruby
chipotle has joined #ruby
zoraj has quit [Ping timeout: 252 seconds]
gondalier has quit []
hermanmunster has quit [Read error: No route to host]
stantona has quit [Remote host closed the connection]
hermanmunster has joined #ruby
calaba has joined #ruby
ixti has quit [Ping timeout: 240 seconds]
NinoScript has quit [Quit: NinoScript]
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gondalier has joined #ruby
stantona has joined #ruby
VinDoKi has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
toastynerd has quit [Ping timeout: 272 seconds]
hermanmunster has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
mijicd has quit [Remote host closed the connection]
NinoScript has joined #ruby
MrDoctor has quit [Remote host closed the connection]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
VinDoKi has quit [Remote host closed the connection]
scx has quit [Ping timeout: 264 seconds]
kies has joined #ruby
brian___ has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
scx has joined #ruby
MrDoctor has joined #ruby
zybi1 has joined #ruby
<zybi1> whois Daiz
monkegjinni has joined #ruby
kevind has quit [Quit: kevind]
fold has quit [Ping timeout: 245 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
gruz0[russia] has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
BillyParadise has quit [Quit: Page closed]
JoshGlzBrk has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
hy2guru has quit [Quit: Connection closed for inactivity]
chipotle has quit [Ping timeout: 244 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
b1205 has joined #ruby
Takle has quit [Remote host closed the connection]
b1205 has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
timgauthier has joined #ruby
Valesk_ has joined #ruby
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
Kricir has quit [Remote host closed the connection]
nmokru has quit [Quit: nmokru]
ahofmann has joined #ruby
ahofmann has quit [Client Quit]
The_NetZ_ has quit [Quit: Leaving]
NukePuppy has joined #ruby
nmokru has joined #ruby
ahofmann has joined #ruby
saarinen has quit [Quit: saarinen]
jonahR has quit [Quit: ¡Adios amigos, me fui para el carajo!]
saarinen has joined #ruby
charliesome has joined #ruby
bradhe has joined #ruby
hpoydar has quit [Remote host closed the connection]
ahofmann has quit [Ping timeout: 272 seconds]
cjsarette has quit [Remote host closed the connection]
cjsarette has joined #ruby
yetanotherdave has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: i've nodded off.]
hermanmunster has joined #ruby
ner0x has joined #ruby
jrhe has joined #ruby
luksaur has joined #ruby
luksaur has quit [Changing host]
luksaur has joined #ruby
NukePuppy has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 255 seconds]
andrewlio has quit [Remote host closed the connection]
lewix has joined #ruby
lewix has quit [Max SendQ exceeded]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfran has joined #ruby
Gil has joined #ruby
lw has quit [Quit: s]
lewix has joined #ruby
dgutierrez1287 has quit [Ping timeout: 244 seconds]
lewix has quit [Max SendQ exceeded]
lewix has joined #ruby
lewix has quit [Max SendQ exceeded]
lewix has joined #ruby
`mrspock has joined #ruby
lewix has quit [Max SendQ exceeded]
timonv has joined #ruby
tcstar has quit [Quit: Leaving]
lewix has joined #ruby
lewix has quit [Max SendQ exceeded]
cjsarette has quit [Remote host closed the connection]
aantix has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gil has quit [Ping timeout: 264 seconds]
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
yetanotherdave has joined #ruby
cjsarette has joined #ruby
lewix has quit [Max SendQ exceeded]
Xeago has quit [Remote host closed the connection]
tacit7 has quit [Quit: Leaving.]
_bart has quit [Ping timeout: 240 seconds]
lewix has joined #ruby
kilk_ has quit [Quit: kilk_]
apeiros has quit [Remote host closed the connection]
lewix has quit [Max SendQ exceeded]
<shevy> hmm
apeiros has joined #ruby
stantona has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
<theberlin> hrm.
lewix has joined #ruby
lewix has quit [Max SendQ exceeded]
timonv has quit [Ping timeout: 264 seconds]
dukedave has quit [Ping timeout: 240 seconds]
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
BWStearns has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
sputnik13 has joined #ruby
aantix has quit [Quit: aantix]
sepp2k has quit [Ping timeout: 244 seconds]
jfran has quit []
sepp2k has joined #ruby
pen has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 244 seconds]