apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
Xeago has quit [Read error: Connection reset by peer]
redgirl has quit [Quit: This computer has gone to sleep]
orien has joined #ruby
bigoldrock has quit [Ping timeout: 240 seconds]
stonevil has joined #ruby
WebDawg has left #ruby [#ruby]
mansi has joined #ruby
Lubinski has joined #ruby
djbkd has quit [Remote host closed the connection]
ferdev has quit [Ping timeout: 246 seconds]
DrCode has quit [Remote host closed the connection]
tcat has quit [Ping timeout: 250 seconds]
Opettaja has joined #ruby
swex has joined #ruby
jonathanwallace has quit [Ping timeout: 276 seconds]
swex has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
tcat-d has quit [Ping timeout: 250 seconds]
mansi has quit [Ping timeout: 246 seconds]
maroloccio has joined #ruby
dmiller has joined #ruby
marr has quit [Ping timeout: 246 seconds]
ephemerian has quit [Quit: Leaving.]
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
Es0teric has joined #ruby
Munto has quit [Quit: Let's make things Frugal!]
cofin has joined #ruby
rupee has quit [Quit: Leaving]
kil0byte has quit [Ping timeout: 260 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
kiri has quit [Ping timeout: 256 seconds]
<ner0x> DateTime.new(rand(2000..2015), rand(1..12), rand(1..28), rand(0..23), rand(0..59), 0, '+5').strftime('%m-%d-%Y %H:%I %p') This comes out UTC everytime. How can I get the offset of +5 ?
DrCode has joined #ruby
mikepack has joined #ruby
Meatant has quit [Remote host closed the connection]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
dmiller has quit [Ping timeout: 240 seconds]
tjbiddle_ has joined #ruby
Meatant has joined #ruby
tjbiddle has quit [Ping timeout: 248 seconds]
tjbiddle_ is now known as tjbiddle
<heftig> ner0x: works fine for me, but you probably want %H:%M
horofox_ has joined #ruby
kiri has joined #ruby
tylersmith has joined #ruby
<heftig> er, %I:%M if you're using %p
ferdev has joined #ruby
vwoo has quit [Ping timeout: 256 seconds]
icole has quit [Read error: Connection reset by peer]
twoism has quit [Remote host closed the connection]
icole has joined #ruby
wsterling has joined #ruby
axsuul has quit [Quit: axsuul]
vwoo has joined #ruby
etruscan has joined #ruby
iaj has quit [Read error: Connection reset by peer]
<ner0x> heftig: You're correct... But it doesn't work for me stuff.
tylersmi_ has joined #ruby
DanKnox is now known as DanKnox_away
jonahR has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 256 seconds]
<ner0x> heftig: You're correct. I'll have to look a bit harder. I must be missing something simple.
wesside has joined #ruby
rsahae has quit [Quit: rsahae]
slainer68 has joined #ruby
jonahR has joined #ruby
cofin has quit [Quit: cofin]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
jimg has joined #ruby
wsterling has quit [Ping timeout: 240 seconds]
freerobby has quit [Client Quit]
cofin has joined #ruby
arubin has joined #ruby
<ner0x> heftig: I guess what I'm asking is how do you create a datetime and change the timezone so that meridian works?
moos3 has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 245 seconds]
eccstartup has quit [Quit: 离开]
v0n has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
hogeo has joined #ruby
mvangala_ has joined #ruby
mvangala has quit [Read error: Connection reset by peer]
ner0x has quit [Quit: Leaving]
tbrock has quit [Quit: Computer has gone to sleep.]
jimg has quit [Ping timeout: 252 seconds]
ArchBeOS has quit [Remote host closed the connection]
tylersmi_ has quit [Ping timeout: 264 seconds]
zeade has quit [Quit: Leaving.]
tkuchiki has joined #ruby
bubblehe_ has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
bubblehead has joined #ruby
slainer68 has quit [Ping timeout: 264 seconds]
c0rn has joined #ruby
dnyy_ is now known as dnyy
marcgg has quit [Read error: No route to host]
vwoo has quit [Ping timeout: 260 seconds]
burlyscudd has quit [Remote host closed the connection]
rsahae has joined #ruby
marcgg has joined #ruby
vwoo has joined #ruby
cofin has quit [Quit: cofin]
vlad_starkov has joined #ruby
brianpWins has joined #ruby
jimg has joined #ruby
dagnachew has quit [Quit: Leaving]
tbrock has joined #ruby
ivanoats has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
jimg has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jonathanwallace has joined #ruby
eccstartup has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
eccstartup has quit [Max SendQ exceeded]
vlad_starkov has quit [Ping timeout: 268 seconds]
eccstartup has joined #ruby
ffranz has quit [Quit: Leaving]
ravster has joined #ruby
mvangala_ has quit [Read error: Connection reset by peer]
tw1sted has quit [Quit: tw1sted]
jimg has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
mvangala has joined #ruby
JZTech101 has quit [Remote host closed the connection]
nari has joined #ruby
chrisja has quit [Quit: leaving]
ia___ has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
<ia___> hello, is it possible to force ruby print full stack trace while running script?
bubblehead has joined #ruby
JZTech101 has joined #ruby
pskosinski has quit [Quit: pskosinski]
JZTech101 has quit [Read error: Connection reset by peer]
Meatant has quit [Ping timeout: 252 seconds]
vwoo has quit [Ping timeout: 240 seconds]
Elico has quit [Quit: Elico]
Yakko has joined #ruby
buzzybron has joined #ruby
vwoo has joined #ruby
bionhart has quit [Remote host closed the connection]
<nightfly> you could trigger and catch an exception
JZTech101 has joined #ruby
<nightfly> s/trigger/trow or whatever/
<nightfly> s/trow/throw/
demet8 has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
cj3kim has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 240 seconds]
vwoo has quit [Ping timeout: 260 seconds]
mansi has joined #ruby
Lubinski has quit [Read error: Connection reset by peer]
harrymoreno has quit [Quit: harrymoreno]
DrCode has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 252 seconds]
vwoo has joined #ruby
Meatant has joined #ruby
dankest has quit [Quit: Leaving...]
DrCode has joined #ruby
lyanchih has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
Matip has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 260 seconds]
bubblehead has joined #ruby
timkohrumel has quit [Remote host closed the connection]
vwoo has quit [Ping timeout: 264 seconds]
Leighton has quit [Quit: Leaving]
jduan1981 has quit [Ping timeout: 245 seconds]
Mattix has quit [Ping timeout: 256 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
Yakko has quit [Read error: Connection reset by peer]
<pontiki> 'raise' :)
vwoo has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
<Quadlex> In persuit of solving one of the "Hard Problems" of computer science...
<pontiki> only because throw means something quite different in ruby
Yakko has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<Quadlex> What's a good namespace for an API Module which provides methods which just fetch information about using the API?
kofno has joined #ruby
Dummies_freelanc has quit [Ping timeout: 240 seconds]
<fryguy> Usage
<Quadlex> Oh, and server status info
<pontiki> Server::Status ?
<Quadlex> I'm writing an API wrapper
cofin has joined #ruby
<Quadlex> And I jsut want to avoiding having 10'000 namespace
splittingred has joined #ruby
bigkm has joined #ruby
yxhuvud2 has quit [Quit: Nettalk6 - www.ntalk.de]
blitz has quit [Quit: This computer has gone to sleep]
<Quadlex> Le Fuckit. I'll bundle them into the "Information" namespace then provide shortcut methods from the parent module
yxhuvud has joined #ruby
Hanmac2 has joined #ruby
nezumi has joined #ruby
mikepack has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 255 seconds]
kofno has quit [Ping timeout: 252 seconds]
vwoo has quit [Ping timeout: 240 seconds]
arya has quit [Ping timeout: 248 seconds]
yshh has joined #ruby
_dv_ has joined #ruby
GreatSUN_ has quit [Read error: Connection reset by peer]
dv_ has quit [Ping timeout: 264 seconds]
vwoo has joined #ruby
Dekade has quit []
_maes_ has joined #ruby
<pontiki> oh, a wrapper; soz
fomatin has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
fomatin has joined #ruby
<pontiki> i havent written a general purpose API calling wrapper
tjbiddle_ has joined #ruby
tylersmith has joined #ruby
<pontiki> i write specific one that hust encapsulate the specific functions needed
<pontiki> i sure would appreciate a g.p. wrapper that some of what you're doing
<pontiki> s/that/with
<pontiki> in some cases
yshh has quit [Ping timeout: 240 seconds]
bradhe has quit [Remote host closed the connection]
arya has joined #ruby
kx has quit []
tjbiddle has quit [Ping timeout: 276 seconds]
tjbiddle_ is now known as tjbiddle
vwoo has quit [Ping timeout: 264 seconds]
kofno has joined #ruby
vwoo has joined #ruby
fermion_ has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
arya has quit [Ping timeout: 248 seconds]
jimg has quit [Remote host closed the connection]
JZTech101 has quit [Ping timeout: 245 seconds]
_nothing__ has joined #ruby
andredieb is now known as ANDREDIEB
<_nothing__> is there ruby code to KILL a virus computer that we have know character of virus?
sleetdrop has joined #ruby
moos3 has joined #ruby
kindjal has joined #ruby
<_nothing__> such as ramnit.e ,that is make my master file such as setup.exe infected.so can we scan in my setup.exe,part of code that have infected by virus,.?
<_nothing__> such as ramnit.e ,that is make my master file such as setup.exe infected.so can we scan in my setup.exe,part of code that have infected by virus,.?
bionhart has joined #ruby
<_nothing__> i'm using ubuntu
hamakn has joined #ruby
tacos1de has quit [Remote host closed the connection]
Kabaka has quit [Read error: Connection reset by peer]
sleetdro_ has joined #ruby
<_nothing__> i'm sorry about my question that is long question.
sleetdrop has quit [Ping timeout: 246 seconds]
hamakn has quit [Read error: Connection reset by peer]
v0n has quit [Read error: Operation timed out]
hamakn has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
Kabaka has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
v0n has joined #ruby
tommyvyo has quit [Quit:]
pitzips has joined #ruby
iamjarvo has joined #ruby
burlyscudd has joined #ruby
burlyscudd has joined #ruby
tacos1de has joined #ruby
harrymoreno has joined #ruby
vwoo has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Ping timeout: 260 seconds]
ttt has joined #ruby
vwoo has joined #ruby
Michae___ has quit [Remote host closed the connection]
Michae___ has joined #ruby
Domon has joined #ruby
dankest has joined #ruby
<Nuck> ... I... whut
<Nuck> I don't even
reset has quit [Ping timeout: 276 seconds]
momomomomo has quit [Quit: momomomomo]
jimg has joined #ruby
Yakko has quit [Ping timeout: 252 seconds]
ioNull has joined #ruby
freerobby has joined #ruby
mfollett has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
freerobby has quit [Client Quit]
mansi has joined #ruby
timkohrumel has joined #ruby
jimg_ has joined #ruby
_nothing__ has quit [Quit: Leaving]
timkohrumel has quit [Remote host closed the connection]
dmiller has joined #ruby
bradhe has joined #ruby
jimg has quit [Ping timeout: 240 seconds]
Michae___ has quit [Read error: Connection reset by peer]
Michae___ has joined #ruby
Michae___ has quit [Remote host closed the connection]
Michae___ has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
Voodoofish430 has quit [Quit: Leaving.]
freerobby has joined #ruby
brianpWins has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
ner0x has joined #ruby
jonathanwallace has joined #ruby
machuga|away is now known as machuga
twoism has joined #ruby
vwoo has quit [Quit: Computer has gone to sleep.]
bubblehead has quit [Read error: Connection reset by peer]
rsahae has quit [Quit: rsahae]
mansi has joined #ruby
bubblehead has joined #ruby
pothibo has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
lewis has joined #ruby
jimg_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
zeade has joined #ruby
axsuul has joined #ruby
Cyrus has joined #ruby
Michae___ has quit [Remote host closed the connection]
jkline has joined #ruby
Aaaarg has joined #ruby
Michae___ has joined #ruby
Michae___ has quit [Remote host closed the connection]
malkomalko has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
Michae___ has joined #ruby
kofno has quit [Remote host closed the connection]
jimg has joined #ruby
pitzips has quit [Read error: Operation timed out]
dankest has quit [Quit: Leaving...]
radic_ has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
GeissT has joined #ruby
Beoran_ has joined #ruby
arya has joined #ruby
horofox_ has quit [Quit: horofox_]
orien has quit [Quit: Computer has gone to sleep.]
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby
krz has joined #ruby
Beoran__ has quit [Ping timeout: 255 seconds]
shadoi has quit [Quit: Leaving.]
machuga is now known as machuga|away
shadoi has joined #ruby
Michae___ has quit [Remote host closed the connection]
ping-pong has quit [Ping timeout: 255 seconds]
arya has quit [Ping timeout: 248 seconds]
Guedes has joined #ruby
dankest has joined #ruby
Michae___ has joined #ruby
nowthatsamatt has joined #ruby
mrdtt has joined #ruby
Apane has quit [Ping timeout: 246 seconds]
sailias has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
cofin has quit [Quit: cofin]
wsterling has joined #ruby
Apane has joined #ruby
<davidcelis> wtf was that
adkron has joined #ruby
tndrbt has joined #ruby
Nisstyre-laptop has joined #ruby
<r0bgleeson> obv an elite hacker
dmiller has quit [Remote host closed the connection]
bubblehead has quit [Remote host closed the connection]
tenseiten has quit [Ping timeout: 240 seconds]
nalaginrut has joined #ruby
Davey has joined #ruby
ping-pong has joined #ruby
havenwood has quit [Remote host closed the connection]
seitensei has joined #ruby
mikepack has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
orien has joined #ruby
eccstartup has quit [Ping timeout: 240 seconds]
nhhagen has quit [Ping timeout: 276 seconds]
tndrbt has quit [Quit: tndrbt]
nhhagen has joined #ruby
Michae___ has quit [Remote host closed the connection]
dmiller_ has joined #ruby
adkron has quit [Ping timeout: 268 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 248 seconds]
i_s has joined #ruby
athst has quit [Quit: athst]
ner0x has quit [Quit: Leaving]
pothibo has quit [Quit: pothibo]
brianpWins has quit [Quit: brianpWins]
demet8 has quit [Quit: demet8]
Thanatermesis has joined #ruby
cofin has joined #ruby
ffranz has joined #ruby
kindjal has quit [Quit: Computer has gone to sleep.]
dankest has quit [Quit: Leaving...]
cha1tanya has joined #ruby
cha1tanya has joined #ruby
bradhe has quit [Remote host closed the connection]
axsuul has quit [Quit: axsuul]
Levin_22 has joined #ruby
iamjarvo has quit [Quit: Leaving.]
Levin_22 has quit [Remote host closed the connection]
<quazimodo> <- applied for a ruby job
<pontiki> in a bell tower?
bradhe has joined #ruby
Levin_22 has joined #ruby
eccstartup has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
eccstartup has quit [Max SendQ exceeded]
eccstartup has joined #ruby
phipes has quit [Quit: phipes]
blitz has joined #ruby
Godd2 has joined #ruby
phipes has joined #ruby
ffranz has quit [Quit: Leaving]
tspike has quit [Read error: Connection reset by peer]
tspike has joined #ruby
harrymoreno has quit [Read error: Connection reset by peer]
Guga_ has quit [Quit: ~]
Domon has quit [Read error: Connection reset by peer]
harrymoreno has joined #ruby
NsOmNiAc has quit [Read error: Operation timed out]
Rennex has quit [Read error: Operation timed out]
freerobby has joined #ruby
Domon has joined #ruby
NsOmNiAc has joined #ruby
Rennex has joined #ruby
cj3kim has joined #ruby
splittingred has quit [Quit: splittingred]
lewis has quit [Remote host closed the connection]
lewis has joined #ruby
fomatin has joined #ruby
jamel has joined #ruby
crankyco_ has quit [Remote host closed the connection]
eldariof has joined #ruby
crankyco_ has joined #ruby
wsterling has quit [Remote host closed the connection]
mklappst_ has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
lewis has quit [Ping timeout: 256 seconds]
Guedes has quit [Ping timeout: 240 seconds]
<quazimodo> in what part of the world do people develop computer software in bell towers?
<epitron> the bells... THE BELLS!!!
momomomomo has quit [Quit: momomomomo]
DomKM has quit [Quit: Leaving.]
freerobby has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
subbyyy has quit [Ping timeout: 240 seconds]
jwang has joined #ruby
yshh has joined #ruby
<jkline> quazimodo: at Bell Labs?
eccstartup has quit [Quit: 离开]
dankest has joined #ruby
tylersmith has quit [Remote host closed the connection]
chandankumar has joined #ruby
icole_ has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
raul782 has joined #ruby
<wald0> what is the fastest way to learn ruby ? (something like a reference what is each thing?), i would like to first understand it fast to hack a few things before i go to learn it entirely
raul782 has left #ruby [#ruby]
icole has quit [Ping timeout: 245 seconds]
io_syl has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Ping timeout: 256 seconds]
yshh_ has joined #ruby
tjbiddle has joined #ruby
<jkline> wald0: If you want the ultimate reference manual you can try the standard library documentation http://ruby-doc.org/stdlib-1.9.3/ but for me that is not the fastest way to learn
<jkline> you could try the pick axe book
yshh has quit [Ping timeout: 264 seconds]
lyanchih has quit [Quit: lyanchih]
phipes has quit [Quit: phipes]
<wald0> jkline: axe book is almost 1000 pages :/
pipework has quit [Remote host closed the connection]
<wald0> jkline: well, more like these links i would like to understand first the syntax and what means, things like { |a| }..
Astralum has quit [Quit: Leaving]
<Levin_22> code academy is the fastest way ;)
<Levin_22> www.codecademy.com and fun
tjbiddle has quit [Quit: tjbiddle]
d2dchat has quit [Remote host closed the connection]
<jkline> wald0: it is very hard to know how to begin. Pick Axe second chapter, about 15 pages, is what you need to know to understand the rest of the book
<jkline> { | a | } creates a block with one argument
DomKM has joined #ruby
JumpMast3r has joined #ruby
bradhe has quit [Remote host closed the connection]
<jkline> like def foo(a), but instead of a method named foo you have an anonymous function
cyong has joined #ruby
<jkline> there are differences between lambdas, blocks, Procs, and methods, but I don't understand the differences, and the differences are advanced not "syntax"
etruscan has quit [Quit: Lost terminal]
<jkline> wald0: does that make sense?
Es0teric has quit [Quit: Computer has gone to sleep.]
chandankumar has quit [Read error: Connection reset by peer]
yacks has quit [Read error: Connection reset by peer]
yacks has joined #ruby
subbyyy has joined #ruby
iaj has joined #ruby
i_s has quit [Quit: i_s]
freakazoid0223 has quit [Ping timeout: 252 seconds]
ravster has quit [Quit: Leaving.]
agent_white has joined #ruby
crankyco_ has quit [Remote host closed the connection]
Domon has quit [Ping timeout: 245 seconds]
mrdtt has quit [Quit: mrdtt]
dhruvasagar has quit [Ping timeout: 255 seconds]
mrdtt has joined #ruby
dmiller_ has quit [Remote host closed the connection]
kofno has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
doodlas947 has joined #ruby
<doodlas947> can someone help me with a small error? http://ideone.com/PKu2sE
baroquebobcat has joined #ruby
twoism has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
Domon has joined #ruby
<jkline> doodlas947: line 4, arr is different from @arr
<jkline> arr is a local var, @arr is an instance var
mfollett has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
<doodlas947> I want local var so i changed all to arr but it still says undefined local variable or method `arr'
mduvall has joined #ruby
<doodlas947> I know that there are built-in functions I just practicing
kofno has quit [Remote host closed the connection]
Jackneill has joined #ruby
<jkline> doodlas947: if you want a local var you have to initialize it within the function, or pass it in as an argument
sean_ has joined #ruby
<sean_> does anyone here know what timsort is?
<jkline> try changing it all to @arr
<jkline> sean_: a way to properly arrange all the people named Tim?
<sean_> no
passcod has quit [Ping timeout: 256 seconds]
<sean_> so nobody knows how..
<sean_> *huh
cj3kim has quit [Remote host closed the connection]
<wald0> jkline: yes! thank you :)
sleetdro_ has quit [Quit: Computer has gone to sleep.]
akemrir has joined #ruby
<doodlas947> Now it says uninitialized constant Match::True (NameError) http://ideone.com/PKu2sE :S
citizensinspace has joined #ruby
x1337807x has joined #ruby
<jkline> doodlas947: capitalized things are class names. The boolean constants are true and false, all lower case
<jkline> which are instances of TrueClass and FalseClass respectively
passcod has joined #ruby
<jkline> actually, I think that is slighly wrong. I think typically classes and modules are named with an initial capital letter, but the interpreter will check if it is a constant if there is no such class
<jkline> and it starts with a capital letter
tonini has joined #ruby
Domon has quit [Remote host closed the connection]
v1n has joined #ruby
<doodlas947> jkline: thank you
v0n has quit [Read error: Connection reset by peer]
splittingred has joined #ruby
splittingred has quit [Client Quit]
io_syl has joined #ruby
girija has joined #ruby
eldariof has quit [Ping timeout: 245 seconds]
x1337807x has quit [Ping timeout: 252 seconds]
Nisstyre-laptop is now known as Nisstyre
jbueza has joined #ruby
splittingred has joined #ruby
pootler__ has joined #ruby
pootler_ has joined #ruby
cha1tanya has quit [Quit: Leaving]
<jkline> doodlas947: you are welcome.
<jkline> wald0: you are welcome.
nlv has joined #ruby
tspike has quit [Ping timeout: 264 seconds]
byprdct has joined #ruby
vlad_starkov has joined #ruby
icole_ has quit [Read error: Connection reset by peer]
Meatant has quit [Ping timeout: 256 seconds]
icole has joined #ruby
dmiller has joined #ruby
jimg has quit [Remote host closed the connection]
leonidlm has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
zacts has quit [Quit: leaving]
bubblehead has joined #ruby
wsterling has joined #ruby
mahmoudimus has joined #ruby
hadees has quit [Quit: hadees]
mansi has quit [Remote host closed the connection]
GeissT has quit [Quit: MillBroChat AdIRC User]
Levin_22 has quit [Quit: Levin_22]
mansi has joined #ruby
tw1sted has joined #ruby
wsterling has quit [Read error: Operation timed out]
rickruby has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
johnrlive has quit [Remote host closed the connection]
Meatant has joined #ruby
io_syl has quit [Ping timeout: 245 seconds]
mansi has joined #ruby
io_syl has joined #ruby
browndawg has joined #ruby
brianpWins has joined #ruby
sleetdrop has joined #ruby
dr_neek has joined #ruby
dr_neek has quit [Client Quit]
mansi has quit [Remote host closed the connection]
cj3kim has joined #ruby
Es0teric has joined #ruby
mansi has joined #ruby
<quazimodo> jkline: <3
harrymoreno has joined #ruby
jkline has quit [Quit: jkline]
splittingred has quit [Quit: splittingred]
mfollett has quit [Remote host closed the connection]
lyanchih has joined #ruby
kofno has joined #ruby
Es0teric has quit [Client Quit]
Es0teric has joined #ruby
Es0teric has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
mansi has quit [Ping timeout: 264 seconds]
byprdct has quit [Ping timeout: 252 seconds]
a_a_g has joined #ruby
pootler__ has quit [Ping timeout: 252 seconds]
kofno has quit [Ping timeout: 246 seconds]
ananthakumaran has joined #ruby
pootler_ has quit [Ping timeout: 276 seconds]
tspike has joined #ruby
aedornm has joined #ruby
mrdtt_ has joined #ruby
codecop has joined #ruby
<wald0> mmh, I have just noticed that there's a "code academy" but also a "code school", which one is better ?
mrdtt has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
mrdtt_ is now known as mrdtt
girija has quit [Ping timeout: 276 seconds]
mrdtt has quit [Client Quit]
sayan has joined #ruby
tspike has quit [Ping timeout: 276 seconds]
mrdtt has joined #ruby
jimg has joined #ruby
macmartine has joined #ruby
yshh_ has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 268 seconds]
mrdtt_ has joined #ruby
Opettaja has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby
dhruvasagar has joined #ruby
DomKM has quit [Quit: Leaving.]
crankyco_ has joined #ruby
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
mrdtt has quit [Ping timeout: 245 seconds]
mrdtt_ is now known as mrdtt
jbueza has quit [Quit: Leaving.]
wald0 has quit [Quit: leaving]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
spacebug_ has quit [Ping timeout: 248 seconds]
aedornm has quit [Quit: Leaving]
Domon has joined #ruby
crankyco_ has quit [Ping timeout: 246 seconds]
jimg has quit [Ping timeout: 245 seconds]
<pontiki> sean_: i got this: https://en.wikipedia.org/wiki/Timsort
zaargy has joined #ruby
bionhart has quit [Remote host closed the connection]
citizensinspace has quit [Quit: citizensinspace]
harrymoreno_ has joined #ruby
tylersmith has quit [Ping timeout: 252 seconds]
girija has joined #ruby
tw1sted has quit [Quit: tw1sted]
a_a_g has quit [Quit: Leaving.]
apeiros has quit [Remote host closed the connection]
harrymoreno has quit [Ping timeout: 276 seconds]
harrymoreno_ is now known as harrymoreno
apeiros has joined #ruby
kobain has quit [Quit: l'unica verità.. è la morte stessa!]
i_s has joined #ruby
JohnBat26 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
saarinen has quit [Quit: saarinen]
zigomir has joined #ruby
spacebug has joined #ruby
i_s has quit [Client Quit]
i_s has joined #ruby
agent_white has quit [Quit: leaving]
saarinen has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
dmiller has quit [Remote host closed the connection]
yshh has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
jimg has joined #ruby
arya has joined #ruby
i_s has quit [Quit: i_s]
harrymoreno has quit [Ping timeout: 264 seconds]
nomenkun has joined #ruby
doodlas947 has quit [Quit: irc2go]
harrymoreno has joined #ruby
tagrudev has joined #ruby
<nightfly> Does puppet muck with the ruby SSL settings/state? A Hiera backend that works just fine that with the hiera command line utility gives an SSL cert verification error when invoked from within puppet. The backend uses a gem that intentionally doesn't do SSL cert verification.
dash_ has joined #ruby
Domon has quit [Remote host closed the connection]
bradhe has joined #ruby
arya has quit [Ping timeout: 248 seconds]
v1n has quit [Ping timeout: 256 seconds]
nomenkun has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 245 seconds]
sayan has quit [Read error: Connection reset by peer]
arya has joined #ruby
johnrlive has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
Domon has joined #ruby
rickruby has quit [Remote host closed the connection]
emmanuelux has quit [Quit: emmanuelux]
cyong has quit [Quit: Leaving.]
cj3kim has quit [Remote host closed the connection]
bionhart has joined #ruby
verto has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby
Uranio has quit [Remote host closed the connection]
johnrlive has quit [Ping timeout: 252 seconds]
Uranio has joined #ruby
ananthakumaran has joined #ruby
persand has joined #ruby
jaybe has quit [Ping timeout: 255 seconds]
falk_ has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
Rizzle has quit [Read error: Connection reset by peer]
pootler_ has joined #ruby
lunarjar has quit [Ping timeout: 255 seconds]
arusso has quit [Ping timeout: 255 seconds]
jaybe has joined #ruby
dmiller has joined #ruby
lunarjar has joined #ruby
pootler__ has joined #ruby
arusso has joined #ruby
Apane has quit [Ping timeout: 264 seconds]
corehook has joined #ruby
Kar- has joined #ruby
mduvall has quit [Quit: mduvall]
cj3kim has quit [Ping timeout: 268 seconds]
dmiller has quit [Ping timeout: 256 seconds]
mansi has joined #ruby
whowantstolivefo has joined #ruby
wallerdev has quit [Quit: wallerdev]
mfollett has joined #ruby
sayan has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
nomenkun has joined #ruby
Meatant has quit [Quit: free hat!]
a_a_g has joined #ruby
browndawg has quit [Ping timeout: 260 seconds]
jprovazn has joined #ruby
arya has quit [Ping timeout: 248 seconds]
harrymoreno has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
mfollett has quit [Ping timeout: 255 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
leonidlm has joined #ruby
dankest has quit [Quit: Leaving...]
ayaz has joined #ruby
eighty4 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
rdark has joined #ruby
corehook_ has joined #ruby
advorak has joined #ruby
arya has joined #ruby
JimmyNeutron has joined #ruby
tylersmith has joined #ruby
corehook has quit [Ping timeout: 252 seconds]
stonevil has quit [Remote host closed the connection]
stonevil has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
tomzx_mac has quit [Ping timeout: 252 seconds]
luckyruby has joined #ruby
<nightfly> I asked this is the wrong buffer, sorry...
tylersmith has quit [Ping timeout: 252 seconds]
advorak has left #ruby [#ruby]
wargasm has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
jimg has quit [Remote host closed the connection]
stonevil has quit [Ping timeout: 260 seconds]
Roa has quit [Ping timeout: 245 seconds]
andikr has joined #ruby
Roa has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Hanmac has quit [Quit: Leaving.]
bionhart has quit [Remote host closed the connection]
atno has quit [Ping timeout: 252 seconds]
Shirakawasuna has joined #ruby
Nisstyre has quit [Quit: Leaving]
jalcine has quit [Excess Flood]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has joined #ruby
sleetdrop has quit [Ping timeout: 264 seconds]
byprdct has joined #ruby
HecAtic has joined #ruby
a_a_g has quit [Quit: Leaving.]
boblu has joined #ruby
sayan has quit [Read error: Connection reset by peer]
scrollback has joined #ruby
vlad_starkov has quit [Ping timeout: 268 seconds]
jojosiao has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
ghatak has joined #ruby
samuel02 has joined #ruby
axsuul has joined #ruby
ChristianS has quit [Excess Flood]
ChristianS has joined #ruby
nbe has joined #ruby
zigomir has quit [Quit: zigomir]
arya has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
subbyyy has quit [Ping timeout: 252 seconds]
<nbe> If I have a array of the form: ["key1:value1", "key2:value2"], what is an elegant way of splitting this up into a hash, with keys being "key1" and "key2" and their respective values "value1" and "value2"?
zigomir has quit [Client Quit]
mafolz has joined #ruby
jalcine has joined #ruby
bigkm has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Domon has quit [Remote host closed the connection]
<pontiki> nbe, familiar with String#split ?
bradhe has quit [Remote host closed the connection]
johnrlive has joined #ruby
bradhe has joined #ruby
ayaz has joined #ruby
ayaz has joined #ruby
ayaz has quit [Changing host]
mafolz has quit [Client Quit]
<nbe> pontiki: yeah, I was thinking more in the lines of using inject, of course using split as well, but maybe inject isn't what I want to use in this situation
<pontiki> using that in a reduce/inject
mafolz has joined #ruby
vlad_starkov has joined #ruby
<pontiki> other schemes tend to need more variables named
Domon has joined #ruby
arya has joined #ruby
<supki> >> Hash[["key1:value1", "key2:value2"].map{ |x| x.split(":") }]
<eval-in> supki => {"key1"=>"value1", "key2"=>"value2"} (https://eval.in/33507)
jimg has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
nignaztic has joined #ruby
johnrlive has quit [Ping timeout: 251 seconds]
zigomir has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
dagobah has joined #ruby
lemonsparrow has joined #ruby
_ffio_ has joined #ruby
Domon has quit [Remote host closed the connection]
harrymoreno has quit [Ping timeout: 246 seconds]
nazty has quit [Ping timeout: 246 seconds]
ffio_ has quit [Ping timeout: 276 seconds]
jprovazn has quit [Read error: Operation timed out]
chrishough has quit [Quit: chrishough]
bionhart has joined #ruby
chrishough has joined #ruby
Davey has joined #ruby
browndawg has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Davey has quit [Max SendQ exceeded]
ayaz has quit [Quit: leaving]
ayaz has joined #ruby
rickruby has joined #ruby
jimg has quit [Ping timeout: 240 seconds]
lkba has quit [Read error: Connection reset by peer]
blitz has quit [Quit: This computer has gone to sleep]
lkba has joined #ruby
Davey has joined #ruby
arya has quit [Ping timeout: 248 seconds]
<pontiki> that is more elegant
harrymoreno has joined #ruby
<pontiki> and i didn't know [] was a class method
Giorgio has joined #ruby
pootler_ has quit [Ping timeout: 264 seconds]
<nbe> supki: very nice, thank you :)
Shirakawasuna has quit [Ping timeout: 246 seconds]
pootler__ has quit [Ping timeout: 256 seconds]
rickruby has quit [Ping timeout: 240 seconds]
sean_ has quit [Quit: leaving]
yshh has quit [Remote host closed the connection]
Stelian1 has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
nignaztic has quit [Read error: Connection reset by peer]
radic has joined #ruby
nignaztic has joined #ruby
saarinen has joined #ruby
aganov has joined #ruby
sideshowcoder has quit [Read error: Operation timed out]
bionhart has quit [Remote host closed the connection]
redgirl has joined #ruby
alem0lars has joined #ruby
threesome has quit [Ping timeout: 260 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
crankyco_ has joined #ruby
ghatak has quit [Quit: Leaving.]
jprovazn has joined #ruby
sideshowcoder has joined #ruby
Coffers has joined #ruby
workmad3 has joined #ruby
tylersmith has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
crankyco_ has quit [Read error: Operation timed out]
mklappstuhl has joined #ruby
pi3r has joined #ruby
tylersmith has quit [Ping timeout: 260 seconds]
classix has quit [Ping timeout: 240 seconds]
bionhart has joined #ruby
arturaz has joined #ruby
yshh has joined #ruby
stonevil has joined #ruby
dhruvasagar has joined #ruby
Davey has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
stef_204 has joined #ruby
jbpros has joined #ruby
alup has joined #ruby
stkowski has quit [Quit: stkowski]
ybart has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
dhokebaz_ has joined #ruby
jastix has joined #ruby
Criztian has joined #ruby
LennyLinux has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
TomRone has quit [Ping timeout: 256 seconds]
dhokebaz_ has quit [Quit: Page closed]
TomRone has joined #ruby
Davey has joined #ruby
mrdtt has quit [Quit: mrdtt]
browndawg has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
Davey has quit [Client Quit]
orien has quit [Quit: Computer has gone to sleep.]
classix has joined #ruby
mikewintermute has joined #ruby
Davey has joined #ruby
alem0lars has quit [Quit: Leaving]
timonv has joined #ruby
johnrlive has joined #ruby
kreantos has joined #ruby
threesome has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
classix has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
persand has quit [Quit: persand]
Davey has quit [Quit: Computer has gone to sleep.]
Astralum has joined #ruby
ferdev has quit [Quit: ferdev]
DaniG2k has joined #ruby
yacks has quit [Ping timeout: 246 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
slainer68 has joined #ruby
saarinen has quit [Quit: saarinen]
pcarrier_ has joined #ruby
zai has joined #ruby
zai is now known as Guest33498
pontiki has quit [Ping timeout: 252 seconds]
binaryplease has joined #ruby
nari has quit [Ping timeout: 240 seconds]
buibex has joined #ruby
camilasan has joined #ruby
yacks has joined #ruby
pootler_ has joined #ruby
pootler__ has joined #ruby
pontiki has joined #ruby
dangerousdave has joined #ruby
Sherwyn has joined #ruby
ghatak has joined #ruby
admin0 has joined #ruby
julian-delphiki has quit [Read error: Connection reset by peer]
ebouchut has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
gh0zt has quit []
ghatak has quit [Client Quit]
workmad3 has joined #ruby
ybart has quit [Quit: ybart]
redgirl has quit [Quit: This computer has gone to sleep]
Guest33498 is now known as zai
arya_ has joined #ruby
atno has joined #ruby
crankyco_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
ghr has joined #ruby
adambeynon has joined #ruby
bradhe has joined #ruby
bionhart has quit [Remote host closed the connection]
obs has joined #ruby
niceguyjames has joined #ruby
tylersmith has joined #ruby
persand has joined #ruby
ericmathison has joined #ruby
ferdev has joined #ruby
crankyco_ has quit [Ping timeout: 276 seconds]
wookiehangover has quit [Ping timeout: 248 seconds]
bradhe has quit [Ping timeout: 241 seconds]
mklappstuhl has joined #ruby
niklasb has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
blaxter_ has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
jimg has joined #ruby
tatsuya_o has joined #ruby
oddalot-linux2 has quit [Quit: Leaving]
dfdf has joined #ruby
timmow has joined #ruby
timmow has quit [Read error: Connection reset by peer]
noname001 has joined #ruby
timmow has joined #ruby
marr has joined #ruby
jimg has quit [Ping timeout: 256 seconds]
girija has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
tonini has quit [Ping timeout: 248 seconds]
elaptics`away is now known as elaptics
corehook_ has quit [Read error: Connection reset by peer]
tonini has joined #ruby
corehook_ has joined #ruby
blaxter_ is now known as blaxter
Zai00 has joined #ruby
Nitrodex has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
niko has quit [Quit: leaving]
hamed_r has joined #ruby
axsuul has quit [Quit: axsuul]
workmad3 has quit [Ping timeout: 246 seconds]
harrymoreno_ has joined #ruby
rickmasta has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
kayloos has joined #ruby
kayloos has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 252 seconds]
axsuul has joined #ruby
Al__ has joined #ruby
TIJ has joined #ruby
Sherwyn has quit [Remote host closed the connection]
rezzack has quit [Quit: Leaving.]
johnrlive has joined #ruby
jude01 has joined #ruby
vlad_starkov has joined #ruby
jude0 has quit [Ping timeout: 260 seconds]
arya has joined #ruby
Zai00_ has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
yshh has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
ephemerian has joined #ruby
arya has quit [Ping timeout: 248 seconds]
jojosiao has quit [Quit: Page closed]
Zai00_ has quit [Read error: Connection reset by peer]
Zai00 has quit [Ping timeout: 240 seconds]
t_p has joined #ruby
ephemerian has quit [Client Quit]
Vert has joined #ruby
ephemerian has joined #ruby
timonv has joined #ruby
cha1tanya has joined #ruby
HecAtic has quit [Quit: Àá¼ö]
stef_204 has quit [Remote host closed the connection]
freeayu has joined #ruby
Zai00 has joined #ruby
cha1tanya has quit [Ping timeout: 260 seconds]
arya has joined #ruby
dfdf has quit [Remote host closed the connection]
thelamest has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
axsuul has quit [Quit: axsuul]
Es0teric has joined #ruby
wookiehangover has joined #ruby
arya has quit [Ping timeout: 240 seconds]
Domon has joined #ruby
Domon has quit [Remote host closed the connection]
_JamieD_ has joined #ruby
Zai00 has quit [Ping timeout: 252 seconds]
srji has joined #ruby
jamesaxl has joined #ruby
crankyco_ has joined #ruby
zigomir_ has joined #ruby
Domon has joined #ruby
DaniG2k has quit [Read error: No route to host]
bradhe has joined #ruby
nomenkun has joined #ruby
zigomir has quit [Ping timeout: 260 seconds]
zigomir_ is now known as zigomir
ntus1017 has joined #ruby
tylersmith has joined #ruby
lupine has quit [Ping timeout: 264 seconds]
Zai00_ has joined #ruby
crankyco_ has quit [Ping timeout: 240 seconds]
whowantstolivefo has quit [Ping timeout: 276 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
bradhe has quit [Ping timeout: 256 seconds]
hamed_r has quit [Quit: Leaving]
kayloos has joined #ruby
sventon has joined #ruby
<sventon> hi
postmodern has quit [Quit: Leaving]
tylersmith has quit [Ping timeout: 256 seconds]
<sventon> anybody here who have experience using Thor ?
tommyvyo has joined #ruby
jimg has joined #ruby
ybart has joined #ruby
Raboo has joined #ruby
fixl has joined #ruby
razi has joined #ruby
<sventon> I want to list all built in actions like "say", "create_file" "append" ..
girija has joined #ruby
ia___ has quit [Quit: ia___]
<sventon> how can i do that?
Es0teric has joined #ruby
Es0teric has quit [Client Quit]
Turkishviking has joined #ruby
timonv_ has joined #ruby
gasbakid has joined #ruby
yacks has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
boblu has quit [Ping timeout: 240 seconds]
jimg has quit [Ping timeout: 264 seconds]
MrZYX|off is now known as MrZYX
Skelz0r_ has quit [Read error: Operation timed out]
fermion has joined #ruby
Skelz0r has joined #ruby
slainer6_ has joined #ruby
gasbakid has quit [Read error: Operation timed out]
t_p has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
slainer68 has quit [Ping timeout: 264 seconds]
boblu has joined #ruby
Turkishviking has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
Turkishviking has joined #ruby
Turkishviking has quit [Client Quit]
lyanchih_ has joined #ruby
arya has joined #ruby
lyanchih has quit [Read error: Connection reset by peer]
Loaft has quit [Read error: Connection reset by peer]
ColKurtz has quit [Quit: ps]
lupine has joined #ruby
Kar- has quit [Remote host closed the connection]
harrymoreno_ has quit [Ping timeout: 252 seconds]
huttan_ has quit [Quit: leaving]
ToApolytoXaos has joined #ruby
harrymoreno has joined #ruby
huttan has joined #ruby
Iszak has joined #ruby
sepp2k has joined #ruby
icole has quit [Remote host closed the connection]
lyanchih_ has quit [Read error: Connection reset by peer]
lyanchih has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
sventon has quit [Ping timeout: 252 seconds]
freeayu has quit [Read error: Connection reset by peer]
johnrlive has joined #ruby
cabotto has joined #ruby
khushildep has joined #ruby
maligree has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tonini has quit [Ping timeout: 248 seconds]
neurotech has joined #ruby
charliesome has joined #ruby
freeayu has joined #ruby
blaxter has quit [Quit: foo]
dumdedum has joined #ruby
dumdedum is now known as blaxter
jimg has joined #ruby
ntus1017 has quit [Remote host closed the connection]
Hanmac has joined #ruby
redgirl has joined #ruby
Hanmac has left #ruby [#ruby]
Hanmac has joined #ruby
samuel02 has quit [Remote host closed the connection]
b0oh has joined #ruby
vlad_starkov has quit [Ping timeout: 268 seconds]
arya_ has joined #ruby
arya has quit [Ping timeout: 264 seconds]
slainer68 has joined #ruby
slainer6_ has quit [Ping timeout: 252 seconds]
boblu has quit [Ping timeout: 276 seconds]
jimg has quit [Ping timeout: 260 seconds]
jimg has joined #ruby
randomnick has quit [Read error: Operation timed out]
Es0teric has joined #ruby
Michae___ has joined #ruby
jbpros has quit [Quit: jbpros]
fixl has quit [Remote host closed the connection]
crankyco_ has joined #ruby
bradhe has joined #ruby
chichou has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
tylersmith has joined #ruby
denver has joined #ruby
joonty has joined #ruby
srji has quit [Quit: leaving]
ExxKA has joined #ruby
nlv has quit [Remote host closed the connection]
crankyco_ has quit [Ping timeout: 268 seconds]
mikewintermute has quit [Quit: mikewintermute]
bradhe has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
F1skr has joined #ruby
tylersmith has quit [Ping timeout: 276 seconds]
boblu has joined #ruby
ybart has quit [Quit: ybart]
lyanchih has quit [Quit: lyanchih]
randomnick has joined #ruby
b0oh has left #ruby [#ruby]
cabotto has left #ruby [#ruby]
whowantstolivefo has joined #ruby
camilasan has quit [Remote host closed the connection]
tonini has joined #ruby
MrZYX is now known as MrZYX|off
Astral_ has joined #ruby
tvw has joined #ruby
Astralum has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 248 seconds]
jimg has quit [Remote host closed the connection]
browndawg has joined #ruby
apod has joined #ruby
camilasan has joined #ruby
jimg has joined #ruby
camilasan has quit [Remote host closed the connection]
Giorgio has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
lele has joined #ruby
jbpros has joined #ruby
niklasb has quit [Read error: Operation timed out]
Godd2 has quit [Quit: Page closed]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
gyre007 has joined #ruby
__mp has joined #ruby
<__mp> hi
Domon has quit [Remote host closed the connection]
<Nitrodex> hi __mp
<__mp> does Open3.popen3 preserve environment variables?
TheNumb has joined #ruby
<__mp> ah no, I saw it
johnrlive has joined #ruby
tommyvyo has quit [Quit:]
stonevil has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
stonevil has joined #ruby
<apeiros> __mp: with spawn, you can pass an env
johnrlive has quit [Ping timeout: 252 seconds]
kayloos has quit [Remote host closed the connection]
ayaz has quit [Quit: leaving]
<__mp> apeiros: I'm having the issue that gitlab doesn't preserve PATH and GEM_PATH when it executes git. So I'm trying to patch in the path and gem_path into open3. The code is already there…
Guedes0 has quit [Ping timeout: 255 seconds]
icole has joined #ruby
pskosinski has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
sventon has joined #ruby
stonevil has quit [Remote host closed the connection]
stonevil has joined #ruby
Guest____ has joined #ruby
<Guest____> hi guys, I have a question about "return" in blocks
Guest____ is now known as relix
<relix> so a return in a block returns from the function the block was defined in
tvw has quit []
icole has quit [Ping timeout: 252 seconds]
<relix> but what if the block is set in a variable, and the function ends before the block is called?
tvw has joined #ruby
<apeiros> relix: try it
<relix> I'm doing it in irb and I get a localjumperror
yashshah has joined #ruby
<relix> but that could be irb too
<relix> because there's no method to break out of
<apeiros> well, if you don't trust irb, use plain ruby :-p
<apeiros> writing a textfile and executing it isn't hard either
<apeiros> but localjumperror is what is to be expected
<apeiros> look at next & break
<relix> apeiros ah I see
<relix> apeiros so the first snippet in this comment here: https://news.ycombinator.com/item?id=5873067
<relix> actually makes no sense?
<apeiros> note that both, next and break also take a return value
<apeiros> yeah, I doubt that code works
<relix> because that block is executed when changing state, so it won't be in the method that defined it
jamesaxl_ has joined #ruby
gildo has joined #ruby
jamesaxl has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
krandi has joined #ruby
<apeiros> relix: the return should jump out of state_machine
<apeiros> and yes, since that's long gone when executed, it should give a localjumperror
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
andikr has quit [Ping timeout: 252 seconds]
<apeiros> the thread opener is an idiot, though. "OMG COLONS!"
pothibo has joined #ruby
<apeiros> you'll find pathological cases of syntax in every language…
samuel02 has joined #ruby
<apeiros> (or you have an awesomely crippled language)
Guest____ has joined #ruby
<relix2> sorry
<relix2> apeiros shouldn't it jump out of the method that is calling state_machine?
<relix2> (which here is actually a class definition)
<apeiros> relix2: return jumps out of the method it is lexical located in
<apeiros> *lexically
<apeiros> sry, slightly busy
<relix2> alright, I'll experiment a bit further, thanks for the help apeiros !
kofno has joined #ruby
kofno has quit [Remote host closed the connection]
b0oh has joined #ruby
crankyco_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
mklappstuhl has joined #ruby
robustus has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
mklappst_ has joined #ruby
buibex has quit [Remote host closed the connection]
mklappstuhl has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
crankyco_ has quit [Ping timeout: 252 seconds]
fmcgeough has quit [Quit: fmcgeough]
lyanchih has joined #ruby
fixl has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 260 seconds]
browndawg has quit [Quit: Leaving.]
Vert has quit [Read error: Connection reset by peer]
instinkt has joined #ruby
instinkt has quit [Client Quit]
stonevil has quit [Remote host closed the connection]
DrCode has joined #ruby
instinkt has joined #ruby
nettoweb has joined #ruby
kayloos has joined #ruby
DaniG2k has quit [Quit: Leaving.]
Es0teric has joined #ruby
stonevil has joined #ruby
himsin has joined #ruby
Vert has joined #ruby
jcromartie has joined #ruby
MrZYX|off is now known as MrZYX
buibex has joined #ruby
kofno has joined #ruby
DaniG2k has joined #ruby
ldnunes has joined #ruby
withnale has quit [Quit: ZNC - http://znc.in]
Speed has joined #ruby
sventon has quit [Ping timeout: 264 seconds]
chandankumar has joined #ruby
boblu has quit [Ping timeout: 264 seconds]
stonevil has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
wmoxam has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ybart has joined #ruby
lyanchih has quit [Ping timeout: 260 seconds]
krandi has quit [Ping timeout: 276 seconds]
jcromartie has quit [Quit: Computer has gone to sleep.]
jrajav has joined #ruby
workmad3 has joined #ruby
jonahR has quit [Quit: jonahR]
eka has joined #ruby
brbcoding has joined #ruby
johnrlive has joined #ruby
Giorgio has joined #ruby
apod has quit [Quit: apod]
nowthatsamatt has joined #ruby
TIJ has quit [Quit: Konversation terminated!]
zastern has joined #ruby
comrade has joined #ruby
comrade is now known as Guest34557
boblu has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
jonahR has joined #ruby
johnrlive has quit [Ping timeout: 251 seconds]
sailias has joined #ruby
brbcoding has quit [Ping timeout: 256 seconds]
Guest34557 has quit [Client Quit]
boblu has quit [Max SendQ exceeded]
niceguyjames has joined #ruby
TIJ has joined #ruby
boblu has joined #ruby
b0oh has quit [Quit: Leaving.]
neurotech has quit [Quit: Leaving.]
ddfreyne has quit [Excess Flood]
ddfreyne has joined #ruby
rockets has quit [Ping timeout: 276 seconds]
ddfreyne has left #ruby [#ruby]
neurotech has joined #ruby
buzzybron has quit [Ping timeout: 252 seconds]
mark_locklear has joined #ruby
mklappst_ has quit [Remote host closed the connection]
lele has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cburyta has joined #ruby
lele has joined #ruby
amedeiros has joined #ruby
adkron has joined #ruby
nezumi has quit [Ping timeout: 264 seconds]
b0oh has joined #ruby
adambeynon has joined #ruby
ArchBeOS has joined #ruby
tonini has joined #ruby
demet8 has joined #ruby
jetblack has joined #ruby
sailias has quit [Ping timeout: 260 seconds]
Neomex has joined #ruby
Neomex has quit [Client Quit]
agjacome has joined #ruby
fuleo has joined #ruby
DaniG2k has quit [Quit: Leaving.]
TIJ has quit [Ping timeout: 260 seconds]
devoldmx3 has joined #ruby
<__mp> am I right to assume that a = {b: "blubb"} will create a hash entry "b" with the string "blubb" in a?
<hoelzro> it's the same as a = {}; a[:b] = 'blubb'
<hoelzro> if that helps
wmoxam has quit [Ping timeout: 264 seconds]
<tobiasvl> yes, in ruby 1.9 and above
<__mp> hoelzro: :a always confuses me.. Is :a an alias for "a"?
nettoweb has quit [Quit: nettoweb]
<hoelzro> __mp: no
devoldmx has quit [Ping timeout: 276 seconds]
<hoelzro> :a is a symbol
<hoelzro> 'a' is a string
<hoelzro> a symbol is kind of like a string with only a single copy in memory
<hoelzro> heavy emphasis on the 'kind of'
crankyco_ has joined #ruby
<__mp> so, a symbol is just a constant string? or why do you write kind of?
<hoelzro> well, symbols and strings have different operations
corehook_ has quit [Ping timeout: 256 seconds]
bradhe has joined #ruby
machuga|away is now known as machuga
apod has joined #ruby
jamesaxl_ is now known as jamesaxl
nowthatsamatt has left #ruby [#ruby]
tylersmith has joined #ruby
verto has joined #ruby
crankyco_ has quit [Ping timeout: 256 seconds]
Sherwyn has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
razi has quit [Quit: Leaving.]
maroloccio has joined #ruby
alem0lars has joined #ruby
chandankumar has quit [Quit: Leaving]
devoldmx has joined #ruby
stonevil has joined #ruby
<__mp> tobiasvl: thanks
tylersmith has quit [Ping timeout: 252 seconds]
buibex has quit [Read error: Connection reset by peer]
huoxito has joined #ruby
subbyyy has joined #ruby
jimg has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
delay has joined #ruby
carloslopes has joined #ruby
crankyco_ has joined #ruby
mikewintermute has joined #ruby
browndawg has joined #ruby
chandankumar has joined #ruby
devoldmx has quit [Ping timeout: 276 seconds]
Banistergalaxy has joined #ruby
buibex has joined #ruby
neurotech has quit [Quit: Leaving.]
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
devoldmx has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
camilasan has quit [Remote host closed the connection]
ExxKA has quit [Quit: This computer has gone to sleep]
txdv has joined #ruby
soc42 has joined #ruby
BizarreCake has joined #ruby
crankyco_ has quit [Ping timeout: 276 seconds]
tomzx_mac has joined #ruby
spider-mario has joined #ruby
maligree has quit [Ping timeout: 264 seconds]
harrymoreno has quit [Ping timeout: 240 seconds]
harrymoreno has joined #ruby
mljsimone|away is now known as mljsimone
fomatin has joined #ruby
Trynemjoel has joined #ruby
mansi has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
camilasan has joined #ruby
tommylommykins has joined #ruby
* tommylommykins waves
comrade_ has joined #ruby
* tommylommykins is wondering if it's possible to find out when an instance variable is unset
fuzzyhorns has joined #ruby
<tommylommykins> well
jerius has joined #ruby
<tommylommykins> something along the lines of a magical instance_variable_missingn method
<hoelzro> tommylommykins: what sort of thing would you do with that?
harrymoreno has quit [Ping timeout: 252 seconds]
jcromartie has joined #ruby
sailias has joined #ruby
zaebst has joined #ruby
harrymoreno has joined #ruby
zaebst has quit [Client Quit]
Lubinski has joined #ruby
<tommylommykins> hoelzro: I'm messing around with a toy lisp interpreter
burlyscudd has joined #ruby
<hoelzro> interesting
burlyscudd has quit [Read error: Connection reset by peer]
<tommylommykins> which uses ruby data types
comrade_ has quit [Read error: Connection reset by peer]
<tommylommykins> one of the things I want to do is to dynamically make some ruby code into a procedure for this lisp
fmcgeough has joined #ruby
burlyscudd has joined #ruby
KevinSjoberg has joined #ruby
comrade_ has joined #ruby
<tommylommykins> but that means I have to put the variables in the lisp's environment into a ruby environment when I want to apply that procedure
<hoelzro> I see
classix has joined #ruby
hogeo has quit [Remote host closed the connection]
<tommylommykins> I was thinking of doing that with ruby instance variables, but the thing is every time such a procodure gets called, I have to add all known variables in the runtime of this lisp language into a ruby environment
sayan has joined #ruby
mansi has quit [Remote host closed the connection]
johnrlive has joined #ruby
<tommylommykins> which is obviously quite slow... but if there was a magical instance_variable_missing method, then I could pull them in on demand
andikr has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hadees has joined #ruby
krz has quit [Quit: krz]
scrollback has quit [Remote host closed the connection]
Criztian has quit [Ping timeout: 256 seconds]
jerius has quit []
adambeynon has joined #ruby
wmoxam has joined #ruby
crankyco_ has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
jerius has joined #ruby
jimg has joined #ruby
comrade__ has joined #ruby
buibex has quit [Remote host closed the connection]
cespare has quit [Ping timeout: 248 seconds]
tomzx_ has joined #ruby
comrade_ has quit [Read error: Connection reset by peer]
nari has joined #ruby
lusory has quit [Ping timeout: 264 seconds]
Fire-Dragon-DoL has joined #ruby
camilasan has quit [Remote host closed the connection]
brbcoding has joined #ruby
demet8 has quit [Quit: demet8]
Dummies_freelanc has joined #ruby
splittingred has joined #ruby
jimg has quit [Ping timeout: 264 seconds]
browndawg has quit [Quit: Leaving.]
Matip has quit [Ping timeout: 246 seconds]
harrymoreno has quit [Ping timeout: 240 seconds]
subbyyy has quit [Ping timeout: 240 seconds]
harrymoreno has joined #ruby
mklappstuhl has joined #ruby
mikecmpbll has joined #ruby
comrade__ has quit [Ping timeout: 252 seconds]
nowthatsamatt has joined #ruby
interactionjaxsn has joined #ruby
ramblex has joined #ruby
cofin has joined #ruby
Criztian has joined #ruby
comrade__ has joined #ruby
comrade__ has quit [Client Quit]
breakingthings has joined #ruby
comrade__ has joined #ruby
bobbyz has quit [Read error: Operation timed out]
Speed has quit [Read error: No route to host]
relix2 has quit [Quit: Textual IRC Client: www.textualapp.com]
`p has joined #ruby
girija has quit [Ping timeout: 256 seconds]
camilasan has joined #ruby
<pothibo> Do I misunderstand String#chomp or is it normal that "12.0".chomp(".") => "12.0" ?
iamjarvo has joined #ruby
<canton7> that's what I'd expect. Remove trailing '.'s
adkron has quit [Ping timeout: 252 seconds]
Kar- has joined #ruby
camilasan has quit [Remote host closed the connection]
kobain has joined #ruby
Matip has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
<pothibo> canton7: oh, I misread it. I thought it was removing up to "."
<canton7> aha
bradhe has joined #ruby
comrade__ has quit [Remote host closed the connection]
<canton7> >> "12.0"[/\..*/]
<eval-in> canton7 => ".0" (https://eval.in/33536)
harrymoreno has joined #ruby
cmarques has joined #ruby
comrade__ has joined #ruby
<Hanmac> >> "12.0".scan(/\d+/)
<eval-in> Hanmac => ["12", "0"] (https://eval.in/33541)
tylersmith has joined #ruby
devoldmx3 has joined #ruby
vlad_starkov has joined #ruby
<canton7> >> "12.0".split('.')
<eval-in> canton7 => ["12", "0"] (https://eval.in/33542)
cads has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
<Hanmac> >> "12.0".to_f.divmod(1)
<eval-in> Hanmac => [12, 0.0] (https://eval.in/33543)
bradhe has quit [Ping timeout: 240 seconds]
<canton7> hah! ok you win
devoldmx3 has quit [Client Quit]
devoldmx3 has joined #ruby
devoldmx has quit [Ping timeout: 276 seconds]
instinkt has quit [Quit: leaving]
singingwolfboy has joined #ruby
mavroaspero has joined #ruby
tylersmith has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
boblu has quit [Ping timeout: 260 seconds]
<singingwolfboy> using rake, I want to kick off several processes that all expect to run until the user hits ctrl-C. How do I set up these tasks so that hitting ctrl-C once forwards the sigterm signal to all the long-running processes I've kicked off?
alem0lars has quit [Quit: Leaving]
nowthatsamatt has left #ruby [#ruby]
mansi has quit [Ping timeout: 245 seconds]
cburyta has quit [Remote host closed the connection]
zeroXten has joined #ruby
malkomalko has joined #ruby
workmad3 has joined #ruby
philsturgeon has joined #ruby
comrade__ has quit [Remote host closed the connection]
<zeroXten> what magic does (cucumber) gherkin use in its DSL to not require quotes around strings? Does it just catch all undefined methods and do something to make them an argument to a method?
<philsturgeon> Hi, im trying to get Graylog2's web interface running on a Vagrant setup, using the default Chef cookbook but switching it to use rbenv to avoid conflicts with ITS gems and the main gems required by chef. complicated.
<philsturgeon> im also using passenger to make it work, which is all setup by the cookbook and not my fiddling
<mavroaspero> @singingwolfboy - I just tackled that problem myself, I needed something to watch coffeescripts and sass files and compile them if changes were made. Here's my source, it's quick and dirty but it works. https://github.com/kreas/origin/blob/master/Rakefile
<philsturgeon> in /var/graylog2/web running "$ which bundle" gives me /opt/rbenv/shims/bundle
<philsturgeon> so i know its using rbenv ok, but then when I go to the browser I get this:
<philsturgeon> http://d.pr/i/S4n0
<philsturgeon> can anybody tell me what I might be doing wrong, or what I could try?
<fmcgeough> naive question on Ruby/httpi/ssl. I'm using httpi to fetch a file over https from two different servers. On one I didn't do any special setup in Ruby with the ca_cert_file or ssl.verify_mode. On the other I had to set both to get it to work. Since I'm not sure where httpi would be picking up the "right" thing on the server with no special setup..can someone suggest where to look or how it'd be working on the one but not the other?
<singingwolfboy> mavroaspero: cool, but I don't see anything about forwarding sigterm signals
jlast has joined #ruby
<singingwolfboy> or does rake do that automatically somehow?
<mavroaspero> ctrl-c just ends the rake task
axl_ has joined #ruby
jimg has joined #ruby
jrajav has joined #ruby
<mavroaspero> killing the tasks
<singingwolfboy> mavroaspero: it ends the rake task, sure, but do the processes you've started live on?
<singingwolfboy> nothing's telling them to stop
chandankumar has quit [Quit: Leaving]
baordog has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
kayloos has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
ttt has quit [Remote host closed the connection]
harrymoreno_ has joined #ruby
himsin has left #ruby [#ruby]
cibs_ has joined #ruby
corehook_ has joined #ruby
chandankumar has joined #ruby
jimg has quit [Ping timeout: 276 seconds]
<philsturgeon> anyone capable to help with this one? http://d.pr/i/S4n0 I know 26 of you clicked the link, so somebody has to know whats going on.
binaryplease has quit [Ping timeout: 252 seconds]
Guest57220 has joined #ruby
sambao21 has joined #ruby
<philsturgeon> I'm like the NSA, Im snooping on all the things
harrymoreno has quit [Ping timeout: 276 seconds]
boblu has joined #ruby
<quazimodo> I think i may have realised why the ruby community is so different (read nice) compared to so many others
Es0teric has joined #ruby
cibs has quit [Ping timeout: 256 seconds]
<quazimodo> it's easier, thus you need significantly *less* ingrained nerdiness, which leaves room for development of social skills
johnmilton has joined #ruby
<quazimodo> (i may be wrong)
Guest33987 has quit [Ping timeout: 248 seconds]
ffranz has joined #ruby
niklasb has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
mavroaspero is now known as Kreas
lyanchih has joined #ruby
burlyscudd has quit [Remote host closed the connection]
lyanchih has quit [Client Quit]
corehook_ has quit [Read error: Connection reset by peer]
v0n has joined #ruby
ryannielson has joined #ruby
AndChat| has joined #ruby
jdunck has joined #ruby
<philsturgeon> quazimodo: the leather jackets they hand in when you smash out your first rails prototype in 20 minutes then decide to start charging $1000 a day for your services also help the ruby community with their social skills.
<Kreas> I've got mine :)
failshell has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
tommyvyo has quit [Quit:]
banisterfiend has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
binaryplease has joined #ruby
rfizzle has joined #ruby
chandankumar has quit [Quit: Leaving]
slainer6_ has joined #ruby
slainer68 has quit [Ping timeout: 276 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
fomatin has quit [Quit: Computer has gone to sleep.]
generalissimo has joined #ruby
johnrlive has joined #ruby
khushildep has quit [Remote host closed the connection]
bionhart has joined #ruby
fomatin has joined #ruby
tw1sted has joined #ruby
brbcoding has quit [Ping timeout: 252 seconds]
MrZYX is now known as MrZYX|off
_JamieD_ has quit [Quit: _JamieD_]
bean has joined #ruby
bean has quit [Max SendQ exceeded]
heftig has quit [Quit: Quitting]
browndawg has joined #ruby
soc42 has quit [Remote host closed the connection]
bean has joined #ruby
tomzx_ is now known as tomzx
tomzx_mac has quit [Ping timeout: 264 seconds]
heftig has joined #ruby
qohelet_ has joined #ruby
yshh has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
fomatin has quit [Client Quit]
<Veejay> banisterfiend: Pry saves the day once again
<Veejay> Thank you
<banisterfiend> np, buy a sticker ;)
christina has joined #ruby
<Veejay> I was wasting time with logger statements and all that bs
christina has quit []
<Veejay> And then I remembered that Pry was the bees's knees, set it up and it told me all I needed to know about that slow update_attribute in my code
<Veejay> I still don't know wtf is going on, but at leats my mind's at ease now
singingwolfboy has quit [Quit: singingwolfboy]
<Veejay> <3
<banisterfiend> hehe
dhruvasagar has joined #ruby
acrussell has joined #ruby
corehook_ has joined #ruby
johnrlive has joined #ruby
mansi has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
cads has joined #ruby
mansi has quit [Read error: Connection reset by peer]
acrussell has left #ruby [#ruby]
mansi has joined #ruby
<Brando753> Whats the best way to convert a bunch of images to a single PDF? I was using the RMagick library but it kept failing and was also using an insane amount of memory >3GB for a 74MB pdf file
tatsuya__ has joined #ruby
DomKM has joined #ruby
cburyta has joined #ruby
freeayu has quit [Remote host closed the connection]
lyanchih has joined #ruby
Vert has quit [Read error: Connection reset by peer]
enebo has joined #ruby
akells` has joined #ruby
cburyta has quit [Remote host closed the connection]
cburyta has joined #ruby
rhys has joined #ruby
harrymoreno_ has quit [Ping timeout: 264 seconds]
singingwolfboy has joined #ruby
theRoUS has joined #ruby
MrZYX|off is now known as MrZYX
kreantos has quit [Remote host closed the connection]
tatsuya_o has quit [Ping timeout: 252 seconds]
jonahR has quit [Quit: jonahR]
pipework has joined #ruby
jtharris has joined #ruby
tbrock has joined #ruby
khushildep has joined #ruby
mfollett has joined #ruby
qohelet_ has quit [Quit: qohelet_]
tkuchiki has quit [Remote host closed the connection]
tbrock has quit [Client Quit]
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
tbrock has joined #ruby
fomatin has joined #ruby
kil0byte has joined #ruby
codecop has quit [Remote host closed the connection]
nari has quit [Ping timeout: 252 seconds]
thams has joined #ruby
bradhe has joined #ruby
Berend_ has joined #ruby
banisterfiend has quit [Remote host closed the connection]
Berend_ has left #ruby [#ruby]
tylersmith has joined #ruby
thams has quit [Quit: thams]
apod has quit [Quit: apod]
teddyp1cker has joined #ruby
tagrudev has quit [Remote host closed the connection]
cads has quit [Ping timeout: 240 seconds]
myappleguy has joined #ruby
apod has joined #ruby
MrPoT4tO_ has joined #ruby
Al__ has quit [Quit: Al__]
bradhe has quit [Ping timeout: 268 seconds]
_striker_ has joined #ruby
tylersmith has quit [Ping timeout: 252 seconds]
olivier_bK has joined #ruby
<olivier_bK> how i can check the first caractere of all lign on file
io_syl has quit [Ping timeout: 260 seconds]
wesside has joined #ruby
<olivier_bK> i trying something like that
fomatin has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby
chandankumar has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
tk has joined #ruby
ffranz1 has joined #ruby
camilasan has joined #ruby
tk is now known as Guest90939
philcrissman_ has quit [Remote host closed the connection]
BizarreCake has quit [Read error: Connection reset by peer]
jimg has joined #ruby
Al__ has joined #ruby
Al__ has quit [Client Quit]
Al__ has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
persand has quit [Quit: persand]
ffranz has quit [Ping timeout: 252 seconds]
comrade__ has joined #ruby
apod has quit [Quit: apod]
_justin has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
farn has quit [Read error: Connection reset by peer]
Godd2 has joined #ruby
farn has joined #ruby
tkuchiki has joined #ruby
ffranz1 has quit [Quit: Leaving]
jimg has quit [Ping timeout: 252 seconds]
philsturgeon has left #ruby [#ruby]
Giorgio has quit [Read error: Operation timed out]
_justin has quit [Ping timeout: 260 seconds]
ffranz has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
jesly has joined #ruby
jprovazn has quit [Quit: Leaving]
dmiller has joined #ruby
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
<olivier_bK> how i can check the first caractere for each lign ?
jesly has quit [Client Quit]
jesly2 has joined #ruby
zeade has quit [Quit: Leaving.]
_striker_ has quit [Ping timeout: 268 seconds]
elaptics is now known as elaptics`away
<singingwolfboy> in Ruby, is there a way to import just one function from another file? like `from foo import bar` in Python?
pootler__ has quit [Ping timeout: 264 seconds]
pootler_ has quit [Ping timeout: 264 seconds]
fuleo has quit []
redgirl has quit [Quit: This computer has gone to sleep]
jdunck has quit [Quit: Computer has gone to sleep.]
fess has quit [Read error: Connection reset by peer]
bionhart has quit [Ping timeout: 246 seconds]
astegman has joined #ruby
<burlyscudd> singingwolfboy: Ruby doesn't really think in those terms
adkron has joined #ruby
_maes_ has joined #ruby
jrajav has joined #ruby
<burlyscudd> singingwolfboy: you can include a module, which will (depending on how its created) extend the calling class/module in certain ways
girija has joined #ruby
binaryplease has quit [Ping timeout: 264 seconds]
<burlyscudd> singingwolfboy: you can do a require to load things that are declared in the load path or that you specify w/ a filesystem path
MissionCritical has quit [Ping timeout: 256 seconds]
<burlyscudd> you can do a "load" to do kind of a dumb require
<burlyscudd> singingwolfboy: are you trying to construct some behavior from an existing module, or make your own?
vlad_starkov has quit [Remote host closed the connection]
<banisterfiend> singingwolfboy: you can in ruby 2.0, but not in 1.9.*
Guest90939 has quit [Quit: ばいばい]
raddazong has quit [Quit: bbl]
<burlyscudd> banisterfiend: ohh snap -- how? this is somethign I was obviously unaware of
corehook_ has quit [Ping timeout: 276 seconds]
uxp has quit [Remote host closed the connection]
arya_ has quit []
ffio has joined #ruby
elaptics`away is now known as elaptics
_ffio_ has quit [Ping timeout: 252 seconds]
DomKM has quit [Quit: Leaving.]
Sherwyn has quit [Remote host closed the connection]
Appineer has joined #ruby
<banisterfiend> burlyscudd: it's not that straight forward, one sec ill show u
singingwolfboy has quit [Quit: singingwolfboy]
ioNull has joined #ruby
ioNull has quit [Max SendQ exceeded]
_carloslopes has joined #ruby
chattmatt has joined #ruby
<burlyscudd> banisterfiend: seems odd given that all of ruby's constructs like this assume that you want to do some OOP-y thing like mixin, etc -- i.e. that the thing you're grabbing is going to alter your class behavior
singingwolfboy has joined #ruby
ioNull has joined #ruby
_Renegade has joined #ruby
fomatin has joined #ruby
<banisterfiend> burlyscudd: well it just lets you bind unbound methods form modules: https://gist.github.com/banister/6583e6dae41fb1f3e900
sammmmm has joined #ruby
arya has joined #ruby
Michae___ has quit [Remote host closed the connection]
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
_carloslopes has quit [Remote host closed the connection]
Sherwyn has joined #ruby
<banisterfiend> burlyscudd: her'es a nicer api for it https://gist.github.com/banister/34c7d9e7eb3e925a40e7
Vert has joined #ruby
carloslopes has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
tonini has joined #ruby
brbcoding has joined #ruby
daniel_- has joined #ruby
<burlyscudd> banisterfiend: ok makes sense -- thanks. UnboundMethod is new as of Ruby2?
<banisterfiend> no
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
<banisterfiend> but being able to bind them to arbitrary objects is new
<burlyscudd> banisterfiend: ahhh
shadoi has quit [Read error: Operation timed out]
<banisterfiend> you used to only be able to bind them to subclasses
denver has quit [Remote host closed the connection]
jesly2 has quit [Quit: Leaving.]
<burlyscudd> banisterfiend: gotcha
sventon has joined #ruby
jesly has joined #ruby
Mission-Critical has joined #ruby
shadoi has joined #ruby
moos3 has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
brbcoding has quit [Ping timeout: 252 seconds]
Dave-_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Iszak has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Michae___ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
laite has joined #ruby
rsahae_ has joined #ruby
cofin has quit [Quit: cofin]
moos3 has joined #ruby
devoldmx3 has quit [Ping timeout: 260 seconds]
sarkis has joined #ruby
<sarkis> when do you use this syntax: "##{foo}"
danslo has quit [Quit: danslo]
<sarkis> i know #{ } is used for a variable inside a string, why 2 ##?
samuel02 has quit [Remote host closed the connection]
<apeiros> because you want a #
<sarkis> oh right
comrade__ has quit [Quit: Konversation terminated!]
<sarkis> stupid
<apeiros> >> "##{'foo'}"
<eval-in> apeiros => "#foo" (https://eval.in/33556)
<sarkis> thanks :P
<apeiros> ^^
mklappstuhl has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
axsuul has joined #ruby
<sarkis> whats the best explanation on all the prefixes in ruby
northelks has joined #ruby
kurtf has joined #ruby
wallerdev has joined #ruby
Mission-Critical is now known as MissionCritical
ananthakumaran has joined #ruby
sayan has quit [Ping timeout: 252 seconds]
jesly1 has joined #ruby
<kurtf> .join vcr
<kurtf> i fail :(
Criztian has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
<joonty> kurtf: we've all done it
<kurtf> heh
<banisterfiend> sarkis: probably zenspider quickref
samuel02 has joined #ruby
jesly1 has quit [Remote host closed the connection]
workmad3 has joined #ruby
tommyvyo has joined #ruby
cofin has joined #ruby
bobbyz has joined #ruby
binaryplease has joined #ruby
jesly has quit [Ping timeout: 268 seconds]
Gues_____ has joined #ruby
bigoldrock has joined #ruby
tspike has joined #ruby
Gues_____ is now known as Guest44528
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
geggam has joined #ruby
devoldmx3 has joined #ruby
Dave-_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
nomenkun has quit [Remote host closed the connection]
devoldmx3 has quit [Client Quit]
jesly1 has joined #ruby
threesome has quit [Read error: Operation timed out]
thams has joined #ruby
devoldmx3 has joined #ruby
singingwolfboy has quit [Quit: singingwolfboy]
bradhe has joined #ruby
machuga is now known as machuga|away
razi has joined #ruby
axsuul has quit [Quit: axsuul]
tylersmith has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
spider-mario has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
chandankumar has quit [Quit: Leaving]
ckrailo has joined #ruby
jprovazn has joined #ruby
dhruvasagar has joined #ruby
leonidlm has quit [Ping timeout: 246 seconds]
b0oh has left #ruby [#ruby]
bradhe has quit [Ping timeout: 245 seconds]
admin0 has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
mklappstuhl has joined #ruby
pootler_ has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 252 seconds]
jesly1 has quit [Quit: Leaving.]
bigoldrock has quit [Ping timeout: 252 seconds]
burlyscudd has quit [Ping timeout: 252 seconds]
boblu has quit [Ping timeout: 264 seconds]
lyanchih has quit [Quit: lyanchih]
zai has quit [Read error: Connection reset by peer]
malkomalko has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 264 seconds]
Tawnii has joined #ruby
JustinAiken has joined #ruby
tylersmith has quit [Ping timeout: 252 seconds]
sammmmm has quit [Quit: sammmmm]
<chattmatt> has anyone experienced timeouts with intense sidekiq jobs? i find both execution timeouts and postgres SSL timeouts… curious if its a memory lock or process crash, or any insights really on how to discover the root cause
Andreo has joined #ruby
stonevil has quit [Remote host closed the connection]
niceguyjames has quit [Quit: Computer has gone to sleep.]
singingwolfboy has joined #ruby
axsuul has joined #ruby
sventon_ has joined #ruby
ner0x has joined #ruby
DestinyAwaits has joined #ruby
<MrZYX> hm, sidekiq removed the job timeout feature because you basically can't do that threadsafe, for the same reason java dropped Thread.stop for example
sventon has quit [Ping timeout: 264 seconds]
<MrZYX> for postgres dunno, maybe some connection pool issue
pootler__ has joined #ruby
singingwolfboy has quit [Client Quit]
stonevil has joined #ruby
thesheff17 has quit [Remote host closed the connection]
bradhe has joined #ruby
singingwolfboy has joined #ruby
elake is now known as etank
MrPoT4tO_ has quit [Read error: Connection reset by peer]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
singingwolfboy has quit [Client Quit]
aganov has quit [Remote host closed the connection]
alup has quit [Quit: Leaving]
__mp has quit [Quit: Bye]
kurtf has quit [Quit: Goodbye]
cmarques has quit [Ping timeout: 276 seconds]
kindjal has joined #ruby
jrajav has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
Fraeon has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
<chattmatt> MrZYX: i added manual Timeout::timeouts to my workers to limit their execution as i use an autoscaler for my workers
denver has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
<chattmatt> im an objc developer primarily, still new to production ruby quality and practices
workmad3 has quit [Ping timeout: 240 seconds]
yalue has joined #ruby
banisterfiend has quit [Remote host closed the connection]
singingwolfboy has joined #ruby
<chattmatt> MrZYX: so what you're saying is i should lean more on the recent Go devleopment I've been doing :)
Rizzle has joined #ruby
delay has quit [Remote host closed the connection]
<MrZYX> I'm saying get familar why you can't timeout threads
io_syl has joined #ruby
thams has quit [Quit: thams]
Michae___ has quit [Remote host closed the connection]
thams has joined #ruby
Michae___ has joined #ruby
sethetter has joined #ruby
sethetter has quit [Quit: Lost terminal]
bigoldrock has joined #ruby
iamjarvo has quit [Quit: iamjarvo]
Davey has joined #ruby
dmiller has joined #ruby
pootler_ has quit [Ping timeout: 246 seconds]
w400z has joined #ruby
sethetter has joined #ruby
<sethetter> Is it not possible to get milliseconds in the strftime formatting with ruby 1.8.7??
pootler_ has joined #ruby
monban has quit [Quit: leaving]
uxp has joined #ruby
m8 has joined #ruby
bionhart has joined #ruby
lyanchih has joined #ruby
jesly has joined #ruby
thams has quit [Read error: Operation timed out]
lyanchih has quit [Client Quit]
Michae___ has quit [Ping timeout: 256 seconds]
kristiandelay has joined #ruby
wsterling has joined #ruby
tylersmith has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
<pontiki> chattmatt: i'd go with go, too :)
<pontiki> go is just *made* for this
<chattmatt> pontiki: :) i wrote a simple go app a few weeks ago, has worked flawless without any tweaks needed
v0n has quit [Read error: Operation timed out]
<pontiki> chattmatt: nod
Uranio has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
_Andres has joined #ruby
citizensinspace has joined #ruby
citizensinspace has quit [Client Quit]
Apane has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
Solnse has joined #ruby
moted has joined #ruby
threesome has joined #ruby
singingwolfboy has quit [Quit: singingwolfboy]
singingwolfboy has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kayloos has quit [Remote host closed the connection]
bradhe has joined #ruby
samuel02 has quit [Remote host closed the connection]
Giorgio has joined #ruby
singingwolfboy has quit [Client Quit]
Shirakawasuna has joined #ruby
Shirakawasuna2 has joined #ruby
kil0byte_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 260 seconds]
<soukihei> I am trying to write entries to syslog using Syslog.open, however only a fraction of the log entries I create actually are written to disk. How can I flush out the buffer to ensure they are written to disk?
razi has quit [Quit: Leaving.]
JumpMast3r has joined #ruby
Shirakawasuna2 has quit [Read error: Connection reset by peer]
razi has joined #ruby
ddd_ is now known as ddd
freerobby has quit [Quit: Leaving.]
mklappstuhl has joined #ruby
jesly has quit [Ping timeout: 264 seconds]
snearch has joined #ruby
DomKM has joined #ruby
kil0byte has quit [Ping timeout: 252 seconds]
ntus1017 has joined #ruby
johnnyfuchs has joined #ruby
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
bradhe has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
bradhe has joined #ruby
timkohrumel has joined #ruby
dankest has joined #ruby
ssickle has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
akemrir has quit [Ping timeout: 252 seconds]
mocfive has joined #ruby
andikr has quit [Remote host closed the connection]
IrishGringo has joined #ruby
Michae___ has joined #ruby
tvw has quit []
Seus has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
<aedorn> I was pretty sure the standard syslog wasn't buffered (*which is why there's a separate buffered syslogger and logger::syslog))
axsuul has quit [Quit: axsuul]
statarb3 has joined #ruby
statarb3 has joined #ruby
[Fudge] has joined #ruby
<[Fudge]> hey, quite new to ruby, like it so far though :)
enebo has quit [Quit: enebo]
<[Fudge]> have an issue with String's though
bradhe has quit [Ping timeout: 264 seconds]
<ddd> such as?
machuga|away is now known as machuga
statarb3 is now known as Prooshot
mocfive has quit [Ping timeout: 240 seconds]
cespare has joined #ruby
<[Fudge]> "Hello!"[0, 2] would return "Hel", however doing things such as "Hello!"[0] would not return "H"
<[Fudge]> instead it returns a number (unsure what that is still)
<canton7> [Fudge], upgrade your ruby
<canton7> 1.8 is going end-of-life very very shortly. It's ancient
freerobby has joined #ruby
<[Fudge]> I'm not aware of what version I'm using, but ok :)
<ccooke> [Fudge]: Older versions of Ruby returned the character as a number
<terrellt> [Fudge]: ruby --version
Prooshot is now known as statarb3
<[Fudge]> ah
<[Fudge]> yep, 1.8.7
<canton7> in never versions of ruby, you can get the same with e.g.
<canton7> >> "a".ord
<eval-in> canton7 => 97 (https://eval.in/33557)
<[Fudge]> ccooke what was the logic behind that?
<apeiros> [Fudge]: and you'd use "Hello"[0,1] there
<apeiros> also, "Hello!"[0, 2] returns "He", not "Hel"
<apeiros> it's offset, length
Voodoofish430 has joined #ruby
stef_204 has joined #ruby
<apeiros> 0..2 would return "Hel", as that's offset..offset
kurtf has joined #ruby
<ccooke> [Fudge]: returning the number is more like C, where a character is a short integer
sventon_ has quit [Ping timeout: 252 seconds]
<[Fudge]> ccooke ah, I see
<[Fudge]> out of curiosity then, in 1.8.x, how would you get the char represented as a string?
daniel_- has quit [Ping timeout: 252 seconds]
ianbrandt has joined #ruby
<r0bgleeson> and 0...2 would return "he"
saarinen has joined #ruby
tjbiddle has quit [Ping timeout: 268 seconds]
<r0bgleeson> dont you love ruby
<ccooke> [Fudge]: so a string in C is actually an array of chars, which are integers.
citizensinspace has joined #ruby
Fraeon has joined #ruby
<ccooke> [Fudge]: So basically both ways are good and "as expected" to some people, but moving to returning the character as a string is a better OO encapsulation :-)
bradhe has joined #ruby
<r0bgleeson> its nothing to do with OO encapsulation IMO
<r0bgleeson> it just makes more sense
<[Fudge]> ccooke: ah :) I'm used to the way it is in JS I guess, that's how I thought it would work
JustinAiken has quit [Quit: Leaving.]
<[Fudge]> didn't have any ruby guides, didn't know what I was doing
<apeiros> I'm with r0bgleeson there - that's unrelated to OO
<apeiros> a method will return what makes sense for that method
<ccooke> r0bgleeson: both ways make sense, but returning a number breaks the principle of least surprise
<apeiros> String#=~ doesn't return a string either, it wouldn't make sense.
<r0bgleeson> ccooke: hence "makes more sense"
shvelo has joined #ruby
girija has quit [Ping timeout: 264 seconds]
<apeiros> lets say "it's more consistent"
<apeiros> as with the new behavior, [] always returns a string
<ccooke> apeiros: agreed.
sr78ger has joined #ruby
<apeiros> anyway, I still want my ord(offset)
<heftig> IMO ruby should have gone the everything-is-UCS-4 way instead of tagging strings with encodings. but I suppose that would have broken compat too much
generalissimo has quit [Remote host closed the connection]
<`p> I'm fairly new to ruby and I'm trying to write a program that removes a specific string from filenames in a directory that contain a particular string
<shvelo> Hi, is it really worth upgrading to Ruby2.0? Last time I faced problems with gems
<apeiros> shvelo: IME only *very* few gems have issues
mosez has quit [Ping timeout: 248 seconds]
cofin has quit [Quit: cofin]
razi has quit [Ping timeout: 252 seconds]
pcarrier_ has quit [Quit: Computer has gone to sleep.]
<apeiros> whether it's worth to upgrade is on you to determine, though
<apeiros> IMO it is
Apane has quit [Ping timeout: 256 seconds]
thams has joined #ruby
<apeiros> the world doesn't move backwards, the price to upgrade is little (especially compared to the 1.8 -> 1.9 transition)
jcromartie has joined #ruby
myappleguy has quit [Quit: Leaving.]
mikepack has joined #ruby
<r0bgleeson> oh wow, p-195 already
mosez has joined #ruby
<r0bgleeson> im still on 1.9.3
<shvelo> I was having problems on x64 Windows
<shvelo> unable to build native gems
<apeiros> I just recently moved my first app written for my current employer to rails 3.2 & ruby 1.9, moving it to ruby 2.0 next week :)
<apeiros> since it "just works"
myappleguy has joined #ruby
<r0bgleeson> im about to try ruby 2.0 on work app now
<apeiros> (well, had to add 'iconv' to the gemfile, but that's because some stupid gem still depends on that…)
<r0bgleeson> yeah
<r0bgleeson> i think the biggest challenge will be 'bundle install' :p
<r0bgleeson> but maybe not
<r0bgleeson> it could just work :)
Apane has joined #ruby
jalcine has quit [Excess Flood]
<shvelo> btw is there a good alternative to Socket.io in Ruby?
devoldmx has joined #ruby
danshultz has joined #ruby
noname001 has quit [Ping timeout: 268 seconds]
<quazimodo> Kreas: they give out leather jackets :(
<quazimodo> i didnt get one :/
mark_locklear has quit [Ping timeout: 268 seconds]
dhruvasagar has joined #ruby
freerobby has quit [Quit: Leaving.]
w400z has quit []
<terrellt> shvelo: I think there's a ruby_sockets gem...one sec.
mfollett has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
mosez has quit [Ping timeout: 264 seconds]
Es0teric has joined #ruby
kristiandelay has quit [Remote host closed the connection]
olleh__ has joined #ruby
mosez has joined #ruby
<terrellt> Nope, I got nothin'. It's always a pain to find.
sr78ger has quit [Quit: Qui]
Apane has quit [Ping timeout: 245 seconds]
ferdev has quit [Quit: ferdev]
crazymykl has joined #ruby
kil0byte has joined #ruby
sventon has joined #ruby
Es0teric has quit [Client Quit]
<shvelo> ok I'll do it in Nodejs, I'm writing an Arduino IDE with HTML frontend
devoldmx3 has joined #ruby
girija has joined #ruby
kil0byte_ has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
devoldmx has quit [Ping timeout: 268 seconds]
mosez has quit [Ping timeout: 268 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
alx- has joined #ruby
arturaz has quit [Ping timeout: 260 seconds]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
graft has joined #ruby
faulkner has quit [Ping timeout: 245 seconds]
shvelo has quit [Quit: Arr!]
<graft> yo can someone explain to me why there is Enumerable#first but not Enumerable#last?
Al__ has quit [Quit: Al__]
ghr has quit [Quit: Computer has gone to sleep.]
jesly has joined #ruby
cmarques has joined #ruby
danman has joined #ruby
danman has quit [Client Quit]
danman has joined #ruby
banisterfiend has joined #ruby
ybart has quit [Quit: ybart]
timonv has joined #ruby
<r0bgleeson> graft: I think it might just have been overlooked or not done, maybe open an issue?
<r0bgleeson> i could be wrong
BBonifield has quit [Ping timeout: 252 seconds]
viszu has joined #ruby
realDAB has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
kenichi has quit [Ping timeout: 255 seconds]
eldariof has joined #ruby
jalcine has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
DanKnox_away is now known as DanKnox
nick_h_ has quit [Ping timeout: 252 seconds]
Koven has quit [Remote host closed the connection]
jbueza has joined #ruby
Appineer has quit [Remote host closed the connection]
stderr- has quit [Ping timeout: 256 seconds]
classix has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
cout has quit [Ping timeout: 276 seconds]
krishna has quit [Ping timeout: 260 seconds]
generalissimo has joined #ruby
blitz has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
jnix has quit [Ping timeout: 252 seconds]
singingwolfboy has joined #ruby
Quadlex has quit [Ping timeout: 252 seconds]
DanKnox is now known as DanKnox_away
jtcoon has quit [Ping timeout: 256 seconds]
saarinen has quit [Quit: saarinen]
zeade has joined #ruby
jonathanwallace has quit [Quit: WeeChat 0.4.0]
jcromartie has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Read error: Connection reset by peer]
DanKnox_away is now known as DanKnox
sethetter has quit [Quit: leaving]
jesly has quit [Ping timeout: 252 seconds]
jonathanwallace has joined #ruby
jesly has joined #ruby
noname001 has joined #ruby
generalissimo has quit [Remote host closed the connection]
saarinen has joined #ruby
sethetter has joined #ruby
Es0teric has joined #ruby
twoism has joined #ruby
nick_h has joined #ruby
camilasan has quit [Remote host closed the connection]
ferdev has joined #ruby
Es0teric has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnBat26 has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
jtcoon has joined #ruby
jnix_ has joined #ruby
kenichi has joined #ruby
BBonifield has joined #ruby
mansi has quit [Read error: Connection reset by peer]
alvaro_o has joined #ruby
Quadlex has joined #ruby
pootler__ has quit [Ping timeout: 245 seconds]
twoism has quit [Ping timeout: 252 seconds]
citizensinspace has quit [Quit: citizensinspace]
mansi has joined #ruby
atyz has joined #ruby
dagobah has quit [Remote host closed the connection]
Kov|abx has joined #ruby
blaxter has quit [Ping timeout: 268 seconds]
blischalk has joined #ruby
tkuchiki has joined #ruby
JustinAiken has joined #ruby
elaptics is now known as elaptics`away
x1337807x has joined #ruby
pootler_ has quit [Ping timeout: 252 seconds]
cout has joined #ruby
freerobby has quit [Ping timeout: 245 seconds]
ramblex has quit [Remote host closed the connection]
zmike123 has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
mikepack_ has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
kristiandelay has joined #ruby
rupee has joined #ruby
tvw has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
jcromartie has joined #ruby
jcromartie has quit [Max SendQ exceeded]
devoldmx3 has quit [Ping timeout: 268 seconds]
jprovazn is now known as jprovazn_afk
jcromartie has joined #ruby
zigomir has quit [Quit: zigomir]
mansi has quit [Read error: Connection reset by peer]
myappleguy has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
myappleguy has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
Bleah has joined #ruby
mikepack_ has quit [Remote host closed the connection]
devoldmx has joined #ruby
xardas has joined #ruby
xardas has joined #ruby
xardas has quit [Changing host]
athst has joined #ruby
mrsolo has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
c0rn has joined #ruby
mikepack_ has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
Dekade has joined #ruby
arietis has joined #ruby
Michae___ has quit [Remote host closed the connection]
c0rn has quit [Client Quit]
motto has joined #ruby
Michae___ has joined #ruby
denver has quit [Remote host closed the connection]
motto has quit [Client Quit]
freerobby has joined #ruby
timmow has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
sepp2k has joined #ruby
rsahae_ has quit [Ping timeout: 240 seconds]
<s2013> if i want to change "my word" to "my_word" how would i do it?
kil0byte has quit [Remote host closed the connection]
<s2013> just relpace space with _ ?
rsahae has joined #ruby
freakazoid0223 has joined #ruby
blaxter has joined #ruby
_dv_ is now known as dv_
faulkner has joined #ruby
ANDREDIEB is now known as andredieb
singingwolfboy has quit [Quit: singingwolfboy]
mansi has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
mansi has joined #ruby
pootler_ has joined #ruby
pootler__ has joined #ruby
mosez has joined #ruby
Guest53021 is now known as ixx
<JustinAiken> "my word".gsub(" ", "_")
mahmoudimus has joined #ruby
<s2013> thanks
krz has joined #ruby
timonv has quit [Remote host closed the connection]
muay-guy has joined #ruby
iamjarvo has joined #ruby
slainer6_ has quit [Remote host closed the connection]
mosez has quit [Remote host closed the connection]
c0rn has joined #ruby
twoism has joined #ruby
Guest44528 has quit [Quit: Textual IRC Client: www.textualapp.com]
mityaz has joined #ruby
<muay-guy> hi, how come this doesn't work https://gist.github.com/anonymous/45d901ebe424d2df7855
mfollett has joined #ruby
myappleguy has quit [Quit: Leaving.]
s2013 has left #ruby [#ruby]
DrShoggoth has joined #ruby
muay-guy has quit [Client Quit]
mocfive has joined #ruby
dpritchett has joined #ruby
myappleguy has joined #ruby
<JustinAiken> shift turns [3,2] into [2]
cofin has joined #ruby
<JustinAiken> line 4 you may want total = total - n
daniel_- has joined #ruby
Gues_____ has joined #ruby
Gues_____ is now known as Guest25033
mafolz has quit [Ping timeout: 252 seconds]
astegman has quit [Ping timeout: 260 seconds]
asteve has joined #ruby
jrajav has joined #ruby
citizensinspace has joined #ruby
jdunck has joined #ruby
jesly has quit [Quit: Leaving.]
cburyta has quit [Remote host closed the connection]
astegman has joined #ruby
mfollett has quit [Ping timeout: 255 seconds]
pcarrier_ has joined #ruby
blischalk has quit [Quit: blischalk]
adkron_ has joined #ruby
DestinyAwaits has quit [Quit: Leaving]
snearch has quit [Quit: Verlassend]
myappleguy has quit [Ping timeout: 264 seconds]
Kreas has quit [Remote host closed the connection]
astegman has quit [Client Quit]
realDAB has quit [Quit: realDAB]
chrisja has joined #ruby
samu has joined #ruby
<samu> Hello
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Dummies_freelanc has quit [Quit: Leaving.]
<samu> I've build ruby 1.9 from freebsd ports, specifying the PREFIX variable
<samu> but if I run ruby19 -e 'puts $:', it still says that it looks in /usr/local/lib, instead of ${PREFIX}/lib
<samu> so... has anybody have any clue why?
browndawg has quit [Quit: Leaving.]
_Andres has quit [Ping timeout: 245 seconds]
mosez has joined #ruby
tkuchiki has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.0]
tatsuya__ has quit [Ping timeout: 246 seconds]
<ericmathison> samu: the PREFIX variable is a shell thing right. On the other hand $: is the load path inside ruby.
Dummies_freelanc has joined #ruby
<ericmathison> i don't think they are related
Appineer has joined #ruby
<samu> ericmathison: yes - and I think that this path is being set during the build.
jonahR has joined #ruby
<samu> now my question is: what parameter passed to the configure script (for instance) is for that one
<ericmathison> isn't it customary to use --prefix=<my prefix> instead of an environment variable?
<samu> that variable is (or at least should be) passed to the configure script by freebsd ports by the Makefile
<samu> but I will try to pass it directly, and see if that helps in anything
mosez has quit [Ping timeout: 252 seconds]
jacobw has joined #ruby
LennyLinux has quit [Remote host closed the connection]
mosez has joined #ruby
mfollett has joined #ruby
myappleguy has joined #ruby
alex__c2022 has joined #ruby
b0oh has joined #ruby
twoism has quit [Ping timeout: 252 seconds]
<Michae___> Is anyone familiar with mechanize?
angelixd_ is now known as angelixd
<samu> nah, that's not it.
<samu> I've passed --prefix=${PREFIX} in the makefile, but 'puts $:' still tells me, that ruby is looking in /usr/local
b0oh has left #ruby [#ruby]
mosez has quit [Ping timeout: 268 seconds]
mosez has joined #ruby
elaptics`away is now known as elaptics
<samu> maybe a different question - where does $: come from?
<apeiros> compile time + whatever you do to it at runtime
myappleguy has quit [Quit: Leaving.]
khushildep has quit [Ping timeout: 268 seconds]
<samu> compile time is the thing that intrests me.
icole has joined #ruby
statarb3 has quit [Quit: Leaving]
<samu> so what determines where will it point to, during compile time?
<apeiros> don't know. I'd assume options + defaults of ./configure
dhruvasagar has quit [Ping timeout: 264 seconds]
awarner_ has joined #ruby
robscomputer has joined #ruby
dhruvasagar has joined #ruby
IrishGringo has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
awarner has quit [Ping timeout: 276 seconds]
saarinen has quit [Quit: saarinen]
bobbyz has quit [Ping timeout: 264 seconds]
atmosx has joined #ruby
fermion has joined #ruby
rdark has quit [Quit: leaving]
devoldmx has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Quit: Leaving.]
sambao21 has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
samuel02 has joined #ruby
rezzack has joined #ruby
uxp has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
twoism has joined #ruby
singingwolfboy has joined #ruby
myappleguy has joined #ruby
citizensinspace has quit [Quit: citizensinspace]
uxp has joined #ruby
Giorgio has quit [Read error: Operation timed out]
Michae___ has quit [Remote host closed the connection]
jerius has quit [Read error: Operation timed out]
jerius has joined #ruby
<asteve> in terms of ruby what would you call this: ModuleA::ClassB::ClassC
Michae___ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
<apeiros> a nested class
<apeiros> also: a constant
codecop has joined #ruby
astegman has joined #ruby
<apeiros> (A::B::C is a constant - whether it refers to a class or not)
<asteve> ok, thank you
<asteve> I've seen ::ClassB::ClassC; what's going on there?
<asteve> are they naming a constant? is there some implied parent?
<apeiros> ::Foo means "toplevel foo"
<asteve> great, thank you
<apeiros> >> Foo = 1; module X; Foo = 2; [::Foo, Foo]; end
<eval-in> apeiros => [1, 2] (https://eval.in/33566)
<apeiros> because the latter is X::Foo
havenwood has joined #ruby
<terrellt> Is >> open for use?
<terrellt> Guess I could find out.
<terrellt> >> Array(nil)
<eval-in> terrellt => [] (https://eval.in/33567)
<apeiros> terrellt: yes, but only for demonstration purposes.
<terrellt> Of course.
singingwolfboy has left #ruby [#ruby]
<apeiros> heh, if only… there's many to whom that isn't self evident :(
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
jprovazn_afk has quit [Quit: Odcházím]
cespare has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
interactionjaxsn has quit [Ping timeout: 268 seconds]
v0n has joined #ruby
<Morrolan> And for what would you use it other than for providing an example? oO
<Morrolan> eval-in isn't exactly my favourite interactive shell. :P
dhruvasagar has joined #ruby
Hanmac1 has joined #ruby
myappleguy has quit [Quit: Leaving.]
Zai00_ has quit [Quit: Zai00_]
saarinen has joined #ruby
jtharris has joined #ruby
LargePizza has joined #ruby
Hanmac2 has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
timonv has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
LargePizza has quit [Killed (idoru (Spam is off topic on freenode.))]
<bricker> I'm trying to find the most succinct way to say, "If the object responds to this method, then make sure that method is truthy before running the code. If it doesn't respond to the method, then run the code." Is there a better way than:
<bricker> if !content.respond_to?(:published?) || (content.respond_to?(:published?) && content.published?)
<bricker> That just seems like a mess to me
<Hanmac> apeiros: did you know that D::(xyz) is valid ruby code? ;P
ericbmer1itt has quit [Remote host closed the connection]
gasbakid has joined #ruby
<Hanmac> >> class D;def self.call(*);"i have been called";end;end; D::("args")
<eval-in> Hanmac => "i have been called" (https://eval.in/33568)
sailias has quit [Ping timeout: 264 seconds]
airlok has joined #ruby
instinkt has joined #ruby
tonini has joined #ruby
awarner_ has quit [Remote host closed the connection]
Pochacco has joined #ruby
Pochacco has quit [Client Quit]
awarner has joined #ruby
cespare has joined #ruby
Pochacco has joined #ruby
pi3r has quit [Quit: Leaving]
Pochacco has quit [Client Quit]
atyz has quit [Ping timeout: 240 seconds]
brbcoding has joined #ruby
Pochacco has joined #ruby
akells` has quit [Remote host closed the connection]
ryannielson has left #ruby [#ruby]
<Hanmac> bricker you can do: if (content.published? rescue true) but it may not what i would recomend
axl_ has quit [Quit: axl_]
Left_Turn has joined #ruby
Pochacco is now known as RichieBaker
<bricker> Hanmac: nah, I wouldn't want to do that
mikepack has quit [Remote host closed the connection]
<atmosx> lol
mikepack has joined #ruby
jonathanwallace has quit [Quit: WeeChat 0.4.0]
RichieBaker is now known as richiebkr
richiebkr has quit [Client Quit]
krishna has joined #ruby
Nisstyre has joined #ruby
<pontiki> bricker, if you break down your if statement above, you can boil it down to: if (!content.respond_to?(:published?) || content.published?)
stkowski has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
<pontiki> you don't need to check if it responds to something twice
richiebkr has joined #ruby
<atmosx> pontiki: where you from?
paissad_ has quit [Read error: Operation timed out]
devoldmx has joined #ruby
generalissimo has joined #ruby
<pontiki> does my accent give me away?
<bricker> pontiki: nice, thanks
<pontiki> US, mostly, atmosx
<atmosx> k
devoldmx3 has joined #ruby
geggam has quit [Remote host closed the connection]
harrymoreno has joined #ruby
ferdev has quit [Quit: ferdev]
saarinen has quit [Quit: saarinen]
citizensinspace has joined #ruby
ferdev has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
alex__c2022 has quit [Quit: alex__c2022]
devoldmx has quit [Ping timeout: 268 seconds]
sventon has quit [Remote host closed the connection]
citizensinspace has left #ruby [#ruby]
<pontiki> it doesn't actually look that impressive, as a hacker
mfollett has quit [Remote host closed the connection]
samuel02 has quit [Remote host closed the connection]
jerius_ has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
ArchBeOS has left #ruby [#ruby]
paissad_ has joined #ruby
geggam has joined #ruby
Shirakawasuna has quit [Quit: Leaving]
jerius has quit [Ping timeout: 276 seconds]
girija has quit [Read error: Operation timed out]
stonevil has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
tjbiddle has joined #ruby
Michae___ has quit [Remote host closed the connection]
myappleguy has joined #ruby
postmodern has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
Michae___ has joined #ruby
stkowski has quit [Quit: stkowski]
<epitron> atmosx: hah.. neat idea
<epitron> it's really just a bunch of trials though :)
<epitron> some of them are just coupons
<epitron> like mongolab
xardas has quit [Ping timeout: 252 seconds]
<epitron> but i bet you that sells pretty well
jbpros has joined #ruby
akells` has joined #ruby
<atmosx> yeah
paissad_ has quit [Ping timeout: 268 seconds]
<epitron> that whole "not having to pick anything" selling idea is great
<epitron> if you could to pick 5 or 8 services for some savings, nobody would bother
<epitron> s/5 or 8/5 of 8/
<epitron> -to
* epitron goes to get his glasses
speakingcode-wor has quit [Quit: Lost terminal]
RORgasm_ has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
c0rn has quit [Ping timeout: 245 seconds]
bobbyz has joined #ruby
mikepack has joined #ruby
mfollett has joined #ruby
rickruby has joined #ruby
gildo has quit [Ping timeout: 276 seconds]
bionhart has quit [Remote host closed the connection]
c0rn has joined #ruby
Es0teric has joined #ruby
DomKM has quit [Quit: Leaving.]
cburyta has joined #ruby
bionhart has joined #ruby
bobbyz has quit [Ping timeout: 252 seconds]
zigomir has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
pitzips has joined #ruby
danshultz has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
moted has quit [Quit: moted]
kayloos has joined #ruby
richiebkr has quit [Quit: richiebkr]
ananthakumaran has quit [Quit: Leaving.]
gildo has joined #ruby
tommyvyo has quit [Quit:]
alx- has quit [Quit: alx-]
scottmey has joined #ruby
athst has quit [Quit: athst]
airlok has quit [Remote host closed the connection]
ivanoats has joined #ruby
jeffreylevesque_ has joined #ruby
grim_crypt has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vwoo has joined #ruby
jeffreylevesque has quit [Read error: Operation timed out]
havenwood has quit [Ping timeout: 245 seconds]
<grim_crypt> anyone got a minute to help with a ruby setup question?
interactionjaxsn has joined #ruby
scipi0 has joined #ruby
mahlon__ is now known as mahlon
richiebkr has joined #ruby
<atmosx> grim_crypt: shoot
freerobby has quit [Quit: Leaving.]
<grim_crypt> ok so I have a centos6.4 machine and tried to upgrade from 2.2.3 to 2.3.1
<grim_crypt> I ran into something with my versions of base ruby (via RPM from epel
Taranis has joined #ruby
jkline has joined #ruby
cj3kim has joined #ruby
<scipi0> hello. I am trying to develop a "dsl" for automatic tasks executed based on the day of the week. I have succesfully made a working class but when I try to load files we see a problem. here I linked the class, file to be loaded, and output: https://gist.github.com/Benjmin/5776528
<atmosx> grim_crypt: I have two questions
<grim_crypt> so I read someone to just remove all that from epel/rpm and then get this install via rvm
<atmosx> grim_crypt: yeah try that.
uxp has quit [Remote host closed the connection]
<atmosx> or install manually ruby system-wide
<grim_crypt> this got me going… I can now run my redmine with the local setup but I would like it running via apache
<grim_crypt> is there a place I missed a step?
<grim_crypt> rememder I had this working but removed a ton of packages
<grim_crypt> if I recall there is a hook for this that I am forgetting but done see on the setups or other guides
devoldmx has joined #ruby
<apeiros> Hanmac: technically I did know, that's how foo.() works, since :: is accepted instead of . too
<apeiros> but I never considered this application of it
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icole has quit [Remote host closed the connection]
jbpros_ has joined #ruby
rsahae has quit [Quit: rsahae]
<grim_crypt> oh I believe its "passenger" that I am missing
Hanmac2 has joined #ruby
jbpros has quit [Ping timeout: 259 seconds]
jbpros_ is now known as jbpros
Hanmac1 has quit [Ping timeout: 252 seconds]
<Hanmac> apeiros: you can define it that like def call(name);const_get(name);end ;P
ivanoats has quit [Remote host closed the connection]
lkba has joined #ruby
eldariof has quit [Ping timeout: 264 seconds]
paissad_ has joined #ruby
DomKM has joined #ruby
timkohrumel has quit [Remote host closed the connection]
bobbyz has joined #ruby
Guest25033 has quit [Quit: Textual IRC Client: www.textualapp.com]
bean has quit [Quit: Computer has gone to sleep.]
slash_nick has quit [Ping timeout: 252 seconds]
Heskie has joined #ruby
paissad_ has quit [Max SendQ exceeded]
sepp2k1 has joined #ruby
realDAB has joined #ruby
blischalk has joined #ruby
vwoo has quit [Ping timeout: 246 seconds]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
paissad_ has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
vwoo has joined #ruby
ryannielson has joined #ruby
<scipi0> hello. I am trying to develop a "dsl" for automatic tasks executed based on the day of the week. I have succesfully made a working class but when I try to load files we see a problem. here I linked the class, file to be loaded, and output: https://gist.github.com/Benjmin/5776528
bionhart has quit [Remote host closed the connection]
myappleguy has quit [Quit: Leaving.]
pitzips has quit [Ping timeout: 240 seconds]
rsahae has joined #ruby
asteve has quit [Ping timeout: 246 seconds]
Dummies_freelanc has quit [Ping timeout: 264 seconds]
bobbyz has quit [Read error: Operation timed out]
codesoda has joined #ruby
instinkt has quit [Ping timeout: 240 seconds]
<scipi0> nevermind
cburyta has quit [Remote host closed the connection]
jnix_ has left #ruby [#ruby]
Hanmac has quit [Read error: Operation timed out]
jnix has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.1]
vwoo has quit [Ping timeout: 264 seconds]
cburyta has joined #ruby
<Morrolan> scipi0: Reinventing the wheel, aren't you. :P
alex__c2022 has joined #ruby
vwoo has joined #ruby
werdnativ has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
F1skr has joined #ruby
<pontiki> it's a good exercise
bobbyz has joined #ruby
vwoo has quit [Ping timeout: 246 seconds]
echevemaster is now known as _echevemaster
Es0teric has joined #ruby
icole has joined #ruby
tatsuya_o has joined #ruby
airlok has joined #ruby
rickruby has joined #ruby
harrymoreno_ has joined #ruby
tomzx has quit [Quit: tomzx]
akells` has quit [Remote host closed the connection]
airlok has quit [Remote host closed the connection]
airlok_ has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
lele has quit [Ping timeout: 260 seconds]
Es0teric has quit [Client Quit]
Meatant has joined #ruby
freerobby has joined #ruby
Kar- has quit [Remote host closed the connection]
phantasm66 has joined #ruby
phantasm66 has joined #ruby
vwoo has joined #ruby
phantasm66 has quit [Client Quit]
_echevemaster has quit [Quit: Leaving]
echevemaster has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
Hanmac has joined #ruby
realDAB has quit [Quit: realDAB]
ELLIOTTCABLE is now known as purr
atmosx has quit [Quit: Computer has gone to sleep.]
Hanmac2 has quit [Ping timeout: 260 seconds]
rubik has joined #ruby
workmad3 has joined #ruby
poincare1011 has joined #ruby
purr is now known as ELLIOTTCABLE
x1337807x has joined #ruby
emmanuelux has joined #ruby
<rubik> hello
yalue has quit [Quit: Leaving]
slainer68 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
lele has joined #ruby
tw1sted has quit [Quit: tw1sted]
Asher has quit [Quit: Leaving.]
<poincare1011> Hi guys. I didn't have any luck with #rubyonrails so I'm asking here. I'm trying to do some long polling, here's my code: http://pastie.org/8040228. The problem is that both Thin and WebBrick are locking up if the the request to the server is left pending - they won't serve any other requests. Is there any way I can solve this?
bionhart has joined #ruby
Asher has joined #ruby
ivanoats has joined #ruby
ryannielson has quit [Quit: ryannielson]
<poincare1011> anyone at all?
Michae___ has quit [Remote host closed the connection]
<rubik> So
<rubik> You can run the application?
vwoo has quit [Ping timeout: 245 seconds]
Michae___ has joined #ruby
<graft> hey, is there a nice gem or something for converting a String automatically?
atmosx has joined #ruby
<poincare1011> rubik: me?
vwoo has joined #ruby
<rubik> yes
atmosx has quit [Client Quit]
sambao21 has joined #ruby
atmosx has joined #ruby
<rubik> graft. What you want convert into string?
myappleguy has joined #ruby
<poincare1011> rubik: I can run it, yes.
viszu has quit [Quit: Leaving.]
<poincare1011> rubik: but, it keeps getting frozen because of hanging requests.
<rubik> you use old ruby, I see
olleh__ has quit [Ping timeout: 250 seconds]
bradhe has quit [Remote host closed the connection]
tonini has joined #ruby
<poincare1011> rubik: no, I don't.
bamdad has joined #ruby
<kenichi> poincare1011: it seems to the the web request should return fast, and the requester should be doing the sleeping
<poincare1011> kenichi: but that's not how long polling works...
chipotle_ has joined #ruby
chipotle_ has quit [Remote host closed the connection]
<rubik> I see
<kenichi> poincare1011: ah i see what you mean
plechazunga has joined #ruby
<rubik> I see that your count is equal initial_count
vwoo has quit [Ping timeout: 252 seconds]
<rubik> Do you see it?
<rubik> And your condition should not be complied
vwoo has joined #ruby
<poincare1011> rubik: what
<fryguy> poincare1011: you need to change what you are using to serve content. that has more spare resources to hold onto long running connections.
<rubik> in line 8
<fryguy> eventmachine would be appropriate to look at
<rubik> and
<kenichi> rubik: presumably something else adds a data_piece, and `feed.data_piece.count` goes up
<rubik> line 15
<kenichi> poincare1011: i think this example may help https://github.com/macournoyer/thin/blob/master/example/async_tailer.ru
<poincare1011> fryguy: ah okay
<poincare1011> kenichi: thanks
tommyvyo has joined #ruby
<kenichi> thin has EM in it
atno has quit [Ping timeout: 252 seconds]
<fryguy> poincare1011: or evented webservers, etc. all but the most modern versions of rails aren't really servable as evented though because they rely on some random global state still (and even though rails kind of defaults to the right mode in rails4, some of your gems might still be messing with this).
plechazunga has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
<poincare1011> fryguy: so, in general, is Rails a shitty tool to use for realtime apps?
<r0bgleeson> poincare1011: yes
<fryguy> poincare1011: that's probably accurate
airlok_ has quit [Remote host closed the connection]
<kenichi> i would say so
pitzips has joined #ruby
atmosx has quit [Remote host closed the connection]
Turn_Left has joined #ruby
tonini has quit [Remote host closed the connection]
Lemtzas has quit [Ping timeout: 255 seconds]
Left_Turn has quit [Ping timeout: 245 seconds]
<rubik> In http://pastie.org/8040228#15-16,20 I see wrong code
mityaz has quit [Quit: See ya!]
cofin has quit [Quit: cofin]
tommyvyo has quit [Ping timeout: 252 seconds]
brbcoding has quit [Ping timeout: 240 seconds]
<rubik> feed.data_pieces.count
saarinen has joined #ruby
<rubik> count and initial_count
<rubik> should be always equals
<rubik> so loop should be infinity
jastix has quit [Quit: Leaving]
vwoo has quit [Ping timeout: 260 seconds]
vwoo has joined #ruby
s0ber has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
axsuul has joined #ruby
s0ber has joined #ruby
Meatant has quit [Ping timeout: 252 seconds]
harrymoreno_ has quit [Quit: harrymoreno_]
lunarjar has quit [Ping timeout: 240 seconds]
tonini has joined #ruby
Es0teric has joined #ruby
amedeiros has quit [Ping timeout: 264 seconds]
Es0teric has quit [Remote host closed the connection]
rubik has left #ruby [#ruby]
synthetix has joined #ruby
myappleguy has quit [Ping timeout: 264 seconds]
vwoo has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: iamjarvo]
iamjarvo has joined #ruby
ivanoats has quit [Remote host closed the connection]
lunarjar has joined #ruby
<grim_crypt> Hey room if anyone has a second I have a quick one: what does this mean: cannot load such file -- rack (LoadError)
<grim_crypt> I have rack installed...
<fryguy> grim_crypt: are you sure
iamjarvo has quit [Client Quit]
vwoo has joined #ruby
<grim_crypt> fryguy: rack => 1.4.5
<grim_crypt> rack-cache => 1.2
<grim_crypt> rack-test => 0.6.2
<kurtf> Anyone use vcr + webmock know how to stop the response body from being written out during tests?
krz has quit [Quit: krz]
<grim_crypt> its listed in the pasenger
<kurtf> HTTPI.log = false is not working as far as I can tell
jbueza has quit [Quit: Leaving.]
bean has joined #ruby
<fryguy> grim_crypt: listed in the what
<grim_crypt> fryguy: on the passenger crash page...
dash_ has quit [Quit: Time to beer :)]
<grim_crypt> fryguy: I think it might be a permission issue
RustyShackleford has joined #ruby
<fryguy> grim_crypt: you'll have to pastebin more than 1 line of a stacktrace and a better description
zmike123 has quit [Quit: Выходжу]
<RustyShackleford> I want to abstract bootstrap classes in my application.css.scss
<kurtf> Nevermind, fixed my issue
<RustyShackleford> it seems that application.css.scss is imported before bootstrap
<kurtf> It was a logging mechanism through asin, on top of vcr/webmock that caused it to print response body
Guga_ has joined #ruby
richardjortega has joined #ruby
<grim_crypt> fryguy: I think its a permission issue as I did it all as root then run httpd as apache: http://pastebin.com/9sza0DiR
workmad3 has quit [Ping timeout: 252 seconds]
Lemtzas has joined #ruby
<grim_crypt> fryguy: looks like I can not get on the command line to : /usr/local/rvm/gems/ruby-2.0.0-p195:/usr/local/rvm/gems/ruby-2.0.0-p195@global
daniel_-_ has joined #ruby
freerobby has quit [Quit: Leaving.]
richardjortega has quit [Remote host closed the connection]
<RustyShackleford> Now if I @import "bootstrap_and_overrides.css.less", it works as I expect
santana has joined #ruby
<RustyShackleford> but we're duplicating bootstrap
<santana> hi there
richardjortega has joined #ruby
freerobby has joined #ruby
Zai00 has joined #ruby
<grim_crypt> fryguy: yeah I see this: /usr/local/rvm/gems/ruby-2.0.0-p195@global/gems/rake-10.0.4/lib but can not list it on the cli with the @ in it
mocfive has joined #ruby
<fryguy> you likely need to just escape it
blischalk has quit [Quit: blischalk]
<santana> rspec-expectations depends on aruba; aruba depends on rspec-expectations; how am I supposed to install them given the circular dependency?
<fryguy> i don't use rvm and i don't use gemsets so don't have much for you
<grim_crypt> fryguy: oh wait yeah can see that
tonini has quit [Ping timeout: 248 seconds]
Michae___ has quit [Remote host closed the connection]
Michae___ has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
ivanoats has joined #ruby
Sherwyn has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
chrisja has quit [Quit: leaving]
akells` has joined #ruby
ozsekd has joined #ruby
seitensei has quit [Ping timeout: 260 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pipework has quit [Remote host closed the connection]
<ozsekd> hi, can someone take a look at this gist of mine https://gist.github.com/ozsekd/5777208
pipework has joined #ruby
theRoUS has quit [Ping timeout: 252 seconds]
benlieb has joined #ruby
ner0x has quit [Quit: Leaving]
<benlieb> I'm trying to figure out how to write one liners on the bash console and pipe to ruby but I can't figure out how to get the input. This isn't working: echo "My String" | ruby -e "#{STDIN.read.first.downcase}"
ozsekd is now known as ausek
ausek has quit [Changing host]
ausek has joined #ruby
<Godd2> Is it codesmell to have 27 require_relatives at the beginning of a file?
<benlieb> how can I get the piped input in ruby?
<santana> nevermind, got my answer
pipework has quit [Ping timeout: 276 seconds]
bubblehead has quit [Remote host closed the connection]
jamesaxl_ has joined #ruby
jamesaxl has quit [Ping timeout: 240 seconds]
<grim_crypt> fryguy: it was permissions on my gems… fix them up and all is good
axsuul has quit [Quit: axsuul]
horofox_ has joined #ruby
stonevil has joined #ruby
horofox_ has quit [Client Quit]
vwoo has quit [Ping timeout: 252 seconds]
horofox_ has joined #ruby
santana has quit [Quit: Saliendo]
jamesaxl has joined #ruby
jamesaxl_ has quit [Ping timeout: 252 seconds]
burlyscudd has quit [Remote host closed the connection]
vwoo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Davey has quit [Quit: Computer has gone to sleep.]
astegman has quit [Quit: too busy]
agent_white has joined #ruby
moted has joined #ruby
huoxito has quit [Quit: Leaving]
hhtp has joined #ruby
havenwood has joined #ruby
LennyLinux has joined #ruby
machuga is now known as machuga|away
LennyLinux has quit [Read error: Connection reset by peer]
hhtp has left #ruby [#ruby]
LennyLinux has joined #ruby
robscomputer_ has joined #ruby
Michae___ has quit [Read error: Connection reset by peer]
dcope has quit [Read error: Connection reset by peer]
robscomputer has quit [Read error: Connection reset by peer]
dcope has joined #ruby
kofno has quit [Remote host closed the connection]
kristiandelay has quit [Remote host closed the connection]
Appineer has quit [Remote host closed the connection]
agent_white has quit [Quit: Lost terminal]
cads has joined #ruby
bradhe has joined #ruby
pothibo has quit [Quit: pothibo]
axsuul has joined #ruby
agent_white has joined #ruby
robscomputer_ has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
robscomputer has joined #ruby
airlok has joined #ruby
joschi has quit [Remote host closed the connection]
f0ster has joined #ruby
ldnunes has quit [Quit: Leaving]
joschi has joined #ruby
generalissimo has quit [Remote host closed the connection]
kil0byte has joined #ruby
chipotle_ has joined #ruby
jamesaxl_ has joined #ruby
reset has joined #ruby
vwoo has quit [Ping timeout: 245 seconds]
cofin has joined #ruby
_Renegade_ has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
_Renegade has quit [Ping timeout: 252 seconds]
_Renegade_ is now known as _Renegade
jamesaxl has quit [Ping timeout: 252 seconds]
jbpros has quit [Quit: jbpros]
b0oh has joined #ruby
Michae___ has joined #ruby
vwoo has joined #ruby
kurtf has quit [Quit: Computer has gone to sleep.]
cburyta has quit [Remote host closed the connection]
dcunit3d has joined #ruby
freerobby has quit [Quit: Leaving.]
BeLucid has quit [Ping timeout: 248 seconds]
F1skr has quit [Quit: WeeChat 0.4.1]
cburyta has joined #ruby
johnrlive has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
johnrlive has joined #ruby
BeLucid has joined #ruby
agent_white has quit [Quit: leaving]
Michae___ has quit [Remote host closed the connection]
rsahae has quit [Quit: rsahae]
Lubinski has quit [Quit: Leaving]
vwoo has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
Vert has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
kofno has joined #ruby
vwoo has joined #ruby
reset has quit [Read error: Operation timed out]
synthetix has quit [Ping timeout: 268 seconds]
cburyta has quit [Write error: Broken pipe]
Michae___ has joined #ruby
jdunck has quit [Ping timeout: 245 seconds]
dcunit3d has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
myappleguy has joined #ruby
_Renegade has quit [Quit: _Renegade]
vlad_starkov has quit [Read error: Connection reset by peer]
kofno has quit [Remote host closed the connection]
_Renegade has joined #ruby
sailias has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
kofno has joined #ruby
froy has quit [Remote host closed the connection]
froy has joined #ruby
fuzzyhorns has quit [Remote host closed the connection]
geggam has quit [Ping timeout: 268 seconds]
vwoo has quit [Ping timeout: 264 seconds]
bklang has joined #ruby
Giorgio has joined #ruby
dcunit3d has joined #ruby
codecop has quit [Remote host closed the connection]
slash_nick has joined #ruby
slash_nick has joined #ruby
brennanMKE has joined #ruby
jonahR has quit [Quit: jonahR]
<bklang> Hello all, I've got a question about C extensions. I've got a method defined (#each) that is mapped to a C function. Within that C function I call into a library that takes a callback as one of the arguments. I need to get the handle on "self" available in that callback function somehow, but I'm short on ideas.
vwoo has joined #ruby
<banisterfiend> bklang: you call into a ruby or c library?
<bklang> C library
<bklang> libpcap
<bklang> I need self accessible in the handler() function
richiebkr has quit [Quit: richiebkr]
jerius_ has quit [Ping timeout: 252 seconds]
ezkl has joined #ruby
rsahae has joined #ruby
kofno has quit [Remote host closed the connection]
LennyLinux has quit []
thams has quit [Quit: thams]
richiebkr has joined #ruby
ffranz has quit [Quit: Leaving]
Heskie has quit []
jonathanwallace has joined #ruby
<banisterfiend> bklang: you want to pass the self into the handler you mean?
Aaaarg has quit [Read error: Operation timed out]
<banisterfiend> bklang: rb_string_eval("self") ?
kofno has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 264 seconds]
ferdev has quit [Quit: ferdev]
nesoi has joined #ruby
<banisterfiend> that will return self for the current ruby stack frame
generalissimo has joined #ruby
<bklang> banisterfiend: awesome, I'll try that, thanks
interactionjaxsn has joined #ruby
Aaaarg has joined #ruby
<nesoi> hello... I just moved my source file from one folder to another, and suddenly it doesn't work. I checked and there are not hardcoded directory paths, so I'm not sure what's going on. It is failing on a mysql connect, and I verified that the server is up and active. Could someone take a look at the error messages and give me a hint? https://gist.github.com/anonymous/b9112d3c9c9899109415
supergiantrobot has quit [Ping timeout: 264 seconds]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tw1sted has joined #ruby
ezkl has quit [Quit: Textual IRC Client: www.textualapp.com]
pcarrier_ has quit [Quit: Computer has gone to sleep.]
generalissimo has quit [Remote host closed the connection]
BeLucid has quit [Read error: Operation timed out]
verto has joined #ruby
kofno has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
pcarrier_ has joined #ruby
johnmilton has quit [Remote host closed the connection]
kenneth has joined #ruby
interactionjaxsn has quit [Ping timeout: 268 seconds]
chipotle_ has quit [Remote host closed the connection]
pootler_ has quit [Ping timeout: 245 seconds]
pootler__ has quit [Read error: Operation timed out]
stkowski has joined #ruby
pootler_ has joined #ruby
jacobw has quit [Quit: WeeChat 0.4.0]
lunarjar has quit [Ping timeout: 240 seconds]
dcunit3d has quit [Ping timeout: 240 seconds]
dcunit3d_ has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
akells` has quit [Remote host closed the connection]
pootler__ has joined #ruby
jdunck has joined #ruby
bradhe has joined #ruby
kenneth has quit [Quit: kenneth]
cr3 has joined #ruby
bamdad has quit [Quit: bamdad]
<cr3> is there a preferable way to get the complete command and its arguments as a string: ([$0] + ARGV).join(" ")
wmoxam has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
arya_ has joined #ruby
m8 has quit [Read error: Connection reset by peer]
Michae___ has quit [Remote host closed the connection]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
vwoo has quit [Ping timeout: 264 seconds]
kofno has joined #ruby
arya has quit [Ping timeout: 248 seconds]
<banisterfiend> bklang: i'll be curious to know whether that works ;)
horofox_ has quit [Quit: horofox_]
msk5293 has quit [Ping timeout: 248 seconds]
breakingthings has quit [Quit: breakingthings]
thams has joined #ruby
vwoo has joined #ruby
Michae___ has joined #ruby
joelteon has quit [Ping timeout: 248 seconds]
<banisterfiend> there used to be more exotic ways of reading off self, but i think most of the techniques i knew of have been blocked by the functions turning private
Seus has quit []
alexwh has left #ruby [#ruby]
Kabaka has quit [Remote host closed the connection]
sethetter has quit [Quit: Lost terminal]
pothibo has joined #ruby
pitzips has quit [Quit: Leaving]
RORgasm_ has quit [Read error: Connection reset by peer]
Kabaka has joined #ruby
<bklang> banisterfiend: getting to a point where I can test shortly :)
burlyscudd has quit [Ping timeout: 256 seconds]
RORgasm has joined #ruby
byprdct has joined #ruby
lunarjar has joined #ruby
<nesoi> hello... I just moved my source file from one folder to another, and suddenly it doesn't work. I checked and there are not hardcoded directory paths, so I'm not sure what's going on. It is failing on a mysql connect, and I verified that the server is up and active. Could someone take a look at the error messages and give me a hint? https://gist.github.com/anonymous/b9112d3c9c9899109415
<banisterfiend> np
brennanMKE has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
<nesoi> banisterfiend : maybe? :)
Speed has joined #ruby
<banisterfiend> nesoi: have you tried rebooting? ;)
RORgasm has quit [Remote host closed the connection]
poincare1011 has quit [Read error: Operation timed out]
<nesoi> banisterfiend : hmm... no I haven't. But I rebooted fairly recently
tw1sted has joined #ruby
mikepack has quit [Remote host closed the connection]
<nesoi> the error messages aren't particularly enlightening then...?
chichou_ has joined #ruby
poincare101 has joined #ruby
b0oh has quit [Quit: Leaving.]
jamel has quit [Remote host closed the connection]
kenneth has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
<bklang> hm, any ideas why Bundler won't recompile my extension on "gem install"? it works fine if I build the gem and then gem install that
<nesoi> ok, rebooting
horofox_ has joined #ruby
nesoi has quit [Remote host closed the connection]
zigomir has quit [Read error: Operation timed out]
obs has quit [Quit: Konversation terminated!]
robscomputer_ has joined #ruby
havenwood has quit [Remote host closed the connection]
robscomputer has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
scipi0 has quit [Ping timeout: 264 seconds]
scipi0 has joined #ruby
dpritchett has quit [Quit: This computer has gone to sleep]
freerobby has quit [Quit: Leaving.]
splittingred has quit [Quit: splittingred]
Davey has joined #ruby
grim_crypt has left #ruby [#ruby]
jtharris has quit [Quit: WeeChat 0.4.0]
<scipi0> I have been having troubles all day loading files in instance eval. Is there a known issue using "load" or "require" in a block passed by instance_eval?
kristian_ has joined #ruby
mklappstuhl has joined #ruby
horofox_ has quit [Client Quit]
emergion has joined #ruby
vwoo has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 276 seconds]
vwoo has joined #ruby
Cyrus has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
jimg has joined #ruby
Turn_Left has quit [Read error: Connection reset by peer]
Left_Turn has joined #ruby
kristian_ has quit [Ping timeout: 264 seconds]
Michae___ has quit [Remote host closed the connection]
w400z has joined #ruby
joelteon has joined #ruby
msk5293 has joined #ruby
nesoi has joined #ruby
<nesoi> hmm... I rebooted and still the same errors banisterfiend
jimg has quit [Ping timeout: 268 seconds]
wallerdev has joined #ruby
rsahae__ has joined #ruby
rsahae has quit [Ping timeout: 256 seconds]
rsahae__ is now known as rsahae
alex__c2022 has quit [Quit: alex__c2022]
chattmatt has quit [Quit: chattmatt]
sambao21 has joined #ruby
kenneth has quit [Quit: kenneth]
<nesoi> so what could be causing the error?
airlok has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
fierycatnet has joined #ruby
kayloos has joined #ruby
airlok has joined #ruby
Kabaka has quit [Remote host closed the connection]
<fierycatnet> I am doing ruby koans and something puzzling me a bit. We have array[
mklappst_ has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
Kabaka has joined #ruby
pcarrier_ has quit [Ping timeout: 246 seconds]
finn_ has joined #ruby
uxp has joined #ruby
<fierycatnet> array['one', 'two',' 'three', 'four'] so why does array[4, 0] evaluates to [] and array[5, 0] to nil?
mklappstuhl has quit [Ping timeout: 240 seconds]
<fierycatnet> shouldnt they both be nil since its out of bound?
daniel_- has joined #ruby
airlok has quit [Remote host closed the connection]
atyz has joined #ruby
zodiak has joined #ruby
<fierycatnet> array[4, 100] evaluates to [], any explanation why ruby does this? and what exactly is going on?
jamesaxl_ has quit [Ping timeout: 252 seconds]
scottmey has quit [Quit: scottmey]
daniel_-_ has quit [Ping timeout: 264 seconds]
<bklang> fierycatnet: fierycatnet how large is your array?
<fierycatnet> only 4 items
vwoo has quit [Ping timeout: 260 seconds]
<bklang> you're asking for the 5th through 100th items
<bklang> what are you trying to do?
tommyvyo has quit [Quit:]
finn_ has left #ruby [#ruby]
danman has quit [Quit: danman]
seitensei has joined #ruby
<fierycatnet> ruby koans, ruby evaluation of arrays is not clear
<bklang> so when you do array[4], you're asking for the element at index 4, which is actually the fifth element
vwoo has joined #ruby
<bklang> 0, 1, 2, 3, 4 (zero indexing)
<bklang> when you put two args in the square brackets it gets treated as a range
c0rn has quit [Quit: Computer has gone to sleep.]
<terrellt> fierycatnet: You're asking why the end of an array is [], but end+1 is nil? It's just the standard. http://ruby-doc.org/core-2.0/Array.html#method-i-5B-5D
<nesoi> bklang : would you be able to take a quick look at https://gist.github.com/anonymous/ab35a09e43471a3e86bc and let me know what might be going on? This was a working program and I only moved it from one directory to another. I checked the code and there are no noticable directory dependencies
cmarques has quit [Ping timeout: 264 seconds]
Oddnoun has joined #ruby
<terrellt> "Additionally, an empty array is returned when the starting index for an element range is at the end of the array."
<nesoi> or terrellt... or anyone who might have an insight!
jamesaxl has joined #ruby
<bklang> nesoi: that error message has nothing to do with directories. It's trying to connect to MySQL but can't. If I had to guess you, you have the wrong credentials. Perhaps the script is trying to load credentials from some file in the same diretory?? I have no idea without seeing what is in mws.rb
c0rn has joined #ruby
emergion has joined #ruby
mljsimone is now known as mljsimone|away
<nesoi> bklang : the credentials are in the yml file, which is in the same relative position as before, and I have not changed anything in the configuration
<fierycatnet> still cant understand why would it return anything if array has 4 elements, so [4, 100] is of bound?
emergion has quit [Client Quit]
<bklang> I have no idea without being able to see mws.rb
<bklang> fierycatnet: because you're asking for a slice of the array. It's just that the array has no data within that slice, so you're getting back an empty set
<bklang> if you were to do array[1,2] you would get back an array with 2 elements in it
<bklang> starting at the second element
<terrellt> fierycatnet: array[4] was valid, so it returned that.
<fierycatnet> so why would it return nil instead of [] if I do [5, 100]
<nesoi> bklang : here are the lines where it's failing https://gist.github.com/anonymous/9ef2dc0f00bd32636ac0
kenneth has joined #ruby
JustinAiken has quit [Quit: Leaving.]
Dummies_freelanc has joined #ruby
<terrellt> fierycatnet: Because the first element is nil in the case of [5,100]
pcarrier_ has joined #ruby
<bklang> nesoi: see what data you have in dbconfig and make sure it is correct
<bklang> check the hostname or IP, the port, the username, the password, the database name
<bklang> if any are wrong you'll get that error
johnnyfuchs has quit [Ping timeout: 276 seconds]
<nesoi> bklang : it's the same data which worked yesterday before I moved the directory tree!
<fierycatnet> Call me brain dead but we have array['one', 'two' ,'three' ,'four'] with index starting at 0, so its 0,1,2,3 if I ask array[4, 100] why would it even consider that range and not return nil
<nesoi> also, it doesn't fail on the establish_connection, but on the .first
<nesoi> which seems odd maybe?
<bklang> it's probably just delaying the connection until it needs it. THe error is in real_connect, which is the attempt to connect to the database
<bklang> just make sure dbconfig is even getting read
Bleah has quit [Ping timeout: 260 seconds]
<bklang> if your hunch about directory structure is right, perhaps dbconfig is nil somehow
gyre007 has quit [Read error: Operation timed out]
<terrellt> nesoi: Your problem is your config isn't loading. I don't know, you didn't show your code, but yeah.
Davey has quit [Quit: Computer has gone to sleep.]
<bklang> fierycatnet: actually, that surprises me too. I'm with you, it seems like it should return nil. OR that array[5, 100] should also return an empty set
mansi has quit [Remote host closed the connection]
<bklang> but the behavior feels inconsistent
<fierycatnet> yeah exactly
<fierycatnet> I guess thats why they call it a koan
<bklang> no idea, hadn't bumped into that one before
tommyvyo has joined #ruby
mansi has joined #ruby
cr3 has quit [Quit: leaving]
airlok has joined #ruby
generalissimo has joined #ruby
poincare101 has quit [Ping timeout: 264 seconds]
<bklang> time to jet, later all
<terrellt> The spec specifically says that the end of an array, that is element array.length, is always an empty set.
Andreo_ has joined #ruby
vwoo has quit [Ping timeout: 245 seconds]
daniel_- has quit [Quit: WeeChat 0.4.1]
<nesoi> terrellt: thanks! if the YAML.load_file was failing though, wouldn't that signal an error?
saarinen has quit [Quit: saarinen]
brunoro has joined #ruby
lockweel has joined #ruby
moted_ has joined #ruby
freerobby has joined #ruby
<nesoi> I would think that if the yml file wasn't loading I should get an error in line 1 or at least line 2?
<nesoi> but the error is in line 6
vwoo has joined #ruby
w400z has quit []
Andreo has quit [Ping timeout: 260 seconds]
moted has quit [Ping timeout: 245 seconds]
moted_ is now known as moted
osvico has joined #ruby
poincare101 has joined #ruby
ged_ is now known as ged
mansi has quit [Ping timeout: 264 seconds]
tomzx has joined #ruby
saarinen has joined #ruby
airlok has quit [Remote host closed the connection]
<nesoi> terrellt: ?
gstamp has joined #ruby
freerobby has quit [Client Quit]
tspike has quit [Ping timeout: 252 seconds]
wmoxam has joined #ruby
orien has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
tjbiddle has quit [Quit: tjbiddle]
Guedes has joined #ruby
Guedes has joined #ruby
stonevil has quit [Ping timeout: 264 seconds]
jcromartie has joined #ruby
jcromartie has quit [Max SendQ exceeded]
RustyShackleford has quit [Quit: Leaving]
jcromartie has joined #ruby
fierycatnet has quit [Quit: Leaving]
baroquebobcat has quit [Read error: Connection reset by peer]
chichou_ has quit [Remote host closed the connection]
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
Shimoda has joined #ruby
vwoo has quit [Ping timeout: 240 seconds]
airlok has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
luckyruby has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
ryannielson has joined #ruby
brennanMKE has joined #ruby
generalissimo has quit [Remote host closed the connection]
ffio_ has joined #ruby
vwoo has joined #ruby
kofno has joined #ruby
ffio has quit [Ping timeout: 245 seconds]
DomKM has quit [Quit: Leaving.]
burlyscudd has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
moted has quit [Read error: Connection reset by peer]
jdunck has quit [Quit: Computer has gone to sleep.]
ArchBeOS has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
msk5293 has quit [Quit: No Ping reply in 180 seconds.]
tatsuya_o has quit [Remote host closed the connection]
msk5293 has joined #ruby
supergiantrobot_ has joined #ruby
dcunit3d_ has quit [Quit: leaving]
icole has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 240 seconds]
moted has joined #ruby
joelteon has quit [Read error: Operation timed out]
msk5293 has quit [Remote host closed the connection]
robscomputer_ has quit [Read error: Connection reset by peer]
mklappst_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
robscomputer has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
jlast has quit [Remote host closed the connection]
joelteon has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
johnrlive has quit [Remote host closed the connection]
brunoro has quit [Ping timeout: 246 seconds]
v0n has quit [Ping timeout: 260 seconds]
airlok has quit [Remote host closed the connection]
jdunck has joined #ruby
Dummies_freelanc has quit [Ping timeout: 260 seconds]
robscomputer has quit [Read error: Connection reset by peer]
jamesaxl has quit [Ping timeout: 260 seconds]
noname001 has quit [Ping timeout: 246 seconds]
cads has quit [Read error: Operation timed out]
robscomputer has joined #ruby
pcarrier_ has quit [Ping timeout: 260 seconds]
arya_ has quit [Ping timeout: 248 seconds]
perun0 has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 252 seconds]
Davey has joined #ruby
joelteon has quit [Ping timeout: 276 seconds]
pcarrier_ has joined #ruby
<bklang> nesoi: I would think so too. There may be something swallowing the exception. It's impossible to know without seeing the complete file
<bklang> incidentally, I do get an exception:
<bklang> 2.0.0p0 :007 > YAML.load_file '/nonexi'
<bklang> Errno::ENOENT: No such file or directory - /nonexi
<nesoi> bklang : thanks... so what could be going on??
<bklang> Did you actually look to see what is in dbconfig?
<nesoi> no, good point
rhys has quit [Quit: Leaving]
predator117 has joined #ruby
<nesoi> bklang : dbconfig = {"adapter"=>"mysql", "host"=>"localhost", "username"=>"my_user", "password"=>"my_password", "database"=>"mws"}
<bklang> ok so can you make a connect to the database server with those credentails separately?
<bklang> I know you said it did work before, I'm asking if you can do it right now
lockweel has quit [Remote host closed the connection]
arya has joined #ruby
slainer68 has quit [Remote host closed the connection]
predator217 has quit [Ping timeout: 260 seconds]
<nesoi> bklang : yes, I can connect from the command line with those params!
<bklang> ok, I have no idea then
<nesoi> :(
mfollett has quit [Remote host closed the connection]
Giorgio has quit [Ping timeout: 268 seconds]
wsterling has quit [Remote host closed the connection]
<bklang> nesoi: oh, I just had a thought: try changing "localhost" to "127.0.0.1" in your config
<nesoi> that fixed it!
<nesoi> thanks
<nesoi> but why should it suddenly have needed that change??
mrsolo has quit [Quit: This computer has gone to sleep]
<bklang> something else must have changed
<nesoi> hm
<nesoi> very odd
<bklang> mysql treats the value "localhost" specially. It attempts to optimize localhost connects by forcing them to use a socket rather than a network connection
subbyyy has joined #ruby
<bklang> you can get around that by using 127.0.0.1
richardjortega has quit [Quit: richardjortega]
<bklang> sometimes mysql client libraries get the wrong path to the socket compiled in
moted has quit [Quit: moted]
<bklang> or, if you have mysql client that is a different installation or a different version from the mysql server
<nesoi> yeah, I ran into that b4 and actually had it set to 127.0.0.1 but somehow it wasn't set to that just now
<nesoi> gremlins!
perun0 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx3 has joined #ruby
bradhe has quit [Remote host closed the connection]
<jkline> if a gem has a shared object ( .so ) file, how does it get required?
kayloos has quit [Remote host closed the connection]
<jkline> I have the rubygem19-json package installed, it puts files in /usr/share/gems1.9 and /usr/lib64/gems1.9
dcope_ has joined #ruby
<jkline> require 'json' seems to work fine.
dcope has quit [Ping timeout: 276 seconds]
dpritchett has joined #ruby
<Brando753> hey guys I need to use ruby to convert 150 PNG images into one multipage PDF, I originally used RMagick however it would consume something like 3~4GB of ram and then crash when only generating a 100mb pdf, any other suggestions on how to do this?
pskosinski has quit [Ping timeout: 240 seconds]
<bklang> jkline: I'm not sure how to answer your question. Ruby has built in functionality to load compiled extensions to gems. Did you have a more specific question?
jonathanwallace has quit [Ping timeout: 260 seconds]
<jkline> I am under the impression that $LOAD_PATH contains directories to be searched by require
<jkline> so, I do not understand how require works when the files are in directories not in $LOAD_PATH
pcarrier_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<jkline> I think there must be some other place I need to look to understand the mechanism of including gems
<bklang> because they're not Ruby code files, they're handled differently
arya has quit [Ping timeout: 248 seconds]
<jkline> ok, so, how about the example of rubygem19-minitest package . It has no .so files, all .rb files are in /usr/share/gems1.9/
<bklang> I'm not sure if you can control the path to load .so files. I've never tried
Astralum has joined #ruby
niklasb has joined #ruby
<Brando753> well if anyone will answer just flag me as I am going to bed and I will see what you said in the morning
thams has quit [Quit: thams]
<jkline> bklang: How about the example of the package rubygem19-minitest. It contains only rb files in /usr/share/gems1.9, and no .so files.
<bklang> what about it?
<jkline> require 'minitest/pride' seems to work, but /usr/share/gems1.9 is not in $LOAD_PATH
nesoi has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
dpritchett has quit [Quit: This computer has gone to sleep]
<bklang> what is in $LOAD_PATH?
<jkline> ["/usr/local/share/ruby19/site_ruby", "/usr/local/lib64/ruby19/site_ruby", "/usr/share/ruby/1.9/vendor_ruby", "/usr/lib64/ruby/1.9/vendor_ruby", "/usr/share/rubygems1.9", "/usr/share/ruby/1.9", "/usr/lib64/ruby/1.9"]
devoldmx3 has quit [Ping timeout: 268 seconds]
Astral_ has quit [Ping timeout: 260 seconds]
<jkline> I checked if they are symlinks, they are not
adramalech has joined #ruby
busybox42 has quit [Ping timeout: 245 seconds]
<bklang> rubygems provides extra functionality to require to support loading files in gems
moted has joined #ruby
arya has joined #ruby
robert_ has quit [Read error: Connection reset by peer]
johnrlive has joined #ruby
<jkline> bklang: yeah, I think that is it. If I check $LOAD_PATH after I require a gem it has new directories prepended
<jkline> I don' t know why I didn't notice that before.
<jkline> Thanks!
mikepack has joined #ruby
digitalcake has joined #ruby
Michae___ has joined #ruby
Hanmac2 has joined #ruby
busybox42 has joined #ruby
devoldmx has joined #ruby
vwoo has quit [Ping timeout: 264 seconds]
danslo has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
niklasb has quit [Ping timeout: 246 seconds]
<digitalcake> trying to learn how to write tests, working on a command line app with cucumber. Need a little guidance. My app is Conways game of life. my first feature is to start the game.
vwoo has joined #ruby
<digitalcake> whats the best way to step "if game has not started" if its a command line app
<digitalcake> or should I even bother given game has not been started?
ColKurtz has joined #ruby
ColKurtz has quit [Client Quit]
jimg has joined #ruby
<adramalech> hey was wondering what is better fastthread or normal ruby threads?
devoldmx has quit [Remote host closed the connection]
<digitalcake> fastthread has fast in its name :P
ColKurtz has joined #ruby
rickruby has quit [Ping timeout: 268 seconds]
johnrlive has quit [Read error: Operation timed out]
<adramalech> lol okay... I was wondering if it had specific task beyond normal threading?
jimg has quit [Ping timeout: 252 seconds]
arthurstomp has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
awarner has quit [Remote host closed the connection]
bradhe has joined #ruby
mansi has joined #ruby
arthurstomp is now known as astomp
Soliah has joined #ruby
slainer68 has joined #ruby
tomzx has left #ruby [#ruby]
Asher has quit [Ping timeout: 260 seconds]
Asher1 has joined #ruby
dcope_ has quit [Ping timeout: 264 seconds]
vwoo has quit [Ping timeout: 252 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
jonathanwallace has joined #ruby
mansi has quit [Ping timeout: 252 seconds]