apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<waxjar_> there is no inheriting going on in the code you linked.
rootshift has quit [Quit: rootshift]
shime has quit [Ping timeout: 240 seconds]
mneorr has quit [Ping timeout: 240 seconds]
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davy__ has joined #ruby
Kabaka has joined #ruby
<awkwords1> options.library << lib
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<awkwords1> thats just appending the string to the array?
DeProdigy has joined #ruby
<waxjar_> yes
Kabaka has quit [Client Quit]
geggam has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 252 seconds]
iliketur_ has quit [Quit: zzzzz…..]
<awkwords1> im not sure why this was given as a example then
clamstar has quit [Ping timeout: 250 seconds]
s2013 has quit [Ping timeout: 264 seconds]
<awkwords1> it implies to me that the optionparser example wants me to load a library with -r
duggiefresh has quit [Ping timeout: 250 seconds]
mlpinit_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
RaCx has joined #ruby
davy_ has quit [Ping timeout: 250 seconds]
mansi has joined #ruby
petey has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
freerobby has quit [Quit: Leaving.]
aryaching has quit []
<waxjar_> you'll have to do that yourself if you want :)
iliketur_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<waxjar_> the description is used to generate a help message. that's why it says that.
Mon_Ouie has joined #ruby
<waxjar_> presumably you'd do something like options.libs.each { |lib| require lib } later on
mlpinit has quit [Ping timeout: 246 seconds]
dopie has quit [Quit: Leaving]
stonevil has joined #ruby
tyfighter has quit [Quit: tyfighter]
Kabaka has joined #ruby
clamstar has joined #ruby
Aryasam has joined #ruby
mneorr_ has quit [Read error: Connection reset by peer]
ner0x has joined #ruby
mneorr has joined #ruby
DeProdigy has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
johnnyfuchs has joined #ruby
mikepack has quit [Remote host closed the connection]
johnnyfuchs has quit [Client Quit]
danman has joined #ruby
bnjamin has quit [Ping timeout: 240 seconds]
tinAndi has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
hiyosi_ has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
mattmcclure has joined #ruby
clamstar has quit [Ping timeout: 252 seconds]
mgorbach has quit [Read error: Connection reset by peer]
simoz has quit [Ping timeout: 250 seconds]
mercwithamouth has joined #ruby
mgorbach has joined #ruby
danman has quit [Client Quit]
simoz has joined #ruby
yugui_zzz is now known as yugui
mansi has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
mgorbach has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
mansi has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
CpuID2 has joined #ruby
mgorbach has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
CpuID2 has quit [Changing host]
CpuID2 has joined #ruby
clamstar has joined #ruby
Heskie has quit []
danman has joined #ruby
mgorbach has joined #ruby
io_syl has quit []
assurbanipal has quit [Remote host closed the connection]
h0rrorvacui has joined #ruby
timonv has joined #ruby
nhhagen has joined #ruby
simoz2 has joined #ruby
frx has left #ruby [#ruby]
mercwithamouth has quit [Ping timeout: 260 seconds]
kofno has joined #ruby
Hanmac has joined #ruby
simoz has quit [Ping timeout: 240 seconds]
danman has quit [Client Quit]
CpuID has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 246 seconds]
Hanmac1 has quit [Ping timeout: 246 seconds]
IceDragon has quit [Ping timeout: 240 seconds]
KmartSqrl has quit []
IceDragon has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
Bira_ has joined #ruby
rjhunter has joined #ruby
clamstar has quit [Ping timeout: 264 seconds]
johnnyfuchs has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
CaptainJet has quit []
Megtastique has quit []
timonv has quit [Ping timeout: 264 seconds]
johnnyfuchs has quit [Client Quit]
Jetchisel has joined #ruby
nhhagen has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 246 seconds]
lfox has quit [Quit: ZZZzzz…]
cpruitt has quit [Quit: cpruitt]
nettoweb has joined #ruby
kofno has quit [Ping timeout: 272 seconds]
snath has quit [Ping timeout: 246 seconds]
Bira has quit [Ping timeout: 240 seconds]
predator117 has joined #ruby
cascalheira has joined #ruby
rjhunter has quit [Ping timeout: 240 seconds]
DeProdigy has joined #ruby
clamstar has joined #ruby
mikepack has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 260 seconds]
xcv has joined #ruby
hogeo has joined #ruby
mneorr has joined #ruby
pel_daniel has left #ruby [#ruby]
h0rrorvacui has quit [Remote host closed the connection]
Guedes0 has joined #ruby
VTLob has quit [Quit: VTLob]
Hanmac has quit [Ping timeout: 250 seconds]
davy__ has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
Hanmac has joined #ruby
preller has quit [Ping timeout: 240 seconds]
justsee has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Remote host closed the connection]
simoz2 has quit [Ping timeout: 240 seconds]
awkwords1 has quit [Quit: Leaving.]
_bart has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RaCx has quit [Ping timeout: 250 seconds]
RaCx has joined #ruby
echevemaster has joined #ruby
coldie has joined #ruby
clamstar has quit [Ping timeout: 260 seconds]
hogeo has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
preller has joined #ruby
<g0bl1n> Gem no longer has the cache method ?
<g0bl1n> Gem.cahce
<g0bl1n> Gem.cache
KmartSqrl has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
stonevil has quit [Remote host closed the connection]
mikepack has joined #ruby
ewnd9 has joined #ruby
hogeo has joined #ruby
klaut has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
stonevil has joined #ruby
Guest58642 has quit [Quit: ZNC - http://znc.in]
rootshift has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
pen has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
Zesty has joined #ruby
klaut has quit [Ping timeout: 246 seconds]
jkhwan has joined #ruby
axl_ has quit [Quit: axl_]
<platzhirsch> I am so enraged
lhdc has joined #ruby
kostine has joined #ruby
stonevil has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
zz_karupanerura is now known as karupanerura
danman has joined #ruby
jamesaanderson has joined #ruby
aryaching has joined #ruby
wallerdev has quit [Quit: wallerdev]
jkhwan has quit [Ping timeout: 272 seconds]
aspires has quit []
Aryasam has quit [Quit: Bye]
<pen> ruby
sepp2k has quit [Quit: Leaving.]
iliketur_ has quit [Quit: zzzzz…..]
danman has quit [Client Quit]
flame_ has joined #ruby
nari has joined #ruby
rootshift has quit [Quit: rootshift]
tylersmith has quit [Remote host closed the connection]
<platzhirsch> stone
snath has joined #ruby
bnjamin has joined #ruby
hadees has quit [Quit: hadees]
mikepack has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 245 seconds]
<pen> shiny stone
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus has joined #ruby
terrellt has quit [Ping timeout: 261 seconds]
mikepack has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 260 seconds]
michaeldeol has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
davy_ has joined #ruby
bigoldrock has quit [Ping timeout: 252 seconds]
davy_ has quit [Remote host closed the connection]
sevenseacat has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
michaeldeol has quit [Ping timeout: 240 seconds]
Duckily has joined #ruby
MattStratton has joined #ruby
<Duckily> how do you return an array without some element
Lewis__ has joined #ruby
jkhwan has joined #ruby
<Duckily> [1, 2, 3].some_method(2) => [1,3]
ewnd9 has quit [Ping timeout: 246 seconds]
fomatin has joined #ruby
Lewis__ has quit [Remote host closed the connection]
freerobby1 has quit [Ping timeout: 252 seconds]
ephemerian has quit [Quit: Leaving.]
gregoriokusowski has joined #ruby
<platzhirsch> Duckily: haven't you found something here? http://www.ruby-doc.org/core-2.0.0/Array.html
bigoldrock has joined #ruby
fijimunkii has joined #ruby
<platzhirsch> take a look at select :)
<Duckily> platzhirsch: not yet, still looking. closest i found was #delete and #-
<Duckily> platzhirsch: not what I'm looking for
<platzhirsch> why?
tkuchiki has joined #ruby
amacgregor_ has quit [Ping timeout: 246 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
<Duckily> platzhirsch: i guess it could work [1,2,3].select { |n| n != 2 }
<Duckily> seems a bit verbose for the use case
mikepack has quit [Remote host closed the connection]
hololeap has joined #ruby
<platzhirsch> Duckily: [1,2,3] - [2]
<Duckily> platzhirsch: yeah thats what I'm thinking, it copies the array buy thats fine
<platzhirsch> don't know why I have forgotten about this one, don't tell the others. They always bully me
michaeldeol has joined #ruby
<Duckily> platzhirsch: which one?
<Duckily> lol
<platzhirsch> the one with the subtraction
<Duckily> ah haha
michaeldeol has quit [Read error: Connection reset by peer]
<Duckily> i wrote that "Duckily: platzhirsch: not yet, still looking. closest i found was #delete and #-"
<platzhirsch> ah, right
benweint has quit [Quit: Computer has gone to sleep.]
pen has quit [Remote host closed the connection]
<platzhirsch> Duckily: with select! the array is not copied, but the result is directly stored in the original array
<platzhirsch> feel free to write a wrapping method so you don't have to use a block
bigoldrock has quit [Ping timeout: 246 seconds]
fella6s has quit [Read error: Connection reset by peer]
Bira_ has quit [Remote host closed the connection]
okinomo has joined #ruby
unstable has left #ruby [#ruby]
p4d4w4n has joined #ruby
michaeldeol has joined #ruby
RaCx_ has joined #ruby
hadees has joined #ruby
johnnyfuchs has joined #ruby
jmimi has quit [Quit: Leaving.]
mojjojo has quit [Quit: mojjojo]
RaCx has quit [Read error: Connection reset by peer]
RaCx_ is now known as RaCx
rjhunter has joined #ruby
terrellt has joined #ruby
johnnyfuchs has quit [Client Quit]
Clooth has quit [Quit: Leaving...]
hadees has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
havenwood has quit [Remote host closed the connection]
DropsOfSerenity has joined #ruby
DropsOfSerenity has quit [Max SendQ exceeded]
hogeo has joined #ruby
psyl0n has quit [Remote host closed the connection]
KmartSqrl has quit []
havenwood has joined #ruby
brianpWins has quit [Ping timeout: 250 seconds]
DropsOfSerenity has joined #ruby
pen has joined #ruby
<Duckily> platzhirsch: ok
psyl0n has joined #ruby
Bira has joined #ruby
mojjojo has joined #ruby
shedd has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
awkwords has joined #ruby
mojjojo has quit [Client Quit]
petey has joined #ruby
skulker has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 272 seconds]
lmickh has quit [Quit: lmickh]
brunoro has joined #ruby
nhhagen has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 246 seconds]
freakazoid0223 has quit [Ping timeout: 240 seconds]
Thanatermesis has joined #ruby
hogeo has quit [Remote host closed the connection]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petey has quit [Ping timeout: 260 seconds]
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
Guedes0 has quit [Ping timeout: 260 seconds]
davy_ has joined #ruby
zeade has quit [Quit: Leaving.]
skulker has joined #ruby
mando has joined #ruby
DeProdigy has quit [Ping timeout: 246 seconds]
akonny has quit [Quit: akonny]
fandikurnia01 has joined #ruby
peregrine81 has quit []
carif has joined #ruby
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
p4d4w4n has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
Monie has joined #ruby
petey has joined #ruby
Monie has quit [Max SendQ exceeded]
wallerdev has joined #ruby
Monie has joined #ruby
canton7-mac has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
DeProdigy has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
hogeo has quit [Remote host closed the connection]
fandikurnia01 has quit [Ping timeout: 251 seconds]
kevind has quit [Quit: kevind]
fandikurnia01 has joined #ruby
bogeyd6 has joined #ruby
lfox has joined #ruby
nari has quit [Ping timeout: 246 seconds]
amoli has quit [Ping timeout: 252 seconds]
freakazoid0223 has joined #ruby
N00D is now known as zz_N00D
canton7-mac has quit [Ping timeout: 264 seconds]
davy_ has quit [Remote host closed the connection]
Tentra has quit [Ping timeout: 240 seconds]
moted has quit [Quit: moted]
mikepack has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
Lewis__ has joined #ruby
mjc_ has quit [Remote host closed the connection]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
skulker has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
Lewis__ is now known as lewi
lewi is now known as lewix_
lewix_ is now known as Lewis__
Lewix has quit [Disconnected by services]
kofno has joined #ruby
Lewis__ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
hogeo has joined #ruby
Lewix_ has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
funburn has quit [Quit: funburn]
nanoyak has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Ping timeout: 250 seconds]
flubba has quit [Remote host closed the connection]
flubba has joined #ruby
RaCx has quit [Ping timeout: 260 seconds]
hogeo has quit [Remote host closed the connection]
RaCx has joined #ruby
pen has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
pen has joined #ruby
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
vpretzel has joined #ruby
Megtastique has joined #ruby
nobitanobi has joined #ruby
Zesty has joined #ruby
flubba has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Client Quit]
troyready has quit [Ping timeout: 250 seconds]
p4d4w4n has joined #ruby
vpretzel_ has joined #ruby
Guedes0 has joined #ruby
Azure has joined #ruby
Asitha has joined #ruby
<Asitha> Hi there
Monie has joined #ruby
<Asitha> Wanting some help with Omniauth on facebook if anyone is able to help
juarlex has joined #ruby
vpretzel has quit [Ping timeout: 250 seconds]
Virtualize has joined #ruby
Virtualize|away has joined #ruby
ckinni has joined #ruby
Hanmac1 has joined #ruby
KmartSqrl has joined #ruby
michaeldeol has quit [Remote host closed the connection]
juarlex has quit [Ping timeout: 250 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
michaeldeol has joined #ruby
moted has joined #ruby
mikee has quit [Ping timeout: 246 seconds]
Virtualize has quit [Ping timeout: 252 seconds]
pencilcheck has joined #ruby
pen has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
peregrine81 has joined #ruby
nhhagen has joined #ruby
KmartSqrl has quit [Ping timeout: 241 seconds]
coca_rails has joined #ruby
nari has joined #ruby
chrisja has quit [Quit: leaving]
Jdubs has quit [Remote host closed the connection]
timonv has joined #ruby
allaire has quit []
michaeldeol has quit [Ping timeout: 252 seconds]
falood has joined #ruby
falood has quit [Remote host closed the connection]
DrShoggoth has quit [Quit: Leaving]
Soliah has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
davy_ has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
petey has quit [Remote host closed the connection]
troyready has joined #ruby
nhhagen has quit [Ping timeout: 250 seconds]
petey has joined #ruby
DeProdigy has quit [Ping timeout: 260 seconds]
gverri has joined #ruby
dkamioka has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
mikee has joined #ruby
pencilcheck has quit []
pen has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
jrhorn424 is now known as zz_jrhorn424
pen has quit [Client Quit]
Markvilla has quit [Quit: Computer has gone to sleep.]
petey has quit [Ping timeout: 272 seconds]
alekst has quit [Ping timeout: 264 seconds]
Asitha has quit []
mando has quit []
brunoro has quit [Ping timeout: 264 seconds]
thesheff17 has quit [Remote host closed the connection]
davy_ has quit [Remote host closed the connection]
Davey is now known as Eomar
mary5030 has joined #ruby
thesheff17 has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
carif has quit [Quit: Ex-Chat]
hamakn has joined #ruby
Markvilla has joined #ruby
carif has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
hogeo has joined #ruby
xk_id has quit [Quit:
Hanmac has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby
tvw has quit [Ping timeout: 246 seconds]
Markvilla has quit [Client Quit]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jdubs has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
brianpWins has joined #ruby
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
xcv has quit [Remote host closed the connection]
hogeo_ has quit [Ping timeout: 250 seconds]
xcv has joined #ruby
coca_rails has quit [Remote host closed the connection]
skulker has joined #ruby
s2013 has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
sn0wb1rd_ has joined #ruby
Virtualize|away has quit [Quit: Leaving...]
xcv has quit [Ping timeout: 240 seconds]
ss_ has joined #ruby
sn0wb1rd_ has quit [Client Quit]
skulker has quit [Ping timeout: 246 seconds]
bradhe has quit [Remote host closed the connection]
Virtualize has joined #ruby
simoz has joined #ruby
joonty has joined #ruby
aarkerio has quit [Quit: Verlassend]
troyready has quit [Ping timeout: 252 seconds]
w4pm has quit [Ping timeout: 264 seconds]
digital-ghost has quit [Remote host closed the connection]
Guedes0 has quit [Ping timeout: 264 seconds]
simoz has quit [Ping timeout: 260 seconds]
simoz2 has joined #ruby
jonathanwallace has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
DrShoggoth has joined #ruby
tylersmith has joined #ruby
mmitchell has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 240 seconds]
io_syl has joined #ruby
phipes has joined #ruby
hogeo has joined #ruby
mkevin has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
thumpba has quit [Remote host closed the connection]
Opettaja has joined #ruby
fierycatnet has quit []
thumpba has joined #ruby
simoz has joined #ruby
hogeo has quit [Client Quit]
simoz2 has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
sn0wb1rd has quit [Ping timeout: 272 seconds]
nwertman has quit [Ping timeout: 246 seconds]
jgrevich has quit [Ping timeout: 260 seconds]
jkhwan has quit [Remote host closed the connection]
simoz2 has joined #ruby
heidi has quit [Quit: Leaving.]
jkhwan has joined #ruby
nettoweb_ has joined #ruby
Soliah has quit [Quit: Soliah]
jkhwan_ has joined #ruby
jkhwan has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 264 seconds]
simoz has quit [Ping timeout: 250 seconds]
michael_lee has joined #ruby
RaCx has joined #ruby
<Duckily> is there a cool ruby way of checking if an object exists and then performing a method such as:
nettoweb has quit [Ping timeout: 252 seconds]
nettoweb_ is now known as nettoweb
<Duckily> if param ? param.to_sym : :default
<Duckily> without repeating param twice
lewix has quit [Remote host closed the connection]
<pontiki> you can give param a default in the method declaration, but that doesn't prevent someone passing in nil
<pontiki> what you have is probably the best way
s2013 has joined #ruby
varfoo has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmi_ has joined #ruby
<pontiki> if you want to be truly defensive, you might want to check that param responds to .to_sym anyway
<Duckily> pontiki: ty, oops messed up that ternary.. shouldn't be if there
<Duckily> pontiki: is there a try else?
fijimunkii has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
freerobby has joined #ruby
<Duckily> pontiki: you mean like this param.try(&:to_sym) ||= :default ?
<pontiki> well, no...
<pontiki> not sure all types have .try, do they? i'm not that familiar with that
<pontiki> was thinking this:
<pontiki> param = param.respond_to?(:to_sym) ? param.to_sym : :default
<Duckily> pontiki: in rails they do
skulker has joined #ruby
michaeldeol has joined #ruby
psyl0n has quit [Remote host closed the connection]
<Duckily> pontiki: forgot that was a rails method
aspires_ has joined #ruby
<pontiki> even the Classes you make yourself?
platzhirsch has left #ruby [#ruby]
agjacome has quit [Quit: leaving]
<Duckily> pontiki: its an extension on Object
simoz has joined #ruby
<pontiki> cool
<pontiki> so maybe then? idk
freerobby has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
<Duckily> pontiki: only problem is that try returns nil only if object is nil, not if object doesn't have method
simoz2 has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
piratepete has joined #ruby
<pontiki> the ! form raises NoMethodError, though, i'm reading
simoz2 has joined #ruby
michaeldeol has quit [Ping timeout: 240 seconds]
Tentra has joined #ruby
i8igmac has joined #ruby
amacgregor has joined #ruby
<Duckily> pontiki: public_send(*a, &b) if respond_to?(a.first)
<Duckily> source
mneorr has joined #ruby
simoz has quit [Ping timeout: 272 seconds]
<pontiki> cool. i'll probably pick that up instead of writing it out. thanks, Duckily
<Duckily> pontiki: what does it return if it doesn't respond_to?
baroquebobcat has joined #ruby
w4pm has joined #ruby
<Duckily> rephrased, what does a method with no return respond with?
<pontiki> last evaluated object in the method
<pontiki> so i'd say nil
<Duckily> pontiki: what would that be if there are none? just 2 failed conditionals..
chymera has joined #ruby
bvsh has joined #ruby
<chymera> hi guys ... how can i import a SSL certificate in Ruby so my HTTP API calls dont fail?
<Duckily> i think you're right
<Duckily> pontiki: i tried it
mneorr has quit [Ping timeout: 240 seconds]
sn0wb1rd has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
stonevil has joined #ruby
saarinen has joined #ruby
<pontiki> the last conditional would be the last thing evaluated.
Lewix_ has quit [Remote host closed the connection]
<pontiki> but maybe it doesn't work like that
<pontiki> idk
vpretzel_ has quit [Remote host closed the connection]
primenum has joined #ruby
vpretzel has joined #ruby
bnjamin has quit [Remote host closed the connection]
jchristi has quit [Ping timeout: 245 seconds]
Columcille has quit [Ping timeout: 245 seconds]
jchristi has joined #ruby
Columcille has joined #ruby
i8igmac has quit [Quit: Leaving]
juarlex has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
piratepete has quit [Quit: piratepete]
lfox has quit [Quit: ZZZzzz…]
mgberlin has joined #ruby
zz_N00D is now known as CripperZ
bkparso has joined #ruby
CripperZ is now known as N00D
rjhunter has joined #ruby
lhdc has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 240 seconds]
simoz2 has quit [Ping timeout: 260 seconds]
Virtualize has quit [Quit: Leaving...]
simoz has joined #ruby
aspires_ has quit []
RaCx has joined #ruby
mkevin has left #ruby [#ruby]
dik_dak has joined #ruby
dukz has joined #ruby
dseitz has joined #ruby
nettoweb has quit [Quit: nettoweb]
robbyoconnor has joined #ruby
dik_dak has quit [Client Quit]
nisstyre has quit [Quit: Leaving]
ewnd9 has joined #ruby
peregrine81 has quit []
canton7-mac has joined #ruby
nisstyre has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
Virtualize has joined #ruby
Eomar is now known as Davey
dukz has quit [Ping timeout: 246 seconds]
alvaro_o has quit [Quit: Ex-Chat]
canton7-mac has quit [Ping timeout: 250 seconds]
vpretzel has joined #ruby
dukz has joined #ruby
mikepack has joined #ruby
fijimunkii has joined #ruby
mikepack has quit [Ping timeout: 246 seconds]
DropsOfSerenity has joined #ruby
skulker has quit [Remote host closed the connection]
davy_ has joined #ruby
piratepete has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
pu22l3r has quit [Remote host closed the connection]
mary5030_ has joined #ruby
robonerd has quit [Ping timeout: 246 seconds]
RaCx has quit [Ping timeout: 252 seconds]
mary5030 has quit [Read error: Connection reset by peer]
timonv has joined #ruby
Bira has quit []
h0rrorvacui has joined #ruby
s2013 has quit [Ping timeout: 264 seconds]
radic_ has quit [Read error: Operation timed out]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DropsOfSerenity has joined #ruby
robonerd has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RaCx has joined #ruby
terrellt has quit [Ping timeout: 260 seconds]
g0bl1n has quit [Ping timeout: 246 seconds]
timonv has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
freerobby has joined #ruby
bkparso has quit [Read error: Connection reset by peer]
braincrash has quit [Quit: bye bye]
s2013 has joined #ruby
soba has joined #ruby
pu22l3r has joined #ruby
michaeldeol has quit [Ping timeout: 264 seconds]
hiyosi_ has quit [Ping timeout: 250 seconds]
freerobby has quit [Ping timeout: 240 seconds]
nhhagen has joined #ruby
braincrash has joined #ruby
sayan has joined #ruby
tylersmi_ has quit [Ping timeout: 264 seconds]
peregrine81 has joined #ruby
tylersmith has joined #ruby
robbyoconnor has joined #ruby
drag00n has quit [Ping timeout: 240 seconds]
piratepete has quit [Quit: piratepete]
sergicles has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
ckinni has joined #ruby
radic has joined #ruby
mneorr has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
piratepete has joined #ruby
IceDragon has quit [Quit: Space~~~]
soba has quit [Ping timeout: 272 seconds]
skulker has joined #ruby
petey has joined #ruby
jkhwan_ has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
<zastern> Silly question - how do you test projects as you work on them, once you convert it to a gem? E.g. the require statements I'm making sort of depend on the spec.require_path at this point - but that's not in effect while I'm just working on things.
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<zastern> I guess I could write a script that builds the gem, installs it, and then executes what I want?
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
r0bby_ has joined #ruby
dukz has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 252 seconds]
simoz has quit [Ping timeout: 241 seconds]
gianlucadv has joined #ruby
charliesome has joined #ruby
stonevil has quit [Remote host closed the connection]
bnjamin has joined #ruby
Megtastique has quit []
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
mary5030_ has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
hamakn has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
piratepete has quit [Quit: piratepete]
hamakn has joined #ruby
nadaprafaze has joined #ruby
Virtualize has quit [Quit: Leaving...]
dopie has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
jamesaanderson has joined #ruby
<zastern> I can set the load_path explicitly like I did before I built it as a gem, but that seems redundant?
phipes has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 272 seconds]
RaCx has joined #ruby
Virtualize has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
peregrine81 has quit []
phipes has joined #ruby
peregrine81 has joined #ruby
skulker has quit [Remote host closed the connection]
nadaprafaze has quit [Quit: Page closed]
hiyosi_ has joined #ruby
cflat has joined #ruby
stonevil has joined #ruby
aryaching_ has joined #ruby
N00D is now known as zz_N00D
vpretzel_ has joined #ruby
yfeldblum has joined #ruby
zz_N00D is now known as CripperZ
hiyosi_ has quit [Ping timeout: 264 seconds]
aryaching has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has quit [Quit: baroquebobcat]
vpretzel has quit [Ping timeout: 250 seconds]
jamesaanderson has joined #ruby
kitak_ has quit [Read error: Connection reset by peer]
CripperZ is now known as zz_CripperZ
kitak has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phipes has quit [Remote host closed the connection]
mikepack has joined #ruby
gianlucadv has quit [Ping timeout: 260 seconds]
lewix has joined #ruby
L8D has quit [Ping timeout: 246 seconds]
joshwines_ has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
funburn has joined #ruby
zz_CripperZ is now known as CripperZ
Duckily has quit [Quit: Duckily]
mikepack has quit [Ping timeout: 240 seconds]
CripperZ is now known as zz_CripperZ
mgberlin has quit [Quit: mgberlin]
Duckily has joined #ruby
mgberlin has joined #ruby
phipes has joined #ruby
kcombs has joined #ruby
yfeldblum has quit [Remote host closed the connection]
joshwines_ has joined #ruby
bnjamin has quit [Ping timeout: 246 seconds]
nico103 has quit [Read error: Connection reset by peer]
bkparso has joined #ruby
bkparso has quit [Client Quit]
bkparso has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
Alina-malina has joined #ruby
r0bby_ has quit [Read error: Connection reset by peer]
RaCx has quit [Ping timeout: 272 seconds]
bkparso has quit [Client Quit]
hogeo has joined #ruby
petey has quit [Remote host closed the connection]
okinomo has quit [Ping timeout: 264 seconds]
phipes has quit [Remote host closed the connection]
RaCx has joined #ruby
petey has joined #ruby
zz_jrhorn424 is now known as jrhorn424
Jdubs has quit [Remote host closed the connection]
phipes has joined #ruby
<rjhunter> zastern: bundler, with a gemfile entry like `gem 'foo', path: '.'`, might be of interest to you
stonevil has quit [Remote host closed the connection]
michaeldeol has joined #ruby
freerobby has joined #ruby
petey has quit [Ping timeout: 264 seconds]
stonevil has joined #ruby
jamesaanderson has joined #ruby
atno has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 272 seconds]
hogeo has quit [Remote host closed the connection]
nhhagen has joined #ruby
plotter has quit [Ping timeout: 245 seconds]
browndawg has joined #ruby
nhhagen_ has joined #ruby
lyanchih has joined #ruby
Virtualize has quit [Quit: Leaving...]
dhruvasagar has joined #ruby
hogeo has joined #ruby
dukz has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
<zastern> rjhunter: figured that out. thanks!
nhhagen_ has quit [Ping timeout: 252 seconds]
cflat has quit [Ping timeout: 252 seconds]
blaskovicz has quit [Quit: Leaving.]
blaskovicz has joined #ruby
reset has quit [Ping timeout: 252 seconds]
Baluse has quit []
mneorr has quit [Ping timeout: 246 seconds]
stonevil has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 250 seconds]
blaskovicz has quit [Ping timeout: 246 seconds]
phansch has joined #ruby
davy_ has quit [Remote host closed the connection]
bradhe has joined #ruby
weems has quit [Read error: Connection reset by peer]
zastern has quit [Read error: Connection reset by peer]
aagdbl has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
zastern has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has joined #ruby
zmansiv has quit [Ping timeout: 260 seconds]
RaCx has quit [Ping timeout: 240 seconds]
flubba has joined #ruby
soba has joined #ruby
aagdbl has quit [Quit: Leaving.]
ixti has quit [Ping timeout: 265 seconds]
dukz has quit [Remote host closed the connection]
RaCx has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robert_ has joined #ruby
sayan has joined #ruby
hiyosi_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
s2013 has quit [Ping timeout: 240 seconds]
sayan has quit [Remote host closed the connection]
browndawg has left #ruby [#ruby]
flubba has quit [Remote host closed the connection]
zmansiv has joined #ruby
flubba has joined #ruby
r0bby_ has joined #ruby
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby
tonni_ has quit [Remote host closed the connection]
hiyosi_ has quit [Ping timeout: 252 seconds]
tonni has joined #ruby
dhruvasagar has quit [Quit: leaving]
dhruvasagar has joined #ruby
cflat has joined #ruby
pu22l3r has quit [Remote host closed the connection]
jchristi has quit [Ping timeout: 260 seconds]
flubba has quit [Ping timeout: 272 seconds]
<miah> Gemfile has 'gemspec' which does the equivilent of 'gem foo path .'
<miah> it pulls deets from your gemspec, which you should hopefully have =)
fandikurnia01 has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 246 seconds]
<ddd> thoiught gemspec was for pulling in everything you gem would normally need on deployment, and Gemfile (in this regard) was for anything you wanted specifically for development and testing which normally shouldn't go into the gemspec.
timonv has joined #ruby
cflat has quit [Ping timeout: 240 seconds]
<ddd> this is what i've been told, and how i personally use it as a result. guess i'm checking thats the sane and Right Way (Tm)
<jrobeson> gemspec is if you wanna actually install it as a gem
<jrobeson> otherwise stick with Gemfile if you're just deploying your app that nobody else uses.
aagdbl has joined #ruby
<jrobeson> also gemspecs cant ever include git repositories to fetch packages from
<ddd> right, but if you *are* deploying it as a gem, the Gemfile would be used like i said right?
zmansiv has quit [Ping timeout: 240 seconds]
<ddd> was just doing a sanity check was all :)
tonni has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
bnjamin has joined #ruby
<jrobeson> ddd, gemspecs have options for development dependencies
ewnd9 has joined #ruby
<jrobeson> so if you got a gemspec you'd probably only use the Gemfile for git related development dependencies
JohnBat26 has joined #ruby
<ddd> ah
<jrobeson> oh.. and including the gemspec :)
flubba has joined #ruby
<ddd> hehe figured ;)
cflat has joined #ruby
tonni has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
phipes has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
RaCx has joined #ruby
zmansiv has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
michaeldeol has joined #ruby
fandikurnia01 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
awkwords has quit [Quit: Leaving.]
corehook has joined #ruby
freerobby has quit [Ping timeout: 250 seconds]
michaeldeol has quit [Ping timeout: 240 seconds]
luckyruby has joined #ruby
mootpointer has joined #ruby
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
nhhagen has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
mgberlin has quit [Quit: mgberlin]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simoz has joined #ruby
Jdubs has joined #ruby
jlast has joined #ruby
mneorr has joined #ruby
krz has joined #ruby
yfeldblum has joined #ruby
nhhagen has quit [Ping timeout: 260 seconds]
ua has joined #ruby
bradhe has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 264 seconds]
tylersmi_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
awkwords has joined #ruby
sayan has joined #ruby
tylersmi_ has quit [Remote host closed the connection]
bnjamin has quit [Ping timeout: 260 seconds]
coldie has quit [Ping timeout: 264 seconds]
zmansiv has quit [Ping timeout: 260 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
RaCx has quit [Ping timeout: 250 seconds]
sergicles has quit [Quit: sergicles]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
RaCx has joined #ruby
dukz has joined #ruby
funburn has quit [Quit: funburn]
Tentra has quit [Remote host closed the connection]
<cantonic> hey there. is there way to not require a file in another one but add its content to it during execution?
tagrudev has joined #ruby
ner0x has quit [Quit: Leaving]
zmansiv has joined #ruby
<rjhunter> cantonic: `load`
hiyosi_ has joined #ruby
<cantonic> thank you rjhunter. will try that
<rjhunter> cantonic: in fact, `require` is just a fancy wrapper around `load` that does things like path lookups and skipping already-loaded features
dukz has quit [Ping timeout: 260 seconds]
dukz has joined #ruby
maletor has joined #ruby
<cantonic> rjhunter: using `load` didn't solve it unfortunately
zmansiv has quit [Excess Flood]
hiyosi_ has quit [Ping timeout: 260 seconds]
zmansiv has joined #ruby
michaeldeol has joined #ruby
mikepack has joined #ruby
<rjhunter> cantonic: it looks like guard-rspec has recently grown support for shared examples.
<cantonic> do you have a link to that info?
robert_ has quit [Ping timeout: 256 seconds]
<rjhunter> actually i may have misinterpreted that filename
noop has joined #ruby
<rjhunter> it looks like those are shared examples for guard-rspec inspectors
<cantonic> yeah
phipes has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
<cantonic> rjhunter: well, i could try using the master branch... maybe it helps
peregrine81 has quit []
hamakn has joined #ruby
kiri has joined #ruby
<rjhunter> you can always be explicit in your guardfile, of course -- guard :rspec { watch(%r{^spec/shared_examples/awesome_spec.rb$}) {'spec/features/awesome_feature_spec.rb'}
<cantonic> i did that in my guardfile
<cantonic> watch(%r{^spec/shared_examples/(.+)\.rb$}) { |m| "spec/features/#{m[1]}_spec.rb" }
<cantonic> but this is not the problem. The problem is, that the failing shared_example is in awesome.rb and therefore guard tries to run this file instead of the spec file which is including it
Es0teric has joined #ruby
roolo has joined #ruby
bradhe has joined #ruby
_bart has joined #ruby
<rjhunter> hmm. have you tried the #guard channel?
RaCx has quit [Ping timeout: 246 seconds]
w4pm has quit [Ping timeout: 240 seconds]
<cantonic> yep. no answer :)
mansi has joined #ruby
<cantonic> after upgrading guard-rspec it seems like it stopped trying to run that awesome_feature.rb
robert_ has joined #ruby
solars has joined #ruby
<cantonic> that's good, but it would have been cool if guard would run the spec file and the failed example instead.
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
RaCx has joined #ruby
aapzak has quit [Read error: Connection reset by peer]
marcgg_ has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
marcgg_ has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 240 seconds]
krz has quit [Quit: WeeChat 0.4.2]
marcgg_ has joined #ruby
phipes has quit [Remote host closed the connection]
ewnd9 has joined #ruby
freerobby has joined #ruby
Ch4rAss has joined #ruby
chymera has quit [Quit: Leaving]
<rjhunter> might be worth posting to a delayed medium like the mailing list or the github issue tracker
krz has joined #ruby
iliketur_ has joined #ruby
mootpointer has quit [Ping timeout: 240 seconds]
aapzak has joined #ruby
marcgg has quit [Ping timeout: 272 seconds]
braoru has joined #ruby
timonv has joined #ruby
kcombs has quit [Ping timeout: 272 seconds]
nateberkopec has quit [Quit: Leaving...]
freerobby has quit [Ping timeout: 241 seconds]
iliketur_ has quit [Ping timeout: 240 seconds]
corehook has quit [Quit: Leaving.]
Arzaga has joined #ruby
jhn has joined #ruby
nhhagen has joined #ruby
Arzaga has quit [Client Quit]
Dwarf has quit [Ping timeout: 240 seconds]
awkwords has quit [Quit: Leaving.]
michael_lee has quit [Ping timeout: 260 seconds]
Azure has quit [Quit: My MBP went to sleep.]
anomaly_ has joined #ruby
rezzack has quit [Quit: Leaving.]
sophomorical has quit [Ping timeout: 240 seconds]
Dwarf has joined #ruby
sophomorical has joined #ruby
iliketur_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
nhhagen has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has joined #ruby
klaut has joined #ruby
solars has left #ruby ["WeeChat 0.4.1"]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
bnjamin has joined #ruby
troyready has joined #ruby
charliesome has joined #ruby
brunoro has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
charliesome has quit [Client Quit]
maletor has quit [Quit: Computer has gone to sleep.]
wallerdev has quit [Remote host closed the connection]
wallerdev has joined #ruby
juarlex has quit [Remote host closed the connection]
skaflem has joined #ruby
michael_lee has joined #ruby
RaCx has quit [Ping timeout: 264 seconds]
ewnd9 has quit [Read error: Connection reset by peer]
ewnd9_ has joined #ruby
simoz has quit [Ping timeout: 264 seconds]
RaCx has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
mootpointer has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_bart has quit [Remote host closed the connection]
closures999 has joined #ruby
ewnd9_ has quit [Read error: Connection reset by peer]
ewnd9_ has joined #ruby
brunoro has quit [Quit: WeeChat 0.3.8]
closures999 has quit [Client Quit]
tylersmith has joined #ruby
ewnd9_ has quit [Max SendQ exceeded]
hiyosi_ has joined #ruby
ewnd9_ has joined #ruby
okinomo has joined #ruby
Ch4rAss has quit [Quit: "Connection reset by beer"]
jprovazn has joined #ruby
zoee has joined #ruby
_HolyCow has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
mootpointer has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
hiyosi_ has quit [Ping timeout: 272 seconds]
canton7-mac has joined #ruby
Arzaga has joined #ruby
dagobah has joined #ruby
_HolyCow1 has quit [Ping timeout: 252 seconds]
jlast has quit [Remote host closed the connection]
Jdubs has quit [Remote host closed the connection]
zoee has quit [Client Quit]
jlast has joined #ruby
troyready has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
canton7-mac has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
amritanshu_RnD has joined #ruby
primenum has quit [Ping timeout: 260 seconds]
mr`spock has quit [Quit: Leaving]
zoee has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
avalarion has quit [Ping timeout: 260 seconds]
jlast has quit [Ping timeout: 264 seconds]
CpuID2 has quit [Ping timeout: 250 seconds]
ewnd9_ has quit [Read error: Connection reset by peer]
brtdv has joined #ruby
mootpointer has joined #ruby
avalarion has joined #ruby
preller has quit [Ping timeout: 272 seconds]
roolo has quit [Quit: Leaving...]
w4pm has joined #ruby
atno has joined #ruby
bnjamin has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
parduse has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
ewnd9 has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
trolling has quit [Ping timeout: 245 seconds]
gwb3 has quit [Ping timeout: 245 seconds]
_bart has joined #ruby
hakunin has quit [Ping timeout: 245 seconds]
xpirator has quit [Ping timeout: 245 seconds]
kiri has quit [Quit: Leaving]
end_guy has quit [Ping timeout: 240 seconds]
gwb3 has joined #ruby
Xeago has joined #ruby
trolling has joined #ruby
end_guy has joined #ruby
preller has joined #ruby
Xeago has quit [Remote host closed the connection]
xpirator has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ahawkins has joined #ruby
w4pm has quit [Ping timeout: 252 seconds]
tonni has joined #ruby
Xeago has joined #ruby
mansi has joined #ruby
tonni has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
tonni has joined #ruby
RaCx has joined #ruby
robertjpayne has joined #ruby
kiri has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
aganov has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
andikr has joined #ruby
mansi has quit [Ping timeout: 250 seconds]
dhruvasagar has joined #ruby
Tentra has joined #ruby
ewnd9 has joined #ruby
h_kon has joined #ruby
nettoweb has joined #ruby
krz has quit [Ping timeout: 264 seconds]
Arzaga has quit [Quit: Computer has gone to sleep.]
jbpros has joined #ruby
freerobby has quit [Ping timeout: 260 seconds]
ewnd9 has quit [Read error: Connection reset by peer]
TMM has quit [Ping timeout: 264 seconds]
ixti has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
intuxicated has joined #ruby
zz_CripperZ is now known as CripperZ
zombiebit has joined #ruby
shime has joined #ruby
CpuID has joined #ruby
CripperZ is now known as N00D
dhruvasagar has joined #ruby
_bart has quit [Remote host closed the connection]
f0ster has quit [Ping timeout: 240 seconds]
pranny has joined #ruby
cflat has quit [Ping timeout: 240 seconds]
<shevy> test
nhhagen has joined #ruby
<pranny> shevy: test.success?
<shevy> yeah!
larissa has quit [Quit: Leaving]
dhruvasagar has quit [Read error: Connection reset by peer]
cseader has quit [Ping timeout: 241 seconds]
Macaveli has joined #ruby
claymore has joined #ruby
dhruvasagar has joined #ruby
akonny has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Client Quit]
Jdubs has joined #ruby
dhruvasagar has joined #ruby
ahawkins_ has joined #ruby
dukz has quit [Remote host closed the connection]
ahawkins has quit [Disconnected by services]
ahawkins_ is now known as ahawkins
noname001__ has joined #ruby
troessner has joined #ruby
Lewix_ has joined #ruby
vt102 has quit [Ping timeout: 252 seconds]
Yan__ has joined #ruby
DouweM has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
marz_skilex has joined #ruby
threesome has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
luckyruby has quit [Remote host closed the connection]
mootpointer has quit [Quit: ENOCAFFEINE.]
timonv has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
atno has joined #ruby
echevemaster has quit [Quit: Leaving]
ewnd9 has joined #ruby
dhruvasagar has joined #ruby
relix has joined #ruby
c0rn has joined #ruby
ewnd9 has quit [Max SendQ exceeded]
RaCx has quit [Ping timeout: 250 seconds]
krz has joined #ruby
ewnd9 has joined #ruby
RaCx has joined #ruby
mklappstuhl has joined #ruby
Yan__ has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
Yan__ has joined #ruby
TMM has joined #ruby
coldmethod has quit [Remote host closed the connection]
TMM has quit [Client Quit]
TMM has joined #ruby
TMM has quit [Client Quit]
CpuID has quit [Quit: This computer has gone to sleep]
c0rn has quit []
TMM has joined #ruby
aryaching_ has quit [Ping timeout: 250 seconds]
_bart has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
hiyosi_ has joined #ruby
alup has joined #ruby
Heskie has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
zoee has quit [Quit: Leaving]
d45h has quit [Ping timeout: 260 seconds]
Heskie has quit [Client Quit]
workmad3 has joined #ruby
zoee has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Guest68968 has joined #ruby
ewnd9_ has joined #ruby
nvrch has joined #ruby
klip has joined #ruby
xcv has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
ewnd9_ has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
Guest68968 has quit [Client Quit]
ewnd9_ has joined #ruby
dhruvasagar has joined #ruby
* avril14th_ plops
Hanmac has quit [Ping timeout: 240 seconds]
hiyosi_ has quit [Ping timeout: 264 seconds]
Floydzy has joined #ruby
Xeago has quit [Remote host closed the connection]
dukz has joined #ruby
nvrch has quit [Client Quit]
ewnd9_ has quit [Read error: Connection reset by peer]
jlast has joined #ruby
ewnd9_ has joined #ruby
mikepack has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nvrch has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
Floydzy has left #ruby [#ruby]
dukz has quit [Remote host closed the connection]
mengu has joined #ruby
mikepack has quit [Ping timeout: 253 seconds]
h0rrorvacui has quit [Quit: Leaving]
flubba has quit [Remote host closed the connection]
Aryasam has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
kevinykchan has joined #ruby
flubba has joined #ruby
bnjamin has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
dukz has joined #ruby
nisstyre has quit [Quit: Leaving]
predator117 has quit [Ping timeout: 250 seconds]
nari has quit [Quit: Ex-Chat]
preller has quit [Ping timeout: 260 seconds]
maroloccio has joined #ruby
psyl0n has joined #ruby
flubba has quit [Ping timeout: 260 seconds]
niceguyjames has joined #ruby
crazymykl has joined #ruby
krzkrz has joined #ruby
roolo has joined #ruby
dukz has quit [Remote host closed the connection]
mikemac has quit [Ping timeout: 260 seconds]
RaCx has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
dukz has joined #ruby
krzkrz has quit [Client Quit]
ewnd9_ has quit [Read error: Connection reset by peer]
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
RaCx has joined #ruby
obs has joined #ruby
charliesome has joined #ruby
Aryasam has quit [Ping timeout: 264 seconds]
canton7-mac has joined #ruby
timonv has joined #ruby
dukz has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
Xeago has joined #ruby
ewnd9 has joined #ruby
d45h has joined #ruby
jhaals has joined #ruby
maasha has joined #ruby
SHyx0rmZ has joined #ruby
LiohAu has joined #ruby
jhaals_ has joined #ruby
bluenemo has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
SHyx0rmZ has quit [Client Quit]
kostine has quit [Quit: kostine]
freerobby has quit [Ping timeout: 264 seconds]
noop has quit [Ping timeout: 272 seconds]
Hanmac has joined #ruby
jhaals has quit [Ping timeout: 250 seconds]
ppppaul has joined #ruby
ppppaul has quit [Max SendQ exceeded]
psyl0n has quit [Remote host closed the connection]
ppppaul has joined #ruby
noop has joined #ruby
Hanmac1 has quit [Ping timeout: 250 seconds]
<maasha> møjn
jbpros has quit [Quit: jbpros]
drumusician has joined #ruby
gregoriokusowski has joined #ruby
aapzak has quit [Ping timeout: 240 seconds]
blaxter_ has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
michael_lee has quit [Remote host closed the connection]
nhhagen has joined #ruby
jbpros has joined #ruby
aapzak has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
tonni has quit [Ping timeout: 240 seconds]
sandelius has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
dukz has joined #ruby
dhruvasagar has joined #ruby
wallerdev has quit [Quit: wallerdev]
mneorr has joined #ruby
ekarlso has quit [Changing host]
ekarlso has joined #ruby
<bricker`LA> There has to be a prettier way to do this: https://gist.github.com/bricker/7925220
dukz has quit [Remote host closed the connection]
nhhagen has quit [Ping timeout: 252 seconds]
dukz has joined #ruby
<maasha> block_given? ? yield Status.new(key) : Status.new(key)
dfranciosi has joined #ruby
olivier_bK has joined #ruby
marr has joined #ruby
ebouchut has joined #ruby
ixti has quit [Ping timeout: 272 seconds]
mneorr has quit [Ping timeout: 246 seconds]
triptec has joined #ruby
sevenseacat has quit [Quit: Leaving.]
<triptec> does anyone know what function bundler use to parse version operators and versions like >= 1.0.2 etc
<triptec> ?
dukz has quit [Ping timeout: 240 seconds]
<joonty> triptec: what do you need?
michaeldeol has joined #ruby
yfeldblum has joined #ruby
camilasan has joined #ruby
rootshift has joined #ruby
klaut has quit [Remote host closed the connection]
barratt has joined #ruby
<triptec> well, I'm writing some automated tasks and I'd like to check VirtualBox >= 4.2.12
shime has quit [Ping timeout: 240 seconds]
bnjamin has quit [Ping timeout: 252 seconds]
ixti has joined #ruby
deol has joined #ruby
ghr has joined #ruby
<triptec> now it just does string comparison and it would be neat to use some syntax as Gemfile
michaeldeol has quit [Read error: Connection reset by peer]
ebouchut has left #ruby [#ruby]
predator117 has joined #ruby
<joonty> i've done this before...
* joonty searches memory
ace_striker has joined #ruby
<triptec> it would get me some points with my coworkers ;)
_bart has quit [Remote host closed the connection]
ephemerian has joined #ruby
djdb has joined #ruby
RaCx has quit [Ping timeout: 260 seconds]
juarlex has joined #ruby
io_syl has quit []
yfeldblum has quit [Ping timeout: 250 seconds]
<joonty> might help
<triptec> joonty: thanks
_5kg has quit [Ping timeout: 264 seconds]
<joonty> don't thank me yet :E
_bart has joined #ruby
deol has quit [Ping timeout: 240 seconds]
RaCx has joined #ruby
niklasb has joined #ruby
jrhorn424 is now known as zz_jrhorn424
juarlex has quit [Ping timeout: 264 seconds]
_bart has quit [Remote host closed the connection]
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
allsystemsarego has joined #ruby
_5kg has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
_bart_ has joined #ruby
<triptec> joonty: seems hard to use it if the actuall dep isn't a Gem, but thanks =)
<joonty> ah ok
bnjamin has joined #ruby
hiyosi_ has joined #ruby
rootshift has quit [Quit: rootshift]
timonv has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
user258467 has joined #ruby
_5kg has quit [Ping timeout: 240 seconds]
brain_shim has quit [Read error: Connection reset by peer]
Kneferilis has quit [Read error: Connection reset by peer]
Jdubs has quit [Remote host closed the connection]
Jdubs has joined #ruby
hiyosi_ has quit [Ping timeout: 264 seconds]
joaoh82 has quit [Remote host closed the connection]
seoNinjaWarrior has joined #ruby
jlast has joined #ruby
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
_bart_ has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 252 seconds]
ixti has quit [Ping timeout: 252 seconds]
Yan__ has quit [Read error: Connection reset by peer]
mojjojo has joined #ruby
rdark has joined #ruby
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
dukz has joined #ruby
Takehiro has joined #ruby
_bart has joined #ruby
shime has joined #ruby
<Takehiro> hmmmmm
klaut has joined #ruby
Takehiro has quit [Client Quit]
<jokke> hi
<jokke> i'm trying to debug this code here: https://paste.jreinert.com/9WET/
dhruvasagar has quit [Read error: Operation timed out]
<jokke> but for some reason pry just continues instead of stepping when i type next
dukz has quit [Remote host closed the connection]
plotter has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has left #ruby [#ruby]
<jokke> any ideas why ths might be the case?
WhereIsMySpoon has joined #ruby
tobago has joined #ruby
Heskie has joined #ruby
Jdubs has quit [Remote host closed the connection]
WhereIsMySpoon has left #ruby [#ruby]
<jokke> could it have something to do with the fact that the methods are called in an instance_eval?
Tentra has quit [Quit: Rage quit!]
joaoh82 has joined #ruby
jwang has quit [Read error: Operation timed out]
jwang has joined #ruby
brain_shim has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
ghr has joined #ruby
Jdubs has joined #ruby
rootshift has joined #ruby
Zai00 has joined #ruby
mansi has joined #ruby
dhruvasagar has joined #ruby
_bart has quit [Remote host closed the connection]
fella5s has joined #ruby
freerobby has joined #ruby
RaCx has joined #ruby
Jetchisel has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
zeeraw has joined #ruby
Kneferilis has joined #ruby
dhruvasagar has joined #ruby
mailo has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
zipper has joined #ruby
rootshift has quit [Quit: rootshift]
bier_ has quit [Ping timeout: 252 seconds]
ewnd9 has quit [Ping timeout: 272 seconds]
krz has quit [Ping timeout: 264 seconds]
tonni has joined #ruby
himsin has joined #ruby
mengu has quit [Remote host closed the connection]
ged has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
dEPy has joined #ruby
ged has joined #ruby
tvw has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
h_kon has quit [Remote host closed the connection]
bier has joined #ruby
krz has joined #ruby
tedstriker has joined #ruby
vlad_starkov has joined #ruby
gja has joined #ruby
_bart has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
postmodern has quit [Quit: Leaving]
dhruvasagar has quit [Read error: Connection reset by peer]
avril14th_ has quit [Remote host closed the connection]
avril14th has quit [Remote host closed the connection]
sayan has quit [Quit: Leaving]
ixti has joined #ruby
dhruvasagar has joined #ruby
eshy has quit [Ping timeout: 256 seconds]
lkba has quit [Ping timeout: 272 seconds]
Columcille has quit [Quit: leaving]
lewix has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
_bart has quit [Read error: Connection reset by peer]
gianlucadv has joined #ruby
_bart has joined #ruby
yfeldblum has joined #ruby
marz_skilex has quit [Quit: Textual IRC Client: www.textualapp.com]
michaeldeol has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
ghr has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has joined #ruby
lewix has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
jlebrech has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
gr33n7007h has quit [Quit: Leaving]
RaCx has joined #ruby
nettoweb has quit [Quit: nettoweb]
michaeldeol has quit [Ping timeout: 264 seconds]
karupanerura is now known as zz_karupanerura
_bart has quit [Remote host closed the connection]
<jlebrech> is there a way to render html/css in memory with just the dimensions and no other information? and organise elements based on position?
p4d4w4n has joined #ruby
<maasha> jlebrech: try #rubyonrails
xcv has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
<jlebrech> why is this rails specific?
<jlebrech> isn't there a gem that you might know of?
xcv has joined #ruby
ghr has joined #ruby
<maasha> jlebrech: I have no clue.
p4d4w4n has quit [Client Quit]
<gregoriokusowski> maybe you can render it with webkit, using a html driver, and access the stuff you need
<gregoriokusowski> jlebrech: or even selenium webdriver
dhruvasagar has quit [Read error: Connection reset by peer]
<jlebrech> yeah, webkit is the obvious choise. but i have to look for alternatives.
dhruvasagar has joined #ruby
<jlebrech> i don't need a full blown render, something more like a wireframe render of a page
_5kg has joined #ruby
marr has quit [Ping timeout: 250 seconds]
hiyosi_ has joined #ruby
lewix has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
eshy has joined #ruby
fandikurnia01 has quit [Quit: Leaving]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hiyosi_ has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
lewix__ has joined #ruby
dukz has joined #ruby
mojjojo has quit [Quit: mojjojo]
timonv has quit [Remote host closed the connection]
mojjojo has joined #ruby
jlast has joined #ruby
mrfoto has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dkamioka has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
joshu_ has joined #ruby
<jokke> hm i think popen3 is causing me trouble here
<jokke> do you see something obviously wrong with this code? https://paste.jreinert.com/09U/ruby
jlast has quit [Ping timeout: 246 seconds]
larssmit has joined #ruby
<jokke> what i'm trying to do here is grab output from the command i started, check if it's a predefined string, process it, loop
hogeo has quit [Remote host closed the connection]
joshu has quit [Ping timeout: 246 seconds]
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
Jdubs_ has joined #ruby
ss_ has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
fgo has quit [Remote host closed the connection]
<Hanmac> jokke: maybe you forget to chomp the output of gets ?
<apeiros> joonty: std*out*.gets?
nettoweb has joined #ruby
xcv_ has joined #ruby
<apeiros> how can you use gets on an *out*?
<apeiros> oh
<jokke> apeiros: it's the stdout of the command
matheuscaceres has quit [Quit: matheuscaceres]
<apeiros> yeah, noticed
<apeiros> I'm not fully booted yet…
<jokke> :)
Jdubs has quit [Ping timeout: 246 seconds]
<jokke> np
joaoh82 has quit [Remote host closed the connection]
hogeo has joined #ruby
<jokke> Hanmac: no that's not it
<shevy> as long as you are fully dressed ...
<joonty> apeiros: hello
<joonty> apeiros: did you mean jokke?
sparq has joined #ruby
<jokke> i think it's not the loop
<apeiros> hi joonty. sorry for pinging you.
* Hanmac is still in his sleeping cloths ... i think that count as "dressed"
sparq has quit [Read error: Connection reset by peer]
<joonty> :]
<jokke> i'll just post the whole code. It's not so much
Speed has joined #ruby
<jokke> aaah
<jokke> i think i know what the issue might be
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mklappstuhl has joined #ruby
<jokke> in the docs of rest_client they always pass file as File.new("")
h_kon has joined #ruby
xcv has quit [Read error: Connection reset by peer]
<jokke> *"some_path"
RaCx has quit [Ping timeout: 260 seconds]
Heskie has quit []
<jokke> i think they close the file automatically
<jokke> and i try to close it again
okinomo has quit [Ping timeout: 272 seconds]
ldnunes has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hogeo has quit [Remote host closed the connection]
<jokke> naah
<jokke> that wasn't it
hogeo has joined #ruby
mikecmpbll has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
<jokke> but it's weird: i can run two commands in succession: event_start and picture_save
mansi has joined #ruby
<jokke> after that it's like it would have exited the loop
RaCx has joined #ruby
vlad_starkov has joined #ruby
dhruvasagar has joined #ruby
<apeiros> jokke: then verify where it is and what it gets
<apeiros> log what lines you process
<apeiros> log when the loop is exited
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<jokke> yeah
<apeiros> if you have threads, rescue exceptions in the toplevel block (threads just die when an exception is unhandled)
Fire-Dragon-DoL has joined #ruby
<jokke> oh ok
<jokke> good to know
Rollabunna has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
amacgregor_ has joined #ruby
Rollabunna has quit [Remote host closed the connection]
<jokke> ugh....
Rollabunna has joined #ruby
<jokke> found the error
<jokke> undefined method `delete!' for File:Class
mengu has joined #ruby
Duckily has quit [Quit: Duckily]
sandelius has joined #ruby
<shevy> hah!
<jokke> yeah...
amacgregor has quit [Ping timeout: 246 seconds]
<shevy> you nooooob!!!!
<jokke> i thought there were two kinds of deletes
Jetchisel has quit [Ping timeout: 260 seconds]
freerobby has quit [Ping timeout: 260 seconds]
<shevy> the ones where you delete
<shevy> and the ones you think you were deleting
<jokke> haha
<jokke> yeah
Duckily has joined #ruby
LiohAu has quit [Ping timeout: 272 seconds]
rootshift has joined #ruby
michael_lee has joined #ruby
timonv has joined #ruby
mojjojo has quit [Quit: mojjojo]
LiohAu has joined #ruby
sergicles has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
eka has joined #ruby
joaoh82 has joined #ruby
brtdv has quit []
nhhagen has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
mrfoto has quit [Read error: Connection reset by peer]
Jetchisel has joined #ruby
tkuchiki has quit [Remote host closed the connection]
ace_striker has quit [Ping timeout: 272 seconds]
sayan has joined #ruby
mojjojo has joined #ruby
dkamioka has joined #ruby
nhhagen has quit [Ping timeout: 264 seconds]
tonni has quit [Remote host closed the connection]
Speed has quit [Ping timeout: 260 seconds]
tonni has joined #ruby
fgo has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
hogeo has quit [Remote host closed the connection]
fgo has quit [Client Quit]
tonni has quit [Read error: Connection reset by peer]
dkamioka has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
matheuscaceres has joined #ruby
Heskie has joined #ruby
rootshift has quit [Quit: rootshift]
ss_ has joined #ruby
rootshift has joined #ruby
Hanmac1 has joined #ruby
joaoh82 has quit [Remote host closed the connection]
michaeldeol has joined #ruby
hogeo_ has joined #ruby
joaoh82 has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 240 seconds]
Jdubs_ has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
dhruvasagar has joined #ruby
RaCx has quit [Ping timeout: 264 seconds]
phansch has quit [Remote host closed the connection]
RaCx has joined #ruby
sparq has joined #ruby
sparq has quit [Read error: Connection reset by peer]
shime has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Ping timeout: 260 seconds]
sparq has joined #ruby
falood has joined #ruby
ss_ has quit [Ping timeout: 272 seconds]
juarlex has quit [Ping timeout: 241 seconds]
brtdv has joined #ruby
sawtooth_ has quit [Ping timeout: 241 seconds]
sparq has quit [Read error: Connection reset by peer]
himsin has quit [Quit: himsin]
Clooth has joined #ruby
hogeo_ has quit [Remote host closed the connection]
hogeo has joined #ruby
dhruvasagar has quit [Quit: leaving]
ewnd9 has joined #ruby
dhruvasagar has joined #ruby
tonni has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
xcv_ has quit [Remote host closed the connection]
xcv has joined #ruby
dEPy has joined #ruby
LiohAu has quit [Ping timeout: 272 seconds]
hogeo_ has joined #ruby
ixti has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
sayan has quit [Ping timeout: 250 seconds]
anomaly_ has joined #ruby
xcv has quit [Ping timeout: 264 seconds]
gja has quit [Quit: This computer has gone to sleep]
shime has joined #ruby
zevs04 has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
anomaly_ has joined #ruby
freggles has joined #ruby
<zevs04> Hi! How to know the name alias_method which was called?)
tonni has quit [Remote host closed the connection]
mrfoto has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
<zevs04> alias_method :first, :method
<zevs04> alias_method :second, :method
p4d4w4n has joined #ruby
jlast has joined #ruby
okinomo has joined #ruby
<zevs04> how can i find out which alias is called?) first or second
dEPy has quit [Quit: Computer has gone to sleep.]
xcv has joined #ruby
allanm_ has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dEPy_ has joined #ruby
ss_ has joined #ruby
dhruvasagar has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
tonni has joined #ruby
_bart has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
jezen has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
amacgregor has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
stormbytes has joined #ruby
amacgregor has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
amacgregor_ has quit [Ping timeout: 246 seconds]
w4pm has joined #ruby
monsieurp has joined #ruby
Rollabunna has quit [Remote host closed the connection]
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
mojjojo has quit [Quit: mojjojo]
Zai00 has quit [Quit: Zai00]
RaCx has quit [Ping timeout: 240 seconds]
joshu_ has quit [Quit: Bye.]
mercwithamouth has joined #ruby
Thanatermesis has quit [Read error: Connection reset by peer]
robertjpayne has left #ruby [#ruby]
w4pm has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
akonny has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
akonny has joined #ruby
<monsieurp> hi there, I've got a problem whilst comparing two values from an array: http://pastebin.com/ED16P3Cr. Ruby outputs this: bubbleSort.rb:7:in `bubbleSort': undefined method `<' for nil:NilClass (NoMethodError)
mojjojo has joined #ruby
sanjayu has joined #ruby
<monsieurp> undefined method '<'? do I have to import a module or something?
sanjayu has left #ruby [#ruby]
<apeiros> monsieurp: `undefined method `<' for nil:NilClass`
<apeiros> means it called < on *nil*
<monsieurp> hm
<apeiros> which in turn means one of your values is nil
freerobby has joined #ruby
<apeiros> I don't think for … in works as you think it does.
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
<apeiros> it does not give you an index. it gives you the actual element.
mansi has quit [Ping timeout: 260 seconds]
<monsieurp> that's exactly what I need
<Xeago> monsieurp: that is also a very non rubyists way to write bubblesort
<monsieurp> I know
<monsieurp> hey I'm learning Ruby
<apeiros> monsieurp: `puts '[' + array.join(', ') + ']'` --> `p array`
<monsieurp> don't be too hard on me please :)
<Xeago> yea, now learn rubyisms :3
<Xeago> monsieurp: not at all my intention, sorry!
<monsieurp> I come from the Python world
<apeiros> monsieurp: well, one element is 9
carraroj has joined #ruby
<Hanmac> monsieurp: "for i in array" you need to understand what it does ... neigher i nor j in your code are indexes
<apeiros> your array only has 9 elements, so the highest index is 8
<apeiros> zero based counting
<Hanmac> apeiros: i think he thought he was using indexes
<apeiros> monsieurp: also, why do you do array[j] ?
anomaly_ has quit [Read error: Connection reset by peer]
<monsieurp> apeiros: because I want to access this value?
<monsieurp> is it wrong?
anomaly_ has joined #ruby
freerobby has quit [Ping timeout: 241 seconds]
<Xeago> j is already the value?
<apeiros> monsieurp: the point I tried to make before - for/in already gives you the value
<monsieurp> j is the index, array[j] is the value
<monsieurp> isn't it?
<monsieurp> oh
<monsieurp> okay
<monsieurp> gotcha
<apeiros> also, please use 2 spaces for indent
binaryplease has joined #ruby
<Xeago> if you want index use something like j.upto(array.size)
<apeiros> array.size.times
<apeiros> array.each_index
<apeiros> array.each_with_index
lyanchih has quit [Ping timeout: 260 seconds]
<apeiros> various options
anomaly_ has quit [Read error: Connection reset by peer]
gja has quit [Quit: This computer has gone to sleep]
<apeiros> for/in is not well received
gja has joined #ruby
anomaly_ has joined #ruby
<monsieurp> apeiros: okay :) thanks for your feedback/help
dhruvasagar has quit [Ping timeout: 240 seconds]
<monsieurp> I'm off to eat, bbl
<apeiros> yw
LostMonk has joined #ruby
<Xeago> I don't remember evern having used while/for in ruby
bal has joined #ruby
Hanmac1 has joined #ruby
carraroj has quit [Ping timeout: 246 seconds]
<apeiros> while/until I use at times
<apeiros> but for/in? never
tonni has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 250 seconds]
nhhagen has joined #ruby
tonni has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
<mklappstuhl> having an Array like (3..100) how could I slice that and index=20 so that I have (3..24) & (25..100) as seperate arrays?
binaryplease has quit [Read error: Connection timed out]
<mklappstuhl> apeiros: do you use for/in?
mercwithamouth has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
lkba has joined #ruby
<apeiros> 13:14 apeiros: but for/in? never
<apeiros> 4min ago :-p
<mklappstuhl> apeiros: ah yeah, misread ;)
<apeiros> ary[0,20], ary[20..-1]
mneorr has joined #ruby
Xeago has quit [Remote host closed the connection]
popl has quit [Ping timeout: 252 seconds]
hogeo_ has quit [Remote host closed the connection]
Xeago has joined #ruby
otero has joined #ruby
nhhagen has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
blackmesa has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
anomaly_ has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
anomaly_ has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
pranny has quit [Quit: Leaving.]
gja has quit [Quit: This computer has gone to sleep]
Xeago has quit [Ping timeout: 245 seconds]
Thanatermesis has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
hogeo has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
Speed has left #ruby ["WeeChat 0.4.2"]
dkamioka has joined #ruby
dkamioka has quit [Remote host closed the connection]
michaeldeol has joined #ruby
dkamioka has joined #ruby
sepp2k has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
RaCx has quit [Ping timeout: 246 seconds]
deol has joined #ruby
joaoh82 has quit [Remote host closed the connection]
Thanatermesis has quit [Ping timeout: 252 seconds]
RaCx has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
bogeyd6 has quit [Read error: Connection reset by peer]
phansch has joined #ruby
michaeldeol has quit [Ping timeout: 240 seconds]
stonevil has joined #ruby
bal has quit [Quit: bal]
deol has quit [Ping timeout: 240 seconds]
Beoran__ has joined #ruby
Emmanuel_Chanel has joined #ruby
zevs04 has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
p4d4w4n has joined #ruby
_bart has quit [Remote host closed the connection]
Beoran_ has quit [Read error: Operation timed out]
AlexF has joined #ruby
Duckily has quit [Quit: Duckily]
mojjojo has quit [Quit: mojjojo]
p4d4w4n has quit [Read error: Connection reset by peer]
p4d4w4n has joined #ruby
mojjojo has joined #ruby
<AlexF> hey, how would you add a recurring rescue task with a configurable recurring time?
<AlexF> resque*
hogeo has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
_Andres has joined #ruby
mrfoto has quit []
ua has quit [Quit: и хате меат]
avril14th has joined #ruby
Xeago has joined #ruby
avril14th_ has joined #ruby
tonni has joined #ruby
xcv has quit [Remote host closed the connection]
djtf has joined #ruby
tvw has joined #ruby
agent_white has quit [Quit: night]
djtf has quit [Quit: Leaving]
colonolGron has joined #ruby
joaoh82 has joined #ruby
tonni_ has joined #ruby
tonni has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
dik_dak has joined #ruby
rootshift has quit [Quit: rootshift]
jlast has joined #ruby
tonni_ has quit [Read error: Connection reset by peer]
tonni has joined #ruby
jhn has quit [Ping timeout: 250 seconds]
hogeo has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 240 seconds]
dik_dak has quit [Quit: Leaving]
mojjojo has quit [Quit: mojjojo]
hiyosi_ has joined #ruby
mojjojo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix__ has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
vpretzel_ is now known as vpretzel
lewix has joined #ruby
mansi has joined #ruby
soba has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
freerobby has joined #ruby
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
lewix has quit [Ping timeout: 246 seconds]
mansi has quit [Ping timeout: 240 seconds]
d45h has quit [Ping timeout: 272 seconds]
freerobby has quit [Ping timeout: 250 seconds]
sec^nd has joined #ruby
dfranciosi has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
Zai00 has joined #ruby
ewnd9 has quit [Ping timeout: 260 seconds]
gja has joined #ruby
`MArceLL` has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
charliesome has quit [Client Quit]
yeboot has quit [Quit: leaving]
bluenemo has quit [Remote host closed the connection]
dukz has quit [Remote host closed the connection]
stonevil has quit []
`MArceLL` has joined #ruby
<AlexF> How would you add a recurring resque task with a configurable recurring time?
vt102 has joined #ruby
nhhagen has joined #ruby
joaoh82 has quit [Remote host closed the connection]
preller has quit [Ping timeout: 252 seconds]
<joelio> any way to get Resolv to print out non loopback IPs?
marr has joined #ruby
tannerburson has quit [Ping timeout: 260 seconds]
tvw has quit []
ewnd9 has joined #ruby
MattStratton has joined #ruby
mneorr has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
nhhagen has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
Virtualize has joined #ruby
Xeago_ has joined #ruby
krz has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
awkwords has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
mneorr has quit [Ping timeout: 272 seconds]
binaryplease has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
tkuchiki has joined #ruby
anomaly_ has quit [Remote host closed the connection]
simoz has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
anomaly_ has joined #ruby
jamesaanderson has joined #ruby
ckinni has joined #ruby
Hanmac has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
camilasan has quit [Remote host closed the connection]
dfranciosi has joined #ruby
michaeldeol has joined #ruby
juarlex has joined #ruby
camilasan has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
hl has joined #ruby
simoz has quit [Ping timeout: 253 seconds]
camilasan has quit [Remote host closed the connection]
camilasa_ has joined #ruby
RaCx has joined #ruby
pranny has joined #ruby
pranny has quit [Client Quit]
pranny has joined #ruby
<avril14th_> AlexF: why not having a task book itself?
binaryplease has joined #ruby
dionyziz has quit [Remote host closed the connection]
mark_locklear has joined #ruby
<AlexF> avril14th_ like a recursive function?
<avril14th_> like so yes
<avril14th_> yhen the task is triggered
pranny has quit [Read error: Connection reset by peer]
<avril14th_> it does what it is supposed to do
<AlexF> is it a good practice to do this?
<avril14th_> then push it back (or a new one) to the queue
<avril14th_> yes it is
<avril14th_> this way your queue is kept to minimum
<avril14th_> otherwise you can't book stuffs like "do this every N forever"
<AlexF> I see, thanks for the help :)
<avril14th_> and if you want to modify the frquency you have to modify already queued tasks
vlad_starkov has joined #ruby
kitak has quit [Remote host closed the connection]
browndawg has joined #ruby
juarlex has quit [Ping timeout: 246 seconds]
zombiebit has quit []
<avril14th_> no pb
michaeldeol has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
fedesilva has joined #ruby
mklappst_ has joined #ruby
vlad_starkov has joined #ruby
awkwords has quit [Quit: Leaving.]
sayan_ has joined #ruby
krzkrz has joined #ruby
sayan_ has quit [Changing host]
sayan_ has joined #ruby
sayan_ has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Ping timeout: 246 seconds]
sayan has joined #ruby
stringoO has joined #ruby
lemonsparrow_ has joined #ruby
zkc has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
falood has quit [Remote host closed the connection]
zkc has quit [Max SendQ exceeded]
lemonsparrow_ is now known as lemonsparrow
zkc has joined #ruby
hogeo has joined #ruby
sandelius has quit [Read error: Connection reset by peer]
jmeeuwen_ has joined #ruby
jmeeuwen has quit [Ping timeout: 245 seconds]
breakingthings has joined #ruby
jmeeuwen_ is now known as jmeeuwen
troessner has quit [Ping timeout: 252 seconds]
phantummm has joined #ruby
hogeo has quit [Ping timeout: 252 seconds]
kaldrenon has joined #ruby
xcv has joined #ruby
nowthatsamatt has joined #ruby
zkc has quit [Quit: Leaving]
jkamenik has joined #ruby
gianlucadv has quit [Ping timeout: 260 seconds]
krzkrz has quit [Quit: WeeChat 0.4.2]
krzkrz has joined #ruby
jlast has joined #ruby
mansi has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
binaryplease has quit [Read error: Connection reset by peer]
krzkrz has quit [Client Quit]
joaoh82 has joined #ruby
jlast has quit [Read error: No route to host]
hogeo has joined #ruby
Clooth_ has joined #ruby
jlast has joined #ruby
joaoh82 has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
joaoh82 has joined #ruby
jibi has joined #ruby
jprovazn has quit [Quit: Leaving]
L8D has joined #ruby
mojjojo has quit [Quit: mojjojo]
mklappst_ has quit [Remote host closed the connection]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
krzkrz has joined #ruby
krzkrz has quit [Client Quit]
tannerburson has joined #ruby
mojjojo has joined #ruby
Clooth has quit [Ping timeout: 260 seconds]
hogeo has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 260 seconds]
anomaly_ has quit [Ping timeout: 256 seconds]
tonni has quit [Ping timeout: 260 seconds]
tonni has joined #ruby
w4pm has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
_bart has joined #ruby
nateberkopec has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
krzkrz has joined #ruby
justsee has quit [Ping timeout: 252 seconds]
cbetta is now known as cbetta_afk
w1xz has joined #ruby
p0wn3d has joined #ruby
sailias has joined #ruby
awkwords has joined #ruby
tylershipe has joined #ruby
joaoh82 has quit [Remote host closed the connection]
zoee has quit [Quit: This computer has gone to sleep]
dopie has quit [Quit: Leaving]
joaoh82 has joined #ruby
w4pm has quit [Ping timeout: 272 seconds]
kostine has joined #ruby
dukz has joined #ruby
agjacome has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
freerobby has joined #ruby
jibi has quit [Quit: .]
ArchBeOS-work has joined #ruby
fijimunkii has joined #ruby
h_kon has quit [Remote host closed the connection]
g0bl1n has joined #ruby
camilasa_ has quit [Ping timeout: 246 seconds]
phansch has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 272 seconds]
krzkrz has quit [Quit: WeeChat 0.4.2]
elux has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
blaskovicz has joined #ruby
boboc has joined #ruby
h_kon has joined #ruby
tylershi_ has joined #ruby
DuoSRX has joined #ruby
dEPy_ has quit [Quit: Lingo - http://www.lingoirc.com]
kristian_ has quit [Remote host closed the connection]
krzkrz has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
krzkrz has quit [Client Quit]
zoee has joined #ruby
AlexF has left #ruby [#ruby]
joaoh82 has quit [Remote host closed the connection]
phansch has joined #ruby
camilasan has joined #ruby
pu22l3r has joined #ruby
Clooth_ has quit [Read error: Connection reset by peer]
jerius has joined #ruby
Clooth has joined #ruby
tylershipe has quit [Ping timeout: 250 seconds]
_bart has quit [Remote host closed the connection]
krzkrz has joined #ruby
mklappstuhl has joined #ruby
krzkrz has quit [Client Quit]
jezen has quit []
jprovazn has joined #ruby
krzkrz has joined #ruby
tylershi_ has quit [Remote host closed the connection]
nhhagen has joined #ruby
tylershipe has joined #ruby
Xiti` has joined #ruby
jerius has quit []
preller has quit [Ping timeout: 260 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jchristi has joined #ruby
Salsa has joined #ruby
fijimunkii has quit [Ping timeout: 264 seconds]
gja has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
gja has quit [Client Quit]
krzkrz has quit [Quit: WeeChat 0.4.2]
h_kon has quit [Remote host closed the connection]
nhhagen has quit [Ping timeout: 260 seconds]
anomaly_ has joined #ruby
ace_striker has joined #ruby
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
rweng has joined #ruby
hogeo has joined #ruby
burlyscudd has quit [Quit: Leaving.]
preller has joined #ruby
jbpros has quit [Quit: jbpros]
Salsa has quit [Quit: Salsa]
bean__ has joined #ruby
fijimunkii has joined #ruby
Megtastique has joined #ruby
N00D is now known as zz_N00D
<rweng> hi guys. I'd like to load the same rails app twice (in a new namespace) for a migration project. However, require hinders me there. I tried to work around it with eval, but I am not really successful. Has anyone done something like this before? What I'd ideally like to do is compare Redmine1::Issue.all with Redmine2::Issue.all
Speed has joined #ruby
awkwords has left #ruby [#ruby]
DropsOfSerenity has joined #ruby
yfeldblum has joined #ruby
charliesome has joined #ruby
hogeo has quit [Ping timeout: 250 seconds]
shime has quit [Ping timeout: 260 seconds]
dukz has quit [Remote host closed the connection]
clamstar has joined #ruby
atno has quit [Remote host closed the connection]
dukz has joined #ruby
jerius has joined #ruby
michaeldeol has joined #ruby
tylershi_ has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
g0bl1n has quit [Ping timeout: 260 seconds]
cbetta_afk is now known as cbetta
Hanmac1 has joined #ruby
clamstar has quit [Ping timeout: 260 seconds]
tylershipe has quit [Ping timeout: 250 seconds]
claymore has quit [Quit: Leaving]
slap_stick has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Hanmac has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Ping timeout: 246 seconds]
L8D has quit [Ping timeout: 250 seconds]
mansi has quit [Ping timeout: 240 seconds]
OdNairy has joined #ruby
boboc has quit [Read error: Connection reset by peer]
_maes_ has joined #ruby
boboc has joined #ruby
jbpros has joined #ruby
kcombs has joined #ruby
falood has joined #ruby
xcv has quit [Remote host closed the connection]
sambao21 has joined #ruby
xcv has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matheuscaceres has joined #ruby
Hanmac has joined #ruby
L8D has joined #ruby
nettoweb has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
tylershi_ has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
tylershipe has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
Xeago_ has quit [Remote host closed the connection]
xcv has quit [Ping timeout: 240 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby
<rweng> tried s.th. like this http://pastie.org/8547352, which loads the files but the setup with AR is not correct
ewnd9 has quit [Ping timeout: 250 seconds]
dEPy has joined #ruby
L8D has quit [Ping timeout: 240 seconds]
atno has joined #ruby
doodlehaus has joined #ruby
<rweng> since I'm bound to 1.8.7, I think multi-threading is no option. Right now, I'll follow switching back and forth between AR-Connections. However, loading the app in a separate namespace would still be my favorite option. So if anyone has ideas, ...
bean__ has joined #ruby
krz has quit [Ping timeout: 260 seconds]
lmickh has joined #ruby
<Hanmac> rweng: we do not support 1.8.7 anymore and AR is in #rubyonrails
Monie has joined #ruby
g0bl1n has joined #ruby
anomaly_ has quit [Ping timeout: 256 seconds]
<rweng> Hanmac: I know it's not supported anymore, but it's in use in the corporate environment I'm in right now and it doesn't mean that things are not doable in it. I'll push them to migrate to 2.0.0 after they got rid on one of their redmines
duggiefresh has joined #ruby
<Hanmac> you dont understand, there are many things not doable in 1.8.7 ;P
marz_skilex has joined #ruby
snath has quit [Ping timeout: 272 seconds]
s2013 has joined #ruby
hogeo has joined #ruby
clamstar has joined #ruby
vlad_starkov has joined #ruby
g0bl1n has quit [Client Quit]
m8 has joined #ruby
enebo has joined #ruby
g0bl1n has joined #ruby
tylershipe has quit [Read error: Connection reset by peer]
tylershipe has joined #ruby
peregrine81 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<rweng> grrr ;)
m8 has quit [Max SendQ exceeded]
dukz has quit [Remote host closed the connection]
m8 has joined #ruby
Hanmac1 has joined #ruby
<shevy> like
<workmad3> rweng: it's worth really pointing out that 1.8.7 is beyond just 'not supported'. It's officially end-of-life... it's dead, kaput, and people using it are kinda on their own ;)
<shevy> rweng unfortunately I dont think you can easily reshuffle namespaces :(
<shevy> I'd wish we could get a way to reassign namespaces during require or load times
<workmad3> well, you can alias a namespace... but you can't stop the original from existing easily
hogeo has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
<shevy> :(
ffranz has quit [Ping timeout: 272 seconds]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burlyscudd has quit [Quit: Leaving.]
wherebot has joined #ruby
<rweng> alright, seems like I got to go with switching AR-Connections. Fair enough though, it's only for this migration, doesn't need to be the most beautiful solution ever. Thanks guys :)
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylershipe has quit [Read error: Connection reset by peer]
tylershipe has joined #ruby
wherebot has quit [Remote host closed the connection]
petey has joined #ruby
jedimind has joined #ruby
wherebot has joined #ruby
sbos99 has joined #ruby
jiriki has joined #ruby
momomomomo has joined #ruby
falood has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OdNairy has joined #ruby
jiriki has left #ruby [#ruby]
burlyscudd has joined #ruby
Fraeon has quit [Remote host closed the connection]
momomomomo has quit [Client Quit]
tylershi_ has joined #ruby
tylershi_ has quit [Remote host closed the connection]
kpshek has joined #ruby
wherebot has quit [Remote host closed the connection]
tylershipe has quit [Read error: Connection reset by peer]
troessner has joined #ruby
tylershipe has joined #ruby
ffranz has joined #ruby
troessner has quit [Max SendQ exceeded]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Client Quit]
freerobby has joined #ruby
s2013 has quit [Remote host closed the connection]
Virtualize has quit [Read error: Connection reset by peer]
Virtualize|away has joined #ruby
cbetta is now known as cbetta_afk
nowthatsamatt has quit [Quit: nowthatsamatt]
otherj has joined #ruby
rweng has quit [Quit: rweng]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Macaveli has quit [Ping timeout: 260 seconds]
momomomomo has joined #ruby
cbetta_afk is now known as cbetta
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
freerobby has quit [Ping timeout: 250 seconds]
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
krzkrz has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
jamesaanderson has joined #ruby
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
r0bby_ has quit [Ping timeout: 252 seconds]
krzkrz is now known as krz
krz has quit [Changing host]
krz has joined #ruby
yalue has joined #ruby
DeProdigy has joined #ruby
lsmola has joined #ruby
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
dhruvasagar has joined #ruby
mansi has joined #ruby
io_syl has joined #ruby
cbetta is now known as cbetta_afk
kevind has joined #ruby
Xeago has joined #ruby
joaoh82 has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
colonolGron has quit [Ping timeout: 272 seconds]
gverri has joined #ruby
anomaly_ has joined #ruby
mmitchell has joined #ruby
mmitchell has quit [Remote host closed the connection]
Hanmac has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gja has joined #ruby
jerius has quit [Ping timeout: 250 seconds]
mmitchell has joined #ruby
kiri has quit [Ping timeout: 246 seconds]
niklasb has quit [Ping timeout: 264 seconds]
Hanmac1 has quit [Ping timeout: 272 seconds]
araujo has quit [Read error: Operation timed out]
aspires_ has joined #ruby
falood has joined #ruby
gverri has quit [Client Quit]
araujo has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
otherj has quit []
petey has quit [Remote host closed the connection]
mickthenick has joined #ruby
petey has joined #ruby
IceDragon has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
geekbri has joined #ruby
mojjojo has quit [Quit: mojjojo]
s2013 has joined #ruby
mojjojo has joined #ruby
DropsOfSerenity has joined #ruby
tobago has quit [Remote host closed the connection]
mneorr has joined #ruby
_bart has joined #ruby
ikawnoclast has quit [Quit: ikawnoclast]
sayan has joined #ruby
petey has quit [Read error: Connection reset by peer]
DropsOfSerenity has quit [Client Quit]
ikawnoclast has joined #ruby
petey has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
lfox has joined #ruby
aapzak has quit [Ping timeout: 272 seconds]
mojjojo has quit [Client Quit]
mklappstuhl has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 260 seconds]
aapzak has joined #ruby
noop has quit [Ping timeout: 272 seconds]
mgorbach has quit [Read error: Connection reset by peer]
colonolGron has joined #ruby
DropsOfSerenity has joined #ruby
Ox6abe has joined #ruby
Fraeon has joined #ruby
sbos99 has quit [Read error: Connection reset by peer]
anomaly_ has quit [Ping timeout: 252 seconds]
tagrudev has quit [Remote host closed the connection]
Virtualize|away has quit [Quit: Leaving...]
braoru has quit [Quit: Leaving]
s2013 has quit [Ping timeout: 240 seconds]
juarlex has joined #ruby
mengu has quit []
maasha has quit [Quit: Page closed]
p4d4w4n has joined #ruby
michaeldeol has joined #ruby
Asher has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
mgorbach has joined #ruby
interactionjaxsn has joined #ruby
DropsOfSerenity has quit [Ping timeout: 264 seconds]
mgorbach has quit [Read error: Connection reset by peer]
falood_ has joined #ruby
blandflakes has joined #ruby
falood has quit [Remote host closed the connection]
falood_ has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.2]
Asher has joined #ruby
boboc has quit []
juarlex has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby
falood has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
rh1n0 has joined #ruby
nwertman has joined #ruby
chrisja has joined #ruby
mgorbach has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
stormbytes has quit [Ping timeout: 260 seconds]
ambushsabre has joined #ruby
dukz has joined #ruby
ffranz has quit [Ping timeout: 246 seconds]
ikawnoclast has quit [Quit: ikawnoclast]
falood_ has joined #ruby
falood has quit [Remote host closed the connection]
mgorbach has joined #ruby
ffranz has joined #ruby
krzkrz has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Ping timeout: 246 seconds]
ikawnoclast has joined #ruby
joaoh82 has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 246 seconds]
Hamburglr has quit [Quit: Textual IRC Client: www.textualapp.com]
Hamburglr has joined #ruby
krzkrz has left #ruby [#ruby]
dukz has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
marz_skilex has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
FL1SK has joined #ruby
mikepack has joined #ruby
drag00n has joined #ruby
mgorbach has joined #ruby
Azure has joined #ruby
ffranz has quit [Ping timeout: 264 seconds]
FL1SK is now known as cseader
josephwegner has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
Virtualize has joined #ruby
<josephwegner> Hey all.. got an interesting ruby question...
<shevy> no
nateberkopec has joined #ruby
Ox6abe has quit [Remote host closed the connection]
<josephwegner> I'm using a library that has some code, like: `match = available_roles.include?(role)`
falood_ has quit []
<josephwegner> Unfortunately, the cntents of available_roles does not have the same type as `role`
cflat has joined #ruby
gverri has joined #ruby
<josephwegner> I think I can just redefined the == function on the available_roles type, but I see that include? uses rb_equal internally
aryaching has joined #ruby
<josephwegner> Will rb_equal respect my redefinition of ==?
binaryplease has joined #ruby
hogeo has joined #ruby
g0bl1n has quit [Quit: Ex-Chat]
speed2 has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
resno has quit [Ping timeout: 264 seconds]
ss_ has quit [Remote host closed the connection]
Ox6abe_ has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
mgorbach has joined #ruby
yfeldblum has joined #ruby
Speed has quit [Ping timeout: 260 seconds]
speed2 is now known as Speed
<stringoO> What does this do? users.map(&:email)
<stringoO> it returns an array with just the emails, but I'm tyring to understand how the & takes into effect
<hoelzro> & procifies its argument
<hoelzro> via to_proc, iirc
hogeo has quit [Ping timeout: 250 seconds]
cseader has quit [Read error: Connection reset by peer]
FL1SK has joined #ruby
<stringoO> cool
cbetta_afk is now known as cbetta
mgorbach has quit [Read error: Connection reset by peer]
<stringoO> so it's the same as users.map { |u| u.email } ?
anomaly_ has joined #ruby
<hoelzro> yes
<hoelzro> note that you can define your own to_proc method
jonathanwallace has joined #ruby
<hoelzro> class Rob; def self.to_proc; proc { puts 'hi'; }; end; end; 3.times(&Rob)
<hoelzro> >> class Rob; def self.to_proc; proc { puts 'hi'; }; end; end; 3.times(&Rob)
<eval-in_> hoelzro => hi ... (https://eval.in/78690)
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zeeraw has joined #ruby
<stringoO> cool!
<stringoO> thanks hoelzro!
nowthatsamatt has joined #ruby
<hoelzro> np =)
burlyscudd has quit [Quit: Leaving.]
motto has joined #ruby
joaoh82 has joined #ruby
jonathanwallace has quit [Client Quit]
dukz has joined #ruby
jonathanwallace has joined #ruby
m8 has quit [Ping timeout: 240 seconds]
kpshek has quit []
tedstriker has quit [Quit: I have grown tired of your feeble excuses]
fedesilv_ has joined #ruby
Markvilla has joined #ruby
bnjamin has quit [Remote host closed the connection]
Columcille has joined #ruby
mgorbach has joined #ruby
fedesilva has quit [Read error: Connection reset by peer]
ValicekB has quit [Read error: Operation timed out]
jbpros has quit [Quit: jbpros]
freerobby has joined #ruby
dukz has quit [Remote host closed the connection]
amundj has quit [Ping timeout: 252 seconds]
mgorbach has quit [Read error: Connection reset by peer]
dukz has joined #ruby
dukz has quit [Read error: Connection reset by peer]
krawchyk has joined #ruby
dukz has joined #ruby
pwestlund is now known as pwestlund_away
lemonsparrow_ has joined #ruby
lemonsparrow_ has quit [Client Quit]
colonolGron has quit [Quit: leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
lemonsparrow_ has joined #ruby
tylersmith has joined #ruby
lemonsparrow is now known as Guest82348
cflat has quit [Ping timeout: 246 seconds]
lemonsparrow_ is now known as lemonsparrow
freerobby has quit [Ping timeout: 240 seconds]
okinomo has quit [Ping timeout: 264 seconds]
mlpinit has joined #ruby
ce_afk is now known as cescalante
zz_N00D is now known as CripperZ
CripperZ is now known as N00D
mgorbach has joined #ruby
mgberlin has joined #ruby
ffranz has joined #ruby
banister has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
xcv has joined #ruby
senj has joined #ruby
digital-ghost has joined #ruby
cbetta is now known as cbetta_afk
jonahR has joined #ruby
ValicekB has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
blackmesa has joined #ruby
zoee has quit [Quit: This computer has gone to sleep]
cescalante is now known as ce_afk
mklappstuhl has joined #ruby
rurban has quit [Remote host closed the connection]
threesome has quit [Read error: Operation timed out]
DropsOfSerenity has joined #ruby
Asher has quit [Ping timeout: 240 seconds]
djdb has quit [Read error: Connection reset by peer]
A124 has quit [Remote host closed the connection]
A124 has joined #ruby
_maes_ has joined #ruby
mgorbach has joined #ruby
maletor has joined #ruby
petey has quit [Remote host closed the connection]
bnjamin has joined #ruby
dopie has joined #ruby
yfeldblum has quit [Remote host closed the connection]
dEPy has quit [Quit: Computer has gone to sleep.]
petey has joined #ruby
FL1SK has quit [Read error: Connection reset by peer]
marz_skilex has joined #ruby
aganov has quit [Remote host closed the connection]
FL1SK has joined #ruby
mgberlin has quit [Quit: mgberlin]
dhruvasagar has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
cflat has joined #ruby
krzkrzkrz has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
krzkrzkrz has quit [Client Quit]
krzkrzkrz has joined #ruby
browndawg has quit [Quit: Leaving.]
maletor has quit [Ping timeout: 246 seconds]
b00stfr3ak has quit [Quit: Leaving]
petey_ has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
petey has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
andikr has quit [Remote host closed the connection]
mneorr has joined #ruby
zz_tsykoduk has quit [Ping timeout: 252 seconds]
nhhagen has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
mlpinit has quit [Remote host closed the connection]
cgore has quit [Remote host closed the connection]
mgorbach has joined #ruby
Atrophius has joined #ruby
mjc has joined #ruby
Ox6abe_ has quit [Remote host closed the connection]
mjc is now known as mjc_
davy_ has joined #ruby
mary5030 has joined #ruby
krzkrzkrz has quit [Quit: WeeChat 0.4.2]
mary5030 has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
mary5030 has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
baroquebobcat has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
orionstein_away is now known as orionstein
nvrch has quit [Quit: nvrch]
rjhunter has quit [Remote host closed the connection]
momomomomo has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
sayan_ has joined #ruby
krzkrz has joined #ruby
amh-mw has joined #ruby
fedesilva has joined #ruby
amh-mw has left #ruby [#ruby]
marz_skilex has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rjhunter has joined #ruby
mlpinit has joined #ruby
michaeldeol has joined #ruby
mickthenick has quit [Ping timeout: 252 seconds]
Speed has joined #ruby
fedesilv_ has quit [Ping timeout: 240 seconds]
sayan_ has quit [Changing host]
sayan_ has joined #ruby
sayan_ has quit [Read error: Connection reset by peer]
burlyscudd has quit [Read error: No route to host]
krzkrz has quit [Client Quit]
burlyscudd has joined #ruby
james_ has joined #ruby
mlpinit has quit [Read error: No route to host]
james_ has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
Bira has joined #ruby
m8 has joined #ruby
coldmethod has joined #ruby
sayan_ has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
ce_afk is now known as cescalante
michaeldeol has quit [Ping timeout: 240 seconds]
gloscombe has joined #ruby
marcgg has joined #ruby
juarlex has joined #ruby
motto has quit [Ping timeout: 240 seconds]
mlpinit_ has joined #ruby
sayan_ is now known as sayan
matheuscaceres has joined #ruby
petey_ has quit [Remote host closed the connection]
Asher has joined #ruby
momomomomo has quit [Quit: momomomomo]
nwertman has quit [Ping timeout: 246 seconds]
mgorbach has quit [Read error: Connection reset by peer]
petey has joined #ruby
marcgg_ has quit [Ping timeout: 250 seconds]
TMM has quit [Quit: Ex-Chat]
sambao21 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
primenum has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby
rjhunter has quit [Remote host closed the connection]
burlyscudd has joined #ruby
krzkrz has joined #ruby
Hanmac1 has joined #ruby
preller has quit [Ping timeout: 260 seconds]
Speed has left #ruby ["WeeChat 0.4.2"]
ppppaul has quit [Ping timeout: 246 seconds]
petey has quit [Read error: Connection reset by peer]
petey_ has joined #ruby
Xeago has joined #ruby
rjhunter has joined #ruby
mgorbach has joined #ruby
Xeago has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 252 seconds]
duggiefresh has quit [Remote host closed the connection]
FL1SK has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
FL1SK has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
phansch has quit [Remote host closed the connection]
rurban has joined #ruby
wallerdev has quit [Quit: wallerdev]
ahawkins has quit [Ping timeout: 240 seconds]
bnjamin has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
aryaching_ has joined #ruby
iMe has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
stormbytes has joined #ruby
lkba has joined #ruby
Czupa has joined #ruby
iMe has quit [Client Quit]
timonv has joined #ruby
mrj_ has joined #ruby
spider-mario has joined #ruby
iMe has joined #ruby
preller has joined #ruby
zz_tsykoduk has joined #ruby
jbpros has joined #ruby
arietis has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
ekarlso has quit [Ping timeout: 246 seconds]
jibi has joined #ruby
cflat has quit [Ping timeout: 272 seconds]
danman has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
Gonzih has joined #ruby
w1xz has quit [Quit: ZZZzzz…]
ekarlso has joined #ruby
zz_jrhorn424 is now known as jrhorn424
johnnyfuchs has left #ruby [#ruby]
jrhe has joined #ruby
lemonsparrow has quit [Quit: Page closed]
krzkrz has quit [Ping timeout: 250 seconds]
Zesty has joined #ruby
rjhunter has quit [Remote host closed the connection]
noname001__ has quit [Ping timeout: 240 seconds]
flubba has joined #ruby
mgorbach has joined #ruby
io_syl has quit []
hogeo has quit [Ping timeout: 246 seconds]
timonv has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
havenwood has joined #ruby
iliketur_ has joined #ruby
coderhs has joined #ruby
jbpros has joined #ruby
coderhs has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
alup has quit [Quit: Leaving]
jhaals_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
ppppaul has joined #ruby
nwertman has joined #ruby
includex has joined #ruby
nobitanobi has joined #ruby
cameronbarton has joined #ruby
flubba has quit [Remote host closed the connection]
<sec^nd> bk
benzrf has joined #ruby
<sec^nd> ...
<benzrf> hello
<sec^nd> benzrf:
<sec^nd> hi
<benzrf> sup
<sec^nd> ::Taza::Site
<sec^nd> What does that do?
<sec^nd> noghitn much, learning ruby
<sec^nd> benzrf: Why does it have :: in front?
<benzrf> if I have a stringio or something similar, how can I rewind a set number of chars?
flubba has joined #ruby
<benzrf> *instead of to the beginning
<sec^nd> shevy:
<nobitanobi> morning
petey_ has quit [Remote host closed the connection]
FL1SK has quit [Read error: Connection reset by peer]
mgorbach has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
FL1SK has joined #ruby
<benzrf> btw does ruby have any parsing libs as nice as Parsec
petey has joined #ruby
mgorbach has joined #ruby
<apeiros> benzrf: strio.seek(-n, IO::SEEK_CUR)
SHyx0rmZ has joined #ruby
<apeiros> sec^nd: it means "toplevel"
sambao21 has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
<sec^nd> apeiros: What does it mean by toplevel?
<apeiros> >> X = 1; module A; X = 2; def self.x; [::X, X]; end; end; A.x
<eval-in_> apeiros => [1, 2] (https://eval.in/78734)
<apeiros> ::X is the toplevel X, second X is the relative A::X
<sec^nd> Also apeiros I'm guessing that it means from the Module Taza get the class Site, correct?
<apeiros> constant Site. whether it is a class or not can't be inferred from the name.
reach has quit [Remote host closed the connection]
freerobby has joined #ruby
<benzrf> apeiros: would using stringio and that be appropriate for an attempt @ writing a simple parsing lib
<sec^nd> apeiros: ahh, its a class because a class is extending ::Taza::Site
SeySayux_ is now known as SeySayux
<apeiros> sec^nd: don't use the term 'extend' when you mean 'inherit from'
<apeiros> extend has its own meaning in ruby
flubba has quit [Ping timeout: 246 seconds]
<sec^nd> apeiros: ahh, what does extend mean in ruby?
xk_id has joined #ruby
<sec^nd> apeiros: also is there a way for me to do interfaces in ruby?
sambao21 has joined #ruby
<apeiros> benzrf: without further details, I see no reason not to use stringio
<benzrf> ok
cameronbarton has quit [Quit: cameronbarton]
<sec^nd> ... then again, nvm not needed
<benzrf> sec^nd: duck typing
<sec^nd> duck tying!
<sec^nd> ... yes
<benzrf> duck typing ftw
threesome has joined #ruby
<benzrf> [in scripting langs]
IceDragon has quit [Ping timeout: 250 seconds]
<apeiros> sec^nd: since ruby does not have interfaces and words mean different things - be more precise in what you want to achieve.
cameronbarton has joined #ruby
<sec^nd> apeiros: what does extend mean in ruby?
<apeiros> sec^nd: see Object#extend
<sec^nd> kk
josephwegner has left #ruby [#ruby]
cameronbarton has quit [Client Quit]
flubba has joined #ruby
Duckily has joined #ruby
carraroj has joined #ruby
IceDragon has joined #ruby
cameronbarton has joined #ruby
ppppaul has quit [Ping timeout: 240 seconds]
cameronbarton has quit [Client Quit]
lmickh has quit [Ping timeout: 253 seconds]
jkhwan has joined #ruby
<benzrf> man do-notation could be p neat in ruby
freerobby has quit [Ping timeout: 264 seconds]
dev__ has joined #ruby
Heskie has quit []
dagobah has quit [Remote host closed the connection]
Naoe-Kanno has joined #ruby
Arzaga has joined #ruby
SHyx0rmZ has quit [Ping timeout: 250 seconds]
Virtualize has quit [Quit: Leaving...]
snath has joined #ruby
brtdv has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
troyready has joined #ruby
nwertman has quit [Ping timeout: 272 seconds]
enebo has quit [Quit: enebo]
<apeiros> benzrf: ?
KmartSqrl has joined #ruby
<benzrf> apeiros: do-notation
<benzrf> like in haskell
<benzrf> it is Syntactic Sugar
mikeg has joined #ruby
<apeiros> I don't know haskell
<benzrf> foo\nbar -> foo >> bar
<benzrf> foo <- bar\nbaz -> foo >>= \bar -> baz
<benzrf> its for monads
deception has joined #ruby
Czupa has quit [Quit: Wychodzi]
Czupa has joined #ruby
maletor has joined #ruby
Hanmac1 is now known as Hanmac
<benzrf> apeiros: check out this neat parser http://bpaste.net/show/ol1DIwJ55lIohkXorIf8/
jrhe_ has joined #ruby
jrhe has quit [Quit: jrhe]
jrhe_ is now known as jrhe
<apeiros> spanish
lsmola has quit [Ping timeout: 246 seconds]
petey has quit [Remote host closed the connection]
clamstar has quit [Quit: Computer has gone to sleep.]
pel_daniel has joined #ruby
<benzrf> hm?
petey has joined #ruby
nhhagen has joined #ruby
larssmit has quit [Quit: Leaving.]
<apeiros> it's spanish to me
<benzrf> :p
<apeiros> as in: can't read a word :)
<apeiros> actually, I think I understand more spanish than that :-D
benweint has joined #ruby
blaxter_ has quit [Quit: foo]
zeade has joined #ruby
<benzrf> given the data type definitions earlier in the file, those 23 lines can do this:
<benzrf> *Main> parseTerm "<unknown>" "(foo bar 34 '(1 2 3))"
<benzrf> Right (foo bar 34.0 (quote (1.0 2.0 3.0)))
primenum has quit [Ping timeout: 264 seconds]
<benzrf> :-D
Inoperable has joined #ruby
havenwood has joined #ruby
<benzrf> oh, plus a one-liner function to apply the parser
makkura has joined #ruby
aapzak has quit [Ping timeout: 250 seconds]
fijimunkii has quit [Ping timeout: 246 seconds]
<apeiros> benzrf: so you cheated by not showing the whole thing!
<benzrf> :P
<apeiros> hiding all the ugly parts
<benzrf> that's all of the _parsing_ code
<benzrf> what
<benzrf> no
OdNairy has joined #ruby
<apeiros> ;-p
<benzrf> the data decls necessary to do that are here [one sec]
Inoperable has quit [Client Quit]
<apeiros> I kiiid
<apeiros> also, I don't speak haskel, so it's pearls before swines…
<benzrf> it's not necessarily good code
<benzrf> it just shows how awesome parsec it
<benzrf> *is
mneorr has joined #ruby
petey has quit [Ping timeout: 240 seconds]
<benzrf> data decls ^
aapzak has joined #ruby
<makkura> Hey guys, I'm looking for a good ruby starter book for ruby 2. I've got a friend who's a sysadmin but hasn't programmed since COBOL and is looking at ruby. I'm just finding it hard to find ruby 2 books though I suppose 1.9 would cover most of it and not be incorrect.
ghr has quit [Quit: Computer has gone to sleep.]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nhhagen has quit [Ping timeout: 252 seconds]
<benzrf> oh wait
<benzrf> w/e
s_kilk has joined #ruby
<benzrf> apeiros: in ruby with a tiny bit of haskell syntax, here's what it's doing
<benzrf> def termP; listP | symP | numP; end
rjhunter has joined #ruby
timonv has joined #ruby
<benzrf> oh wait
petey has joined #ruby
<benzrf> the semantics are different enough that equivalent-looking ruby code is impossible semantically
<benzrf> :|
jbpros has quit [Quit: jbpros]
Inoperable has joined #ruby
ffranz has quit [Ping timeout: 252 seconds]
Inoperable has quit [Remote host closed the connection]
kevind_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
nwertman has joined #ruby
Inoperable has joined #ruby
<apeiros> well, you can implement #|
fijimunkii has joined #ruby
<benzrf> yeah
<benzrf> but you cant do do-notation
DeProdigy has quit [Ping timeout: 272 seconds]
<apeiros> I still have no idea what that is :)
dhruvasagar has joined #ruby
<benzrf> w/e let me write a hokey nearly-impossible-to-implement ruby equiv
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
rubyracer has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
Inoperable has left #ruby [#ruby]
mary5030 has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 240 seconds]
kevind has quit [Ping timeout: 272 seconds]
<benzrf> im gonna get rid of the extra cruft that I needed to make the types work
kevind_ is now known as kevind
tylershipe has quit [Remote host closed the connection]
devgiant has joined #ruby
bradhe has joined #ruby
Emmanuel_Chanel has joined #ruby
tylershipe has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
flubba has quit [Remote host closed the connection]
Monie has joined #ruby
jbpros has joined #ruby
kpshek has joined #ruby
avril14th_ has quit [Remote host closed the connection]
bigoldrock1 has joined #ruby
sec^nd has quit [Remote host closed the connection]
avril14th_ has joined #ruby
<benzrf> this is a nearly impossible to implement ruby version of that haskell
Loaft has quit [Ping timeout: 252 seconds]
<benzrf> because i'm using = instead of <-, which are entirely separate
sec^nd has joined #ruby
blaskovicz has quit [Quit: Leaving.]
michaeldeol has joined #ruby
<benzrf> foo <- bar\n[...] in do-notation is more or less similar to bar {|foo| [...]} in ruby
Azure has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<benzrf> anyway g2g
tylershipe has quit [Ping timeout: 246 seconds]
benzrf is now known as benzrf|testing
<benzrf|testing> -afk-
motto has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
Opettaja has quit [Ping timeout: 252 seconds]
Inoperable has joined #ruby
timonv_ has joined #ruby
Eiam has quit [Ping timeout: 242 seconds]
ephemerian has quit [Quit: Leaving.]
bean_ has joined #ruby
mikepack has joined #ruby
nwertman has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
tylersmi_ has joined #ruby
shedd has joined #ruby
jbpros_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
mikepack has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
avril14th_ has quit [Read error: Connection reset by peer]
m8 has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Ping timeout: 260 seconds]
avril14th_ has joined #ruby
DeProdigy has joined #ruby
Eiam has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
po10 has joined #ruby
preller has quit [Ping timeout: 250 seconds]
jbpros has quit [Ping timeout: 264 seconds]
jbpros_ is now known as jbpros
mneorr has joined #ruby
devgiant has left #ruby ["Leaving"]
andredieb is now known as anbreviev
noop has joined #ruby
makkura has quit [Quit: Leaving]
Skelz0r_ is now known as Skelz0r
Zesty has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
preller has joined #ruby
cantonic has quit [Quit: cantonic]
jibi has quit [Quit: .]
Xeago has quit [Read error: Operation timed out]
mojjojo has joined #ruby
luke has joined #ruby
luke has quit [Client Quit]
brianpWins has quit [Ping timeout: 264 seconds]
tylersmi_ has quit [Read error: Connection reset by peer]
mojjojo has quit [Client Quit]
tylersmith has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
canton7-mac has quit [Ping timeout: 246 seconds]
tylershipe has joined #ruby
ckinni has joined #ruby
cmedeiros has joined #ruby
cantonic has joined #ruby
zoee has joined #ruby
camilasan has quit []
hogeo has joined #ruby
tonni has quit [Remote host closed the connection]
tonni has joined #ruby
barratt has quit [Ping timeout: 272 seconds]
s2013 has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
duggiefresh has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.2]
michael_lee has quit [Ping timeout: 246 seconds]
hogeo has quit [Ping timeout: 264 seconds]
krz has joined #ruby
_bart has quit [Remote host closed the connection]
tonni has quit [Ping timeout: 246 seconds]
clamstar has joined #ruby
brtdv has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
preller has quit [Ping timeout: 264 seconds]
ace_striker has joined #ruby
DeProdig1 has joined #ruby
mojjojo has joined #ruby
hadees has joined #ruby
petey has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
BlakeRG has joined #ruby
<BlakeRG> is there a real solution to this problem? https://gist.github.com/anonymous/4d6249f17dfc51bf1581
petey has joined #ruby
Bira has quit [Remote host closed the connection]
DeProdigy has quit [Ping timeout: 264 seconds]
<apeiros> BlakeRG: you can use activesupport's Object#try
clindsay is now known as BraddPitt
FL1SK is now known as cseader
<BlakeRG> apeiros: is this assuming i am using rails? because i am not
<apeiros> activesupport can be used without rails
VTLob has joined #ruby
<apeiros> and porting/extracting Object#try is trivial
<apeiros> I don't think it's more than a dozen lines of code
<BlakeRG> this looks interesting apeiros
<BlakeRG> apeiros: is this actively used inside of rails it's just separated out as it's own gem?
Duckily has quit [Quit: Duckily]
Underbyte has joined #ruby
<apeiros> yeah, 9 lines for Object#try and 5 lines for NilClass#try
jchristi has quit [Read error: Operation timed out]
fomatin has joined #ruby
<apeiros> BlakeRG: as said, activesupport is a separate gem. it has a lot more than just Object#try. but it's not rails.
workmad3 has quit [Ping timeout: 240 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
<interactionjaxsn> BlakeRG: what about #fetch
<BlakeRG> apeiros: i mean, is this gem a part of the rails "core"
thumpba has quit [Remote host closed the connection]
freerobby has joined #ruby
petey has quit [Ping timeout: 260 seconds]
<apeiros> what would that matter? yes, it's part of rails
preller has joined #ruby
<BlakeRG> ok, i see it depends on it http://rubygems.org/gems/rails
jchristi has joined #ruby
io_syl has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
<BlakeRG> apeiros: does not matter a whole lot, just a curiosity :)
jchristi has quit [Client Quit]
jchristi has joined #ruby
bean_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<BlakeRG> apeiros: looks like .blank? . present? will be useful
<BlakeRG> wish i knew/thought of using this long ago
momomomomo has quit [Quit: momomomomo]
Thanatermesis has quit [Ping timeout: 252 seconds]
petey has joined #ruby
<zaychenok> \quit
xcthulhu has joined #ruby
zaychenok has quit [Quit: leaving]
fomatin has quit [Ping timeout: 246 seconds]
benwoody has joined #ruby
wc- has joined #ruby
OdNairy has quit []
s2013 has quit [Ping timeout: 246 seconds]
<wc-> hi all, what does this mean if a function's declaration ends in an '='? like def year_month= str
jedimind has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<wc-> im trying ot google for it but i dont really know what to search for
klaut has quit [Remote host closed the connection]
anderson has quit [Quit: Leaving]
freerobby has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Quit: Leaving.]
<xcthulhu> Hello! I am working on a RAILS app that has a PSQL database that is being written to be JAVA. Our JAVA app does not reliably post timestamps correctly, or at all sometimes, so I need to make sure that when my migrations make created_at and updated_at timestamps in a table that they are (1) not null (2) default to 'NOW()' and (3) have a timezone
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xcthulhu> Does anybody have any idea how to do this in the activerecord DSL?
dev__ has quit [Ping timeout: 252 seconds]
jedimind has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
flubba has joined #ruby
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcv has quit [Remote host closed the connection]
dev__ has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
dukz has quit [Remote host closed the connection]
xcv has joined #ruby
Bira has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
olivier_bK has quit [Ping timeout: 252 seconds]
Virtualize has joined #ruby
dukz has joined #ruby
xcthulhu has quit [Quit: xcthulhu]
mark_locklear has quit [Quit: Leaving]
lmickh has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
krzkrz has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
dukz has quit [Ping timeout: 246 seconds]
zeeraw has joined #ruby
w1xz has joined #ruby
xcv_ has joined #ruby
tjbiddle has joined #ruby
Virtualize has quit [Ping timeout: 264 seconds]
rezzack has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<jrhe> wc: it means its a setter function. It gets called when you do year_month = 'some value'
<interactionjaxsn> wc-: it's a setter. Obj.year_month = string_input
brianpWins has joined #ruby
Freijo has joined #ruby
Freijo has quit [Client Quit]
<jrhe> wc: at least thats what I think you are describing
<wc-> ya just found that, thank you. so i can consider it syntactic sugar like ? or !
mary5030 has joined #ruby
<jrhe> wc: yes
zeeraw has quit [Client Quit]
<jrhe> wc: Although its slightly special as you dont have to call it with year_month=, you can call it with year_month =
amoli has joined #ruby
nanoyak has joined #ruby
dev__ has quit [Ping timeout: 252 seconds]
krzkrz has left #ruby [#ruby]
xcv has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
jrhorn424 is now known as zz_jrhorn424
platzhirsch has joined #ruby
cameronbarton has joined #ruby
saarinen has joined #ruby
joaoh82 has quit [Remote host closed the connection]
s2013 has joined #ruby
<benzrf|testing> how the hell is callcc implemented
heidi has joined #ruby
benzrf|testing is now known as benzrf
OdNairy has joined #ruby
<platzhirsch> callcc?
claymore has joined #ruby
<benzrf> >> require 'continuation'; n = callcc {|cont| foo = 3; cont.call(foo)}; puts n
<eval-in_> benzrf => 3 ... (https://eval.in/78792)
senj has joined #ruby
iliketur_ has joined #ruby
obs has quit [Quit: Saliendo]
joaoh82_ has joined #ruby
ffranz has joined #ruby
s_kilk has quit [Quit: Leaving]
nhhagen has quit [Ping timeout: 252 seconds]
jonahR has quit [Quit: jonahR]
thumpba has joined #ruby
rjhunter has joined #ruby
joaoh82_ has quit [Remote host closed the connection]
<benzrf> ah its in c
<benzrf> ok
burlyscudd has joined #ruby
<platzhirsch> It seems to have a bunch of doc above it
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
nobitanobi has joined #ruby
rjhunter has quit [Ping timeout: 246 seconds]
binaryplease has quit [Ping timeout: 246 seconds]
OdNairy has quit []
Gonzih has quit [Quit: IRC is just multiplayer vim.]
Monie has joined #ruby
OdNairy has joined #ruby
michaeldeol has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
mmitchell has quit [Ping timeout: 260 seconds]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
ace_striker has quit [Ping timeout: 272 seconds]
tylersmith has joined #ruby
mklappstuhl has joined #ruby
michaeldeol has quit [Ping timeout: 260 seconds]
shedd has quit []
mmitchell has joined #ruby
enebo has joined #ruby
jerius has joined #ruby
bradhe has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
havenwood has quit [Ping timeout: 272 seconds]
cameronbarton has quit [Remote host closed the connection]
w4pm has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
g0bl1n has joined #ruby
jlast has quit [Remote host closed the connection]
<xibalba> i'm trying to install the netflow gem, but receive the following.
<xibalba> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadE rror)
<xibalba> first time i'm trying to load a gem
<xibalba> i ran sudo gem install netflow
pushpak has joined #ruby
mbff has joined #ruby
bigoldrock1 has quit [Ping timeout: 264 seconds]
mbff is now known as Guest43107
bigoldrock has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
<YOURBESTFRIEND> you can't have more than 15 arguments in a ruby function? really?
diegoviola has joined #ruby
codeFiend has joined #ruby
<xibalba> use a splat perhaps?
shadoi1 has joined #ruby
nwertman has joined #ruby
xk_id has quit [Ping timeout: 246 seconds]
<miah> wtf would you ever write a method that took more than 15 methods. goes beyond all recommended programming practices.
shadoi has quit [Read error: Connection reset by peer]
<miah> s/15 methods/15 arguments
hogeo has joined #ruby
Atrophius has quit [Read error: Connection reset by peer]
iliketur_ has quit [Quit: zzzzz…..]
billy_ran_away has joined #ruby
xk_id has joined #ruby
reset has joined #ruby
petey has quit [Remote host closed the connection]
iliketur_ has joined #ruby
billy_ran_away has left #ruby [#ruby]
sayan has quit [Ping timeout: 272 seconds]
<banister> miah rails methods are like that
petey has joined #ruby
hogeo has quit [Ping timeout: 250 seconds]
<miah> glad i dont use rails
bradhe has joined #ruby
<miah> of course, im in a similar boat as i use chef
<apeiros> YOURBESTFRIEND: what nonsense?
<banister> miah what if the args aren't positional?
mephux has quit [Ping timeout: 252 seconds]
ambushsabre has joined #ruby
<apeiros> YOURBESTFRIEND: ruby supports more than 15 arguments
<miah> still chaos. keep them limited to 2-3
<apeiros> but as miah already said - it's rather bad to have such a method
<banister> apeiros in the C API though ruby only supports about 17 args iirc
<platzhirsch> jeez, 15 arguments? That's hell of an anti-christ method
<banister> it has a huge switch with function pointers of different arity
<banister> and it only goes up to 17 iirc
<apeiros> banister: hm, no? with argc + argv you can have as many as you want
burlyscudd has quit [Quit: Leaving.]
<apeiros> scanargs maybe doesn't support it
<YOURBESTFRIEND> yeah, with the C API
Megro has joined #ruby
timonv has joined #ruby
<banister> apeiros i mean of the form: VALUE func(VALUE, VALUE, VALUE, VALUE, *)
<banister> you can only have 17 VALUEs iirc
xcthulhu has joined #ruby
joaoh82 has joined #ruby
<YOURBESTFRIEND> it's 15 I think
thumpba has quit [Remote host closed the connection]
avril14th_ has quit [Read error: Connection reset by peer]
RaCx has quit [Quit: Computer has gone to sleep.]
petey has quit [Ping timeout: 250 seconds]
<miah> quoteth, uncle bob: "The ideal number of arguments for a function is zero (niladic). Next comes one (monadic), followed closely by two (dyadic). Three arguments (triadic) should be avoided where possible. More than three (polyadic) requires very special justification -- and then shouldn't be used anyway."
petey_ has joined #ruby
RaCx has joined #ruby
ephemerian has joined #ruby
nwertman has quit [Ping timeout: 272 seconds]
adssdadas has joined #ruby
nobitanobi has quit [Disconnected by services]
mklappstuhl has quit [Remote host closed the connection]
<miah> also <3 his videos
dangerousdave has joined #ruby
jchristi1 has joined #ruby
havenwood has joined #ruby
failshell has joined #ruby
<platzhirsch> well 16 arguments work
<platzhirsch> have I missed something?
jbpros has quit [Quit: jbpros]
mark_locklear has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
bigoldrock has quit [Ping timeout: 260 seconds]
jchristi has quit [Ping timeout: 252 seconds]
<miah> it works, but dont do that please.
nobitanobi has joined #ruby
<miah> future programmers dealing with your code thank you in advance
cyanboy has joined #ruby
cyanboy has left #ruby [#ruby]
freerobby has joined #ruby
<platzhirsch> yeah, I will go straight to some open source repositories and issue some pull request to refactor their inferior methods to methods with at least 20 arguments
p4d4w4n has quit [Quit: This computer has gone to sleep]
ffranz has quit [Quit: Leaving]
bigoldrock has joined #ruby
adssdadas has quit [Ping timeout: 272 seconds]
<miah> please do
robert___ has joined #ruby
<platzhirsch> no, that's disgusting
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<miah> _
<miah> ;)
N00D is now known as zz_N00D
<platzhirsch> YOURBESTFRIEND: so you were trolling or what? :P
sayan has joined #ruby
obiwahn has quit [Quit: obiwahn]
bradhe has quit [Remote host closed the connection]
ffranz has joined #ruby
robert_ has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
freerobby has quit [Ping timeout: 251 seconds]
<YOURBESTFRIEND> platzhirsch: what?
<YOURBESTFRIEND> with the C API, man
jlast has joined #ruby
bricker has quit [Read error: Operation timed out]
<platzhirsch> oh
<YOURBESTFRIEND> taken from weechat's scripting guide: "Due to a limitation of Ruby (15 arguments max by function), the function Weechat.config_new_option receives the callbacks in an array of 6 strings (3 callbacks + 3 data strings), so a call to this function looks like: "
includex has quit [Quit: Textual IRC Client: www.textualapp.com]
Advocation has joined #ruby
<YOURBESTFRIEND> I haven't even tried it
burlyscudd has joined #ruby
<YOURBESTFRIEND> but I trust this guy
roolo has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
bricker has joined #ruby
aryaching_ has quit [Ping timeout: 250 seconds]
<xibalba> is uint16 1 byte?
sayan has quit [Ping timeout: 260 seconds]
zoee has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
dfranciosi has quit [Remote host closed the connection]
Virtualize has joined #ruby
Clooth has quit [Read error: Connection reset by peer]
Clooth_ has joined #ruby
<xibalba> 2 bytes
Clooth_ is now known as Clooth
mrj_ is now known as mrj
mrj has quit [Changing host]
mrj has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
KmartSqrl has quit []
<apeiros> banister: well, that's less a limitation of ruby and more a limitation of how C works
<apeiros> YOURBESTFRIEND: nothing stops you from extending that
Mon_Ouie has quit [Ping timeout: 260 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
Virtualize has quit [Ping timeout: 272 seconds]
maletor has joined #ruby
mklappstuhl has joined #ruby
jbpros has joined #ruby
<YOURBESTFRIEND> why is it possible with other embedded languages, though?
noop has quit [Ping timeout: 240 seconds]
<YOURBESTFRIEND> you can also use python to develop weechat scripts, and you don't have that restriction
bean_ has joined #ruby
Speed has joined #ruby
<miah> take it up with the weechat authors
Guest43107 has quit [Quit: ZNC - http://znc.in]
nhhagen has joined #ruby
<shevy> YOURBESTFRIEND I can not reproduce it
<miah> age old wisdom; the documentation is out of date as soon as you publish it.
RaCx has quit [Quit: Computer has gone to sleep.]
dkamioka has quit [Remote host closed the connection]
skaflem has quit [Quit: Leaving]
<Hanmac> you can split the args scan, like you scan the first 15 args first and a rest arg, and then scan the rest arg with the next 15 args ... i maked it before in one of my bindings
RaCx has joined #ruby
<shevy> YOURBESTFRIEND, look: ArgumentError: wrong number of arguments (34 for 26)
mbff_ has joined #ruby
dkamioka has joined #ruby
mojjojo has quit [Quit: mojjojo]
<YOURBESTFRIEND> might have been a restriction of ruby 0.32
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<YOURBESTFRIEND> ( ≖‿≖)
<shevy> so how can it be true that it accepts only 15 arguments when it just tells me 34 args for 26 set
<shevy> cool
<Hanmac> YOURBESTFRIEND: but imo does an function with that many parameters does not make any sense? (they should be option parameters)
<YOURBESTFRIEND> are you using the C API?
<shevy> I'd wish I could have used ruby 0.32
<YOURBESTFRIEND> or is it pure ruby?
<shevy> pure ruby
mercwithamouth has joined #ruby
<YOURBESTFRIEND> we're talking about the C API there I think
<shevy> hmm
agjacome has quit [Ping timeout: 250 seconds]
carraroj has joined #ruby
mojjojo has joined #ruby
<YOURBESTFRIEND> it is/was impossible to create functions with more than 15 arguments
<shevy> ok but why does this work in ruby... isn't ruby written in C?
<benzrf> shevy: ruby isnt
<benzrf> MRI is
<benzrf> and/or YARV
<benzrf> ;p
<YOURBESTFRIEND> you can define functions in C that you will call in ruby, and those functions you couldn't use more than 15 arguments
<YOURBESTFRIEND> that's how I understand it
nhhagen has quit [Ping timeout: 240 seconds]
<havenwood> YOURBESTFRIEND: I get a system stack error if I pass more than 131,036 arguments, so not 15 but yeah not limitless. :P
burlyscudd has quit [Quit: Leaving.]
decoponio has quit [Quit: Leaving...]
dkamioka has quit [Ping timeout: 240 seconds]
rjhunter has joined #ruby
<shevy> benzrf for me only MRI exists, the rest are big cheaters and posers
tannerburson has quit [Read error: Connection reset by peer]
<Hanmac> YOURBESTFRIEND: you can split the args scan, like you scan the first 15 args first and a rest arg, and then scan the rest arg with the next 15 args ... i maked it before in one of my bindings (but i didnt found it yet)
mikepack has quit [Remote host closed the connection]
anderson has joined #ruby
p4d4w4n has joined #ruby
tannerburson has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
dweeb_ has joined #ruby
mbff_ has quit [Quit: ZNC - http://znc.in]
mojjojo has quit [Quit: mojjojo]
rjhunter has quit [Ping timeout: 252 seconds]
thumpba has joined #ruby
mojjojo has joined #ruby
mojjojo has quit [Client Quit]
p0wn3d has quit [Remote host closed the connection]
A124 has quit [Read error: Connection reset by peer]
arubin has joined #ruby
michaeldeol has joined #ruby
hiyosi_ has quit [Ping timeout: 264 seconds]
eldariof has joined #ruby
mbff has joined #ruby
mbff is now known as Guest76249
alvaro_o has joined #ruby
marz_skilex has joined #ruby
Bira has quit [Remote host closed the connection]
Tentra has joined #ruby
jibi has joined #ruby
burlyscudd has joined #ruby
bean_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
allaire has joined #ruby
geggam has joined #ruby
madhatter has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby
raddazong has joined #ruby
preller has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Ping timeout: 252 seconds]
codeFiend has quit [Quit: codeFiend]
r0bby_ has joined #ruby
benlieb has joined #ruby
Bira has joined #ruby
vlad_starkov has joined #ruby
eldariof has quit []
vlad_starkov has quit [Read error: Connection reset by peer]
benzrf has left #ruby [#ruby]
fsck3r has quit [Quit: Connection closed for inactivity]
vlad_starkov has joined #ruby
PapaSierra has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<PapaSierra> i'm trying to uninstall a gem on mac osx. namely vagrant. but my local gems list is empty. i'm not sure how to do this.
canton7-mac has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
obs has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
relix has joined #ruby
freerobby has joined #ruby
Jdubs has joined #ruby
<miah> hash -r
<miah> or if you're rvm. i think there is a special hash command
<havenwood> PapaSierra: Vagrant ships as a downloadable binary these days. You may have the non-gem version installed?
<miah> rvm rehash?
<miah> rbenv has similar.
<havenwood> miah: I think you're thinking rbenv?
<miah> ya. i chruby so no idea. =)
nhhagen has joined #ruby
petey_ has quit [Remote host closed the connection]
vpretzel has quit [Quit: Adios!]
nhhagen has quit [Remote host closed the connection]
<PapaSierra> havenwood: no, i installed vagrant using the gem instructions last year. now i'm trying to remove it so i can add it the new version using the installer. but it's a ghost in the machine, i can't uninstall it
<PapaSierra> but i *can* use it!
<miah> PapaSierra: 'which vagrant'
petey has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
Es0teric has joined #ruby
mklappstuhl has joined #ruby
<miah> that should point you in the right direction.
<PapaSierra> miah: /usr/bin/vagrant
Bira has quit [Remote host closed the connection]
<miah> is that a symlink?
canton7-mac has quit [Ping timeout: 240 seconds]
<miah> or is it a wrapper script, look inside it.
vlad_starkov has joined #ruby
anomaly_ has quit [Ping timeout: 256 seconds]
hogeo has joined #ruby
<havenwood> PapaSierra: If `ls -la /usr/bin/vagrant` is a simlink to /Applications/Vagrant/bin/vagrant
<havenwood> symlink*
<havenwood> then not a gem
<PapaSierra> miah: havenwood: http://www.hastebin.com/raw/cibedivati
<PapaSierra> havenwood: indeed that is the case
kirun has joined #ruby
<PapaSierra> havenwood: so that means it is NOT a gem after all? it's an installed application?
niftylettuce has joined #ruby
<miah> seems like it =)
CaptainJet has joined #ruby
kobain has joined #ruby
A124 has joined #ruby
petey has quit [Ping timeout: 246 seconds]
bogeyd6 has joined #ruby
bradhe has joined #ruby
<PapaSierra> that's super strange! but cool, it works, i just installed the new installer over it and it's working! just need to migrate my old configuration file now :S
<miah> coolbeans
hogeo has quit [Ping timeout: 250 seconds]
<PapaSierra> ty v m miah + havenwood
<miah> your welcomes.
hadees has quit [Quit: hadees]
maroloccio has quit [Ping timeout: 260 seconds]
mikeg has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
joaoh82 has joined #ruby
Bira has joined #ruby
jprovazn has quit [Quit: Odcházím]
maletor has quit [Quit: Computer has gone to sleep.]
p4d4w4n has quit [Quit: This computer has gone to sleep]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
spider-mario has quit [Ping timeout: 252 seconds]
preller has quit [Ping timeout: 260 seconds]
raphaelivan has joined #ruby
rootshift has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
p4d4w4n has joined #ruby
bricker has joined #ruby
lewix has joined #ruby
zz_jrhorn424 is now known as jrhorn424
rubyracer has quit [Quit: Konversation terminated!]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CaptainKnots has joined #ruby
p4d4w4n has quit [Client Quit]
joaoh82 has quit [Ping timeout: 250 seconds]
momomomomo has quit [Quit: momomomomo]
mikeg has joined #ruby
rubyracer has joined #ruby
momomomomo has joined #ruby
w1xz has quit [Quit: ZZZzzz…]
anbreviev is now known as andredieb
olivier_bK has joined #ruby
benwoody has quit [Quit: benwoody]
spider-mario has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
dkamioka has joined #ruby
jbpros has quit [Quit: jbpros]
joshu has joined #ruby
shime has joined #ruby
mojjojo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
vlad_starkov has joined #ruby
obs has quit [Remote host closed the connection]
includex has joined #ruby
bigoldrock has quit [Ping timeout: 252 seconds]
Zai00 has joined #ruby
nwertman has joined #ruby
<shevy> hmm what alternative exists
<shevy> for when you want to store state in a module
<shevy> I could use a global variable but that is not module-specific
burlyscudd has quit [Quit: Leaving.]
<miah> state in a module? not a class?
makerops has joined #ruby
<makerops> hi
<miah> you should stick to local variables only in modules. you can pass in a instance variable as a parameter to a method provided by a module that is included in your class though.
preller has quit [Ping timeout: 264 seconds]
<makerops> i'm in the process of developing a ruby script that subscribes to a topic on an AMQP channel
jhchabran has joined #ruby
<makerops> i need a way to change the config, of that subscription, while not missing any messages passing over the wire
bigoldrock has joined #ruby
<shevy> miah hmm
seoNinjaWarrior has joined #ruby
<makerops> how would you guys reccomend doing that? I was thinking of having the agent subscribe to 2 topics, one for config, and one for content
davy_ has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
<makerops> and then using a queue/thread to perform coms between them
skiddex has joined #ruby
petey has joined #ruby
jlast has quit [Remote host closed the connection]
jerius has quit [Read error: Operation timed out]
benweint has quit [Quit: Computer has gone to sleep.]
mlpinit_ has quit [Remote host closed the connection]
iliketur_ has joined #ruby
mlpinit has joined #ruby
anomaly_ has joined #ruby
iliketur_ has quit [Client Quit]
mengu has joined #ruby
nwertman has quit [Ping timeout: 250 seconds]
mikepack has joined #ruby
Nogbit has joined #ruby
preller has joined #ruby
mikeg has quit [Remote host closed the connection]
benweint has joined #ruby
lolmaus has joined #ruby
bcap-me-indexer has quit [Ping timeout: 264 seconds]
petey has quit [Remote host closed the connection]
jlast has joined #ruby
petey has joined #ruby
mlpinit has quit [Remote host closed the connection]
benwoody has joined #ruby
Bira has quit [Remote host closed the connection]
<lolmaus> I've got an array of objects. I know that there's only one element that matches a certain criteria. Is there a shorter way to select it than `arr.select { |el| el.property = 'foo' }.first` ?
petey has quit [Remote host closed the connection]
<skiddex> can i talk here?
<slash_nick> better not, skiddex
<slash_nick> you better not :)
makerops has quit [Quit: Leaving]
<skiddex> ok i guess the rpi is working
mikepack has quit [Ping timeout: 240 seconds]
skulker has joined #ruby
<skiddex> this is through rpi via kali linux starting on windows7 box with rdp --- whew
mneorr has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
rootshift has quit [Quit: rootshift]
<Hanmac> lolmaus: use find and ==
jerius has joined #ruby
includex has quit [Read error: Connection reset by peer]
bean_ has joined #ruby
djdarkbeat has joined #ruby
danshultz has quit [Remote host closed the connection]
<lolmaus> Hanmac, find is awesome! I failed to find one for Array. Now i understand it's defined for Enumerable. Thank you. ^_^
danshultz has joined #ruby
Jdubs has quit [Remote host closed the connection]
raphaelivan has quit [Quit: Leaving.]
<Hanmac> lolmaus: and remember to use "==" for comare not "=" or you will fuckup your entire data
havenwood has quit [Remote host closed the connection]
aspires_ has quit []
<apeiros> lolmaus: "I've got an array of objects" - arrays are always arrays of objects ;-) (except empty arrays)
danshultz has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
danshultz has joined #ruby
cgore has joined #ruby
rjhunter has joined #ruby
<slash_nick> apeiros: []'s 0th element is nil... does that mean it's still an array of objects?
<apeiros> slash_nick: a) that's not necessarily true and b) nil is an object, so yes
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
LostMonk- has joined #ruby
<apeiros> >> nil.is_a?(Object)
<eval-in_> apeiros => true (https://eval.in/78823)
tjbiddle_ has joined #ruby
nanoyak has joined #ruby
BraddPitt has quit [Quit: Leaving]
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle_ is now known as tjbiddle
havenwood has quit [Ping timeout: 250 seconds]
hiyosi_ has joined #ruby
brtdv has quit []
vpretzel has joined #ruby
<joshu> hi I just updated to Mavericks and in doing so I'm re-evaluating my Ruby dev setup. Anyone using isolate instead of bundler?
bradhe has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 240 seconds]
LostMonk has quit [Ping timeout: 272 seconds]
benweint has quit [Quit: Computer has gone to sleep.]
<joshu> This is isolate that I'm referring to https://github.com/jbarnette/isolate
Jetchisel has joined #ruby
<apeiros> joshu: rvm + bundler. mostly because we use rails at work and rails integrates with bundler.
phus1on has joined #ruby
<slash_nick> >> [].any? {|el| el.is_a?(Object) } # surely this is false
<eval-in_> slash_nick => false (https://eval.in/78824)
michaeldeol has joined #ruby
<joshu> apeiros hey yeah I recall you mentioning that setup. I am just curious about hearing any opinions on isolate. I'm moving to chruby and ruby-install instead of rbenv and ruby-build as havenwood suggested to me some time ago
iamjarvo has quit [Quit: Connection closed for inactivity]
<apeiros> slash_nick: your reading capabilities fail you
<apeiros> 21:26 apeiros: lolmaus: "I've got an array of objects" - arrays are always arrays of objects ;-) ***(except empty arrays)***
<apeiros> emphasis added.
hiyosi_ has quit [Ping timeout: 252 seconds]
|jemc| has joined #ruby
havenwood has joined #ruby
<slash_nick> nah, i'm okay... was referring to my followup question where i asked if an empty array's 0th element being nil meant it was still an array of objects. digress.
mikepack has joined #ruby
<Hanmac> empty arrays are full of nothing ;P
Bira has joined #ruby
xcv_ has quit [Remote host closed the connection]
<lolmaus> apeiros, by "objects" i obviously meant custom objects as opposed to the ones provided by Ruby core.
<apeiros> lolmaus: that's a rather pointless distinction
funburn has joined #ruby
<apeiros> also I doubt anybody would understand it as meaning that ;-)
kpshek has quit []
<momomomomo> apeiros: what do you "mean"
michaeldeol has quit [Ping timeout: 260 seconds]
hiyosi_ has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
<slash_nick> momomomomo: depends on what you mean, "mean"
<momomomomo> :p
terrellt_ has joined #ruby
BraddPitt has joined #ruby
maletor has joined #ruby
Hanmac1 has joined #ruby
dweeb_ has quit [Quit: Computer has gone to sleep.]
<apeiros> momomomomo: I doubt that anybody understands "I have an object" as "I have an object which is not from any of the core classes".
<lolmaus> apeiros, if it were a number or a string, i could just use a literal instead of retrieving it from an array.
_Andres has joined #ruby
<momomomomo> apeiros: I was just being silly
<apeiros> lolmaus: eh, that makes no sense
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
kpshek has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
<lolmaus> apeiros, if you had an object which is one of the core classes then you would say "I have a string" instead of "object". :/
mikepack has joined #ruby
<apeiros> lolmaus: yes. I have an array of strings makes some sense.
hiyosi_ has quit [Ping timeout: 240 seconds]
colonolGron has joined #ruby
terrellt_ is now known as terrellt
<lolmaus> apeiros, that's why when you hear "array of objects" you know that they are likely to be not of core classes.
g0bl1n has quit [Read error: Operation timed out]
<apeiros> no
agjacome has joined #ruby
|jemc| has left #ruby ["WeeChat 0.4.1"]
<lolmaus> That's common sense.
<apeiros> that's uncommon nonsense
<lolmaus> As opposed to formal logic.
<momomomomo> lolmaus: 'array of objects' means an array of anything in ruby
<momomomomo> 'array of Object' means array of Objects
<ddd> it could be an array of objects representing a Tub of Lard
<apeiros> "I have an array" and "I have an array of objects" are pretty much equivalent in ruby. you could call the latter a pleonasm.
gazarsgo has joined #ruby
<ddd> all that means is what momomomomo said. An array of objects doesn't mean Object, it means whatever was stuck in there, pretty much because almost everything in ruby is an object of some type
<gazarsgo> is there an easy way to disable GC in MRI :)
Jdubs has joined #ruby
randomnick_ has joined #ruby
<apeiros> gazarsgo: GC.stop
<apeiros> iirc
<lolmaus> momomomomo, why would anyone call strings objects in a question in IRC?
<apeiros> ri GC for more
mikepack has quit [Client Quit]
<momomomomo> gazarsgo: beware!
<gazarsgo> i tried setting RUBY_GC_MALLOC_LIMIT really high … hmm i'll try GC.stop, thanks
<ddd> apeiros, damn, TIL. never heard the word pleonasm before
<apeiros> lolmaus: the reverse is not true
<momomomomo> ddd: that's some world class thesauriusing
<apeiros> lolmaus: every string is an object, not every object is a string
<ddd> heheh
jerius has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
<apeiros> lolmaus: so if it helps to inform about the type (and not the non-type) of the object, of course you'd reveal that
mneorr has joined #ruby
marz_skilex has quit [Quit: Textual IRC Client: www.textualapp.com]
xcthulhu has quit [Quit: xcthulhu]
<lolmaus> apeiros, "I've got an object of objects and i would like to run a method on an object to retrieve an object, how do i do that?"
jonathanwallace has joined #ruby
<apeiros> lolmaus: yes, that's utterly stupid
mikepack has joined #ruby
davy_ has joined #ruby
mansi has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
<ddd> like if you have an array of string or even Goat models, but all you care about is the array itself, you'd say I have an array of objects. Trying to access Nth position. how do I do that?
<apeiros> what about "the reverse does not apply" do you not understand?
<ddd> s/position/element/
PapaSierra has left #ruby [#ruby]
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
dkamioka has quit [Remote host closed the connection]
mansi has joined #ruby
jerius has joined #ruby
dkamioka has joined #ruby
<lolmaus> apeiros, my point is that no one would want to conceal the class of the core-class object in an IRC question. Just like you never hear people saying e. g. "today i've eaten a fruit".
popl has joined #ruby
popl has joined #ruby
hogeo has quit [Ping timeout: 250 seconds]
<apeiros> lolmaus: dude, you make no sense
<apeiros> accept that "an array of objects" means nada to anybody but you
<apeiros> it's just "an array"
<ddd> he's just arguing to argue. there is no valid point that i can see in what he's said so far
<apeiros> if you can further specify the type of objects you have in your array, and it is useful for the question, by all means to it
<speakingcode-wor> what does yield return in general?
<apeiros> *do it
<apeiros> but adding "of objects" does not provide any useful information and nobody but you interprets it the way you are arguing.
w4pm has quit [Ping timeout: 252 seconds]
<apeiros> speakingcode-wor: the value returned by the block
<apeiros> speakingcode-wor: which is either the last statement or the value passed to `next`
kpshek has quit [Ping timeout: 264 seconds]
<speakingcode-wor> thanks
mikeg has joined #ruby
<speakingcode-wor> apeiros: is it possible to accept/pass more than one block to a function?
<speakingcode-wor> (don't really have a need or use case, just wondering)
bartj3 has quit [Ping timeout: 246 seconds]
joaoh82 has joined #ruby
MattStratton has joined #ruby
Megro has quit [Remote host closed the connection]
hellome has joined #ruby
mojjojo has quit [Quit: mojjojo]
<xibalba> anyone know of a library to convert IP address to integers and vice versa?
<xibalba> 3232235550 <~~ want to conver this to ipv4
tvw has joined #ruby
bnjamin has joined #ruby
<lolmaus> apeiros, simply the fact that "array of objects" is stated explicitly lets you know that the objects are not of class known to any rubyist because otherwise a person would almost certainly say e. g. "array of strings". :P
skulker has quit [Remote host closed the connection]
DrShoggoth has quit [Read error: Connection reset by peer]
atno has quit [Remote host closed the connection]
<momomomomo> lolmaus: wrong
skiddex has quit [Quit: Leaving.]
mlpinit has joined #ruby
atno has joined #ruby
<momomomomo> lolmaus: You're assuming that other people will make assumptions
mansi has quit [Remote host closed the connection]
<momomomomo> that's a nested assumption - and you know what they say about first-level assumptions, right?
agjacome has quit [Quit: leaving]
<speakingcode-wor> i assume that's a safe assumption to make
<momomomomo> speakingcode-wor: nope. If i say I have an array of objects
bradhe has joined #ruby
<momomomomo> I might mean that some objects are strings, and some are fixnum
<speakingcode-wor> momomomomo: no no, i mean i assume it's safe to assume that other people will make assumptions ;-p
<momomomomo> but to keep it plain, i'll say objects
DrShoggoth has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
<momomomomo> -_-
<apeiros> lolmaus: seriously, no. nobody will think that.
xcthulhu has joined #ruby
<momomomomo> apeiros: this is a genius-level troll
<apeiros> additionally it would be *wrong*
mlpinit has quit [Read error: Connection reset by peer]
<apeiros> indeed
benweint has joined #ruby
<speakingcode-wor> yeah when i see 'array of objects' i don't assume anything other than an array, populated with objects
DrShoggoth has quit [Max SendQ exceeded]
<apeiros> xibalba: IPAddr from stdlib maybe?
mlpinit has joined #ruby
<speakingcode-wor> objects could be anything, they may be homogenous or maybe not, who knows
<apeiros> speakingcode-wor: no, you can't pass more than one block
<apeiros> speakingcode-wor: but you can pass procs/lambdas as regular arguments
mansi_ has joined #ruby
<xibalba> apeiros, tried that but it wouldn't let me initialize w/the int32 format of the IP
<apeiros> speakingcode-wor: and with stabby lambda, it's relatively short to write
benwoody has quit [Quit: benwoody]
<apeiros> xibalba: look for class methods. a well written class should IMO only accept a single normalized form on .new
freerobby has quit [Quit: Leaving.]
DrShoggoth has joined #ruby
<speakingcode-wor> apeiros: ah ok. figured there must be some [similar] way of passing multiple 'units of code' that can be handled as objects and executed later
w4pm has joined #ruby
<apeiros> speakingcode-wor: e.g. foo(->(x,y) { … }, ->(a,b) { … }) # two lambdas for the method foo
bartj3 has joined #ruby
simoz has joined #ruby
jkhwan has quit [Remote host closed the connection]
sergicles has quit [Quit: sergicles]
<speakingcode-wor> apeiros: am i deceiving myself? it appears that when taking a block, the method that accepts does not need to exlicitly list &block as its last parameter - is that true? perhaps only in certain cases?
jkhwan has joined #ruby
mojjojo has joined #ruby
<apeiros> speakingcode-wor: no, that's correct
<lolmaus> Would you say "i've got my hands in gloves" or "i've got my body parts in gloves"?
<apeiros> &block is not required to be listed
flubba has quit [Ping timeout: 240 seconds]
<apeiros> you can invoke a block via the `yield` keyword
<apeiros> and test for its presence using `block_given?`
<apeiros> lolmaus: your comparison does not work.
<speakingcode-wor> apeiros: is it required if, for instance, i want to pass it along to yet another function?
Bira has quit [Ping timeout: 240 seconds]
flubba has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
tvw has quit []
<apeiros> lolmaus: core class instances are objects. period.
bradhe has quit [Ping timeout: 272 seconds]
<speakingcode-wor> so function a accepts a block, and somewhere in its body passes it along to b which accepts a block, and so forth?
<apeiros> trying to relabel an explicit mentioning of "of objects" as "of non-ruby-core-class-instances" is *stupid*
mansi has joined #ruby
<lolmaus> apeiros, fingers are parts of your body too, but you don't call them body parts. When you talk about fingers, you say fingers. When you talk about strings, you say strings.
<apeiros> lolmaus: again, your comparison does not work.
vlad_sta_ has joined #ruby
<lolmaus> apeiros, OK Sheldon :P
<speakingcode-wor> lolmaus: right, but when you're talking about body parts you say body parts, not legs, or "body parts of the upper body" or whatever
zipper has quit [Quit: leaving]
<speakingcode-wor> when speaking in general you use the most generalized terms
<apeiros> lolmaus: dude, go ahead, use it. it's your loss as people will NOT understand it the way you mean.
<apeiros> it's stupid, but if you insist on doing stupid things, then fine.
Hanmac has joined #ruby
Advocation has quit [Quit: Advocation]
<apeiros> "I have a forrest of trees" and I say "of trees" because I mean non-standard trees.
<lolmaus> apeiros, i didn't have trouble with people not understanding my question.
<apeiros> better comparison of what you did
<apeiros> because why would I meantion "of trees"
<apeiros> if I actually meant "trees"
roolo has joined #ruby
bradhe has joined #ruby
<apeiros> that'd be so silly of me… so by you assuming I'm not silly you can infer I didn't actually mean what I said but something completely different.
jkhwan has quit [Ping timeout: 272 seconds]
<apeiros> lolmaus: people didn't have trouble because the type information was absolutely uninvolved in your actual problem.
Markvilla has quit [Quit: Computer has gone to sleep.]
<apeiros> they could simply ignore that part
Hanmac1 has quit [Ping timeout: 260 seconds]
funburn has quit [Quit: funburn]
mansi has quit [Remote host closed the connection]
bnjamin has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 250 seconds]
flame_ has joined #ruby
nobitanobi has joined #ruby
<apeiros> speakingcode-wor: &blocks makes passing on easier. but you can do it without too. f.ex.:
xcthulhu has quit [Quit: xcthulhu]
mansi has joined #ruby
<apeiros> def my_each; @foo.each do |*args| yield(*args) end; end
bnjamin has joined #ruby
cescalante is now known as ce_afk
<apeiros> that's equivalent to: def my_each(&block); @foo.each(&block); end
<apeiros> the latter is afaik faster and less GC intense.
freerobby has joined #ruby
xcthulhu has joined #ruby
jkhwan has joined #ruby
<apeiros> if you don't pass the block on or store it, then yield is faster and less GC intense because a block is not actually an object, and &block forces ruby to create an object from the block.
<xibalba> i want to do the reverse of IpAddr.to_i()
roolo has quit [Ping timeout: 250 seconds]
<speakingcode-wor> apeiros: ah. neat. i need more metaprogramming knowledge. another q... if i have: def whatever; yield Something.new; end i want to modify whatever to return the instance of Something initialized in that yield line... can that be done, or do i need to do...
<Hanmac> apeiros: if you want to protect the @foo array, think also about the returnvalue of my_each
m8 has joined #ruby
<speakingcode-wor> def whatever; s = Something.new; yield s; return s; end
<apeiros> xibalba: IPAddr.new_ntoh([3232235521].pack("N*"))
<xibalba> ahhh
<apeiros> Hanmac: true
<xibalba> why add the .pack("N*")
krawchyk has quit []
<lolmaus> apeiros, there are thousands of different species of plants in a forest. If most forests consisted only of a single specie and there were only a dozen of common species, then people would tend to say "forest of oaks" and "forest of trees" would sound unusual. Did you walk your animal today?
motto has quit [Ping timeout: 264 seconds]
mlpinit_ has joined #ruby
geekbri has quit []
<xibalba> apeiros, thanks i see that works. though i'm looking up Array.pack right now to understand why N* was appended
joshu has quit [Quit: Bye.]
mlpinit_ has quit [Read error: Connection reset by peer]
xcthulhu has quit [Client Quit]
<apeiros> lolmaus: dude, keep doing stupid things. everybody who said something about this agreed with me and disagreed with you. so if you want to miscommunicate, have fun. I'm out of this "discussion"
<xibalba> ah-ha! i see apeiros
jibi has quit [Quit: leaving]
<xibalba> telling it to convert all the string to 32bit integer
<apeiros> xibalba: because pack("N") converts your integer into a binary packed string
mlpinit_ has joined #ruby
<apeiros> and new_ntoh expects a binary packed string
failshell has quit []
<xibalba> ok cool and it seems netflow returns the int32 representation of the IP back to me
mlpinit_ has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
<Hanmac> apeiros: why not IPAddr.new(3232235521,Socket::AF_INET) ?
mlpinit_ has joined #ruby
intuxicated has quit [Ping timeout: 252 seconds]
mlpinit has quit [Ping timeout: 250 seconds]
<Hanmac> >> require "ipaddr" ; IPAddr.new_ntoh([3232235521].pack("N*")) == IPAddr.new(3232235521,Socket::AF_INET)
<apeiros> Hanmac: because I'm not familiar with IPAddr - if that works, that's probably nicer
<eval-in_> Hanmac => true (https://eval.in/78838)
cameronbarton has joined #ruby
mlpinit has joined #ruby
Czupa has quit [Remote host closed the connection]
<xibalba> oh that is a little nicer
<platzhirsch> Let's slay some dragons
* platzhirsch fires up pry
<Hanmac> i also learned it few minutes ago ;P
<apeiros> Hanmac: looking at IPAddr#initialize's code I have to say that I find it bad code
YOURBESTFRIEND has quit [Quit: ZNC - http://znc.in]
<apeiros> it accepts about all possible representations.
ikawnoclast has quit [Ping timeout: 272 seconds]
<apeiros> IMO that should be moved into specific constructors which normalize the input
sam113101 has joined #ruby
includex has joined #ruby
intuxicated has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
<RubyPanther> All input should be parsed, never blindly converted
sam113101 is now known as YOURBESTFRIEND
mlpinit_ has quit [Ping timeout: 246 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
Scarlock has joined #ruby
kobain has quit [Remote host closed the connection]
robert___ is now known as robert_
YOURBESTFRIEND is now known as YOURVERYBESTFRIE
kobain has joined #ruby
mansi has quit [Remote host closed the connection]
kostine has quit [Quit: kostine]
<platzhirsch> Gosh, I hate it when I forgot binding.pry in third-party library code
YOURVERYBESTFRIE is now known as YOURBESTFRIEND
<platzhirsch> can that statement be injected dynamically? ._.
<terrellt> I think pry-debugger lets you add break points in the console, if that's what you want.
includex has quit [Client Quit]
<platzhirsch> ah right, right… I think it didn't work with mine, but who knows, I will try again
rjhunter has joined #ruby
joshu has joined #ruby
mansi_ has joined #ruby
mansi_ has quit [Remote host closed the connection]
postmodern has joined #ruby
gazarsgo has quit [Ping timeout: 272 seconds]
mansi_ has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
yalue has quit [Quit: Leaving]
lkba has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
popl has quit [Ping timeout: 250 seconds]
Heskie has joined #ruby
timonv has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 264 seconds]
tylersmith has quit [Read error: Connection reset by peer]
<xibalba> is there a ruby equivlent to php's print_r
rjhunter has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby
tylersmith has joined #ruby
<xibalba> i want to print out the contents of Netflow5PDU srcaddr, which looks like it's in the array records in there, https://github.com/seeingidog/netflow/blob/master/lib/netflow/models/binary_models.rb
assurbanipal has joined #ruby
<xibalba> i tried, puts flowset.records[:srcaddr]
lewix has joined #ruby
<xibalba> no died
matheuscaceres has joined #ruby
<Hanmac> xibalba: did you try "p" insteat of "puts" ?
<xibalba> huh no i did not
mansi has quit [Ping timeout: 241 seconds]
pu22l3r has quit [Ping timeout: 272 seconds]
preller has quit [Ping timeout: 240 seconds]
<xibalba> didn't work. if i'm understanding this right :srcaddr is a symbol in the records array under Netflow5PDU, correct?
michaeldeol has joined #ruby
mansi has joined #ruby
hellome has quit [Remote host closed the connection]
<xibalba> ah ok i found p flowset[:records] at least gives me that whole array
hellome has joined #ruby
<xibalba> not i only want a few elements from that array
bcap-me-indexer has joined #ruby
iliketur_ has joined #ruby
bcap-me-indexer has quit [Max SendQ exceeded]
bcap-me-indexer has joined #ruby
Guest80315 has joined #ruby
lewix has quit [Ping timeout: 250 seconds]
hellome has quit [Read error: Connection reset by peer]
hellome has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
batchitcray has joined #ruby
KmartSqrl has joined #ruby
<Hanmac> xibalba: are you sure you dont want: puts flowset.records.map(&:srcaddr)
<xibalba> no i'm not sure at all
* xibalba started ruby 3 weeks ago
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
flame_ has quit [Quit: Computer has gone to sleep.]
fivethreeo has joined #ruby
<xibalba> i use pretty printer to get a better visual on the output of flowset
Guest80315 has quit [Read error: Connection reset by peer]
hellome has quit [Remote host closed the connection]
<xibalba> [ ] = array, right ? and { } a hash
xcthulhu has joined #ruby
hellome has joined #ruby
<xibalba> sweet i think i've discovered my issue
nobitanobi has quit [Quit: Leaving]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
fivethre1o has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 272 seconds]
mark_locklear has quit [Ping timeout: 240 seconds]
<pontiki> xibalba: look at the awesome_print gem
dh64 has quit [Ping timeout: 250 seconds]
rossssssssss has joined #ruby
allaire has quit []
<xibalba> i found what i'm looking for via, puts flowset.records[0][:srcaddr]
xcthulhu has quit [Client Quit]
<xibalba> just to investigate, though i have to find a more ruby way to write that
<pontiki> that is ruby
lfox has quit [Quit: ZZZzzz…]
<xibalba> i think Hanmac's got it
xcthulhu has joined #ruby
<xibalba> Hanmac, how would i set it up if i wanted say 5 elements from the records's array? say srcaddr, dstaddr, srcport, dstport
<pontiki> hanmac's gives you :srcaddr on all the records
<Hanmac> xibalba: look at Hash#values_at
mansi has quit [Read error: Connection reset by peer]
flame_ has joined #ruby
<xibalba> ty
mansi has joined #ruby
psyl0n has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 252 seconds]
psyl0n has quit [Client Quit]
hogeo has joined #ruby
psyl0n has joined #ruby
Jaxno has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
<shevy> xibalba cool, 3 weeks ago... I can't remember what I did 3 weeks after finding ruby anymore :(
<speakingcode-wor> https://gist.github.com/speakingcode/25b26b9cb04e4cc4a612 can this be condensed to fewer lines?
<Jaxno> Join #python!
ckinni has joined #ruby
mansi has quit [Remote host closed the connection]
<speakingcode-wor> (its only 3 as of now)
<xibalba> interesting, the line puts "flowset.records[0] is #{flowset.records[0].class}"
<xibalba> produced flowset.records[0] is BinData::Struct
<xibalba> i dont think i've seen Structs yet
<xibalba> not in Ruby anyways
<shevy> speakingcode-wor this does not seem to make sense to me
Xiti` is now known as Xiti
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
xcthulhu has quit [Quit: xcthulhu]
cameronbarton has quit [Quit: cameronbarton]
benlieb has quit [Quit: benlieb]
<shevy> with yield you access the content of the block given to the very method, in this case .build
<Hanmac> speakingcode-wor: look at Object#tap
cory_ has joined #ruby
mansi has joined #ruby
<speakingcode-wor> shevy: yes. i'm creating a new house, passing it to the block (whch looks like { |house| ... })... and then i want to return back that house object afterwards
anomaly_ has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
hellome has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
<speakingcode-wor> ah nice
hellome has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
LostMonk- has quit [Ping timeout: 264 seconds]
<xibalba> so given this code, #{flowset.records[0][:srcaddr]}, what is the best way for me to retrieve many but-not-all elements from flowset.records[0] ?
assurbanipal has quit [Ping timeout: 246 seconds]
<xibalba> Elements I'm looking at retrieving at under https://github.com/seeingidog/netflow/blob/master/lib/netflow/models/binary_models.rb under the Netflow5PDU class
LostMonk has joined #ruby
joaoh82 has joined #ruby
* Jaxno throws a stone at xibalba
<speakingcode-wor> xibalba: maybe select?
dkamioka has quit [Read error: Connection reset by peer]
* xibalba catches the stone
<Jaxno> no you don't, you die
<xibalba> well you're a debbie downer now aren't ya
vlad_starkov has joined #ruby
<speakingcode-wor> flowset.records[0].select { |record| <<condition on record>> }
makerops has joined #ruby
<makerops> hi, im having some trouble with conditionvariable/mutexes'
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
<xibalba> did I offend you Jaxno
dkamioka has joined #ruby
<makerops> if thread b receives a body of update, shouldnt it run the code in thread A
<makerops> ?
<Jaxno> xibalba: maybe..
<Jaxno> but we will never find out
* Jaxno poops into xibalba's mouth
Jaxno has quit [Quit: Page closed]
<xibalba> thats pretty gross
jkamenik has quit [Quit: Leaving.]
joshu has quit [Quit: Computer has gone to sleep.]
kaldrenon has quit [Remote host closed the connection]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
g0bl1n has joined #ruby
kaldrenon has joined #ruby
<pontiki> that's actually a hash at flowset.records[0] isn't it, xibalba ?
DropsOfSerenity has joined #ruby
<xibalba> thats what i'm trying to discover, diving into Bindata Class Struct now
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
LostMonk has quit [Ping timeout: 265 seconds]
LostMonk- has joined #ruby
<pontiki> in irb/pry, try flowset.records.first.class and see what it says
<xibalba> whois ozzloy
<xibalba> ozzloy,
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xibalba> flowset.records.first.class BinData::Struct
thumpba_ has joined #ruby
jerrad has joined #ruby
danshult_ has joined #ruby
kaldrenon has quit [Ping timeout: 250 seconds]
marcgg_ has joined #ruby
<speakingcode-wor> so any thoughts on when it's appropriate to write a DSL, vs classes/modules?
Alina-malina has quit [Read error: Connection reset by peer]
joshu has joined #ruby
kcombs_ has joined #ruby
<arubin> At what point do classes/modules become a DSL?
allsystemsarego has quit [Quit: Leaving]
bigoldrock3 has joined #ruby
Alina-malina has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
thumpba has quit [Ping timeout: 260 seconds]
jonathanwallace has quit [Ping timeout: 246 seconds]
bigoldrock has quit [Ping timeout: 260 seconds]
Underbyte has quit [Ping timeout: 260 seconds]
marcgg has quit [Ping timeout: 260 seconds]
kcombs has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
nomenkun has joined #ruby
Duckily has joined #ruby
assurbanipal has joined #ruby
<speakingcode-wor> i guess i shold specify by DSL i mean of the likeness of... CarFactory.build do |car|; car.wheels :performance; car.body_type :truck; .... end
hiyosi_ has joined #ruby
danshult_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
danshultz has joined #ruby
seoNinjaWarrior has joined #ruby
hellome has quit [Remote host closed the connection]
peregrine81 has quit []
<miah> dsls are great when you want people who dont know how to code to be confused when they start to learn
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jrhorn424 is now known as zz_jrhorn424
Advocation has quit [Quit: Advocation]
mojjojo has quit [Quit: mojjojo]
Fire-Dragon-DoL has left #ruby [#ruby]
vlad_starkov has quit [Remote host closed the connection]
mojjojo has joined #ruby
m8 has quit [Quit: Sto andando via]
vlad_starkov has joined #ruby
danshultz has quit [Ping timeout: 272 seconds]
<shevy> miah well said
CpuID has joined #ruby
<shevy> arubin when using them feels like a specific, easy to use sublanguage of its own
DeProdig1 has quit [Ping timeout: 240 seconds]
<shevy> one of the coolest DSLs I have seen was the one used in Zak McKracken
coca_rails has quit [Remote host closed the connection]
tvw has joined #ruby
DeProdigy has joined #ruby
assurbanipal has quit [Remote host closed the connection]
jedimind has quit [Quit: heading home, back later]
kobain has quit [Remote host closed the connection]
kobain has joined #ruby
kobain has quit [Changing host]
kobain has joined #ruby
jerrad is now known as Underbyte
Underbyte has quit [Changing host]
Underbyte has joined #ruby
<joshu> where can I find suggested gemrc files, I've got this at the moment https://gist.github.com/anonymous/65b449ba186060f21315 if anyone has any recommendations
clamstar has quit [Quit: Computer has gone to sleep.]
coca_rails has joined #ruby
anomaly_ has joined #ruby
xcv has joined #ruby
sepp2k1 has joined #ruby
drag00n has quit [Ping timeout: 240 seconds]
<shevy> my gemrc is small
<shevy> :verbose: true
sepp2k has quit [Ping timeout: 250 seconds]
<platzhirsch> pry-docs and pry-moredocs are awesome-sauce
<joshu> shevy ok
anomaly_ has quit [Remote host closed the connection]
anomaly_ has joined #ruby
bean_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlad_sta_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<miah> i dont even gemrc
matheuscaceres has quit [Quit: matheuscaceres]
mojjojo_ has joined #ruby
vlad_st__ has joined #ruby
mojjojo has quit [Ping timeout: 252 seconds]
mojjojo_ is now known as mojjojo
Hanmac1 has joined #ruby
<lectrick> Anyone know of a way to "evolve" Ruby code iteratively via random mutations against a "fitness criteria", or a gem that can help play around with that?
vlad_starkov has quit [Ping timeout: 260 seconds]
vlad_sta_ has quit [Ping timeout: 246 seconds]
Hanmac has quit [Ping timeout: 250 seconds]
elux has quit [Quit: Bye!]
ffranz has quit [Quit: Leaving]
otero has quit [Ping timeout: 260 seconds]
rjhunter has joined #ruby
bean_ has joined #ruby
nobitanobi has joined #ruby
breakingthings has quit []
volty has joined #ruby
<lectrick> Evolutionary algorithm basically
phipes has joined #ruby
mlpinit has quit [Remote host closed the connection]
makerops has quit [Remote host closed the connection]
zipper has joined #ruby
kcombs_ has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 246 seconds]
zipper has quit [Client Quit]
mikepack_ has joined #ruby
<cout> lectrick: I thought someone did a talk at rubyconf a few years ago on GAs
<havenwood> lectrick: try ai4r maybe http://www.ai4r.org/geneticAlgorithms.html
Heskie has quit []
allaire has joined #ruby
zipper has joined #ruby
b00stfr3ak has joined #ruby
<joshu> hi havenwood in the process of setting up chruby and ruby-install as you suggested a while back ;)
michaeldeol has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
mikepack has quit [Ping timeout: 272 seconds]
<havenwood> joshu: hope they serve you well! ;)
<joshu> havenwood me too I'm switching from rbenv now as I've updated to Mavericks and I recall our conversation about chruby
jaimef has quit [Remote host closed the connection]
<havenwood> nice
Ox6abe has joined #ruby
<lectrick> cout: remember anything about it?
<lectrick> I also found http://gga4r.rubyforge.org/
<cout> I don't
cameronbarton has joined #ruby
Xeago has joined #ruby
Rollabunna has joined #ruby
bean_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bnagy> basic GAs are super simple, if you're trying to learn you should just code it from scratch
<havenwood> lectrick: ilya's stuff is always gold: http://www.igvita.com/2005/12/28/genetic-algorithms/
<bnagy> lots of people seem to have a misapprehension about GA stuff
p4d4w4n has joined #ruby
michaeldeol has quit [Ping timeout: 260 seconds]
<bnagy> what are you trying to optimise?
Heskie has joined #ruby
Hanmac has joined #ruby
<postmodern> if you want to see how powerful and efficient Genetic Algorithms are, check Boxcar 2d: http://boxcar2d.com/
jaimef has joined #ruby
tonni has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
xcthulhu has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
peregrine81 has joined #ruby
ua has joined #ruby
h0rrorvacui has joined #ruby
blackmes1 has joined #ruby
duggiefresh has quit [Remote host closed the connection]
it_tard has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
r0bby_ has quit [Ping timeout: 252 seconds]
phipes has quit [Read error: Connection reset by peer]
fedesilva has quit [Ping timeout: 250 seconds]
davy_ has quit [Remote host closed the connection]
gazarsgo has joined #ruby
mary5030 has joined #ruby
r0bby_ has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
drumusician has joined #ruby
claymore has quit [Quit: Leaving]
fijimunkii has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
phipes has joined #ruby
<lectrick> havenwood: thanks!
sailias has quit [Quit: Leaving.]
<lectrick> postmodern: That one is fun to watch run :)
<postmodern> lectrick, just look it go!
<postmodern> lectrick, i love when it keeps generating cars with one wheel
pushp0p has joined #ruby
mklappstuhl has joined #ruby
benlieb has joined #ruby
<pushp0p> anyone know how to unescape something escaped by Shellwords? File.exists?() doesn't seem to expect escaped output
kcombs has joined #ruby
r0bby_ has quit [Ping timeout: 272 seconds]
preller has quit [Ping timeout: 272 seconds]
hogeo has quit [Ping timeout: 245 seconds]
xk_id has quit [Quit:
mary5030 has quit [Read error: Connection reset by peer]
coldie has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
cbetta_afk is now known as cbetta
xk_id has joined #ruby
davy_ has joined #ruby
mlpinit has joined #ruby
jchristi1 has quit [Ping timeout: 252 seconds]
mlpinit_ has joined #ruby
phipes has quit [Remote host closed the connection]
deception has quit [Quit: Goodbye]
mengu has quit [Remote host closed the connection]
speakingcode-wor is now known as speakingwonker
speakingwonker is now known as speakingwanker
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
wc- has left #ruby [#ruby]
interactionjaxsn has quit [Remote host closed the connection]
<coldmethod> hmm
Ox6abe has quit [Remote host closed the connection]
benweint has quit [Ping timeout: 264 seconds]
klaut has joined #ruby
* coldmethod finally gets the chance to start reading pickax2
mgberlin has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
olivier_bK has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
ce_afk is now known as cescalante
Hanmac has joined #ruby
lkba has joined #ruby
skinny_much has quit [Quit: ZNC - http://znc.sourceforge.net]
apeiros has quit [Ping timeout: 252 seconds]
BlakeRG has quit []
ninegrid has quit [Remote host closed the connection]
ninegrid has joined #ruby
skinny_much has joined #ruby
funburn has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Ox6abe has joined #ruby
cbetta is now known as cbetta_afk
xcthulhu has quit [Quit: xcthulhu]
jerius has quit []
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
bogeyd6 has quit [Read error: Connection reset by peer]
Monie has quit [Max SendQ exceeded]
wc- has joined #ruby
zipper has quit [Quit: leaving]
Monie has joined #ruby
cescalante is now known as ce_afk
momomomomo has joined #ruby
Scarlock has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has quit []
nanoyak has joined #ruby
aapzak has quit [Quit: leaving]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
doodlehaus has quit [Remote host closed the connection]
Zai00 has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
rjhunter has joined #ruby
aapzak has joined #ruby
lolmaus has quit []
mmitchell has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby
Hanmac1 has joined #ruby
colonolGron has quit [Quit: leaving]
reach has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has joined #ruby
clamstar has joined #ruby
<miah> good book
speakingwanker is now known as speakingcode-wor
banister has joined #ruby
tylersmi_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
ckinni has quit [Quit: Textual IRC Client: www.textualapp.com]
anomaly_ has quit [Read error: Connection reset by peer]
anomaly_ has joined #ruby
maroloccio has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
enebo has quit [Quit: enebo]
amoli has quit [Ping timeout: 250 seconds]
ambushsabre has joined #ruby
Underbyte has quit [Remote host closed the connection]
thumpba_ has quit [Remote host closed the connection]
jonr22 has joined #ruby
nomenkun has quit [Remote host closed the connection]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
ua has quit [Quit: Leaving]
jonr22 has left #ruby [#ruby]
jonr22 has joined #ruby
thumpba has joined #ruby
funburn has quit [Ping timeout: 260 seconds]
sergicles has joined #ruby
brtdv has joined #ruby
whysosad has quit [Ping timeout: 250 seconds]
Bira has joined #ruby
funburn has joined #ruby
peregrine81 has quit []
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Bira has quit [Remote host closed the connection]
brtdv has quit [Client Quit]
whysosad has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
Underbyte has joined #ruby
Underbyte has joined #ruby
Underbyte has quit [Changing host]
kirun has quit [Quit: Client exiting]
p4d4w4n has joined #ruby
duggiefresh has joined #ruby
apeiros has joined #ruby
michaeldeol has joined #ruby
charliesome has joined #ruby
Bira has joined #ruby
gazarsgo has quit [Quit: gazarsgo]
tylersmith has joined #ruby
peregrine81 has joined #ruby
tylersmi_ has quit [Read error: Connection reset by peer]
Bira has quit [Remote host closed the connection]
phus1on has quit [Quit: .]
Bira has joined #ruby
Bira has quit [Remote host closed the connection]
stringoO has quit [Quit: stringoO]
s2013 has quit [Ping timeout: 240 seconds]
KmartSqrl has quit []
duggiefresh has quit [Remote host closed the connection]
michaeldeol has quit [Ping timeout: 252 seconds]
r0bby_ has joined #ruby
gazarsgo has joined #ruby
gazarsgo has quit [Client Quit]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
<shevy> cool
<shevy> ruby has printf()
MattStratton has joined #ruby
tylersmith has joined #ruby
jamesaanderson has joined #ruby
<shevy> >> printf "Hello %s\n",'World!'
<eval-in_> shevy => Hello World! ... (https://eval.in/78861)
jamesaanderson has quit [Max SendQ exceeded]
<shevy> isn't that beautiful :)
squidBits is now known as fuzzyfuzz
atm1 has joined #ruby
phipes has joined #ruby
freerobby has joined #ruby
jamesaanderson has joined #ruby
heidi has quit [Quit: Leaving.]
jamesaanderson has quit [Max SendQ exceeded]
<waxjar_> no :p
<shevy> lol
heidi has joined #ruby
Ox6abe_ has joined #ruby
jamesaanderson has joined #ruby
mailo has quit [Quit: Leaving...]
dkamioka has quit [Remote host closed the connection]
nettoweb has quit [Quit: nettoweb]
Ox6abe has quit [Ping timeout: 246 seconds]
mansi has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atm1 has quit [Ping timeout: 246 seconds]
gloscombe has quit [Read error: Connection reset by peer]
mgberlin has quit [Quit: mgberlin]
<matti> Haha
<matti> shevy: ;s
clamstar has quit [Quit: Computer has gone to sleep.]
psyl0n has quit [Remote host closed the connection]
mgberlin has joined #ruby
benlieb has quit [Quit: benlieb]
mikepack_ has quit [Remote host closed the connection]
aryaching has joined #ruby
hogeo has quit [Ping timeout: 245 seconds]
aroop has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
gf3 has quit [Quit: ZNC - http://znc.in]
Konst has joined #ruby
cameronbarton has quit [Quit: cameronbarton]
geggam has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
p4d4w4n has quit [Quit: This computer has gone to sleep]
coca_rails has quit [Remote host closed the connection]
apeiros has quit [Read error: Connection reset by peer]
p4d4w4n has joined #ruby
alpha123 has joined #ruby
apeiros has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
jarto has joined #ruby