apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
datafirm has quit [Ping timeout: 240 seconds]
washtubs has quit [Ping timeout: 240 seconds]
pcfreak30 has joined #ruby
vsoftoiletpaper has quit []
washtubs has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
kireevco has joined #ruby
razum2um has joined #ruby
ghr has joined #ruby
terrellt has quit [Ping timeout: 256 seconds]
nanoyak has joined #ruby
sepp2k has joined #ruby
momomomomo has quit [Quit: momomomomo]
sdouglas has joined #ruby
pietr0 has quit [Quit: pietr0]
momomomomo has joined #ruby
mattstratton has joined #ruby
havenwood has quit []
bwilson has quit [Quit: bwilson]
djbkd has quit [Remote host closed the connection]
Ankhers has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
djbkd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
<lanox> Anyone knows much about yeoman
temple3188 has quit [Remote host closed the connection]
bruno- has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hakunin_ has joined #ruby
<theharshest> how to pick a random element from set?
hakunin has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
mikepack has joined #ruby
<centrx> theharshest, my_set.to_a.sample
mikepack has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 264 seconds]
m3_del_ has quit [Remote host closed the connection]
<theharshest> centrx: thanks
sdouglas has quit [Remote host closed the connection]
m3_del has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
Shidash has joined #ruby
momomomomo has quit [Quit: momomomomo]
sdouglas has joined #ruby
tacos1de has quit [Ping timeout: 264 seconds]
ddv has joined #ruby
tacos1de has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
necros has quit []
macclearich has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
sdwrage_ has joined #ruby
nickenchuggets has joined #ruby
sdwrage has quit [Ping timeout: 272 seconds]
phutchins has quit [Ping timeout: 240 seconds]
Wolland has quit [Remote host closed the connection]
lanox has quit [Quit: Lost terminal]
zz_karupa is now known as karupa
xargoon has quit [Ping timeout: 245 seconds]
nmokru has quit [Quit: nmokru]
Takle has joined #ruby
asdasdasdasss has joined #ruby
snath has quit [Ping timeout: 240 seconds]
phutchins has joined #ruby
andrewjanssen has joined #ruby
FLeiXiuS has joined #ruby
FLeiXiuS has joined #ruby
doodlehaus has joined #ruby
jamto11 has joined #ruby
doodlehaus has quit [Client Quit]
bmurt has quit []
JoshGlzBrk has joined #ruby
asdasdasdasss has quit [Ping timeout: 260 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
tjr9898 has joined #ruby
sputnik13net has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 240 seconds]
snath has joined #ruby
m3_del has quit [Remote host closed the connection]
momomomomo has joined #ruby
FLeiXiuS has quit [Ping timeout: 272 seconds]
arrubin has joined #ruby
jespada has quit [Ping timeout: 272 seconds]
banjara has quit [Quit: Leaving.]
kayloos has joined #ruby
existensil has joined #ruby
shadowshell has quit [Remote host closed the connection]
Karpuragauram has joined #ruby
oo_ has joined #ruby
tkuchiki has joined #ruby
northfurr has quit [Quit: northfurr]
kayloos has quit [Ping timeout: 240 seconds]
existensil has quit [Read error: Connection reset by peer]
existensil has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
enebo has quit [Quit: enebo]
Karpuragauram has quit [Quit: Leaving]
snath has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
nateberkopec has joined #ruby
lolmaus has joined #ruby
snath has joined #ruby
northfurr has joined #ruby
AlexRussia_ is now known as AlexRussia
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
sevenseacat has joined #ruby
treehug88 has joined #ruby
lw has quit [Quit: s]
aspires has quit []
washtubs has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
Sgeo has joined #ruby
<Sgeo> Hi all.
<Sgeo> Question about Ruby DSLs: Suppose some library gives an arbitrary DSL, going to pretend something like Sinatra, but not necessarily sinatra:
<Sgeo> get "/" { puts request.url }
washtubs has joined #ruby
<Sgeo> Now, if I want to abstract that puts request.url into a function, and have request magically visible from there like it is in the block passed to get, how can I do that?
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carif has joined #ruby
<centrx> Not sure what you mean
<centrx> blocks can be passed around as Procs, is that what you are referring to?
<toretore> normally it would be run as an instance method on the class, so any other instance methods can run with the same scope
chipotle has joined #ruby
<Sgeo> toretore: and most similar DSLs do something like that?
Hobogrammer has quit [Ping timeout: 240 seconds]
<toretore> class MyApp < SomeShittyDSL; get('/'){ hello }; def hello; p request; end; end
datafirm has joined #ruby
<toretore> it depends on the implementation
fabrice31 has joined #ruby
bradleyp_ has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
<Sgeo> Hmm :/. I guess I'm trying to compare to Haskell monad-based DSLs, where it's easy to abstract into a function
<toretore> if you *really* want to make sure you can do instance_eval(&unbound_method)
bradleyprice has joined #ruby
saarinen has quit [Quit: saarinen]
<toretore> ruby doesn't have first class functions; methods are always bound to an object
<Sgeo> toretore: and that works with most similar DSLs?
washtubs has quit [Ping timeout: 260 seconds]
<Sgeo> I'm also under the impression that using instance_eval can be an issue, but as long as most DSLs are consistent so things can be abstracted in similar ways, I guess that's ok by me
<toretore> i would advise that you don't try to write ruby like you would haskell
washtubs has joined #ruby
jamto11 has quit [Remote host closed the connection]
<toretore> instance_eval has its gotchas, yes
<zenspider> toretore: doesn't have first class functions?
<toretore> nope
<zenspider> are you distinguishing "function" from "method" or somesuch?
<toretore> of course
bruno- has joined #ruby
<toretore> i'm talking about a function as a primitive that can be passed around
fabrice31 has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
isthisreallife has joined #ruby
isthisreallife has left #ruby [#ruby]
<zenspider> that sounds like a lambda to me
vpretzel has quit [Ping timeout: 240 seconds]
<toretore> well
<zenspider> and our lambdas and methods are both first class... so...
<toretore> a lambda is a Proc object on which you call a method :)
bradleyprice has quit [Ping timeout: 264 seconds]
<zenspider> not sure what you mean by "primitive", because that doesn't really mean much in ruby
vpretzel has joined #ruby
<toretore> i should say, rather, that ruby *doesn't have functions*
<toretore> only methods
<zenspider> if you can assign it to a variable or pass it as an arg, it's first class
<toretore> sure, but it's not a function
<zenspider> I'm gonna have to disagree on that one
datafirm has quit [Ping timeout: 240 seconds]
<toretore> sure, you can use lambdas pretty much as you would use functions
<zenspider> lambda { |n| 2 * n }[2] => 4 vs ((lambda (n) (* 2 n)) 2) => 4 ? not much difference
aspires has quit []
<zenspider> not pretty much.
<toretore> the difference is [] vs ()
<toretore> or the abomination that is .()
<zenspider> and that somehow is a difference in your mind?
<zenspider> syntax?
washtubs has quit [Ping timeout: 260 seconds]
<toretore> yes, i don't consider lambdas in ruby to be functions
mehlah has quit [Quit: Leaving...]
<zenspider> well... then you'd be wrong.
washtubs has joined #ruby
<zenspider> I can implement a scheme on ruby using only lambdas... those lambdas are functions.
ghr has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 272 seconds]
xargoon has joined #ruby
rubytor has quit [Ping timeout: 240 seconds]
lanox has joined #ruby
foo-bar- has joined #ruby
nmokru has joined #ruby
<toretore> zenspider: ok, i've thought about it, and you're right. lambdas are functions
<toretore> but it's not different from `o = Object.new; def o.call; 'hello'; end`
nmokru has quit [Client Quit]
bricker has quit [Ping timeout: 264 seconds]
<zenspider> and?
rafacv has quit []
<toretore> just saying
NinoScript has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<zenspider> just saying what, exactly?
nerdy has joined #ruby
<zenspider> how do you think functions work? they have to have storage
<zenspider> guess what is a good storage mechanism? objects
foo-bar- has quit [Ping timeout: 240 seconds]
<zenspider> see alan kay's COLA, combined object lambda architecture
deric_skibotn has quit [Ping timeout: 272 seconds]
m3_del has joined #ruby
<zenspider> objects for storage, lambdas for functionality. each uses the other to co-exist
fold has joined #ruby
WillAmes has joined #ruby
* zenspider goes to forage for foods
maestrojed has quit [Quit: Computer has gone to sleep.]
Hobogrammer has joined #ruby
m3_del has quit [Ping timeout: 260 seconds]
Channel6 has joined #ruby
carif has quit [Quit: Ex-Chat]
Atrumx has quit [Quit: Exit]
maestrojed has joined #ruby
fighella has quit [Quit: fighella]
dc_ has joined #ruby
<toretore> ok, you're right
<toretore> Sgeo: here's what you do: create a function (or a "method"), pass `self` to that function
Asher has quit [Quit: Leaving.]
<centrx> first-class behavior
andrewjanssen has joined #ruby
Asher has joined #ruby
jfran has quit [Read error: Connection reset by peer]
andrewjanssen has quit [Client Quit]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sdwrage_ has quit [Quit: This computer has gone to sleep]
robustus has quit [Ping timeout: 240 seconds]
bahar has joined #ruby
bahar has quit [Changing host]
<Sgeo> toretore: that works, but it means that such a function uses the DSL differently than the code that's natively accessing the DSL
oo_ has quit [Remote host closed the connection]
<toretore> so?
<toretore> instance_eval it
<Sgeo> (Also, still assuming that these DSLs are done pretty much all the same way, but I'm guessing that that's a safeish assumption?)
iamjarvo has joined #ruby
<toretore> if they're all done the same way (instance_evaled on an instance of the class), you can just define methods
robustus has joined #ruby
<toretore> but honestly, i wouldn't spend too much energy worrying about it
<Sgeo> I guess I can look at a few DSL creation libraries and see if they usually use the same trick to define the DSL
Shidash has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
lukec has joined #ruby
chipotle has quit [Quit: cya]
sepp2k has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
tus has joined #ruby
<toretore> beer time, bbl
alexju has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
lanox has quit [Quit: leaving]
troyready has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ixti has quit [Ping timeout: 240 seconds]
wang has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
hakunin_ has quit []
sdouglas has quit [Remote host closed the connection]
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
the_f0ster has quit [Remote host closed the connection]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
reset has quit [Quit: Leaving...]
reset has joined #ruby
chipotle has joined #ruby
Wolland has joined #ruby
foo-bar- has joined #ruby
luckyruby has quit [Remote host closed the connection]
reset has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
mgberlin has joined #ruby
SCommette has joined #ruby
Hanmac1 has joined #ruby
foo-bar- has quit [Ping timeout: 272 seconds]
m3_del has joined #ruby
mgberlin has quit [Remote host closed the connection]
mgberlin has joined #ruby
rkazak has joined #ruby
freakazoid0223 has joined #ruby
tokik has joined #ruby
washtubs has quit [Read error: Connection reset by peer]
washtubs has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
lewix has joined #ruby
bruno- has joined #ruby
tjr9898 has quit []
zkay11 has joined #ruby
Frank13760 has joined #ruby
edgarjs is now known as edgarjs_afk
ericmathison has joined #ruby
washtubs has quit [Ping timeout: 256 seconds]
csq has joined #ruby
djbkd has quit [Remote host closed the connection]
washtubs has joined #ruby
datafirm has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
hamakn has joined #ruby
ghr has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
washtubs has quit [Ping timeout: 240 seconds]
ericmathison has quit [Ping timeout: 264 seconds]
washtubs has joined #ruby
<Frank13760> Trying to write a spec to test Timeout::timeout and I'm getting the error at the bottom of this gist: https://gist.github.com/kany/7c4d5716da8d36d23fc3
datafirm has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 240 seconds]
tectonic has joined #ruby
lw has joined #ruby
rubytor has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
washtubs has quit [Ping timeout: 272 seconds]
washtubs has joined #ruby
foobarbaz_ has joined #ruby
<foobarbaz_> Hi guys, is it possible to turn a symbol into a method call?
arya_ has quit [Ping timeout: 240 seconds]
<foobarbaz_> say i had local_method = :foo
<foobarbaz_> local_method.to_proc(1, 2, 3)
<foobarbaz_> doesn't work as i would have hoped :D
rubytor has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
Neomex has quit [Read error: Connection reset by peer]
<mozzarella> use send or method
<foobarbaz_> self send worked
<foobarbaz_> how does method look?
<foobarbaz_> is there a difference? o.O
<mozzarella> method(local_method).call(args)
j_mcnally has joined #ruby
synfin has left #ruby [#ruby]
<foobarbaz_> ah
<foobarbaz_> why can't i do magic like
<foobarbaz_> &local_method(1,2,3)
<foobarbaz_> isn't htat the same as list.map(&:succ)
<mozzarella> not really
washtubs has quit [Ping timeout: 256 seconds]
<foobarbaz_> maybe i misunderstand &:notation
<foobarbaz_> :o
snath has quit [Ping timeout: 240 seconds]
washtubs has joined #ruby
nfk has quit [Ping timeout: 240 seconds]
binaryhat has quit [Remote host closed the connection]
arya_ has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
binaryhat has joined #ruby
axsuul has joined #ruby
rubytor has joined #ruby
arya__ has joined #ruby
frankle has quit [Quit: Connection closed for inactivity]
aspires has quit []
asdasdasdasss has joined #ruby
arya_ has quit [Ping timeout: 272 seconds]
j_mcnally has quit [Ping timeout: 240 seconds]
arya__ has quit [Client Quit]
wallerdev has joined #ruby
<foobarbaz_> awesoe
<foobarbaz_> awesome* thanks
asdasdasdasss has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
chipotle has quit [Quit: cya]
_Blizzy has quit [Quit: Leaving]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
oo_ has quit [Remote host closed the connection]
rubytor has joined #ruby
androidbruce has quit [Quit: ZNC - http://znc.in]
androidbruce has joined #ruby
androidbruce has quit [Changing host]
androidbruce has joined #ruby
radic has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
radic has joined #ruby
iamayam has quit [Ping timeout: 240 seconds]
Frank13760 has quit []
SilkFox has quit [Ping timeout: 272 seconds]
tus has quit []
rubytor has quit [Client Quit]
rubytor has joined #ruby
macclearich has quit [Quit: Computer has gone to sleep.]
iamayam has joined #ruby
SCommette has quit [*.net *.split]
robustus has quit [*.net *.split]
sevvie has quit [*.net *.split]
MCDev has quit [*.net *.split]
CaptainJet has quit [*.net *.split]
apeiros has quit [*.net *.split]
io_syl has quit [*.net *.split]
gigetoo has quit [*.net *.split]
kaleido has quit [*.net *.split]
war32 has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
danijoo has quit [*.net *.split]
ValicekB has quit [*.net *.split]
naw has quit [*.net *.split]
darkxploit has quit [*.net *.split]
yacks has quit [*.net *.split]
eka has quit [*.net *.split]
papercode has quit [*.net *.split]
pr00t has quit [*.net *.split]
kith has quit [*.net *.split]
minecoins has quit [*.net *.split]
yano has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
farn has quit [*.net *.split]
harryk has quit [*.net *.split]
ph8 has quit [*.net *.split]
dopie has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
bricker`LA has quit [*.net *.split]
casheew has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
pasties has quit [*.net *.split]
TheNumb has quit [*.net *.split]
sheepman has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
gizmore has quit [*.net *.split]
__main__ has quit [*.net *.split]
fumk has quit [*.net *.split]
oz has quit [*.net *.split]
slash_nick has quit [*.net *.split]
tomaw has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
mame1 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
ajf- has quit [*.net *.split]
hypnosb has quit [*.net *.split]
pr00t has joined #ruby
macclearich has joined #ruby
slash_nick has joined #ruby
casheew has joined #ruby
war32 has joined #ruby
bricker`LA has joined #ruby
elaptics`away has joined #ruby
SCommette has joined #ruby
yacks has joined #ruby
kith has joined #ruby
alexherbo2 has joined #ruby
sevvie has joined #ruby
dopie has joined #ruby
papercode has joined #ruby
gizmore has joined #ruby
apeiros has joined #ruby
pasties has joined #ruby
naw has joined #ruby
yeltzooo has joined #ruby
oz has joined #ruby
CaptainJet has joined #ruby
farn has joined #ruby
gigetoo has joined #ruby
minecoins has joined #ruby
eka has joined #ruby
tomaw has joined #ruby
__main__ has joined #ruby
darkxploit has joined #ruby
kayloos has joined #ruby
bigkevmcd has joined #ruby
KillerFox has joined #ruby
Gadgetoid has joined #ruby
hypnosb has joined #ruby
j_mcnally has joined #ruby
MCDev has joined #ruby
danijoo has joined #ruby
TheNumb has joined #ruby
robustus has joined #ruby
cuqa has quit [K-Lined]
ajf- has joined #ruby
macclearich has quit [Ping timeout: 240 seconds]
fumk has joined #ruby
sheepman has joined #ruby
ddfreyne has joined #ruby
mame1 has joined #ruby
rubytor has quit [Ping timeout: 260 seconds]
harryk has joined #ruby
kayloos has quit [Ping timeout: 240 seconds]
Cache_Money has joined #ruby
fabrice31 has joined #ruby
lewix has quit [Remote host closed the connection]
ValicekB has joined #ruby
inspectah_stack has joined #ruby
inspectah_stack has quit [Client Quit]
dapz has joined #ruby
bruno- has joined #ruby
ph8 has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
krz has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
darkxploit has quit [Ping timeout: 256 seconds]
centrx has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
mgberlin has quit [Ping timeout: 240 seconds]
p0sixpscl has joined #ruby
centrx has quit [Client Quit]
gdd229 has joined #ruby
jamto11 has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frellnet has joined #ruby
edgarjs_afk is now known as edgarjs
datafirm has joined #ruby
bradleyprice has joined #ruby
NinoScript has joined #ruby
braincrash has quit [Quit: bye bye]
theharshest has quit [Quit: This computer has gone to sleep]
edgarjs is now known as edgarjs_afk
maestrojed has quit [Quit: Computer has gone to sleep.]
jamto11 has quit [Ping timeout: 272 seconds]
thrownaway has quit []
Cages has joined #ruby
<Cages> Hi all.
braincrash has joined #ruby
<Cages> I am new to ruby. Ran irb on my mac terminal and just got a prompt, no irb(main):001:0>
<Cages> is this normal?
datafirm has quit [Ping timeout: 264 seconds]
mattstratton has joined #ruby
<mozzarella> maybe you're on irb --prompt simple
<mozzarella> try irb --prompt default
danielpclark has joined #ruby
tomaw has quit [*.net *.split]
p0sixpscl has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
mame1 has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
fumk has quit [*.net *.split]
sheepman has quit [*.net *.split]
ajf- has quit [*.net *.split]
danijoo has quit [*.net *.split]
MCDev has quit [*.net *.split]
robustus has quit [*.net *.split]
hypnosb has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
KillerFox has quit [*.net *.split]
TheNumb has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
Olipro has quit [*.net *.split]
j_mcnally has quit [*.net *.split]
farn has quit [*.net *.split]
naw has quit [*.net *.split]
war32 has quit [*.net *.split]
bricker`LA has quit [*.net *.split]
kith has quit [*.net *.split]
zkay11 has quit [*.net *.split]
axsuul has quit [*.net *.split]
kireevco has quit [*.net *.split]
muuunis has quit [*.net *.split]
riotjones has quit [*.net *.split]
yeticry has quit [*.net *.split]
larissa has quit [*.net *.split]
codabrink has quit [*.net *.split]
magicien has quit [*.net *.split]
mr-foobar has quit [*.net *.split]
_Havoc_ has quit [*.net *.split]
elico has quit [*.net *.split]
tekk has quit [*.net *.split]
fearoffish has quit [*.net *.split]
Koshian has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
freggles has quit [*.net *.split]
helpa has quit [*.net *.split]
felixjet has quit [*.net *.split]
nevans has quit [*.net *.split]
parduse has quit [*.net *.split]
Rylee has quit [*.net *.split]
droptone has quit [*.net *.split]
fwaokda has quit [*.net *.split]
voodoofish has quit [*.net *.split]
Nowaker has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
niharvey has quit [*.net *.split]
iceyec has quit [*.net *.split]
bhaak has quit [*.net *.split]
SJr has quit [*.net *.split]
ptierno_ has quit [*.net *.split]
miah has quit [*.net *.split]
shaman42_ has quit [*.net *.split]
anekos_ has quit [*.net *.split]
KWALL has quit [*.net *.split]
felipe has quit [*.net *.split]
Guest9909 has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
GGMethos has quit [*.net *.split]
ra4king has quit [*.net *.split]
monsieurp has quit [*.net *.split]
braincrash has quit [*.net *.split]
yacks has quit [*.net *.split]
binaryhat has quit [*.net *.split]
wang has quit [*.net *.split]
xargoon has quit [*.net *.split]
northfurr has quit [*.net *.split]
nerdy has quit [*.net *.split]
charliesome has quit [*.net *.split]
maletor has quit [*.net *.split]
ziyadb has quit [*.net *.split]
e4xit has quit [*.net *.split]
ndrei has quit [*.net *.split]
heftig has quit [*.net *.split]
IceDragon has quit [*.net *.split]
tcstar has quit [*.net *.split]
lbwski has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
jpierre03 has quit [*.net *.split]
wiscas has quit [*.net *.split]
Pulpie has quit [*.net *.split]
gomikemi1e has quit [*.net *.split]
JokerDoom has quit [*.net *.split]
Elfix has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
Dwarf has quit [*.net *.split]
iaj_ has quit [*.net *.split]
clocKwize has quit [*.net *.split]
xm has quit [*.net *.split]
marcel has quit [*.net *.split]
crodas has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
patronus has quit [*.net *.split]
Seich has quit [*.net *.split]
machty has quit [*.net *.split]
oddalot has quit [*.net *.split]
tenseiten has quit [*.net *.split]
Moonlightning has quit [*.net *.split]
joelroa has quit [*.net *.split]
metadave has quit [*.net *.split]
supermat has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
ahuman has quit [*.net *.split]
axisys has quit [*.net *.split]
Fusl has quit [*.net *.split]
spacemud has quit [*.net *.split]
LBRapid has quit [*.net *.split]
pdtpatr11k has quit [*.net *.split]
skmp has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
linduxed has quit [*.net *.split]
froy has quit [*.net *.split]
Guest22956 has quit [*.net *.split]
cyphactor has quit [*.net *.split]
gzl has quit [*.net *.split]
akitada has quit [*.net *.split]
peterhu has quit [*.net *.split]
zenspider has quit [*.net *.split]
clamstar has quit [*.net *.split]
lupine has quit [*.net *.split]
tris has quit [*.net *.split]
raddazong has quit [*.net *.split]
rrva has quit [*.net *.split]
franka_ has quit [*.net *.split]
tiagonobre has quit [*.net *.split]
Takumo has quit [*.net *.split]
kevinfagan_ has quit [*.net *.split]
adamholt has quit [*.net *.split]
ryanneufeld has quit [*.net *.split]
todor_ has quit [*.net *.split]
benzrf has quit [*.net *.split]
tchebb has quit [*.net *.split]
culturelabs__ has quit [*.net *.split]
goshdarnyou has quit [*.net *.split]
natewalck has quit [*.net *.split]
antonishen has quit [*.net *.split]
hoelzro has quit [*.net *.split]
peeja has quit [*.net *.split]
rmill has quit [*.net *.split]
Riking has quit [*.net *.split]
tziOm has quit [*.net *.split]
G has quit [*.net *.split]
drPoggs has quit [*.net *.split]
tadejm has quit [*.net *.split]
mattyohe has quit [*.net *.split]
maZtah has quit [*.net *.split]
gf3 has quit [*.net *.split]
orionstein_away has quit [*.net *.split]
jrunning has quit [*.net *.split]
mist has quit [*.net *.split]
mozzarella has quit [*.net *.split]
eam has quit [*.net *.split]
dfedde has quit [*.net *.split]
blenny has quit [*.net *.split]
mateu has quit [*.net *.split]
rapha has quit [*.net *.split]
kke has quit [*.net *.split]
bijumon has quit [*.net *.split]
olleromo__ has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
cnj has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
postmodern has quit [*.net *.split]
jshultz has quit [*.net *.split]
RandyT has quit [*.net *.split]
Gooder` has quit [*.net *.split]
aetaric has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
redlegion has quit [*.net *.split]
matchaw has quit [*.net *.split]
angorabedsock has quit [*.net *.split]
zenojis has quit [*.net *.split]
lagweezle has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
crudson has quit [*.net *.split]
touzin has quit [*.net *.split]
frankS2 has quit [*.net *.split]
pygospa has quit [*.net *.split]
kalz has quit [*.net *.split]
Klumben has quit [*.net *.split]
Akuma has quit [*.net *.split]
Cork has quit [*.net *.split]
vali has quit [*.net *.split]
nw has quit [*.net *.split]
ozzloy has quit [*.net *.split]
verto has quit [*.net *.split]
chridal has quit [*.net *.split]
Scient has quit [*.net *.split]
danshultz has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
mosez has quit [*.net *.split]
blackjid has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
ViperChief has quit [*.net *.split]
callumacrae has quit [*.net *.split]
lng_ has quit [*.net *.split]
Derander_ has quit [*.net *.split]
VooDooNOFX has quit [*.net *.split]
nisstyre has quit [*.net *.split]
gilesw has quit [*.net *.split]
gimpygoo has quit [*.net *.split]
Liothen has quit [*.net *.split]
epochwolf has quit [*.net *.split]
sputnik13 has quit [*.net *.split]
jumblemuddle has quit [*.net *.split]
troter has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
mroth has quit [*.net *.split]
Nightmare has quit [*.net *.split]
gyre007 has quit [*.net *.split]
nighter has quit [*.net *.split]
PhilK has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
intnsity has quit [*.net *.split]
LACP has quit [*.net *.split]
cschneid has quit [*.net *.split]
sfr^ has quit [*.net *.split]
ikanobori has quit [*.net *.split]
mjmac has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
pusewicz has quit [*.net *.split]
bjeanes has quit [*.net *.split]
initself_ has quit [*.net *.split]
zartoosh has quit [*.net *.split]
Kamilion has quit [*.net *.split]
msch has quit [*.net *.split]
Anarch has quit [*.net *.split]
ryotarai has quit [*.net *.split]
acalewin has quit [*.net *.split]
FL1SK has quit [*.net *.split]
george2 has quit [*.net *.split]
Radar has quit [*.net *.split]
jamo_ has quit [*.net *.split]
gremax has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
bcavileer___ has quit [*.net *.split]
DefV has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
jeregrine has quit [*.net *.split]
hostess has quit [*.net *.split]
rfv has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
vcoinminer____ has quit [*.net *.split]
charles81____ has quit [*.net *.split]
lectrick has quit [*.net *.split]
paulog has quit [*.net *.split]
rickruby__ has quit [*.net *.split]
genta has quit [*.net *.split]
dandrade has quit [*.net *.split]
glowcoil has quit [*.net *.split]
m_3 has quit [*.net *.split]
dmoe______ has quit [*.net *.split]
Karunamon has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
jpinnix has quit [*.net *.split]
ceej has quit [*.net *.split]
callenb has quit [*.net *.split]
dioms_ has quit [*.net *.split]
frode15243 has quit [*.net *.split]
CJD14___ has quit [*.net *.split]
guilleiguaran__ has quit [*.net *.split]
schaary|afk has quit [*.net *.split]
manacit has quit [*.net *.split]
kenichi has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
Macacity has quit [*.net *.split]
Paradox has quit [*.net *.split]
lfox has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
dmarr has quit [*.net *.split]
dyreshark has quit [*.net *.split]
lazyguru has quit [*.net *.split]
juni0r has quit [*.net *.split]
xsdg has quit [*.net *.split]
mattstratton has quit [*.net *.split]
eka has quit [*.net *.split]
oz has quit [*.net *.split]
minecoins has quit [*.net *.split]
gigetoo has quit [*.net *.split]
CaptainJet has quit [*.net *.split]
tokik has quit [*.net *.split]
washtubs has quit [*.net *.split]
dc_ has quit [*.net *.split]
alexju has quit [*.net *.split]
existensil has quit [*.net *.split]
JoshGlzBrk has quit [*.net *.split]
Vivekananda_y510 has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
chaos___________ has quit [*.net *.split]
timfoo has quit [*.net *.split]
Xiti has quit [*.net *.split]
armyriad has quit [*.net *.split]
Photism has quit [*.net *.split]
Eulipion has quit [*.net *.split]
blackgoat has quit [*.net *.split]
Rydekull has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
devyn has quit [*.net *.split]
Kabaka has quit [*.net *.split]
shevy has quit [*.net *.split]
hackeron has quit [*.net *.split]
larsam has quit [*.net *.split]
camt has quit [*.net *.split]
destructure has quit [*.net *.split]
SloggerKhan has quit [*.net *.split]
tiguser has quit [*.net *.split]
udoprog1 has quit [*.net *.split]
shanlar has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
donnoc_ has quit [*.net *.split]
Xuerian has quit [*.net *.split]
wlanboy has quit [*.net *.split]
b1nd has quit [*.net *.split]
machete has quit [*.net *.split]
nomadic has quit [*.net *.split]
moshee has quit [*.net *.split]
terlar has quit [*.net *.split]
zarul has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
sarlalian has quit [*.net *.split]
thoolihan has quit [*.net *.split]
jwang has quit [*.net *.split]
Nilium has quit [*.net *.split]
AntelopeSalad has quit [*.net *.split]
Jelco_ has quit [*.net *.split]
sfiggins has quit [*.net *.split]
yasu has quit [*.net *.split]
dayepa has quit [*.net *.split]
jameyd has quit [*.net *.split]
musl_ has quit [*.net *.split]
zaargy has quit [*.net *.split]
seanmarcia has quit [*.net *.split]
DanKnox has quit [*.net *.split]
daed has quit [*.net *.split]
bier has quit [*.net *.split]
marahin has quit [*.net *.split]
kaihara has quit [*.net *.split]
Hamled has quit [*.net *.split]
ReBoRN- has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
Drakevr has quit [*.net *.split]
davidcelis has quit [*.net *.split]
Mongey has quit [*.net *.split]
quantsini_ has quit [*.net *.split]
micah` has quit [*.net *.split]
saltsa has quit [*.net *.split]
wwalker_ has quit [*.net *.split]
eval-in__ has quit [*.net *.split]
n88 has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
kloeri has quit [*.net *.split]
shtirlic has quit [*.net *.split]
bluntman has quit [*.net *.split]
Port3M5[Work] has quit [*.net *.split]
willgorman_ has quit [*.net *.split]
Kruppe has quit [*.net *.split]
jayne has quit [*.net *.split]
paul_k has quit [*.net *.split]
ccooke has quit [*.net *.split]
Jamo has quit [*.net *.split]
hfp has quit [*.net *.split]
grug has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
FifthWall has quit [*.net *.split]
_izz has quit [*.net *.split]
RichiH has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
sindork has quit [*.net *.split]
philtr_ has quit [*.net *.split]
nug has quit [*.net *.split]
TTilus has quit [*.net *.split]
Roa has quit [*.net *.split]
JarJarBinks has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
fumduq has quit [*.net *.split]
skinny_much has quit [*.net *.split]
cid404 has quit [*.net *.split]
freannrak has quit [*.net *.split]
justinmcp has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
Tarential has quit [*.net *.split]
bstrie has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
rs0 has quit [*.net *.split]
mahlon has quit [*.net *.split]
rcs has quit [*.net *.split]
bmn has quit [*.net *.split]
cwc has quit [*.net *.split]
shaquile has quit [*.net *.split]
chihhsin_wego has quit [*.net *.split]
xiphias has quit [*.net *.split]
<Cages> type that instead of 'irb'?
ggherdov has quit [Max SendQ exceeded]
<Cages> just did - no change
Adran has quit [Quit: Este é o fim.]
oo_ has quit [Remote host closed the connection]
SCommette has quit [Quit: SCommette]
<Sgeo> RubyInstaller is recommending 1.9.3 for people new to Ruby. Is this good advice?
oo_ has joined #ruby
<Sgeo> I was hoping I could use 2.0
<Sgeo> Actually, isn't Ruby on 2.1 these days?
dapz has joined #ruby
<sevenseacat> it is
<sevenseacat> rubyinstaller does that because windows still has issues with modern versions of things
<Cages> my mac has 1.8.5 i think
<Sgeo> :/
kalz has joined #ruby
<Cages> 1.8.7
<rkazak> Sgeo: go with ruby-installer and chruby and you will have all you need.
<Cages> Ran irb on my mac terminal and just got a prompt, no irb(main):001:0>
<sevenseacat> what did you get?
dopie has quit [Quit: Leaving]
<Sgeo> rkazak: is ruby-installer distinct from RubyInstaller?
Gooder` has joined #ruby
<Cages> sevenseacat: just a prompt
<sevenseacat> what does that mean?
<rkazak> Is RubyInstaller windows?
Rydekull has joined #ruby
<Sgeo> rkazak: yes
washtubs has joined #ruby
tokik has joined #ruby
ggherdov has joined #ruby
<rkazak> Sgeo: My bad I thought you are on osx...
hackeron has joined #ruby
Eulipion has joined #ruby
destructure has joined #ruby
yeticry has joined #ruby
ValicekB has quit [Ping timeout: 256 seconds]
<Cages> sevenseacat: I am using a book. It says I should see some form of irb(main):001:0>
<sevenseacat> that doesnt tell me what you actually are seeing
gigetoo has joined #ruby
minecoins has joined #ruby
j_mcnally has joined #ruby
mattstratton has joined #ruby
Klumben has joined #ruby
freakazoid0223 has joined #ruby
yacks has joined #ruby
braincrash has joined #ruby
war32 has joined #ruby
dc_ has joined #ruby
kith has joined #ruby
17SAAFSJP has joined #ruby
alexju has joined #ruby
maletor has joined #ruby
ziyadb has joined #ruby
naw has joined #ruby
farn has joined #ruby
SloggerKhan has joined #ruby
wang has joined #ruby
chaos___________ has joined #ruby
yfeldblum has joined #ruby
cnj has joined #ruby
zkay11 has joined #ruby
IceDragon has joined #ruby
existensil has joined #ruby
axsuul has joined #ruby
northfurr has joined #ruby
Mon_Ouie has joined #ruby
bricker`LA has joined #ruby
larissa has joined #ruby
timfoo has joined #ruby
armyriad has joined #ruby
Vivekananda_y510 has joined #ruby
e4xit has joined #ruby
RandyT has joined #ruby
lbwski has joined #ruby
KnownSyntax has joined #ruby
postmodern has joined #ruby
tekk has joined #ruby
magicien has joined #ruby
Kabaka has joined #ruby
oz has joined #ruby
heftig has joined #ruby
nemesit|znc has joined #ruby
AlexRussia has joined #ruby
codabrink has joined #ruby
matchaw has joined #ruby
freggles has joined #ruby
zenojis has joined #ruby
binaryhat has joined #ruby
CaptainJet has joined #ruby
redlegion has joined #ruby
shevy has joined #ruby
cephalostrum has joined #ruby
blackgoat has joined #ruby
JoshGlzBrk has joined #ruby
helpa has joined #ruby
angorabedsock has joined #ruby
nerdy has joined #ruby
ViperChief has joined #ruby
xargoon has joined #ruby
tcstar has joined #ruby
jshultz has joined #ruby
Pulpie has joined #ruby
ndrei has joined #ruby
devyn_ has joined #ruby
kireevco has joined #ruby
fearoffish has joined #ruby
Photism has joined #ruby
charliesome has joined #ruby
_Havoc_ has joined #ruby
lagweezle has joined #ruby
riotjones has joined #ruby
aetaric has joined #ruby
elico has joined #ruby
Moonlightning has joined #ruby
jpierre03 has joined #ruby
muuunis has joined #ruby
Koshian has joined #ruby
mr-foobar has joined #ruby
Xiti has joined #ruby
crudson has joined #ruby
marcel has joined #ruby
Rylee has joined #ruby
Nowaker has joined #ruby
zz_jrhorn424 has joined #ruby
fwaokda has joined #ruby
touzin has joined #ruby
felixjet has joined #ruby
Akuma has joined #ruby
anekos_ has joined #ruby
wiscas has joined #ruby
bhaak has joined #ruby
droptone has joined #ruby
wwalker_ has joined #ruby
frankS2 has joined #ruby
jameyd has joined #ruby
dayepa has joined #ruby
ptierno_ has joined #ruby
nevans has joined #ruby
SJr has joined #ruby
kiki_lamb has joined #ruby
mateu has joined #ruby
kke has joined #ruby
musl_ has joined #ruby
KWALL has joined #ruby
sfiggins has joined #ruby
miah has joined #ruby
tiguser has joined #ruby
jrunning has joined #ruby
olleromo__ has joined #ruby
JokerDoom has joined #ruby
orionstein_away has joined #ruby
RichiH has joined #ruby
monsieurp has joined #ruby
hoelzro has joined #ruby
maZtah has joined #ruby
culturelabs__ has joined #ruby
mozzarella has joined #ruby
voodoofish has joined #ruby
eam has joined #ruby
bijumon has joined #ruby
zaargy has joined #ruby
pygospa has joined #ruby
blenny has joined #ruby
Jelco_ has joined #ruby
Guest9909 has joined #ruby
kevinfagan_ has joined #ruby
felipe has joined #ruby
mist has joined #ruby
goshdarnyou has joined #ruby
tziOm has joined #ruby
adamholt has joined #ruby
franka_ has joined #ruby
ryanneufeld has joined #ruby
Riking has joined #ruby
shaman42_ has joined #ruby
todor_ has joined #ruby
zenspider has joined #ruby
tadejm has joined #ruby
mjuszczak has joined #ruby
benzrf has joined #ruby
clamstar has joined #ruby
niharvey has joined #ruby
tris has joined #ruby
drPoggs has joined #ruby
lng_ has joined #ruby
iceyec has joined #ruby
mattyohe has joined #ruby
peeja has joined #ruby
tiagonobre has joined #ruby
pdtpatr11k has joined #ruby
linduxed has joined #ruby
spacemud has joined #ruby
rrva has joined #ruby
Fusl has joined #ruby
raddazong has joined #ruby
peterhu has joined #ruby
ahuman has joined #ruby
ramblinpeck has joined #ruby
LBRapid has joined #ruby
natewalck has joined #ruby
supermat has joined #ruby
froy has joined #ruby
lupine has joined #ruby
yasu has joined #ruby
crodas has joined #ruby
gomikemi1e has joined #ruby
juni0r has joined #ruby
gf3 has joined #ruby
FaresKAlaboud has joined #ruby
dmarr has joined #ruby
dyreshark has joined #ruby
Takumo has joined #ruby
Killerkeksdose has joined #ruby
gzl has joined #ruby
cyphactor has joined #ruby
antonishen has joined #ruby
dfedde has joined #ruby
axisys has joined #ruby
samuelkadolph has joined #ruby
Dwarf has joined #ruby
lazyguru has joined #ruby
oddalot has joined #ruby
larsam has joined #ruby
RoryHughes has joined #ruby
kenichi has joined #ruby
Guest22956 has joined #ruby
G has joined #ruby
GGMethos has joined #ruby
rapha has joined #ruby
akitada has joined #ruby
metadave has joined #ruby
dioms_ has joined #ruby
skmp has joined #ruby
clocKwize has joined #ruby
xsdg has joined #ruby
VooDooNOFX has joined #ruby
Seich has joined #ruby
artgoeshere has joined #ruby
joelroa has joined #ruby
CJD14___ has joined #ruby
Elfix has joined #ruby
jpinnix has joined #ruby
callenb has joined #ruby
AntelopeSalad has joined #ruby
ceej has joined #ruby
schaary|afk has joined #ruby
dmoe______ has joined #ruby
patronus has joined #ruby
machty has joined #ruby
Wayneoween has joined #ruby
Paradox has joined #ruby
yosafbridge has joined #ruby
tenseiten has joined #ruby
frode15243 has joined #ruby
Karunamon has joined #ruby
iaj_ has joined #ruby
lfox has joined #ruby
tchebb has joined #ruby
ra4king has joined #ruby
rmill has joined #ruby
xm has joined #ruby
guilleiguaran__ has joined #ruby
manacit has joined #ruby
Macacity has joined #ruby
m_3 has joined #ruby
udoprog1 has joined #ruby
rfv has joined #ruby
ballPointPenguin has joined #ruby
george2 has joined #ruby
andrewstewart has joined #ruby
SegFaultAX has joined #ruby
acalewin has joined #ruby
glowcoil has joined #ruby
bcavileer___ has joined #ruby
ELLIOTTCABLE has joined #ruby
Kamilion has joined #ruby
msch has joined #ruby
DefV has joined #ruby
paulog has joined #ruby
JaTochNietDan has joined #ruby
initself_ has joined #ruby
Radar has joined #ruby
hostess has joined #ruby
charles81____ has joined #ruby
lectrick has joined #ruby
jamo_ has joined #ruby
bjeanes has joined #ruby
Y_Ichiro has joined #ruby
genta has joined #ruby
dandrade has joined #ruby
pusewicz has joined #ruby
intnsity has joined #ruby
mroth has joined #ruby
FL1SK has joined #ruby
ryotarai has joined #ruby
PhilK has joined #ruby
Derander_ has joined #ruby
DarkFoxDK has joined #ruby
amitchellbullard has joined #ruby
epochwolf has joined #ruby
LACP has joined #ruby
Anarch has joined #ruby
Nightmare has joined #ruby
jumblemuddle has joined #ruby
blackjid has joined #ruby
troter has joined #ruby
Liothen has joined #ruby
ikanobori has joined #ruby
gimpygoo has joined #ruby
jeregrine has joined #ruby
zartoosh has joined #ruby
verto has joined #ruby
sfr^ has joined #ruby
C0deMaver1ck has joined #ruby
vcoinminer____ has joined #ruby
rickruby__ has joined #ruby
cschneid has joined #ruby
ponyfleisch has joined #ruby
nisstyre has joined #ruby
danshultz has joined #ruby
Scient has joined #ruby
sputnik13 has joined #ruby
ReBoRN- has joined #ruby
mhenrixon has joined #ruby
nw has joined #ruby
callumacrae has joined #ruby
jonathanwallace has joined #ruby
davidcelis has joined #ruby
marahin has joined #ruby
chridal has joined #ruby
Jamo has joined #ruby
gremax has joined #ruby
hfp has joined #ruby
nighter has joined #ruby
philtr_ has joined #ruby
wlanboy has joined #ruby
Mongey has joined #ruby
bluntman has joined #ruby
GeekOnCoffee has joined #ruby
gilesw has joined #ruby
saltsa has joined #ruby
SecretAgent has joined #ruby
terlar has joined #ruby
JarJarBinks has joined #ruby
Port3M5[Work] has joined #ruby
TTilus has joined #ruby
cwc has joined #ruby
DanKnox has joined #ruby
<Cages> I'm seeing a prompt
dhruvasagar has joined #ruby
eval-in__ has joined #ruby
donnoc_ has joined #ruby
Dr3amc0d3r|away has joined #ruby
justinmcp has joined #ruby
moshee has joined #ruby
_izz has joined #ruby
gyre007 has joined #ruby
zarul has joined #ruby
kloeri has joined #ruby
willgorman_ has joined #ruby
Nilium has joined #ruby
paul_k has joined #ruby
bstrie has joined #ruby
Tarential has joined #ruby
sn0wb1rd has joined #ruby
bmn has joined #ruby
Xuerian has joined #ruby
ccooke has joined #ruby
pgmcgee has joined #ruby
mosez has joined #ruby
mahlon has joined #ruby
nug has joined #ruby
chihhsin_wego has joined #ruby
shanlar has joined #ruby
Hamled has joined #ruby
shaquile has joined #ruby
skinny_much has joined #ruby
rs0 has joined #ruby
Cork has joined #ruby
ozzloy has joined #ruby
rcs has joined #ruby
<Cages> >>
sindork has joined #ruby
kaihara has joined #ruby
nomadic has joined #ruby
vali has joined #ruby
mjmac has joined #ruby
Sou|cutter has joined #ruby
b1nd has joined #ruby
micah` has joined #ruby
shtirlic has joined #ruby
quantsini_ has joined #ruby
okinomo_ has joined #ruby
Gnubie_ has joined #ruby
jwang has joined #ruby
jayne has joined #ruby
bier has joined #ruby
<eval-in__> Cages => nil (https://eval.in/172496)
daed has joined #ruby
Kruppe has joined #ruby
xiphias has joined #ruby
Drakevr has joined #ruby
freannrak has joined #ruby
grug has joined #ruby
sarlalian has joined #ruby
seanmarcia has joined #ruby
thoolihan has joined #ruby
Roa has joined #ruby
fumduq has joined #ruby
n88 has joined #ruby
cid404 has joined #ruby
FifthWall has joined #ruby
machete has joined #ruby
ggherdov has quit [Max SendQ exceeded]
<sevenseacat> lol i was waiting for that
<sevenseacat> does your prompt work like irb?
cobakobodob has quit [Max SendQ exceeded]
macclearich has joined #ruby
<Sgeo> o.O eval.in is old for everything except Ruby?
<Sgeo> No one uses Hugs anymore
17SAAFSJP has quit [Remote host closed the connection]
kireevco has left #ruby [#ruby]
<Cages> sevenseacat: It would appear so.
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
<Cages> sevenseacat: Since i am using this book's instructions, i would like to get the irb(main):001:0> on my screen in case it is used later.
parduse has joined #ruby
bigkevmcd has joined #ruby
MCDev has joined #ruby
hypnosb has joined #ruby
Gadgetoid has joined #ruby
danijoo has joined #ruby
Cache_Money has joined #ruby
p0sixpscl has joined #ruby
ajf- has joined #ruby
KillerFox has joined #ruby
Rudisimo has joined #ruby
robustus has joined #ruby
fumk has joined #ruby
TheNumb has joined #ruby
sheepman has joined #ruby
mame1 has joined #ruby
ddfreyne has joined #ruby
<sevenseacat> then your crazy old version of ruby is just fine
ajf- has quit [Max SendQ exceeded]
parduse has quit [Max SendQ exceeded]
p0sixpscl has quit [Max SendQ exceeded]
Rudisimo has quit [Max SendQ exceeded]
<sevenseacat> (and it is crazy old)
ajf- has joined #ruby
Olipro has joined #ruby
cobakobodob has joined #ruby
washtubs has quit [Ping timeout: 240 seconds]
Rudisimo has joined #ruby
<mozzarella> try irb --prompt default
parduse has joined #ruby
Olipro has quit [Max SendQ exceeded]
camt has joined #ruby
washtubs has joined #ruby
Zebroid has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
jenskarlsen has quit [Ping timeout: 256 seconds]
parduse is now known as Guest6477
Olipro has joined #ruby
ascarter has joined #ruby
PanPan has joined #ruby
tomaw has joined #ruby
<Cages> mozzarella: No change
lolmaus has joined #ruby
<rkazak> what does irb —version show ?
<sevenseacat> does your book specifically tell you to use ruby 1.8.7? what book is it?
macclearich has quit [Ping timeout: 240 seconds]
Adran has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devyn_ has quit [Changing host]
devyn_ has joined #ruby
devyn_ is now known as devyn
snath has joined #ruby
<sevenseacat> fun
<Cages> rkazak: An error
<sevenseacat> how did you install ruby?
<sevenseacat> btw - 'an error' doesnt help anyone, telling us what the error is, might
<Cages> sevenseacat: It was already on my mac
Zebroid has quit [Read error: Network is unreachable]
Ankhers has quit [Ping timeout: 264 seconds]
<Cages> Error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/input-method.rb:68:in `initialize': No such file or directory - —version (Errno::ENOENT)
<rkazak> Cages what does which irb show ?
Zebroid has joined #ruby
mgberlin has joined #ruby
<mozzarella> don't use an em dash
<mozzarella> "irb --version"
<mozzarella> copy and paste that
idiocrash has joined #ruby
kireevco has joined #ruby
<Cages> mozzarella: irb 0.9.5(05/04/13)
<sevenseacat> seems legit
<rkazak> right -
Takle has joined #ruby
washtubs has quit [Ping timeout: 240 seconds]
ggherdov has joined #ruby
<Cages> what is wrong with what i have?
<Cages> i will reinstall
Dwarf has quit [Quit: Oops I quit]
datafirm has joined #ruby
SCommette has joined #ruby
<Cages> what is wrong with irb 0.9.5? I am new to ruby and programming in general
asdasdasdasss has joined #ruby
vsoftoiletpaper has joined #ruby
Dwarf has joined #ruby
<sevenseacat> nothing
<sevenseacat> just use it
datafirm has quit [Client Quit]
<rkazak> Cages: ok let’s try this, “which irb”
ValicekB has joined #ruby
<sevenseacat> no need to overcomplicate it
datafirm has joined #ruby
<Cages> "/usr/bin/irb "
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
terrellt has joined #ruby
ta_ has joined #ruby
<rkazak> Cages: try running explicitly ‘/usr/bin/irb’
<sevenseacat> what difference do you think that will make?
sputnik1_ has joined #ruby
Gooder`` has joined #ruby
<mozzarella> apple probably patched it to death
Takle has quit [Ping timeout: 240 seconds]
<mozzarella> nothing you can do about it ≧°◡°≦
<rkazak> any conflicting aliases
<sevenseacat> theres probably an .irbrc somewhere in the system that changes the prompt, and it really doesnt matter
washtubs has joined #ruby
<Cages> rkazak: That leads to the same prompt
<Cages> >>
<eval-in__> Cages => nil (https://eval.in/172508)
<Cages> eval-in__: ?
<mozzarella> he's an eval bot
<mozzarella> >> puts 'hello'
<eval-in__> mozzarella => hello ... (https://eval.in/172509)
<sevenseacat> Cages: its a bot that responds to commands starting with >>
ta has quit [Ping timeout: 240 seconds]
<mozzarella> does it run inside a sandbox?
Gooder` has quit [Ping timeout: 260 seconds]
<mozzarella> I hope so
asdasdasdasss has quit [Ping timeout: 240 seconds]
<sevenseacat> no idea, ask charliesome
benzrf is now known as benzrf|offline
datafirm has quit [Ping timeout: 240 seconds]
luckyruby has joined #ruby
<Sgeo> What's the Ruby equivalent of true become: false
<Sgeo> ?
<mozzarella> >> !true
<eval-in__> mozzarella => false (https://eval.in/172510)
<mozzarella> is that what you're asking?
<sevenseacat> i dont know what that line is meant to do
<Sgeo> No
<Sgeo> In Smalltalk, it swaps true and false. Generally ruining the environment
<Cages> I appear to have found a solution.
<Cages> Thank you all
<sevenseacat> Cages: what was it?
yetanotherdave has joined #ruby
<Sgeo> >> def Class.new; end
washtubs has quit [Ping timeout: 250 seconds]
<Cages> sevenseacat: irb --prompt inf-ruby
<Sgeo> >> 1 + 1
<eval-in__> Sgeo => 2 (https://eval.in/172511)
frellnet has quit [Remote host closed the connection]
<Sgeo> Why didn't it even say anything to the earlier one?
washtubs has joined #ruby
<sevenseacat> Cages: seems legit.
<Cages> It works, i have tested
<mozzarella> >> nil
<eval-in__> mozzarella => nil (https://eval.in/172513)
frellnet has joined #ruby
<mozzarella> probably syntax error?
luckyruby has quit [Ping timeout: 264 seconds]
<mozzarella> and it doesn't want to tell you
vpretzel has quit [Quit: Adios!]
<Sgeo> >> : hi there " I'm a syntax error!
<eval-in__> Sgeo => /tmp/execpad-230a0eb6776e/source-230a0eb6776e:2: syntax error, unexpected ':' ... (https://eval.in/172516)
foobarbaz_ has quit [Ping timeout: 246 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rkazak> Cages: did you type irb —prompt simple ? that prompts with ‘>>'
<Cages> rkazak: Nope, the default prompt on mac is >>
<mozzarella> no em dash bro
Adran has quit [Quit: Este é o fim.]
<mozzarella> ( ≖‿≖)
ziyadb has quit [Quit: Connection closed for inactivity]
sputnik1_ has quit [Ping timeout: 240 seconds]
frellnet has quit [Ping timeout: 240 seconds]
<drizz> >> a = -> {
<eval-in__> drizz => /tmp/execpad-94bb3c129327/source-94bb3c129327:3: syntax error, unexpected keyword_rescue ... (https://eval.in/172526)
sputnik13 has quit [Ping timeout: 240 seconds]
<rkazak> mozzarella: how do I stop that em stuff...
washtubs has quit [Ping timeout: 256 seconds]
washtubs has joined #ruby
<mozzarella> well, is it your irc client or your keyboard layout?
dopie has joined #ruby
sputnik13 has joined #ruby
<dopie> hey #ruby the nicest place on earth
<rkazak> irc, I type - - but it changes....
<dopie> muuunis, stop spamming me
drawingthesun has quit [Read error: Connection reset by peer]
Samm has joined #ruby
<mozzarella> which client is that? is it xchat?
<Samm> hi
foo-bar- has joined #ruby
<rkazak> Colloquy
oo_ has quit [Remote host closed the connection]
<drizz> heh, that sounds like really annoying behaviour
dc_ has quit []
terrellt has quit [Quit: Leaving...]
<rkazak> test - -
<rkazak> test --
<Samm> hi
Adran has joined #ruby
<rkazak> OK, there was a setting which converts input to utf8 set that to leave as ascii...
<rkazak> Cages: what does irb —prompt default show ?
<rkazak> damm.
<Cages> i get an error
<drizz> I think rkazak means `irb --simple-prompt`
Rudisimo has quit [Quit: Leaving]
<Cages> "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/input-method.rb:68:in `initialize': No such file or directory - —prompt (Errno::ENOENT) "
<Sgeo> Any online sandboxes where I can use arbitrary gems?
<rkazak> actually why not so irb —help ….
<Cages> drizz: That displays >>
<Sgeo> I want to play with that delimited continuation gem a bit
<sevenseacat> Sgeo: install it and play with it?
washtubs has quit [Ping timeout: 260 seconds]
<Sgeo> sevenseacat: I'd need to install Ruby first
foo-bar- has quit [Ping timeout: 240 seconds]
<sevenseacat> so... install ruby?
<Sgeo> Which version? 1.9.3, or try to get 2.1.0 or something working on Windows?
washtubs has joined #ruby
<sevenseacat> whatever is compatible with the gems you want to use?
<rkazak> Sgeo: whatever the gem needs….
<rkazak> :)
<sevenseacat> doesnt seem like rocket surgery
<rkazak> Cages: irb —help prints ‘>>’
<dopie> Sgeo, wprd of advice
<dopie> DO NOT USE WINDOWS WITH RUBY
<dopie> :)
<Sgeo> :(
jenskarlsen has joined #ruby
<rkazak> Cages: cut your losses and go with ruby-install and chruby…. and I think you will find 1.9.3 as the oldest supported version….
<sevenseacat> rkazak: he's following a book that uses 1.8.7 and wants to be the same as the book
<Cages> irb --help works i believe " --prompt prompt-mode --prompt-mode prompt-mode Switch prompt mode. Pre-defined prompt modes are `default', `simple', `xmp' and `inf-ruby' "
<Cages> is the ket here
<Cages> key*
<Sgeo> I should probably actually relearn Ruby instead of coasting on what I learned years ago + the occasional snippit now
<rkazak> Cages: ‘default’ should give you the prompt you were lookng for…
<Cages> rkazak: it does not
Ankhers has joined #ruby
<sevenseacat> rkazak: unless something changed the default
<rkazak> Cages: Have you just installed this ?
<sevenseacat> sigh
<sevenseacat> rkazak: he's using his system ruby
washtubs has quit [Ping timeout: 240 seconds]
<Cages> yes
dideler has joined #ruby
washtubs has joined #ruby
<Cages> goal is to change my default prompt
owen1_ has quit [Ping timeout: 240 seconds]
vsoftoiletpaper has quit []
yfeldblu_ has joined #ruby
<sevenseacat> create an .irbrc file, put your new prompt command in it
vsoftoiletpaper has joined #ruby
<mozzarella> find / -name '*irbrc*' 2>/dev/null
ramfjord has quit [Ping timeout: 260 seconds]
<Cages> ok sevenseacat and mozzarella i appreciate the help
<Sgeo> Bindings need to be used with string evaluation?
<Sgeo> :/
yfeldblum has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
Soliah has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
yeticry has quit [Quit: leaving]
CaptainJet has quit []
g0bl1n has joined #ruby
techsethi has joined #ruby
Frank13760 has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
<bricker`LA> Someone give me a regex challenge
drawingthesun has joined #ruby
<mozzarella> parse html code using regexes ( ͡° ͜ʖ ͡°)
lw has quit [Quit: s]
<Frank13760> anyone want an RSpec challenge?
<dopie> Frank13760, haha
funburn has joined #ruby
pu22l3r has joined #ruby
freakazoid0223 has left #ruby ["Leaving"]
<war32> Hey guys, I have a lot of lines in a class like this (def add_author (obj) @ author.push (obj) end). How can I make it more beautiful?
<Frank13760> copy/paste into a gist the class
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<war32> Frank13760, http://sprunge.us/JOLe
pasties has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby
Arkaniad has joined #ruby
oo_ has joined #ruby
mary5030 has joined #ruby
godd2 has joined #ruby
amargherio has quit [Remote host closed the connection]
mikepack has joined #ruby
_maes_ has joined #ruby
Frank13760 has quit []
shevy has quit [Ping timeout: 264 seconds]
oo_ has quit [Ping timeout: 250 seconds]
<war32> oh, u mean copy/paste for rspec challenge, sorry
g0bl1n has quit [Quit: g0bl1n]
techsethi has quit [Quit: techsethi]
<godd2> okay so there's like 20 test suites for Ruby; how do I figure out which one(s) to use? Do I user more than one at once? Do I use all of them at once?
tmcgoo has joined #ruby
pasties has joined #ruby
<tmcgoo> why cant i join ruby on rails
<tmcgoo> says
<tmcgoo> i need to be identified with services
<godd2> you need to be identified with services
<godd2> you need to register your nick
djbkd has joined #ruby
lukec has quit [Quit: lukec]
<tmcgoo> how do i go about that
<godd2> try /msg NickServ help
banjara has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
gimpygoo has quit [Ping timeout: 240 seconds]
nerdy has quit [Quit: Computer has gone to sleep.]
<tmcgoo> i cant even enter the channel
<tmcgoo> to msg nickserv
asdasdasdasss has joined #ruby
pu22l3r has joined #ruby
Eyes is now known as Eyess
<godd2> no, messaging NickServ is something you get by virtue of having connected to freenode
<godd2> you don't have to enter any channel
pasties has quit [Ping timeout: 250 seconds]
sevvie has quit [Quit: Bye]
<tmcgoo> oh ok
manacit is now known as manacit[ICANTTLK
<tmcgoo> so i registered awhile ago
<tmcgoo> how do i log back into that nick?
manacit[ICANTTLK is now known as manacit[VOICEME}
funktor has joined #ruby
manacit[VOICEME} is now known as manacit[SEA]
shevy has joined #ruby
<Samm> hi
<godd2> tmcgoo if you know the password just do /msg NickServ identify mypassword
manacit[SEA] is now known as manacit
asdasdasdasss has quit [Ping timeout: 264 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
fabrice31 has joined #ruby
braxtonplaxco has joined #ruby
braxtonplaxco has left #ruby [#ruby]
<godd2> the shortened version is /ns identify whatever_your_password_is
zkay11 has quit [Quit: Leaving.]
sigurding has joined #ruby
yfeldblum has joined #ruby
<tmcgoo> sweet
<tmcgoo> thanks guys!
ramfjord has joined #ruby
nerdy has joined #ruby
bruno- has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
vyorkin has joined #ruby
oo_ has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
gimpygoo has joined #ruby
mgberlin_ has joined #ruby
aaaaaaa has joined #ruby
kayloos has joined #ruby
<aaaaaaa> should i learn ruby?
<dopie> should you eat?
<dopie> and feed your family or yourself?
mgberlin has quit [Ping timeout: 250 seconds]
claw_ has joined #ruby
claw has quit [Quit: Konversation terminated!]
bruno- has quit [Ping timeout: 264 seconds]
michael_lee has joined #ruby
pu22l3r has quit [Remote host closed the connection]
kayloos has quit [Ping timeout: 240 seconds]
codabrink has quit [Ping timeout: 240 seconds]
aaaaaaa has quit [Quit: Page closed]
j_mcnally has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby
theharshest has joined #ruby
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
pontiki has joined #ruby
<jameyd> what the heck are people using to parse subcommands in ruby command line tools?
<pontiki> GLI, thor
<pontiki> probably others
<jameyd> i see some recent posts bending optpare to their will and it's fugly compared to general ruby, there's a subcommand gem that hasn't been pushed to in 4 years, and there's something called trollop which a lot of people are excited about but doesn't seem to exist anywhere
aganov has joined #ruby
<jameyd> i mean it's on rubygems but no source code
<Sgeo> >> StopIteration
<eval-in__> Sgeo => StopIteration (https://eval.in/172539)
* Sgeo blinks a few times
lolmaus has joined #ruby
lukec has joined #ruby
lukec has quit [Client Quit]
<pontiki> well, check both of those, see if they do what you want
<jameyd> gli looks cool, thanks pontiki
<jameyd> many many stars, too
<jameyd> don't know why that doesn't come up in google searches
<jameyd> or maybe my google-fu is weak right now
<Samm> hi
<godd2> >> StopIteration.ancestors
<Samm> hello
<Samm> hi jameyd
<pontiki> idk, jameyd, it's by dave copeland of 'awesome command line tools in ruby'
<pontiki> gli, i mean
<pontiki> thor is part of rails
<jameyd> hi Samm
<jameyd> i was looking specifically for things with the keyword subcommand
<Sgeo> OO-based web servers make me feel twitchy, but lately I've started to realize it would be simple enough to write a class that's just initialized with a function
tacos1de has quit [Ping timeout: 264 seconds]
<Sgeo> Oh, WEBrick comes with • HTTPServlet::ProcHandler
<Samm> jameyd from ?
<jameyd> what?
jamto11 has joined #ruby
tacos1de has joined #ruby
mary5030 has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Channel6 has quit [Quit: Leaving]
GriffinHeart has quit [Remote host closed the connection]
Matix has joined #ruby
jamto11 has quit [Ping timeout: 272 seconds]
<Samm> where r u from
<jameyd> usa, west coast
<jameyd> i'm off to bed, night people
<jameyd> pontiki: if i'm remembering irc handles correctly, that's the 400th thing you've helped me with. thanks again
<pontiki> lol
<pontiki> sure
<dopie> pontiki, i lov eyou
<dopie> :)
tobago has joined #ruby
tobago has quit [Changing host]
tobago has joined #ruby
<pontiki> like a mother?
<dopie> no
Matip has quit [Ping timeout: 240 seconds]
<dopie> like a older jedi
funburn has quit [Quit: funburn]
<pontiki> i'm probablyold enough to be you mother, even your grandmother
<dopie> depends
yliu has joined #ruby
<dopie> at what age did you have kids?
<pontiki> looks as good you won't when my age you reach
<pontiki> 30
<dopie> how old is your kidnow?
<pontiki> 27
<dopie> hmmm
<dopie> yeah
<dopie> you can be my mother
<dopie> :)
phutchins has quit [Ping timeout: 240 seconds]
<pontiki> but i'm NOT so clean up your own messes!!
<dopie> so how'd u gt into coding/
toastynerd has quit [Remote host closed the connection]
<pontiki> at age 11
<pontiki> my brother dragged me into summer school computing class so i could write programs to calculate trajectories for his model rockets
gdd229 has quit [Quit: Leaving.]
pasties has joined #ruby
<dopie> wow
zenojis has quit [Quit: btc-e]
<Samm> hi
<Samm> pontiki
<Samm> dopie
<dopie> hey Samm
<Samm> hi dear
<Samm> where u from
landodger has joined #ruby
<dopie> what?!
larissa has quit [Quit: Leaving]
SCommette has quit [Quit: SCommette]
<Samm> which country ?
<dopie> you can find out pretty easy
mgberlin_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
Cages has quit [Quit: Page closed]
<Samm> what you interested in ?
Zebroid has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
kyb3r_ has joined #ruby
vyorkin has joined #ruby
GriffinHeart has joined #ruby
Aaaal has joined #ruby
timgauthier has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
zenojis has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
meinside has joined #ruby
heftig has quit [Quit: Quitting]
asdasdasdasss has joined #ruby
tomoyuki28jp has joined #ruby
<tomoyuki28jp> Question regarding the slop gem. Is there a built-in way to create a command alias?
Wolland has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
rkazak has left #ruby [#ruby]
b00stfr3ak has joined #ruby
rkazak has joined #ruby
relix has joined #ruby
zenojis is now known as xenogis
mary5030 has quit [Remote host closed the connection]
theharshest has quit [Quit: This computer has gone to sleep]
asdasdasdasss has quit [Ping timeout: 256 seconds]
hmsimha has joined #ruby
tokik has quit [Remote host closed the connection]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tokik has joined #ruby
whyy has joined #ruby
funktor has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
<apeiros> moin
kireevco has quit [Quit: Leaving.]
bruno- has quit [Ping timeout: 264 seconds]
muuunis was kicked from #ruby by apeiros [spambots are unwelcome]
theharshest has joined #ruby
tagrudev has joined #ruby
washtubs has quit [Ping timeout: 264 seconds]
djbkd has quit [Quit: My people need me...]
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
theharshest has quit [Client Quit]
robbyoconnor has joined #ruby
why_away has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik1_ has joined #ruby
<tomoyuki28jp> apeiros: moin
whyy has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
<godd2> almost looks like apres moi
papercode has quit [Quit: WeeChat 0.4.3]
why_away is now known as whyy
emergion has quit [Quit: Connection closed for inactivity]
foo-bar- has joined #ruby
anaeem1_ has joined #ruby
theharshest has joined #ruby
buub has joined #ruby
buub_ has joined #ruby
compAz has joined #ruby
theharshest has quit [Client Quit]
foo-bar- has quit [Ping timeout: 250 seconds]
mercwithamouth has joined #ruby
Samm has quit [Quit: Page closed]
senayar has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
sdwrage has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
Aaaal has quit [Quit: Aaaal]
toretore has joined #ruby
yano has joined #ruby
IceDragon has quit [Quit: Space~~~]
starkhalo has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
olivier_bK has quit [Ping timeout: 256 seconds]
techsethi has joined #ruby
agjacome has joined #ruby
mios has joined #ruby
bal has joined #ruby
sigurding has quit [Ping timeout: 250 seconds]
sigurding has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dopiee has joined #ruby
zartoosh has quit [Ping timeout: 240 seconds]
<Sgeo> This tutorial is bad. I am sad. http://m.onkey.org/ruby-on-rack-1-hello-rack
dopie has quit [Ping timeout: 250 seconds]
<Sgeo> Has the body being a string instead of array of string.
robbyoconnor has quit [Read error: Connection reset by peer]
<Sgeo> >> "Hello Rack!".each { |elem| p elem; exit }
<eval-in__> Sgeo => undefined method `each' for "Hello Rack!":String (NoMethodError) ... (https://eval.in/172541)
sputnik1_ has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
guinsly has joined #ruby
zartoosh has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
Spleeze has quit [Quit: QUIT]
robbyoconnor has joined #ruby
senayar has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
sputnik1_ has quit [Client Quit]
Spleeze has joined #ruby
fabrice31 has joined #ruby
<guinsly> hi! I'm getting an error of "file not found" while trying to read a json file +> https://gist.github.com/guinslym/5ac75fd60fe10d5046d4
mikepack has quit [Remote host closed the connection]
bruno- has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
yetanotherdave has joined #ruby
treehug88 has quit [Ping timeout: 240 seconds]
vsoftoiletpaper has quit []
vsoftoiletpaper has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
vsoftoiletpaper has quit [Client Quit]
senayar has joined #ruby
Poky has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
asdasdasdasss has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
kayloos has joined #ruby
claymore has joined #ruby
yetanotherdave has quit [Ping timeout: 272 seconds]
asdasdasdasss has quit [Ping timeout: 240 seconds]
francisfish has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobodyzzz has joined #ruby
mattmcclure has joined #ruby
fluve has quit []
vsoftoiletpaper has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
luckyruby has joined #ruby
Morkel has joined #ruby
SouL has joined #ruby
fabrice31 has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
cuqa has joined #ruby
jack_rabbit has joined #ruby
shaileshg has joined #ruby
vyorkin has joined #ruby
alem0lars has joined #ruby
toastynerd has joined #ruby
OffTheRails has joined #ruby
alem0lars has quit [Client Quit]
francisfish has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
hgl has joined #ruby
francisfish has joined #ruby
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
hmsimha has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
francisfish has quit [Read error: No route to host]
hgl has quit [Max SendQ exceeded]
francisfish has joined #ruby
hgl has joined #ruby
hgl has quit [Max SendQ exceeded]
alem0lars has joined #ruby
hgl has joined #ruby
francisfish has quit [Remote host closed the connection]
funktor has joined #ruby
vsoftoiletpaper has quit []
Takle has joined #ruby
kayloos has quit [Remote host closed the connection]
jackneill has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
yfeldblu_ has joined #ruby
jamto11 has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
zigomir has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 272 seconds]
<arup_r> How can I stub the private method ? https://gist.github.com/aruprakshit/5eacbe08d4bf05214ada I am not getting it.. Any help please ? I am using Rspec
vsoftoiletpaper has joined #ruby
<sevenseacat> you don't
jamto11 has quit [Ping timeout: 240 seconds]
senayar has quit [Read error: Connection reset by peer]
_tpavel has joined #ruby
<arup_r> But How can I test those case..when expression result ?
sdwrage has quit [Quit: This computer has gone to sleep]
<sevenseacat> why do you want to do that when you will never call it directly?
danielpclark has quit [Remote host closed the connection]
senayar has joined #ruby
<arup_r> Humm..
toastynerd has joined #ruby
ndrei has joined #ruby
anaeem1 has quit [Remote host closed the connection]
dapz has joined #ruby
jhass|off is now known as jhass
memph1s has joined #ruby
toastynerd has quit [Remote host closed the connection]
rails426 has joined #ruby
Ainieco has joined #ruby
<Ainieco> hello
tvw has joined #ruby
dapz has quit [Client Quit]
alem0lars has quit [Quit: Going AFK...]
bruno- has joined #ruby
dapz has joined #ruby
datafirm has joined #ruby
Ainieco has quit [Quit: leaving]
jack_rabbit has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
jack_rabbit has joined #ruby
tectonic has quit []
yetanotherdave has joined #ruby
asdasdasdasss has joined #ruby
sk87 has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
ndrei has joined #ruby
niik00 has joined #ruby
timgauthier has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
b00stfr3ak has quit [Ping timeout: 272 seconds]
asdasdasdasss has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
senayar has quit [Read error: Connection reset by peer]
war32 has quit [Ping timeout: 240 seconds]
datafirm has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
dumdedum has joined #ruby
kalusn has joined #ruby
senayar has joined #ruby
Takle has joined #ruby
sigurding has quit [Quit: sigurding]
yetanotherdave has quit [Ping timeout: 240 seconds]
<niik00> I guys, I'm in trouble with regex can anyone have a look ? I describe all the problem in that past : http://pastebin.com/tzLemmxm
<jhass> niik00: is one [ ] expression always on its own line?
tesuji has joined #ruby
chrishough has quit [Quit: chrishough]
Guest93190 has joined #ruby
northfurr has quit [Quit: northfurr]
sigurding has joined #ruby
kalusn has quit [Client Quit]
hmsimha has joined #ruby
kiri has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<niik00> jhass: yes it is.
dumdedum has quit [Ping timeout: 240 seconds]
dapz has joined #ruby
bruno- has joined #ruby
dapz has quit [Max SendQ exceeded]
foo-bar- has joined #ruby
rkazak has left #ruby [#ruby]
kalusn has joined #ruby
<jhass> my take at it then: http://paste.mrzyx.de/p81b3be83/
<jhass> choose better names, I've no idea what the data represents actually
<niik00> Mmmm in fact I tried to use regex to parse my string so that I don't have to split manually the string
qba73 has joined #ruby
<jhass> but why if it's easier?
foo-bar- has quit [Ping timeout: 240 seconds]
<niik00> Just because I'll receive my string : regex.match(string) and it's done.
ghr has joined #ruby
<jhass> is it really if you have to invest that much time in understanding the regex?
<jhass> and then invest that time again if you later need to change it?
jottr has joined #ruby
funburn has joined #ruby
guardian has joined #ruby
funburn has quit [Client Quit]
<guardian> hello, I would like to understand more about the following
<guardian> I'm using nanoc and I updated gems. nanoc requires cri ~> 2.3. It happens after having updated my gems I have both cri 2.6.0 and 2.6.1 installed
<guardian> when launching 'nanoc compile' I get "WARN: Unresolved specs during Gem::Specification.reset"
<guardian> but when launching 'bundle exec nanoc compile' I don't have any warning
jack_rabbit has quit [Ping timeout: 240 seconds]
<guardian> I think it's because bundler somehow ties the execution to 2.6.1 while launching 'nanoc compile' ruby's confused about 2 gems being available
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<guardian> what's the proper way to fix that? as a user, I can gem cleanup and as soon as only cri 2.6.1 remains installed I don't face the warning anymore
<guardian> but as a developer, is there something I could change in nanoc to avoid this situation?
timonv_ has joined #ruby
timfoo has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
elaptics`away is now known as elaptics
reset has joined #ruby
JoshGlzBrk has joined #ruby
Pharaoh2 has joined #ruby
Takle has quit [Remote host closed the connection]
timgauthier has quit [Remote host closed the connection]
timgauthier has joined #ruby
blueOxigen has joined #ruby
sk87 has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
schaary|afk is now known as schaary
dumdedum has joined #ruby
<jhass> bundle exec is pretty much the right solution, you can get the same effect by having require 'bundler/setup' as the first require, though that ties it to a Gemfile. For more to say the full error message could help
cobakobodob has quit [Ping timeout: 256 seconds]
<jhass> niik00: so as said, I definitely prefer the split version in this case, but you're probably looking for String#scan
<niik00> jhass: you're right I just wanted to understand why my regex isn't working here. I tested it on rubular and I worked
timgauthier has quit [Client Quit]
<niik00> I'm always getting the first match but I added the multiline option on my regex
<niik00> Even if I put all the sequences on the same line it doesn't work.
Joulse has joined #ruby
<niik00> It's probably a little mistake or I'm using the methods wrongly
<jhass> well, you only ever match a single pair of [ ], so you'd need to extend that or better use String#scan
senayar has quit [Read error: Connection reset by peer]
marr has joined #ruby
lanox has joined #ruby
<niik00> I've just tried with String#scan and it's all the same
senayar has joined #ruby
<jhass> you need to adjust the regex to match a single line of course
funktor has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
roolo has joined #ruby
tmcgoo has quit [Ping timeout: 256 seconds]
<niik00> What do you mean ? Isn't supposed to match all the [...] with that one ?
<jhass> String#scan reexecutes the regex as long as there was a match in the previous iteration, offsetting from the last match
febuiles_ has quit [Remote host closed the connection]
febuiles has joined #ruby
godd2 has quit [Remote host closed the connection]
<niik00> yeah so my regex is *supposed* to work like that then. If it found the first [], it should also find the second one right ?
Takle has joined #ruby
<jhass> I think so
Pharaoh2 has quit [Remote host closed the connection]
<jhass> can you post your rubular link?
Takle has quit [Remote host closed the connection]
<guardian> jhass: it's "WARN: Unresolved specs during Gem::Specification.reset: cri (>= 2.3)" "WARN: Clearing out unresolved specs."
<jhass> that's the whole output?
<guardian> jhass: there are lots of mentions of that kind of error in the wild, solution is to gem cleanup
Takle has joined #ruby
einarj has joined #ruby
<guardian> jhass: yeah whole output reconstructed by what I read since I did gem cleanup already :/
kaspergrubbe has joined #ruby
whyy has quit [Remote host closed the connection]
<niik00> As you can see, I have 2 matches each one has what I want to have so it seems to be ok
<jhass> niik00: so, with String#scan it should match a single item, not both
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<guardian> jhass: I could reinstall cri 2.6.0 to make the warning display again but I'm confident that's the message I got
vsoftoiletpaper has quit []
sk87 has joined #ruby
<niik00> jhass: Didn't you say that scan will reexecutes the regex as long as there was a match in the previous iteration ?
olivier_bK has joined #ruby
Ayey_ has joined #ruby
Shidash has joined #ruby
Takle has quit [Remote host closed the connection]
shredding has joined #ruby
Ayey_ has quit [Client Quit]
andrewlio has joined #ruby
Ayey_ has joined #ruby
<jhass> niik00: and that's because you should match a single item
Photism has quit [Quit: Leaving]
Takle has joined #ruby
alex88 has joined #ruby
cobakobodob has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
olitree has joined #ruby
<olitree> Hello All.
asdasdasdasss has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
<jhass> >> "[foo-1 param1 : value1, param2 : value2]\n[foo-2 param1 : value1, param2 : value2, params3 : value3]".scan(/^\[([\w-]+)\s?([\w@.,:\s]*?)\]$/) # niik00, still requires parsing the parameters, so meh, go for split
<eval-in__> jhass => [["foo-1", "param1 : value1, param2 : value2"], ["foo-2", "param1 : value1, param2 : value2, params3 : value3"]] (https://eval.in/172554)
Elhu has joined #ruby
timonv_ has quit [Remote host closed the connection]
<olitree> One question:
vyorkin has quit [Read error: Connection reset by peer]
ephemerian has joined #ruby
vyorkin has joined #ruby
<niik00> jhass: Yeah I know that it would absolutely easier with split but I'm trying to learn some new stuffs here. Thanks for your help. It's ok now.
yetanotherdave has joined #ruby
<niik00> jhass: btw I think I'm gonna use another regex to parse all the params :p I'm just like a masochist :D
OffTheRails has quit [Quit: Leaving]
alem0lars has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
<jhass> .split(/, ?/).map{|param| param.split(/ ?: ?/) } # there! two regexes!
aspiers has joined #ruby
<jhass> olitree: note that IRC has a character limit per message, if you're still typing on it...
SouL has quit [Remote host closed the connection]
Xeago has joined #ruby
Pharaoh2 has joined #ruby
<olitree> jhass: what´s the number of limit?
whyy has joined #ruby
<jhass> oh I dunno
arup_r has joined #ruby
<jhass> some clients split automatically into multiple messages
<jhass> some just sent to the server which cuts off
temple3188 has joined #ruby
<jhass> in any case, if your message is getting that long, IRC might not be the right medium, or at least you want to make a gist of it (gist.github.com)
mijicd has joined #ruby
<olitree> I understand. I will put (if possible) all in one line.
<niik00> olitree: if you have to write a lot : put your text in paste and then drop the link
<olitree> ok
gaussblurinc1 has joined #ruby
<jhass> krz: no, the second time @var is still set in Bar's singleton class
<jhass> krz: extending the module again doesn't create a new singleton class for Bar, it changes the existing one
<jhass> krz: the instance variable belongs to the target class, not the module
yetanotherdave has quit [Ping timeout: 264 seconds]
postmodern has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
alexandrite has joined #ruby
<alexandrite> does Socket.puts send \r\n ?
<jhass> krz: meh, "set in the singleton class" is a bit fishy, it's set in the Class instance that is assigned to Bar
<krz> hmm i see jhass thanks for that explanation
<niik00> alexandrite: I think that if you use inspect on the string received you can know it easily
basex has joined #ruby
<jhass> alexandrite: I never checked, but I'd expect it to have the same semantics as Kernel#puts, add \n if there's not one already. Also never checked but I can imagine that on windows it's \r\n instead of \n
<apeiros> alexandrite: if you puts "\r\n" yes. on its own, puts only sends \n
rdark has joined #ruby
Oxelist has joined #ruby
<alexandrite> apeiros: so s.puts "NICK alex\r" would send NICK alex\r\n ?
<gregf_> >> hash = {};"[foo-1 param1 : value1, param2 : value2]".scan(/[^ ]+\s+([^:]+):([^,\]]+)/).each { |x,y| hash[x]=y };p hash
<eval-in__> gregf_ => {"param1 "=>" value1", "param2 "=>" value2"} ... (https://eval.in/172558)
<apeiros> alexandrite: it should. but why don't you just test it? and/or read the docs?
<alexandrite> i'm on windows
<alexandrite> oh
<alexandrite> i'll test it now
_JokerDoom has joined #ruby
<jhass> gregf now for multiple [ ] ;)
<apeiros> ah, on windows it might also depend on how you opened the IO. binary vs. textmode (silly distinction)
timonv_ has joined #ruby
<gregf_> jhas: the same :/
Takle has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
mattstratton has quit [Ping timeout: 264 seconds]
JokerDoom has quit [Ping timeout: 272 seconds]
PanPan_ has joined #ruby
qba73 has quit [Read error: Connection reset by peer]
mattstratton has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
Oxelist has quit []
qba73 has joined #ruby
zigomir has joined #ruby
postmodern has joined #ruby
timonv^ has joined #ruby
PanPan has quit [Read error: Connection reset by peer]
PanPan_ is now known as PanPan
tesuji has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
fumk has quit [Ping timeout: 250 seconds]
emergion has joined #ruby
hmsimha has quit [Ping timeout: 250 seconds]
warprobot has joined #ruby
timonv_ has quit [Ping timeout: 256 seconds]
jamto11 has joined #ruby
warprobot has quit [Client Quit]
marr has quit [Ping timeout: 256 seconds]
fumk has joined #ruby
sevenseacat has quit [Quit: Leaving.]
Xeago has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
tomoyuki28jp has quit [Remote host closed the connection]
<arup_r> I am working in a project. Where I have a directory called json_dir. I want to build a monitor script, which can all the time monitor that dir, after my pc boot up, and invoke the script say a.rb only when there are any json files.. Any idea about this? How to approach ?
marr has joined #ruby
reset has quit [Quit: Leaving...]
sk87 has joined #ruby
<olitree> One question:
<apeiros> arup_r: there is a gem which hooks into the systems' notification service
<apeiros> better than polling
klaut has joined #ruby
<niik00> Well I didn't realized before today that ruby channel is a mine of information
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shidash has quit [Quit: Leaving.]
namdam has joined #ruby
Hanmac has joined #ruby
<arup_r> apeiros: Will God work ?
memph1s has quit [Ping timeout: 256 seconds]
<namdam> I have Sublime Text on my Mac but in my new company i have to work with Linux - what are you using as Ruby IDE on Linux?
<apeiros> god's purpose is process monitoring. not FS monitoring. afaik.
<apeiros> namdam: ST runs on linux too, no?
memph1s has joined #ruby
<namdam> it does - but may ther is sth better? :D
Hanmac1 has quit [Ping timeout: 256 seconds]
mengu has quit [Remote host closed the connection]
<niik00> namdam: ST works fine on Linux usef it for about 2 years without any problem
vsoftoiletpaper has joined #ruby
<arup_r> apeiros: Makes sense.. What is the Gem name you are recommending ?
<niik00> I think he's speaking about this gem : https://github.com/thibaudgg/rb-fsevent
rails426 has quit []
<niik00> It seems to do what you need
tesuji has joined #ruby
<Poky> namdam, there's nothing on linux that is not on mac basically as far as I know. if you actually want ide, then most people probably only use rubymine. for texteditors, st/vim/emacs everything works on linux as well. only thing you're losing is textmate probably.
lkba has quit [Ping timeout: 240 seconds]
<arup_r> apeiros: Thanks
Aaaal has joined #ruby
namdam has left #ruby [#ruby]
Takle has joined #ruby
axsuul has joined #ruby
cgj has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Guest93190 has quit [Ping timeout: 250 seconds]
axsuul has quit [Ping timeout: 264 seconds]
mehlah has joined #ruby
phil has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phil is now known as Guest38133
malditogeek has joined #ruby
lanox has quit [Remote host closed the connection]
ixti has joined #ruby
asdasdasdasss has joined #ruby
lanox has joined #ruby
relajo has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
anarang has joined #ruby
asdasdasdasss has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
reset has joined #ruby
yetanotherdave has joined #ruby
karupa is now known as zz_karupa
Xeago has joined #ruby
reset has quit [Ping timeout: 260 seconds]
cgj has joined #ruby
senayar has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
matti has joined #ruby
Takle has quit [*.net *.split]
_JokerDoom has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
vyorkin has quit [*.net *.split]
mijicd has quit [*.net *.split]
Elhu has quit [*.net *.split]
ephemerian has quit [*.net *.split]
shredding has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
kalusn has quit [*.net *.split]
tvw has quit [*.net *.split]
Morkel has quit [*.net *.split]
drawingthesun has quit [*.net *.split]
devyn has quit [*.net *.split]
naw has quit [*.net *.split]
farn has quit [*.net *.split]
bricker`LA has quit [*.net *.split]
kith has quit [*.net *.split]
riotjones has quit [*.net *.split]
mr-foobar has quit [*.net *.split]
magicien has quit [*.net *.split]
fearoffish has quit [*.net *.split]
tekk has quit [*.net *.split]
elico has quit [*.net *.split]
_Havoc_ has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
Koshian has quit [*.net *.split]
felixjet has quit [*.net *.split]
nevans has quit [*.net *.split]
Nowaker has quit [*.net *.split]
Rylee has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
droptone has quit [*.net *.split]
freggles has quit [*.net *.split]
helpa has quit [*.net *.split]
voodoofish has quit [*.net *.split]
fwaokda has quit [*.net *.split]
anekos_ has quit [*.net *.split]
KWALL has quit [*.net *.split]
SJr has quit [*.net *.split]
ptierno_ has quit [*.net *.split]
shaman42_ has quit [*.net *.split]
felipe has quit [*.net *.split]
iceyec has quit [*.net *.split]
niharvey has quit [*.net *.split]
miah has quit [*.net *.split]
Guest9909 has quit [*.net *.split]
bhaak has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
ra4king has quit [*.net *.split]
GGMethos has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
monsieurp has quit [*.net *.split]
relajo has quit [*.net *.split]
memph1s has quit [*.net *.split]
emergion has quit [*.net *.split]
gaussblurinc1 has quit [*.net *.split]
sigurding has quit [*.net *.split]
dopiee has quit [*.net *.split]
Poky has quit [*.net *.split]
tokik has quit [*.net *.split]
claw_ has quit [*.net *.split]
braincrash has quit [*.net *.split]
yacks has quit [*.net *.split]
xargoon has quit [*.net *.split]
maletor has quit [*.net *.split]
binaryhat has quit [*.net *.split]
wang has quit [*.net *.split]
e4xit has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
tcstar has quit [*.net *.split]
lbwski has quit [*.net *.split]
jpierre03 has quit [*.net *.split]
wiscas has quit [*.net *.split]
gomikemi1e has quit [*.net *.split]
Pulpie has quit [*.net *.split]
Elfix has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
xm has quit [*.net *.split]
clocKwize has quit [*.net *.split]
iaj_ has quit [*.net *.split]
crodas has quit [*.net *.split]
marcel has quit [*.net *.split]
machty has quit [*.net *.split]
Seich has quit [*.net *.split]
oddalot has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
Moonlightning has quit [*.net *.split]
patronus has quit [*.net *.split]
tenseiten has quit [*.net *.split]
joelroa has quit [*.net *.split]
metadave has quit [*.net *.split]
supermat has quit [*.net *.split]
ahuman has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
Fusl has quit [*.net *.split]
spacemud has quit [*.net *.split]
axisys has quit [*.net *.split]
LBRapid has quit [*.net *.split]
skmp has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
pdtpatr11k has quit [*.net *.split]
linduxed has quit [*.net *.split]
froy has quit [*.net *.split]
cyphactor has quit [*.net *.split]
Guest22956 has quit [*.net *.split]
gzl has quit [*.net *.split]
akitada has quit [*.net *.split]
peterhu has quit [*.net *.split]
zenspider has quit [*.net *.split]
clamstar has quit [*.net *.split]
lupine has quit [*.net *.split]
tris has quit [*.net *.split]
rrva has quit [*.net *.split]
raddazong has quit [*.net *.split]
tiagonobre has quit [*.net *.split]
franka_ has quit [*.net *.split]
Takumo has quit [*.net *.split]
todor_ has quit [*.net *.split]
adamholt has quit [*.net *.split]
kevinfagan_ has quit [*.net *.split]
ryanneufeld has quit [*.net *.split]
benzrf|offline has quit [*.net *.split]
tchebb has quit [*.net *.split]
culturelabs__ has quit [*.net *.split]
natewalck has quit [*.net *.split]
antonishen has quit [*.net *.split]
goshdarnyou has quit [*.net *.split]
rmill has quit [*.net *.split]
hoelzro has quit [*.net *.split]
peeja has quit [*.net *.split]
tziOm has quit [*.net *.split]
Riking has quit [*.net *.split]
maZtah has quit [*.net *.split]
jrunning has quit [*.net *.split]
drPoggs has quit [*.net *.split]
mattyohe has quit [*.net *.split]
orionstein_away has quit [*.net *.split]
G has quit [*.net *.split]
tadejm has quit [*.net *.split]
gf3 has quit [*.net *.split]
mozzarella has quit [*.net *.split]
rapha has quit [*.net *.split]
eam has quit [*.net *.split]
dfedde has quit [*.net *.split]
mist has quit [*.net *.split]
mateu has quit [*.net *.split]
blenny has quit [*.net *.split]
bijumon has quit [*.net *.split]
kke has quit [*.net *.split]
postmodern has quit [*.net *.split]
olleromo__ has quit [*.net *.split]
xenogis has quit [*.net *.split]
gimpygoo has quit [*.net *.split]
Klumben has quit [*.net *.split]
ggherdov has quit [*.net *.split]
cnj has quit [*.net *.split]
aetaric has quit [*.net *.split]
RandyT has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
redlegion has quit [*.net *.split]
matchaw has quit [*.net *.split]
lagweezle has quit [*.net *.split]
angorabedsock has quit [*.net *.split]
crudson has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
touzin has quit [*.net *.split]
pygospa has quit [*.net *.split]
frankS2 has quit [*.net *.split]
Akuma has quit [*.net *.split]
Cork has quit [*.net *.split]
vali has quit [*.net *.split]
ozzloy has quit [*.net *.split]
verto has quit [*.net *.split]
nw has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
Scient has quit [*.net *.split]
danshultz has quit [*.net *.split]
chridal has quit [*.net *.split]
mosez has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
blackjid has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
ViperChief has quit [*.net *.split]
callumacrae has quit [*.net *.split]
lng_ has quit [*.net *.split]
Derander_ has quit [*.net *.split]
VooDooNOFX has quit [*.net *.split]
gilesw has quit [*.net *.split]
nisstyre has quit [*.net *.split]
epochwolf has quit [*.net *.split]
Liothen has quit [*.net *.split]
jumblemuddle has quit [*.net *.split]
troter has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
nighter has quit [*.net *.split]
gyre007 has quit [*.net *.split]
Nightmare has quit [*.net *.split]
mroth has quit [*.net *.split]
PhilK has quit [*.net *.split]
LACP has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
intnsity has quit [*.net *.split]
ikanobori has quit [*.net *.split]
cschneid has quit [*.net *.split]
sfr^ has quit [*.net *.split]
mjmac has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
pusewicz has quit [*.net *.split]
bjeanes has quit [*.net *.split]
msch has quit [*.net *.split]
initself_ has quit [*.net *.split]
Kamilion has quit [*.net *.split]
Anarch has quit [*.net *.split]
ryotarai has quit [*.net *.split]
acalewin has quit [*.net *.split]
FL1SK has quit [*.net *.split]
jamo_ has quit [*.net *.split]
gremax has quit [*.net *.split]
bcavileer___ has quit [*.net *.split]
DefV has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
Radar has quit [*.net *.split]
george2 has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
jeregrine has quit [*.net *.split]
hostess has quit [*.net *.split]
rfv has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
paulog has quit [*.net *.split]
lectrick has quit [*.net *.split]
vcoinminer____ has quit [*.net *.split]
charles81____ has quit [*.net *.split]
rickruby__ has quit [*.net *.split]
genta has quit [*.net *.split]
jpinnix has quit [*.net *.split]
glowcoil has quit [*.net *.split]
frode15243 has quit [*.net *.split]
m_3 has quit [*.net *.split]
dandrade has quit [*.net *.split]
Karunamon has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
dmoe______ has quit [*.net *.split]
CJD14___ has quit [*.net *.split]
guilleiguaran__ has quit [*.net *.split]
schaary has quit [*.net *.split]
dioms_ has quit [*.net *.split]
ceej has quit [*.net *.split]
Macacity has quit [*.net *.split]
callenb has quit [*.net *.split]
kenichi has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
Paradox has quit [*.net *.split]
manacit has quit [*.net *.split]
lfox has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
dmarr has quit [*.net *.split]
dyreshark has quit [*.net *.split]
lazyguru has quit [*.net *.split]
xsdg has quit [*.net *.split]
juni0r has quit [*.net *.split]
Aaaal has quit [*.net *.split]
Hanmac has quit [*.net *.split]
workmad3 has quit [*.net *.split]
alex88 has quit [*.net *.split]
whyy has quit [*.net *.split]
roolo has quit [*.net *.split]
dumdedum has quit [*.net *.split]
apeiros has quit [*.net *.split]
_tpavel has quit [*.net *.split]
luckyruby has quit [*.net *.split]
buub_ has quit [*.net *.split]
techsethi has quit [*.net *.split]
kyb3r_ has quit [*.net *.split]
GriffinHeart has quit [*.net *.split]
Matix has quit [*.net *.split]
jenskarlsen has quit [*.net *.split]
camt has quit [*.net *.split]
ValicekB has quit [*.net *.split]
gigetoo has quit [*.net *.split]
minecoins has quit [*.net *.split]
existensil has quit [*.net *.split]
Vivekananda_y510 has quit [*.net *.split]
oz has quit [*.net *.split]
chaos___________ has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
Xiti has quit [*.net *.split]
armyriad has quit [*.net *.split]
blackgoat has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
Kabaka has quit [*.net *.split]
tiguser has quit [*.net *.split]
larsam has quit [*.net *.split]
udoprog1 has quit [*.net *.split]
SloggerKhan has quit [*.net *.split]
donnoc_ has quit [*.net *.split]
Xuerian has quit [*.net *.split]
shanlar has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
machete has quit [*.net *.split]
wlanboy has quit [*.net *.split]
b1nd has quit [*.net *.split]
nomadic has quit [*.net *.split]
terlar has quit [*.net *.split]
zarul has quit [*.net *.split]
sarlalian has quit [*.net *.split]
moshee has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
thoolihan has quit [*.net *.split]
jwang has quit [*.net *.split]
Nilium has quit [*.net *.split]
sfiggins has quit [*.net *.split]
AntelopeSalad has quit [*.net *.split]
yasu has quit [*.net *.split]
Jelco_ has quit [*.net *.split]
jameyd has quit [*.net *.split]
zaargy has quit [*.net *.split]
dayepa has quit [*.net *.split]
musl_ has quit [*.net *.split]
DanKnox has quit [*.net *.split]
seanmarcia has quit [*.net *.split]
bier has quit [*.net *.split]
marahin has quit [*.net *.split]
kaihara has quit [*.net *.split]
daed has quit [*.net *.split]
Hamled has quit [*.net *.split]
ReBoRN- has quit [*.net *.split]
Drakevr has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
davidcelis has quit [*.net *.split]
Mongey has quit [*.net *.split]
quantsini_ has quit [*.net *.split]
micah` has quit [*.net *.split]
saltsa has quit [*.net *.split]
n88 has quit [*.net *.split]
kloeri has quit [*.net *.split]
wwalker_ has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
eval-in__ has quit [*.net *.split]
Port3M5[Work] has quit [*.net *.split]
shtirlic has quit [*.net *.split]
bluntman has quit [*.net *.split]
willgorman_ has quit [*.net *.split]
Kruppe has quit [*.net *.split]
jayne has quit [*.net *.split]
paul_k has quit [*.net *.split]
ccooke has quit [*.net *.split]
grug has quit [*.net *.split]
hfp has quit [*.net *.split]
Jamo has quit [*.net *.split]
_izz has quit [*.net *.split]
RichiH has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
FifthWall has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
sindork has quit [*.net *.split]
philtr_ has quit [*.net *.split]
nug has quit [*.net *.split]
TTilus has quit [*.net *.split]
Roa has quit [*.net *.split]
JarJarBinks has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
skinny_much has quit [*.net *.split]
fumduq has quit [*.net *.split]
justinmcp has quit [*.net *.split]
cid404 has quit [*.net *.split]
freannrak has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
Tarential has quit [*.net *.split]
bstrie has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
rs0 has quit [*.net *.split]
mahlon has quit [*.net *.split]
rcs has quit [*.net *.split]
bmn has quit [*.net *.split]
chihhsin_wego has quit [*.net *.split]
cwc has quit [*.net *.split]
shaquile has quit [*.net *.split]
xiphias has quit [*.net *.split]
<olivier_bK> hy
unshadow has joined #ruby
malditogeek has quit [Quit: Leaving.]
ghr has quit []
tacos1de has quit [Remote host closed the connection]
ghr has joined #ruby
lanox has quit []
tacos1de has joined #ruby
lupine has joined #ruby
Elhu has joined #ruby
bhaak has joined #ruby
niharvey has joined #ruby
shredding has joined #ruby
riotjones has joined #ruby
_Havoc_ has joined #ruby
Rylee has joined #ruby
mikecmpbll has joined #ruby
magicien has joined #ruby
kiki_lamb has joined #ruby
devyn has joined #ruby
_JokerDoom has joined #ruby
freggles has joined #ruby
ptierno_ has joined #ruby
samuelkadolph has joined #ruby
Guest9909 has joined #ruby
iceyec has joined #ruby
helpa has joined #ruby
naw has joined #ruby
mr-foobar has joined #ruby
shaman42_ has joined #ruby
Morkel has joined #ruby
miah has joined #ruby
Takle has joined #ruby
nemesit|znc has joined #ruby
vyorkin has joined #ruby
felipe has joined #ruby
farn has joined #ruby
KWALL has joined #ruby
kith has joined #ruby
mjuszczak has joined #ruby
fwaokda has joined #ruby
anekos_ has joined #ruby
SJr has joined #ruby
Koshian has joined #ruby
mijicd has joined #ruby
fearoffish has joined #ruby
droptone has joined #ruby
tvw has joined #ruby
tekk has joined #ruby
bricker`LA has joined #ruby
ephemerian has joined #ruby
kalusn has joined #ruby
kaspergrubbe has joined #ruby
voodoofish has joined #ruby
nevans has joined #ruby
elico has joined #ruby
drawingthesun has joined #ruby
felixjet has joined #ruby
Nowaker has joined #ruby
monsieurp has joined #ruby
ra4king has joined #ruby
GGMethos has joined #ruby
<olitree> Any one talks Portuguese
<shevy> I speak python
Rylee has quit [Max SendQ exceeded]
malditogeek has joined #ruby
<shevy> PortuPython
<shevy> zZShshshh bem shshShshs
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
Rylee has joined #ruby
<shevy> Zshshs va' shshsh se shshZZahahahhsss foder
sigurding has joined #ruby
gaussblurinc1 has joined #ruby
Poky has joined #ruby
braincrash has joined #ruby
wang has joined #ruby
tokik has joined #ruby
claw_ has joined #ruby
Pulpie has joined #ruby
emergion has joined #ruby
maletor has joined #ruby
memph1s has joined #ruby
binaryhat has joined #ruby
tcstar has joined #ruby
e4xit has joined #ruby
yacks has joined #ruby
relajo has joined #ruby
xargoon has joined #ruby
Mon_Ouie has joined #ruby
dopiee has joined #ruby
Moonlightning has joined #ruby
wiscas has joined #ruby
gomikemi1e has joined #ruby
marcel has joined #ruby
jpierre03 has joined #ruby
Elfix has joined #ruby
lbwski has joined #ruby
RoryHughes has joined #ruby
iaj_ has joined #ruby
clocKwize has joined #ruby
crodas has joined #ruby
rapha has joined #ruby
xm has joined #ruby
oddalot has joined #ruby
Seich has joined #ruby
FaresKAlaboud has joined #ruby
machty has joined #ruby
tenseiten has joined #ruby
patronus has joined #ruby
metadave has joined #ruby
joelroa has joined #ruby
supermat has joined #ruby
ahuman has joined #ruby
Killerkeksdose has joined #ruby
Fusl has joined #ruby
rrva has joined #ruby
axisys has joined #ruby
spacemud has joined #ruby
LBRapid has joined #ruby
skmp has joined #ruby
pdtpatr11k has joined #ruby
ramblinpeck has joined #ruby
linduxed has joined #ruby
cyphactor has joined #ruby
froy has joined #ruby
gzl has joined #ruby
Guest22956 has joined #ruby
akitada has joined #ruby
peterhu has joined #ruby
zenspider has joined #ruby
raddazong has joined #ruby
clamstar has joined #ruby
tris has joined #ruby
franka_ has joined #ruby
tiagonobre has joined #ruby
Takumo has joined #ruby
adamholt has joined #ruby
ryanneufeld has joined #ruby
kevinfagan_ has joined #ruby
tchebb has joined #ruby
benzrf|offline has joined #ruby
todor_ has joined #ruby
culturelabs__ has joined #ruby
natewalck has joined #ruby
goshdarnyou has joined #ruby
rmill has joined #ruby
antonishen has joined #ruby
hoelzro has joined #ruby
tziOm has joined #ruby
peeja has joined #ruby
Riking has joined #ruby
G has joined #ruby
gf3 has joined #ruby
drPoggs has joined #ruby
tadejm has joined #ruby
mattyohe has joined #ruby
maZtah has joined #ruby
jrunning has joined #ruby
orionstein_away has joined #ruby
mozzarella has joined #ruby
dfedde has joined #ruby
mist has joined #ruby
eam has joined #ruby
mateu has joined #ruby
blenny has joined #ruby
kke has joined #ruby
bijumon has joined #ruby
olleromo__ has joined #ruby
workmad3 has joined #ruby
gigetoo has joined #ruby
<shevy> well, pure python is more fun
Olipro has quit [Max SendQ exceeded]
postmodern has joined #ruby
cnj has joined #ruby
ggherdov has joined #ruby
Klumben has joined #ruby
xenogis has joined #ruby
RandyT has joined #ruby
gimpygoo has joined #ruby
aetaric has joined #ruby
redlegion has joined #ruby
crudson has joined #ruby
lagweezle has joined #ruby
ViperChief has joined #ruby
nw has joined #ruby
ponyfleisch has joined #ruby
lng_ has joined #ruby
Cork has joined #ruby
matchaw has joined #ruby
Scient has joined #ruby
mosez has joined #ruby
touzin has joined #ruby
gilesw has joined #ruby
callumacrae has joined #ruby
Liothen has joined #ruby
Akuma has joined #ruby
pgmcgee has joined #ruby
KnownSyntax has joined #ruby
VooDooNOFX has joined #ruby
epochwolf has joined #ruby
mroth has joined #ruby
troter has joined #ruby
zz_jrhorn424 has joined #ruby
chridal has joined #ruby
angorabedsock has joined #ruby
PhilK has joined #ruby
mjmac has joined #ruby
pygospa has joined #ruby
Y_Ichiro has joined #ruby
LACP has joined #ruby
blackjid has joined #ruby
verto has joined #ruby
nisstyre has joined #ruby
gyre007 has joined #ruby
ikanobori has joined #ruby
Nightmare has joined #ruby
bjeanes has joined #ruby
frankS2 has joined #ruby
Derander_ has joined #ruby
danshultz has joined #ruby
jumblemuddle has joined #ruby
sfr^ has joined #ruby
Anarch has joined #ruby
ozzloy has joined #ruby
acalewin has joined #ruby
ballPointPenguin has joined #ruby
pusewicz has joined #ruby
initself_ has joined #ruby
george2 has joined #ruby
msch has joined #ruby
DefV has joined #ruby
gremax has joined #ruby
vali has joined #ruby
jamo_ has joined #ruby
intnsity has joined #ruby
nighter has joined #ruby
hostess has joined #ruby
vcoinminer____ has joined #ruby
lectrick has joined #ruby
bcavileer___ has joined #ruby
paulog has joined #ruby
rickruby__ has joined #ruby
rfv has joined #ruby
amitchellbullard has joined #ruby
Kamilion has joined #ruby
dmoe______ has joined #ruby
dandrade has joined #ruby
frode15243 has joined #ruby
schaary has joined #ruby
Karunamon has joined #ruby
ceej has joined #ruby
m_3 has joined #ruby
Radar has joined #ruby
ryotarai has joined #ruby
jpinnix has joined #ruby
cschneid has joined #ruby
Wayneoween has joined #ruby
xsdg has joined #ruby
CJD14___ has joined #ruby
C0deMaver1ck has joined #ruby
JaTochNietDan has joined #ruby
Macacity has joined #ruby
dmarr has joined #ruby
manacit has joined #ruby
artgoeshere has joined #ruby
dioms_ has joined #ruby
Paradox has joined #ruby
glowcoil has joined #ruby
SegFaultAX has joined #ruby
ELLIOTTCABLE has joined #ruby
guilleiguaran__ has joined #ruby
DarkFoxDK has joined #ruby
andrewstewart has joined #ruby
yosafbridge has joined #ruby
callenb has joined #ruby
lazyguru has joined #ruby
charles81____ has joined #ruby
genta has joined #ruby
kenichi has joined #ruby
lfox has joined #ruby
jeregrine has joined #ruby
Takle has quit [Remote host closed the connection]
dyreshark has joined #ruby
juni0r has joined #ruby
FL1SK has joined #ruby
cnj has quit [Max SendQ exceeded]
xenogis has quit [Max SendQ exceeded]
claymore has quit [Quit: Leaving]
mios has quit [Quit: Textual IRC Client: www.textualapp.com]
wwalker_ has joined #ruby
AntelopeSalad has joined #ruby
Jelco_ has joined #ruby
yasu has joined #ruby
sfiggins has joined #ruby
jameyd has joined #ruby
zaargy has joined #ruby
dayepa has joined #ruby
musl_ has joined #ruby
RichiH has joined #ruby
DanKnox has joined #ruby
bier has joined #ruby
seanmarcia has joined #ruby
marahin has joined #ruby
okinomo_ has joined #ruby
Drakevr has joined #ruby
saltsa has joined #ruby
mhenrixon has joined #ruby
n88 has joined #ruby
willgorman_ has joined #ruby
shtirlic has joined #ruby
eval-in__ has joined #ruby
ReBoRN- has joined #ruby
grug has joined #ruby
Port3M5[Work] has joined #ruby
davidcelis has joined #ruby
Kruppe has joined #ruby
ccooke has joined #ruby
kloeri has joined #ruby
daed has joined #ruby
skinny_much has joined #ruby
_izz has joined #ruby
cid404 has joined #ruby
Hamled has joined #ruby
Gnubie_ has joined #ruby
SecretAgent has joined #ruby
bluntman has joined #ruby
fumduq has joined #ruby
jayne has joined #ruby
quantsini_ has joined #ruby
freannrak has joined #ruby
hfp has joined #ruby
sn0wb1rd has joined #ruby
FifthWall has joined #ruby
justinmcp has joined #ruby
philtr_ has joined #ruby
nug has joined #ruby
TTilus has joined #ruby
chihhsin_wego has joined #ruby
shaquile has joined #ruby
cwc has joined #ruby
Jamo has joined #ruby
rcs has joined #ruby
Roa has joined #ruby
JarJarBinks has joined #ruby
mahlon has joined #ruby
Sou|cutter has joined #ruby
GeekOnCoffee has joined #ruby
bstrie has joined #ruby
xiphias has joined #ruby
micah` has joined #ruby
rs0 has joined #ruby
dhruvasagar has joined #ruby
kaihara has joined #ruby
Mongey has joined #ruby
paul_k has joined #ruby
bmn has joined #ruby
sindork has joined #ruby
Tarential has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
cnj has joined #ruby
agjacome_ has joined #ruby
zenojis has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
michael_mbp has quit [Excess Flood]
agjacome has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
michael_mbp has joined #ruby
touzin has quit [Quit: -a- Connection Timed Out]
bruno- has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
camt has joined #ruby
luckyruby has joined #ruby
techsethi has joined #ruby
Aaaal has joined #ruby
dumdedum has joined #ruby
roolo has joined #ruby
GriffinHeart has joined #ruby
armyriad has joined #ruby
Nilium has joined #ruby
jonathanwallace has joined #ruby
moshee has joined #ruby
SloggerKhan has joined #ruby
Xiti has joined #ruby
minecoins has joined #ruby
wlanboy has joined #ruby
AlexRussia has joined #ruby
alex88 has joined #ruby
jwang has joined #ruby
shanlar has joined #ruby
oz has joined #ruby
zarul has joined #ruby
thoolihan has joined #ruby
tiguser has joined #ruby
jenskarlsen has joined #ruby
b1nd has joined #ruby
Kabaka has joined #ruby
ValicekB has joined #ruby
apeiros has joined #ruby
kyb3r_ has joined #ruby
Hanmac has joined #ruby
existensil has joined #ruby
chaos___________ has joined #ruby
machete has joined #ruby
terlar has joined #ruby
udoprog1 has joined #ruby
blackgoat has joined #ruby
cephalostrum has joined #ruby
sarlalian has joined #ruby
larsam has joined #ruby
Xuerian has joined #ruby
donnoc_ has joined #ruby
Matix has joined #ruby
nomadic has joined #ruby
Vivekananda_y510 has joined #ruby
Dr3amc0d3r|away has joined #ruby
_tpavel has joined #ruby
whyy has joined #ruby
ValicekB has quit [Max SendQ exceeded]
kyb3r_ has quit [Read error: Connection reset by peer]
buub_ has joined #ruby
maximski has joined #ruby
dodofxp has joined #ruby
touzin has joined #ruby
Olipro has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
reset has joined #ruby
Pharaoh2 has joined #ruby
senayar has joined #ruby
malditogeek has quit [Quit: Leaving.]
MissionCritical has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
ValicekB has joined #ruby
reset has quit [Read error: Connection reset by peer]
malditogeek has joined #ruby
_reset has joined #ruby
Logiztik has joined #ruby
Logiztik has left #ruby [#ruby]
towbes has quit [Ping timeout: 260 seconds]
anaeem1 has quit [Remote host closed the connection]
axsuul has joined #ruby
oo_ has joined #ruby
fabrice31 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
_reset has quit [Ping timeout: 260 seconds]
casheew_ has joined #ruby
hamakn has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
axsuul has quit [Ping timeout: 272 seconds]
casheew has joined #ruby
bayed has joined #ruby
alem0lars has quit [Quit: Going AFK...]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
timfoo has joined #ruby
<arup_r> Is there any difference between undef keyword and undef_method in Ruby ?
phinfonet has joined #ruby
asdasdasdasss has joined #ruby
relajo has quit [Ping timeout: 272 seconds]
hgl has quit [Ping timeout: 240 seconds]
relajo has joined #ruby
senayar has quit [Read error: Connection reset by peer]
<guinsly> I'm trying to retrieve a content from another class. But it outputs nil :: https://gist.github.com/guinslym/06bb6bc108c9331e1ff0
asdasdasdasss has quit [Ping timeout: 250 seconds]
eka has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<jhass> guinsly: is that your real code? or an example that reproduces? because class foo is invalid
danijoo has joined #ruby
<jhass> also note that the @firstname outside a def is a different @firstname
<jhass> guinsly: ^
<shevy> I never needed undef, I did need undef_method (or actually... remove_method it was...)
<guinsly> jhass, this the realcode except class foo is name LoadFile
<jhass> why did you change it?
<jhass> but your issue is probably what I just said
<apeiros> weird indent. tabs mixed with spaces? o0
hgl has joined #ruby
<guinsly> jhass, ok thks!
<jhass> apeiros: probably editor set to tabs and sometimes manually indented with spaces, would happen to me all the time too if I didn't set softtabs
<shevy> apeiros I had that when I used tabs myself!
<shevy> I kept on wanting to indent comments via spaces
<shevy> to align nice cool fancy ascii art
<shevy> # ===========
<shevy> # cool dragon pic here
<shevy> # ===========
<shevy> since then I eliminated tabs
francisfish has joined #ruby
senayar has joined #ruby
timonv^ has quit [Remote host closed the connection]
tacos1de has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
<arup_r> shevy: I didn't find any diff.. Is there any ? By mistake I used it... suddenly found it is undef.. So quick reading doesn't reveal any diff between them.. So I asked.
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
<inukshuk> arup_r: there is a sublte differene
<arup_r> I also use undef_method..but by mistake I used undef and discover it...
Pharaoh2 has joined #ruby
compAz has quit [Remote host closed the connection]
tacos1de has joined #ruby
<arup_r> What? one is keyword and another is method.. Is this or functionality wise ?
<shevy> arup_r not sure, I actually never used undef
<inukshuk> arup_r: with undef you need to use an identifier, iirc, with undef_method (and remove_method) you can pass in a computed symbol/string
yetanotherdave has joined #ruby
Arkaniad has quit [Ping timeout: 240 seconds]
<inukshuk> arup_r: this is a consequence of undef being a keyword obviously
<shevy> arup_r you will find it easier to manipulate methods, and quite impossible to manipulate keywords
<inukshuk> arup_r: also note that when using remove_method you can still inherit the method from somewhere else
maximski has quit []
anaeem1 has joined #ruby
alexandrite has quit [Quit: Leaving]
<inukshuk> shevy: true
anaeem1__ has joined #ruby
<shevy> inukshuk did you have to use undef yourself so far?
theharshest has joined #ruby
<shevy> I have a funny use of remove_method
<shevy> sinatra/hello_world.rb:HtmlTags.class_eval { remove_method(:body) }
nfk has joined #ruby
<shevy> because sinatra in top level scope also defines a method called body()
theharshest has quit [Client Quit]
yacks has quit [Read error: Connection reset by peer]
<shevy> so if I then pull in the method body() from HtmlTags module, sinatra acts all crazy
<shevy> too me quite a while to find out why sinatra behaves oddly too
<inukshuk> I think between undef_method and undef it is really a toss-up (undef is probably faster but that's silly of course) and undef_method is definitely more flexible. I think I've used undef_method during debugging... but otherwise only remove_method
jhass is now known as jhass|off
Trudko has joined #ruby
<Trudko> just found out that Martin Fowler is Rubyist,
anaeem1 has quit [Ping timeout: 250 seconds]
Joulse has quit [Quit: Joulse]
<inukshuk> shevy: I've used remove_method when there were name like this and when I wanted to override a method (to suppress warnings)
<inukshuk> *name clashes I mean
niik00 has left #ruby [#ruby]
<shevy> yeah
<shevy> quite odd sometimes, how ruby features that might seem useful at first glance, don't seem that important
jhass|off is now known as jhass
hgl has quit [Ping timeout: 240 seconds]
<inukshuk> I guess undef_method is useful if you want to mix-in or inherit a method but do not want to use it and also make sure no one else can use it through your object.
yetanotherdave has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
<shevy> "With this hack, we can know the real memory address of them and cooperate with other native tools."
reset has joined #ruby
unshadow has quit [Quit: leaving]
kayloos has joined #ruby
MrSamuel has joined #ruby
maximski has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
maximski has quit [Max SendQ exceeded]
tesuji has quit [Read error: Connection reset by peer]
<apeiros> shevy: I'm surprised koichi would make such a suggestion
kalusn has quit [Read error: Connection reset by peer]
compAz has joined #ruby
kalusn has joined #ruby
maximski has joined #ruby
<apeiros> sounds like a dangerous low level coupling.
<shevy> it's the japanese otaku hacking spirit!
<shevy> anime in the machine
<shevy> or wait... that was ghost in the machine
<shevy> well, something is in the japanese machines for sure
<inukshuk> wonder what the jruby guys think of this? : )
<apeiros> octopi in the shell
kayloos has quit [Ping timeout: 240 seconds]
basex has quit [Quit: basex]
<apeiros> inukshuk: they'll happily expose a null-pointer :D
reset has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
tokik has quit [Ping timeout: 272 seconds]
<inukshuk> ha ha, I guess that is an apt statement
<apeiros> now I'm curious whether there's an octopus emoticon
maximski has quit [Client Quit]
jamto11 has joined #ruby
basex has joined #ruby
<apeiros> aaahaha, there is:
<shevy> apt-get statements?
<shevy> there is the walrus operator
basex has quit [Client Quit]
<shevy> havenwood taught me about it
xmj has joined #ruby
<xmj> moin
Hanmac has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
<xmj> How do I make gem install a specific version (actionview 4.1.1, that is) ?
<shevy> <havenwood> := is the walrus operator, and the supermarine walrus is a biplane which accounts for the || wings
basex has joined #ruby
<shevy> xmj: gem install facets --version=1.8.54
phoo1234567 has joined #ruby
<shevy> xmj: gem install actionview --version=4.1.1
<shevy> I think
Hanmac has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
jamto11 has quit [Ping timeout: 272 seconds]
febuiles_ has joined #ruby
sk87 has joined #ruby
<apeiros> shevy: do you know the cthulu operator?
<xmj> thx
alem0lars has joined #ruby
Takle has joined #ruby
febuiles has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
<shevy> apeiros hmm no
bmurt has quit [Client Quit]
dodofxp has quit [Ping timeout: 240 seconds]
<shevy> they are so crazy and often weird, but those game shops are damn creative
<shevy> erm
<shevy> *game shows
<shevy> not shops ...
ndrei has quit [Ping timeout: 240 seconds]
luckyruby has quit [Remote host closed the connection]
<shevy> or the old takeshi's castle
bmurt has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
lanox has joined #ruby
bmurt has quit [Client Quit]
dodofxp has joined #ruby
Joulse has joined #ruby
mijicd has quit [Quit: leaving]
MCDev has quit [Ping timeout: 250 seconds]
senayar has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
Elhu has quit [Client Quit]
sdouglas has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
senayar has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
maximski has joined #ruby
Deele has joined #ruby
compAz has quit [Remote host closed the connection]
Elhu has joined #ruby
hamakn has joined #ruby
Takle has quit [Remote host closed the connection]
dodofxp has quit [Ping timeout: 264 seconds]
sinfex has joined #ruby
asdasdasdasss has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
timonv_ has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
Primordus has joined #ruby
mary5030 has joined #ruby
asdasdasdasss has quit [Ping timeout: 260 seconds]
arya_ has quit [Ping timeout: 240 seconds]
compAz has joined #ruby
qba73 has quit []
mconnolly has joined #ruby
tesuji has joined #ruby
nateberkopec has joined #ruby
timonv_ has quit [Ping timeout: 240 seconds]
techsethi has quit [Ping timeout: 264 seconds]
techsethi has joined #ruby
bruno- has joined #ruby
dodofxp has joined #ruby
timonv_ has joined #ruby
pontiki has joined #ruby
foo-bar- has joined #ruby
basex has left #ruby [#ruby]
yfeldblum has joined #ruby
yetanotherdave has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
foo-bar- has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
_maes_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
foo-bar- has joined #ruby
Aaaal has quit [Quit: Aaaal]
oo_ has quit [Remote host closed the connection]
jespada has joined #ruby
benzrf|offline is now known as benzrf
reset has joined #ruby
Takle has joined #ruby
yetanotherdave has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
alem0lars has quit [Quit: Going AFK...]
reset has quit [Ping timeout: 250 seconds]
<mikecmpbll> >> [1,2,3,4,5,6,7,8].sort_by{|i| i.even? ? 1 : 0}
<eval-in__> mikecmpbll => [1, 7, 3, 5, 4, 6, 2, 8] (https://eval.in/172602)
mengu has quit [Remote host closed the connection]
<mikecmpbll> is there a way to do that but maintain the numerical ordering from before?
<mikecmpbll> i would expect to get [1,3,5,7,2,4,6,8]
<mikecmpbll> odds first, then evens, but those two groups in the same order they appeared in the original array.
<mikecmpbll> >> [1,2,3,4,5,6,7,8].sort_by{|i| i%2}
<eval-in__> mikecmpbll => [8, 2, 6, 4, 5, 3, 7, 1] (https://eval.in/172603)
benzrf is now known as benzrf|offline
<DefV> >> (1..10).sort_by {|i| i.even? ? i : i * -1 }
<eval-in__> DefV => [9, 7, 5, 3, 1, 2, 4, 6, 8, 10] (https://eval.in/172604)
<DefV> hm :-)
mattstratton has joined #ruby
<mikecmpbll> this isn't specificly to do with this example, i just need to maintain the original order, when sorting
<mikecmpbll> sounds like a contradiction in terms, hence the simplified example.
alem0lars has joined #ruby
shredding has quit [Quit: shredding]
<mikecmpbll> must be due to the sorting algorithm used that they get jumbled up.
dodofxp has quit [Ping timeout: 250 seconds]
lkba has joined #ruby
britneywright has joined #ruby
<nobodyzzz> >> [1,2,3,4,5,6,7,8].group_by { |i| i.even? }.values.flatten
<eval-in__> nobodyzzz => [1, 3, 5, 7, 2, 4, 6, 8] (https://eval.in/172606)
<mikecmpbll> >> [1,2,3,4,5,6,7,8].partition(&:even?).flatten
<eval-in__> mikecmpbll => [2, 4, 6, 8, 1, 3, 5, 7] (https://eval.in/172607)
chipotle has joined #ruby
<mikecmpbll> haha, i literally got there seconds after.
<mikecmpbll> slightly different, same concept though
yekta has joined #ruby
<mikecmpbll> thanks!
frankle has joined #ruby
<nobodyzzz> >> [1,2,3,4,5,6,7,8].partition(&:odd?).flatten
<eval-in__> nobodyzzz => [1, 3, 5, 7, 2, 4, 6, 8] (https://eval.in/172611)
<nobodyzzz> :)
<mikecmpbll> :)
dodofxp has joined #ruby
dodofxp has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
Vivekananda_y510 has quit [Read error: Connection reset by peer]
Vivekananda_y510 has joined #ruby
maximski has quit []
jonahR has joined #ruby
lanox has quit []
jerius has joined #ruby
arup_r has quit [Remote host closed the connection]
axsuul has joined #ruby
jerius has quit []
Aaaal has joined #ruby
sptx00 has quit [Quit: Ex-Chat]
phutchins has joined #ruby
axsuul has quit [Ping timeout: 256 seconds]
nateberkopec has quit [Quit: Leaving...]
postmodern has quit [Quit: Leaving]
pasties has quit [Read error: Connection reset by peer]
braxtonplaxco has joined #ruby
IceyEC_ has joined #ruby
pasties has joined #ruby
diegoviola has joined #ruby
maximski has joined #ruby
IceyEC_ has quit [Client Quit]
GriffinHeart has quit [Remote host closed the connection]
malditogeek has quit [Quit: Leaving.]
treehug88 has joined #ruby
billy_ran_away has joined #ruby
mengu has joined #ruby
krz has quit [Read error: Connection reset by peer]
asdasdasdasss has joined #ruby
reuven has joined #ruby
diegovio1 has joined #ruby
nateberkopec has joined #ruby
vt102 has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
alexa_ has joined #ruby
arup_r has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
phutchins has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 250 seconds]
shredding has joined #ruby
reuven` has joined #ruby
reuven` has left #ruby [#ruby]
reuven has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
dblessing has joined #ruby
starkhalo has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
malditogeek has joined #ruby
qwyeth has quit [Remote host closed the connection]
paulfm has joined #ruby
thisirs has joined #ruby
dumdedum has quit [Remote host closed the connection]
vsoftoiletpaper is now known as JackBauer
maximski has quit []
tkuchiki_ has joined #ruby
diegovio1 is now known as diegoviola
dumdedum has joined #ruby
washtubs has joined #ruby
Morkel has quit [Quit: Morkel]
JackBauer is now known as vsoftoiletpaper
nateberkopec has quit [Quit: Leaving...]
bmurt has joined #ruby
Takle has quit [Remote host closed the connection]
SouL has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
claymore has joined #ruby
tkuchiki_ has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
Takle has joined #ruby
caboose_m_j has joined #ruby
Primordus has quit [Quit: WeeChat 0.4.3]
yetanotherdave has joined #ruby
DivineEntity has quit [Quit: leaving]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
kayloos has joined #ruby
reset has joined #ruby
SCommette has joined #ruby
pu22l3r has joined #ruby
lw has joined #ruby
relajo has quit [Ping timeout: 240 seconds]
treehug88 has quit [Ping timeout: 272 seconds]
kayloos has quit [Ping timeout: 240 seconds]
techsethi has quit [Quit: techsethi]
jamto11 has joined #ruby
Takle has quit [Remote host closed the connection]
reset has quit [Ping timeout: 256 seconds]
yetanotherdave has quit [Ping timeout: 272 seconds]
<arup_r> Is this the correct way to handle collisions with Nokogiri::XML::Node#name while using ::Slope ? https://gist.github.com/aruprakshit/d935c8bb890ab8c94e6b
qwyeth has joined #ruby
spastorino has joined #ruby
tkuchiki has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
yagooar has joined #ruby
jamto11 has quit [Ping timeout: 250 seconds]
luckyruby has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
lw has quit [Quit: s]
Vivekananda_y510 has quit [Ping timeout: 264 seconds]
Ankhers has joined #ruby
djcp has joined #ruby
Elhu has joined #ruby
vsoftoiletpaper has quit []
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nerdy has quit [Quit: Computer has gone to sleep.]
axsuul has joined #ruby
Zenigor has joined #ruby
edwardly has quit [Quit: Leaving]
bdc has joined #ruby
axsuul has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
bdc is now known as bclune
sailias has joined #ruby
robbyoconnor has joined #ruby
bclune has left #ruby [#ruby]
doodlehaus has joined #ruby
Gonzih has joined #ruby
ffranz has joined #ruby
<DefV> so
billy_ran_away has quit [Ping timeout: 245 seconds]
<DefV> turns out you're all a bunch of newbie-hating assholes when I'm not looking
<DefV> shame on you all
<jhass> arup_r: isn't the name's value also accessible via #[] ?
phutchins has joined #ruby
<arup_r> I am using ::Slope.. where things are handled by method_missing..
<arup_r> But Node#name and Module::name will be the wall there..
<arup_r> Thus I though lets remove it for this scope..
guinsly has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
<arup_r> jhass But not sure... if it is the right way to do this or not ?
<jhass> doesn't feels like
<arup_r> so I asked you guys..
<arup_r> Humm jhass
<jhass> looks like the normal ::Node methods are still available
SCommette has quit [Quit: SCommette]
<jhass> doc.lesson.css('name').text
<jhass> I'd go with that
<jhass> maybe at instead of #css
<arup_r> Humm.. That is the way of secure to go... It seems #search, #xpath and #css..
<arup_r> But why my code is smell ? asking for knowledge ...
yagooar has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
yagooar has joined #ruby
<jhass> meh, not sure I can come up with good arguments. It just doesn't feel right and looks very ugly
<jhass> and requires 4 lines instead of 1 ...
yfeldblum has joined #ruby
anarang has quit [Quit: Leaving]
<arup_r> hahaha.. :-)
<arup_r> I do bad..so that I can learn good
<jhass> the "trying to be smart" density is just too high, method chaining onto do end, using return value of a block, class, send
mark_locklear has joined #ruby
<jhass> and then there's that simple alternative
compAz has quit [Remote host closed the connection]
<jhass> it just doesn't feel right ;)
Benny1992 has joined #ruby
<jhass> certainly a "wtf, go away" if I'd encounter that in production code ;)
sigurding has quit [Quit: sigurding]
<arup_r> jhass: I agree. :-)
asdasdasdasss has quit [Ping timeout: 240 seconds]
mattmcclure has joined #ruby
jackneill has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
kaspergrubbe has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
kaspergrubbe has joined #ruby
jackneill has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
pu22l3r has quit [Remote host closed the connection]
pu22l3r has joined #ruby
NinoScript has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby
iamjarvo has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
jespada has quit [Remote host closed the connection]
bal has quit [Ping timeout: 264 seconds]
jespada has joined #ruby
momomomomo has quit [Client Quit]
gigetoo has quit [Remote host closed the connection]
larissa has joined #ruby
bal has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
kloeri has quit [Remote host closed the connection]
Matix has quit [Ping timeout: 264 seconds]
gigetoo has joined #ruby
momomomomo has joined #ruby
kloeri has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
jshultz has joined #ruby
alexju has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
jobewan has joined #ruby
lw has joined #ruby
acrussell has joined #ruby
orionstein_away is now known as orionstein
jamto11 has joined #ruby
codabrink has joined #ruby
kaleido has joined #ruby
kaleido has quit [Changing host]
kaleido has joined #ruby
pipework has joined #ruby
pipework has quit [Changing host]
pipework has joined #ruby
mikesplain has joined #ruby
r0bby has joined #ruby
mengu has quit [Remote host closed the connection]
mikespla_ has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
goshdarnyou has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
r0bby is now known as robbyoconnor
jmbrown412 has quit [Remote host closed the connection]
mikespla_ has quit [Read error: Connection reset by peer]
jmbrown412 has joined #ruby
reset has joined #ruby
yacks has joined #ruby
mikesplain has joined #ruby
ascarter has joined #ruby
yetanotherdave has joined #ruby
Ankhers has quit [Remote host closed the connection]
elikem has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CodeLicker has quit [Ping timeout: 260 seconds]
kevind has joined #ruby
sinfex has left #ruby [#ruby]
jmbrown412 has quit [Ping timeout: 260 seconds]
reset has quit [Ping timeout: 240 seconds]
emergion has quit [Quit: Connection closed for inactivity]
robbyoconnor has quit [Ping timeout: 240 seconds]
Ankhers has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
obscured has joined #ruby
iamjarvo has joined #ruby
mikesplain has joined #ruby
arup_r has quit [Remote host closed the connection]
jamto11 has quit []
tvw has quit []
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
bclune has joined #ruby
NinoScript has joined #ruby
qmfnp has joined #ruby
compAz has joined #ruby
reprazent has joined #ruby
SCommette has joined #ruby
yetanotherdave has quit [Ping timeout: 264 seconds]
zeropx has quit [Read error: Connection timed out]
vyorkin has quit [Quit: WeeChat 0.4.3]
compAz has quit [Read error: Connection reset by peer]
compAz has joined #ruby
sk87 has joined #ruby
root_empire has joined #ruby
dodofxp has joined #ruby
zeropx has joined #ruby
dodofxp has left #ruby [#ruby]
vdmgolub has joined #ruby
freerobby has joined #ruby
Trudko has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
<shevy> huh
malkomalko has joined #ruby
<shevy> why is it
<shevy> require 'open-uri'
<shevy> the - vs _ confuses me
michael_lee has quit [Ping timeout: 250 seconds]
memph1s has quit [Ping timeout: 272 seconds]
maximski has quit []
compAz has quit [Remote host closed the connection]
tobago has quit [Remote host closed the connection]
<existensil> yeah, it doesn't make much sense. usually constants like OpenURI would be named open_uri.rb, open-uri almost suggests Open::URI
<existensil> but ruby conventions are sometimes all over the place with naming
jonathan_alban has joined #ruby
yetanotherdave has joined #ruby
rayners has joined #ruby
alem0lars has quit [Quit: alem0lars]
arya_ has joined #ruby
Gonzih has quit [Ping timeout: 240 seconds]
pu22l3r_ has joined #ruby
geggam has joined #ruby
havenwood has joined #ruby
marr has quit []
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tagrudev has quit [Remote host closed the connection]
axsuul has joined #ruby
SouL has quit [Ping timeout: 240 seconds]
yetanotherdave has quit [Ping timeout: 240 seconds]
<shevy> what do you guys think about rewriting old, and large ruby projects?
pu22l3r has quit [Ping timeout: 250 seconds]
<xmj> "kill it with fire"
<shevy> hehe
mengu has quit []
<shevy> it's almost 30° Celsius again here ...
<existensil> it sucks, but starting from scratch often fails. The best path for me has been to try and break it into peices and slowly move things out to smaller apps/gems.
<shevy> I can't code like that :(
<existensil> It takes longer than a re-write, but actually succeeds more often
<shevy> yeah existensil
banjara has quit [Quit: Leaving.]
pu22l3r_ has quit [Remote host closed the connection]
<shevy> that's kinda what I am doing too since a while, but I also have some failed rewrites lurking about
<shevy> mv project/ project_that_must_be_rewritten/
pu22l3r has joined #ruby
<existensil> if you can cut the legacy project down to size by moving things out, its eventually small enough that you can finally drown it
Shidash has joined #ruby
<existensil> in a bathtub, strangling it slowly for that extra satisfaction
<shevy> when I can still move things out there is hope, but I find myself even finding most salvation by doing rm random_old_file_here.rb :-)
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<shevy> haha
<shevy> bathtub strangling omg
<existensil> might even be worth sacraficing a chromebook if you want that physical release
rayners has quit [Read error: Connection reset by peer]
darkxploit has joined #ruby
<shevy> lol
user258467 has joined #ruby
<shevy> I am kinda in that position again, though thankfully there are only two .rb files
snath has quit [Ping timeout: 240 seconds]
<shevy> both files accept an archive format, extract it, configure, make, make install it
<user258467> Hi, how do I get 'foo' from an instance variable called :@foo ?
lmickh has quit [Remote host closed the connection]
hamakn has joined #ruby
<shevy> one uses prefix /usr by default, the other one a specialized dir
<shevy> I have a lot of duplication obviously, so the logical thing to do would be to write one main class, and then just subclass with different prefixes (or perhaps not even subclassing, as one could simply provide the different prefix)
<shevy> user258467 is that a symbol?
<shevy> >> :@foo.to_s
<eval-in__> shevy => "@foo" (https://eval.in/172631)
<shevy> >> :@foo.to_s.delete('@')
<eval-in__> shevy => "foo" (https://eval.in/172632)
<shevy> I just don't really feel like rewriting those two files at all :(
<havenwood> >> :@foo.slice 1..-1
<existensil> yeah, can tough to find the motivation when the existing solution kinda works
<eval-in__> havenwood => "foo" (https://eval.in/172633)
xmj has left #ruby [#ruby]
Takle has quit [Remote host closed the connection]
mehlah has quit [Quit: Linkinus - http://linkinus.com]
LiohAu has joined #ruby
Joulse has quit [Quit: Joulse]
hmsimha has joined #ruby
evenix has joined #ruby
<jhass> user258467: sounds fishy, care to elaborate what you're actually doing?
<evenix> Hi all
Gonzih has joined #ruby
<evenix> ls
Prawnzy_ has quit [Quit: ZNC - http://znc.in]
aoeu256 has joined #ruby
<shevy> havenwood cool, I did not know symbol has .slice
aganov has quit [Remote host closed the connection]
<shevy> >> :@foo[1..-1]
<eval-in__> shevy => "foo" (https://eval.in/172634)
<havenwood> shevy: i guess nicer to write it :@foo[1..-1]
<shevy> user258467, there you go!
<havenwood> aye
malditogeek has quit [Quit: Leaving.]
Biohazard has joined #ruby
<shevy> yeah, I use [] all the time, but I wasn't even thinking of the possibility of using it somehow
<shevy> my brain was like "ok let's turn this symbol into a string"
<shevy> and then "ok now we have a string, let's kill @
<shevy> and then "it's too hot here, I need a beer"
<shevy> evenix are you like asterix and obelix?
<user258467> shevy, thanks a lot but it seems I am wrong I tried to get all attr_accessor inside my class so I do instance_variables and iterate through it but it returns the value and not the key as the doc said
asdasdasdasss has joined #ruby
<shevy> user258467 not sure I managed to understand what you wrote just now
Biohazard has quit [Read error: Connection reset by peer]
amargherio has joined #ruby
malditogeek has joined #ruby
<shevy> I mean
<shevy> you already have the key when you do .instance_variables or?
xerxas has joined #ruby
<shevy> >> class Foo; def initialize; @bla = 5; end; end; Foo.new.instance_variables
<eval-in__> shevy => [:@bla] (https://eval.in/172637)
Biohazard has joined #ruby
<jhass> user258467: attr_accessors are just normal methods, not instance variables. And not all instance variables must have an accessor
Prawnzy has joined #ruby
<shevy> so there you have an array, you can run .each on it, and then use the code havenwood gave you
Elhu has quit [Quit: Computer has gone to sleep.]
<jhass> user258467: so is that about learning what you can do with some object you got or some sort of metaprogramming?
jottr has quit [Ping timeout: 260 seconds]
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> metaprogramming!
<shevy> until ruby programs write other ruby programs
<jhass> pretty sure that's happening already
kachi8 has joined #ruby
Elhu has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
lukec has joined #ruby
<user258467> shevy, jhass shevy yes I need metaprogramming I iterate thought a Hash where key name correspond to attr_accessor of my object
JoshGlzBrk has joined #ruby
<jhass> user258467: I'd think about a custom 'attr_accessor' method that keeps track of the defined accessors
<jhass> or as a last resort even overriding it
<shevy> well ok so the key name equals to a method
arussel has joined #ruby
<user258467> jhass, overriding attr_accessor good idea :)
<arussel> how do you install rvm system wide ?
<shevy> user258467 an attr_accessor is actually making a method for you in a convenient way; attr_accessor :foo, is combination of attr_writer :foo and attr_reader :foo. attr_reader :foo means this: def foo; @foo; end and attr_writer :foo means this: def foo=(i); @foo = i; end
<jhass> user258467: not too much, I'm more thinking of something like : def property *args; @defined_accessors.concat args; attr_accesor *args; end
maestrojed has joined #ruby
<shevy> so don't get too confused about attr_accessor, it is just a method corresponding to an @ivar
<jhass> user258467: still not sure what the value of your hash would be
malkomalko has quit []
JoshGlzBrk has quit [Client Quit]
<user258467> shevy, jhass thanks a lot for all these profitable information, understanding it will take me some time ruby is really good for metaprogramming
<existensil> ascarter: sudo
timonv_ has quit [Remote host closed the connection]
marr has joined #ruby
<arussel> I'm not a ruby dev, I've got some postgres backup scripts that need ruby and some gem, I'm in ubuntu AWS, what is the best way to have this ?
<shevy> you could even easily create your own attr* methods btw, rails/active* does that as far as I know
mikesplain has joined #ruby
<existensil> err..., arussel: sudo
duggiefresh has joined #ruby
<shevy> what's wrong with ubuntu ruby
<shevy> ;-)
<arussel> existensil: you mean normal rvm install but using sudo ?
Takle has joined #ruby
<jhass> user258467: but as said, if you maybe describe your actual problem, not the path you think you need, we may be able to show you something even more beautiful ;)
<shevy> can't those ubuntu folks fix their ruby
<existensil> nothing, just saying, if you want to install rvm globally, then "sudo -i" and install it from a root shell
<ccooke> shevy: can't ruby fix its insane anti-sysadmin approach? ;-)
<havenwood> arussel: You could install ruby2.0 and ruby2.0-dev apt packages. Or you could ruby-install to /usr/local/. But yeah, if you want a multiple user RVM install, sudo and it'll install to /usr/local/rvm.
<existensil> but, the ubuntu repo ruby may be plenty for some scripts
<ccooke> (Okay, that's my troll quota for the month done with)
<arussel> havenwood: can I know, looking at the script what ruby version it needs ?
mijicd has joined #ruby
<shevy> ccooke what part in particular does not work for a sysadmin?
Ankhers has quit [Remote host closed the connection]
orionstein is now known as orionstein_away
<ccooke> shevy: Firstly I wasn't entirely serious. Secondly, the ruby community is a little dev-focussed sometimes which can cause - fixable - friction from other viewpoints.
thisirs has quit [Read error: Connection reset by peer]
<shevy> it starts with distributions taking away mkmf
amystephen has joined #ruby
<shevy> because a server OS does not need mkmf!!!
p0sixpscl has joined #ruby
<jhass> arussel: someone with quite some experience maybe can. Looking at the errors it produces is much easier
<ccooke> shevy: yes, and? :-)
<havenwood> arussel: Sometimes they'll specify in the Gemfile if it's strict. Looking at a travis.yml or like file often shows what all Rubies the tests are run on, if they use CI.
kachi8 has quit [Remote host closed the connection]
vdmgolub is now known as memph1s
kachi8 has joined #ruby
<user258467> shevy, jhass thanks a lot for all these profitable information, understanding it will take me some time ruby is really good for metaprogramming
<shevy> it continues all the way from there until it ends up to a point where a source compilation fixes all the issues
britneywright has quit [Quit: Textual IRC Client: www.textualapp.com]
tesuji has quit [Ping timeout: 240 seconds]
<evenix> Hi all. Anyone ran into this issue: No binary rubies available for: osx/10.10/x86_64/ruby-2.0.0-p353. ?
xanatos has quit [Remote host closed the connection]
Hanmac has quit [Remote host closed the connection]
senayar has quit [Read error: Connection reset by peer]
<jhass> that's a warning as far as I recall, not an error
xanatos has joined #ruby
edwardly has joined #ruby
<shevy> did existensil solve his problem btw? :)
xaxisx has joined #ruby
<evenix> jhass: thanks but it seems that my homebrew stopped working
shadowshell has joined #ruby
<evenix> because of a ruby issue and even though ive been trying to reinstall that ruby
<shevy> homebrew - a package manager written in ruby
<evenix> I keep getting '/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- utils/popen (LoadError)'
senayar has joined #ruby
<shevy> what is that
<evenix> shevy: exactly, so its depending on my ruby 2.0.0
<havenwood> evenix: Note that p353 isn't available for 10.10 as a precompiled binary: https://rvm.io/binaries/osx/10.10/x86_64/
<shevy> I can't find a popen.rb file here in core
<evenix> havenwood: thats what I just found out :/
slash_nick has quit [Changing host]
slash_nick has joined #ruby
<havenwood> evenix: You can always compile it, or better use use latest patch version. :P
<evenix> havenwood: sure patch would help
<shevy> hmm ... my core_ext/ only has kernel_gem.rb and kernel_require.rb
<evenix> havenwood: which one is it?
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2 !
<havenwood> evenix: latest ruby 2.0 binary for 10.10 is ruby-2.0.0-p481
<evenix> but my homebrew is still using ruby 2.0.0 i guess i will have to reinstall it
<shevy> \o/
<shevy> out with the old, in with the new!
timonv_ has joined #ruby
<havenwood> evenix: there is a binary for 2.1.2 if you just want to go to latest stable
Hanmac has joined #ruby
zigomir has quit [Remote host closed the connection]
<evenix> havenwood: true, but my homebrew is using the old one.. im going to reinstall it.. but funny enough i need "brew cleanup" but that won't even work since 'brew' doesnt work.
ndrei has joined #ruby
terrellt has joined #ruby
<havenwood> evenix: I'm getting a bit confused. You've mentioned an RVM binary, a Homebrew Ruby and system Ruby. Which is it?!?
<havenwood> There can be only one!
zigomir has joined #ruby
NinoScript has quit [Ping timeout: 256 seconds]
<evenix> well it all started when i tried to install the lastest ruby 2.1.2 but then it failed (i think i forgot to use sudo and some permission didnt work). Then i tried to run brew on the side for a separate project and it crashed.
<evenix> and recommedned me to reinstall my ruby
apeiros has quit [Remote host closed the connection]
<evenix> so I reinstall the ruby that homebrew is attached with: ruby 2.0.0
yagooar has quit [Remote host closed the connection]
apeiros has joined #ruby
<havenwood> evenix: `brew update && brew install ruby` is 2.1.2
<havenwood> evenix: `ruby20` package is ruby 2.0
<evenix> brew is crashing though: http://pastebin.com/Uw8TZ9zm
<havenwood> evenix: The error you linked above was system Ruby, not brew.
<pontiki> o/
<havenwood> evenix: That isn't the brew Ruby. :P
<havenwood> evenix: That is system Ruby that comes installed on Yosemite.
<evenix> ooooh i see.
enebo has joined #ruby
NinoScript has joined #ruby
<havenwood> evenix: Looks like your brew has choked on Yosemite losing ruby 1.8. Update brew or reinstall for Yosemite fixes.
kayloos has joined #ruby
<evenix> havenwood: i wish "brew update" would work. I think i have to completely deinstall homebrew
<evenix> and reinstall it
shadowshell has quit [Remote host closed the connection]
<evenix> (uninstall*)
reset has joined #ruby
<havenwood> evenix: Pre-Mavericks the system Ruby was 1.8 (what brew uses). In Mavericks the system 1.8 Ruby remained even though Current got linked to a new 2.0 system Ruby. In Yosemite they dropped 1.8 altogether so brew had to make changes to accomidate.
Pharaoh2 has quit [Remote host closed the connection]
rubytor has joined #ruby
mikepack has joined #ruby
Pharaoh2 has joined #ruby
Fire-Dragon-DoL has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
banjara has joined #ruby
bal has quit [Quit: bal]
<evenix> havenwood: oh man *headache* lol
<evenix> thanks
maximski has joined #ruby
kayloos has quit [Ping timeout: 250 seconds]
mskog has joined #ruby
Ankhers has joined #ruby
_tpavel has quit [Quit: Leaving]
zorak has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
Pharaoh2 has quit [Ping timeout: 250 seconds]
senayar has quit [Read error: Connection reset by peer]
britneywright has joined #ruby
senayar has joined #ruby
banjara has quit [Ping timeout: 240 seconds]
lmickh has joined #ruby
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elikem has joined #ruby
jfran has joined #ruby
Takle has quit [Remote host closed the connection]
<kachi8> if=@msg kabinet.show %ubuntu !=(print, "King Kong Gorrila",$eth0;) #eod else {print, "attr_"} ;
geggam is now known as maggeg
jottr has quit [Ping timeout: 256 seconds]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maggeg is now known as geggam
itspots has joined #ruby
jottr has joined #ruby
NinoScript_ has joined #ruby
jmbrown412 has joined #ruby
Takle has joined #ruby
_maes_ has joined #ruby
mskog has left #ruby [#ruby]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
fabrice31 has quit [Remote host closed the connection]
n_blownapart has joined #ruby
Jake232 has joined #ruby
lmickh has quit [Remote host closed the connection]
bclune has left #ruby [#ruby]
techsethi has joined #ruby
snath has joined #ruby
failshell has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
lmickh has joined #ruby
Hanmac has joined #ruby
<shevy> ubuntu
<shevy> omg
<shevy> btw kachi8 please add ' ' before and after your =
<shevy> but not when there is a ! before
<shevy> or a ~ afterwards
<shevy> hahahaha
sarlalian has quit [Quit: WeeChat 0.4.2]
sarlalian has joined #ruby
thisirs has joined #ruby
Hamburglr has joined #ruby
senayar has quit [Read error: Connection reset by peer]
Soda has joined #ruby
senayar has joined #ruby
newtonianb has joined #ruby
techsethi has quit [Quit: techsethi]
lolmaus has joined #ruby
<lagweezle> What is a '%ubuntu' ?
yfeldblum has joined #ruby
kireevco has joined #ruby
kalusn has quit [Read error: No route to host]
kalusn has joined #ruby
war32 has joined #ruby
CVertex has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<CVertex> hello
<shevy> lagweezle, looks like some haml thing or another template
axsuul has quit [Ping timeout: 240 seconds]
Pharaoh2 has joined #ruby
<lagweezle> That entire line is very difficult to read. :/
<lagweezle> The if=@msg blahblahblah
n_blownapart has left #ruby [#ruby]
n_blownapart has joined #ruby
jaimef has quit [Excess Flood]
n_blownapart has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 240 seconds]
<shevy> yeah, very ugly
arya_ has joined #ruby
Ankhers has quit [Remote host closed the connection]
<shevy> kachi8, you need to improve your style ok man?
<shevy> we are not ##php here after all
CaptainJet has joined #ruby
g0bl1n has joined #ruby
zigomir has quit [Remote host closed the connection]
jaimef has joined #ruby
ephemerian has quit [Quit: Leaving.]
<lagweezle> Hah.
<lagweezle> Is that actually ruby, or something else?
senayar has quit [Read error: Connection reset by peer]
<shevy> it's probably some mish mash
<shevy> bit of shell, bit of ruby, but of fantasy
techsethi has joined #ruby
<shevy> the three dream ingredients for a new programming language, I would say
senayar has joined #ruby
asdasdasdasss has joined #ruby
mconnolly has quit [Quit: mconnolly]
shaileshg has quit [Quit: Connection closed for inactivity]
mattstratton has joined #ruby
Hanmac has quit [Remote host closed the connection]
mconnolly has joined #ruby
mconnolly has left #ruby [#ruby]
obscured has quit [Quit: leaving]
gaussblurinc1 has quit [Quit: Leaving.]
b00stfr3ak has joined #ruby
xaxisx has left #ruby [#ruby]
Hanmac has joined #ruby
Guest9909 is now known as ixx
sigurding has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
temple3188 has quit [Remote host closed the connection]
temple3188 has joined #ruby
CVertex has quit [Ping timeout: 240 seconds]
gaussblurinc1 has joined #ruby
rubytor has quit [Ping timeout: 250 seconds]
p0sixpscl has quit [Quit: p0sixpscl]
exgf has quit [Remote host closed the connection]
CVertex has joined #ruby
zeropx has quit [Read error: Connection timed out]
CVertex has quit [Client Quit]
exgf has joined #ruby
lukec has quit [Quit: lukec]
havenwood has quit [Remote host closed the connection]
jespada_ has joined #ruby
jespada_ has quit [Read error: Connection reset by peer]
M-Technic has joined #ruby
rubytor has joined #ruby
aspires has joined #ruby
Morkel has joined #ruby
towbes has joined #ruby
jespada has quit [Ping timeout: 260 seconds]
SCommette has quit [Quit: SCommette]
x1337807x has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikesplain has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
claw_ has joined #ruby
axl_ has joined #ruby
newtonianb has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
mikesplain has joined #ruby
x1337807x has quit [Client Quit]
SCommette has joined #ruby
Gonzih has quit [Ping timeout: 240 seconds]
user258467 has quit [Quit: Quitte]
sdwrage has joined #ruby
mikepack_ has joined #ruby
pyr0commie has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shredding has quit [Quit: shredding]
kachi8 has quit [Ping timeout: 272 seconds]
zigomir has joined #ruby
Shidash has quit [Ping timeout: 256 seconds]
zeropx has joined #ruby
zeropx has quit [Quit: has left the room … Or did he?]
bricker`work has joined #ruby
davispuh has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
war32 has quit [Quit: WeeChat 0.4.3]
lkba has quit [Ping timeout: 240 seconds]
war32 has joined #ruby
reset has joined #ruby
mark_locklear has quit [Ping timeout: 240 seconds]
<war32> Newbie question: how to print each elements of two arrays? (like array_first[0] + array_second[0], array_first[1] + array_second[1])
acrussell has left #ruby [#ruby]
pietr0 has joined #ruby
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
<NinoScript_> war32, I don't get it, what are you trying to do?
reset has quit [Ping timeout: 240 seconds]
gaussblurinc1 has quit [Quit: Leaving.]
francisfish has quit [Remote host closed the connection]
zigomir has quit [Remote host closed the connection]
<eam> war32: a loop?
<lagweezle> Hmmm.
einarj has quit [Remote host closed the connection]
<shevy> lol
orionstein_away is now known as orionstein
Xeago has quit [Remote host closed the connection]
<shevy> war32 you could merge them together first, then display them
<DefV> war32: >> a = [0,1,2,3]; b = [1,2,3,4]; a.each_with_index {|el_a, idx| p el_a, b[idx] }
<shevy> >> %w( abc def ghi ).zip(%w( jkl mno pqr ))
<eval-in__> shevy => [["abc", "jkl"], ["def", "mno"], ["ghi", "pqr"]] (https://eval.in/172656)
<lagweezle> array_first.zip(array_second).each { |pair| puts pair }
<DefV> >> a = [0,1,2,3]; b = [1,2,3,4]; a.each_with_index {|el_a, idx| p el_a, b[idx] }
<eval-in__> DefV => 0 ... (https://eval.in/172657)
<shevy> there is more than one way to do it
<DefV> shevy's approach is better from a code standpoint, mine will be more efficient
<lagweezle> Or it seems...
<shevy> hehe
<DefV> (not create extra arrays)
<DefV> depends on your use case
<shevy> but he needs to have the second array available in your example
niharvey is now known as niharvey|lunch
shredding has joined #ruby
<lagweezle> >> %w( a b c ).zip(%w( d e f)) { |arr| puts arr }
<eval-in__> lagweezle => a ... (https://eval.in/172658)
<shevy> assigned to the variable b
<DefV> shevy: I guess he has? :-)
kayloos has joined #ruby
<shevy> I suspect he has a lot of spaghetti code
kachi8 has joined #ruby
timonv_ has quit [Remote host closed the connection]
<shevy> war32 are you a spaghetti coder?
<DefV> you don't know that, don't be mean
bricker`work has quit [Read error: Connection reset by peer]
<shevy> I always assume the worst on #ruby
bricker`work has joined #ruby
<DefV> war32: any of our answers help you?
<gregf_> er, noob's could'nt possibly be spaghetti coders :/
<war32> shevy, lol, no, just learning ruby right now.
<shevy> well
endash has joined #ruby
<shevy> perhaps he wrote a lot of php when he was young
<shevy> and innocent
<war32> DefV, i found another way (array.zip(secondarray))
<shevy> hehehehe
theharshest has joined #ruby
<shevy> yeah DefV
<shevy> he found another way
<DefV> war32: that's a good solution
<lagweezle> So .. wot shevy and I were thinking.
<shevy> sometimes it would be nice to know unimportant details... like latency in replies on IRC
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
xanatos has quit [Ping timeout: 240 seconds]
<eam> is rspec known to leak memory?
mijicd has quit [Remote host closed the connection]
<shevy> in ruby everything leaks memory
<shevy> and sometimes money too
<eam> ain't that the truth
theharshest has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kalusn has quit [Ping timeout: 272 seconds]
<shevy> what setup did prompt you to consider rspec might be an awful RAM monster eam?
theharshest has joined #ruby
<eam> have an instance where it's eating gigs
<shevy> ok
<shevy> better eating gigs than eating children, I always say
krz has joined #ruby
<lagweezle> Tons of tests?
<eam> looks a lot like this, was wondering it's still a known issue: https://github.com/rspec/rspec-core/issues/321
<eam> lagweezle: oh yeah
<shevy> a gazillion of tests!
weems|work has joined #ruby
pyr0commie has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
<shevy> well that was from 2011 so 3 years ago
<shevy> "rspec seems to leak memory"
arya_ has quit [Ping timeout: 256 seconds]
<shevy> now you are at least the second
<shevy> rspec eats memory and children
<eam> I attached with gdb and inspected ObjectSpace and saw a ton of String, Array, and RubyVM::InstructionSequence objects piling up
djcp has joined #ruby
qmfnp is now known as qmfnp-Lunch
zigomir has joined #ruby
obscured has joined #ruby
<eam> >> h={}; ObjectSpace.each_object { |o| s = o.class.to_s; h[s] ||=0; h[s] += 1 }; h.to_a.sort {|a,b| a[1] <=> b[1] }.last
<eval-in__> eam => ["String", 5230] (https://eval.in/172659)
zigomir has quit [Remote host closed the connection]
<eam> hey so this is weird:
IceDragon has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
<eam> >> [ [7,8,9][-1], [7,8,9][-2]
<eval-in__> eam => /tmp/execpad-f384bafa6237/source-f384bafa6237:3: syntax error, unexpected keyword_rescue, expecting ']' ... (https://eval.in/172660)
<shevy> so many string objects
<eam> erp
claw_ has joined #ruby
compAz has joined #ruby
<eam> >> [ [7,8,9][-1], [7,8,9][-2] ]
<eval-in__> eam => [9, 8] (https://eval.in/172661)
<eam> BUT, then why not:
<eam> >> [7,8,9][-2, -1]
<eval-in__> eam => nil (https://eval.in/172662)
<shevy> that is strange altogether
<shevy> I thought it would be equal to this:
<shevy> >> [ [7,8,9][-1,1], [7,8,9][-2,1] ]
<eval-in__> shevy => [[9], [8]] (https://eval.in/172663)
yfeldblum has joined #ruby
<shevy> it seems to return an Array when the second argument is passed
<eam> >> [7,8,9][1,2]
<eam> well it's ignoring me, but that's [8,9]
<eam> it's a range of a slice
<eam> I wish [] was values_at()
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zigomir has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
Takle has joined #ruby
<eam> >> h={}; ObjectSpace.each_object { |o| s = o.class.to_s; h[s] ||=0; h[s] += 1 }; h.to_a.sort {|a,b| a[1] <=> b[1] }.values_at(-3,-2,-1)
<eval-in__> eam => [["Class", 273], ["RubyVM::InstructionSequence", 577], ["String", 5228]] (https://eval.in/172664)
<eam> that's what I wanted
maletor has joined #ruby
edgarjs_afk is now known as edgarjs
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nickwtf has joined #ruby
<eam> this stuff is so clumsy with ruby syntax, I wish there were auto-viv, math on nil, and proper array slices
lukec has joined #ruby
shredding has quit [Quit: shredding]
claw_ has quit [Read error: Connection reset by peer]
tus has joined #ruby
* eam whines
claw_ has joined #ruby
nickwtf has left #ruby [#ruby]
* shevy whines with eam
* lagweezle oils them both.
<eam> ooh, let's wrestle
toastynerd has joined #ruby
rien has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
<rien> how can I learn more about what's happening here: String(6) # => "6"
xanatos has joined #ruby
<rien> I can't google that
evenix has quit [Remote host closed the connection]
<shevy> hey
jottr_ has joined #ruby
<shevy> why do you oil me when I whine
<shevy> I am not a door man
<rien> I wnat MyClass("blah") to also do something with "blah" and return a MyClass object
<shevy> rien this is a method
<shevy> it just looks like a class
<rien> shevy: how do I make my own?
zigomir has joined #ruby
<shevy> rien def Foo(i); end
NinoScript_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> >> Integer("55")
<eval-in__> shevy => 55 (https://eval.in/172665)
centrx has joined #ruby
<shevy> you are right, this is not easy to google
kevind_ has joined #ruby
<rien> shevy: that works, that's precisely what I wanted! thank you so much :)
<shevy> oh
<eam> how can String be both a class and a method?
<shevy> rien I think it is part of Kernel -> http://www.ruby-doc.org/core-2.1.2/Kernel.html#method-i-Integer
lkba has joined #ruby
<rien> shevy: whoa nice find! how did you search?
mark_locklear has joined #ruby
<shevy> eam I think the parser would assume based on the tokens provided
<rien> out of curiosity
p0sixpscl has joined #ruby
closer has quit [Ping timeout: 272 seconds]
kayloos has quit [Ping timeout: 250 seconds]
<shevy> so when it sees [] or when it sees () (or no () )
IceDragon has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 260 seconds]
<shevy> I do use a lot of Foo[] classes; [] is my favourite method call
<eam> >> String 7
mikecmpbll has quit [Ping timeout: 240 seconds]
<eval-in__> eam => "7" (https://eval.in/172666)
<shevy> rien luck
<shevy> :-)
<pipework> shevy: you're so weird.
<rien> shevy: heheh
<shevy> I searched for it and found someone else give a link to it
<shevy> that it was part of Kernel
<shevy> at first I thought it was part of String
<shevy> :\
<rien> shevy: I barely could think of how to phrase my search
<shevy> rien try to google for the * operator
<rien> lol
<eam> I thought the ruby symbol table was flat -- apparently this isn't the case?
kevind has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
olitree has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<rien> shevy: thanks again, I'll go back to work now, got a hairy bug to fix :)
closer has joined #ruby
<shevy> we need RubyPanter or apeiros to answer such complicated questions
<shevy> the only guys who know C and Ruby
rien has quit []
<olivier_bK> shevy, i almost sure you are a girl because you talk a lot :)
arya_ has joined #ruby
<shevy> nono
<shevy> I just type
<shevy> talking is much, much harder
hogihung has joined #ruby
IceDragon has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
pyr0commie has joined #ruby
<eam> shevy: not really a C question - when I refer to a symbol, what might I be accessing?
dangerousdave has joined #ruby
pyr0commie has quit [Remote host closed the connection]
<eam> eg the symbol String can apparently be the class String, or the method String. Can it be anything else?
catsby has joined #ruby
catsby has left #ruby [#ruby]
<shevy> no...
<eam> by class I suppose I mean constant
bwilson has joined #ruby
<eam> so constants and methods share the same symbol table?
<olivier_bK> lol
<eam> but can be defined in parallel?
<shevy> so like ruby uses a Macro for symbols like: ID2SYM( rb_intern("verbose") ); <-- :verbose
<olivier_bK> see you soon guys
alex88 has quit [Quit: Leaving...]
orionstein is now known as orionstein_away
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> I don't know how these are stored internally but like class Test, should be a: static VALUE rb_cTest;
<shevy> and then a cTest = rb_define_class("Test", rb_cObject);
<centrx> I'm told symbols are stored internally as integers
<Hanmac> shevy until now its correct what you say about MRI
<centrx> of course they have names
senayar has quit [Read error: Connection reset by peer]
<Hanmac> centrx: yes ID is a bit shifted VALUE
Zebroid has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
senayar has joined #ruby
<shevy> include/ruby/ruby.h:#define ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG)
<eam> >> [Kernel.const_get(:String), send(:String, 7)]
<eval-in__> eam => [String, "7"] (https://eval.in/172668)
<eam> are there any other operations that the symbol :String might refer to?
<shevy> C is so much more complicated ...
<shevy> eam I don't think so
<shevy> it should always be a symbol the moment it has that leading :
timonv_ has joined #ruby
<eam> in perl each symbol can refer to around 7 different things
timgauthier has joined #ruby
<shevy> perl is for people with the big brains
<eam> trying to understand how many different things in ruby, until now I thought there was a 1:1 mapping
asdasdasdasss has joined #ruby
j_mcnally has joined #ruby
arussel has quit [Read error: Connection reset by peer]
<shevy> like hoelzro
<eam> and that every Symbol mapped to a particular VALUE
arussel has joined #ruby
<shevy> and come to think about it, I think he also uses not only perl but also C
<havenwood> eam: checkout: Symbol.all_symbols
<shevy> let's compare size
<shevy> in irb...
<shevy> Symbol.all_symbols.size # => 11779
<shevy> beat that!
<eam> havenwood: yah so - question is a bit different though
<Hanmac> eam the class String and the method String are both different
olivier_bK has quit [Ping timeout: 260 seconds]
<eam> Hanmac: right, but they're both represented by the symbol :String, right?
claw_ has joined #ruby
zigomir has quit [Remote host closed the connection]
<shevy> this is what this method does:
<shevy> static VALUE rb_f_string(VALUE obj, VALUE arg) { return rb_String(arg); }
Ankhers has joined #ruby
<eam> it's the context of the symbol which determines whether you're referring to the constant or the method
<shevy> guess it returns a new string object with the passed arg
<Hanmac> shevy: all_symbols size ... what wins? high or low? Symbol.all_symbols.size #=> 3186
<shevy> Hanmac high! well you have quite a lot
carraroj has joined #ruby
<shevy> I think something leaks in my irbrc
<shevy> or I just include all modules hahaha
rp__ has joined #ruby
<shevy> VALUE 2319 rb_String(VALUE val) { return rb_convert_type(val, T_STRING, "String", "to_s"); }
<shevy> man, so many redirections...
sigurding has quit [Quit: sigurding]
<Hanmac> shevy: ruby --disable=gem -e"p Symbol.all_symbols.size" #=> 1645
<shevy> lol... rb_convert_type
<shevy> redirects to: v = convert_type(val, tname, method, Qtrue);
asdasdasdasss has quit [Ping timeout: 240 seconds]
<shevy> ah... but also: const char *cname = rb_obj_classname(val);
ghr has quit [Ping timeout: 250 seconds]
* Hanmac maybes a game quote: "thats not even my final redirection" ;D
<eam> >> ("aaaa".."zzzz").each { |x| x.to_sym }; Symbol.all_symbols.size
<eval-in__> eam => /tmp/execpad-b76d38e55184/source-b76d38e55184:2: [BUG] object allocation during garbage collection phase ... (https://eval.in/172671)
<shevy> 1640
<eam> oops
<shevy> Hanmac I have even less symbols than you then
<shevy> eam you are breaking the bot man!
<eam> apologies, it has a lot less memory than my laptop :)
<shevy> that is the first time I read [BUG] in the output though
<shevy> perhaps Hanmac can use this to break the bot again
<eam> hey so, why is it possible to return values from initialize() ?
<eam> where do they go?
<shevy> it is?
treehug88 has joined #ruby
<centrx> They go to a happy place
<eam> I mean, you can say return x
djcp has left #ruby ["WeeChat 0.4.3"]
<pontiki> *snort*
SCommette has quit [Quit: SCommette]
mikepack_ has quit [Remote host closed the connection]
<shevy> eam I think they are silently eaten, just like you can use attr_accessors, do: return 55, and it will be ignored
claymore has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
<shevy> sorry
<shevy> I meant setters
<shevy> So that this still works:
<shevy> foo.x = foo.y = foo.z = 1
troyready has joined #ruby
edgarjs is now known as edgarjs_afk
claymore has joined #ruby
roolo has quit [Quit: Leaving...]
sputnik1_ has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
braxtonplaxco has quit [Ping timeout: 240 seconds]
claw_ has joined #ruby
lxsameer has joined #ruby
sputnik1_ is now known as sputnik13net
<lxsameer> hey folks, I use sprockets, it tries to compile a css file using sass so i get syntax errors. how can i fix this?
interactionjaxsn has joined #ruby
ramfjord has joined #ruby
arup_r has joined #ruby
icarus_ has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
Soda has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
sk87 has joined #ruby
claw_ has quit [Ping timeout: 240 seconds]
<arup_r> Ho can I test in MiniTest if any specific method is called or not inside any other method? Like https://gist.github.com/aruprakshit/ff28de603b3ff4ac43e3
datafirm has joined #ruby
claw__ has joined #ruby
<arup_r> I want to test if `some_meth` is being called or not inside #do_something ...
andrewjanssen has joined #ruby
sigurding has joined #ruby
reset has joined #ruby
malditogeek has quit [Quit: Leaving.]
asdasdasdasss has joined #ruby
<eam> ruby has BEGIN and END, but not CHECK or any other special timed blocks, right?
aarkerio has joined #ruby
sk87 has quit [Client Quit]
<rdark> has anyone successfully used both Rack::Test::Methods _and_ capybara in the same test suite?
aarkerio has quit [Client Quit]
<rdark> capybara seems to want to shit all over any methods from Rack::Test
<shevy> eam ruby does not have CHECK yeah
claw__ has quit [Read error: Connection reset by peer]
claw__ has joined #ruby
banjara has joined #ruby
guinsly has joined #ruby
dblessing_ has joined #ruby
dblessing_ has quit [Remote host closed the connection]
dblessing has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
jackneill has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
dblessing has joined #ruby
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
senayar_ has joined #ruby
vsoftoiletpaper has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
braxtonplaxco has joined #ruby
Spami has joined #ruby
timonv_ has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 256 seconds]
senayar has quit [Ping timeout: 240 seconds]
Eyess has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
Eyes has joined #ruby
charliesome has joined #ruby
discreet has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
tomblomfield has joined #ruby
Zenigor has joined #ruby
zigomir has joined #ruby
cnj has quit [Quit: Quit]
jackneill has joined #ruby
SCommette has joined #ruby
cnj has joined #ruby
<discreet> can someone help me out with an if statement i'm trying to write? i want to set a value based on the value of a variable
<dopiee> discreet, can you gist your question?
guinsly has quit [Ping timeout: 250 seconds]
zigomir has quit [Remote host closed the connection]
<discreet> dopiee: yup just did it
<discreet> i know the syntax is horribly off and probably not even close but i hope it gets the point across: http://pastebin.com/HDsFq0Vj
shtirlic has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
cnj has quit [Client Quit]
macclearich has joined #ruby
arussel has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
luckyruby has quit [Quit: Leaving...]
wallerdev has joined #ruby
<dopiee> cantunderstand it
sigurding has joined #ruby
<dopiee> im new to ruby
<dopiee> :)
<discreet> yea me too
qmfnp-Lunch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<discreet> essentially splunk_cluster is a variable that gets set (either A or B)
<dopiee> where are the pipe variables
temple3188 has quit []
qmfnp has joined #ruby
<discreet> if splunk_cluster == A then i want server = ip1, ip2
datafirm has quit [Quit: Computer has gone to sleep.]
cnj has joined #ruby
<discreet> else server = ip3, ip4
ejnahc has quit [Ping timeout: 240 seconds]
Rahul_Roy has joined #ruby
datafirm has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
niharvey|lunch is now known as niharvey
Aaaal has quit [Quit: Aaaal]
nanoyak has joined #ruby
rdark has quit [Quit: leaving]
datafirm has quit [Ping timeout: 256 seconds]
shtirlic has joined #ruby
apeiros has joined #ruby
claw___ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
iamjarvo has joined #ruby
claw___ has quit [Read error: Connection reset by peer]
claw has joined #ruby
<havenwood> discreet: splunk_cluster = splunk_cluster == a ? [ip1, ip2] : [ip3, ip4]
vdmgolub has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
memph1s has quit [Read error: Connection reset by peer]
ejnahc has joined #ruby
shtirlic has quit [Client Quit]
claw__ has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
Gonzih has joined #ruby
<discreet> havenwood: would something like this work instead? http://pastebin.com/Y6AM5zKh
<havenwood> discreet: using ternary operator ^ or you can assign the variable to the if statement
<arup_r> suppose I have a method which is taking elements from (1..5).cycle. But at any point of time, any chance to calculate how many times that enumerator cycled ?
<havenwood> discreet: your erb is wrong, but sure - you can also assign the variable to the if statement
<havenwood> discreet: server = if @splunk_cluster...
kure_ has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
<havenwood> discreet: DRY
<havenwood> discreet: You can't do multiple return values, so put your multiple values in an Array: [ip1, ip2]
senayar_ has quit [Remote host closed the connection]
datafirm has joined #ruby
senayar has joined #ruby
mikeg has joined #ruby
<discreet> havenwood: i would need to do ['ip1','ip2'] for the values, but how would i do that inline with the server = ?
anaeem1__ has quit [Remote host closed the connection]
<havenwood> discreet: server = if ...; ['ip1', 'ip2']; else; ['ip3'...
mikesplain has joined #ruby
<havenwood> discreet: newlines where there're semi-colons of course
<havenwood> instead of
agent_white has joined #ruby
<discreet> havenwood: so like this? http://pastebin.com/wkqg7z8e i don't need <% %> or <%= %> around anything?
<havenwood> discreet: with an `end` at the end, and indent properly
<agent_white> Good morning!
thumpba has quit [Read error: Connection reset by peer]
<havenwood> discreet: presumably you need erb tags, i dunno what you're meaning to do
kachi8 has quit [Ping timeout: 264 seconds]
<havenwood> agent_white: g'morning
senayar has quit [Ping timeout: 240 seconds]
voodoofish1 has joined #ruby
<discreet> havenwood: right right, totally forgot about the end
yfeldblum has joined #ruby
claw_ has joined #ruby
voodoofish has quit [Ping timeout: 240 seconds]
kayloos has joined #ruby
claw has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.3]
<discreet> havenwood: more like this then? http://pastebin.com/ZmHgmyQn I essentially want server = to either be ip1,ip2 if splunk_cluster == SplunkClusterProd, or server = ip3,ip4 if it is anything else (well the else would be SplunkClusterTest)
root_empire has quit [Quit: Ex-Chat]
Guest38133 has quit [Remote host closed the connection]
<havenwood> discreet: i don't think you understand erb templating
frellnet has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
baweaver has joined #ruby
Eyes has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arya__ has joined #ruby
momomomomo has quit [Quit: momomomomo]
SBoolean has joined #ruby
mikeg has quit [Remote host closed the connection]
thumpba has joined #ruby
Eyes has joined #ruby
dapz has joined #ruby
arya_ has quit [Ping timeout: 264 seconds]
kayloos has quit [Read error: Connection reset by peer]
SouL has joined #ruby
mikeg has joined #ruby
SouL has quit [Read error: Connection reset by peer]
vdmgolub has quit [Ping timeout: 250 seconds]
memph1s has joined #ruby
andrewhl has joined #ruby
axl__ has joined #ruby
<havenwood> discreet: or this is a simpler summation: http://jasonshultz.com/2013228examples-of-ruby-erb-syntax/
edgarjs_afk is now known as edgarjs
<havenwood> discreet: any Ruby outsdie the <% %> will fail
charliesome has joined #ruby
bradleyprice has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 240 seconds]
bradleyprice has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
<discreet> havenwood: but you can have static data outside of <% %> in your if statement though correct?
<havenwood> discreet: html outside the tags, ruby inside the tags
jottr_ has joined #ruby
<havenwood> presumably
<discreet> havenwood: i'm only outputting a string for a configuration file, why html?
<havenwood> discreet: why ERB?
<discreet> because that's what puppet uses to dynamically generate files
<havenwood> ah, right - puppet
<discreet> havenwood: yup
interactionjaxsn has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 264 seconds]
bradleyprice has quit [Ping timeout: 240 seconds]
<havenwood> discreet: so the output should be like?: server = ip1, ip2
Zebroid has quit [Remote host closed the connection]
<havenwood> discreet: i misunderstood what you were wanting, i guess i need more coffee
Pharaoh2 has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
timfoo has quit [Quit: WeeChat 0.3.8]
<discreet> havenwood: yea same here i'm only on cup 3 today lol
<discreet> havenwood: i want my output to be either server = ip1,ip2 or server = ip3,ip4
<discreet> havenwood: this is what i'm thinking?? http://pastebin.com/Zzknj34u
<havenwood> discreet: then nevermind my whole Array and return nonsense
<havenwood> discreet: i just misunderstood
<havenwood> discreet: you do need to <% else %>
jheg has joined #ruby
<havenwood> discreet: are ip1 and ip2 local variables or Strings?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> just to be clear :O
shime has joined #ruby
vsoftoiletpaper has quit []
momomomomo has joined #ruby
Eyes is now known as Eyess
Xeago has joined #ruby
Photism has joined #ruby
<discreet> havenwood: they will be strings
<havenwood> discreet: I guess what I'm asking is which of these do you mean?: https://gist.github.com/havenwood/06e150828ecb99f1520a
* havenwood goes in search of coffee.
qmfnp has quit [Ping timeout: 260 seconds]
<havenwood> discreet: or neither of those and something else?
CodeLicker has joined #ruby
<discreet> havenwood: what does the pound sign mean?
jottr_ is now known as jottr
<havenwood> discreet: String interpolation #{}.
arup_r has quit [Ping timeout: 256 seconds]
Shidash has joined #ruby
<discreet> havenwood: gotcha. i'm thinking the first one. essentially server = ip1,ip2 will be a string. ip1 and ip2 aren't going to be dynamically generated, it will be hard coded ip addresses
qmfnp has joined #ruby
deric_skibotn has joined #ruby
<havenwood> discreet: aha, then yup the first should be all that's needed
<discreet> havenwood: thank you
<havenwood> discreet: no prob
<discreet> my ruby skills are noobish
<discreet> havenwood: quick question though, instead of just <% else %> can i do <% else if @splunk_cluster == SplunkCluster Test %>
sdwrage has quit [Quit: Leaving]
<havenwood> discreet: elsif
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Eyess has quit [Quit: X probably crashed]
Hobogrammer has joined #ruby
<discreet> havenwood: right....lack of coffee
Eyes has joined #ruby
Eyes is now known as Eyess
xaxisx has joined #ruby
<Eulipion> havenwood: is there a way to chruby without having a shell?
shtirlic has joined #ruby
ghr has joined #ruby
dapz has joined #ruby
MindfulMonk has quit [Ping timeout: 240 seconds]
shlant has joined #ruby
<shlant> anyone familiar with sidekiq install/config?
Klumben has quit [Ping timeout: 240 seconds]
johnhamelink has quit [Ping timeout: 252 seconds]
linojon has joined #ruby
larissa has quit [Quit: Leaving]
<eam> >> class Foo; def initialize; return Foo.new; end; end; Foo.new
<eval-in__> eam => stack level too deep (SystemStackError) ... (https://eval.in/172681)
<linojon> can you think of a clever way to map a result that can be true, false, or nil, => ‘1’, ‘0’, nil
<eam> ah interesting, I got an honest to gosh segfault from that
ghr has quit [Ping timeout: 250 seconds]
<eam> (not from normal recursive methods though)
techsethi has quit [Quit: techsethi]
datafirm has quit [Quit: Computer has gone to sleep.]
lkba has quit [Ping timeout: 250 seconds]
datafirm has joined #ruby
n_blownapart has joined #ruby
Takle has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has quit [Ping timeout: 272 seconds]
dapz has joined #ruby
MindfulMonk has joined #ruby
IceDragon has joined #ruby
shlant has left #ruby [#ruby]
datafirm has quit [Ping timeout: 240 seconds]
JBreit has joined #ruby
mikeg has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 260 seconds]
jxf has joined #ruby
Wolland has joined #ruby
freerobby has quit [Quit: Leaving.]
<Eulipion> havenwood: is there a way to chruby without having a shell?
havenwood has quit [Remote host closed the connection]
mark_locklear has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
sdwrage has joined #ruby
relix has joined #ruby
mikesplain has joined #ruby
kireevco has joined #ruby
ephemerian has joined #ruby
yekta has quit [Quit: yekta]
andrewhl has quit [Quit: andrewhl]
interactionjaxsn has joined #ruby
dustint has joined #ruby
vadzimt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dustint> can any body explain to me what's wrong with redundant begin clause? https://github.com/bbatsov/rubocop/pull/964/files
mercwithamouth has quit [Ping timeout: 260 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codezomb has joined #ruby
<dustint> i feel like it should be fine..especially if u want to use in combo with rescue
hobodave has joined #ruby
<jhass> it's simply not needed if the full method body is in it, it just increases the noise and indentation
datafirm has joined #ruby
freerobby has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
mikepack has quit [Remote host closed the connection]
LiohAu has quit [Quit: LiohAu]
timonv_ has joined #ruby
heftig has joined #ruby
JBreit has left #ruby ["Leaving"]
MindfulMonk has quit [Read error: Connection timed out]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030_ has joined #ruby
j_mcnally has joined #ruby
MindfulMonk has joined #ruby
datafirm has quit [Client Quit]
mary5030_ has quit [Remote host closed the connection]
datafirm has joined #ruby
mary5030_ has joined #ruby
Cork has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 264 seconds]
shtirlic has quit [Quit: ZNC - http://znc.in]
pu22l3r_ has joined #ruby
lkba has joined #ruby
jxf has quit [Ping timeout: 256 seconds]
claymore has quit [Ping timeout: 260 seconds]
sdouglas has joined #ruby
blackmesa has joined #ruby
Elhu has joined #ruby
Elhu has quit [Client Quit]
claymore has joined #ruby
shtirlic has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
datafirm has quit [Ping timeout: 272 seconds]
vadzimt has joined #ruby
Klumben has joined #ruby
jheg has quit [Quit: jheg]
johnhamelink has joined #ruby
Gonzih has quit [Ping timeout: 272 seconds]
hogihung has left #ruby ["Leaving..."]
arya__ has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
<mostlybadfly> Hi guys can Array#sample give duplicate replies? For example in an array of a-z if I do array.sample(10) , will it always give unique replies?
MCDev has joined #ruby
sdouglas has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
Zenigor has quit [Remote host closed the connection]
sdouglas has joined #ruby
kachi8 has joined #ruby
g0bl1n has joined #ruby
<jhass> "The elements are chosen by using random and unique indices into the array in order to ensure that an element doesn’t repeat itself unless the array already contained duplicate elements." - http://ruby-doc.org/core-2.1.1/Array.html#method-i-sample
jxf has joined #ruby
michael_lee has joined #ruby
Zenigor has joined #ruby
thetabyte has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<eam> interesting, #sample doesn't raise if you ask for more samples than entries
g0bl1n has quit [Client Quit]
sdouglas has quit [Ping timeout: 240 seconds]
<thetabyte> Let's say I want to write a DSL to enable associating a list of items with a particular class, and have them be retrievable from class methods on said class — is there a best way to do this? Is there a reason to avoid storing the items in this list in a class variable, or a good reason to avoid class variables in a production environment in general?
<mostlybadfly> Yeah I guess I should've asked if there was a way to get it to not do that but I'd probably have to use rand
sepp2k has joined #ruby
dayepa1 has joined #ruby
fabrice31 has joined #ruby
timonv_ has quit [Remote host closed the connection]
<jhass> thetabyte: the issue with class variables is that they are shared among the ancestry chain, that means if you change them in a subclass, it's changed in the parent classes too. Because of that most people resort to instance variables in the Class object
dayepa has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
<jhass> *parent class and other subclasses
tus has quit []
Gonzih has joined #ruby
jheg has joined #ruby
braxtonplaxco has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
michael_lee has quit [Quit: Ex-Chat]
braxtonplaxco has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
pu22l3r has joined #ruby
<thetabyte> jhass: if the plan is for the class to never be subclassed, is there an advantage to either class variables or class instance variables?
awc737 has joined #ruby
Jake232 has joined #ruby
mikepack has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
<jhass> I see none, I never needed class variables so I avoided their potential for trouble
oso96_2000 is now known as oso|away
Ayey_ has quit [Quit: leaving]
mikepack has joined #ruby
Ayey_ has joined #ruby
<Ayey_> How do you access methods defined in a module? If its even possible to do
kireevco has quit [Read error: Connection reset by peer]
n_blowna_ has joined #ruby
<jhass> >> module A; def foo; @@foo; end; def foo= v; @@foo = v; end; end; class B; extend A; end; class C; extend A; end; B.foo = :a; C.foo = :b; [B.foo, C.foo] # thetabyte, see, it's true for modules too
<xybre> Ayey_: You include or extend the module on something.
<eval-in__> jhass => [:b, :b] (https://eval.in/172720)
kireevco has joined #ruby
<shevy> Ayey_ depends. can you say how you wish to use them? the simplest way is via include NameOfModule
bradleyprice has joined #ruby
<shevy> if standalone, then you can do def self.name, or extend self inside of the module
<shevy> >> module Foo; def self.bar; puts 'yo from bar'; end; end; Foo.bar
<eval-in__> shevy => yo from bar ... (https://eval.in/172721)
<Ayey_> I have an module which contains an method i need to access in a class outside the module
chipotle has quit [Quit: cya]
mikepack has quit [Read error: Connection reset by peer]
n_blownapart has quit [Ping timeout: 240 seconds]
aspires has quit []
mikepack has joined #ruby
* slash_nick chants "doo it, dooo it"
mattstratton has joined #ruby
garethrees has joined #ruby
yetanotherdave has joined #ruby
<slash_nick> >> module Foo;def bar; puts "yeah" end;end;class Bar;include Foo;end; Bar.new.bar
<eval-in__> slash_nick => yeah ... (https://eval.in/172722)
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has quit [Read error: Connection reset by peer]
<Ayey_> Ahh, thanks
charliesome has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
kireevco has quit [Quit: Leaving.]
dapz has joined #ruby
Deejay_ has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
fenicks has joined #ruby
lkba has joined #ruby
<shevy> yeah, typical use case for include
<shevy> even though slash_nick has a dangerous nick, he is quite a nice and helpful guy
garethrees has quit [Ping timeout: 240 seconds]
<slash_nick> hmm... i'm not really clear myself on when to use #include vs #extend
charliesome has joined #ruby
interactionjaxsn has quit []
<shevy> they are a bit different
<eam> >> module Foo;def bar; puts "yeah" end;end; Foo.instance_method(:bar).bind(self).call
<shevy> I used to think they are super similar
<eam> >> module Foo;def bar; "yeah" end;end; Foo.instance_method(:bar).bind(self).call
<eval-in__> eam => "yeah" (https://eval.in/172723)
<jhass> slash_nick: do you know what an objects singleton class is?
<shevy> module Foo; def foo; puts 'yo from foo'; end; end
<shevy> class Cat; end
benzrf|offline is now known as benzrf
<shevy> cat = Cat.new
<shevy> cat.extend Foo
<shevy> now cat has the method foo()
<slash_nick> jhass: no i guess not
<xybre> If you jsut "need" that one method, why not extract the method and rebind it?
<eam> I wish modules weren't a thing
senayar has joined #ruby
<shevy> eam hehehe
<xybre> eam++
mehlah has joined #ruby
<shevy> I don't like class vs. module distinction in regards to extending functionality
<eam> and I especially hate that I can't just say something like class Foo::Bar::Baz
<shevy> yeah you must know whether it is a class or module
<eam> ruby could and should totally figure out the type of Foo and Bar for me
<jhass> slash_nick: so every ruby object has an (on demand created) intermediate class in it's ancestry chain that only that single object has. In this class are all methods defined that are unique to that single object.
<shevy> yep eam
<jhass> slash_nick: extend simply is an include inside that singleton class
<shevy> perhaps in ruby 3.0
davispuh has quit [Read error: Connection reset by peer]
<jhass> slash_nick: so obj.singleton_class.send(:include, Foo) basically
tzero has joined #ruby
baweaver has joined #ruby
<eam> ruby takes a lot from many languages. the class/module dichotomoy must be a nod to visual basic
<shevy> not sure
<slash_nick> so if just that object needs it (the junk in the module) you extend, but if all instances of that class are known to need the stuff, include?
<shevy> I think it derived from matz using C++
kireevco has joined #ruby
<jhass> slash_nick: you may recognize the def self. pattern for "class methods", that's the same thing, defining methods in the Class objects singleton class
<shevy> and he hates C++
jheg has quit [Quit: jheg]
<shevy> like linus
Biohazard has quit [Remote host closed the connection]
davispuh has joined #ruby
<jhass> slash_nick: pretty much, though the most common usage is to add the module methods as "class methods"
charliesome has quit [Ping timeout: 240 seconds]
xaxisx has quit [Quit: xaxisx]
tzero has left #ruby ["WeeChat 0.4.3"]
rubytor has quit [Ping timeout: 264 seconds]
<xybre> It probably came from Ada or Perl.
<xybre> Most likely perl.
<eam> perl doesn't have module, perl only has class (called package)
xaxisx has joined #ruby
sunya7a has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
baweaver has quit [Ping timeout: 260 seconds]
senayar_ has joined #ruby
Gonzih has quit [Ping timeout: 240 seconds]
<slash_nick> i wonder if the original intent was to extend objects
<eam> honestly, the closest prior art to ruby's module/class really is VB: http://msdn.microsoft.com/en-us/library/7825002w(v=vs.90).aspx
ctp has joined #ruby
<shevy> Visual Studio 2008 ?
icarus_ is now known as icarus
Ankhers has quit [Remote host closed the connection]
<shevy> that year seems a bit ... recent
<xybre> They're not call modules, they're called mixins in most languages.
<eam> I'm not a vb pro but I believe the class system came about in the mid 90s
<shevy> yeah I am just reading up, that does not even seem to be anything similar really http://msdn.microsoft.com/en-us/library/aa733572%28v=vs.60%29.aspx
<eam> xybre: sure, but that's not really a thing in perl
<shevy> "There is never more than one copy of a standard module?s data."
claw_ has quit [Read error: Connection reset by peer]
shime has quit [Ping timeout: 272 seconds]
senayar has quit [Ping timeout: 256 seconds]
claw_ has joined #ruby
kirun has joined #ruby
<xybre> Looks like 1995 was when VB first got classes.
Deejay_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<xybre> eam: whats not a thing?
<eam> xybre: mixins in perl
maximski has quit []
<eam> there's no type in the package namespace
vdmgolub has joined #ruby
shime has joined #ruby
n_blowna_ has quit [Remote host closed the connection]
<eam> the "object" system is rather exposed and mutable sure
n_blownapart has joined #ruby
<benzrf> >perl
<benzrf> >objects
<benzrf> lel
alvaro_o_ has joined #ruby
memph1s has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
tcstar has quit [Quit: Leaving]
<eam> benzrf: perl oo is pretty swank
tcstar has joined #ruby
<xybre> perl6 oo is O_o
<eam> perl6 isn't perl
<shevy> perl6 was too good for its own sake
<xybre> eam: thank god
<shevy> well that actually was a mistake
blackmesa has joined #ruby
<xybre> perl6 isn't "was", its actively developed
<eam> ruby is perl7
<shevy> because I recall people who used perl5, including devs, stating that they do not even care about perl6
<shevy> so the community was fragmented
andrewjanssen has quit [Quit: Leaving...]
<xybre> Same with Python
thetabyte has left #ruby [#ruby]
chipotle has joined #ruby
<shevy> come on
<xybre> They're lazy fucks who don't want to upgrade.
<shevy> it's not soooooooooo bad with python
<xybre> Yeah? Who the hell uses Py3?
<shevy> I!!!
<xybre> I use perl6, so what?
<shevy> that is not perl xybre, you heard it here before
<shevy> :-)
choke has joined #ruby
jonathan_alban has joined #ruby
<shevy> python3 surely fixed some need
<shevy> print() vs print
<shevy> ohhh
<shevy> benzrf, Oejet from #gobolinux knows you
<n_blownapart> hey anyone use freebsd ? I heard you cant put python 3 on it
<shevy> <Oejet> shevy: benzrf is 17 years old, and is pretty active in #haskell-blah.
<shevy> benzrf, he also said that he is not smart enough for C; yet he used haskell
<shevy> so that implies, haskell is easier than C
<shevy> n_blownapart I found freebsd harder to use than linux
naw has quit [Read error: Connection reset by peer]
<choke> n_blownapart you can put python 3 on freebsd... I haven't done it myself as I don't do much python work... default is 2.6, but you can install 3.1 or later... just have to set the PYTHON_DEFAULT_VERSION
naw has joined #ruby
naw has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
<shevy> wow
<shevy> python 2.6
<shevy> freebsd is still faster than centos
<choke> yeah, that's circa 2011 era lol
anaeem1 has joined #ruby
<xybre> python 3 came out in like 2009 and people still default to 2.
DrCode has quit [Ping timeout: 264 seconds]
<eam> shevy: eh that ain't true
naw has joined #ruby
<eam> linux pretty reliably crushes freebsd in performance
<choke> centos just sucks.... centos is only good, if you're running a shared web host and NEED cpanel/whm....
exgf has quit [Ping timeout: 264 seconds]
St_Marx has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby
<n_blownapart> shevy: I am putting the desktop version on a new machine as per suggestion of friend. its called pc-bsd.
<eam> choke: centos is great -- it's the only real alternative for large deployments
havenwood has joined #ruby
charliesome has joined #ruby
<n_blownapart> thanks choke shevy
<choke> All of my servers run ubuntu
<eam> choke: how large is your deployment in terms of servers, and in terms of developers building for your platform?
<eam> from what I've seen ubuntu is used primarily by small shops
<eam> both in terms of dev and footprint
<eam> (at that scale, who cares)
anaeem1 has quit [Read error: Connection reset by peer]
papercode has joined #ruby
memph1s has joined #ruby
rubytor has joined #ruby
<choke> Right now, personally I have 4 servers with just me.... My company servers however, we've got 18 running right now, and a total of 12 developers spread across 3 projects
naw has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
naw has joined #ruby
naw has quit [Read error: Connection reset by peer]
Cork has joined #ruby
decoponio has quit [Quit: Leaving...]
<eam> centos (RHEL) has a ton of value when you've got thousands of developers and tens or hundreds of thousands of varied hardware
<havenwood> Eulipion: You mean a non-login shell? Since chruby is written in shell you'd need shell. :P
naw has joined #ruby
vdmgolub has quit [Ping timeout: 256 seconds]
<eam> software lifecycle planning is a huge factor
anaeem1 has joined #ruby
nanoyak has joined #ruby
<eam> if you've got just a handful of boxes then you can afford to just rebuild everything
naw has quit [Read error: Connection reset by peer]
<eam> and hardware support is enumerable and managable
elaptics is now known as elaptics`away
naw has joined #ruby
naw has quit [Read error: Connection reset by peer]
fjfish has joined #ruby
<choke> eam, Yeah I could see that being the case -- though the current setup I don't think we'll really have much of an issue if we ever got that large ( I don't really see us getting any bigger than maybe 30 developers total ) seeing as 99% of our work is closed-source
<eam> yeah, at that scale you can kinda pick any platform
naw has joined #ruby
DrCode has joined #ruby
<eam> you can probably recompile your whole software base in a few hours if you want to switch up to a new distro
Cork has quit [Read error: Connection reset by peer]
xaxisx has quit [Quit: xaxisx]
axl_ has quit [Quit: axl_]
axl__ is now known as axl_
<havenwood> Eulipion: I actually played around with porting chruby to go, then you'd not need shell. >.> There're problems though, like no os.Unsetenv existing, etc.
francisfish has quit [Ping timeout: 250 seconds]
Shidash has quit [Quit: Leaving.]
<havenwood> Eulipion: But yeah you can get chruby working with a non-login shell if that's what you mean.
exgf has joined #ruby
<n_blownapart> eam choke so bail on bsd ? I have a laptop with bodhi (ubuntu) . My friend was talking about superior security of bsd.
zorak has joined #ruby
St_Marx has joined #ruby
Hamburglr has quit [Read error: Connection reset by peer]
<eam> n_blownapart: learn whatever you like. In terms of function, the application requirements typically dictate the platform
<Eulipion> havenwood: im using poise-ruby now. at this point im about to make my devs package their code with omnibus.
rubytor has quit [Ping timeout: 260 seconds]
jheg has joined #ruby
xaxisx has joined #ruby
<eam> n_blownapart: there's not really any superior security, though
<eam> nor performance
<eam> (in either direction)
<havenwood> Eulipion: Haven't heard of poise, I'll have to take a look.
<Eulipion> none the ruby env switchers do everything that i need for automcated deployments, really wish ruby used virtualenv like python
<eam> at least not on the level relevant to what you'll be doing
jheg has quit [Client Quit]
<Eulipion> poise is @coderanger's chef cookbook
<n_blownapart> eam interesting. thanks. I like mac and I live in berkeley CA. my needs are minimal, it is more symbolic maybe.
geardev has joined #ruby
<xybre> BSD is supposed to be secure by default, linux distros usually leave that up to you.
<eam> personally I prefer the ideals behind the GPL to the BSD approach
<havenwood> Eulipion: Installing Ruby to /usr/local with ruby-install works well for me. I don't run more than one Ruby in production anyways.
<benzrf> py3 is where they fix the flaws that would break backwards compatability
<geardev> any chance that the next version of ruby will drop the `end` keyword and allow you to use whitespace to signify blocks? coffeescript does this, and i love it
<havenwood> Eulipion: And chruby works well for dev.
<havenwood> geardev: no chance
phutchins has quit [Ping timeout: 272 seconds]
<geardev> havenwood: why?
mehlah has quit [Quit: Leaving...]
senayar_ has quit [Read error: Connection reset by peer]
davispuh has quit [Remote host closed the connection]
<n_blownapart> xybre: thanks cool . eam i.e. the ideals behind the GPL *of* the BSD approach?
bruno- has quit [Ping timeout: 256 seconds]
<eam> n_blownapart: hm?
thetabyte has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
vsoftoiletpaper has joined #ruby
<eam> n_blownapart: I mean, I prefer to support copyleft systems over BSD licensed
<n_blownapart> eam copyleft sorry no capiche
<deepy> I'm the opposite, whenever I see a 2 or 3 clause BSD license I feel inclined to send patches
davispuh has joined #ruby
<eam> n_blownapart: linux is licensed under the GPL, which requires sharing of development. BSD does not, so the product can be incorporated into a closed system (for example, there's BSD code in Microsoft Windows)
<shevy> you guys should include which version
<shevy> GPL could mean GPL 2 and GPL 3
<eam> shevy: or affero!
<eam> BSD might be with or without the advert clause too
<xybre> affero is a cool idea.
olivier_bK has joined #ruby
frem has joined #ruby
<n_blownapart> eam deepy I guess linux has a more kind learning curve too?
andrewjanssen has joined #ruby
<xybre> BSD and Linux should be about the same learnign curve.
<deepy> n_blownapart: if you're talking about operating systems, Linux and BSD has pretty much the exact same issues
<eam> n_blownapart: not really. They're fairly similar and if you have much interest in this area you'll probably end up learning both
<deepy> (when it comes to learning)
<shevy> xybre well, that may also depend on the amount of resources available
<eam> linux is quite a bit more approachable I think
<eam> the userland is a LOT easier to work with
JoshGlzBrk has joined #ruby
<frem> Q: Why does inject fail when I try to ignore nils? https://gist.github.com/jamesgecko/5360040b931b949377a6
<eam> and the tools are better as there's more development activity
xaxisx has quit [Quit: xaxisx]
<xybre> Linux will have more resources, but as a dark horse BSD will have a more educated community and be more apt to help you troubleshoot.
<shevy> frem is a nil?
<eam> but OTOH there's a lot of crap in many popular distro
<atmosx> hello
rubytor has joined #ruby
<shevy> frem yeah it is I just tested your code
<xybre> For instance I've gotten a lot of help troubleshotting any issue with Haiku, but Linux people usually jsut say some variation on RTFM.
<shevy> I get: Array Array NilClass
<n_blownapart> dang ok many thanks. deepy eam shevy
i_s has joined #ruby
<eam> xybre: depends on which part of the enormous community you're in :)
<atmosx> xybre: BSD people are way less kind than many linux communities (as in distributions)
<n_blownapart> xybre: that is worth considering thanks
<shevy> I am innocent, I didn't do anything!
<thetabyte> Looking for design critique. I have a series of classes that are workers for the Sidekiq queueing system. I have a process requires that a series of jobs be run. Each of these jobs (excepting the first) has a list of other jobs that must complete before they can be run. Additionally, some of these jobs cannot be enqueued until previous jobs complete, because their arguments rely on the output of previous jobs. I'm thinking of writing a cen
<shevy> Haiku is cool
sigurding has quit [Quit: sigurding]
timonv_ has quit [Remote host closed the connection]
<frem> shevy: I don't understand. What's an array, now?
<jhass> frem: the block returns nil when n is nil, so in the next iteration a is nil. You want #each_with_object
ndrei has quit [Ping timeout: 264 seconds]
<shevy> frem for instance this is an array: array = [1,2,3]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
<shevy> frem the nil object in ruby is not very useful, and your variable called a is nil in the last iteration
n_blownapart has quit [Remote host closed the connection]
senayar has joined #ruby
<frem> Oh, ok. Thanks!
thisirs` has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
danijoo has joined #ruby
xerxas has quit [Quit: Connection closed for inactivity]
<shevy> do you guys use colours in your commandline .rb files?
<jhass> what are "commandline .rb files"?
godd2 has joined #ruby
<shevy> those you run from the commandline and that do something, and eventually may also output stuff to you
ndrei has joined #ruby
<godd2> I'm trying to get pry to trigger inside an rspec it block. any reason why binding.pry isn't working?
<jhass> mmh, sometimes
<jhass> godd2: that worked fine for me in the past
jottr is now known as elementz
nobitanobi has joined #ruby
frankle has quit [Quit: Connection closed for inactivity]
zenojis has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
Gonzih has joined #ruby
Vivekananda_y510 has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
<nobitanobi> Guys, when I use Process.spawn from a Ruby process, does the spawned process share memory with the parent?
braxtonplaxco has quit [Quit: braxtonplaxco]
<eam> nobitanobi: no
<nobitanobi> uhm
zenojis has joined #ruby
<nobitanobi> eam: so who decides how much memory does this new process have? The OS directly?
guinsly has joined #ruby
<eam> nobitanobi: yes
<godd2> jhass did you have to have pry-debugger installed for it to work?
<nobitanobi> eam: interesting
<jhass> godd2: I do have pry-byebug but I don't think that's what made it work
jheg has joined #ruby
<eam> nobitanobi: just like when you run a command on the commandline -- it's a separate program, allocates its own memory, etc
<nobitanobi> eam: interesting. I was looking at http://ruby-doc.org/core-1.9.3/Process.html RLIMIT_MEMLOCK
garethrees has joined #ruby
x1337807x has quit [Ping timeout: 256 seconds]
Eyess has quit [Remote host closed the connection]
<eam> nobitanobi: you probably don't have any locked memory at all
<nobitanobi> So, that made me think that is actually the Ruby process that controls (shares) memory
<godd2> jhass hmm. even putting a puts in the it block and then running rspec filename.rb isn't putsing anything
<eam> nobitanobi: some rlimits are shared across all processes owned by a user, others are per-process specific
<nobitanobi> eam: right. I am just seeing problems when spawning PhantomJS from Ruby
<jhass> godd2: sure you run the file you edit?
<Eulipion> anyone know how to install the "pg" gem? "Can't find the PostgreSQL client library (libpq)" - i've installed all the dev libs
<nobitanobi> eam: ok
<eam> nobitanobi: every operating system may have its own methods for limiting process resources
<eam> nobitanobi: maybe start by describing the problem? :)
rubytor_ has joined #ruby
<nobitanobi> Eulipion: which OS do you have?
<Eulipion> debian 7
Eyes has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rubytor_ is now known as Guest79430
<nobitanobi> Eulipion: try specifying the pg-config when installing the gem. On OSX I do this: gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config
<jhass> godd2: any caching going on? guard? spork?
rubytor has quit [Ping timeout: 260 seconds]
<nobitanobi> eam: yeah, it's an interesting and non consistent problem when trying to parse some pages using PhantomJS
<godd2> Im not using guard or spork. they aren't even installed
<nobitanobi> so, it's ok, I need to debug it further :)
<nobitanobi> just wanted to make sure it wasn't PhantomJS running out of memory because Ruby wasn't giving it enough
garethrees has quit [Ping timeout: 250 seconds]
<eam> nobitanobi: definitely not the case. You can look at your limits with ulimit -a
<eam> (and set them that way too)
<nobitanobi> eam: perfect
ctp has joined #ruby
<nobitanobi> thanks :)
<Eulipion> nobitanobi: same thing
<godd2> does rspec override $STDOUT ?
<jhass> godd2: what's the output with --format documentation
xaxisx has joined #ruby
<nobitanobi> Eulipion: I don't know then, sorry.
Eyes is now known as Eyess
<jhass> godd2: $STDOUT I don't know, but $stdout, no, not that I would have noticed
<Eulipion> ruby should marry php, move somewhere, and die together
djbkd has joined #ruby
<eam> Eulipion: that'd pretty much be incest between siblings
<Eulipion> they're perfect for eachother
<Eulipion> like when u see 2 500lbs blobs walk into mcdonalds together
<jhass> godd2: well, you put it behind the line that throws the exception
<jhass> of course it's never reached
<godd2> oooh
<godd2> I see my folly now. Thank you
AntelopeSalad has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
lucianosousa has joined #ruby
kireevco has quit [Quit: Leaving.]
jackneill has quit [Read error: Connection reset by peer]
senayar has quit [Read error: Connection reset by peer]
pasties has quit [Read error: Connection reset by peer]
senayar has joined #ruby
jfran_ has joined #ruby
bwilson has quit [Quit: bwilson]
thetabyte has quit [Remote host closed the connection]
aspires has joined #ruby
yetanotherdave has quit [Ping timeout: 250 seconds]
TheDudeAbides has joined #ruby
pasties has joined #ruby
minusplus has quit [Quit: Leaving]
davispuh has quit [Read error: Connection reset by peer]
TheDudeAbides has quit [Remote host closed the connection]
jfran has quit [Read error: Connection reset by peer]
charliesome_ has joined #ruby
jgt has joined #ruby
paulfm has quit []
charliesome has quit [Ping timeout: 256 seconds]
paulfm has joined #ruby
chipotle has quit [Quit: cya]
supermat has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mark_locklear has quit [Ping timeout: 240 seconds]
Fusl has quit [Ping timeout: 272 seconds]
centrx has joined #ruby
GriffinHeart has joined #ruby
jheg has quit [Quit: jheg]
benzrf is now known as benzrf|offline
shime has quit [Ping timeout: 264 seconds]
mehlah has joined #ruby
dawkirst has quit [Remote host closed the connection]
Spami has joined #ruby
dawkirst has joined #ruby
Ayey_ has quit [Quit: leaving]
shime has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
nanoyak has quit [Read error: Connection reset by peer]
ItSANgo has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby
nanoyak has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
ItSANgo_ has joined #ruby
jgt has quit []
xaxisx has quit [Quit: xaxisx]
foo-bar- has quit [Remote host closed the connection]
johnmolina has joined #ruby
fabrice31 has joined #ruby
Zenigor has quit [Remote host closed the connection]
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrishough has quit [Quit: chrishough]
xaxisx has joined #ruby
ItSANgo_ has quit [Read error: Connection reset by peer]
g0bl1n has joined #ruby
guinsly has quit [Ping timeout: 264 seconds]
ItSANgo has joined #ruby
Zenigor has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 240 seconds]
ItSANg___ has joined #ruby
Takle has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
shtirlic has quit [Quit: ZNC - http://znc.in]
Guest79430 has quit [Read error: Connection reset by peer]
Zenigor has quit [Remote host closed the connection]
shime has quit [Ping timeout: 272 seconds]
shtirlic has joined #ruby
jheg has joined #ruby
obscured has quit [Quit: leaving]
supermat has joined #ruby
Eiam has joined #ruby
jheg has quit [Client Quit]
rubytor has joined #ruby
<Eiam> I want to print out the arguments values passed into a function; I tried something like method(__method__).parameters.map{|arg| eval arg[1].to_s} but I can't get the values just the requirement and name
armyriad has quit [Ping timeout: 264 seconds]
Fusl has joined #ruby
<Eiam> basically i want to find the *args construct without defining it on the function in advance
armyriad has joined #ruby
<jhass> You need to override and pass on to the original
<apeiros> Eiam: you can't get the arguments passed to the method through introspection
<Eiam> damn, I don't want to type them again when I pass them onto another function
<apeiros> then use *args
sameerynho has joined #ruby
<Eiam> I don't want to define *args on the function =)
tomblomfield has quit [Quit: Computer has gone to sleep.]
<apeiros> *method
senayar has quit [Read error: Connection reset by peer]
<apeiros> no functions in ruby
ItSANg___ has quit [Read error: Connection reset by peer]
<Eiam> w/e
<apeiros> well, then you're out of luck, I guess
<Eiam> okay so, not possible to get arguments
<Eiam> thats a bummer
senayar has joined #ruby
<Eiam> why can you get the parameters and type but not the value?
<apeiros> nope. no `arguments` like in js
ItSANgo_ has joined #ruby
<apeiros> you can't get the type
<Eiam> you can get if its requried or optional
<Eiam> sorry
<apeiros> you can only get the method definition. not what got passed.
<Eiam> thats what i meant by "type"
<centrx> Binding may work, but this just sounds like a bad design
<Eiam> its more because i want to see if it can be done
<Eiam> not like a design pattern being implemented anywhere =)
thisirs` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
thisirs has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<centrx> Eiam, The method signature requires the args to be specified
paulfm has quit []
jheg has joined #ruby
jaimef has quit [Excess Flood]
ItSANgo_ has quit [Read error: Connection reset by peer]
jxf has quit [Ping timeout: 250 seconds]
<centrx> Eiam, You may be able to access the args a different way, though the Binding, if called at the beginning of the method, but this might include other variables too
<Eiam> centrx: hmm im not familiar with this contruct lemme google
ItSANg___ has joined #ruby
jfran has joined #ruby
tomblomfield has joined #ruby
<Eiam> binding.local_variable_get
saarinen has quit [Quit: saarinen]
duggiefresh has quit []
<Eiam> hmm, requires i know the parameter name though
<centrx> It's a level of introspection that is generally not required because the variable is right in the code
codabrink has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Eiam> I know =)
<Eiam> I've already totally implemented the code by just passing the value on, I'm just being curious now =)
jfran_ has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
saarinen has joined #ruby
CaptainJet has quit []
tomblomfield has quit [Client Quit]
<Eiam> okay, don't think any of this leads me to a nice little "args[0]" type construct that will just forward the value on without significantly more code so
g0bl1n has quit [Quit: g0bl1n]
jaimef has joined #ruby
SBoolean has quit [Remote host closed the connection]
MCDev has quit [Ping timeout: 250 seconds]
Xeago__ has joined #ruby
<centrx> def initialize(*args); @args = args; end is not so bad
<centrx> You could even put it in a module so it only needs to be written once
Xeago has quit [Ping timeout: 240 seconds]
<Eiam> I know, that wasn't the point however
oso|away has quit [Ping timeout: 256 seconds]
<Eiam> I'm just writing a little script to generate some analytics based on some data, it'll be run once to just look at some information and I was playing around with ruby because its fun to do so
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sivoais has quit [Ping timeout: 256 seconds]
<Eiam> i literally wanted to do something that was completely unnecessary and had several cleaner, obvious ways to solve the problem. (it wasn't even a problem, just a curiosity)
PixelCrumbs has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
wasamasa has quit [*.net *.split]
l3kn has quit [*.net *.split]
adambeynon has quit [*.net *.split]
aalmenar has quit [*.net *.split]
dwts has quit [*.net *.split]
ereslibre has quit [*.net *.split]
Mars` has quit [*.net *.split]
kalleth has quit [*.net *.split]
mclee has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
artmann has quit [*.net *.split]
weeb1e_ has quit [*.net *.split]
inukshuk has quit [*.net *.split]
stian has quit [*.net *.split]
Su7 has quit [*.net *.split]
Tranquility has quit [*.net *.split]
contradictioned has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
xybre has quit [*.net *.split]
jorendorff has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
sirecote has quit [*.net *.split]
ninegrid has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
lxsameer has quit [Write error: Connection reset by peer]
Xeago_ has quit [Ping timeout: 260 seconds]
oso|away has joined #ruby
PaulePanter has joined #ruby
Su7 has joined #ruby
Jello_Raptor has joined #ruby
cHarNe2 has joined #ruby
<shevy> oh damn
PixelCrumbs has joined #ruby
wasamasa has joined #ruby
oso|away is now known as oso96_2000
ninegrid has joined #ruby
inukshuk has joined #ruby
<shevy> all the time I thought eam and Eiam are the same person! :(
xybre has joined #ruby
tessi_zz has joined #ruby
sivoais has joined #ruby
sivoais has quit [Changing host]
sivoais has joined #ruby
xybre has quit [Changing host]
xybre has joined #ruby
adambeynon has joined #ruby
jorendorff has joined #ruby
l3kn has joined #ruby
cbetta has joined #ruby
Mars` has joined #ruby
sirecote has joined #ruby
<shevy> now I am confused... who of you is the perl guru really?
Tranquility has joined #ruby
Dreamer3 has joined #ruby
<Eiam> shevy: sorry, we are not
<Eiam> I'm the better, superior version.
stian has joined #ruby
kalleth has joined #ruby
contradictioned has joined #ruby
artmann has joined #ruby
weeb1e has joined #ruby
BackEndCoder has joined #ruby
<Eiam> 100% not me
<Eiam> I f'ing hate perl
<Eiam> =)
frellnet has quit [Remote host closed the connection]
mclee has joined #ruby
vsoftoiletpaper has quit []
alexa_ has quit [Ping timeout: 240 seconds]
* Eiam cedes that title to eam
<Eiam> eam: stay away from my repo's
frellnet has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
aalmenar has joined #ruby
ereslibre has joined #ruby
aalmenar has joined #ruby
ereslibre has joined #ruby
<Eiam> I have a new hire that just started and he has never used Ruby (but came from Scala) and has started to really like Ruby
<Eiam> so, go Ruby =)
<jameyd> is anybody having trouble pinging rubygems
<jameyd> our deploys are dying
<Eiam> 64 bytes from 176.74.176.178: icmp_seq=0 ttl=46 time=170.071 ms
<Eiam> 170ms is stupid long for me so
<jameyd> dang
<Eiam> thats double every other site i try at the moment
<Eiam> (but still not like, concerning overall)
sixxy has joined #ruby
vsoftoiletpaper has joined #ruby
dwts has joined #ruby
<Eiam> shevy: but you still like me right? we cool?
<Eulipion> Eiam: that's 1 of many reasons why u should have ur own gem repo
senayar has quit [Read error: Connection reset by peer]
<Eiam> Eulipion: => jameyd
<jameyd> several people around the city can't ping it.....
<Eiam> jameyd: perhaps a gateway router is having issues
treehug88 has quit []
<Eiam> what city?
frellnet has quit [Ping timeout: 240 seconds]
<Eiam> chicago?
graft has quit [Quit: Lost terminal]
<Xeago__> My pings are fine, slightly higher than usual, but my bandwidth is below a kB…
<Eiam> or hte UK?
<jameyd> Eulipion: i know... right now we are developing on diff architecture than in production, bad bad, but it's a new project. so i've had trouble caching the downloads because things like libv8 pull down diff gems
<shevy> Eiam hmm ok good
charliesome has joined #ruby
<shevy> one of you two loves perl, the other one hates perl - that is easy to remember
<jameyd> portland
senayar has joined #ruby
<Eiam> shevy: =) yup. I'm also the guy in #swift-lang and hes not so there is that? =)
<jameyd> Eiam: i've found a spiritual bond between scala and ruby
<shevy> swift is too new to remember
ldnunes has quit [Quit: Leaving]
<Eiam> and I 100% stole that channel name from #ruby-lang
testcore has joined #ruby
<Eiam> thats exactly why I named it that channel. (and #swift was taken)
diegoviola has quit [Quit: WeeChat 0.4.3]
<centrx> -ChanServ- [#swift] This channel is for the student organization at Cal Poly Pomona. Please look elsewhere for help with Openstack or Apple's language.
compAz has quit [Remote host closed the connection]
<Eiam> centrx: yeah they could just redirect to #swift-lang but, w/e
dblessing has quit [Quit: dblessing]
timonv_ has quit [Ping timeout: 256 seconds]
charliesome has quit [Read error: Connection reset by peer]
<Eiam> oh, they did in the title, good on them =)
charliesome_ has joined #ruby
jerius has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
claymore has quit [Quit: Leaving]
havenwood has quit []
rubytor has joined #ruby
jarray52 has joined #ruby
charliesome_ has quit [Read error: Connection reset by peer]
zorak has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
jerius has quit [Client Quit]
djbkd has joined #ruby
kevind has quit [Quit: kevind]
bruno- has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has quit []
mikesplain has quit [Ping timeout: 240 seconds]
discreet has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
dapz has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 240 seconds]
Xeago__ has quit [Ping timeout: 256 seconds]
qwyeth has quit [Quit: Leaving]
hmsimha has quit [Ping timeout: 264 seconds]
rubytor_ has joined #ruby
rubytor_ is now known as Guest80913
xaxisx has quit [Quit: xaxisx]
mattstratton has joined #ruby
rubytor has quit [Ping timeout: 260 seconds]
kevind has joined #ruby
Xeago has joined #ruby
mattstratton has quit [Client Quit]
thumpba_ has joined #ruby
zorak has joined #ruby
thumpba has quit [Read error: Connection reset by peer]
xerxas has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
Guest80913 has quit [Ping timeout: 240 seconds]
jonathan_alban has quit [Ping timeout: 260 seconds]
failshell has quit []
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tacos1de has quit [Ping timeout: 264 seconds]
dapz has joined #ruby
amargherio has quit [Read error: Connection reset by peer]
centrx has quit [Quit: Mead error: Connection reset by beer]
mikepack_ has joined #ruby
jay has joined #ruby
p0sixpscl has quit [Quit: went to sleep. ZZzz.]
<jameyd> does this ring a bell to anybody? on deployment vms, getting "Could not find rake-10.3.2 in any of the sources" on bundle install
<jameyd> was not happening this morning
Gonzih has quit [Ping timeout: 240 seconds]
rubytor has joined #ruby
perety1 has joined #ruby
hmsimha has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
mijicd has joined #ruby
perety1 has left #ruby [#ruby]
charliesome has quit [Ping timeout: 260 seconds]
rubytor has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
datafirm has joined #ruby
Dreamer3 has quit [Quit: Leaving...]
danijoo has quit [Read error: Connection reset by peer]
rubytor has joined #ruby
danijoo has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
sixxy has quit [Remote host closed the connection]
icarus has quit [Ping timeout: 272 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<agent_white> Is there any pre-built bots out there for parsing code inside a channel? -- Basically looking to drop a Ruby bot in a channel of mine, so I can shoot it snippets of code like the bot here.
djbkd has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
x1337807x has joined #ruby
edgarjs is now known as edgarjs_afk
andrewlio has quit [Quit: Leaving.]
buub has quit [Remote host closed the connection]
buub_ has quit [Remote host closed the connection]
rubytor has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
jay has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
jay has joined #ruby
nobitanobi has quit [Ping timeout: 264 seconds]
echevemaster has joined #ruby
rubytor has joined #ruby
wldcordeiro has joined #ruby
MrL0ngbowman has joined #ruby
benzrf|offline is now known as benzrf
lw has quit [Quit: s]
phutchins has joined #ruby
doodlehaus has quit [Remote host closed the connection]
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrishough has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rydekull has quit [Changing host]
Rydekull has joined #ruby
MrL0ngbowman has quit [Client Quit]
weems|work has quit [Quit: weems|work]
MrL0ngbowman has joined #ruby
rubytor has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
jay has quit [Read error: Connection reset by peer]
jay____ has joined #ruby
rubytor has joined #ruby
axsuul has joined #ruby
saarinen has quit [Quit: saarinen]
treehug88 has joined #ruby
kirun_ has joined #ruby
Poky has quit [Ping timeout: 272 seconds]
xanatos has quit [Quit: Saliendo]
saarinen has joined #ruby
treehug88 has quit [Client Quit]
kirun has quit [Ping timeout: 264 seconds]
senayar has quit [Remote host closed the connection]
elementz has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
aspires has quit []
MrL0ngbowman has quit [Quit: Leaving]
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
ylluminate has quit [Read error: Connection reset by peer]
edgarjs_afk is now known as edgarjs
hobodave has quit [Quit: Computer has gone to sleep.]
senayar has quit [Read error: Connection reset by peer]
bpgoldsb has quit [Ping timeout: 240 seconds]
Lulzon has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
<theharshest> Can anyone help me get the issue here? - https://gist.github.com/theharshest/590c73e0126803f71c3b
<theharshest> when I do "include B", I get uninitialized constant A::C::B
senayar has quit [Remote host closed the connection]
ged has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
Hien has quit [Ping timeout: 240 seconds]
ged has joined #ruby
Cork has joined #ruby
MrL0ngbowman has joined #ruby
Cork is now known as Guest68385
lmickh has quit [Remote host closed the connection]
tunabee has joined #ruby
bpgoldsb has joined #ruby
lucianosousa has quit [Ping timeout: 240 seconds]
tacos1de has joined #ruby
Hien has joined #ruby
mr_rich101 has quit [K-Lined]
Shidash has joined #ruby
sailias has joined #ruby
bruno- has joined #ruby
yfeldblum has joined #ruby
Guest68385 has quit [Changing host]
Guest68385 has joined #ruby
jheg has quit [Quit: jheg]
Guest68385 is now known as Cork
sdwrage has quit [Quit: This computer has gone to sleep]
chipotle has joined #ruby
garethrees has joined #ruby
chipotle has quit [Client Quit]
riotjones has quit [Ping timeout: 240 seconds]
<jameyd> agent_white: like this? https://hubot.github.com/
<jameyd> oh nevermind
jelera has joined #ruby
<jameyd> reading comprehension fail
jelera has quit [Remote host closed the connection]
jelera has joined #ruby
anaeem1 has quit [Remote host closed the connection]
nobodyzzz has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
<agent_white> jameyd: Hehe no worries.
<agent_white> I may just look into spinning up my own. Just need to figure out sandboxing.
sunya7a has joined #ruby
<jhass> theharshest: you did require 'f1' in f2?
<theharshest> jhass: no, coz module B is defined in module A
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
jobewan has quit [Quit: Leaving]
<jhass> but how should f2 know it if that code is never loaded?
garethrees has quit [Ping timeout: 272 seconds]
<theharshest> jhass: I'm using "include B"
<jhass> yes, but if you don't require f1, that code is never loaded and thus B is never defined
mary5030 has joined #ruby
<jhass> and that's what the error is telling you
ramfjord has joined #ruby
kirun_ has quit [Quit: Client exiting]
FarLight has joined #ruby
<theharshest> jhass: oh ok, thanks
SCommette has quit [Quit: SCommette]
anaeem1 has joined #ruby
rubytor has quit [Read error: Connection reset by peer]
ffranz has quit [Quit: Leaving]
rubytor has joined #ruby
sunya7a has quit [Ping timeout: 272 seconds]
nowthatsamatt has joined #ruby
linojon has quit [Quit: linojon]
mary5030_ has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<wasamasa> agent_white: namespaces?
danijoo has joined #ruby
billy_ran_away_ has joined #ruby
baweaver has joined #ruby
MCDev has joined #ruby
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<agent_white> wasamasa: What's that?
anaeem1 has quit [Remote host closed the connection]
MrL0ngbowman has quit [Remote host closed the connection]
jelera has quit [Read error: Connection reset by peer]
<wasamasa> agent_white: well, if I remember correctly that matz guy though elisp was so well designed he let himself inspire by that you could do the very same by using the sandboxing approach fsbot on #emacs does
asdasdasdasss has quit [Quit: Computer has gone to sleep.]
ARCADIVS has joined #ruby
<wasamasa> agent_white: which takes the command, turns the symbols into strings, prepends a namespace, turns them into symbols again, then looks up whether they're in the pool of safe symbols
SilkFox has joined #ruby
asdasdasdasss has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
<agent_white> wasamasa: Ooo... good idea! I'll look into that! Thank you! :D
kaiserpathos has joined #ruby
<wasamasa> seems to be that one
razum2um has quit [Quit: Leaving.]
baweaver has quit [Ping timeout: 260 seconds]
razum2um has joined #ruby
razum2um has quit [Client Quit]
lw has joined #ruby
iamjarvo has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
geardev has quit [Quit: leaving]
asdasdasdasss has quit [Ping timeout: 240 seconds]
rubytor has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
tunabee_ has joined #ruby
mordof has quit [Ping timeout: 240 seconds]
tunabee_ has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
sailias has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
tunabee has quit [Ping timeout: 272 seconds]
jhass is now known as jhass|off
armyriad has quit [Ping timeout: 272 seconds]
SCommette has joined #ruby
mikepack_ has quit [Remote host closed the connection]
mikepack has joined #ruby
timonv_ has joined #ruby
ylluminate has joined #ruby
yetanotherdave has joined #ruby
Zenigor has joined #ruby
ItSANg___ has quit [Read error: Connection reset by peer]
ItSANgo__ has joined #ruby
johnmolina has quit [Remote host closed the connection]
athan has joined #ruby
ItSANgo__ has quit [Read error: Connection reset by peer]
mikesplain has joined #ruby
ItSANgo_ has joined #ruby
johnmolina has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cloaked1 has joined #ruby
lolmaus has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<athan> Hi folks! Is there a [(Bison,Flex),(Happy,Alex),(CUP,JLex)] analogue for Ruby?
ylluminarious has joined #ruby
jottr has joined #ruby
DivineEntity has joined #ruby
mikesplain has quit [Ping timeout: 272 seconds]
johnmolina has quit [Ping timeout: 264 seconds]
kaiserpathos has quit []
<Eulipion> can someone help me build the "pg" gem. been banging my head for hours on this one. http://pastebin.com/PXJhmQQc
jaimef has quit [Excess Flood]
<jameyd> Eulipion: did you install postgres via brew
snath has quit [Ping timeout: 240 seconds]
<Eulipion> jameyd: its debian 7
SilkFox has quit [Ping timeout: 272 seconds]
<jameyd> ah ok
<jameyd> i have the rapid answer for os x :)
tmcgoo has joined #ruby
edgarjs is now known as edgarjs_afk
yfeldblum has quit [Read error: Connection reset by peer]
johnmolina has joined #ruby
yfeldblum has joined #ruby
FarLight has quit [Quit: Leaving]
jaimef has joined #ruby
<jameyd> (i assume you've installed the necessary postgres packages)
yfeldblum has quit [Read error: Connection reset by peer]
<Eulipion> jameyd: yes, all the possible libs, even build it from src
asdasdasdasss has joined #ruby
dangerousdave has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
edgarjs_afk is now known as edgarjs
CodeLicker2 has joined #ruby
<cloaked1> good day everyone. So, curious...I want to create a module with methods that are called by classes within the module. See http://hastebin.com/epamufokiy.coffee
yfeldblum has joined #ruby
<cloaked1> Like to know what I'm doing wrong to make that work the way I'd expect.
CodeLicker has quit [Ping timeout: 264 seconds]
dangerou_ has quit [Ping timeout: 240 seconds]
<jameyd> Eulipion: including libpq-dev?
edgarjs is now known as edgarjs_afk
ItSANgo_ has quit [Quit: Leaving...]
snath has joined #ruby
<jameyd> Eulipion: are you using rvm
MCDev has quit [Ping timeout: 250 seconds]
<Eulipion> jameyd: im using poise-ruby, which is essentially system
<Eulipion> ive got: libpgsql-ruby libpq-dev libpq5 ruby-pg
lanox has joined #ruby
<jameyd> peopel have things to say about one of the glaring errors in your gist
kachi8 is now known as kachi8|
<jameyd> lots of them about versions of ruby being used
Sgeo has joined #ruby
armyriad has joined #ruby
<Eulipion> jameyd: saw that earlier, fixed my path, added some flags, still nothing
edgarjs_afk is now known as edgarjs
<jameyd> shoot, well good luck. pg can be one of those pain points. hopefully somebody else has more insight.
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cloaked1> Eulipion, use apt-get to install libpq-dev or did you install libpq-dev some other way?
<Eulipion> i used apt
mikepack has quit [Remote host closed the connection]
asdasdasdasss has quit [Ping timeout: 240 seconds]
Wolland has quit [Remote host closed the connection]
Spami has joined #ruby
ziyadb has joined #ruby
kireevco has quit [Quit: Leaving.]
Wolland has joined #ruby
<cloaked1> hmm
kireevco has joined #ruby
davispuh has joined #ruby
<jameyd> cloaked1: pretty sure modules cab't be initialized
<cloaked1> Eulipion: do you need to use postgres?
CodeLicker2 has quit [Ping timeout: 250 seconds]
CodeLicker has joined #ruby
SCommette has quit [Quit: SCommette]
<jameyd> cloaked1: typical module use is to define them alone with theur own methods and then include them in classes where you want access to those methods
tus has joined #ruby
<Eulipion> cloaked1: yes for the next month till i switch over to mysql. but im rebuilding what is in heroku now, and i cant switch too many things at the same time
Zenigor has quit [Remote host closed the connection]
Wolland_ has joined #ruby
<jameyd> or namespace with them, but they don't get instantiated
<cloaked1> jameyd: got that idea from http://www.natontesting.com/2009/09/28/accessing-instance-variables-declared-in-ruby-modules/ but clearly it isn't working. Granted, that page is rather old, which I just noticed.
Wolland has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
<jameyd> i see...
<cloaked1> Eulipion: what does ldconfig -p | grep pg get ya? Anything helpful?
<jameyd> well in your example, try calling super in the classes init
<cloaked1> jameyd: read a few other sites yesterday that had the same suggestion...
<cloaked1> ah, ok
ghr has joined #ruby
<cloaked1> let's try that
<Eulipion> libgpg-error.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgpg-error.so.0
<jameyd> i could be wrong! but yeah your initialize is explicitly empty
<jameyd> so try to call the "parent's"
memph1s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cloaked1> super: no superclass method `what'
<cloaked1> makes sense, I guess. I suppose super is expecting a class, not a module
dblessing has joined #ruby
ItSANgo has joined #ruby
<cloaked1> I'm surprised this is so cumbersome unless I'm attempting to do something unorthodox.
<jameyd> where did you put super?
athan has left #ruby ["Leaving"]
Shidash has quit [Ping timeout: 240 seconds]
ItSANgo has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
ItSANgo has joined #ruby
davispuh has quit [Read error: Connection reset by peer]
<cloaked1> I put it in class Foo.what as super.t
ghr has quit [Ping timeout: 256 seconds]
olivier_bK has quit [Ping timeout: 256 seconds]
toastynerd has joined #ruby
<cloaked1> class Foo;def what;puts super.t;end;end
<jameyd> put it in initialize
maestrojed has quit [Quit: Computer has gone to sleep.]
<cloaked1> k
<jameyd> to call the parent's initialize
<jameyd> and also... include Mymod straight away under class Foo
<jameyd> you can take it out of what, that won't do anything unless there's a parent what
<cloaked1> I was wondering about that...didn't know if I had to include the module because the class is inside it or not.
<cloaked1> I'll try
MCDev has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
ItSANgo_ has joined #ruby
Takle has quit [Remote host closed the connection]
Avahey_ has joined #ruby
<jameyd> worked for me. kind of gross-looking if you ask me, maybe code smell
<jameyd> i only started really professionally using ruby about a month ago so
<jameyd> ask others for sure
ItSANgo_ has quit [Read error: Connection reset by peer]
testcore has quit [Quit: BitchX: good to the last drop!]
<jameyd> i just usually see modules declared somewhere else and included in classes, or used solely for namespacing
ItSANgo_ has joined #ruby
shime has joined #ruby
<cloaked1> yeah, I'm still fairly new at Ruby, too, especially the finer points such as this. This is my first time attempting to use a module.
<cloaked1> er, create and use I should say.
ItSANgo_ has quit [Read error: Connection reset by peer]
ItSANgo_ has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
<cloaked1> thanks jameyd. No dice, yet, but I'll keep poking around.
ericmathison has joined #ruby
cloaked1 has quit []
kireevco has joined #ruby
bmurt has joined #ruby
Shidash has quit [Quit: Leaving.]
<jameyd> clocKwize: this doesn'
<jameyd> clamstar: this doesn't work for you? http://hastebin.com/gabowoyisu.rb
<jameyd> dangit
<jameyd> oh well
lw has quit [Quit: s]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Audace has joined #ruby
sameerynho has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
Audace has quit [Max SendQ exceeded]
Audace has joined #ruby
saarinen has joined #ruby
saarinen has quit [Client Quit]
cashnguns has joined #ruby
charliesome has joined #ruby
asdasdasdasss has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
hgl has joined #ruby
dblessing has quit [Quit: dblessing]
aspires has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
saarinen has joined #ruby
dapz has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
bradleyprice has quit [Ping timeout: 240 seconds]
axsuul has quit [Ping timeout: 240 seconds]
britneywright has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adelcampo has joined #ruby
adelcampo is now known as doritostains
<androidbruce> Any advice for someone with little scripting skills in a new gig using chef and ruby
<androidbruce> Kinda learning through trial by fire
armyriad has quit [Ping timeout: 240 seconds]
<Eiam> androidbruce: have fun..
<Eiam> atleast its not puppet? =)
<Sgeo> Why do some libraries that attempt to clone Sinatra in other languages suck at it?
<androidbruce> Last gig was puppet Eiam
<jameyd> Eiam: is that true? i use puppet and complain to my friends sometimes and he's like, no, i hate chef too
<androidbruce> Puppet was easier to understand from a novice standpoint
<Sgeo> Sinatra allows you to point to another Sinatra app from a route, right? Well, the Haskell library that some people like that is supposedly inspired by Sinatra doesn't allow that
<Eiam> jameyd: well, I used Chef then moved to Puppet and I preferred Chef myself. =)
Hobogrammer has joined #ruby
armyriad has joined #ruby
<jameyd> i see. i want to try it! new job coming up uses it, so i'm sure i'll get to take a peek.
<Eiam> I could see enterprise IT liking Puppet more but
<androidbruce> Is the code academy ruby tutorial worth it?
asdasdasdasss has quit [Ping timeout: 250 seconds]
<Eiam> I'm just a dude trying to manage af ew servers so.. god damn. it was just a sledgehammer
<jameyd> yeah i call it rambo sometimes
<jameyd> it'll get ya
macclearich has quit [Quit: Computer has gone to sleep.]
Vivekananda_y510 has quit [Ping timeout: 264 seconds]
macclearich has joined #ruby
maestrojed has joined #ruby
<androidbruce> The knife utilities are quite nice esp in the AWS centric env I am in
nateberkopec has quit [Quit: Leaving...]
andrewjanssen has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kevind has quit [Quit: kevind]
<benzrf> knife?
<benzrf> i hear ansible is quite good
agjacome_ has quit [Ping timeout: 240 seconds]
<androidbruce> Knife is the way you "interface" with the chef server.
maestrojed has quit [Client Quit]
charlied3 has joined #ruby
jay____ has quit []
frem has quit [Remote host closed the connection]
Celm_ has joined #ruby
macclearich has quit [Ping timeout: 240 seconds]
<Eiam> yes we used knife too
spastorino has quit [Quit: Connection closed for inactivity]
<Eiam> eh, every time i jump into these tools I just remind myself, openshift is my savior and I never want to sysadmin a server again