apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
asteros has joined #ruby
zachallett has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
jmau5 has quit [Remote host closed the connection]
stryek has quit [Ping timeout: 246 seconds]
renklaf has joined #ruby
Hanmac1 has joined #ruby
burlyscudd has joined #ruby
rahult_ has joined #ruby
binaryhat has quit [Quit: Leaving]
danshultz has quit [Ping timeout: 244 seconds]
rainmanjam has joined #ruby
jmau5 has joined #ruby
<benzrf> as in
ta9to has quit [Ping timeout: 264 seconds]
<benzrf> you dont call recv, it calls ur callback
<benzrf> polling is for dumb losers
Hanmac has quit [Ping timeout: 244 seconds]
<tafryn> Does alias_method require something special when dealing with singleton methods?
oracal has quit [Client Quit]
tvw has quit [Read error: Connection reset by peer]
cpruitt has quit [Quit: cpruitt]
<toretore> benzrf: that implies asynchronous
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oracal has joined #ruby
<benzrf> dude
<benzrf> i am totally down with async
Megtastique has joined #ruby
<benzrf> tafryn: singleton methods are merely methods on the singleton class
<benzrf> therefore you must be in the singleton class when youre working with singleton methods
axl_ has quit [Quit: axl_]
aspires has joined #ruby
sparrovv has joined #ruby
nanoyak has joined #ruby
oskarpearson has quit [Quit: night, all]
Forbidden_On has left #ruby [#ruby]
renklaf has quit [Ping timeout: 246 seconds]
lmickh has quit [Read error: Connection reset by peer]
<hermanmunster> benzrf: no. Once you have an instance of the singleton you can use it like any other object.
<tafryn> Hrm. Invoking the alias of the old method seems to be executing the new definition which gives me an infinite loop.
fedesilva has joined #ruby
<benzrf> hermanmunster: what?
<benzrf> when did i dispute that?
<hermanmunster> benzrf: a couple of lines above. maybe you just didn't write it clearly.
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<benzrf> >:(
<benzrf> 07:03 < benzrf> therefore you must be in the singleton class when youre working with singleton methods
<benzrf> ^true
G________ has quit [Quit: Textual IRC Client: www.textualapp.com]
nowthatsamatt has joined #ruby
xerox357 has quit [Remote host closed the connection]
JBreit has quit [Ping timeout: 252 seconds]
<hermanmunster> that's the one
Megtastique has quit []
<benzrf> it is true though
earthquake has joined #ruby
SHyx0rmZ has quit [Ping timeout: 252 seconds]
rubyracer has quit [Quit: Konversation terminated!]
SHyx0rmZ has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
pwh has joined #ruby
burlyscudd has quit [Quit: Leaving.]
renklaf has joined #ruby
MattStratton has quit [Ping timeout: 264 seconds]
JBreit has joined #ruby
jonah_k has quit [Remote host closed the connection]
pwh has quit [Client Quit]
predator217 has joined #ruby
pel_daniel has left #ruby [#ruby]
<hermanmunster> benzrf: i think you're being unclear there. no matter.
mary5030 has joined #ruby
oracal has quit [Quit: Leaving]
havenwood has joined #ruby
renklaf has quit [Read error: No route to host]
<benzrf> harrumph
phantomtiger has quit [Quit: phantomtiger]
renklaf has joined #ruby
jgoss has quit [Remote host closed the connection]
jonah_k has joined #ruby
ctp has quit [Quit: Leaving...]
ctp has joined #ruby
yfeldblum has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 265 seconds]
mjmac has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
renklaf has quit [Read error: No route to host]
nanoyak has quit [Quit: Computer has gone to sleep.]
jobewan has joined #ruby
Avahey has quit [Quit: Connection closed for inactivity]
jack_rabbit has quit [Ping timeout: 246 seconds]
jobewan has quit [Read error: Connection reset by peer]
rainmanj_ has joined #ruby
renklaf has joined #ruby
dingus_khan has joined #ruby
dik_dak has quit [Quit: Leaving]
mjmac has joined #ruby
mikepack has quit [Remote host closed the connection]
rainman__ has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
rainmanjam has quit [Ping timeout: 246 seconds]
snath has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
ctp has quit [Ping timeout: 272 seconds]
nomenkun has joined #ruby
lolmaus has quit [Ping timeout: 272 seconds]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
nanoyak has joined #ruby
Rixius has quit [Quit: Leaving]
Zunonia has joined #ruby
end_guy has quit [Ping timeout: 240 seconds]
brandonjmckay has quit [Quit: Lingo - http://www.lingoirc.com]
rainmanj_ has quit [Ping timeout: 244 seconds]
shinobi_one has quit [Quit: shinobi_one]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
mojjojo has quit [Quit: mojjojo]
end_guy has joined #ruby
<shevy> yes
<shevy> it is because he sits on his fat ass in starbucks
vlad_starkov has quit [Remote host closed the connection]
<shevy> no wonder he gets dumber and dumber by the minute
eightygrit has joined #ruby
renklaf has quit [Read error: No route to host]
nomenkun has quit [Ping timeout: 246 seconds]
klaut has quit [Remote host closed the connection]
renklaf has joined #ruby
mojjojo has joined #ruby
<benzrf> shevy i will have u know that i am nearly under weight
<benzrf> also fudanchii
<benzrf> *fu
mojjojo has quit [Client Quit]
<shevy> lol
<shevy> benzrf, you just redeemed yourself again with the above lines
jmau5 has quit [Remote host closed the connection]
nszceta has joined #ruby
<shevy> when it is a mis-tab we know it is the real benzrf
jobewan has joined #ruby
<shevy> not the starbuck benzrf
mrsolo has quit [Quit: Leaving]
<shevy> isn't that right fudanchii?
<shevy> that's a way of getting to know people too... I would have never noticed that we have a fudanchii
<shevy> and probably a fumanchu as well
<benzrf> shevy ur a dick
<havenwood> shevy: 2.1.1! Do it!
renklaf has quit [Read error: No route to host]
<havenwood> shevy: The time is now.
renklaf has joined #ruby
jobewan has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
reach has joined #ruby
zz_karupanerura is now known as karupanerura
renklaf has joined #ruby
jobewan has joined #ruby
<shevy> havenwood then my invalid yaml files won't work :(
<havenwood> shevy: haha
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
zachallett has joined #ruby
jhass is now known as jhass|off
jobewan has quit [Read error: Connection reset by peer]
funburn has quit [Quit: funburn]
jobewan has joined #ruby
jlast has quit [Remote host closed the connection]
rootshift has joined #ruby
whomp has joined #ruby
jobewan has quit [Remote host closed the connection]
<whomp> how do i show all of a classes instance methods besides those inherited from superclasses?
jobewan has joined #ruby
jobewan has quit [Remote host closed the connection]
honda has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
<whomp> basically, "obj.methods - obj.class.superclass.instance_methods"
jobewan has joined #ruby
nszceta has quit [Read error: Connection reset by peer]
renklaf has quit [Ping timeout: 246 seconds]
thams has quit [Quit: thams]
renklaf has joined #ruby
oso96_2000 is now known as oso|away
renklaf has quit [Read error: No route to host]
rainman__ has quit [Remote host closed the connection]
renklaf has joined #ruby
<RubyPanther> whomp: you could use a monkey
renklaf has quit [Read error: Connection reset by peer]
<RubyPanther> >> class Object; def only_my_methods; methods - self.class.superclass.instance_methods end end ; :foo.only_my_methods
<eval-in___> RubyPanther => [:id2name, :intern, :to_sym, :to_proc, :succ, :next, :casecmp, :[], :slice, :length, :size, :empty?, :match, :upcase, :downcase, :capitalize, :swapcase, :encoding, :>, :>=, :<, :<=, :between?] (https://eval.in/105282)
renklaf has joined #ruby
Kricir has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
snath has joined #ruby
renklaf has joined #ruby
<whomp> RubyPanther, thx ^_^
derek__ has quit [Quit: Leaving]
Hobogrammer has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
thams has joined #ruby
fedesilva has quit [Remote host closed the connection]
b00stfr31k has quit [Ping timeout: 240 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
jobewan has quit [Remote host closed the connection]
ctp has joined #ruby
thumpba has quit [Remote host closed the connection]
rainmanjam has joined #ruby
renklaf has quit [Ping timeout: 272 seconds]
rainmanjam has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
lethjakman has joined #ruby
<lethjakman> what's the best way to make a key/value pair out of two a rrays?
renklaf has joined #ruby
reset has quit [Quit: Leaving...]
Asher has quit [Quit: Leaving.]
jobewan has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
<lethjakman> I need a key value pair of Date::ABBR_DAYNAMES, Date::ABBR_DAYNAMES
renklaf has joined #ruby
lolmaus has joined #ruby
kitak has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 246 seconds]
kitak has joined #ruby
saarinen has quit [Quit: saarinen]
agarie has quit [Quit: Leaving...]
thumpba has joined #ruby
jobewan has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
Mongey has quit [Quit: Mongey]
renklaf has quit [Read error: No route to host]
habanany has quit [Ping timeout: 244 seconds]
renklaf has joined #ruby
freezey has quit [Ping timeout: 264 seconds]
anonymuse has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
Hobogrammer_ has joined #ruby
Avahey has joined #ruby
cantonic has quit [Ping timeout: 264 seconds]
budrose has joined #ruby
<evenix> /join #rails
reset has joined #ruby
slowcon has joined #ruby
renklaf has quit [Read error: No route to host]
rm_ has quit [Remote host closed the connection]
rm__ has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
renklaf has joined #ruby
rm__ has quit [Read error: Connection reset by peer]
it_tard has quit [Quit: yawn]
Kricir has quit [Remote host closed the connection]
rm__ has joined #ruby
nstdloop has joined #ruby
cantonic has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
whomp has quit [Ping timeout: 244 seconds]
renklaf has quit [Read error: Connection reset by peer]
Sc0rp10n has quit [Quit: Leaving]
renklaf has joined #ruby
philcrissman has quit [Ping timeout: 244 seconds]
pwh has joined #ruby
mikecmpbll has quit [Quit: ciao.]
zachallett has quit [Remote host closed the connection]
asteros has quit [Quit: asteros]
tkuchiki has joined #ruby
mansi has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf_ has joined #ruby
mansi has joined #ruby
asteros has joined #ruby
ctp has quit [Ping timeout: 246 seconds]
renklaf has joined #ruby
xerox357 has joined #ruby
funburn has joined #ruby
renklaf_ has quit [Read error: Connection reset by peer]
robustus has quit [Ping timeout: 244 seconds]
parduse has quit [Ping timeout: 240 seconds]
[ROOT]XxNeoLiTHi has left #ruby [#ruby]
reset has quit [Quit: Leaving...]
renklaf has quit [Read error: No route to host]
gja has joined #ruby
renklaf has joined #ruby
robustus has joined #ruby
thumpba has quit [Ping timeout: 246 seconds]
mansi has quit [Ping timeout: 272 seconds]
xerox357 has quit [Remote host closed the connection]
pwh has quit []
Mongey has joined #ruby
mehlah has quit [Quit: Leaving...]
freq has joined #ruby
<freq> http://bit.ly/1chOEeN <-automatron
<freq> brb
freq has left #ruby [#ruby]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
ouie has quit [Ping timeout: 252 seconds]
ultraflash3 has quit [Remote host closed the connection]
burlyscudd has joined #ruby
Hobogrammer_ has quit [Ping timeout: 272 seconds]
gja has quit [Client Quit]
asteros_ has joined #ruby
earthquake has quit [Quit: earthquake]
renklaf has quit [Read error: No route to host]
honda has quit []
renklaf has joined #ruby
jack_rabbit has joined #ruby
rm__ has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
rm__ has joined #ruby
koell has joined #ruby
elaptics is now known as elaptics`away
parduse has joined #ruby
renklaf has joined #ruby
asteros has quit [Ping timeout: 272 seconds]
asteros_ is now known as asteros
burlyscudd has quit [Ping timeout: 244 seconds]
pietr0 has quit [Quit: pietr0]
rm__ has quit [Read error: No route to host]
rm__ has joined #ruby
renklaf has quit [Read error: No route to host]
fridim__ has joined #ruby
mtr_ has joined #ruby
renklaf has joined #ruby
mikepack_ has joined #ruby
ffranz has quit [Quit: Leaving]
mikepack_ has quit [Read error: Connection reset by peer]
dnyy has quit [Ping timeout: 240 seconds]
mikepack_ has joined #ruby
mtr_ has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
dnyy has joined #ruby
necrotic_ has joined #ruby
necrotic_ has quit [Remote host closed the connection]
ta9to has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
dkamioka has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
v0n has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
nakadai has joined #ruby
willb1 has quit [Ping timeout: 264 seconds]
Faris has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
mikepack_ has quit [Ping timeout: 264 seconds]
pencilcheck has quit []
jayne has joined #ruby
lyanchih has joined #ruby
renklaf has quit [Ping timeout: 272 seconds]
mjc_ has quit [Ping timeout: 240 seconds]
jmau5 has joined #ruby
eightygrit has quit [Quit: eightygrit]
guest12214 has quit [Quit: Connection closed for inactivity]
v0n has quit [Ping timeout: 244 seconds]
george2 has joined #ruby
wjlafrance_ has joined #ruby
mjc__ has joined #ruby
krz has joined #ruby
renklaf has joined #ruby
ta9to has quit [Ping timeout: 244 seconds]
alexju has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
wildharvest__ has joined #ruby
havenwood has joined #ruby
renklaf has joined #ruby
andy has quit [Remote host closed the connection]
andy has joined #ruby
reset has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
willb1 has joined #ruby
mavcunha_ has quit [Ping timeout: 265 seconds]
kcombs has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
v0n has joined #ruby
renklaf has joined #ruby
f3ttX] has quit [Quit: Lost terminal]
Dwarf has quit [Quit: ZNC - http://znc.in]
zeade has quit [Quit: Leaving.]
mavcunha has joined #ruby
amclain has joined #ruby
renklaf has quit [Read error: No route to host]
mmoretti has quit []
BWStearns has quit [Ping timeout: 240 seconds]
reset has quit [Quit: Leaving...]
mikepack has joined #ruby
mrsolo has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
renklaf has joined #ruby
habanany has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
hfp`away is now known as hfp
rainmanjam has joined #ruby
alexju has joined #ruby
very has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
nichtdiebohne1 has joined #ruby
nichtdiebohne has quit [Ping timeout: 252 seconds]
BackEndCoder has quit [Ping timeout: 244 seconds]
thomasxie has joined #ruby
jmau5 has quit [Remote host closed the connection]
Lightsta1ker has quit [Ping timeout: 240 seconds]
renklaf has quit [Read error: No route to host]
reach has quit []
renklaf has joined #ruby
rainmanjam has quit [Ping timeout: 264 seconds]
Azure has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
Lightstalker has joined #ruby
renklaf has joined #ruby
sparrovv has quit [Remote host closed the connection]
sailias has joined #ruby
Celm has joined #ruby
jmau5 has joined #ruby
very has left #ruby [#ruby]
mrsolo has left #ruby ["Leaving"]
confounds has joined #ruby
jonah_k has quit [Remote host closed the connection]
<benzrf> ughh
<centrx> GAHH
Kricir has joined #ruby
<benzrf> i just want something similar to drb that isn't insecure as fuck
<benzrf> where you declare what interface u can call or some shit
<benzrf> rabble rabble
renklaf has quit [Ping timeout: 246 seconds]
yfeldblu_ has joined #ruby
renklaf has joined #ruby
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
<centrx> benzrf, TCPSocket ?
<centrx> benzrf, Database?
sailias has quit [Remote host closed the connection]
ctp has joined #ruby
mneorr_ has joined #ruby
thams has quit [Quit: thams]
renklaf has quit [Read error: No route to host]
sailias has joined #ruby
renklaf has joined #ruby
v0n has quit [Ping timeout: 272 seconds]
confounds has quit [Quit: Textual IRC Client: www.textualapp.com]
<RubyPanther> apache
confounds has joined #ruby
mneorr has quit [Ping timeout: 264 seconds]
jmau5 has quit [Remote host closed the connection]
razrunelord has quit []
renklaf has quit [Read error: No route to host]
mansi has joined #ruby
renklaf has joined #ruby
pwh has joined #ruby
meatherly has joined #ruby
burlyscudd has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
ctp has quit [Ping timeout: 264 seconds]
renklaf has joined #ruby
yfeldblum has joined #ruby
stryek has joined #ruby
mansi has quit [Ping timeout: 244 seconds]
deadlyicon has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
tfittsy has joined #ruby
<deadlyicon> how do you install the debugger gem on 2.0.0-p451
burlyscudd has quit [Ping timeout: 244 seconds]
<deadlyicon> ?
renklaf has quit [Read error: No route to host]
chrisseaton has quit []
renklaf has joined #ruby
<benzrf> gem?
tfitts has quit [Ping timeout: 252 seconds]
wiku5_ has quit [Quit: WeeChat 0.4.1]
wiku5_ has joined #ruby
wiku5_ has quit [Client Quit]
wiku5_ has joined #ruby
renklaf has quit [Read error: No route to host]
funburn has quit [Quit: funburn]
renklaf has joined #ruby
deens has quit [Remote host closed the connection]
confounds has quit [Quit: Textual IRC Client: www.textualapp.com]
codeFiend has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
dx7 has joined #ruby
ta9to has joined #ruby
Hanmac1 has joined #ruby
confounds has joined #ruby
renklaf has joined #ruby
codeFiend has quit [Client Quit]
Hanmac has quit [Ping timeout: 264 seconds]
sailias has quit [Quit: Leaving.]
renklaf has quit [Read error: No route to host]
jmau5 has joined #ruby
renklaf has joined #ruby
andy has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
havenwood has joined #ruby
heftig has joined #ruby
jmau5 has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
S0da has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
alexju has quit [Remote host closed the connection]
renklaf has joined #ruby
moted has quit [Ping timeout: 244 seconds]
habanany has quit [Quit: Leaving.]
<centrx> bnagy, I would think that JRuby would be as fast as Java or Scala?
habanany has joined #ruby
renklaf has quit [Read error: No route to host]
meatherly has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
havenwood has quit [Ping timeout: 244 seconds]
soheil has quit [Remote host closed the connection]
mansi has joined #ruby
renklaf has quit [Read error: No route to host]
macclearich has quit [Quit: Computer has gone to sleep.]
meatherly has joined #ruby
jmau5 has joined #ruby
renklaf has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]
meatherl_ has joined #ruby
mikepack has quit [Remote host closed the connection]
danshultz has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
twiceaday has joined #ruby
jmau5 has quit [Remote host closed the connection]
mtjandra has joined #ruby
pranny has quit [Quit: Leaving.]
ske14 has joined #ruby
ta9to has quit [Ping timeout: 264 seconds]
renklaf has quit [Read error: No route to host]
Es0teric has quit [Write error: Broken pipe]
jmau5 has joined #ruby
JStoker has quit [Excess Flood]
meatherly has quit [Ping timeout: 264 seconds]
dingus_khan has joined #ruby
JStoker has joined #ruby
Es0teric has joined #ruby
retnuh has joined #ruby
renklaf has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
<pipework> I would think, but felt that it's better that I not?
renklaf has quit [Read error: No route to host]
dingus_khan has quit [Ping timeout: 246 seconds]
mgberlin has joined #ruby
cj3kim has quit [Remote host closed the connection]
renklaf has joined #ruby
cj3kim has joined #ruby
Hanmac has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
renklaf has quit [Read error: No route to host]
S0da has quit [Remote host closed the connection]
renklaf has joined #ruby
mercwith1mouth has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
ske14 has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 272 seconds]
mgberlin has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
mtjandra has quit [Ping timeout: 244 seconds]
reset has joined #ruby
funburn has joined #ruby
renklaf has quit [Read error: No route to host]
mneorr_ has quit [Remote host closed the connection]
renklaf has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<slowcon> centrx: would you take a look at this. i can't get the 2nd part of the script to work, it goes to the pages and prints them out but can't get it to update the healthy column http://pastebin.com/haiC9Ah3
mneorr has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf_ has joined #ruby
reset has quit [Client Quit]
mneorr has quit [Remote host closed the connection]
deens has joined #ruby
mneorr has joined #ruby
mansi has quit [Remote host closed the connection]
<centrx> slowcon, "else if" with nothing in the if statement?
renklaf_ has quit [Read error: No route to host]
mansi has joined #ruby
<slowcon> centrx: took that out
Hobogrammer has joined #ruby
<slowcon> centrx: was different statement before
<slowcon> now its just else
renklaf has joined #ruby
havenwood has joined #ruby
xerox357 has joined #ruby
mbuf has joined #ruby
<centrx> slowcon, And there's no database/Sequel error?
<slowcon> centrx: nope
<slowcon> just prints all of the page titles and exits
renklaf has quit [Read error: No route to host]
dik_dak has joined #ruby
renklaf has joined #ruby
asteros has quit [Quit: asteros]
renklaf has quit [Read error: Connection reset by peer]
koell has quit [Quit: So say we all!]
mneorr has quit [Ping timeout: 264 seconds]
deens has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
renklaf has joined #ruby
pranny has joined #ruby
Mongey has quit [Quit: Mongey]
madboxs has joined #ruby
binaryhat has joined #ruby
renklaf has quit [Read error: No route to host]
<centrx> slowcon, If healthy is boolean, maybe Sequel requires the value to be true and false not 1 and 0 ?
renklaf has joined #ruby
<slowcon> at first it was boolean, and i did try both. 1, 0 and true false
deadlyicon has quit [Read error: Connection reset by peer]
<slowcon> then i tried integer, nothin
<slowcon> just now tried text with a "true", and nothin thhere
renklaf has quit [Read error: Connection reset by peer]
<centrx> No database commands issue?
renklaf has joined #ruby
<centrx> Sequel does not issue any queries?
<slowcon> I'm not sure, nothing errors out in the script
cj3kim has quit [Remote host closed the connection]
<centrx> Is there a debug option so that you can see what queries Sequel is running?
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
<benzrf> probs
<centrx> It seems like Sequel should be issuing the query every time: songsdown.where(:zippy_url => zip).update(:healthy => 1)
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
jerius has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
renklaf has quit [Read error: No route to host]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
brucele_ has joined #ruby
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
burlyscudd has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
earthquake has joined #ruby
lethjakman has quit [Ping timeout: 240 seconds]
renklaf has quit [Read error: No route to host]
ctp has joined #ruby
renklaf has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
pwh has quit []
renklaf has quit [Read error: No route to host]
robbyoconnor has joined #ruby
renklaf has joined #ruby
mansi has joined #ruby
mtjandra has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Zunonia has quit [Quit: Computer has gone to sleep.]
<Atw> Has anyone had any problems going from Ruby 2.0 to 2.1? I hear it doesn't break anything and its just faster and better GC.
<slowcon> trying to figure out how t get this sequel debug to work
mansi has joined #ruby
<centrx> Atw, It is very compatible
kitak has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 246 seconds]
kitak has joined #ruby
renklaf has quit [Read error: No route to host]
mneorr has joined #ruby
renklaf has joined #ruby
Guest8545 has quit [Changing host]
Guest8545 has joined #ruby
Guest8545 is now known as deepy
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
ctp has quit [Ping timeout: 272 seconds]
armyriad has quit [Ping timeout: 244 seconds]
<slowcon> ok got the logger installed
binaryhat has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 246 seconds]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
renklaf_ has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
renklaf_ has quit [Read error: No route to host]
<slowcon> http://pastebin.com/64Cj96wC thats the only output i got when running the debug command
mikepack has joined #ruby
<slowcon> i put the command after the connect statement
renklaf has joined #ruby
madboxs has quit [Quit: 전 이만 갑니다.]
renklaf has quit [Read error: Connection reset by peer]
<centrx> slowcon, Are you sure that code is reached?
<centrx> slowcon, Does a query run if you do not use update?
renklaf has joined #ruby
brucele_ has quit [Ping timeout: 244 seconds]
firewater has joined #ruby
renklaf_ has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
<firewater> So, I'm having some trouble with something. If I am iterating through a hash, checking to see if a key in that hash matches with something, and it does. How do I add that to a new hash? I know its .merge!
The-Mad-Pirate has quit [Ping timeout: 252 seconds]
<firewater> But, I'm iterating through the original one, so to add something, would it be @hash[key]?
v0n has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
oso|away is now known as oso96_2000
<firewater> @hash[key] odesn't work, nor does @hash{key}
<firewater> So I'm confused and searching around.
alvaro_o has quit [Quit: Ex-Chat]
<centrx> Why doesn't @hash[key] work?
<havenwood> firewater: i don't follow what's wrong, have any code to Gist?
<firewater> yes, one second.
AlSquire has quit [Quit: This computer has gone to sleep]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby
browndawg has joined #ruby
renklaf has joined #ruby
renklaf_ has quit [Read error: No route to host]
<firewater> That is the method
ndrei has quit [Ping timeout: 246 seconds]
<firewater> Actually, I think it works now.
renklaf has quit [Read error: Connection reset by peer]
<firewater> O.o, I think I fixed it and that code works.
<centrx> You already have the value from the block...
renklaf has joined #ruby
<firewater> Sorry, what do you mean?
<centrx> @hash[key] == value
asteros has joined #ruby
<centrx> Block arguments are |key, value|
<centrx> You already have the value
gja has joined #ruby
TT_PyRu has joined #ruby
mansi has quit [Remote host closed the connection]
<firewater> Right, I don't need the value.
mansi has joined #ruby
<firewater> You put input as the key you are searching for.
<firewater> If it begins or exists, you return it.
renklaf_ has joined #ruby
renklaf has quit [Read error: No route to host]
gja has quit [Client Quit]
chipotle has quit [Quit: cya]
<firewater> Nevermind, I'm still playing with this, I think I know what to do now.
cj3kim has joined #ruby
freezey has joined #ruby
renklaf_ has quit [Read error: No route to host]
renklaf has joined #ruby
freezey has quit [Read error: Connection reset by peer]
v0n has quit [Ping timeout: 272 seconds]
freezey has joined #ruby
mwmnj has quit [Remote host closed the connection]
mwmnj has joined #ruby
kitak has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Ex-Chat]
ta9to has joined #ruby
kitak has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
yacks has joined #ruby
JasmeetQA has quit [Ping timeout: 246 seconds]
TT_PyRu has quit [Ping timeout: 244 seconds]
mansi has quit [Ping timeout: 247 seconds]
renklaf has quit [Read error: No route to host]
Kricir has quit [Remote host closed the connection]
firewater has quit [Quit: Page closed]
Hanmac has joined #ruby
jmau5 has quit [Remote host closed the connection]
marcdel has joined #ruby
ozzloy_ is now known as ozzloy
lethjakman has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
shaileshg has joined #ruby
kenndel_ has joined #ruby
earthquake has quit [Quit: earthquake]
postmodern has quit [Quit: Leaving]
renklaf has joined #ruby
kenndel_ is now known as kenndel
browndawg has quit [Quit: Leaving.]
gja has joined #ruby
mneorr has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
mbuf has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<slowcon> centrx: you're right, i don't think the script it hitting that part
gja has quit [Client Quit]
Celm has quit [Remote host closed the connection]
anarang has joined #ruby
Zunonia has joined #ruby
jmau5 has joined #ruby
renklaf has quit [Ping timeout: 264 seconds]
gokul has quit [Ping timeout: 265 seconds]
wildharvest__ has quit [Quit: Connection closed for inactivity]
prc has quit [Ping timeout: 246 seconds]
renklaf has joined #ruby
freerobby has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
habanany has quit [Quit: Leaving.]
<benzrf> is there something like drb that is safe to use for a public server?!
sski has joined #ruby
danshultz has quit [Remote host closed the connection]
habanany1 has joined #ruby
<pipework> benzrf: jabber
cmhobbs has joined #ruby
cmhobbs has quit [Changing host]
cmhobbs has joined #ruby
renklaf has joined #ruby
danshultz has joined #ruby
flowerhack has joined #ruby
<benzrf> isn't that a messenger
Celm has joined #ruby
flowerha_ has joined #ruby
<centrx> Is DRB really insecure?
<pipework> yes
<centrx> benzrf, What do you need a "distributed object system" for?
<pipework> centrx: It's not really distributed objects as it is remote invocation and message passing.
chipotle has joined #ruby
Zunonia has quit [Ping timeout: 264 seconds]
<benzrf> well
hobodave has joined #ruby
<benzrf> strictly i could use sockets
<benzrf> im only using it as a messaging service
<pipework> It does use sockets.
<benzrf> but i rly rly rly dont want to do low level bullshit
<benzrf> i just wanna put in an IP and then pass some objects to some methods
<pipework> benzrf: So use something like a message queue or jabber?
renklaf has quit [Read error: No route to host]
<benzrf> isnt jabber a messenger??
<pipework> It's a protocol.
<benzrf> o:
<benzrf> is there a gem i can use?
<pipework> many
<benzrf> cool
<benzrf> what's jabber meant for?
renklaf has joined #ruby
<pipework> benzrf: messaging
<pipework> Of all kinds, not just social messaging.
<benzrf> cool
renklaf has quit [Read error: Connection reset by peer]
Vovko has quit [Remote host closed the connection]
renklaf has joined #ruby
danshultz has quit [Ping timeout: 246 seconds]
Hanmac1 has joined #ruby
renklaf has quit [Read error: No route to host]
deens has joined #ruby
renklaf has joined #ruby
<benzrf> oh, this is xml-based?
bluOxigen has joined #ruby
stkowski has joined #ruby
Hanmac has quit [Ping timeout: 244 seconds]
aspires has quit []
renklaf has quit [Read error: No route to host]
jmau5 has quit [Remote host closed the connection]
hiyosi has quit [Read error: Operation timed out]
renklaf has joined #ruby
Salve has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
Salve has joined #ruby
wallerdev has joined #ruby
deens has quit [Ping timeout: 272 seconds]
michael_lee has joined #ruby
renklaf has joined #ruby
ciopte7 has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
<benzrf> manaciteh
<benzrf> *meh
renklaf has joined #ruby
Shidash1 has joined #ruby
Salve has quit [Ping timeout: 244 seconds]
Shidash has quit [Ping timeout: 244 seconds]
rafaelmagu has quit [Quit: Textual IRC Client: www.textualapp.com]
sepp2k has quit [Read error: Connection reset by peer]
cloud|nix has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renklaf has quit [Ping timeout: 244 seconds]
pranny has quit [Quit: Leaving.]
orangejuicejames has joined #ruby
mary5030 has joined #ruby
alexju has joined #ruby
renklaf has joined #ruby
<RubyPanther> XML is a good format for computer-to-computer data containers
cloud|nix has quit [Ping timeout: 246 seconds]
Salve has joined #ruby
Zunonia has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
burlyscudd has joined #ruby
<RubyPanther> google uses it for lots of stuff, for example their IP, and also their voice chat and VOIP services
xerox357 has quit [Remote host closed the connection]
<RubyPanther> s/IP/IM/
confounds has quit [Quit: Textual IRC Client: www.textualapp.com]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
jmau5 has joined #ruby
jonah_k has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
Zunonia has quit [Client Quit]
<pontiki> isn't jabber just a particular implementation of XMPP?
dik_dak has quit [Quit: Leaving]
renklaf has joined #ruby
codenapper has quit [Read error: Connection reset by peer]
codenapper has joined #ruby
ctp has joined #ruby
asteros has quit [Quit: asteros]
burlyscudd1 has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
dx7 has quit [Remote host closed the connection]
habanany1 has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
pwh has joined #ruby
burlyscudd has quit [Ping timeout: 272 seconds]
cj3kim has quit [Ping timeout: 240 seconds]
jerius has quit []
Zunonia_ has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
pranny has joined #ruby
burlyscudd1 has quit [Ping timeout: 244 seconds]
dseitz has joined #ruby
ctp has quit [Ping timeout: 272 seconds]
mneorr has joined #ruby
<benzrf> hmmm
<benzrf> looks like xmpp is not what i want
pigzzcanfly has joined #ruby
<benzrf> i am makin a cryptocurrency & i need nodes to connect to each other p2p anonymously
lethjakman has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ruby
* pipework steps away quietly
<benzrf> is there some kind of socket thing that distinguishes between messages and allows events instead of streams and polling?
renklaf has quit [Read error: No route to host]
multi_io_ has quit [Read error: Operation timed out]
<benzrf> does 0mq do that?
multi_io has joined #ruby
renklaf has joined #ruby
pranny1 has joined #ruby
<pipework> You'd need to find a way to get people to join the queue.
pranny has quit [Read error: Connection reset by peer]
freezey has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
<benzrf> well it's p2p
<benzrf> nodes should spontaneously connect to other ones
<pipework> Wait, no I'm not here.
<benzrf> not centralized
renklaf has joined #ruby
asteros has joined #ruby
mikepack has joined #ruby
axl_ has quit [Quit: axl_]
slowcon has quit [Quit: slowcon]
andy has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
terence has joined #ruby
BWStearn1 has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
vt102 has quit [Ping timeout: 265 seconds]
Cache_Money_ has joined #ruby
renklaf has joined #ruby
multi_io has quit [Ping timeout: 244 seconds]
<terence> method defined in C and called in Ruby, but Ruby says the method is undefined, curious, I'm not using FFI
mwmnj has quit [Quit: Textual IRC Client: www.textualapp.com]
andy__ has joined #ruby
renklaf has quit [Read error: No route to host]
multi_io has joined #ruby
renklaf has joined #ruby
slowcon has joined #ruby
<RubyPanther> terence: you should have a line like rb_define_method(cYourClass, "your_ruby_method", your_c_method, -1);
kenneth has joined #ruby
<RubyPanther> pontiki: jabber is the original, XMPP is the re-named standard
andy has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
armyriad has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
jmau5 has quit [Remote host closed the connection]
pigzzcanfly has joined #ruby
jmau5 has joined #ruby
renklaf has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
mikepack has quit [Remote host closed the connection]
asteros has quit [Quit: asteros]
mikepack has joined #ruby
moted has joined #ruby
hermanmunster has quit [Quit: hermanmunster]
moted has quit [Client Quit]
mneorr has quit []
iliketurtles has joined #ruby
armyriad has quit [Ping timeout: 246 seconds]
mansi has quit [Ping timeout: 244 seconds]
renklaf has joined #ruby
multi_io has quit [Remote host closed the connection]
multi_io has joined #ruby
armyriad has joined #ruby
earthquake has joined #ruby
subbyyy has joined #ruby
<terence> RubyPanther: yes,I have, the link looks like rb_define_singleton_method(cNMatrix_BLAS, "cblas_gemv", (METHOD)nm_cblas_gemv, 11);
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
meatherly has joined #ruby
<terence> and gemv is defined in Ruby and calls cblas_gemv
BraddPitt is now known as xBradPittx
mikepack has quit [Ping timeout: 246 seconds]
meatherl_ has quit [Ping timeout: 244 seconds]
cj3kim has joined #ruby
pixelgremlins has joined #ruby
alexju has quit [Remote host closed the connection]
subbyyy_ has joined #ruby
renklaf has quit [Read error: No route to host]
<RubyPanther> terence: are you saying nm_cblas_gemv is defined in ruby? where is that defined? I don't see a "gemv" in that line of code
renklaf has joined #ruby
andy__ has quit [Read error: Connection reset by peer]
pixelgremlins has left #ruby [#ruby]
subbyyy has quit [Ping timeout: 272 seconds]
andy has joined #ruby
<RubyPanther> You will have to post more code. probably a lot more.
<terence> RubyPanther: no, gemv is defined in Ruby, nm_cblas_gemv and cblas_gemv is defined in C
zcreative has joined #ruby
<RubyPanther> terence: why are you casting nn_cblas_gemv to a METHOD?
<RubyPanther> nm
renklaf has quit [Read error: No route to host]
AlexRussia has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
renklaf has joined #ruby
multi_io has quit [Ping timeout: 264 seconds]
multi_io has joined #ruby
cj3kim has quit [Ping timeout: 244 seconds]
Kricir has joined #ruby
kitak has quit [Remote host closed the connection]
alexju has joined #ruby
andy has quit [Read error: Connection reset by peer]
kitak has joined #ruby
<flowerha_> hey all, i'm having a problem with rbenv + zlib
<flowerha_> i'm on mac osx running snow leopard
andy has joined #ruby
<pipework> flowerha_: Have you tried using ruby-install and chruby instead?
Kneferilis has quit [Ping timeout: 252 seconds]
sputnik13 has joined #ruby
ptierno_ has quit [Read error: Operation timed out]
micah`_ has quit [Read error: Operation timed out]
micah` has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
<flowerha_> pipework: sorry, i haven't seen chruby before? what would that fix?
mocfive has quit [Remote host closed the connection]
<flowerha_> the problem is, when i run irb while using the system ruby, require "zlib" works just fine
<pipework> flowerha_: The ruby-install part will use a package management system to satisfy dependencies.
ptierno has joined #ruby
<pipework> the chruby part is the cool part that doesn't use shims or other bullshit to change your $PATH
<RubyPanther> flowerha_: it is normal to have to install zlib devel packages for compiling to work, the system ruby is already compiled
renklaf has quit [Ping timeout: 264 seconds]
mocfive has joined #ruby
<RubyPanther> pipework: does it solve the problem though, or is the evangelizing separate from the problem?
<flowerha_> RubyPanther: the problm with that is that zlib is supposedly already installed on mac osx and there is no brew package for it
<pipework> RubyPanther: ruby-install handles dependencies and compiling them with the ruby.
Hanmac has joined #ruby
<flowerha_> the chruby might be a fix?
<flowerha_> the steps i took were
<pipework> ruby-install would be the fix.
<flowerha_> brew install rbenv rbenv-gemset ruby-build
<flowerha_> rbenv install 1.9.2-p320
Kricir has quit [Ping timeout: 244 seconds]
<flowerha_> rbenv rehash
<flowerha_> so if i were using ruby-install
<RubyPanther> doesn't ruby-install work with rbenv ?
<flowerha_> would that be like
<flowerha_> rbenv ruby-install 1.9.2-p320?
<pipework> Try brew install chruby ruby-install && ruby-install ruby 1.9.2-p320
<pipework> RubyPanther: It can, yeah.
<flowerha_> pipework: will that still work with rbenv?
GinoMan has quit [Read error: No route to host]
<pipework> flowerha_: I believe so, yes.
<pipework> it's an alternative to ruby-build, which rvm uses.
reset has joined #ruby
<flowerha_> okay, i'll give that a shot and come back here if it doesn't work out
<RubyPanther> rvm is likely to tell you what commands to run to satisfy dependencies
<flowerha_> thanks pipework RubyPanther !
<pipework> you can continue to use that shimmy thing after getting that ruby set up, but I use chruby to do the simplest thing.
Hanmac1 has quit [Ping timeout: 272 seconds]
deens has joined #ruby
kitak has quit [Remote host closed the connection]
brucele_ has joined #ruby
kitak has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
sputnik13 has joined #ruby
joelroa has joined #ruby
renklaf has joined #ruby
mocfive has quit [Ping timeout: 272 seconds]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
jonah_k has quit [Remote host closed the connection]
reset has quit [Ping timeout: 244 seconds]
deens has quit [Ping timeout: 246 seconds]
lolmaus has quit [Ping timeout: 264 seconds]
codeFiend has joined #ruby
danshultz has joined #ruby
<terence> RubyPanther: I define VALUE as METHOD in the macro
renklaf has quit [Ping timeout: 246 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ekinmur_ has joined #ruby
lethjakman has joined #ruby
asteros has joined #ruby
<flowerha_> RubyPanther: pipework: hi again :D;;; so i ran "brew install chruby ruby-install && ruby-install ruby 1.9.2-p320", and that worked, but, now it's a matter of getting rbenv (or just... anything), to recognize the ruby
<flowerha_> it was installed in /Users/flowerhack/.rubies/ruby-1.9.2-p320
funburn has quit [Quit: funburn]
<flowerha_> and it looks like rbenv stores ruby versions in ~/.rbenv/versions/ruby-version-here
<pipework> flowerha_: I think rbenv recognizes ~/.rubies
<pipework> oh.
<flowerha_> i'm sure there's like
<flowerha_> some fancy way to
<flowerha_> set up a symlink or a path or something
<flowerha_> but
danshultz has quit [Ping timeout: 244 seconds]
renklaf has joined #ruby
<flowerha_> i guess i'm vaguely hoping one of y'all are a bit more path-savvy than me
hermanmunster has joined #ruby
<havenwood> flowerha_: chruby would recognize it by default
<flowerha_> since i tend to accidentally blow up things when i mess with it
<flowerha_> hm
<flowerha_> to use chruby, do i uninstall rbenv?
<flowerha_> or like
Celm has quit [Remote host closed the connection]
<havenwood> flowerha_: yes
<pipework> You don't have to.
<pipework> You might want to though.
m104 has joined #ruby
<pipework> chruby is the simplest and lightest tool though. Less crappy opinions and bloat involved.
renklaf has quit [Read error: No route to host]
Spami has quit [Quit: This computer has gone to sleep]
reset has joined #ruby
kenndel has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
pigzzcanfly has joined #ruby
reset has quit [Client Quit]
codeFiend has quit [Quit: codeFiend]
<terence> RubyPanther: May be I miss something?
slowcon has quit [Read error: Connection reset by peer]
thams has joined #ruby
<flowerha_> oh hm, there's instructions on the CHRUBY channel
<flowerha_> saying
<flowerha_> er
funburn has joined #ruby
<flowerha_> CHRUBY page
<pipework> flowerha_: Pretty neat, right?
<flowerha_> If you are migrating from another Ruby manager, set RUBIES accordingly:
<flowerha_> rbenv: RUBIES+=(~/.rbenv/versions/*)
<flowerha_> is RUBIES an environment variabl or something though? the docs are unclear
<flowerha_> oh wait i might have it holdon
hermanmunster has quit [Client Quit]
<pipework> flowerha_: It is.
hermanmunster has joined #ruby
<flowerha_> I think an old version of ruby may still be stomping the churby one, so I'm going to try installing a totally new version with chruby, to see how that works
<flowerha_> (i suspect it'll work)
<flowerha_> thanks pipework !
<pipework> flowerha_: Cheers!
renklaf has quit [Read error: No route to host]
benzrf has quit [Quit: zz]
ekinmur_ has quit [Quit: Textual IRC Client: www.textualapp.com]
renklaf has joined #ruby
<RubyPanther> terence: you shouldn't be casting that to a VALUE, that is the c method not the Ruby method
<RubyPanther> it is just name_of_c_method
ekinmur has joined #ruby
ctp has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
cj3kim has joined #ruby
no6 has joined #ruby
renklaf has quit [Read error: No route to host]
<terence> RubyPanther: so that causes "undefined"
renklaf has joined #ruby
Zunonia_ has quit [Quit: Computer has gone to sleep.]
invinceable has joined #ruby
byprdct has joined #ruby
renklaf has quit [Read error: No route to host]
dx7 has joined #ruby
renklaf has joined #ruby
<terence> RubyPanther: it seems that cblas_gemv is a template
<terence> RubyPanther: it would great if you could take a look at this file: https://github.com/hyaocuk/nmatrix-gemv/blob/master/ext/nmatrix_gemv/math.cpp
ctp has quit [Ping timeout: 264 seconds]
wiku5_ has quit [Quit: WeeChat 0.4.1]
lwrnc has joined #ruby
zumba_addict_ has joined #ruby
zumba_addict has quit [Ping timeout: 246 seconds]
zumba_addict_ is now known as zumba_addict
cherrypeel has joined #ruby
cherrypeel has left #ruby [#ruby]
iamdoo2_ has joined #ruby
earthquake has quit [Quit: earthquake]
renklaf has quit [Read error: No route to host]
iliketurtles has quit [Quit: zzzzz…..]
aagdbl has joined #ruby
renklaf has joined #ruby
Zunonia__ has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
dx7 has quit [Ping timeout: 272 seconds]
renklaf has quit [Read error: Connection reset by peer]
iamdoo2 has quit [Ping timeout: 240 seconds]
renklaf has joined #ruby
kenndel has joined #ruby
hiyosi has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
oso96_2000 has quit [Ping timeout: 256 seconds]
aspires has joined #ruby
scarolan has quit [Ping timeout: 244 seconds]
lyanchih has quit [Quit: lyanchih]
oso96_2000 has joined #ruby
lyanchih has joined #ruby
AlexRussia has joined #ruby
renklaf has quit [Ping timeout: 246 seconds]
BWStearn1 has quit [Ping timeout: 264 seconds]
jmau5 has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 264 seconds]
brucele_ has quit [Ping timeout: 272 seconds]
iamdoo2_ has quit []
renklaf has joined #ruby
Kricir has joined #ruby
iliketurtles has joined #ruby
renklaf has quit [Read error: No route to host]
nobitanobi has joined #ruby
renklaf has joined #ruby
mansi has joined #ruby
hamakn has joined #ruby
jonah_k has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
andy has quit [Remote host closed the connection]
andy has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
AlexRussia has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 272 seconds]
mary5030 has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
andy has quit [Ping timeout: 246 seconds]
Hanmac1 has joined #ruby
breaking_ has quit [Ping timeout: 265 seconds]
zcreative has quit [Quit: Computer has gone to sleep.]
renklaf has quit [Read error: No route to host]
cj3kim has quit [Ping timeout: 240 seconds]
korzybski has joined #ruby
renklaf has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
breakingthings has joined #ruby
jmau5 has joined #ruby
<centrx> >> 2 + 2
<eval-in___> centrx => 4 (https://eval.in/105302)
<centrx> whew
pigzzcanfly has quit [Remote host closed the connection]
OdNairy has joined #ruby
OdNairy has quit [Client Quit]
JasmeetQA has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
pigzzcan_ has joined #ruby
renklaf has quit [Read error: No route to host]
<pipework> centrx: just checking?
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
renklaf has joined #ruby
<centrx> I have returned to my home universe!
<centrx> I hope
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
sensen has joined #ruby
cantonic has quit [Ping timeout: 244 seconds]
phansch has joined #ruby
cantonic has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
lwrnc has quit [Quit: b]
mikepack has quit [Remote host closed the connection]
lw has joined #ruby
IceDragon has quit [Quit: Space~~~]
mikepack has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
nstdloop has quit [Ping timeout: 244 seconds]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf_ has joined #ruby
Cache_Money_ has quit [Quit: Cache_Money_]
deens has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
renklaf_ has quit [Read error: No route to host]
renklaf has joined #ruby
jonah_k has quit [Remote host closed the connection]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
Solnse has quit [Ping timeout: 246 seconds]
renklaf has quit [Read error: No route to host]
breakingthings has quit [Ping timeout: 264 seconds]
renklaf has joined #ruby
ekinmur has quit []
renklaf has quit [Read error: No route to host]
<flowerha_> alas, chruby didn't work out
<RubyPanther> terence: I'll be back in 30 or so and I'll take a look. Leave me a hint what lines to look at :)
renklaf has joined #ruby
<flowerha_> "Failed to configure zlib. It will not be installed."
blahblah has left #ruby [#ruby]
blahblah has joined #ruby
<flowerha_> i may just switch to ubuntu and see if things are less finnicky there?
blahblah has left #ruby [#ruby]
aspires has quit []
deens has quit [Ping timeout: 272 seconds]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
<pipework> flowerha_: That's super weird!
mostlybadfly has quit [Quit: Connection closed for inactivity]
ta9to has quit [Ping timeout: 246 seconds]
makara has joined #ruby
renklaf has quit [Read error: No route to host]
<postmodern> flowerha_, did you install zlib headers?
renklaf has joined #ruby
<postmodern> flowerha_, usually available in a zlib-dev/-devel package
<flowerha_> postmodern: you'll have to clarify for me, sorry—I was doing a chruby install of 1.9.something and that message scrolled by
<flowerha_> how would i install zlib headers?
<postmodern> flowerha_, chruby doesn't compile rubies, it just switches between them
sparrovv has joined #ruby
<postmodern> flowerha_, you probably want to use ruby-install which installs all necessary build deps from the package manager
renklaf has quit [Read error: No route to host]
<flowerha_> sorry i misspoke
<flowerha_> i ran
<flowerha_> brew install chruby ruby-install && ruby-install ruby 1.9.2-p320
<flowerha_> postmodern: so i was using ruby-install
<flowerha_> but ruby-install failed to build everything
dodosan has joined #ruby
<bnagy> ytf are you installing dinosaur ruby, as a secondary issue
<postmodern> flowerha_, ah ha, interesting
<flowerha_> i tried with 1.9.2 something and then again with the old stable version, 1.9.3iforgettheexactnumber
jonah_k has joined #ruby
<postmodern> flowerha_, what version of OSX are you on? i thought they normally ship zlib headers?
reset has joined #ruby
<flowerha_> snow leopard
fridim__ has quit [Ping timeout: 264 seconds]
<flowerha_> postmodern: so the problem i was initially having is
<flowerha_> the system ruby recognized zlib
<flowerha_> but
<flowerha_> the ruby i was installing via rbenv
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<flowerha_> kept throwing a "zlib not installed"ish error
<flowerha_> when ever i tried to run gem install bundle
<flowerha_> i got the suggestion to try ruby-install instead of rbenv's ruby-build
<flowerha_> but alas that failed too
<bnagy> postmodern: I seem to only have zlib from ports, no -dev or anything
Vovko has joined #ruby
dseitz has joined #ruby
<bnagy> but I have zlib.h in the xcode stuff
sparrovv has quit [Ping timeout: 246 seconds]
<postmodern> bnagy, yeah just checked homebrew, you'd think they would have a zlib formula
vpretzel has joined #ruby
cj3kim has joined #ruby
<postmodern> well chalk another oddity up for OSX
<bnagy> flowerha_: do you actually have compilation tools? xcode commandline tools or something?
<pipework> postmodern: One would think.
<pipework> flowerha_: Do you have the latest xcode commandline tools junk?
<flowerha_> yeah, brew wouldn't stop complaining to me until i downloaded the latest xcode
<bnagy> hm, k
<pipework> flowerha_: What happens when you run `brew doctor`?
<bnagy> you could also try: find / -name zlib.h 2>/dev/null
<flowerha_> o.o oh i get a lot, hold on doing a pastebin
<pipework> flowerha_: That's likely going to point to the issue.
<pipework> Regardless, chruby and ruby-install are awesome.
<flowerha_> the first warning looks pretty suspect
<bnagy> postmodern: btw rbx installs its own zlib headers :P
<flowerha_> bnagy: what is rbx?
<bnagy> runinius, another interpreter option
<pipework> flowerha_: rubinius
<bnagy> not an installation thing
kitak has quit [Remote host closed the connection]
<pipework> bnagy: But then again, no one even talks about using rubinius that I ever hear of anyways.
<bnagy> it's not for using, it's for loving the potential of
kitak has joined #ruby
<flowerha_> ah kk
<bnagy> it 'works' for all my stuff, though
<pipework> bnagy: Like OS/2? :D
cj3kim has quit [Ping timeout: 244 seconds]
deens has joined #ruby
jonnyro has joined #ruby
<pipework> I kid.
<bnagy> its got LLVM in it (rbx not OS/2) and LLVM is \o/
<bnagy> or will be
<bnagy> one day
ctp has joined #ruby
<bnagy> when they stop messing with it
<postmodern> bnagy, you sure about rbx and zlib? their requirements say zlib
<postmodern> bnagy, or will it fallback to a vendored zlib, if one can't be found?
<bnagy> /Users/ben/.rubies/rubinius-2.2.1/vendor/zlib/zlib.h
<jonnyro> Has anyone here used scruffy?
<bnagy> that's all I'm sayin
hermanmunster has quit [Quit: hermanmunster]
<jonnyro> I need to draw a graph showing values over time
dayepa has joined #ruby
<bnagy> the lovable janitor from Futurama?
<jonnyro> Lol
<jonnyro> walked right into that one
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
deens has quit [Ping timeout: 244 seconds]
scarolan has joined #ruby
<bnagy> postmodern: yeah looks like a whole zlib source bundle in there
reset has quit [Ping timeout: 264 seconds]
ctp has quit [Ping timeout: 264 seconds]
<postmodern> bnagy, idk i prefer to always build against system libs, that way you avoid playing update wack-a-mole when a security update comes out
budrose has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<postmodern> a la the recent libyaml vuln
<pipework> postmodern: I prefer the one with the gators that say 'ow'.
<postmodern> pipework, i do not know of which you speak of, but it sounds awesome
renklaf has quit [Ping timeout: 244 seconds]
<pipework> postmodern: Instead of a hammer and a table of gopher holes, you have your hands and you whack a row of gators who say 'ow' in a robotic voice when they are hit.
rezzack has quit [Quit: Leaving.]
lyanchih has quit [Quit: lyanchih]
<bnagy> postmodern: oh I completely agree, I'm just mentioning it
<pipework> I guess it comes with a hammer...
scarolan has quit [Ping timeout: 244 seconds]
sleetdrop has joined #ruby
<RubyPanther> OS/2 was a pretty good desktop OS
<bnagy> although openssl libs kind of make me think the opposite
<pipework> I think the NSA is losing the biggest game of whack-a-mole.
vpretzel has quit [Remote host closed the connection]
<bnagy> no that's the CIA
ekinmur has joined #ruby
<bnagy> the NSA plays collect-compromising-material-and-discredit-mole
<postmodern> * CIA's drone program
<pipework> Pretty sure the NSA is the one most concerned about their traitorous mole.
ta9to has joined #ruby
funburn has quit [Quit: funburn]
<bnagy> hard to shoot someone when you're looking at your own shoes
hiyosi has joined #ruby
pranny1 has quit [Quit: Leaving.]
jaimef has quit [Excess Flood]
brucele_ has joined #ruby
renklaf has joined #ruby
stkowski has quit [Quit: stkowski]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
jaimef has joined #ruby
lyanchih has joined #ruby
<RubyPanther> NSA doesn't do any of that "discredit" or other "action" type of stuff. They collect signals intelligence, that is it.
<bnagy> ...
<bnagy> you are incorrect
<RubyPanther> If the CIA or Navy Intel uses that intel to discredit people, that is a whole different building
<bnagy> NSA conducts active ops
renklaf has quit [Read error: No route to host]
shaileshg has quit [Quit: Connection closed for inactivity]
ultraflash3 has joined #ruby
renklaf has joined #ruby
* ReCoin good night all
mansi has joined #ruby
<pipework> RubyPanther: You're the expert on all they do!
<lpavan> NSA agent here, stop this discussion now
Mon_Ouie has joined #ruby
<lpavan> lol
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
vpretzel has joined #ruby
renklaf has quit [Read error: No route to host]
wjlafrance__ has joined #ruby
lyanchih has quit [Ping timeout: 244 seconds]
renklaf has joined #ruby
segmond has joined #ruby
ekinmur has quit []
apeiros has quit [Remote host closed the connection]
OdNairy has joined #ruby
apeiros has joined #ruby
amritanshu_RnD has joined #ruby
<RubyPanther> lol it that looks like an expert, you should read more news
ekinmur_ has joined #ruby
amritanshu_RnD is now known as Guest70569
<pipework> RubyPanther: I don't speak whatever kind of English that was.
wjlafrance_ has quit [Ping timeout: 272 seconds]
retnuh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ultraflash3 has quit [Ping timeout: 244 seconds]
ekinmur_ is now known as ekinmur
mansi has quit [Ping timeout: 245 seconds]
<Nilium> it that phone was call inside from house
heftig has quit [Quit: Quitting]
wjlafrance__ has quit [Ping timeout: 244 seconds]
Guest70569 has quit [Client Quit]
renklaf has quit [Ping timeout: 246 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
amritanshu__RnD has joined #ruby
renklaf has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
jack_rabbit has quit [Ping timeout: 272 seconds]
michael_lee has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
ekinmur has quit []
ekinmur has joined #ruby
renklaf has quit [Read error: No route to host]
michael_lee has joined #ruby
Oog has joined #ruby
Matriks has joined #ruby
pranny has joined #ruby
jlebrech has joined #ruby
breakingthings has joined #ruby
renklaf has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
<Oog> {-> { where ('blah') }, :a => 1}
<Oog> whats up with the ->
jonah_k has quit [Remote host closed the connection]
<ddd> stabby lambda
renklaf has quit [Read error: Connection reset by peer]
<Oog> what does that mean
<Oog> what do i google
<bnagy> it's syntactic sugar for lambda {#blah} that is awful.
renklaf has joined #ruby
tagrudev has joined #ruby
<RubyPanther> you google "ruby stabby lambda"
<centrx> Oog, It is different syntax for "lambda"
<RubyPanther> there is much love and hate for stabby
* centrx stabs everyone
<bnagy> >> -> {"This is shitty syntax"}.call
<eval-in___> bnagy => "This is shitty syntax" (https://eval.in/105324)
wjlafrance__ has joined #ruby
renklaf has quit [Read error: No route to host]
<ddd> shorthand syntax basically
<centrx> >> -> { |stab| stab.stab }.stab
<eval-in___> centrx => /tmp/execpad-ca1dadae8947/source-ca1dadae8947:2: syntax error, unexpected '|' ... (https://eval.in/105325)
renklaf has joined #ruby
<pipework> I, and few others, call it a dashrocket.
jonah_k has joined #ruby
<Oog> i see
<RubyPanther> >> ->(omg){omg+"Ponies!"}.call("Omg!")
<eval-in___> RubyPanther => "Omg!Ponies!" (https://eval.in/105326)
<Oog> it literally just replaces the word lambda?
renklaf has quit [Read error: Connection reset by peer]
<RubyPanther> That's what people wanted it for
renklaf has joined #ruby
<Oog> cool thanks
<pipework> Oog: Supplements.
mary5030 has joined #ruby
<ddd> oog like perl community, ruby community is becoming terse-centric. seems everyone wants to move to the shortest possible set of keystrokes they can type regardless of if it makes it clearer or not
<ddd> suppliment my ass
wjlafrance__ has quit [Client Quit]
<Oog> i hate perl
<pipework> perl hates you.
nowthatsamatt has quit [Quit: nowthatsamatt]
<pipework> ddd: Well, lambda still works.
<ddd> wasn't a comment on the language. was a comment on the move towards typing the least amount even if it muddies the understanding waters
<pipework> But I suppose supplement isn't the right word.
dapz has joined #ruby
<centrx> Oog, It does have different syntax for arguments ->(arg) { }
<centrx> Oog, I used the wrong syntax with eval-in
dapz has quit [Max SendQ exceeded]
<pipework> centrx: Yeah a bit different.
<Oog> perl does hate me
sensen has quit [Ping timeout: 277 seconds]
<Oog> we had a battle a while ago and i never used it again
mary5030 has quit [Ping timeout: 244 seconds]
<Oog> it was like incorrect indentation or something i was ready to throw the computer out
<ddd> you found the better language. be happy you lost the battle
renklaf has quit [Ping timeout: 282 seconds]
<pipework> It's like wrestling a pig instead of an attractive individual from your own species.
chipotle has quit [Quit: cya]
<pipework> To all the pigs out there, I'm sorry for the confusing metaphor.
<ddd> hehe you always have the weirdest but accurate expressions
<bnagy> pigs are not good wrestlers
renklaf has joined #ruby
<ddd> better runners. especially when people want to turn your backside into an edible product
jackneill has joined #ruby
<bnagy> yeah they are super fast
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
<pipework> And even if you catch them, chances are you're stuck in the mud trying hard to wrest down a large beast that enjoys your attempts.
JasmeetQA1 has joined #ruby
pigzzcan_ has quit [Remote host closed the connection]
Avahey has quit [Quit: Connection closed for inactivity]
pigzzcanfly has joined #ruby
JasmeetQA has quit [Ping timeout: 264 seconds]
davedev24 has quit [Remote host closed the connection]
<ddd> heh
renklaf has quit [Read error: No route to host]
ekinmur has quit []
davedev24 has joined #ruby
renklaf has joined #ruby
breakingthings has quit [Ping timeout: 272 seconds]
cj3kim has quit [Ping timeout: 264 seconds]
max_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Macaveli has quit [Quit: Leaving]
davedev24 has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
browndawg has joined #ruby
relme has joined #ruby
testcore has joined #ruby
guest31337 has joined #ruby
Salve has quit [Remote host closed the connection]
guest31337 has left #ruby [#ruby]
jeregrine has quit [Quit: Connection closed for inactivity]
kenneth has joined #ruby
Salve has joined #ruby
snuffeluffegus has quit [Quit: Leaving]
dx7 has joined #ruby
AlexRussia has joined #ruby
testcore has quit [Client Quit]
reset has joined #ruby
gja has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
subbyyy_ has quit [Ping timeout: 246 seconds]
pigzzcanfly has quit [Remote host closed the connection]
max_ has quit [Ping timeout: 246 seconds]
dx7 has quit [Ping timeout: 264 seconds]
Salve has quit [Ping timeout: 264 seconds]
subbyyy_ has joined #ruby
m104 has quit [Quit: bye]
dayepa has quit [Ping timeout: 272 seconds]
nstdloop_ has joined #ruby
top4o has joined #ruby
nstdloop_ is now known as nstdloop
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
apeiros has quit [Ping timeout: 264 seconds]
ultraflash3 has joined #ruby
cantonic has quit [Quit: cantonic]
nathancahill has quit [Quit: nathancahill]
aagdbl has joined #ruby
alexju has quit [Remote host closed the connection]
deens has joined #ruby
reset has quit [Ping timeout: 244 seconds]
relme has quit [Quit: Quit]
asteros has quit [Quit: asteros]
wallerdev has quit [Quit: wallerdev]
ktosiek has joined #ruby
shaileshg has joined #ruby
nfk has joined #ruby
speakingcode has joined #ruby
pigzzcanfly has joined #ruby
sensen has joined #ruby
no6 has quit [Ping timeout: 244 seconds]
ultraflash3 has quit [Ping timeout: 272 seconds]
bal has joined #ruby
jprovazn has joined #ruby
deens has quit [Ping timeout: 272 seconds]
orangejuicejames has quit [Remote host closed the connection]
parduse has quit [Ping timeout: 272 seconds]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
quatron has joined #ruby
MrJoshua has quit [Read error: Connection reset by peer]
weie has joined #ruby
MrJoshua has joined #ruby
diegoviola has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
rainmanjam has joined #ruby
hiyosi has joined #ruby
rdark has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
tymat has joined #ruby
hd1 has joined #ruby
amritanshu__RnD has quit [Ping timeout: 272 seconds]
gja has quit [Quit: This computer has gone to sleep]
hd1 has left #ruby [#ruby]
cj3kim has joined #ruby
ciopte7 has quit [Quit: ciopte7]
TheMoonMaster has quit [Excess Flood]
amritanshu__RnD has joined #ruby
vlad_starkov has joined #ruby
amritanshu__RnD has quit [Read error: Connection reset by peer]
pigzzcanfly has quit [Remote host closed the connection]
rm__ has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 272 seconds]
amritanshu__RnD has joined #ruby
TheMoonMaster has joined #ruby
rm_ has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
Jetchisel has joined #ruby
pranny has quit [Quit: Leaving.]
hiyosi has quit [Ping timeout: 264 seconds]
korzybski has quit [Quit: korzybski]
mattmcclure has quit [Quit: Connection closed for inactivity]
rm_ has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lewix has quit [Remote host closed the connection]
reset has joined #ruby
lethjakman has quit [Ping timeout: 246 seconds]
Salve has joined #ruby
jlebrech has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
chipotle has joined #ruby
rainmanjam has quit [Remote host closed the connection]
gyKa has joined #ruby
meatherly has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 264 seconds]
meatherly has joined #ruby
Viridisignis has joined #ruby
wlanboy has quit [Quit: ZNC - http://znc.in]
mbuf has joined #ruby
wlanboy has joined #ruby
Salve has quit [Ping timeout: 272 seconds]
reset has quit [Ping timeout: 272 seconds]
himsin has joined #ruby
ndrei has joined #ruby
tvw has joined #ruby
Davey has joined #ruby
tymat has quit [Quit: .]
jph98 has joined #ruby
meatherly has quit [Ping timeout: 272 seconds]
klaut has joined #ruby
guilleiguaran has quit [Quit: Connection closed for inactivity]
apeiros has joined #ruby
subbyyy_ has quit [Ping timeout: 246 seconds]
mbuf has quit [Ping timeout: 272 seconds]
lsmola has joined #ruby
nstdloop has quit [Remote host closed the connection]
bleak has quit [Ping timeout: 264 seconds]
bal has quit [Quit: bal]
bal has joined #ruby
Faris has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Vovko has quit [Remote host closed the connection]
existensil has quit [Read error: Operation timed out]
max_ has joined #ruby
iliketur_ has joined #ruby
armyriad has quit [Ping timeout: 272 seconds]
srji has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<lxsameer> hey guys how can i remove a yanked gem completely ( please don't point to that video on rubygems.org )
<ceej> evening, well morning... so I'm trying to create my own form builder, I'm almost there apart from one issue https://gist.github.com/cj/7068260f2904d28225dd moo cow should be wrapping the input except it's completely outside of the form, I can't think of how to fix that so I'm reaching out to see if anyone can help
cj3kim has joined #ruby
<pipework> lxsameer: I think you have to ask someone on the rubygems team.
<lxsameer> pipework: thanks
lyanchih has joined #ruby
vlad_starkov has joined #ruby
yfeldblum has quit [Remote host closed the connection]
gja has joined #ruby
dodosan has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
gja has quit [Client Quit]
camilasan has joined #ruby
yacks has quit [Quit: Leaving]
dawkirst has joined #ruby
aganov has joined #ruby
gnephiak has joined #ruby
mbuf has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Ping timeout: 272 seconds]
parduse has quit [Ping timeout: 264 seconds]
maZtah is now known as maZtah
posu has joined #ruby
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
brucele_ has quit [Ping timeout: 246 seconds]
breakingthings has joined #ruby
jonah_k has quit [Remote host closed the connection]
ndrei has quit [Quit: leaving]
yfeldblum has joined #ruby
ndrei has joined #ruby
havenwood has quit [Remote host closed the connection]
mbuf has quit [Read error: Connection reset by peer]
jph98 has quit [Quit: jph98]
pigzzcanfly has joined #ruby
havenwood has joined #ruby
Oog has quit []
mbuf has joined #ruby
ilyam_ has joined #ruby
lewix has joined #ruby
ilyam has quit [Ping timeout: 244 seconds]
ilyam_ is now known as ilyam
armyriad has joined #ruby
testcore has joined #ruby
<RubyPanther> ddd: I dunno, back in 2005 Ruby golf was a lot more popular than now. Sometimes we could even beat Perl.
testcore has left #ruby [#ruby]
ndrei has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
pigzzcanfly has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
max_ has quit [Ping timeout: 264 seconds]
Kelgors has joined #ruby
<pipework> RubyPanther: I think some of the ruby golfs are better than perls today.
mengu has joined #ruby
OdNairy has quit [Ping timeout: 264 seconds]
flowerha_ has quit [Remote host closed the connection]
claymore has joined #ruby
Rydekull_ is now known as Rydekull
Rydekull has quit [Changing host]
Rydekull has joined #ruby
davidcollom_ is now known as davidcollom
no6 has joined #ruby
Faris has quit [Ping timeout: 272 seconds]
CpuID has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
thomasxie has quit [Quit: Leaving.]
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
cj3kim has quit [Ping timeout: 246 seconds]
hiyosi has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
no6 has quit [Ping timeout: 247 seconds]
Viridisignis has quit [Quit: Lingo - http://www.lingoirc.com]
ikaros has joined #ruby
einarj has joined #ruby
Xeago has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
LekeFly has joined #ruby
jonnyro has quit [Quit: leaving]
andikr has joined #ruby
OdNairy has joined #ruby
oso96_2000 is now known as oso|away
mansi has joined #ruby
reset has joined #ruby
sk87 has joined #ruby
Salve has joined #ruby
kitak has quit [Remote host closed the connection]
mavcunha has quit [Quit: Computer has gone to sleep.]
kitak has joined #ruby
parduse has quit [Read error: Connection reset by peer]
OdNairy has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 244 seconds]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
amritanshu__RnD has quit [Ping timeout: 242 seconds]
Salve has quit [Ping timeout: 272 seconds]
reset has quit [Ping timeout: 272 seconds]
rails426 has joined #ruby
sentinal8473 has joined #ruby
gja has joined #ruby
Kricir has quit [Remote host closed the connection]
rails426 is now known as wpp
wpp has quit [Client Quit]
rails426 has joined #ruby
gja has quit [Client Quit]
OdNairy has joined #ruby
CpuID has joined #ruby
yacks has joined #ruby
amclain has quit [Quit: Leaving]
razibog has joined #ruby
rails426 has quit []
Wolland has quit [Remote host closed the connection]
cj3kim has joined #ruby
rails426 has joined #ruby
Wolland has joined #ruby
Giorgio has joined #ruby
Faris has joined #ruby
xbob has joined #ruby
havenwood has joined #ruby
amritanshu__RnD has joined #ruby
pfg has joined #ruby
dx7 has joined #ruby
sentinal8473 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thomasxie has joined #ruby
marcdel has quit []
relix has joined #ruby
dx7 has quit [Ping timeout: 264 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
olivier_bK has joined #ruby
segmond has quit [Ping timeout: 264 seconds]
jmau5 has quit [Remote host closed the connection]
brucele_ has joined #ruby
gaussblurinc has joined #ruby
Port3M5[Work] has joined #ruby
nvrch has joined #ruby
Azulinho has quit [Ping timeout: 246 seconds]
elaptics`away is now known as elaptics
pigzzcanfly has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
<gaussblurinc> hi! did anybody read this book "Well grounded rubyst"? Nevertheless, I can't understand this warning about assignment operator on page 72 (end of 3.3 section). Can anybody explain this?
<centrx> Can you type that part in here?
lele` is now known as lele
meatherly has joined #ruby
<gaussblurinc> this citation is too big, any service, please?
<pontiki> what?
<centrx> gist.github.com
cj3kim has quit [Read error: Connection reset by peer]
phansch has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
pigzzcanfly has quit [Ping timeout: 272 seconds]
cj3kim has joined #ruby
phansch has joined #ruby
ctp has joined #ruby
greenarrow has joined #ruby
abunchofdollarsi has joined #ruby
LastWhisper has quit [Ping timeout: 245 seconds]
<centrx> gaussblurinc, Assignment always returns the value that was assigned, even if you define an assignment method like def method= that tries to return something different.
sparrovv has joined #ruby
jle` has quit [Ping timeout: 244 seconds]
ultraflash3 has joined #ruby
meatherly has quit [Ping timeout: 255 seconds]
<ceej> why would a yield print out even if it's not at the end of a method?
<apeiros> >> class X; def foo=(val); return "this is ignored"; end; end; x = X.new; x.foo = 123
<eval-in___> apeiros => 123 (https://eval.in/105468)
<apeiros> gaussblurinc: ^
<apeiros> ceej: a yield doesn't print anything
phansch has quit [Client Quit]
deens has joined #ruby
GunsNRoses has joined #ruby
<apeiros> ceej: do the words "minimal" and "reproducable" ring a bell?
<gaussblurinc> http://pastebin.com/uPAsLJbB - what happens here?
<ceej> apeiros: yes, sorry... I havne't slept all night
centrx has quit [Quit: All this computer hacking is making me thirsty]
pfg has quit [Quit: Textual IRC Client: www.textualapp.com]
wjlafrance__ has joined #ruby
OdNairy has quit [Ping timeout: 246 seconds]
wjlafrance__ has quit [Remote host closed the connection]
ultraflash3 has quit [Ping timeout: 264 seconds]
gigetoo has quit [Remote host closed the connection]
jle` has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
gigetoo has joined #ruby
roolo has joined #ruby
<certainty> moin folks
DaniG2k has joined #ruby
deens has quit [Ping timeout: 264 seconds]
OdNairy has joined #ruby
<jle`> moin certainty
klaut has quit [Remote host closed the connection]
sparrovv has quit [Remote host closed the connection]
obs has joined #ruby
GunsNRoses has quit [Quit: Leaving]
Asitha has joined #ruby
hiyosi has joined #ruby
<pontiki> gaussblurinc: if you put that in a class, what output do you get?
dangerousdave has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
<apeiros> ceej: ok, I guess there's no follow up. I'm off.
robbyoconnor has quit [Ping timeout: 244 seconds]
<pontiki> bye
poulson has joined #ruby
OdNairy has quit [Read error: Connection reset by peer]
rylev has joined #ruby
<Asitha> Hey - if I have a hash as such: https://gist.github.com/asithade/9205551, what would I need to do to be able to call the values as such @insta.image
<ceej> apeiros: sorry, I'll try and get one together
<gaussblurinc> oh! I understand! thank you! http://pastebin.com/RR7ikkJb
OdNairy has joined #ruby
karl___ has quit [Read error: Connection reset by peer]
maasha has joined #ruby
lewix has quit [Remote host closed the connection]
kitak has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
<maasha> Morn
<maasha> can optparse turn multiple options into a list: script -i foo -i bar ... ?
<certainty> Asitha: you could feed the hash into an openstruct
<maasha> Seems like the last one is overwriting.
hiyosi has quit [Ping timeout: 244 seconds]
theotherstupidgu has joined #ruby
jmau5 has joined #ruby
sentinal8473 has joined #ruby
<certainty> maasha: how do you set it?
sparrovv has joined #ruby
<certainty> you can just add the values to an array, can't you?
fveillette has quit [Ping timeout: 240 seconds]
theotherstupidgu has left #ruby [#ruby]
robbyoconnor has quit [Excess Flood]
OdNairy has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
<maasha> certainty: this works: https://gist.github.com/maasha/761b0f87b8529a941e7c - but I was wondering ...
robbyoconnor has joined #ruby
<Asitha> certainty: thanks - I'll look into that
rylev has quit []
mansi has joined #ruby
<certainty> maasha: of course if overwrites. Make options[:input_dirs] an array and put the values in theres
<certainty> option[:input_dirs] << o it is then
brucele_ has quit [Ping timeout: 244 seconds]
reset has joined #ruby
<certainty> maasha: oh, sorry, you said it works. Yeah that might be the proper way to do it.
Salve has joined #ruby
fveillette has joined #ruby
<maasha> certainty: Your suggestion also works, but the approaches sort of conflicts. So which is the least irritating way?
mojjojo has joined #ruby
ayaz has joined #ruby
<certainty> maasha: why do they conflict?
mansi has quit [Ping timeout: 246 seconds]
OdNairy has joined #ruby
Matriks has quit [Remote host closed the connection]
plexus_ has joined #ruby
Xeago_ has joined #ruby
aryaching_ has quit [Ping timeout: 247 seconds]
<maasha> certainty: well, I would need some duck typing to collect the arrays givens as comma separated lists and those given with multiple identical options.
<maasha> certainty: or I end up with arrays of arrays.
<maasha> mixed with strings.\
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmau5 has quit [Ping timeout: 244 seconds]
lolmaus has joined #ruby
reset has quit [Ping timeout: 244 seconds]
Salve has quit [Ping timeout: 246 seconds]
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
cj3kim has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 246 seconds]
<certainty> maasha: well you have to split anyway since you want to support the ,-syntax. If you don't want arrays of arrays you can simply flatten afterwards or use #concat or something during insertion
bluenemo_ has joined #ruby
bluenemo_ has quit [Changing host]
bluenemo_ has joined #ruby
_Andres has joined #ruby
lsmola has quit [Ping timeout: 244 seconds]
bluenemo__ has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
bluenemo__ has quit [Changing host]
bluenemo__ has joined #ruby
sk87 has joined #ruby
hermanmunster has joined #ruby
jhass|off is now known as jhass
dANO- has joined #ruby
hermanmunster has quit [Client Quit]
dANO- is now known as dANOKELOFF
ahawkins has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
m1lt0n has joined #ruby
sentinal8473 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sentinal8473 has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
camilasa_ has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
zygmunt has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
phansch has joined #ruby
amritanshu__RnD has quit [Ping timeout: 264 seconds]
camilasan has quit [Ping timeout: 246 seconds]
<maasha> certainty: I am working it out. thanks
ahawkins has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
pigzzcanfly has joined #ruby
havenwood has joined #ruby
lsmola has joined #ruby
klaut has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
invinceable has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lurch_ has joined #ruby
alexherbo2 has joined #ruby
fgo has joined #ruby
greenarrow has quit [Quit: 500]
havenwood has quit [Ping timeout: 342 seconds]
pigzzcanfly has quit [Ping timeout: 363 seconds]
greenarrow has joined #ruby
mavcunha has joined #ruby
toddabrahm_ has quit [Quit: ZNC - http://znc.in]
Jetchisel has quit [Ping timeout: 256 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sensen has quit [Ping timeout: 244 seconds]
mbuf has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
Jetchisel has joined #ruby
mbuf has joined #ruby
rdark has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
ikoniaris has joined #ruby
rdark has joined #ruby
ikoniaris has left #ruby [#ruby]
phansch has quit [Read error: No route to host]
ahawkins has joined #ruby
kaliya has joined #ruby
sk87 has joined #ruby
ahawkins has quit [Client Quit]
sensen has joined #ruby
lsmola has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
phansch has joined #ruby
ghr has quit [Remote host closed the connection]
meatherly has quit [Ping timeout: 246 seconds]
deens has joined #ruby
renklaf has quit []
gozali has joined #ruby
omegahm has quit [Ping timeout: 264 seconds]
tvw has quit []
heftig has joined #ruby
fveillette has quit [Ping timeout: 244 seconds]
ilyam has quit [Quit: ilyam]
Wolland has quit []
workmad3 has quit [Remote host closed the connection]
workmad3 has joined #ruby
deens has quit [Ping timeout: 264 seconds]
mojjojo has joined #ruby
kayamm has joined #ruby
mbuf has quit [Ping timeout: 246 seconds]
funburn has joined #ruby
ephemerian has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
TripleDE1 has quit [Remote host closed the connection]
workmad3 has joined #ruby
fveillette has joined #ruby
eka has joined #ruby
hiyosi has joined #ruby
toddabrahm has joined #ruby
mengu has quit [Remote host closed the connection]
lsmola has joined #ruby
closer has quit [Ping timeout: 252 seconds]
yasushi has joined #ruby
zygmunt has quit [Quit: zygmunt]
zygmunt has joined #ruby
ValicekB has quit []
closer has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
tommyvyo__ has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 264 seconds]
Zunonia__ has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
havenwood has joined #ruby
mansi has joined #ruby
Atw has quit [Ping timeout: 244 seconds]
reset has joined #ruby
Hanmac1 has joined #ruby
Salve has joined #ruby
rahult has joined #ruby
claymore has quit [Ping timeout: 244 seconds]
marr has joined #ruby
bricker has quit [Ping timeout: 264 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Salve_ has joined #ruby
claymore has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
havenwood has quit [Ping timeout: 245 seconds]
lele has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
_Andres has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
dx7 has joined #ruby
sparrovv has quit [Remote host closed the connection]
reset has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
evenix has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 272 seconds]
kitak has joined #ruby
bricker has joined #ruby
lele has joined #ruby
sparrovv has joined #ruby
Salve_ has quit [Ping timeout: 244 seconds]
Xeago_ has quit [Ping timeout: 246 seconds]
dx7 has quit [Ping timeout: 244 seconds]
epireve has joined #ruby
greenarrow has quit [Quit: 500]
timonv has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
ValicekB has joined #ruby
workmad3 has joined #ruby
existensil has joined #ruby
fveillette has quit [Ping timeout: 244 seconds]
rails426 has quit []
robbyoconnor has joined #ruby
ctp_ has joined #ruby
funburn has quit [Quit: funburn]
tkuchiki has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
fveillette has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dangerousdave has quit [Read error: Connection reset by peer]
ohwhoa has joined #ruby
dangerousdave has joined #ruby
zygmunt has quit [Quit: zygmunt]
pigzzcanfly has joined #ruby
ctp has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Ping timeout: 244 seconds]
mavcunha has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
fveillette has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
mavcunha has joined #ruby
pigzzcanfly has quit [Ping timeout: 244 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tvw has joined #ruby
browndawg has quit [Read error: Connection timed out]
havenwood has joined #ruby
qqw has joined #ruby
kayamm has quit [Quit: sleep]
browndawg has joined #ruby
qqw has quit [Quit: Changing server]
toretore has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
razibog has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
dennus has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelroa has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
fveillette has joined #ruby
Kuda has joined #ruby
ndrei has quit [Quit: leaving]
ndrei has joined #ruby
ndrei has quit [Client Quit]
<relix> hey, has anybody here used rubymine from jetbrains, and what are your thoughs on it?
<relix> good/bad
<pipework> It's a thing. I don't use it. A coworker does.
ndrei has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
qqw has joined #ruby
kitak has quit [Remote host closed the connection]
lyanchih has quit [Read error: Connection reset by peer]
kitak has joined #ruby
rdark has quit [Quit: leaving]
lyanchih has joined #ruby
thomasxie has quit [Quit: Leaving.]
theweirdone has joined #ruby
ultraflash3 has joined #ruby
tkuchiki has joined #ruby
nomenkun_ has joined #ruby
Brando753 has quit [Ping timeout: 272 seconds]
deens has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
CpuID has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
ultraflash3 has quit [Ping timeout: 246 seconds]
<ceej> does anyone know of a good form builder that doesn't depend on rails?
ndrei has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
larissa has joined #ruby
yfeldblu_ has joined #ruby
thomasxie has quit [Client Quit]
deens has quit [Ping timeout: 246 seconds]
Brando753 has joined #ruby
RyanV has joined #ruby
jlebrech has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<jlebrech> is there a markup language for drawing on canvas? something like components but then you code in the drawing routines?
ndrei has joined #ruby
ruisanto1 is now known as ruisantos
mercwithamouth has joined #ruby
aryaching has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
yfeldblu_ has quit [Ping timeout: 244 seconds]
OdNairy has quit [Ping timeout: 272 seconds]
sleetdrop has quit [Quit: Computer has gone to sleep.]
kirun has joined #ruby
dayepa has joined #ruby
OdNairy has joined #ruby
lele has quit [Ping timeout: 246 seconds]
CpuID has joined #ruby
geoffw8_ has joined #ruby
bluenemo has quit [Remote host closed the connection]
bluenemo__ has quit [Remote host closed the connection]
bluenemo_ has quit [Remote host closed the connection]
dweeb has joined #ruby
craigp has joined #ruby
bluenemo has joined #ruby
batman____ has quit [Ping timeout: 252 seconds]
<maasha> jlebrech: SVG? Cairo?
ndrei has quit [Ping timeout: 264 seconds]
yalue has quit [Ping timeout: 264 seconds]
supersym has joined #ruby
dennus has quit []
LekeFly has joined #ruby
ndrei has joined #ruby
<jlebrech> maasha: yeah similar. maybe more like xul. and each component has a renderer for it
RyanV has quit [Ping timeout: 240 seconds]
doodlehaus has joined #ruby
Xeago has quit [Remote host closed the connection]
mansi has joined #ruby
Xeago has joined #ruby
cburyta has joined #ruby
lyanchih has quit [Ping timeout: 264 seconds]
reset has joined #ruby
davedev24 has joined #ruby
RyanV has joined #ruby
<maasha> jlebrech: well I only know those two. And d3 for drawing stuff is supposedly very nice
Matriks has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
Azulinho has joined #ruby
Salve has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 251 seconds]
Xeago has joined #ruby
ndrei has joined #ruby
reset has quit [Ping timeout: 244 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
Salve has quit [Ping timeout: 244 seconds]
yalue has joined #ruby
Asitha has quit [Quit: Try HydraIRC -> http://www.hydrairc.com <-]
RSTJNII has quit [Remote host closed the connection]
Matriks has quit [Ping timeout: 256 seconds]
RSTJNII has joined #ruby
amritanshu__RnD has joined #ruby
pigzzcanfly has joined #ruby
sensen has quit [Ping timeout: 264 seconds]
lele has joined #ruby
mcls has joined #ruby
thomasxie has joined #ruby
Kuda has quit [Quit: Sleep]
fgo has quit [Remote host closed the connection]
nvrch has quit [Quit: nvrch]
NovapaX has joined #ruby
pigzzcanfly has quit [Ping timeout: 264 seconds]
Jetchisel has quit [Ping timeout: 252 seconds]
yasushi has quit [Remote host closed the connection]
aryaching_ has joined #ruby
Bish_ has quit [Quit: ZNC - http://znc.sourceforge.net]
m1lt0n has quit [Quit: leaving]
chrisseaton has joined #ruby
craigp_ has joined #ruby
OdNairy has quit [Read error: Connection reset by peer]
Azulinho has quit [Quit: WeeChat 0.4.2]
aryaching has quit [Ping timeout: 244 seconds]
Azulinho has joined #ruby
Jetchisel has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp has quit [Ping timeout: 244 seconds]
larissa has quit [Quit: Leaving]
RyanV has quit [Quit: Computer has gone to sleep.]
sparrovv has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 272 seconds]
mcls has quit [Quit: Computer has gone to sleep.]
OdNairy has joined #ruby
skammer has joined #ruby
RyanV has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
mcls has joined #ruby
kirun has quit [Ping timeout: 246 seconds]
yacks has quit [Ping timeout: 272 seconds]
aagdbl has joined #ruby
rdark has joined #ruby
lele has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
meatherly has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
blazeroot has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
omegahm has joined #ruby
dayepa has joined #ruby
scarolan has joined #ruby
meatherly has quit [Ping timeout: 244 seconds]
Shidash1 has quit [Ping timeout: 256 seconds]
rdark has quit [Ping timeout: 264 seconds]
deens has joined #ruby
Giorgio has quit [Ping timeout: 244 seconds]
blazeroot has quit []
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
rdark has joined #ruby
scarolan has quit [Ping timeout: 265 seconds]
lele has joined #ruby
deens has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
rahult has joined #ruby
barratt has joined #ruby
DaniG2k has quit [Quit: leaving]
popl has quit [Ping timeout: 264 seconds]
hiyosi has joined #ruby
ixti has quit [Ping timeout: 272 seconds]
railsmagnet has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
pushpak has joined #ruby
RyanV has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
m1lt0n has joined #ruby
dx7 has joined #ruby
m1lt0n has quit [Client Quit]
m1lt0n has joined #ruby
Kuda has joined #ruby
davidcollom is now known as davidcollom_afk
m1lt0n has quit [Client Quit]
m1lt0n has joined #ruby
ta9to has quit [Ping timeout: 244 seconds]
brucele_ has joined #ruby
m1lt0n has quit [Client Quit]
razibog has joined #ruby
m1lt0n has joined #ruby
blueOxigen has joined #ruby
dx7 has quit [Ping timeout: 244 seconds]
greenarrow has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
doodlehaus has quit [Remote host closed the connection]
davidcollom_afk is now known as davidcollom
brucele_ has quit [Ping timeout: 264 seconds]
greenarrow has quit [Client Quit]
reset has joined #ruby
dennus has joined #ruby
ta9to has joined #ruby
Salve has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
pigzzcanfly has joined #ruby
AlexRussia has joined #ruby
JasmeetQA1 has quit [Quit: Leaving.]
reset has quit [Ping timeout: 244 seconds]
ndrei has quit [Ping timeout: 264 seconds]
greenarrow has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
razibog has quit [Quit: Leaving.]
skammer has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
gnagno has joined #ruby
<gnagno> hello all
ahawkins has joined #ruby
pigzzcanfly has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
rdark has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
pushpak has quit [Quit: Leaving...]
rdark has joined #ruby
<jhass> hi gnagno
<gnagno> I have a ruby script that consists of only a ruby file and a gemfile, can I install the gem locally in the script directory? if yes is bundle install --path .bundle the correct way to do it?
fgo has quit [Read error: No route to host]
Maitiu has joined #ruby
<jhass> yes you can (even though I see little benefit), and yes that would work, using .bundle is just rather uncommon but probably not a too bad idea if you don't already have a vendor directory or something like that
nvrch has joined #ruby
Kneferilis has joined #ruby
stryek has quit [Ping timeout: 272 seconds]
sk87 has joined #ruby
<gnagno> jhass, but then I have to specify the directory where my script has to go to find the gems right?
gozali has quit [Remote host closed the connection]
vt102 has joined #ruby
<jhass> if you use --path or if you don't? either way, if you don't it'll install the gems in $GEM_HOME, if you do use --path bundler will remember the option. In either case bundle exec ruby foo.rb will always correctly setup the load paths
<jhass> but you working directory has to be where the Gemfile is, if that's the question
maZtah has quit [Changing host]
maZtah has joined #ruby
karupanerura is now known as zz_karupanerura
yacks has joined #ruby
posu has quit [Quit: This computer has gone to sleep]
spider-mario has joined #ruby
tobago has joined #ruby
mehlah has joined #ruby
joshu has quit [Quit: Bye.]
<gnagno> thank you jhass
ohwhoa has quit [Quit: woah!]
bahar has quit [Changing host]
bahar has joined #ruby
noop has joined #ruby
noop is now known as noopq
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
havenwood has joined #ruby
IceyEC has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
zumba_addict has quit [Quit: zumba_addict]
fgo has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adamholt_ is now known as adamholt
vt102 has quit [Remote host closed the connection]
scarolan has joined #ruby
vt102 has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
meatherly has joined #ruby
himsin has quit [Quit: himsin]
ndrei has joined #ruby
michael_lee has quit [Ping timeout: 244 seconds]
ultraflash3 has joined #ruby
TMM has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jeregrine has joined #ruby
browndawg has quit [Ping timeout: 244 seconds]
mostlybadfly has joined #ruby
mavcunha has quit [Quit: Textual IRC Client: www.textualapp.com]
alex88 has joined #ruby
deens has joined #ruby
kitak has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
meatherly has quit [Ping timeout: 244 seconds]
kitak has joined #ruby
sk87 has joined #ruby
benzrf has joined #ruby
<benzrf> so i finally buckled down and started reading the zmq guide and
<benzrf> goddamn this is fuckin ingenious
browndawg has joined #ruby
<tobago> i want to match: "Test:_ /123".match(/[a-zA-Z0-9:_\/\s]+/)[0]
<tobago> but want to allow whitespaces only once between all other characters
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tobago> so e.g. "Test 123" is allowed but "Test 123" is not
vlad_starkov has quit [Remote host closed the connection]
yfeldblum has joined #ruby
ultraflash3 has quit [Ping timeout: 355 seconds]
<tobago> so how to regex the whitespaces corectly?
<apeiros> (?:X ?)*
deens has quit [Ping timeout: 244 seconds]
<apeiros> @ tobago
<apeiros> where X is your char-class
vlad_starkov has joined #ruby
<benzrf> ehehehe this is amazing
<benzrf> ØMQ is my new favorite thing
relix has joined #ruby
<tobago> apeiros, can you please gimme the entire example?
<tobago> "Test:: /Foo".match(/(?:[a-zA-Z] ?)/) didn't work
<jhass> because it doesn't include the numbers
<jhass> (and omits the *)
yfeldblum has quit [Ping timeout: 240 seconds]
<jhass> and doesn't include the :
<jhass> or the /
<tobago> apeiros, how should the rexexp be for "Test: Foo Bar"?
<jhass> tobago: so have you have given different example input all the time...
<jhass> *so far
diegovio1 has joined #ruby
benzrf has left #ruby [#ruby]
Xeago has quit [Remote host closed the connection]
diegoviola is now known as Guest92764
Megtastique has joined #ruby
kenneth has joined #ruby
<tobago> jhass, well my problem is not the numbers. It's the whitespace.
<AntelopeSalad> tobago: is "test" and "foo bar" the important bits of info there?
diegovio1 is now known as diegoviola
<jhass> even contradicting examples, like the last one has more than one space in between
Xeago has joined #ruby
Guest92764 has quit [Ping timeout: 272 seconds]
mark_locklear has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
<tobago> AntelopeSalad, I want to reject strings having more than 2 whitespaces following each other.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
<tobago> that's why I want to detect, if the string having 2 whitespace next to each other.
<jhass> strings.reject {|string| string.match (/ +/) } ?
<jhass> or \s\s+ if you don't care about the type of whitespace
Xeago has quit [Client Quit]
decoponio has joined #ruby
Xeago has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<tobago> jhass, to be honst I care about the whitespace type (tabs and line feeds should be rejected as well)
<jhass> or \s{3,} or whatever your requirement is now actually
<AntelopeSalad> tobago: i only asked because ruby has a squeeze method which will remove extra spaces (or any other char you want)
<jhass> so strings.reject{|string| string.match(/s{3,}/) }
<jhass> er, /\s{3,}/ sorry, typo
krz has quit [Quit: WeeChat 0.4.3]
CorpusCa_ has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
<tobago> jhass, how should the negation of your regexp look like?
<jhass> why do you want to negate it?
aaronmcadam has joined #ruby
<tobago> jhass, the regex is for a validation in RubyOnRails and there is validates :format => { :with => /.../}
pigzzcanfly has joined #ruby
jle` has quit [Ping timeout: 246 seconds]
<apeiros> tobago: you're having various contradictions in your question
<tobago> jhass, I want to allow [a-zA-Z0-9:_\/] and 1 whitespace between those chars, but nothing else
<apeiros> tobago: you say "a space only every other char"
<jhass> tobago: there also is validates :format, without: /.../
<apeiros> but you give "Test:_ /123" as one that should match
<apeiros> you have there a lot of spaces…
Avahey has joined #ruby
<AntelopeSalad> i still don't get why you don't just #squeeze it and not throw a validation error
<apeiros> 6 spaces… how does that fit the "a space only every other character"?
<tobago> apeiros, sorry. then I was misleading you. "Test:_ /123" should be rejected
alexju has joined #ruby
<apeiros> tobago: then elaborate "didn't work"
<apeiros> tobago: you forgot to anchor your regex btw.
<apeiros> \A and \z
<tobago> apeiros, my regex on that didn't work as expected
reset has joined #ruby
zeroXten_ has quit [Read error: Operation timed out]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rmoriz has quit [Ping timeout: 245 seconds]
abstractj has quit [Ping timeout: 245 seconds]
<apeiros> tobago: "didn't" work is a fucking useless description
Matriks has joined #ruby
zeroXten has joined #ruby
nateberkopec has joined #ruby
posu has joined #ruby
<apeiros> whoops, move that quote
pigzzcanfly has quit [Ping timeout: 246 seconds]
<jhass> tobago: go to http://rubular.com, fill it with real world examples that should be allowed and real world examples that should be rejected. Add the regex you have so far, share it here and ask for a working/better version
Salve has joined #ruby
<tobago> o.k.
<tobago> thank you
braincrash has joined #ruby
<monsieurp> a regex can only work lol
rmoriz has joined #ruby
abstractj has joined #ruby
<apeiros> heh
<apeiros> right
craigp_ has quit [Remote host closed the connection]
_tpavel has joined #ruby
reset has quit [Ping timeout: 247 seconds]
ayaz has quit [Ping timeout: 245 seconds]
stringoO has joined #ruby
vlad_starkov has joined #ruby
<monsieurp> tobago: do you have a sample of what you're trying to filter?
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
alexherbo2 has joined #ruby
tils` has joined #ruby
Matriks has quit [Ping timeout: 264 seconds]
tils` is now known as tils
Salve has quit [Ping timeout: 264 seconds]
Giorgio has joined #ruby
Mon_Ouie has joined #ruby
<monsieurp> tobago: and btw, this is not a ruby question.. you should read a good book on regexes
enebo has joined #ruby
nateberkopec has quit [Quit: Leaving...]
craigp has joined #ruby
Matriks has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
LekeFly has joined #ruby
Salve has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
Matriks has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 272 seconds]
AlSquire has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
_tpavel has quit [Quit: Leaving]
dennus has quit []
sk87 has joined #ruby
dblessing has joined #ruby
kpshek has joined #ruby
dblessing_ has joined #ruby
ffranz has joined #ruby
nisstyre has quit [Ping timeout: 245 seconds]
dblessing_ has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
dblessing_ has joined #ruby
geoffw8_ has quit [Quit: Connection closed for inactivity]
<tobago> jhass, this works as expected: "Test Foo goo hho".match(/\A(\w+\s?\w+)+\Z/)
kitak has quit [Remote host closed the connection]
<tobago> passes
craigp has quit [Remote host closed the connection]
<tobago> and "Test Foo goo hho".match(/\A(\w+\s?\w+)+\Z/) does not pass
davidcollom is now known as davidcollom_afk
mary5030 has quit [Remote host closed the connection]
kitak has joined #ruby
<jhass> ah, so different requirements again. anyway at least you found a solution for you
dblessing has quit [Ping timeout: 257 seconds]
dblessing_ is now known as dblessing
<tobago> though the regex looks not very elegant, does it?
davidcollom_afk is now known as davidcollom_afk_
<Tachoh> elegant regex
<jhass> I've seen worse
lyanchih has joined #ruby
pigzzcanfly has joined #ruby
Matriks has joined #ruby
vpretzel has quit [Remote host closed the connection]
mary5030 has joined #ruby
vpretzel has joined #ruby
guilleiguaran has joined #ruby
_tpavel has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
keen_ has joined #ruby
noopq has quit [Ping timeout: 246 seconds]
axl_ has joined #ruby
v4n has joined #ruby
gnagno has quit [Ping timeout: 244 seconds]
patteh has quit [Quit: leaving]
patteh has joined #ruby
makara has quit [Ping timeout: 272 seconds]
ndrei has quit [Quit: leaving]
ndrei has joined #ruby
ndrei has quit [Client Quit]
pigzzcanfly has quit [Remote host closed the connection]
ndrei has joined #ruby
havenwood has joined #ruby
yasushi has joined #ruby
scarolan has quit [Ping timeout: 264 seconds]
<apeiros> tobago: doesn't fit your description, though
<apeiros> >> "T e s t Foo goo hho".match(/\A(\w+\s?\w+)+\Z/)
<eval-in___> apeiros => nil (https://eval.in/105525)
<apeiros> no match. spaces only every other char.
<tobago> apeiros, I guess I was not very clear in my description.
<apeiros> you guess? srsly? :-p
Kuda has quit [Quit: Sleep]
<tobago> apeiros, you're right. that doesn't fir to my description.
_Andres has joined #ruby
<tobago> fit
havenwood has quit [Ping timeout: 264 seconds]
maximski has joined #ruby
<tobago> mmh. didn't tested about single chars...
<tobago> >> "T e st Foo goo hho".match(/\A(\w+\s?\w+)+\Z/)
<eval-in___> tobago => nil (https://eval.in/105526)
<tobago> >> "T est Foo goo hho".match(/\A(\w+\s?\w+)+\Z/)
<eval-in___> tobago => #<MatchData "T est Foo goo hho" 1:"o hho"> (https://eval.in/105527)
<tobago> mmmh...
maasha has quit [Ping timeout: 245 seconds]
ndrei has quit [Quit: leaving]
<tobago> apeiros, you found a bug in my regexp
cmhobbs has quit [Ping timeout: 244 seconds]
ndrei has joined #ruby
davidcollom_afk_ is now known as davidcollom
<tobago> that requirement is too hard for me.
<jhass> so maybe let's take a step back
<jhass> what is you actual requirement, not the solution (filter input with regex) you think you need
ixti has joined #ruby
<tobago> jhass, yes. I have to validate whether or not an input string passes a regexp.
deens has joined #ruby
<tobiasvl> another step back.
fgo has joined #ruby
<tobiasvl> passing the regexp is the solution ;)
Salve has joined #ruby
<jhass> no no, you're too close. I doubt your requirement is "filter arbitrary input with an arbitrary regexp"
<tobago> jhass, o.k.?
lele has quit [Ping timeout: 246 seconds]
<jhass> what are you doing this for?
<jhass> what's the goal?
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has quit [Read error: Connection timed out]
<tobago> jhass, the string is not allowed, when it contains at least 2 whitespaces following each other.
jerius has joined #ruby
yasushi has quit [Remote host closed the connection]
blackmesa has joined #ruby
<jhass> then why do you want to filter for words?
<apeiros> tobago: I told you how to…
<tobago> jhass, the regexp is not intended to be arbitrary.
slowcon has joined #ruby
<tobiasvl> what's "the string"?
<tobiasvl> is it a specific string?
<tobiasvl> or any string
<jhass> simply do what I said hours ago
RyanV has joined #ruby
RyanV has quit [Client Quit]
<tobago> apeiros, I dind't understand your solution.
yfeldblum has joined #ruby
dx7 has joined #ruby
<tobago> tobiasvl, any string
browndawg has joined #ruby
<apeiros> >> "T e s t Foo goo hho" =~ /\A(\w\s?)+\w\z/
<jhass> validates :whatever, format: {without: /\s{3,}/}
<eval-in___> apeiros => 0 (https://eval.in/105531)
<apeiros> >> "T e s t Foo goo hho" =~ /\A(\w\s?)+\w\z/
<eval-in___> apeiros => nil (https://eval.in/105532)
deens has quit [Ping timeout: 246 seconds]
retnuh has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
posu has quit [Quit: This computer has gone to sleep]
randomnick_ has joined #ruby
<jhass> tobago: but said that, I actually meant another step back. Why aren't more than two consecutive spaces allowed in the string?
nowthatsamatt has joined #ruby
nisstyre has joined #ruby
jefflyne has joined #ruby
<slowcon> morning guys
budrose has joined #ruby
obs_ has joined #ruby
doodlehaus has joined #ruby
obs has quit [Write error: Broken pipe]
SirFunk has quit [Excess Flood]
SirFunk has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
nateberkopec has joined #ruby
<tobago> apeiros, it works perfectly.
<apeiros> jhass: \s{3,} is more than 3 spaces?
<apeiros> I mean - *I know* it is. I don't understand how that fits his description…
<apeiros> *3 or more spaces?
<jhass> he said he wants to blacklist strings that have more than two (consecutive, I implied that) spaces
<tobago> I must have overseen it.
<jhass> so we check if it has 3 or more and if that matches let the validation fail
theweirdone has quit []
18WAFV4JM has quit [Ping timeout: 436 seconds]
Sammael has quit [Ping timeout: 436 seconds]
tekacs has quit [Ping timeout: 436 seconds]
CJD14_ has quit [Ping timeout: 436 seconds]
phrozen77 has quit [Ping timeout: 436 seconds]
rcs has quit [Ping timeout: 436 seconds]
jinie has quit [Ping timeout: 436 seconds]
Stalkr^ has joined #ruby
tekmaster has joined #ruby
tekmaster is now known as tekacs
mansi_ has joined #ruby
<tobago> sorry for that inconvenience.
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jmau5 has joined #ruby
Relaxation___ has joined #ruby
<jhass> tobago: I'm still interested why such a validation would be useful though :)
hackeron has quit [Remote host closed the connection]
rmorello has joined #ruby
<tobago> thank you all guys. you have been very patient.
<apeiros> your use of \s seems wrong btw.
mary5030 has quit [Write error: Broken pipe]
<apeiros> at least it contradicts what you said before. iirc you said that e.g. tabs are invalid
<tobago> jhass, I didn't defined the requirement.
CJD14_ has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
kayamm has joined #ruby
<tobago> I mean it was not my idea to forbid more than two consecutive spaces
Asher has joined #ruby
<jhass> apeiros: I think he said that tabs count as whitespace, so " \t " would be invalid
phrozen77 has joined #ruby
rcs has joined #ruby
<apeiros> jhass: that's different from what I read. I read "a space only every character", that'd be / {2,}/
<apeiros> tobago: *more* than two is "3 or more"
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<apeiros> tobago: you really change what you say every other line…
jinie has joined #ruby
<jhass> yeah
davidcollom is now known as davidcollom_
<apeiros> and "more than 2 consecutive spaces not allowed" is not the same as "spaces only every other char"
Asher has quit [Read error: Connection reset by peer]
Asher2 has joined #ruby
<tobago> jhass, the string is used for configuring tabulator headlines. and the marketing defined, that headlines with two consecutive spaces should be refused.
hackeron has joined #ruby
dik_dak has joined #ruby
<jhass> see, you changed it again
<jhass> "with two consecutive spaces should be refused" != "not more than two spaces"
nowthatsamatt has quit [Read error: No route to host]
stryek has joined #ruby
SHyx0rmZ has joined #ruby
<jhass> and did it say should be refused or should not be displayed? because if it's the later you could just cleanup the additional whitespace like someone said earlier
<tobago> jhass, that's true. until I didn't know the word "consecutive" and that's why my description was misleading
Kuda has joined #ruby
Kuda has quit [Client Quit]
maximski has quit [Remote host closed the connection]
sk87 has joined #ruby
maximski has joined #ruby
<tobago> I was not able to describe my requirement correctly.
<tobago> jhass, it should be refused.
<roolo> Guys do you know some plugin for YARD completion in vim?
Stalkr^ has quit [Ping timeout: 272 seconds]
kirun has joined #ruby
<jhass> tobago: so as apeiros said it's {2,} not {3,}
zono has joined #ruby
<tobago> jhass, yes. thank you so much for your time.
reset has joined #ruby
RaCx has joined #ruby
LekeFly has joined #ruby
kobain has joined #ruby
saarinen has joined #ruby
_maes_ has joined #ruby
craigp has joined #ruby
scarolan has joined #ruby
ringaroses has joined #ruby
browndawg has quit [Read error: Connection timed out]
supersym has quit [Quit: WeeChat 0.4.3]
coderdad has joined #ruby
reset has quit [Ping timeout: 244 seconds]
phantomtiger has joined #ruby
coderdad has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
coderdad has joined #ruby
_maes_ has quit [Client Quit]
browndawg has joined #ruby
tjr9898 has joined #ruby
_maes_ has joined #ruby
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skammer has joined #ruby
dblessing has quit [Quit: dblessing]
m1lt0n has quit [Quit: leaving]
terence has quit [Quit: Page closed]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
phantomtiger has quit [Ping timeout: 244 seconds]
phantomtiger has joined #ruby
nszceta has joined #ruby
gja has quit [Client Quit]
lxsameer has quit [Quit: Leaving]
mlpinit has joined #ruby
Speed has joined #ruby
gnagno has joined #ruby
Symbiosisz has quit [Quit: Leaving]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Symbiosisz has joined #ruby
amritanshu__RnD has quit [Quit: Leaving]
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
meatherly has joined #ruby
Matriks has quit [Remote host closed the connection]
zachallett has joined #ruby
lmickh has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
enebo has quit [Quit: enebo]
yasushi has joined #ruby
krz has joined #ruby
sski has quit [Remote host closed the connection]
rm_ has joined #ruby
sski has joined #ruby
bluOxigen has joined #ruby
anarang has quit [Quit: Leaving]
blueOxigen has quit [Read error: Connection reset by peer]
f3ttX] has joined #ruby
<matti> ;]
axl_ has quit [Quit: axl_]
burlyscudd has joined #ruby
snath has quit [Ping timeout: 246 seconds]
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
thomasxie has left #ruby [#ruby]
sski has quit [Ping timeout: 264 seconds]
posu has joined #ruby
sailias has joined #ruby
kpshek has quit []
mansi_ has quit [Quit: Leaving...]
havenwood has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
kpshek has joined #ruby
mansi_ has joined #ruby
MattStratton has joined #ruby
rudisimo has joined #ruby
dblessing has joined #ruby
JasmeetQA has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
obs__ has joined #ruby
obs_ has quit [Ping timeout: 244 seconds]
zcreative has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
kayamm has quit [Quit: part]
momomomomo has joined #ruby
jlast has joined #ruby
lukec has joined #ruby
ultraflash3 has joined #ruby
Mongey has joined #ruby
IceDragon has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
maximski has quit []
mikepack has joined #ruby
deens has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has quit [Ping timeout: 244 seconds]
fgo has joined #ruby
jetblack_ has joined #ruby
mwmnj has joined #ruby
LekeFly has joined #ruby
ultraflash3 has quit [Ping timeout: 246 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
xerox357 has joined #ruby
axl_ has joined #ruby
kitak has quit [Remote host closed the connection]
davidcollom_ is now known as davidcollom
kitak has joined #ruby
xerox357 has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
jetblack has quit [Ping timeout: 264 seconds]
xerox357 has joined #ruby
ta9to has quit [Ping timeout: 244 seconds]
deens has quit [Ping timeout: 246 seconds]
enebo has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
fgo has quit [Ping timeout: 246 seconds]
mwmnj has quit [Client Quit]
jibi has joined #ruby
mwmnj has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
RaCx has quit [Quit: Computer has gone to sleep.]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
xerox357 has quit [Read error: Connection reset by peer]
xerox357 has joined #ruby
robbyoconnor has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
xerox357 has quit [Remote host closed the connection]
xerox357 has joined #ruby
kcombs has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
jlast has quit [Remote host closed the connection]
vpretzel has joined #ruby
jlast has joined #ruby
mikesplain has joined #ruby
interactionjaxsn has joined #ruby
jobewan has joined #ruby
JZTech101 has quit [Quit: Now what?]
camilasan has quit [Remote host closed the connection]
xaq has joined #ruby
dweeb has quit [Write error: Broken pipe]
lewix has joined #ruby
camilasan has joined #ruby
ndrei has joined #ruby
jlast has quit [Ping timeout: 244 seconds]
[ROOT]XxNeoLiTHi has joined #ruby
<[ROOT]XxNeoLiTHi> hi all, is there a simpler shorter way to do this hash to array transform: http://pastebin.com/tmPnBSX2
<apeiros> [ROOT]XxNeoLiTHi: use map
tagrudev has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
<apeiros> >> { 1=>25, 2=>30, 5=>100 }.map { |k,v| {"device"=> k.to_s, "diskImage" => {"capacity" => v.to_s}} }
<eval-in___> apeiros => [{"device"=>"1", "diskImage"=>{"capacity"=>"25"}}, {"device"=>"2", "diskImage"=>{"capacity"=>"30"}}, {"device"=>"5", "diskImage"=>{"capacity"=>"100"}}] (https://eval.in/105540)
Hobogrammer has quit [Quit: さようなら]
sentinal8473 has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> saves on variable
mjc__ is now known as mjc_
<pontiki> ooo, eval-in___ has a loooong tail
mengu has joined #ruby
<apeiros> <insert dick jokes>
Ziarkaen has joined #ruby
<pontiki> :(
jlast has joined #ruby
<apeiros> ok, then not
ndrei has quit [Ping timeout: 272 seconds]
browndawg has left #ruby [#ruby]
mengu has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
msmith_ has joined #ruby
Klumben has joined #ruby
reset has joined #ruby
browndawg has joined #ruby
zumba_addict has joined #ruby
Vovko has joined #ruby
sailias has quit [Quit: Leaving.]
aryaching_ has quit [Ping timeout: 264 seconds]
<[ROOT]XxNeoLiTHi> dont grab that cat by the tail
Celm has joined #ruby
browndawg has quit [Client Quit]
ndrei has joined #ruby
Celm has quit [Remote host closed the connection]
browndawg has joined #ruby
Advocation has joined #ruby
<[ROOT]XxNeoLiTHi> it might pee on you :-/
slava_dp has joined #ruby
reset has quit [Ping timeout: 272 seconds]
<slava_dp> hi, is there a library for webdav?
dangerousdave has joined #ruby
kevind has joined #ruby
rayners has joined #ruby
enriclluelles has joined #ruby
browndawg has quit [Client Quit]
sailias has joined #ruby
phutch1ns has joined #ruby
sailias has quit [Client Quit]
mojjojo has quit [Quit: mojjojo]
poguez_ has joined #ruby
<pontiki> what does rubygems.org say?
thams has quit [Quit: thams]
burlyscudd has quit [Quit: Leaving.]
<ericwood> it says "hi"
sailias has joined #ruby
<pontiki> o/
fgo has joined #ruby
failshell has joined #ruby
sambao21 has joined #ruby
evenix has joined #ruby
Vovko has quit [Remote host closed the connection]
axl_ has quit [Read error: Connection reset by peer]
davidcollom is now known as davidcollom_
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
aryaching has joined #ruby
DraZoro has joined #ruby
m1lt0n has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
BackEndCoder has joined #ruby
Celm has joined #ruby
axl_ has joined #ruby
BWStearns has joined #ruby
p8952 has joined #ruby
LekeFly has quit [Ping timeout: 264 seconds]
mforrester has joined #ruby
mansi_ has quit [Remote host closed the connection]
slava_dp has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 482 seconds]
yasushi has quit [Remote host closed the connection]
craigp has quit [Remote host closed the connection]
xerox357_ has joined #ruby
DraZoro has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
bal has quit [Quit: bal]
kayamm has joined #ruby
ndrei has joined #ruby
monkegjinni has quit [Remote host closed the connection]
obs__ has quit [Ping timeout: 264 seconds]
pigzzcanfly has joined #ruby
apeiros has quit [Remote host closed the connection]
davidcollom_ is now known as davidcollom
xerox357 has quit [Ping timeout: 244 seconds]
axl_ has quit [Ping timeout: 246 seconds]
lukec has quit [Quit: lukec]
JasmeetQA has quit [Quit: Leaving.]
mansi_ has joined #ruby
terrellt has quit [Read error: Connection reset by peer]
mansi_ has quit [Remote host closed the connection]
terrellt has joined #ruby
saarinen has quit [Quit: saarinen]
obs__ has joined #ruby
mansi_ has joined #ruby
fedesilva has joined #ruby
Xeago_ has joined #ruby
JasmeetQA has joined #ruby
RaCx has joined #ruby
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burlyscudd has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
Naoe-Kanno has joined #ruby
SHyx0rmZ has quit [Ping timeout: 244 seconds]
gnagno has quit [Quit: Ex-Chat]
Xeago has quit [Ping timeout: 245 seconds]
eichenwald has joined #ruby
MrJoshua has quit [Quit: MrJoshua]
robbyoconnor has quit [Ping timeout: 272 seconds]
chipotle_ has joined #ruby
einarj has quit [Remote host closed the connection]
vpretzel_ has joined #ruby
lolmaus has joined #ruby
deens has joined #ruby
Solnse has joined #ruby
chipotle has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
blaxter_ has quit [Ping timeout: 240 seconds]
gaussblurinc has quit [Quit: Leaving.]
yfeldblum has joined #ruby
vpretzel has quit [Ping timeout: 272 seconds]
mansi_ has quit [Remote host closed the connection]
LiohAu has joined #ruby
mansi_ has joined #ruby
xaq has quit [Remote host closed the connection]
deens has quit [Ping timeout: 264 seconds]
Ziarkaen has quit [Ping timeout: 264 seconds]
Es0teric has joined #ruby
<LiohAu> can anybody explain me why the $stderr output is : "result : 0" but the line after the "if" is executed in the following code : http://pastebin.com/EpBQTENM ?
diegoviola has joined #ruby
havenwood has quit [Ping timeout: 244 seconds]
v0n has joined #ruby
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 244 seconds]
<abunchofdollarsi> LiohAu, 0 is true in ruby.
RaCx_ is now known as RaCx
Es0teric has quit [Remote host closed the connection]
obs__ has quit [Write error: Broken pipe]
yfeldblum has quit [Ping timeout: 246 seconds]
<LiohAu> abunchofdollarsi: ?
_tpavel has quit [Quit: Leaving]
havenwood has joined #ruby
mansi_ has quit [Ping timeout: 244 seconds]
<abunchofdollarsi> if 0 then puts "hello" end
jack_rabbit has joined #ruby
<[ROOT]XxNeoLiTHi> only nil and false are false values I think
jerius has quit [Ping timeout: 264 seconds]
<tobiasvl> yes
<tobiasvl> "falsey"
<tobiasvl> any other values are truthy
gregf has quit [Quit: WeeChat 0.4.3]
jerius has joined #ruby
nathancahill has joined #ruby
tobago has quit [Remote host closed the connection]
<jhass> LiohAu: hard to tell what query returns but you're probably searching for .empty? (String#empty?, Array#empty? or Hash#empty?)
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
mnms_ has quit [Ping timeout: 265 seconds]
eka has joined #ruby
koell has joined #ruby
obs has joined #ruby
<jhass> LiohAu: if you got activesupport in your environment there's also .present? to avoid the negations
mansi_ has joined #ruby
geopet has joined #ruby
lewix has quit [Remote host closed the connection]
budrose has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
Uranio has joined #ruby
camilasan has quit []
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
asteros has joined #ruby
msmith_ has quit [Remote host closed the connection]
<Uranio> hi there, quietness here today...
krz has quit [Quit: WeeChat 0.4.3]
budrose has joined #ruby
angusiguess has joined #ruby
LekeFly has joined #ruby
msmith_ has joined #ruby
LekeFly has quit [Max SendQ exceeded]
sriehl has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
LekeFly has joined #ruby
blaxter_ has joined #ruby
hfp is now known as hfp`away
lethjakman has joined #ruby
larissa has joined #ruby
Xeago has joined #ruby
Sammael has joined #ruby
burlyscudd has quit [Quit: Leaving.]
griffindy has joined #ruby
heftig has quit [Quit: Quitting]
v4n has quit [Quit: leaving]
ahawkins has quit [Remote host closed the connection]
reset has joined #ruby
IceDragon has joined #ruby
xaq has joined #ruby
angusiguess has quit [Ping timeout: 244 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
mnms_ has joined #ruby
angusiguess has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
yasushi has joined #ruby
snath has joined #ruby
asteros has quit [Quit: asteros]
reset has quit [Ping timeout: 246 seconds]
Speed has joined #ruby
apeiros has joined #ruby
burlyscudd has joined #ruby
acrussell has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
lewix has joined #ruby
ninegrid has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
mikepack has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 264 seconds]
Speed has left #ruby ["WeeChat 0.4.3"]
Shidash has joined #ruby
andy has joined #ruby
kpshek has quit []
jmau5 has quit [Remote host closed the connection]
Kilo`byte has quit [Read error: Connection reset by peer]
aganov has quit [Quit: Leaving]
rm_ has quit [Ping timeout: 244 seconds]
fgo has joined #ruby
tvw has quit []
jerius has joined #ruby
phansch has joined #ruby
plexus_ has quit [Ping timeout: 264 seconds]
rm_ has joined #ruby
enriclluelles has quit [Remote host closed the connection]
elimS has joined #ruby
<havenwood> Ruby 2.1.1 yesterday JRuby 1.7.11 today! What tomorrow?!
<havenwood> Uranio: Everyone is probably staring at their sparkly new Rubies.
fgo has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
jonah_k has joined #ruby
railsmagnet has left #ruby [" ....."]
<shevy> 1.9.3 forever!
<havenwood> shevy: :P
<havenwood> shevy: you mean until a year from now minus a day
<havenwood> shevy: no more maintenance patches on 1.9.3 henceforth. on its last leg till EOL.
lurch_ has quit [Quit: lurch_]
<shevy> who needs maintenance patches
<shevy> debian surely does not!
dhoss_ is now known as dhoss
<havenwood> ha
dhoss is now known as stonecolddevin
bluenemo has quit [Remote host closed the connection]
xerox357_ has quit [Remote host closed the connection]
<havenwood> shevy: the time is now for 2.1.1!
<havenwood> shevy: best stable release ever
<havenwood> shevy: EVER!!!
<shevy> I'd have to abandon my favourite editor :(
brandonjmckay has joined #ruby
CaptainJet has joined #ruby
ebwise has joined #ruby
bean has joined #ruby
thumpba has joined #ruby
gregf has joined #ruby
lethjakman has quit [Ping timeout: 272 seconds]
<shevy> Lately I have noticed a strange pattern
philcrissman has joined #ruby
<shevy> when I work or change something in a method, I often put the method down at the bottom of that .rb file
xerox357 has joined #ruby
elimS has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
kevind_ has joined #ruby
<Uranio> havenwood: because of that, I have thinking an stable and latest backport
momomomomo has quit [Quit: momomomomo]
<Uranio> UPS! wrong channel
DaniG2k has joined #ruby
nszceta has quit [Remote host closed the connection]
<Uranio> havenwood: because the latest download a install it the best and funnies part of ruby
vpretzel_ is now known as vpretzel
kevind has quit [Ping timeout: 244 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<Uranio> shevy: who is you favorite editor?
yasushi has quit [Write error: Broken pipe]
<shevy> Uranio bluefish 1.0.7
<Uranio> for ruby?
asteros has joined #ruby
<shevy> no
<shevy> for editing files
kevind_ is now known as kevind
<shevy> :)
<Uranio> oh...
momomomomo has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
<shevy> sublime comes only semi-close
<Kelgors> sublimtext
<Uranio> I expend a good part of my life looking for the all-in-one editor and after 4 month learning Vim... get it
<shevy> bluefish 2.x was a massive downgrade so it is unusable
burlyscudd has quit [Quit: Leaving.]
<shevy> vim plays tricks on your mind
<Uranio> and whawt about geany?
<shevy> you start to think in vim
<shevy> geany is like never finished
<Uranio> but usable?
bhaak has quit [Ping timeout: 252 seconds]
<shevy> well
<shevy> everything is *usable*
<Uranio> I hear that for very Big files is very good
yfeldblum has joined #ruby
<shevy> but if I could use geany, I could use sublime because sublime is better
jerius_ has joined #ruby
<Uranio> agree
mikepack has quit [Ping timeout: 272 seconds]
pietr0 has joined #ruby
yano has quit [Write error: Connection reset by peer]
obs has quit [Remote host closed the connection]
<shevy> my biggest file is a 13MB textfile. bluefish 1.0.7 has a bug in parsing, it takes about 30 seconds to load it (in the background)
mikepack_ has joined #ruby
<Uranio> but in my Pentium-2 with 64 MB Ram is almost unusable :D
willb1 has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
<shevy> when you disable colour addition, opening it goes in like an instant
<shevy> *colour parsing
<Uranio> :-P then prefer to use mc
lurch_ has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
<shevy> the only real drawback of gtk based editors is that they are not useful over ssh
hamakn has quit [Remote host closed the connection]
<shevy> then I have to use vim :(
<Uranio> gvim & vim
bhaak has joined #ruby
<shevy> gvim is awful
<shevy> it's a joke really
ItSANgo has quit [Ping timeout: 240 seconds]
lurch_ has quit [Client Quit]
<shevy> "hey guys we have a GUI now HAR HAR HAR HAR *evil laughter here*"
<Uranio> xD
angusiguess has quit [Ping timeout: 244 seconds]
<shevy> and it is slower than vim
<Uranio> yeee
<Uranio> specially with biggest files
<shevy> I dont know who uses gvim
<shevy> vim beats gvim hands down
sambao21 has joined #ruby
<Uranio> jsut like vim
<shevy> well
momomomomo has quit [Ping timeout: 244 seconds]
<shevy> if you can only ssh connect, you have less choice
lbwski_ has quit [Quit: leaving]
<shevy> vim vs. emacs vim wins
<shevy> nano vs vim ... close :)
<Uranio> technical K.O.
lbwski has joined #ruby
<shevy> lol
Advocation has quit [Quit: Advocation]
vipinj has joined #ruby
<Uranio> I prefer vim in a terminal, SSH or not
Vovko has joined #ruby
razrunelord has joined #ruby
<shevy> well
<Uranio> specailly after read "A byte of Vim" (book)
<[ROOT]XxNeoLiTHi> *cough* emacs ftw
<shevy> you dont have much choice when you use ssh
blackmesa has quit [Quit: WeeChat 0.4.3]
ItSANgo__ has joined #ruby
<Uranio> vim motions ins slow SSH really help so much
<shevy> my favourite alias in vim was to use q for quit
<Uranio> and what about text replacing?
<Uranio> is really usefull type req. and place require ''
<Uranio> like the super snippet plugin
the_mentat has quit [Excess Flood]
bhaak has quit [Ping timeout: 252 seconds]
v0n has quit [Ping timeout: 272 seconds]
ultraflash3 has joined #ruby
Hobogrammer has joined #ruby
andikr has quit [Remote host closed the connection]
bhaak has joined #ruby
kpshek has joined #ruby
nolic has joined #ruby
obs has joined #ruby
the_mentat has joined #ruby
the_mentat has quit [Excess Flood]
asteros_ has joined #ruby
deens has joined #ruby
<epochwolf> Are $1, $2, etc from regex thread safe?
<epochwolf> Similarly, is $! thread safe.
<Hanmac1> epochwolf: idont think so
sailias has quit [Quit: Leaving.]
ultraflash3 has quit [Ping timeout: 244 seconds]
<epochwolf> Hanmac1: that would be my guess. I've been trying to figure it out for awhile but I ahven't had the time to set up a test.
<Hanmac1> $1-$9 might be even not scope safe ..
sailias has joined #ruby
phansch has joined #ruby
the_mentat has joined #ruby
willb1 has joined #ruby
ItSANgo__ has quit [Ping timeout: 264 seconds]
asteros has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 272 seconds]
lyanchih has quit [Ping timeout: 272 seconds]
asteros_ is now known as asteros
jmau5 has joined #ruby
Voodoofish430 has joined #ruby
aspires has joined #ruby
Slavox is now known as Slavox|AFK
deens has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
aagdbl has joined #ruby
yano has joined #ruby
binaryhat has joined #ruby
Krajsnick has joined #ruby
moneydouble has joined #ruby
<moneydouble> Can someone explain the ! after some methods like on Strings?
rdark has quit [Quit: leaving]
mforrester has quit [Quit: Leaving]
<jhass> moneydouble: it indicates a certain dangerousnes. In Ruby core they usually are the self modifying variant of their non-bang versions
<moneydouble> Like, whats the difference between capitalize and capitalize!
LekeFly has quit [Quit: Textual IRC Client: www.textualapp.com]
TMM has quit [Quit: Ex-Chat]
<moneydouble> hmm. So when would be a different use case for each of capitalize?
<Mon_Ouie> >> a = "foo"; a.capitalize!; a
<eval-in___> Mon_Ouie => "Foo" (https://eval.in/105575)
Advocation has joined #ruby
<Mon_Ouie> While a.capitalize would just return the result without changing a
DaniG2k has quit [Quit: leaving]
robbyoconnor has joined #ruby
<epochwolf> Hanmac1: https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L55 looks like it's thread local for $! and friends, and scope local for $1 https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L169
ndrei has quit [Ping timeout: 272 seconds]
<moneydouble> ah ok thanks jhass
axl_ has joined #ruby
<moneydouble> and Mon_Ouie
VTLob has joined #ruby
dweeb has joined #ruby
ephemerian has left #ruby [#ruby]
<Mon_Ouie> For example, if you have a method that takes a string as an argument and need to capitalize it, you shouldn't mutate it so you'd use `capitalize`
<jhass> moneydouble: also note that most bang methods in core return nil when they don't change anything, so take care if you chain them with other methods (generally just don't chain them)
dweeb has quit [Client Quit]
MattStratton has quit [Quit: Textual IRC Client: www.textualapp.com]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<Hanmac1> moneydouble: another info: never ever chain methods with ! behind eachother:
<Hanmac1> >> "".chomp.to_s
<eval-in___> Hanmac1 => "" (https://eval.in/105576)
<Hanmac1> >> "".chomp!.to_s
<eval-in___> Hanmac1 => "" (https://eval.in/105577)
<Hanmac1> >> "".chomp!
<eval-in___> Hanmac1 => nil (https://eval.in/105578)
MattStratton has joined #ruby
<Mon_Ouie> nil.to_s is nil too :p
<Mon_Ouie> "" too*
shaileshg has quit [Quit: Connection closed for inactivity]
burlyscudd has quit [Quit: Leaving.]
posu has quit [Quit: This computer has gone to sleep]
spyderman4g63 has joined #ruby
<Mon_Ouie> (and all normal objects have to_s which they'd inherit from Object#to_s anyway)
mcls has quit [Quit: Lingo - http://www.lingoirc.com]
kenneth has joined #ruby
moted has joined #ruby
nvrch has quit [Quit: nvrch]
<moneydouble> hmm
lethjakman has joined #ruby
mojjojo has joined #ruby
burlyscudd has joined #ruby
brandonjmckay has quit [Read error: Connection reset by peer]
pushpak has joined #ruby
brandonjmckay has joined #ruby
Es0teric has joined #ruby
no6 has joined #ruby
jmau5 has quit [Remote host closed the connection]
pushpak has quit [Client Quit]
phansch has quit [Quit: WeeChat 0.4.2]
ndrei has joined #ruby
blackmesa has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roolo has quit [Quit: Leaving...]
pfg has joined #ruby
Uranio has quit [Remote host closed the connection]
Vovko has quit []
sikor_sxe has quit [Ping timeout: 265 seconds]
jmau5 has joined #ruby
timonv has quit [Remote host closed the connection]
Vovko has joined #ruby
axl_ has quit [Quit: axl_]
tvw has joined #ruby
zono has quit [Quit: zono]
reset has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
mlpinit has joined #ruby
wallerdev has joined #ruby
Dorf has joined #ruby
Dorf has quit [Changing host]
Dorf has joined #ruby
no0code has joined #ruby
obs_ has joined #ruby
davidcollom is now known as davidcollom_
obs has quit [Write error: Broken pipe]
yfeldblum has quit [Remote host closed the connection]
obs_ has quit [Client Quit]
hamakn has joined #ruby
hiyosi has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
axl_ has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
mikepack_ has quit [Remote host closed the connection]
<newton> what's the syntax instance.(...) typically used for?
mikepack has joined #ruby
lukec has joined #ruby
reset has quit [Ping timeout: 244 seconds]
jack_rabbit has quit [Ping timeout: 244 seconds]
<newton> I know this is calling on 'call', but is this a different kind of call then block.call?
mojjojo has quit [Quit: mojjojo]
<jhass> that's a shorthand for instance.call(...)
<jhass> no
<Azure> Psych 2.0.4 seems to segfault Ruby 2.1.1 for me on OS X 10.9.
<Azure> http://pastie.org/8780239 crashlog
<newton> jhass: does instance.call traditionally have a specific use?
<newton> er, i.call(...)
thams has joined #ruby
barratt has quit [Read error: Operation timed out]
jprovazn has quit [Quit: Odcházím]
<slowcon> newton: you have an example?
<jhass> somewhat, Ruby core defines it on Proc, and in the Rack interface it's the main entry point
greenarrow has quit [Quit: 500]
mikecmpbll has joined #ruby
jkamenik has joined #ruby
centrx has joined #ruby
<newton> slowcon: example of jbuilder using it https://github.com/rails/jbuilder/blob/master/lib/jbuilder.rb#L256
hiyosi has quit [Ping timeout: 272 seconds]
enriclluelles has joined #ruby
nszceta has joined #ruby
nszceta has quit [Remote host closed the connection]
RaCx has joined #ruby
rainmanjam has joined #ruby
meatherly has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 272 seconds]
subbyyy_ has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
olivier_bK has quit [Ping timeout: 244 seconds]
posu has joined #ruby
sailias has quit [Remote host closed the connection]
Davey has quit [Quit: ZNC - http://znc.in]
craigp_ has joined #ruby
Davey has joined #ruby
SCommette has joined #ruby
pwh has quit []
sailias has joined #ruby
olivier_bK has joined #ruby
msmith_ has quit [Remote host closed the connection]
fgo has joined #ruby
vongrippen has quit [Quit: No Ping reply in 180 seconds.]
vongrippen has joined #ruby
jmau5 has quit [Remote host closed the connection]
pel_daniel has joined #ruby
msmith_ has joined #ruby
aryaching has quit [Quit: Sayonara ^_^]
sambao21 has quit [Quit: Computer has gone to sleep.]
nolic has quit [Quit: Lost terminal]
Kricir has joined #ruby
larissa has quit [Quit: Leaving]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aspiers> can anyone suggest a good way of tracing calls to Kernel#load just for debugging a particular issue?
poulson has quit [Read error: Connection reset by peer]
<aspiers> I was trying monkey-patching but no luck so far (obviously wouldn't use that in production!)
lmickh has quit [Remote host closed the connection]
dANOKELOFF has quit []
meatherly has joined #ruby
momomomomo has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
meatherly has quit [Remote host closed the connection]
sambao21 has joined #ruby
momomomomo has quit [Client Quit]
internet_user has joined #ruby
meatherly has joined #ruby
asteros_ has joined #ruby
xaq has quit [Remote host closed the connection]
aryaching has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
timonv has joined #ruby
nomenkun_ has quit [Remote host closed the connection]
asteros has quit [Ping timeout: 246 seconds]
asteros_ is now known as asteros
timonv has quit [Read error: Connection reset by peer]
<zellio> So, I'm trying to test some code with rspec and $stderr.stub(:write) isn't supressing like I expect it to BUT redefining $stderr is
pietr0 has quit [Quit: pietr0]
<zellio> ( $stderr = StringIO.new works but $stderr.stub(:write) doesn't , thoughts? )
timonv has joined #ruby
<zellio> The errors are being produced by load '...' if that helps
mlpinit has quit [Read error: Connection reset by peer]
meatherly has quit [Ping timeout: 244 seconds]
mlpinit has joined #ruby
jmau5 has joined #ruby
pietr0 has joined #ruby
failshel_ has joined #ruby
<centrx> aspiers, You might use Tracer or TracePoint
banister has joined #ruby
timonv_ has joined #ruby
carraroj has joined #ruby
<aspiers> centrx: thanks I'll take a look
iliketur_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
centrx has quit [Quit: All this computer hacking is making me thirsty]
iliketur_ has quit [Client Quit]
enriclluelles has quit [Remote host closed the connection]
centrx has joined #ruby
centrx has quit [Remote host closed the connection]
f3ttX] has quit [Ping timeout: 272 seconds]
kevinykc_ has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
failshell has quit [Ping timeout: 244 seconds]
rainmanjam has quit [Remote host closed the connection]
centrx has joined #ruby
msmith_ has quit [Remote host closed the connection]
razibog has joined #ruby
Dorf2 has joined #ruby
Dorf has quit [Read error: Connection reset by peer]
tfittsy has quit [Read error: Connection reset by peer]
gyKa_ has joined #ruby
gyKa has quit [Read error: Connection reset by peer]
kevinykchan has quit [Ping timeout: 264 seconds]
Dorf2 has left #ruby [#ruby]
dkamioka_ has joined #ruby
interact_ has joined #ruby
phutch1n1 has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
lethjakm1 has joined #ruby
interactionjaxsn has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 244 seconds]
devdazed has quit [Read error: Connection reset by peer]
mwmnj has quit [Ping timeout: 244 seconds]
AlexRussia has quit [Remote host closed the connection]
marr123 has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
danshultz has quit [Read error: Connection reset by peer]
SirFunk has quit [Ping timeout: 244 seconds]
eregon has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
decoponyo has joined #ruby
mikeg has joined #ruby
tfitts has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
Kricir has joined #ruby
rmorello_ has joined #ruby
lbwski has quit [Read error: Connection reset by peer]
claymore has quit [Excess Flood]
Karu has quit [Ping timeout: 244 seconds]
claymore has joined #ruby
lethjakman has quit [Ping timeout: 244 seconds]
phutch1ns has quit [Ping timeout: 244 seconds]
trhodes_ has joined #ruby
ndrei has joined #ruby
kaliya has quit [Quit: Lost terminal]
rmorello has quit [Ping timeout: 244 seconds]
trhodes has quit [Ping timeout: 244 seconds]
* Azure opened an issue on the bugtracker.
burlyscudd has quit [Quit: Leaving.]
decoponio has quit [Ping timeout: 244 seconds]
pranny has joined #ruby
i_s has joined #ruby
nakadai_ has joined #ruby
Karu has joined #ruby
lukec has quit [Quit: lukec]
Lightsta1ker has joined #ruby
BWStearn2 has joined #ruby
phansch has joined #ruby
ctp has joined #ruby
pranny has quit [Client Quit]
klaut has quit [Remote host closed the connection]
phansch has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
chihhsin_cloud has joined #ruby
chihhsin_cloud has quit [Client Quit]
chihhsin_cloud has joined #ruby
baroquebobcat has joined #ruby
binaryhat has quit [Quit: Leaving]
Spami has joined #ruby
<aspiers> centrx: tracer was 0.0.1 and not very inspiring, and I couldn't see how to trace arguments with tracepoint (ditto with #set_trace_func)
alvaro_o has joined #ruby
<aspiers> centrx: in the end I figured out how to monkey patch (module Kernel ... plus alias_method)
mikecmpbll has joined #ruby
SirFunk has joined #ruby
deens has joined #ruby
rayners has quit [Remote host closed the connection]
Es0teric has quit [Remote host closed the connection]
<banister> aspiers sup guy
rickruby has quit [Remote host closed the connection]
v0n has joined #ruby
rickruby has joined #ruby
<aspiers> hi banister, long time :)
ctp_ has quit [Ping timeout: 272 seconds]
Kelgors has quit [Ping timeout: 272 seconds]
matthalliday has joined #ruby
ctp has quit [Ping timeout: 264 seconds]
pranny has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
omegahm has quit [Excess Flood]
bricker_ has joined #ruby
matthalliday has quit [Client Quit]
<banister> aspiers ya, what's this tracer you're working on? sounds cool
mojjojo has joined #ruby
<aspiers> banister: nah, was just looking for a quick way to trace Kernel#load
workmad3 has quit [Ping timeout: 244 seconds]
<centrx> Tracer is part of the standard library
macclearich has joined #ruby
<banister> centrx really? how do i use it?
dangerousdave has joined #ruby
ace_striker has joined #ruby
ace_striker is now known as Guest49547
deens has quit [Ping timeout: 244 seconds]
<centrx> Tracer.on and Tracer.off
<centrx> or ruby -r tracer
ohcibi has quit [Excess Flood]
mikepack has quit [Remote host closed the connection]
browndawg has quit [Write error: Broken pipe]
maZtah has quit [Write error: Broken pipe]
tommyblue has quit [Write error: Broken pipe]
mikee has quit [Write error: Broken pipe]
bricker has quit [Write error: Broken pipe]
BWStearns has quit [Write error: Broken pipe]
dkamioka has quit [Write error: Connection reset by peer]
interact_ has quit [Excess Flood]
iliketur_ has joined #ruby
axl_ has quit [Ping timeout: 279 seconds]
kenneth has quit [Ping timeout: 279 seconds]
Voodoofish430 has quit [Ping timeout: 279 seconds]
Sammael has quit [Ping timeout: 279 seconds]
mikepack has joined #ruby
Kricir has quit [Remote host closed the connection]
guilleiguaran has quit [Ping timeout: 279 seconds]
xbob has quit [Ping timeout: 279 seconds]
Faris has quit [Ping timeout: 279 seconds]
sputnik13 has quit [Ping timeout: 279 seconds]
lmickh has joined #ruby
radic has quit [Ping timeout: 279 seconds]
Angelous has quit [Ping timeout: 279 seconds]
bmn has quit [Ping timeout: 279 seconds]
joshwines has quit [Ping timeout: 279 seconds]
halfie has quit [Ping timeout: 279 seconds]
ws2k3_ has quit [Ping timeout: 279 seconds]
bluehavana has quit [Ping timeout: 279 seconds]
radic has joined #ruby
tedstriker has quit [Ping timeout: 279 seconds]
`MArceLL` has quit [Ping timeout: 279 seconds]
ws2k3__ has joined #ruby
bmn has joined #ruby
interactionjaxsn has joined #ruby
joshwines has joined #ruby
Voodoofish430 has joined #ruby
xbob has joined #ruby
meatherly has joined #ruby
Matriks has joined #ruby
mehlah_ has joined #ruby
george2|chakra has joined #ruby
Guest49547 is now known as ace_striker
ace_striker has quit [Changing host]
ace_striker has joined #ruby
gl- has quit [Remote host closed the connection]
mehlah has quit [Excess Flood]
george2 has quit [Excess Flood]
phansch has joined #ruby
bluehavana_ has joined #ruby
phansch has quit [Client Quit]
pranny has quit [Quit: Leaving.]
ValicekB has quit [Excess Flood]
dachi has quit [Excess Flood]
pranny has joined #ruby
justinxreese has quit [Ping timeout: 983 seconds]
nakadai has quit [Remote host closed the connection]
ptierno has quit [Remote host closed the connection]
Lightstalker has quit [Remote host closed the connection]
msch has quit [Remote host closed the connection]
rootshift has joined #ruby
tommyblue has joined #ruby
eregon has joined #ruby
ptierno has joined #ruby
Faris has joined #ruby
`MArceLL` has joined #ruby
halfie has joined #ruby
dachi has joined #ruby
Angelous has joined #ruby
justinxreese has joined #ruby
guilleiguaran has joined #ruby
msch has joined #ruby
JasmeetQA has quit [Ping timeout: 272 seconds]
jds has joined #ruby
ptierno is now known as Guest14870
gnephiak has quit [Quit: Konversation terminated!]
btriley has joined #ruby
ohcibi has joined #ruby
jmau5 has quit [Ping timeout: 264 seconds]
davidcollom_ is now known as davidcollom
mocfive has joined #ruby
rainmanjam has joined #ruby
Kricir has joined #ruby
soheil has joined #ruby
moneydouble has quit [Quit: Leaving.]
depesz has joined #ruby
cloud|nix has joined #ruby
<depesz> have problem with time and timezones: https://depesz.privatepaste.com/217ce46918
mikepack_ has joined #ruby
<depesz> why does it show timezone as GMT in the first example?
<centrx> "Guy Steele leads a small team of researchers in Burlington, Massachusetts, who are taking on an enormous challenge-- create a programming language better than Java."
Azulinho has quit [Ping timeout: 246 seconds]
<vpretzel> ......
<vpretzel> What a troll of the masses.
jrist_ has joined #ruby
devdazed has joined #ruby
mikee has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
m1lt0n has quit [Quit: leaving]
<centrx> >> Time.parse('2014-02-20 08:39:01').strftime('%Y-%m-%d %H:%M:%S %Z')
<eval-in___> centrx => undefined method `parse' for Time:Class (NoMethodError) ... (https://eval.in/105594)
mikepack_ has quit [Remote host closed the connection]
<centrx> >> require 'time'; Time.parse('2014-02-20 08:39:01').strftime('%Y-%m-%d %H:%M:%S %Z')
<eval-in___> centrx => "2014-02-20 08:39:01 CET" (https://eval.in/105595)
gl- has joined #ruby
<centrx> >> require 'time'; Time.parse('2014-02-20 08:39:01 UTC').strftime('%Y-%m-%d %H:%M:%S %Z')
<eval-in___> centrx => "2014-02-20 08:39:01 UTC" (https://eval.in/105596)
<depesz> my host is configured to use UTC
mikepack_ has joined #ruby
<depesz> so I get UTC in the first example.
<depesz> but why not in 2nd?
<centrx> What version of Ruby are you using?
timonv_ has quit [Remote host closed the connection]
btriley has left #ruby [#ruby]
<depesz> 1.8.7
omegahm has joined #ruby
Celm has quit [Remote host closed the connection]
no0code has quit [Quit: Lost terminal]
mikepack has quit [Ping timeout: 244 seconds]
<jhass> 1.8.7 is out of support, please upgrade
v0n has quit [Quit: WeeChat 0.4.3]
<shevy> long live 1.8.7!
yfeldblum has joined #ruby
<depesz> yeah. we'll see
rainmanjam has quit []
<depesz> checked on 1.9.3, and indeed, it works correctly
philcris_ has joined #ruby
v0n has joined #ruby
sriehl has quit [Quit: Textual IRC Client: www.textualapp.com]
ValicekB_ has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
decoponyo has quit [Quit: Leaving...]
<shevy> that was one of the fastest upgrades I have ever seen
S0da has joined #ruby
<depesz> i didn't upgrade. i checked on another host
<centrx> depesz, So it works on 1.9, 2.0, and 2.1
Faris has quit [Ping timeout: 246 seconds]
lukec has joined #ruby
<depesz> centrx: ok. have to upgrade. will talk with admins
ValicekB_ is now known as ValicekB
BackEndCoder has quit [Ping timeout: 246 seconds]
aaronmcadam has quit [Ping timeout: 246 seconds]
ilyam has joined #ruby
rm_ has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 264 seconds]
rm_ has joined #ruby
nanoyak has joined #ruby
Celm has joined #ruby
Shidash has quit [Ping timeout: 264 seconds]
chrisseaton has quit []
plexus_ has joined #ruby
oso|away is now known as oso96_2000
noopq has joined #ruby
deens has joined #ruby
pranny has quit [Quit: Leaving.]
coderdad has quit [Remote host closed the connection]
RaCx has joined #ruby
tomshafer has joined #ruby
reset has joined #ruby
jmau5 has joined #ruby
rainmanjam has joined #ruby
olivier_bK has quit [Ping timeout: 272 seconds]
bleak has joined #ruby
msmith_ has joined #ruby
Es0teric has joined #ruby
no6 has quit [Remote host closed the connection]
Olipro has joined #ruby
rm_ has quit [Ping timeout: 244 seconds]
tomshafer has quit [Client Quit]
philcrissman has joined #ruby
deens has quit [Remote host closed the connection]
Faris has joined #ruby
hiyosi has joined #ruby
JasmeetQA has joined #ruby
mwmnj has joined #ruby
philcri__ has joined #ruby
wald0 has joined #ruby
philcris_ has quit [Ping timeout: 244 seconds]
mojjojo has quit [Quit: mojjojo]
retnuh has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 264 seconds]
philcris_ has joined #ruby
tgkokk has joined #ruby
philcris_ is now known as philcrissman_
philcrissman has quit [Ping timeout: 244 seconds]
nichtdiebohne1 is now known as nichtdiebohne
jtdowney has joined #ruby
doodleha_ has joined #ruby
rayners has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
philcrissman has joined #ruby
philcri__ has quit [Ping timeout: 264 seconds]
Olipro has quit [Excess Flood]
Olipro has joined #ruby
Olipro has quit [Changing host]
Olipro has joined #ruby
doodlehaus has quit [Ping timeout: 246 seconds]
philcrissman_ has quit [Ping timeout: 244 seconds]
tjr9898 has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
budrose has quit [Remote host closed the connection]
rainmanjam has quit [Remote host closed the connection]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
rootshift has joined #ruby
rainmanjam has joined #ruby
bricker_ is now known as bricker
deens has joined #ruby
rainmanjam has quit [Client Quit]
SloggerKhan has quit [Ping timeout: 240 seconds]
philcris_ has joined #ruby
rainmanjam has joined #ruby
BadQuanta has joined #ruby
felixjet_ has quit [Quit: Leaving]
echevemaster has quit [Read error: Connection reset by peer]
felixjet has joined #ruby
drager has joined #ruby
msmith_ has quit []
jbueza has joined #ruby
<drager> Hello, I have some trouble getting an error; `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
lele has joined #ruby
klaut has joined #ruby
mansi_ has quit [Remote host closed the connection]
Sammael has joined #ruby
<jhass> fix the server you're connecting to :P (or get an openssl with SNI support if that's the issue)
philcrissman has quit [Ping timeout: 244 seconds]
mansi has joined #ruby
mark_locklear has joined #ruby
<drager> Well hm
philcrissman has joined #ruby
<drager> my url is googles push server
mansi has quit [Read error: Connection reset by peer]
whomp has joined #ruby
mavcunha has joined #ruby
<whomp> how can i do something like "0 < num < 10"?
<whomp> without "0 < num && num < 10"
mansi has joined #ruby
codeFiend has joined #ruby
sigurding has joined #ruby
barratt has joined #ruby
<jhass> (0..10).include? num
ctp has joined #ruby
philcri__ has joined #ruby
<whomp> meh... alright
<whomp> thx
<jhass> oh or num.between? 0, 10 actually
philcris_ has quit [Ping timeout: 272 seconds]
nrezinorn has joined #ruby
<centrx> #between?
rm_ has joined #ruby
<drager> jhass: https://android.googleapis.com/gcm/send is the url
octarine has quit [Ping timeout: 245 seconds]
<whomp> that's tight
armyriad has quit [Quit: Leaving]
philcris_ has joined #ruby
philcrissman has quit [Ping timeout: 244 seconds]
<shevy> .include? is easier thinking
failshel_ has quit []
msmith_ has joined #ruby
<centrx> BETWEEN is well-defined
emptyflask has joined #ruby
philcri__ has quit [Ping timeout: 244 seconds]
mostlybadfly has quit [Ping timeout: 245 seconds]
octarine has joined #ruby
<jhass> drager: still betting on old OpenSSL without SNI support
jeregrine has quit [Ping timeout: 240 seconds]
coderdad has joined #ruby
<slowcon> hey guys. im using phantomjs for headless browsing. im at the part of my script where Im trying to download a file. the documentation for the gem (http://watirwebdriver.com/browser-downloads/) says its very easy to bypass download dialogs by creating a profile for the browser. wondering how I can achieve this with a phantomjs. Correct me if im wrong, the way i see it is that the headless browser
<slowcon> wont create any prompt because there is no user interaction. so i need to try to pull the link created by javascript and then access it directly?
<jhass> drager: oh, actually it hands out a wildcard cert, for googleapis.com. Got confused because that IP redirected to google.com. So second bet is that whatever you use can't find / doesn't set your system CA bundle
nanoyak has quit [Quit: Computer has gone to sleep.]
mostlybadfly has joined #ruby
braincrash has quit [Quit: bye bye]
thams has quit [Quit: thams]
SloggerKhan has joined #ruby
<drager> jhass: Hm
RaCx_ has joined #ruby
RaCx_ has quit [Remote host closed the connection]
ace_striker has quit [Quit: Leaving]
RaCx_ has joined #ruby
momomomomo has joined #ruby
jeregrine has joined #ruby
philcrissman has joined #ruby
thams has joined #ruby
jtdowney has quit []
maximski has joined #ruby
braincrash has joined #ruby
cloud|nix has quit [Ping timeout: 264 seconds]
RaCx has quit [Ping timeout: 272 seconds]
marr123 has quit [Ping timeout: 272 seconds]
RaCx_ is now known as RaCx
korzybski has joined #ruby
Vivekananda has joined #ruby
philcris_ has quit [Ping timeout: 244 seconds]
davidcollom is now known as davidcollom_afk
vlad_starkov has joined #ruby
msmith_ has quit []
gja has joined #ruby
timonv has joined #ruby
jmau5_ has joined #ruby
lkba has joined #ruby
kapowaz has quit [Ping timeout: 245 seconds]
maZtah has joined #ruby
momomomomo has quit [Quit: momomomomo]
retnuh has joined #ruby
vpretzel_ has joined #ruby
chrisseaton has joined #ruby
stryek has quit [Ping timeout: 246 seconds]
jmau5 has quit [Ping timeout: 240 seconds]
kapowaz has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
ultraflash3 has joined #ruby
alex88 has quit [Quit: Leaving...]
vpretzel has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
jeregrine has quit [Ping timeout: 246 seconds]
rdark has joined #ruby
razibog has quit [Quit: Leaving.]
rainmanjam has quit [Remote host closed the connection]
enriclluelles has joined #ruby
benlieb has joined #ruby
shadoi has quit [Quit: Leaving.]
enriclluelles has quit [Read error: Connection reset by peer]
brandonjmckay has quit [Remote host closed the connection]
enriclluelles has joined #ruby
carlyle has joined #ruby
rezzack has joined #ruby
lethjakm1 is now known as lethjakman
jeregrine has joined #ruby
aboudreault has quit [Ping timeout: 264 seconds]
Krajsnick has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
tylersmith has joined #ruby
tylersmith has quit [Client Quit]
ultraflash3 has quit [Ping timeout: 246 seconds]
doodleha_ has quit [Ping timeout: 246 seconds]
scarolan has quit [Ping timeout: 264 seconds]
subbyyy_ has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
Krajsnick has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
<sigurding> hi all, I am coming from Java and have some short questions: my first is, what are the pendants to packages? Modules?
rubyracer has joined #ruby
phantomtiger has quit [Quit: phantomtiger]
<centrx> sigurding, pendants ?
MattStratton has quit [Quit: Textual IRC Client: www.textualapp.com]
<canton7> assuming we're familiar with java :P what is a java package?
<centrx> Ja...va....?
<sigurding> centrx: when I have a class, let's say restClient and in other classes I want to use this class, how do I import it?
<apeiros> centrx: equivalent
<canton7> is it a namespace? group of namespaces? distributable bundle of code?
<apeiros> sigurding: I think there's no direct equivalent
pigzzcanfly has joined #ruby
<apeiros> sigurding: libraries are packaged up as gems
jtdowney has joined #ruby
<apeiros> a gem can consist of any number of files, usually a lib dir with classes and modules
<apeiros> modules serve as namespace
<apeiros> (classes too, since Class subclasses Module)
chrisja has joined #ruby
<sigurding> centrx: yes Java, the language which was taken at Twitter after failing with ruby :)
<apeiros> sigurding: that's a rather uninformed and wrong statement :-p
kenneth has joined #ruby
<apeiros> a) they use the jvm, not java, b) they still use ruby
<apeiros> (well, maybe they use java too, given that most jvm languages provide ways to use java libs)
<sigurding> apeiros: they use scala, ok
reset has joined #ruby
<sigurding> but you answered the question yourself. Most libs behind scala are still written in java
npearson has joined #ruby
<sigurding> and taking a look at github, I would guess they are actually using java
razibog has joined #ruby
<apeiros> sigurding: also, it's ruby which allowed them to grow that quickly :-p
<sigurding> but anyway not the point currently
<sigurding> apeiros: no question
<sigurding> I am not here do discuss that.
<sigurding> best language/tool for a specific approach
ikaros has quit [Quit: Ex-Chat]
<sigurding> :)
<sigurding> apeiros: so if I have two classes, how do I use one class in the other?
pitzips has joined #ruby
<sigurding> is there no specific import necessary?
chipotle_ has quit [Ping timeout: 244 seconds]
<toretore> ruby only has `require`, which loads a file
nanoyak has joined #ruby
<toretore> anything defined in that class is then available
burlyscudd has joined #ruby
<sigurding> okay, got that
Astralum has joined #ruby
<sigurding> next question: what I am trying next is to consume a REST endpoint
chipotle has joined #ruby
fedesilva has quit [Ping timeout: 264 seconds]
<sigurding> from Java I know, that I created classes on the client side, which then get mapped into objects, after a successful request
MattStratton has joined #ruby
nata79 has joined #ruby
<sigurding> would I build those objects in ruby as well?
<toretore> no
<toretore> you do an http request, receive some json and parse that json into a hash
<sigurding> toretore: so as ruby is dynamic, it takes care
stryek has joined #ruby
subbyyy_ has joined #ruby
<toretore> anything beyond that is optional
v0n has quit [Ping timeout: 246 seconds]
<toretore> it doesn't take care of anything
<sigurding> toretore: k, let's face the optional. is it best practise to convert the response into a predefined object?
<toretore> it depends
<sigurding> on..?
<toretore> i don't think you'll find many rubyists doing that by default
<sigurding> and what's against it?
nata79 has quit [Remote host closed the connection]
<toretore> sometimes it's unnecessary
<toretore> sometimes it makes your code cleaner
aboudreault has joined #ruby
<toretore> it depends
mlpinit has quit [Remote host closed the connection]
rm_ has quit [Remote host closed the connection]
<apeiros> it depends on what you want to do with it
<sigurding> ok, so I could do it, but it's no common
pfg has quit [Quit: Textual IRC Client: www.textualapp.com]
<sigurding> I want clean code :)
<apeiros> I think it's neither common nor uncommon
rm_ has joined #ruby
<apeiros> it's just case dependent
phansch has joined #ruby
iliketur_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<toretore> if you're writing a big app with lots of interdependent objects, then it could be beneficial
maximski has quit []
<apeiros> the more you work with the data, the more sense it makes to convert it into "proper" classes
<jhass> you don't get clean code by trying to find "I have general thing A so I have to do general solution X"
<toretore> it you're just writing a script to get some json and process it, it's unnecessary
<toretore> if you ask an fp fanboy he'll tell you you never need to add abstractions to your data
heftig has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
mehlah_ has quit [Quit: Leaving...]
gja has quit [Quit: This computer has gone to sleep]
<sigurding> ok, seems reasonable
endless_walrus has joined #ruby
maximski has joined #ruby
fedesilva has joined #ruby
rm__ has joined #ruby
noopq has quit [Ping timeout: 246 seconds]
rm_ has quit [Read error: No route to host]
crazysim has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<sigurding> how do you handle your app structure regarding model entities?
<sigurding> do you put them into separate folders?
pfg has joined #ruby
<apeiros> sigurding: you usually map files to module/class names
<apeiros> Foo::BarBaz belongs into either foo/barbaz.rb (ruby convention) or foo/bar_baz.rb (rails convention)
axsuul has joined #ruby
<sigurding> apeiros: below lib?
<jhass> I think the rails convention is much more popular these days, even in pure ruby projects
<apeiros> yes
<apeiros> jhass: possible
caveat- has quit [Ping timeout: 245 seconds]
<apeiros> personally, I stopped caring. I find neither good anyway :)
Vivekananda has quit [Read error: Connection reset by peer]
* certainty returns from a day of clojure
<sigurding> apeiros: means I would handle it that way: modules: model, rest, utils
<jhass> apeiros: what would be yours if you could define it?
<apeiros> sigurding: it's generally a good idea to wrap everything in a toplevel namespace, usually your app's name
<apeiros> e.g. YourApp::SomeModel, YourApp::SomeClass
<apeiros> jhass: lossless mapping: Foo/BarBaz.rb
<apeiros> I haven't heard a single reason other than taste (which is acquired anyway) against it
coderdad has quit []
<jhass> hm, yeah taste. I don't like capital letters in filenames for some reason
<whomp> i want to forward calls from one class to another using method_missing. how can i do that using the passed in parameters: m, args, and block?
RaCx has quit [Quit: Computer has gone to sleep.]
geggam has joined #ruby
<jhass> whomp: @target.public_send(m, *args, &block) but have a look at delegate in stdlib
<slowcon> any of your guys familiar with watir-webdriver?
<apeiros> jhass: it's easier to not use the shift-key? :)
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<jhass> apeiros: maybe but then I've no problem with typing class SomeClass
<apeiros> jhass: +1 for public_send
<apeiros> jhass: acquired taste…
<jhass> probably
burlyscudd has quit [Quit: Leaving.]
<apeiros> I disliked 2 space indentation when I started ruby
iliketurtles has joined #ruby
<apeiros> now I dislike everything *but* 2 space indentation
<sigurding> apeiros: so that would not be the way to go: https://gist.github.com/jhiemer/9216126 even if projects get bigger and more complex?
<jhass> apeiros: and spreading public_send is on my secret agenda for about 1 1/2 years :P
f3ttX] has joined #ruby
caveat- has joined #ruby
<apeiros> sigurding: as said, add a toplevel namespace. but other than that, yes.
mikecmpbll has quit [Quit: i've nodded off.]
yarou has quit [Remote host closed the connection]
<apeiros> lib/yourapp/…structure you had below lib, here instead…
hiyosi has joined #ruby
<slowcon> im trying to view all the a tags on the website to verify if the headless browser is loading the javascript link to scrape. when i do web.links i get an #<Watir::AnchorCOllection:" how can i view them though?
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
<toretore> jhass, apeiros: i think it stems from the time when there were case-insensitive filesystems
<apeiros> jhass: yeah, it's sad it got added so late
<apeiros> toretore: doesn't make much sense IMO
<apeiros> toretore: if it's case insensitive, it doesn't matter how you write it
<toretore> yeah
yarou has joined #ruby
emptyflask has quit []
<apeiros> i.e., while it wouldn't help, it wouldn't hurt
<jhass> hm, i don't remember, isn't ntfs still case insensitive even?
<apeiros> but well… I guess if it doesn't help, it made no sense to put in the effort
<whomp> jhass, thx :)
<sigurding> apeiros: ok
<toretore> though i have to say Foo/BarBaz.rb looks somewhat "foreign" to me
<toretore> windowsy
<apeiros> beyond DOS' old FS (what was it again?) is there actually any case insensitive FS still around?
dkamioka_ is now known as dkamioka
<apeiros> toretore: I'll repeat - acquired :-p
<toretore> sure
<apeiros> 3 weeks and it'd be the most normal thing on earth
<toretore> i prefer camelCase in code over under_scores
<apeiros> ok, maybe 3 months. don't know how long it takes to get used to such stuff.
geopet has quit []
Waheedi has joined #ruby
<Waheedi> what does this mean? EM reactor doesn't seem to be running, will fire it up
<Waheedi> something related to eventmachine
<Waheedi> i know
<toretore> the em reactor isn't running, so it's firing it up
<Waheedi> yes does that mean it started after firing it up
<toretore> it would help with some context ;)
<Waheedi> or it didn't?
oso96_2000 is now known as oso|away
geopet has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<Waheedi> maybe it didnt
<Waheedi> :)
<toretore> you're using some lib that depends on em, but you didn't start the reactor yourself
<toretore> start the reactor == EM.run{ your code here }
alexherbo2 has joined #ruby
tjr9898 has joined #ruby
crus has joined #ruby
<apeiros> slowcon: you'd read Watir::AnchorCollection's docs?
Notte has joined #ruby
<apeiros> slowcon: alternatively (if you're in pry) you could do `ls Watir::AnchorCollection's` and see which methods might help
einarj has joined #ruby
asteros has quit [Quit: asteros]
<apeiros> slowcon: most likely it has a .each and includes Enumerable, though.
maximski has quit []
<slowcon> apeiros: yeah thats what happened, listed back enum
hiyosi has quit [Ping timeout: 272 seconds]
tjr9898 has quit [Remote host closed the connection]
DanBoy has joined #ruby
diegoviola has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
craigp_ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
asteros has joined #ruby
joelroa has joined #ruby
bbloom has joined #ruby
posu has left #ruby ["Leaving"]
fgo has joined #ruby
<jokke> hello
dodosan has joined #ruby
flowerhack has joined #ruby
v0n has joined #ruby
flowerhack is now known as hoypriest
<jokke> i get this error lately everytime i run any gem: https://paste.jreinert.com/Gu7DcZ/
<jokke> any ideas?
nata79 has joined #ruby
<jhass> don't install rvm as root, it's even more madness
<jokke> i need system wide rvm
<slowcon> yeah if you do a sudo install with rvm apparently it messes everything up
Wolland has joined #ruby
<jhass> jokke: check #rvm
coderdad has joined #ruby
<jokke> hm
xaq has joined #ruby
davidcollom_afk is now known as davidcollom
joelroa has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 246 seconds]
mlpinit has joined #ruby
craigp has joined #ruby
marr has joined #ruby
sinm has joined #ruby
sinm has left #ruby [#ruby]
tjr9898 has joined #ruby
<jokke> #rvm is kinda dead.
joelroa has joined #ruby
JZTech101 has joined #ruby
alekst has joined #ruby
dodosan has quit [Remote host closed the connection]
<wmoxam> RVM is kinda dead
* wmoxam runs
<jokke> ok i'm just unpatient
enebo has quit [Quit: enebo]
<jokke> wmoxam: rbenv?
<wmoxam> jokke: it's what I use now
<wmoxam> honestly there isn't a whole lot of difference from an end-user perspective
<jokke> wmoxam: i guess not
<jokke> but rvm is what we use at work
jmau5_ has quit [Remote host closed the connection]
dangerousdave has joined #ruby
maximski has joined #ruby
lw has quit [Quit: s]
vlad_starkov has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
deens has quit [Remote host closed the connection]
mehlah has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
<alekst> question about deploying to heroku. I've run into this problem after I installed the newest version of the heroku toolbelt. If I use the heorku command, I get this: https://gist.github.com/alekst/9216474 I'm running on OSX 10.9.1 with ruby 2.1.1p76 and Rails 4.0.3 with RVM. I reinstalled rvm, updated ruby from 2.0.0. Using postgresql 9.3. for development. Any ideas?
kcombs has quit [Remote host closed the connection]
tjr9898 has joined #ruby
blaxter_ has quit [Quit: foo]
xaq has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 264 seconds]
jpierre03 has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
xbob has quit []
kevinykc_ has quit [Quit: Computer has gone to sleep.]
<jokke> rvm fix-permissions did the trick
davidcollom is now known as davidcollom_
jpierre03 has joined #ruby
stryek has quit [Ping timeout: 264 seconds]
<havenwood> rvm is alive and well, also rvm2 - though i do chruby!
enriclluelles has quit [Remote host closed the connection]
<pontiki> chruby.. chruby.. shattered shattered
Hobogrammer has joined #ruby
<havenwood> pontiki: JRuby 1.7.11 is out! ruby-install jruby 1.7.11
jonah_k has quit []
zeade has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<slowcon> apeiros: i got it! web.link(:id => 'dlbutton').href
<havenwood> shims.. bah humbug! :P
asteros has quit [Quit: asteros]
tgkokk has quit [Quit: Textual IRC Client: www.textualapp.com]
VictorSK has joined #ruby
VictorSK_ has joined #ruby
<alekst> jokke didn't seem to help/
DrShoggoth has joined #ruby
nata79 has quit [Remote host closed the connection]
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
thams has quit [Quit: thams]
s2013 has joined #ruby
jph98 has joined #ruby
mlpinit has quit [Remote host closed the connection]
<s2013> is there a difference btween (2..5).to_a and 2.upto(5).to_a ?
<centrx> Internally there is
<havenwood> s2013: in the result, no - but one begins as a Range and the other an Enumerator.
mlpinit has joined #ruby
<s2013> yeah i meant internally.. is one more efficient?
<centrx> Probably insignificant difference. Use Benchmark to find out
nanoyak has joined #ruby
<s2013> o alright
VictorSK has quit []
VictorSK_ is now known as VictorSK
mary5030 has quit [Remote host closed the connection]
shaileshg has joined #ruby
VictorSK has quit [Quit: VictorSK]
<centrx> Actually looks like the Range version is twice as fast
<centrx> But that's over ten million iterations
plexus_ has quit [Ping timeout: 246 seconds]
tjr9898 has joined #ruby
<Hanmac1> centrx: what about: [*2..5] ?
<slowcon> hows it goin centrx
axsuul has joined #ruby
<apeiros> centrx: you know, twice as fast should be twice as fast over ten iterations just as over ten billion billion iterations ;-)
stryek has joined #ruby
<centrx> Yes :)
<centrx> It's just so fast with 1 iteration
<centrx> slowcon, Feliciations, good sir.
doodlehaus has quit []
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
<centrx> Hanmac1, Faster than upto but still almost twice as slow as Range#to_a
vpretzel_ is now known as vpretzel
jglover has joined #ruby
nisstyre_ has joined #ruby
RaCx has joined #ruby
aspires has quit []
jglover has left #ruby [#ruby]
<centrx> Ruby 2.1 is 20% faster at the upto and the splat though
goldgoldgold has joined #ruby
mehlah has quit [Quit: Leaving...]
<goldgoldgold> I want to have my website in Rails but my API in sinatra. Does that seem easy enough
Krajsnick has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
elaptics is now known as elaptics`away
<goldgoldgold> i haven't worked with Rails before, but I have a lot of sinatra experience
Krajsnick has joined #ruby
<s2013> goldgoldgold, .why?
<s2013> it doesnt even make sense
davidcollom_ is now known as davidcollom
<jhass> goldgoldgold: you can just mount other Rack applications in Rails router. Check #rubyonrails for everything beyond that
<goldgoldgold> jhass:got it. Thanks man.
<sigurding> what do you think of using ActiveModel to use it with Json?
<goldgoldgold> s2013: sinatra is very very very fast at handling API requests
rdark has quit [Quit: leaving]
<s2013> yeah but i mean if you already have all the logic, just do it in rails. unless you only need access to db or external resources then sinatra is fine
<s2013> i build apis with sinatra but thats for stuff that doesnt rely on any rails things
Kricir has quit [Remote host closed the connection]
<goldgoldgold> s2013: its literally just a database access API
<goldgoldgold> but speed is really important
<s2013> if its just the db, you dont need to worry about logic
<s2013> then sinatra is fine
<s2013> but if you need to worry about authentication and bunch of other crap
ephemerian has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<goldgoldgold> s2013: oh absolutely. I would never use Sinatra for auth
<s2013> you can also look into RABL
<goldgoldgold> thats exactly why I'm switching the website to Rails
mlpinit has quit [Remote host closed the connection]
prc has joined #ruby
<goldgoldgold> Has rails got quite a steep learning curve? I'd like to hand the migration off to a trustworthy intern.
Krajsnick has quit [Remote host closed the connection]
<s2013> eh. if you are familiar with sinatra and ruby its not too bad
nathancahill has quit [Quit: nathancahill]
<s2013> are you familiar with mvc paradigm?
pushpak has joined #ruby
maximski has quit []
<goldgoldgold> s2013: yep
<goldgoldgold> quite so
npearson has quit [Remote host closed the connection]
<s2013> then yeah you are fine
quatron has joined #ruby
<goldgoldgold> excellent
<s2013> you can probably pick up the basics in couple of days
sputnik1_ has joined #ruby
<shevy> huh
cgore has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
npearson has joined #ruby
<s2013> if you have rails questions you can join us at #rubyonrails goldgoldgold
<goldgoldgold> I'm pretty impressed with the fact that rails has support for embedding rack apps.
Kricir has joined #ruby
<goldgoldgold> s2013: I will after I've taken a look.
<jhass> well, rails is a rack app itself, so it's not that hard
sambao21 has quit [Quit: Computer has gone to sleep.]
<goldgoldgold> jhass: still. It's pretty cool.
mlpinit_ has joined #ruby
<shevy> huh
<s2013> shevy, huh
<shevy> a rails app is something that responds to call
thumpba has quit [Remote host closed the connection]
rh1n0 has joined #ruby
rudisimo has quit [Remote host closed the connection]
goldgoldgold has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<shevy> there was something odd today I noticed
<shevy> one tutorial for a "middleware" is basically doing .upcase
Mon_Ouie has quit [Ping timeout: 244 seconds]
enape_101 has joined #ruby
<shevy> that is like unix pipes
rudisimo has joined #ruby
npearson has quit [Remote host closed the connection]
thumpba has joined #ruby
<enape_101> Been tyring to get this working for a week now, any help would be awesome! http://stackoverflow.com/questions/22025283/how-to-get-amazon-flex-pay-working-with-selfstarter
npearson has joined #ruby
banister has joined #ruby
jonah_k has joined #ruby
<shevy> so why is it called something fancy, a "middleware" - it's just a filter in pipe processing!
rickruby has quit [Remote host closed the connection]
fedesilv_ has joined #ruby
bean has quit [Quit: Textual IRC Client: www.textualapp.com]
rickruby has joined #ruby
<jhass> not quite, you can do things before and after the thing you wrap
<jhass> so it goes A -> B -> C -> B -> A instead of just A -> B -> C
<shevy> ok so it's a long pipe
maximski has joined #ruby
<shevy> cat * |nl | grep | nl
* shevy pipes pipework into jhass
<jhass> that'd be A1 -> B1 -> C -> B2 -> A2
<shevy> hahahaa :D
Mongey has quit [Quit: Mongey]
gja has quit [Quit: This computer has gone to sleep]
lujasagi has joined #ruby
mikepack_ has quit [Remote host closed the connection]
* pipework hypes shevy into using nodejs
<shevy> omg
<shevy> javascript
<shevy> WHY
rainmanjam has joined #ruby
jph98 has quit [Quit: jph98]
<pipework> Because middleware is more native to CS than pipes.
<pipework> Much to my chagrin.
fedesilva has quit [Ping timeout: 264 seconds]
<shevy> CS?
rudisimo has quit [Ping timeout: 246 seconds]
<sigurding> is there any option to parse this json response into a valid object: https://gist.github.com/jhiemer/9217111
<pipework> sigurding: Sure.
<sigurding> pipework: how?
<pipework> sigurding: Probably with a JSON parser.
<shevy> sigurding, tried JSON.parse() ?
rickruby has quit [Ping timeout: 246 seconds]
mehlah has joined #ruby
scarolan has joined #ruby
<sigurding> shevy: yes, but afterwards it only offers me this style: parsed["content"]
RaCx has joined #ruby
RaCx has quit [Remote host closed the connection]
<shevy> what do you mean with style
<shevy> I mean what do you want it to be instead
<pipework> sigurding: A hash is a valid object.
<pipework> So is a string for that matter.
<sigurding> shevy: Ok, let me explain. I am coming from a different language background (java)
gja has joined #ruby
<sigurding> there you are able to say objectMapper(json, Entity.class);
<pipework> sigurding: So, ruby can basically do that if you should want. But most people just convert the JSON to a hash and call klass_name.new(jsonified_hash)
gja has quit [Changing host]
gja has joined #ruby
<sigurding> afterwards you have an object of type Entity with all it's getters and setters
lw has joined #ruby
<shevy> so basically you want a hash -> struct converter
<shevy> I see
<shevy> but you have a hash already, yes?
RaCx has joined #ruby
serp` has joined #ruby
<jhass> sigurding: don't search for patterns you know right now, just accept what ruby gives you
<sigurding> shevy: yes
<sigurding> jhass: I am not searching for it, I am just asking. :-)
<jhass> sigurding: Look into what alternatives there once what you currently have is insufficient
<sigurding> and there are samples with ActiveRecord out there, which seems to go towards this direction
<jhass> *there are
peterhu has joined #ruby
maximski has quit [Ping timeout: 264 seconds]
peterhu has quit [Quit: leaving]
benlieb has quit [Quit: benlieb]
yacks has quit [Quit: Leaving]
<jhass> ignore ActiveRecord for now if you want to learn Ruby, AR part of Rails
<shevy> sigurding ok let's see
casheew_ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<sigurding> shevy: great, waiting for your suggestions :)
soahccc has quit [Ping timeout: 252 seconds]
<sigurding> jhass: I understand your advice, but I would like to do it right from the beginning, without continuous refactoring, after each new learning-step was reached
flori has quit [Ping timeout: 252 seconds]
soahccc_ has joined #ruby
<shevy> sigurding,
jph98 has joined #ruby
<shevy> >> require 'ostruct'; hash = { :abc => "foo", :def => "ghi"};x = OpenStruct.new hash; x.def
<eval-in___> shevy => "ghi" (https://eval.in/105609)
krnflake has quit [Ping timeout: 252 seconds]
Authenticator has quit [Ping timeout: 252 seconds]
<pipework> sigurding: Are you sure you want a struct, or do you just want an instance of a concrete class with the attributes?
flori_ has joined #ruby
jmau5 has joined #ruby
<jhass> sigurding: I think you shouldn't, trying to learn everything there is upfront is doomed to fail
asteros has joined #ruby
kitak has quit [Remote host closed the connection]
<sigurding> pipework: just an instance of concrete class
<sigurding> jhass: maybe
<shevy> sigurding does it work?
nanashiRei has quit [Ping timeout: 252 seconds]
kitak has joined #ruby
<pipework> sigurding: klass_name.new(hashified_json)
<sigurding> let me try that
<pipework> An openstruct isn't what you want then.
<pipework> Nor is a struct.
sirecote has quit [Ping timeout: 252 seconds]
matti has quit [Ping timeout: 252 seconds]
nanashiReii has joined #ruby
hiyosi has joined #ruby
RaCx has quit [Ping timeout: 244 seconds]
Authenti1ator has joined #ruby
enape_101 has quit [Ping timeout: 244 seconds]
Kricir has quit [Remote host closed the connection]
Rixius has joined #ruby
claymore has quit [Ping timeout: 244 seconds]
nanashiReii is now known as nanashiRei
nanashiRei has quit [Changing host]
nanashiRei has joined #ruby
<sigurding> pipework: for the structure, would I defined a Link Class etc.?
<pipework> sigurding: Whatever makes you happy.
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
ekarlso has quit [Ping timeout: 252 seconds]
jkamenik has left #ruby [#ruby]
Solnse has quit [Quit: Leaving.]
oso|away is now known as oso96_2000
aagdbl has quit [Quit: Leaving]
ekarlso has joined #ruby
<toretore> MyClass.new(json_hash) is pretty good advice. this way you have all the data and you can make your class do whatever you want with it
RaCx has joined #ruby
bricker has quit [Quit: leaving]
hiyosi has quit [Ping timeout: 244 seconds]
<apeiros> MyClass.json(json_hash) if you want to put the parsing into the class too
<sigurding> pipework: hm, but content is of a generic type...
<sigurding> pipework: that would be my initial suggestion: https://gist.github.com/jhiemer/9217293
<sigurding> but I guess, that's not right
f3ttX] has quit [Quit: Lost terminal]
<apeiros> sigurding: class Link can be written shorter as just: `class Link; attr_accessor :rel, :href; end`
krnflake has joined #ruby
<apeiros> attr_accessor creates those methods for you
<toretore> sigurding: stop thinking that everything has to be a class
claymore has joined #ruby
npearson has quit [Remote host closed the connection]
<toretore> java solves every problem with a new class
_bart has joined #ruby
<pipework> toretore: Ruby can too!
npearson has joined #ruby
<toretore> sure
sirecote has joined #ruby
<toretore> can
<apeiros> toretore: while I agree that not everything has to be a class, I think that many rubyists tend to work too much with deeply nested array/hash structures instead of proper classes.
george2|chakra is now known as george2
<apeiros> (and I don't come from java, I come from perl…)
<toretore> apeiros: also true. there's a balance between those two
saarinen has quit [Quit: saarinen]
<apeiros> agreed
<shevy> you come from hyperscript man!
<toretore> i come from hyperspace
<shevy> toretore you spawned in hell
<pipework> sigurding: If you define an initialize method that takes a hash and assigns the values to the writer method equivalents of the keys.
<toretore> and i shall rain fire upon you
Advocation has quit [Quit: Advocation]
<toretore> sigurding: you have to experiment for a while, to get to know ruby better, to be able to make decisions like the ones you're asking about
<sigurding> pipework: I am bit confused. Could you provide a sample?
<toretore> nobody can teach you experience
<sigurding> toretore: I know, but I would like to hear pros/cons before
<toretore> you are asking the wrong questions
<sigurding> and I agree with apeiros regarding the nesting of hashes instead of usage of classes
<toretore> because you're asking how to do things you're used to in java
bricker has joined #ruby
<pipework> toretore: Well, datamapper isn't just a java thing.
<toretore> what does datamapper have to do with it?
<toretore> you mean the pattern?
<pipework> His mapping of data to a class
<pipework> Perhaps for eventual persistence or syncing.
lukec has quit [Quit: lukec]
vpretzel has quit [Ping timeout: 246 seconds]
<toretore> focusing on patterns is not very useful
funburn has joined #ruby
<pipework> toretore: I disagree.
<sigurding> toretore: focusing on useful patterns is useful
<sigurding> otherwise they would not be patterns
<pipework> sigurding: What I would do is start out with concrete classes and instantiating them, but eventually refactor to use Structs based on the keys available in the document, possibly setting the struct as a constant.
yfeldblum has quit [Remote host closed the connection]
<shevy> it's good that the patterns hat the word useful next to them
<shevy> *had
<pipework> sigurding: Some people are more against pattern language than others.
saarinen has joined #ruby
<toretore> you don't apply a pattern to solve a problem, the pattern emerges out of the solution if it is the right one
<pipework> The pattern doesn't always emerge. The purpose of the pattern is to remove all but the focal unit of work or the domain of hte problem.
<sigurding> toretore: yes, and mapping data from json to an object makes imho totally sense
<pipework> Whether you let it emerge or you select tools is up to you.
jetblack_ has quit [Ping timeout: 264 seconds]
<apeiros> the __ would be a /, but gist doesn't allow / in filenames
<toretore> sigurding: it *depends*
<toretore> context is everything
<pipework> IT always does
<sigurding> apeiros: already thought you are from the same country :)
fedesilv_ has quit [Remote host closed the connection]
<apeiros> sigurding: I'm not greek, if you mean that :)
<apeiros> though, you seem to be from germany?
<sigurding> yes, that's what I meant
<sigurding> in some way also greek
<pipework> Saying that the only proper use of patterns is by dogmatically waiting for them to emerge is nice and pragmatic, but not the only way.
<pipework> As you said, it depends.
<sigurding> or at least funding the greeks :D
<apeiros> sigurding: lol
top4o has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
reset has quit [Quit: Leaving...]
<sigurding> apeiros: is there a german channel?
Kricir has joined #ruby
<pipework> For special germans?
fedesilva has joined #ruby
<apeiros> sigurding: I think so
<sigurding> pipework: waht are special germans?
<apeiros> #ruby-de or #ruby.de
<sigurding> :)
<apeiros> sadly there seems to be no convention :-(
aspires has joined #ruby
<sigurding> apeiros: not hanging around there?
yfeldblu_ has joined #ruby
<pipework> sigurding: Imo, the key to coming to ruby from java is to leverage your OO knowledge while making great use of what's available in ruby before reaching for other things.
<apeiros> sigurding: no
saarinen has quit [Client Quit]
npearson has quit [Remote host closed the connection]
npearson has joined #ruby
<sigurding> pipework: I accept that. But I must admit I used .NET, PHP a lot besides Java
vlad_sta_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<sigurding> and what I liked a lot in all, were object mapper
saarinen has joined #ruby
jmau5 has quit [Remote host closed the connection]
lukec has joined #ruby
<apeiros> sigurding: you do use ruby 2.1, or at least 2.0, right?
<sigurding> apeiros: right
peterhu has quit [Quit: leaving]
<apeiros> good, otherwise my example wouldn't work
<centrx> PHP is an abomination and a scourge on the face of the earth.
peterhu has joined #ruby
deens has joined #ruby
jonah_k has quit [Remote host closed the connection]
pigzzcanfly has quit [Remote host closed the connection]
RaCx has joined #ruby
<apeiros> why are we talking about that language again?
<pipework> apeiros: centrx just replies with that line everytime someone mentions PHP.
enebo has joined #ruby
<centrx> heh
<sigurding> ;)
jmau5 has joined #ruby
vpretzel has joined #ruby
<apeiros> can't say he was wrong :)
<jhass> I think it's hardcoded into his client
<pipework> It's entertaining!
<shevy> PHP
<pipework> jhass: With varying delay length!
bigawuc has joined #ruby
serp` has quit [Quit: serp`]
<shevy> I think he is forced to type it anew
<shevy> centrx what do you think about PHP
<jhass> maybe it's capped for once in every hour
sambao21 has joined #ruby
<shevy> :(
<shevy> someone broke centrx
asteros has quit [Quit: asteros]
vlad_starkov has quit [Ping timeout: 272 seconds]
<sigurding> apeiros: may I also instantiate a list of classes from a Json hash?
endash has quit [Quit: endash]
ffranz has quit [Ping timeout: 264 seconds]
<sigurding> not classes, I mean entities
<apeiros> you may do whatever you please. I allow you :-p
<apeiros> +to (?)
acl_ has joined #ruby
<toretore> first you must fill out form RB-1245-B
_1_khan2 has joined #ruby
deens has quit [Ping timeout: 246 seconds]
<_1_khan2> rgfhsdb
<sigurding> toretore: Asterix and Obelix in Rom?
<sigurding> :)
<sigurding> apeiros: and how?
philcris_ has joined #ruby
<centrx> sigurding, Use JSON.parse to parse the JSON into Ruby objects?
<_1_khan2> fine
philcris_ is now known as philcrissman_
Giorgio has quit [Ping timeout: 272 seconds]
bigawuc has left #ruby ["Leaving"]
mikepack has joined #ruby
timonv has quit [Remote host closed the connection]
jonah_k has joined #ruby
hamakn has joined #ruby
philcris_ has joined #ruby
mengu has joined #ruby
lewix has quit [Remote host closed the connection]
<pipework> sigurding: Of course you can.
mary5030 has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
<pipework> sigurding: It's a programming language, I'm sure you can figure out both how to turn json into other objects as well as how to parse the json to create more than one object.
philcrissman has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
ctp has quit [Quit: Leaving...]
havenwood has quit [Read error: Connection reset by peer]
philcrissman_ has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
<shevy> sigurding you are talking too much and doing too little!
eichenwald has quit [Quit: Leaving]
lewix has joined #ruby
philcri__ has joined #ruby
<sigurding> holy crap guys, you sound like my mum in former times.. :-)
<shevy> here is how to work this channel:
<shevy> (1) state your input (3) state desired output
oso96_2000 is now known as oso|away
<shevy> and someone here will give you (2)
hamakn has quit [Ping timeout: 272 seconds]
vpretzel has quit [Quit: Adios!]
<shevy> and eventually you won't need anyone else to get to (2)
<apeiros> sigurding: shows how right your mom was
philcris_ has quit [Ping timeout: 244 seconds]
<sigurding> ;)
<shevy> unless you have a question about PATTERNS
<shevy> and how to FactoryGirl.factory_work(Factory.make(:factory)) factory work pattern
<pipework> sigurding: Talk more and do more!
<slash_nick> love patterns... my favorite is boy-girl-boy-girl
<shevy> lol
hidensoft has quit [Ping timeout: 272 seconds]
<shevy> slash_nick what about the boy-boy-boy pattern
<shevy> WAIT
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> I got it
<slash_nick> while it's simple, i don't really see what people see in it
<shevy> slash_nick what about the boy-hipster-boy pattern
<centrx> Damn hipsters.
<shevy> well I don't know what is with pattern anyway but java guys love patterns
ultraflash3 has joined #ruby
_1_khan2 has left #ruby [#ruby]
<shevy> there are so many lines to stare at that a pattern may indeed help
<shevy> + eclipse
ringaroses has quit [Quit: Leaving]
asteros has joined #ruby
philcrissman has quit [Ping timeout: 244 seconds]
byprdct has joined #ruby
xerox357_ has joined #ruby
<shevy> guys :(
<shevy> today marks a truly sad day ...
<shevy> at work I suddenly noticed that in one project I am making use of define_method
<shevy> and some {i = '' thing there
<shevy> and it works in 1.9.x
<shevy> but it does not work in 1.8.x
<shevy> so ... I have to do: s.required_ruby_version = '>= 1.9.1'
<shevy> 1.8.x is indeed dead :(
ffranz has joined #ruby
<RubyPanther> "Ruby 2 is coming, and 1.8 is going away" Yugui, 2011?
Kricir has quit [Remote host closed the connection]
<apeiros> shevy: make that at least >= 1.9.2, if not >= 1.9.3
<apeiros> 1.9.1 was somewhat broken
relix has joined #ruby
sambao21 has joined #ruby
<RubyPanther> 1.9.1 had pluses and minuses
Giorgio has joined #ruby
<RubyPanther> wasn't 1.9.2 the one that didn't work with debuggers?
ninegrid has joined #ruby
xerox357 has quit [Ping timeout: 244 seconds]
<shevy> dunno
mlpinit_ has quit [Quit: Leaving...]
<shevy> ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux]
<shevy> I am still riding the 1.9.x branch
ultraflash3 has quit [Ping timeout: 264 seconds]
korzybski has quit [Quit: korzybski]
philcrissman has joined #ruby
reset has joined #ruby
claymore has quit [Quit: Leaving]
iliketurtles has quit [Quit: zzzzz…..]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rudisimo has joined #ruby
jle` has joined #ruby
klaut has quit []
<sigurding> I still don't get it, that there is not real implementation for you problem yet
<centrx> Quod?
philcri__ has quit [Ping timeout: 244 seconds]
philcrissman has quit [Client Quit]
<shevy> how would you call a class that converts: 02:28:07.97 to 8887 (seconds)
<shevy> sigurding what problem?
mmoretti has joined #ruby
ktosiek has quit [Read error: Connection reset by peer]
<apeiros> shevy: Duration
Jetchisel has joined #ruby
<shevy> hehe
aspires has quit []
<apeiros> shevy: and Duration.parse("02:28:07.97").in_seconds
<shevy> hmm
<apeiros> => 8887
kenneth has joined #ruby
<apeiros> whereas Duration.parse("02:28:07.97").seconds # => 7
SCommette has quit [Quit: SCommette]
rafaelmagu has joined #ruby
evenix has quit [Remote host closed the connection]
mmoretti has quit [Client Quit]
<jokke> hi
<jokke> i'm not very experienced in making gems and i got a NameError in this gem i'm writing
iliketurtles has joined #ruby
<jokke> i get it in a file in bin
<jokke> it requires 'mygemname'
mlpinit has joined #ruby
<jokke> and then tries to instanciate MyGemName::MyClass
kenneth has quit [Ping timeout: 244 seconds]
<jokke> but this fails
<jokke> with uninitialized constant
klaut has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
<toretore> all those lines of text when you could have just pointed to a url whowing your code and the error
mansi has quit [Remote host closed the connection]
<jokke> toretore: you're probably right
ndrei has joined #ruby
mansi has joined #ruby
<shevy> jokke just keep in mind what is important
<toretore> it is about a thousand times easier to read code than to understand someone describing code
<shevy> jokke via require 'foo' you actually do this: require 'foo.rb'
<shevy> jokke so now you must find foo.rb and look why it is not properly loading the other .rb files
npearson has quit [Remote host closed the connection]
<shevy> jokke so in your case ... mygemname.rb
<shevy> is that really the name of your gem? :D
JZTech101 has quit [Quit: Now what?]
npearson has joined #ruby
ktosiek has joined #ruby
JZTech101 has joined #ruby
bean has joined #ruby
npearson has quit [Remote host closed the connection]
npearson has joined #ruby
rickruby has joined #ruby
ekinmur has joined #ruby
endless_walrus has quit [Quit: Textual IRC Client: www.textualapp.com]
kenneth has joined #ruby
deens has joined #ruby
andy has quit [Remote host closed the connection]
ekinmur has quit [Client Quit]
mansi has quit [Ping timeout: 244 seconds]
funburn has quit [Quit: funburn]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
xaq has joined #ruby
kpshek has quit []
davedev24 has quit [Read error: Connection reset by peer]
Matriks has quit []
davedev24 has joined #ruby
<RubyPanther> shevy is afraid of COWs, I think
<RubyPanther> why else use 1.9?
<toretore> jokke: and the error?
xerox357_ has quit [Remote host closed the connection]
Vivekananda has joined #ruby
rickruby has quit [Ping timeout: 244 seconds]
rootshift has quit [Ping timeout: 272 seconds]
xerox357 has joined #ruby
habanany has joined #ruby
<jokke> toretore: ^
habanany1 has joined #ruby
<toretore> are you sure your Dir.glob is working?
<jokke> obviously i'm not sure :D
phat4life has joined #ruby
kpshek has joined #ruby
vpretzel has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
chrisja has quit [Quit: Lost terminal]
OdNairy has quit []
<toretore> i'm guessing it uses cwd and cwd is something else when it gets run
<jhass> it's not because it's relative to your working directory
mlpinit has joined #ruby
<jokke> ah
<jhass> I prefer to write require's out
<toretore> yes, write them out
<toretore> it's much clearer
<jokke> hm ok
meatherly has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
andy has joined #ruby
mansi has joined #ruby
meatherly has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Notte has quit [Remote host closed the connection]
habanany has left #ruby [#ruby]
<toretore> remember that require only requires what's in your $PATH
<jokke> mh
<toretore> so if your lib dir is in path, require 'snappymate/something.rb' would work
<phat4life> is there a way to view firewrites as they happen
<jokke> jkok
<jokke> ok
mavcunha has quit [Ping timeout: 246 seconds]
<jhass> no need for .rb at the end though
<toretore> yeah
<shevy> RubyPanther because of psych
<jokke> the required files have dependencies between eachother
<jokke> that probably is a problem
nata79 has joined #ruby
<bricker> phat4life: tail -f
<toretore> it's not unless it's a circular dependency
<jokke> no its not
<bricker> unless you really mean "firewrites", in which case: wat
<toretore> each file should require the ones it depends on
hiyosi has joined #ruby
<jokke> but i would have to require the dependencies in the files
CpuID has joined #ruby
scttnlsn has joined #ruby
<jokke> yeah
<jhass> jokke: in that case I prefer to require the dependencies in the files using them then
cpruitt has joined #ruby
habanany1 has left #ruby [#ruby]
<shevy> jokke the only real way about dependencies between each other - try to require only what is needed in a given file
burlyscudd has joined #ruby
<toretore> this is only good practise
<jhass> jokke: and don't care about duplicates
burlyscudd has quit [Client Quit]
<jokke> yeah
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
mroth__ is now known as mroth
mroth has quit [Changing host]
mroth has joined #ruby
mroth has quit [Changing host]
mroth has joined #ruby
phantomtiger has joined #ruby
<toretore> this way, if someone only wants to load part of your lib, it will still work
<jokke> yeah
SCommette has joined #ruby
jackneill has quit [Ping timeout: 272 seconds]
retnuh has quit [Read error: Connection reset by peer]
<jokke> in the files it's still 'snappymate/somthing.rb'?
<jokke> or just something.rb?
meatherly has quit [Ping timeout: 244 seconds]
aspires has joined #ruby
<jhass> require 'snappymate/something'
<phat4life> is there a way to see file writes as they happen
<shevy> jokke yes, always start the leading require with the name of your gem
<jokke> uh yeah. meant without the rb
<shevy> jokke yeah keep the .rb
<jhass> jokke: they have to be relative to what's in $LOAD_PATH and for gems that's the lib dir
zachallett has quit [Remote host closed the connection]
<jokke> shevy: why?
<jhass> jokke: as always just ignore shevy
<shevy> jokke: why not?
<jokke> aaargh! :D
<jhass> he's just bored
<shevy> not at all
<shevy> jokke: ignore jhass
<toretore> jokke: require 'snappymate/something' is the correct way
sambao21 has quit [Quit: Computer has gone to sleep.]
<jokke> i know
pigzzcanfly has joined #ruby
<jokke> i mean
<jokke> i know now :D
popl has joined #ruby
popl has joined #ruby
<shevy> there is no correct way
hiyosi has quit [Ping timeout: 244 seconds]
agjacome has quit [Ping timeout: 265 seconds]
lujasagi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> both will work just fine
Faris has quit [Ping timeout: 272 seconds]
shiftins has joined #ruby
OdNairy has joined #ruby
ctp has joined #ruby
rh1n0 has quit [Quit: im out!]
binaryhat has joined #ruby
<shevy> jokke did you write the .gemspec yet?
meatherly has joined #ruby
<jokke> i did
<jokke> or bundler dir
<jokke> *did
vpretzel has quit [Read error: Connection reset by peer]
<shevy> hmmm
<shevy> ah
<shevy> that's what jhass will like
havenwood has quit []
vpretzel has joined #ruby
<jhass> for some reason I dislike the s.version = Gemname::VERSION pattern
<jhass> and bundler does it, so no
nobitanobi has joined #ruby
daveops has quit [Ping timeout: 264 seconds]
<shiftins> is it supported/known functionality that super; forwards along overridden parameters? so if a method signature includes an arg, and the first line of the method overrides that arg, calling super; passes the arg with the overridden value
<shiftins> sorry, that should have ended in a question mark.. ? :D
Solnse has joined #ruby
OdNairy has quit [Client Quit]
Rixius has quit [Quit: Leaving]
<toretore> yes
<shevy> I couldn't even make it to the end
oso|away is now known as oso96_2000
marcdel has joined #ruby
<jhass> well, that means you mutate the object, doesn't it?
<terrellt> shiftins: super == super(*args)
<shevy> but I am glad that toretore understood what was going on
Robbo_ has joined #ruby
<toretore> `super` - passes all args, `super()` - no args
fgo has joined #ruby
<RubyPanther> Why some people hate Ruby 1.9.1: https://gist.github.com/rubypanther/7e1eccfa8b0747c4cc49
<terrellt> Which is gorgeous.
sdouglas has joined #ruby
<apeiros> terrellt: actually, super == super(*args, &block)
burlyscudd has joined #ruby
<apeiros> and super() == super(&block)
burlyscudd has quit [Client Quit]
<terrellt> Fair point. apeiros++
<shiftins> terrellt: thanks, it appears to pick up values that are updated within the method and pass those along, which was surprising
<apeiros> and super(&nil) # only way to suppress passing on a block
<shevy> what is apeiros++ doing, is that fattening him up with chocolate?
pushpak has quit [Quit: Linkinus - http://linkinus.com]
burlyscudd has joined #ruby
sepp2k has joined #ruby
burlyscudd has quit [Client Quit]
<terrellt> Sure.
<toretore> shiftins: changed, as in mutated, or the var reference is changed to a different object?
pigzzcanfly has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
sdouglas has left #ruby ["Textual IRC Client: www.textualapp.com"]
<shiftins> same reference
burlyscudd has quit [Client Quit]
<jhass> hm, I have a bot that would track your karma and nick++ increases it...
marcdel has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<shiftins> which makes sense I suppose.. basically something like: def fn(arg=""); arg="hi"; super; end
<shiftins> that passes "hi"
<apeiros> also worth to note: `super` picks up assignments:
<apeiros> >> class X; def foo(a); p a; end; end; class Y < X; def foo(a); a = 1; super; end; end; Y.new.foo 99
<eval-in___> apeiros => 1 ... (https://eval.in/105614)
xaq has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Notte has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has joined #ruby
<toretore> i didn't know that.. like javascript with `arguments`
ganesh has joined #ruby
Spami has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
rubyracer has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
ganesh is now known as Guest84197
burlyscudd1 has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
lw has quit [Quit: s]
auxbuss_ has quit [Quit: I'm gone.]
auxbuss_ has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
marcdel has joined #ruby
<bricker> coffeescript does that too, automatically passes arguments to super
* bricker contributed to this conversation.
* centrx shines bricker's boots
sdouglass has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
Asher2 has quit [Quit: Leaving.]
<terrellt> He's gonna demand money bricker, run
* bricker throws san in centrx's face
<bricker> sand*
* bricker jumps out the nearest window
jlast has quit [Remote host closed the connection]
* bricker lands on top of moving truck and laughs as he disappears into the morning fog
jlast has joined #ruby
popl has quit [Ping timeout: 272 seconds]
jlast has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby
sailias has quit [Quit: Leaving.]
jlast has joined #ruby
* centrx is now driving the truck
razibog has quit [Ping timeout: 246 seconds]
IceyEC has quit [Quit: IceyEC]
auxbuss_ has left #ruby ["I'm gone."]
auxbuss_ has joined #ruby
andrewhl has joined #ruby
Black-Heaven has joined #ruby
Kricir has joined #ruby
pwh has joined #ruby
burlyscudd has quit [Quit: Leaving.]
sdouglass has quit [Quit: Leaving...]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Es0teric has quit [Remote host closed the connection]
sdouglass has joined #ruby
mengu has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jetblack has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
griffindy has quit [Quit: Computer has gone to sleep.]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
fgo has quit []
cburyta has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Es0teric has joined #ruby
auxbuss_ has quit [Quit: I'm gone.]
drago777 has quit [Ping timeout: 264 seconds]
cburyta_ has joined #ruby
mmoretti has joined #ruby
burlyscudd has joined #ruby
auxbuss_ has joined #ruby
burlyscudd has quit [Client Quit]
marcdel has quit []
burlyscudd has joined #ruby
dingus_khan has joined #ruby
burlyscudd has quit [Client Quit]
BadQuanta has quit [Quit: Leaving.]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
retnuh has joined #ruby
kpshek has quit []
nanoyak has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
CpuID has quit [Ping timeout: 244 seconds]
Voodoofish430 has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
pranny has joined #ruby
rickruby has joined #ruby
Voodoofish430 has joined #ruby
cburyta_ has quit [Ping timeout: 246 seconds]
CorpusCa_ has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
yarou has quit []
burlyscudd has quit [Client Quit]
nanoyak has joined #ruby
<Black-Heaven> Hi all, I'm trying to set up code test environment in Ruby, but I have failed :/ I have this code: http://bpaste.net/show/182740/ (runner.rb) and this code: http://bpaste.net/show/182739/ (tmp.rb), when I launch runner.rb, it works, but it doesn't kill tmp.rb which have forked, I don't know what to do to kill it and all its children. If you have any idea, please tell me, I'll be grateful. Thanks by advance.
Naoe-Kanno has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
retnuh has quit [Read error: Connection reset by peer]
dkamioka has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
ffranz has quit [Ping timeout: 272 seconds]
radic has quit [Ping timeout: 272 seconds]
aryaching_ has joined #ruby
drago777 has joined #ruby
mavcunha has joined #ruby
burlyscudd2 has joined #ruby
ffranz has joined #ruby
burlyscudd1 has quit [Quit: Leaving.]
burlyscudd2 has quit [Client Quit]
Kricir has quit [Ping timeout: 244 seconds]
klaut has quit [Write error: Broken pipe]
burlyscudd has quit [Client Quit]
burlyscudd1 has joined #ruby
deens has quit []
burlyscudd1 has quit [Client Quit]
radic has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has quit [Quit: I'm gone.]
phat4life has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
phat4life has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
aryaching has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jph98 has quit [Quit: jph98]
_5kg_ has quit [Ping timeout: 264 seconds]
phat4life has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
phat4life has joined #ruby
yarou has joined #ruby
coderdad has quit [Remote host closed the connection]
pwh has quit []
doritostains has joined #ruby
sigurding has quit [Quit: sigurding]
mark_locklear has quit [Quit: Leaving]
scarolan has quit [Ping timeout: 244 seconds]
<hackeron> hey, is there a recommendation for a library for spinning up and managing around 100 processes? -- I tried god and bluepill but god just freezes with that many processes and bluepill, if you kill a bunch of processes, a new process gets the same PID as an already dead process and it thinks a process that died is still running :/
gja has quit [Quit: This computer has gone to sleep]
lewix has quit [Remote host closed the connection]
hoypriest has quit [Quit: Connection closed for inactivity]
weie has quit [Ping timeout: 272 seconds]
manacit is now known as bogon
reset has quit [Quit: Leaving...]
mwmnj has quit [Quit: Textual IRC Client: www.textualapp.com]
acrussell has quit [Quit: Leaving.]
mercwithamouth has joined #ruby
auxbuss has quit [Disconnected by services]
[ROOT]XxNeoLiTHi has quit [Quit: Leaving.]
ultraflash3 has joined #ruby
Steve445 has joined #ruby
rahult has joined #ruby
marr has quit [Ping timeout: 246 seconds]
olivier_bK has joined #ruby
burlyscudd has quit [Quit: Leaving.]
nateberkopec has quit [Read error: Connection reset by peer]
lw has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has joined #ruby
codezomb has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dingus_khan has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dingus_khan has joined #ruby
danshultz has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
interactionjaxsn has quit [Remote host closed the connection]
hiyosi has joined #ruby
bricker_ has joined #ruby
burlyscudd has joined #ruby
gja has joined #ruby
Notte has quit [Remote host closed the connection]
cburyta has joined #ruby
bricker has quit [Read error: Connection reset by peer]
BadQuanta has joined #ruby
cburyta_ has joined #ruby
v0n has quit [Ping timeout: 244 seconds]
meatherly has quit [Remote host closed the connection]
shaileshg has quit [Quit: Connection closed for inactivity]
jlast has quit [Remote host closed the connection]
npearson has quit [Ping timeout: 246 seconds]
auxbuss has quit [Quit: I'm gone.]
<shevy> anyone knows of a simple project that does like
<shevy> red <-> lightred
<shevy> blue <-> lightblue
cburyta has quit [Ping timeout: 246 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
<shevy> i.e. makes a colour lighter or darker
<jhass> general ruby or are you using that in a specific context, like css?
auxbuss_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
auxbuss_ has quit [Client Quit]
auxbuss has joined #ruby
auxbuss has quit [Client Quit]
auxbuss has joined #ruby
Notte has joined #ruby
<shevy> hmm
<shevy> both!
RaCx has joined #ruby
<shevy> I generate the html and css from ruby
<shevy> I have some links which have a static colour
<jhass> for the css part things like scss and less include tools for that iirc. and there's compass which includes tons and tons of utilities for such stuff
<shevy> and I thought it would be cool to hover effect on them
burlyscudd has quit [Quit: Leaving.]
bahar has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
yasushi has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
bricker_ is now known as bricker
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
zachallett has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
lw has quit [Quit: s]
auxbuss has quit [Quit: I'm gone.]
brad_ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
brad_ is now known as Guest96888
jfelchner_ has quit [Ping timeout: 240 seconds]
auxbuss has quit [Client Quit]
burlyscudd has joined #ruby
Guest84197 has quit [Quit: Konversation terminated!]
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
jlast has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has quit [Client Quit]
yasushi has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
jfelchner_ has joined #ruby
burlyscudd has quit [Client Quit]
zachallett has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Steve445 has quit [Quit: Steve445]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
nisstyre_ has quit [Quit: WeeChat 0.4.3]
Guest96888 has quit [Client Quit]
burlyscudd has joined #ruby
bahar has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
barratt has quit [Quit: Leaving...]
funburn has joined #ruby
jonah_k has quit [Remote host closed the connection]
Shidash has joined #ruby
jack_rabbit has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
bogon is now known as manacit
enebo has quit [Ping timeout: 244 seconds]
IceyEC has joined #ruby
<razrunelord> is there a performance difference when iterating a hashmap vs iterating an array
mlpinit has quit [Remote host closed the connection]
slowcon has quit []
<razrunelord> is it both O(N)?
<apeiros> razrunelord: yes
jarray52 has joined #ruby
<apeiros> but Hash has a higher K
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
jhass is now known as jhass|off
jarray52 has left #ruby [#ruby]
<razrunelord> hash is O(K)?
<centrx> heh
<apeiros> …
jonah_k has joined #ruby
banister has joined #ruby
weems has quit [Read error: Connection reset by peer]
<apeiros> O(3N) == O(2N) == O(N)
<apeiros> where 3, 2 and 1 are K (constant factor)
<apeiros> so Hash is slower, but in the same performance category
acl_ has quit [Remote host closed the connection]
<razrunelord> thanks apeiros
_5kg_ has joined #ruby
IceyEC has quit [Client Quit]
dik_dak has quit [Quit: Leaving]
internet_user has quit []
lw has joined #ruby
MattStratton has quit [Quit: Textual IRC Client: www.textualapp.com]
andy has quit [Ping timeout: 244 seconds]
andy__ has joined #ruby
mansi has quit [Remote host closed the connection]
matchaw_ has joined #ruby
matchaw has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
jtdowney has quit []
burlyscudd has quit [Quit: Leaving.]
twiceaday has quit [Ping timeout: 264 seconds]
gja has joined #ruby
jobewan has quit [Quit: Leaving]
Atrumx has joined #ruby
Atrumx has quit [Changing host]
Atrumx has joined #ruby
twiceaday has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
apeiros has quit []
burlyscudd has joined #ruby
jetblack has quit [Ping timeout: 244 seconds]
burlyscudd has quit [Client Quit]
pwh has joined #ruby
andrewhl has quit [Quit: andrewhl]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
phat4life has quit [Quit: Leaving.]
burlyscudd has joined #ruby
sdouglass has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
phantomtiger has quit [Quit: phantomtiger]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
marcdel has joined #ruby
mansi has quit [Ping timeout: 244 seconds]
einarj has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
matchaw has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
s2013 has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
matchaw_ has quit [Ping timeout: 272 seconds]
bricker_ has joined #ruby
elaptics`away is now known as elaptics
lkba has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
nata79 has quit []
burlyscudd has quit [Client Quit]
mikesplain has quit [Ping timeout: 272 seconds]
bricker has quit [Ping timeout: 246 seconds]
fschuindt has joined #ruby
fschuindt has quit [Remote host closed the connection]
Black-Heaven has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Kricir has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
apeiros has joined #ruby
MattStratton has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phat4life has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
itadder has joined #ruby
griffindy has joined #ruby
aryaching has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<itadder> hey one here use amazon workspace
apeiros has quit [Remote host closed the connection]
<itadder> do you think it worth it http://aws.amazon.com/workspaces/pricing/
<itadder> maybe to run a linux box on the cloud
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<itadder> as a development box
bricker_ is now known as bricker
apeiros has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
pwh has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
zumba_addict has quit [Quit: zumba_addict]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Kricir has quit [Ping timeout: 264 seconds]
aryaching_ has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
byprdct has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Client Quit]
jmau5 has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
nateberkopec has joined #ruby
yarou has quit [Remote host closed the connection]
lewix has joined #ruby
alexherbo2 has joined #ruby
kayamm has quit [Quit: part]
<Waheedi> guys I'm still struggling with this EM reactor
<Waheedi> how can i just run it by defualt
Notte has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dblessing has quit [Quit: dblessing]
burlyscudd has joined #ruby
burlyscudd has quit [Remote host closed the connection]
cgore has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
burlyscudd has joined #ruby
ctp has quit [Quit: Leaving...]
brucele_ has joined #ruby
marcdel has quit []
burlyscudd has quit [Client Quit]
xerox357_ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
tjr9898 has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jmau5 has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Aryasam has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
aryaching has quit [Quit: Sayonara ^_^]
cj3kim_ has joined #ruby
burlyscudd has joined #ruby
sambao21 has joined #ruby
burlyscudd has quit [Client Quit]
kitak has quit [Remote host closed the connection]
dayepa has joined #ruby
xerox357 has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
qubit has joined #ruby
Wolland has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
jmau5 has quit [Remote host closed the connection]
rismoney has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rayners has quit [Remote host closed the connection]
xerox357_ has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
fedesilva has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
<qubit> in rspec, how can I access the random number generator it uses? Specifically I need to do Array#sample in my test, and if it fails, I want to be able to reproduce it exactly, so I need to make it consistently random
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<phat4life> qubit: why cant you use this and set the seed to be the same http://ruby-doc.org/core-1.9.3/Random.html#method-c-new_seed
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
davidcollom is now known as davidcollom_
<qubit> phat4life: because I don't want the test to be the same every single time it's run
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<qubit> i want it to be the same every time rspec is run with the same seed
lolmaus has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
lolmaus has joined #ruby
doritostains has quit [Quit: Leaving...]
rudisimo has quit [Remote host closed the connection]
burlyscudd has joined #ruby
stryek has quit [Ping timeout: 244 seconds]
nfk has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Client Quit]
<phat4life> i have no idea how do to that, wouldn't be able to say unless you posted some code
rudisimo has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rudisimo has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
xerox357 has joined #ruby
rudisimo has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
aryaching has joined #ruby
CpuID has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jfelchner_ has quit [Ping timeout: 240 seconds]
Atw has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Aryasam has quit [Quit: Bye]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
echevemaster has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
burlyscudd has joined #ruby
carlyle has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
rickruby has joined #ruby
burlyscudd has joined #ruby
Slavox|AFK is now known as Slavox
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Megtastique has quit []
<qubit> http://dpaste.com/1659578/ When run as `rspec --seed 0 test.rb`, I expect the result to always be the same, but it's not. it has a 1 in 4 chance of failing
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rudisimo has quit [Ping timeout: 244 seconds]
hiyosi has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
griffindy has quit [Ping timeout: 246 seconds]
jfelchner_ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jerius_ has quit []
shinobi_one has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
sdouglass has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<shinobi_one> what is modruby.net?
nowthatsamatt has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<centrx> shinobi_one, It used to be something, now it is a spam site
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jmau5 has joined #ruby
<shinobi_one> centrx: glad it's still in the title
mlpinit has joined #ruby
marcdel has joined #ruby
<centrx> shinobi_one, Title of what?
yarou has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
xerox357 has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 246 seconds]
<shinobi_one> centrx: this irc
<shinobi_one> channel
burlyscudd has joined #ruby
rootshift has joined #ruby
burlyscudd has quit [Client Quit]
<shinobi_one> or what
marcdel has quit [Client Quit]
xerox357 has joined #ruby
<shinobi_one> not the title, but when i join "ChanServ: [#ruby] Welcome to #ruby. || http://www.ruby-lang.org || http://www.modruby.net"
<centrx> oh I see
centrx has left #ruby ["Departing channel"]
<shinobi_one> :)
centrx has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<centrx> Yes that should be changed!
xerox357 has quit [Read error: Connection reset by peer]
invinceable has joined #ruby
* qubit never reads those things
xerox357 has joined #ruby
<centrx> apeiros
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<qubit> they go to my 'status' window which I never switch to
<centrx> apeiros, Have you the power?
Lightsta1ker has quit [Ping timeout: 264 seconds]
elimS has joined #ruby
burlyscudd has joined #ruby
sdouglass has quit [Ping timeout: 272 seconds]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
burlyscudd has quit [Client Quit]
SCommette has quit [Quit: SCommette]
burlyscudd has joined #ruby
Megtastique has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
ebwise has quit [Quit: Leaving]
burlyscudd has quit [Client Quit]
<shinobi_one> centrx: i'll re-join and check
shinobi_one has left #ruby [#ruby]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
shinobi_one has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<shinobi_one> nevermind, i see now you're saying it should be changed as in some time in the future, and not it was changed now >.<
<centrx> I haven't the power
burlyscudd has joined #ruby
<shinobi_one> ah
VTLob has quit [Quit: VTLob]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
workmad3 has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
griffindy has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
asteros has quit [Quit: asteros]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
tedstriker has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
burlyscudd has quit [Client Quit]
cj3kim__ has joined #ruby
Kricir has joined #ruby
mikesplain has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dingus_khan has quit [Remote host closed the connection]
Jdubs has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mlpinit_ has joined #ruby
dingus_khan has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
DrShoggoth has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Client Quit]
lw has quit [Quit: s]
asteros has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
postmodern has joined #ruby
burlyscudd has joined #ruby
asteros has quit [Client Quit]
cpruitt has quit [Quit: cpruitt]
burlyscudd has quit [Client Quit]
butblack has joined #ruby