apeiros changed the topic of #ruby to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: 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
rickruby has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
Wolland has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
ner0x has joined #ruby
Lewix has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
Lewix has joined #ruby
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
ValicekB has quit [Read error: Operation timed out]
Hanmac2 has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
rickruby has joined #ruby
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
rootshift has joined #ruby
Hobogrammer has joined #ruby
nfk has quit [Quit: yawn]
ugungur has quit [Remote host closed the connection]
matchaw has joined #ruby
Hobogrammer has quit [Client Quit]
Hobogrammer has joined #ruby
nfk has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
Lewix has quit [Ping timeout: 276 seconds]
jamesaanderson has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
EngierkO has joined #ruby
danijoo has joined #ruby
pehlert has joined #ruby
ValicekB has joined #ruby
Neomex has joined #ruby
aryaching has quit []
Es0teric has joined #ruby
thenovices has joined #ruby
pehlert has quit [Ping timeout: 246 seconds]
zoscoy has joined #ruby
zoscoy has quit [Client Quit]
po10 has quit [Quit: ZZZzzz…]
cashnguns has joined #ruby
thenovices has quit [Read error: Operation timed out]
po10 has joined #ruby
Guest42775 has quit [Remote host closed the connection]
Sid05 has quit [Ping timeout: 252 seconds]
Neomex has quit [Quit: Neomex]
Fusion` has quit [Quit: Page closed]
siwica1 has joined #ruby
Megtastique has joined #ruby
ValicekB has quit [Ping timeout: 245 seconds]
Megtastique has quit [Client Quit]
mlpinit has joined #ruby
Mars has joined #ruby
Mars is now known as Guest43668
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lorelei_ has joined #ruby
Wolland has joined #ruby
siwica has quit [Ping timeout: 272 seconds]
lorelei_ has quit [Changing host]
lorelei_ has joined #ruby
Briareos1_ has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
Wolland_ has joined #ruby
m00nlight has joined #ruby
Briareos1 has quit [Ping timeout: 252 seconds]
widge has joined #ruby
Wolland has quit [Ping timeout: 246 seconds]
rickruby has quit [Remote host closed the connection]
wildroman2 has joined #ruby
mary5030 has joined #ruby
Wolland_ has quit [Ping timeout: 272 seconds]
rootshift has quit [Quit: rootshift]
yasushi has joined #ruby
predator217 has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
wildroman2 has quit [Ping timeout: 246 seconds]
petey has quit [Remote host closed the connection]
petey has joined #ruby
ValicekB has joined #ruby
predator117 has quit [Ping timeout: 276 seconds]
yasushi has quit [Ping timeout: 248 seconds]
michael_mbp has quit [Excess Flood]
brunto has quit [Ping timeout: 252 seconds]
meatherly has joined #ruby
michael_mbp has joined #ruby
mlpinit has joined #ruby
petey has quit [Ping timeout: 265 seconds]
drumusician has quit [Ping timeout: 248 seconds]
phinfone_ has quit [Quit: exitiing]
subbyyy__ has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
multi_io has joined #ruby
thesheff17 has joined #ruby
meatherly has quit [Ping timeout: 272 seconds]
cj3kim has joined #ruby
widge is now known as wij
BuSerD is now known as BuSerD_away
_mtr has joined #ruby
petey has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
lorelei_ has quit [Read error: Operation timed out]
ValicekB has quit [Ping timeout: 246 seconds]
<multi_io> what's the preferred emacs ruby debugging integration these days?
robustus has joined #ruby
cj3kim has quit [Remote host closed the connection]
guilund has quit []
ephemerian has quit [Quit: Leaving.]
<benzrf> man who even knows
Xeago has quit [Remote host closed the connection]
thenovices has joined #ruby
<bnagy> p
jonathanwallace has joined #ruby
jonathanwallace has quit [Client Quit]
<benzrf> bnagy: what do you have in ""
heftig has quit [Ping timeout: 252 seconds]
reach has quit [Read error: Connection reset by peer]
joshu has quit [Ping timeout: 248 seconds]
jonathanwallace has joined #ruby
daidoji has joined #ruby
ValicekB has joined #ruby
jonathanwallace has quit [Client Quit]
<bnagy> ?
danijoo has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
danijoo has joined #ruby
havenwood has joined #ruby
Jdubs has quit [Remote host closed the connection]
<shevy> is there a way in ruby
<shevy> to define an array like so
<shevy> FOO = %[
<shevy> - bla
<shevy> - ble
<shevy> ]
wij has quit [Remote host closed the connection]
yosafbridge has quit [Ping timeout: 264 seconds]
<shevy> but to also include # comments
<IceDragon> shevy: isn't that yaml?
reach has joined #ruby
jonathanwallace has joined #ruby
<shevy> it's valid ruby code
<IceDragon> srsly?
<shevy> hmm
<shevy> actually it is a string
axl_ has quit [Quit: axl_]
<shevy> I split it on newlines into an array
<shevy> but I kinda need a way to use # too
yosafbridge has joined #ruby
<benzrf> shevy: str.split("\n").map {|line| line.split("#", 2).first}
tylersmith has joined #ruby
<benzrf> actually
<benzrf> shevy: str.split("\n").map {|line| line.split("#", 2).first.strip}
VTLob has quit [Quit: VTLob]
tylersmith has quit [Remote host closed the connection]
havenwood has quit [Read error: Connection reset by peer]
MrZYX is now known as MrZYX|off
<shevy> hmm I cant get that to work http://pastie.org/8627952
<soahccc> shevy: what you meant I think is %w[] which splits on whitespace I think
soahccc has left #ruby ["Legalize it!"]
<benzrf> shevy: put an andand in there
soahccc has joined #ruby
<waxjar> soahccc: that would also split on the space between - and bah
<shevy> soahccc I need the full string
<shevy> per line
popl has quit [Read error: Operation timed out]
<soahccc> ohh okay
<shevy> an andand?
<benzrf> do you know andand
<shevy> do you mean andredieb
EngierkO_ has joined #ruby
<benzrf> no
<benzrf> andand is a gem
<benzrf> it adds Object#andand
<shevy> ack
Hobogrammer_ has joined #ruby
<shevy> I can not use gems for this, only default ruby
<benzrf> foo.andand.bar will be foo.bar if foo is not nil
<benzrf> if foo is nil it will be nil
<benzrf> it is like &&.
<soahccc> I sometimes forget that try isn't ruby core :s
<benzrf> soahccc: im tellin you m8 use vim
EngierkO has quit [Ping timeout: 248 seconds]
<shevy> try would look nicer than catch / throw
heftig has joined #ruby
<soahccc> shevy: no try is something different here... catch / throw is pretty rare... you usually see begin rescue end
<benzrf> what is try
mary5030 has quit [Remote host closed the connection]
<waxjar> foo.strip.lines.reject { |l| l.start_with? '#' }.map(&:strip) ?
<shevy> waxjar yeah I think that works
joshu has joined #ruby
nidet has joined #ruby
<shevy> it's my biggest .rb file
<shevy> 1.1MB
<waxjar> o.O
<benzrf> soahccc: use andand
<benzrf> soahccc: it is more elegant~
Hobogrammer has quit [Ping timeout: 260 seconds]
lyanchih_ has joined #ruby
<benzrf> foo.try(:wat) or foo.andand.wat?
<shevy> andand sounds like scatman
<benzrf> u wot
<shevy> benzrf, do you know scatman?
<soahccc> shevy: thanks I now have the melody in my head
<shevy> hahaha
<waxjar> haha, same here
<shevy> it's a melody of the past though, he died :(
jonathanwallace has quit [Quit: ZNC - http://znc.in]
<benzrf> magical trevor
<shevy> he had a stutter but not when singing
ambushsabre has quit [Quit: rip]
jonathanwallace has joined #ruby
EngierkO_ has quit [Ping timeout: 248 seconds]
Guest43668 has quit [Remote host closed the connection]
subbyyy__ has quit [Ping timeout: 252 seconds]
Jake232 has joined #ruby
mary5030 has joined #ruby
<shevy> oh well
<shevy> rewrites in ruby take me too long
_Andres has quit [Read error: Connection reset by peer]
Es0teric has quit [Quit: Computer has gone to sleep.]
ambushsabre has joined #ruby
ner0x has quit [Quit: Leaving]
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Briareos1_ has quit [Remote host closed the connection]
rickruby has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Mars has joined #ruby
Mars is now known as Guest84070
siwica1 has quit [Ping timeout: 253 seconds]
Wolland has joined #ruby
Xeago has joined #ruby
_mtr has joined #ruby
_mtr has quit [Max SendQ exceeded]
binaryhat has quit [Quit: Leaving]
deens has quit [Remote host closed the connection]
petey has quit [Ping timeout: 265 seconds]
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #ruby
Wolland has quit [Ping timeout: 252 seconds]
mary5030 has quit [Remote host closed the connection]
axl_ has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
<benzrf> wtf is this
<benzrf> irb(main):020:0> 215.chr
<benzrf> => "\xD7"
<benzrf> irb(main):021:0> 215.chr == "\xD7"
<benzrf> => false
Xeago has quit [Ping timeout: 276 seconds]
<soahccc> I started a project by making a configuration file of how I would love it. I'm curious if I can ever realize it =)
mercwithamouth has joined #ruby
<benzrf> soahccc: what project/
<benzrf> ?
<soahccc> benzrf: I was tired of all the existing monitoring solutions so I though this would be a great side project :D
phasel has quit [Ping timeout: 272 seconds]
phasel has joined #ruby
<benzrf> check to make sure something like it does not exist
<benzrf> i started a thing then a week in it turned out a better thing was already
<benzrf> :<
marr has quit [Ping timeout: 246 seconds]
<soahccc> benzrf: Well I searched like 5 years xD There is nothing like what I have in mind
reach has quit [Read error: Connection reset by peer]
phasel has quit [Client Quit]
yasushi has joined #ruby
<soahccc> Also weird (cool?) that this is valid syntax: "#{origin}#{origin[??]??&:??}sketch=#{to_param}"
Jdubs has joined #ruby
tt1187 has quit [Ping timeout: 272 seconds]
checkers has left #ruby [#ruby]
ewnd9 has joined #ruby
reach has joined #ruby
Jetchisel has quit [Ping timeout: 256 seconds]
meatherly has joined #ruby
ValicekB has joined #ruby
yasushi has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
m00nlight has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
kells has joined #ruby
kells is now known as Guest75792
<bnagy> benzrf: oh! ha. encoding.
_mtr has joined #ruby
<benzrf> bnagy: hm?
<bnagy> >> 215.chr == "\xD7".force_encoding('ascii-8bit')
<bnagy> I miss eval-in :(
meatherly has quit [Ping timeout: 260 seconds]
<benzrf> ah i c
<benzrf> irb does not save history right
<benzrf> u see i was encoding my new electrum seed otp-style
Hanmac has quit [Ping timeout: 272 seconds]
<benzrf> with ord addition n stuff
m00nlight has joined #ruby
Guest75792 has quit [Client Quit]
kells__ has joined #ruby
Jetchisel has joined #ruby
Lewix has joined #ruby
<bnagy> uh .. ok?
momomomomo has quit [Quit: momomomomo]
nidet has quit [Quit: nidet]
kells__ is now known as kells
IceDragon has quit [Ping timeout: 246 seconds]
fire has joined #ruby
axl_ has quit [Quit: axl_]
robertrv_ has joined #ruby
psyl0n has joined #ruby
robertrv has quit [Ping timeout: 246 seconds]
chomskiii has quit [Read error: Connection reset by peer]
ch0mskiii has joined #ruby
lioninawhat has joined #ruby
framling has joined #ruby
jamesaanderson has quit [Ping timeout: 260 seconds]
<benzrf> framling: what planet do you live on then
<framling> benzrf: omicron persei 8
thumpba_ has joined #ruby
bricker has quit [Quit: leaving]
fire has quit [Quit: WeeChat 0.4.1]
<benzrf> is lrrr a fair ruler
jamesaanderson has joined #ruby
fire has joined #ruby
<framling> For an omicronian he is. I'm glad ndnd isn't in charge
thumpba has quit [Ping timeout: 260 seconds]
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has joined #ruby
vpretzel has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
IceDragon has joined #ruby
yasushi has joined #ruby
_mtr has joined #ruby
aspires has joined #ruby
fire has quit [Quit: WeeChat 0.4.1]
ckinni has joined #ruby
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
emocakes has quit [Ping timeout: 245 seconds]
ValicekB has quit [Ping timeout: 272 seconds]
wij has joined #ruby
joshwines_ has joined #ruby
nemesit|znc has quit [Ping timeout: 246 seconds]
yasushi has quit [Ping timeout: 272 seconds]
Hobogrammer_ has quit [Ping timeout: 265 seconds]
Hanmac has joined #ruby
wij has left #ruby [#ruby]
wij has joined #ruby
pehlert has joined #ruby
wij has left #ruby [#ruby]
wij has joined #ruby
nemesit|znc has joined #ruby
tectonic has quit []
Hobogrammer_ has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
wij has quit []
wij has joined #ruby
axl_ has quit [Quit: axl_]
pehlert has quit [Ping timeout: 246 seconds]
sassamo has quit [Read error: Connection reset by peer]
w4pm has joined #ruby
sassamo has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
kells has quit [Quit: Textual IRC Client: www.textualapp.com]
Wolland has joined #ruby
charliesome has joined #ruby
jayferd|afk is now known as jayferd
m00nlight has quit [Quit: Konversation terminated!]
m00nlight_ has joined #ruby
yasushi has joined #ruby
burlyscudd has joined #ruby
ValicekB has joined #ruby
w4pm has quit [Ping timeout: 248 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
dayepa has quit [Quit: dayepa]
chagar_ has joined #ruby
jayferd is now known as jayferd|afk
<chagar_> #rubyon rails
chagar_ has quit [Client Quit]
centrx has quit [Quit: Leaving]
centrx has joined #ruby
dayepa has joined #ruby
stkowski has joined #ruby
panzer has quit [Quit: Ex-Chat]
eka has joined #ruby
Megtastique has joined #ruby
dayepa1 has joined #ruby
lioninawhat has quit [Ping timeout: 245 seconds]
Megtastique has quit [Client Quit]
chrisseaton has quit []
danshultz has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
mr_red has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
yoshie902a has joined #ruby
<yoshie902a> I've defined an attr_accessor value called quantity, it's a big decimal and I'm wondering there is a way to limit the stored value to round to 10 digits
eka has quit [Quit: Computer has gone to sleep.]
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has joined #ruby
clevermatt has joined #ruby
<bnagy> yoshie902a: still haven't managed to read the documentation?
prxq_ has joined #ruby
mehlah has quit [Quit: Leaving...]
<bnagy> I mean, it's been days, right?
<benzrf> yoshie902a: write your own setter instead of using accessor
carif has joined #ruby
<yoshie902a> bnagy: that's what I originally did, but keep getting some weird errors and thought there might be another way
burlyscudd has quit [Quit: Leaving.]
maletor has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
ValicekB has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
<yoshie902a> benzrf: If there is not, I'll just have to create a setter.
deens has joined #ruby
prxq has quit [Ping timeout: 252 seconds]
wij has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
diegoviola has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
meatherly has joined #ruby
dayepa1 has joined #ruby
deens has quit [Read error: Operation timed out]
axl_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
okinomo has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has quit []
dayepa has joined #ruby
vongrippen has joined #ruby
clevermatt has quit [Remote host closed the connection]
meatherly has quit [Ping timeout: 252 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
dayepa1 has quit [Ping timeout: 276 seconds]
jamesaanderson has joined #ruby
simoz3 has joined #ruby
dayepa1 has joined #ruby
marcgg has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
yasushi has quit [Remote host closed the connection]
jamesaanderson has quit [Client Quit]
mr_red has joined #ruby
okinomo has quit [Ping timeout: 260 seconds]
BraddPitt has quit [Ping timeout: 260 seconds]
nfk has quit [Quit: yawn]
ValicekB has joined #ruby
mary5030 has joined #ruby
marcgg_ has quit [Ping timeout: 248 seconds]
dayepa has joined #ruby
mlpinit has quit [Remote host closed the connection]
fijimunkii has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
clevermatt has joined #ruby
tylersmith has joined #ruby
mary5030 has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
okinomo has joined #ruby
psyl0n has quit [Remote host closed the connection]
aspires has joined #ruby
dayepa1 has joined #ruby
agjacome_ has quit [Quit: Reconnecting]
jamesaanderson has quit [Client Quit]
agjacome has joined #ruby
gja has joined #ruby
psyl0n has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
ValicekB has quit [Ping timeout: 272 seconds]
wij has joined #ruby
fijimunkii has joined #ruby
Jake232 has joined #ruby
agjacome has quit [Client Quit]
agjacome has joined #ruby
wij has quit [Remote host closed the connection]
framling has quit [Quit: See ya]
alexfreidah has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
okinomo has quit [Ping timeout: 246 seconds]
dayepa has joined #ruby
kebabski has joined #ruby
okinomo has joined #ruby
recurrence has joined #ruby
kewubenduben has quit [Read error: Connection reset by peer]
recurrence has quit [Max SendQ exceeded]
recurrence has joined #ruby
firewater5 has joined #ruby
<firewater5> benzrf: Hey, you here by chacne?
dayepa1 has joined #ruby
Guest84070 has quit [Remote host closed the connection]
<benzrf> yup
<benzrf> just lookin at
yoshie902a has left #ruby [#ruby]
ValicekB has joined #ruby
<firewater5> Is that the thing sent off in the rocket?
<benzrf> yep
dayepa has quit [Ping timeout: 276 seconds]
<benzrf> voyager
<firewater5> benzrf: Also, I just figured out that code, but had quick questions on it too.
<firewater5> Oh, cool.
<firewater5> Yeah, that was the rocket thing I was talking about ;).
dayepa has joined #ruby
psyl0n has quit [Remote host closed the connection]
psyl0n has joined #ruby
pwh has quit [Ping timeout: 276 seconds]
simoz3 has quit [Ping timeout: 252 seconds]
<firewater5> benzrf: Can I PM you my final solution and ask you a quick question about it?
dayepa1 has quit [Ping timeout: 276 seconds]
dapz has quit [Ping timeout: 252 seconds]
<benzrf> go ahead
dayepa1 has joined #ruby
ValicekB has quit [Ping timeout: 252 seconds]
<benzrf> firewater5: ?
meatherly has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<firewater5> benzrf: Sorry, didn't see your chat.
<firewater5> One second.
pwh has joined #ruby
dayepa has joined #ruby
ambushsabre has quit [Quit: rip]
LostMonk has quit [Ping timeout: 252 seconds]
ambushsabre has joined #ruby
LostMonk has joined #ruby
m00nlight_ has quit [Ping timeout: 252 seconds]
reach has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
MatthewsFace has joined #ruby
mspah_ has joined #ruby
dayepa1 has joined #ruby
mspah_ has quit [Client Quit]
radic_ has quit [Ping timeout: 272 seconds]
pwh_ has joined #ruby
pwh has quit [Ping timeout: 248 seconds]
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
danijoo has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 276 seconds]
danijoo_ has joined #ruby
radic has joined #ruby
framling has joined #ruby
jhunter has quit [Ping timeout: 260 seconds]
dayepa has joined #ruby
justsee has joined #ruby
pwh has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
pwh_ has quit [Ping timeout: 272 seconds]
psyl0n has quit []
cbetta is now known as cbetta_afk
dayepa1 has joined #ruby
Wolland has quit [Remote host closed the connection]
darthdeus has quit [Quit: Leaving...]
petey has joined #ruby
reach has joined #ruby
pwh has quit [Ping timeout: 276 seconds]
dayepa has quit [Ping timeout: 276 seconds]
Mars has joined #ruby
cbetta_afk is now known as cbetta
dayepa has joined #ruby
Mars is now known as Guest91280
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
browndawg has joined #ruby
m00nlight_ has joined #ruby
petey has quit [Ping timeout: 272 seconds]
Lulzon is now known as LulzonAway
firewater5 has quit [Quit: Page closed]
jamesaanderson has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
aspires has quit []
thomasxie has joined #ruby
recurrence has quit [Ping timeout: 252 seconds]
dayepa has joined #ruby
pwh has joined #ruby
Megtastique has joined #ruby
BraddPitt has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Megtastique has quit [Client Quit]
Hobogrammer has joined #ruby
jamesaanderson has quit [Client Quit]
fire has joined #ruby
Hobogrammer_ has quit [Ping timeout: 272 seconds]
jhunter has joined #ruby
petey has joined #ruby
ValicekB has joined #ruby
pwh has quit [Ping timeout: 245 seconds]
dayepa has quit [Ping timeout: 276 seconds]
IceDragon has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
dayepa has joined #ruby
cbetta is now known as cbetta_afk
jamesaanderson has joined #ruby
Wolland has joined #ruby
yfeldblu_ has quit [Read error: Operation timed out]
pwh has joined #ruby
danshultz has joined #ruby
noob101 has quit [Quit: Page closed]
gja has quit [Quit: This computer has gone to sleep]
<benzrf> see yall
benzrf has left #ruby [#ruby]
FScottFitzgerald has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
Guest91280 has quit [Remote host closed the connection]
dayepa has joined #ruby
pwh has quit [Ping timeout: 252 seconds]
EngierkO has joined #ruby
danshultz has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
Jdubs has quit [Remote host closed the connection]
deens has joined #ruby
axl_ has quit [Quit: axl_]
tharindu has joined #ruby
dayepa1 has joined #ruby
rickruby has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
lioninawhat has joined #ruby
havenwood has joined #ruby
yfeldblum has joined #ruby
deens has quit [Remote host closed the connection]
EngierkO has quit [Ping timeout: 248 seconds]
dayepa has joined #ruby
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
braincrash has quit [Quit: bye bye]
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
mlpinit has joined #ruby
recurrence has joined #ruby
kotk has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
sepp2k has quit [Read error: Connection reset by peer]
mneorr has quit [Remote host closed the connection]
yfeldblum has joined #ruby
mneorr has joined #ruby
pwh_ has joined #ruby
braincrash has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
mlpinit has quit [Ping timeout: 248 seconds]
lyanchih_ has quit [Quit: lyanchih_]
sassamo has quit [Ping timeout: 272 seconds]
yasushi has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
pwh_ has quit [Ping timeout: 248 seconds]
axl_ has joined #ruby
dayepa has joined #ruby
pwh has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
kevinykchan has joined #ruby
dayepa1 has joined #ruby
yasushi has quit [Ping timeout: 272 seconds]
thenovices has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 245 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
yasushi has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
tambunga has joined #ruby
thenovices has joined #ruby
FScottFitzgerald has quit [Remote host closed the connection]
FScottFitzgerald has joined #ruby
IceDragon has quit [Quit: Space~~~]
dayepa has quit [Ping timeout: 276 seconds]
jhunter has quit [Ping timeout: 272 seconds]
jhunter has joined #ruby
dayepa has joined #ruby
pehlert has joined #ruby
browndawg has left #ruby [#ruby]
yokel has quit [Read error: Operation timed out]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
virt|away has joined #ruby
yokel has joined #ruby
axl_ has quit [Quit: axl_]
FScottFitzgerald has quit [Ping timeout: 260 seconds]
thenovices has quit [Remote host closed the connection]
pehlert has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
saarinen has quit [Quit: saarinen]
framling has quit [Quit: See ya]
jhunter has quit [Ping timeout: 252 seconds]
dayepa1 has joined #ruby
tyl has joined #ruby
Hobogrammer_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
mary5030 has joined #ruby
jhunter has joined #ruby
tylersmith has quit [Remote host closed the connection]
bbloom has joined #ruby
fgo has quit [Remote host closed the connection]
Baluse has quit []
Hobogrammer has quit [Ping timeout: 272 seconds]
Mars has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Deele has joined #ruby
Mars is now known as Guest42839
Guest42839 has quit [Remote host closed the connection]
diegoviola has quit [Read error: No route to host]
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
diegoviola has quit [Client Quit]
dayepa has joined #ruby
diegoviola has joined #ruby
ando has joined #ruby
mneorr has joined #ruby
petey has quit [Remote host closed the connection]
dayepa1 has joined #ruby
meatherly has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
petey has joined #ruby
meatherly has joined #ruby
clevermatt has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
ValicekB has quit [Ping timeout: 248 seconds]
h0lyalg0rithm has joined #ruby
dayepa has joined #ruby
okinomo has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
ando has quit [Ping timeout: 248 seconds]
meatherly has quit [Ping timeout: 252 seconds]
petey has quit [Ping timeout: 265 seconds]
dayepa1 has joined #ruby
lioninawhat has quit [Remote host closed the connection]
carif has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
agent_white has joined #ruby
dayepa has joined #ruby
axl_ has joined #ruby
okinomo has joined #ruby
nari has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
snkcld has joined #ruby
fgo has joined #ruby
framling has joined #ruby
ValicekB has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
thenovices has joined #ruby
nemesit|znc has quit [Ping timeout: 252 seconds]
nemesit|znc has joined #ruby
okinomo has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
diegoviola has quit [Ping timeout: 248 seconds]
okinomo has joined #ruby
speakingcode has joined #ruby
okinomo is now known as Casey
dayepa1 has quit [Ping timeout: 276 seconds]
diegoviola has joined #ruby
dayepa1 has joined #ruby
<agent_white> Evenin folks
ndngvr has quit [Ping timeout: 272 seconds]
gja has joined #ruby
gja has quit [Client Quit]
mlpinit has joined #ruby
lyanchih has joined #ruby
thenovices has quit [Ping timeout: 272 seconds]
speakingcode has quit [Client Quit]
dayepa has quit [Ping timeout: 276 seconds]
daidoji has quit [Ping timeout: 265 seconds]
dayepa has joined #ruby
mrnugget has joined #ruby
Shidash has joined #ruby
Casey has quit [Ping timeout: 276 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
mlpinit has quit [Ping timeout: 246 seconds]
Casey has joined #ruby
ValicekB has quit [Ping timeout: 245 seconds]
ahmedelgabri has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
deens has joined #ruby
yasushi has quit [Remote host closed the connection]
ocline has joined #ruby
dayepa2 has joined #ruby
havenwood has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
havenwood has quit [Read error: Connection reset by peer]
deens has quit [Ping timeout: 248 seconds]
EngierkO has joined #ruby
dayepa1 has joined #ruby
coder_neo has joined #ruby
daidoji has joined #ruby
snkcld has quit [Quit: snkcld]
dayepa2 has quit [Ping timeout: 276 seconds]
recurrence has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
axl_ has quit [Quit: axl_]
heftig has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa2 has joined #ruby
ValicekB has joined #ruby
tkuchiki has joined #ruby
rickruby has joined #ruby
tkuchiki has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
_tpavel has joined #ruby
rodneyfool has joined #ruby
deens has joined #ruby
petertretyakov has joined #ruby
dayepa has joined #ruby
Casey has quit [Ping timeout: 260 seconds]
yarou_ has quit [Quit: This computer has gone to sleep]
dayepa2 has quit [Ping timeout: 276 seconds]
Lewix_ has joined #ruby
cjsarette has joined #ruby
rodneyfool has quit [Client Quit]
Hobogrammer_ has quit [Read error: Connection reset by peer]
Hobogrammer_ has joined #ruby
dayepa2 has joined #ruby
Lewix has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
SCommette has quit [Quit: SCommette]
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa2 has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
ValicekB has quit [Ping timeout: 246 seconds]
narcan has joined #ruby
tyl has quit [Quit: Textual IRC Client: www.textualapp.com]
dayepa1 has joined #ruby
Mars has joined #ruby
Mars is now known as Guest64932
tyl has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
cj3kim has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
speakingcode has joined #ruby
axl_ has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
tylersmith has joined #ruby
DeanH has quit [Read error: Operation timed out]
Barrin6 has joined #ruby
dayepa has joined #ruby
m00nlight_ has quit [Quit: Konversation terminated!]
fgo has quit [Read error: Connection reset by peer]
speakingcode has quit [Ping timeout: 260 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sergicles has quit [Quit: sergicles]
Guest64932 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
dayepa1 has joined #ruby
zxd has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Brando753 has quit [Quit: o_O_o]
FScottFitzgerald has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
stkowski has quit [Quit: stkowski]
deens has quit [Remote host closed the connection]
dayepa has joined #ruby
zxd has quit [Ping timeout: 260 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
decoponio has joined #ruby
Brando753 has joined #ruby
gja has joined #ruby
gja has quit [Client Quit]
coderhs has joined #ruby
BrixSat has quit [Remote host closed the connection]
FScottFitzgerald has quit [Ping timeout: 276 seconds]
BrixSat has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
craigp has quit [Remote host closed the connection]
dayepa has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
fire has quit [Quit: WeeChat 0.4.1]
cj3kim has joined #ruby
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
fire has joined #ruby
tkuchiki has joined #ruby
ValicekB has joined #ruby
Shidash has quit [Ping timeout: 276 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mlpinit has joined #ruby
dayepa has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
deens has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
justsee has quit [Quit: leaving]
mlpinit has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
deens has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
cads has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
Anarch has joined #ruby
cads has joined #ruby
dayepa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
starkhalo has joined #ruby
dayepa1 has joined #ruby
havenwood has quit [Ping timeout: 248 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
vlad_starkov has joined #ruby
gja has joined #ruby
petertretyakov has quit [Remote host closed the connection]
MatthewsFace has quit [Quit: This computer has gone to sleep]
OdNairy has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
pehlert has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
dayepa1 has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
tagrudev has joined #ruby
mary5030 has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
relix has joined #ruby
pehlert has quit [Ping timeout: 245 seconds]
razibog has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
jdguzman has quit [Quit: Textual IRC Client: www.textualapp.com]
dayepa has quit [Ping timeout: 276 seconds]
w|t has quit [Ping timeout: 260 seconds]
dayepa has joined #ruby
thenovices has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
w|t has joined #ruby
Asher has quit [Quit: Leaving.]
w_alexus has joined #ruby
axl_ has quit [Quit: axl_]
dayepa1 has joined #ruby
<pontiki> quiet like
Asher has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
thenovices has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
jayferd|afk is now known as jayferd
phansch has joined #ruby
jayferd has left #ruby [#ruby]
reach has quit []
w|t has quit [Ping timeout: 252 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
w|t has joined #ruby
dayepa1 has joined #ruby
apeiros_ has joined #ruby
petey has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
apeiros has quit [Ping timeout: 260 seconds]
_5kg has joined #ruby
_5kg has quit [Read error: Connection reset by peer]
mneorr has quit [Remote host closed the connection]
dayepa has joined #ruby
mneorr has joined #ruby
pranny has joined #ruby
fgo has joined #ruby
tharindu is now known as tharindu|away
petey has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
klaut has joined #ruby
dayepa1 has joined #ruby
recurrence has joined #ruby
tharindu|away is now known as tharindu
starkhalo has quit [Ping timeout: 245 seconds]
mneorr has quit [Ping timeout: 248 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
lyanchih has quit [Quit: lyanchih]
phansch has quit [Quit: Leaving]
Casey has joined #ruby
VinceThePrince has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
himsin has joined #ruby
FScottFitzgerald has joined #ruby
noop has joined #ruby
VinceThePrince is now known as Macaveli
rickruby has quit [Remote host closed the connection]
craigp has joined #ruby
dayepa1 has joined #ruby
rickruby has joined #ruby
apeiros_ has quit [Remote host closed the connection]
nemesit|znc has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
nemesit|znc has joined #ruby
recurrence has quit [Ping timeout: 276 seconds]
FScottFi_ has joined #ruby
dayepa has joined #ruby
Casey has quit [Ping timeout: 272 seconds]
FScottFitzgerald has quit [Ping timeout: 245 seconds]
gja has quit [Quit: This computer has gone to sleep]
dayepa1 has quit [Ping timeout: 276 seconds]
rickruby has quit [Ping timeout: 246 seconds]
dayepa1 has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
FScottFi_ has quit [Ping timeout: 272 seconds]
cads has quit [Ping timeout: 248 seconds]
dayepa has quit [Ping timeout: 276 seconds]
tobago has joined #ruby
skaflem has joined #ruby
nism has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
amundj has joined #ruby
mlpinit has joined #ruby
nism has quit [Client Quit]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
dik_dak has quit [Quit: Leaving]
nism has joined #ruby
alexfreidah has joined #ruby
coderhs has quit [Ping timeout: 252 seconds]
fixl has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Cooler_ has quit [Read error: Operation timed out]
amundj has quit [Ping timeout: 272 seconds]
mlpinit has quit [Ping timeout: 260 seconds]
gja has quit [Client Quit]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
jprovazn has joined #ruby
wildroman2 has joined #ruby
tambunga has quit [Remote host closed the connection]
ohwhoa has joined #ruby
Barrin6 has quit [Quit: Leaving]
alexfreidah has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
dayepa has joined #ruby
camilasan has joined #ruby
wildroman2 has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 245 seconds]
brunto has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
zipper has joined #ruby
deens has joined #ruby
blaxter_ has joined #ruby
baschtmobil has quit [Ping timeout: 276 seconds]
ahmedelgabri has joined #ruby
amclain has quit [Quit: Leaving]
dayepa has joined #ruby
Casey has joined #ruby
bigkevmcd has joined #ruby
tectonic has joined #ruby
tectonic has quit [Client Quit]
dayepa1 has quit [Ping timeout: 276 seconds]
mrnugget has quit [Quit: mrnugget]
echevemaster has quit [Quit: Leaving]
deens has quit [Ping timeout: 272 seconds]
aganov has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
echevemaster has joined #ruby
Casey has quit [Ping timeout: 260 seconds]
amundj has joined #ruby
yasushi has joined #ruby
echevemaster has quit [Remote host closed the connection]
yfeldblum has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
dayepa has joined #ruby
existensil has joined #ruby
wildroman2 has joined #ruby
gasbakid has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
dayepa1 has joined #ruby
thenovices has joined #ruby
_HolyCow has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
cj3kim has quit [Remote host closed the connection]
Apocalypse has quit [Ping timeout: 245 seconds]
DrShoggoth has quit [Ping timeout: 252 seconds]
wgosling has quit [Ping timeout: 252 seconds]
rhys has quit [Ping timeout: 240 seconds]
_HolyCow has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
wgosling has joined #ruby
Fractional has joined #ruby
w|t has quit [Ping timeout: 245 seconds]
dayepa has joined #ruby
apeiros has joined #ruby
thomasxie has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
w|t has joined #ruby
thenovices has quit [Ping timeout: 272 seconds]
Spami has quit [Quit: This computer has gone to sleep]
fphilipe has joined #ruby
dayepa1 has joined #ruby
shevy has quit [Quit: ""]
shevy has joined #ruby
<shevy> test
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ambushsabre has quit [Quit: rip]
dayepa1 has quit [Ping timeout: 276 seconds]
Apocalypse has joined #ruby
apeiros has quit [Remote host closed the connection]
cycorld has joined #ruby
dayepa1 has joined #ruby
cycorld has quit [Client Quit]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
aspires has joined #ruby
dayepa has joined #ruby
nemesit|znc has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
daidoji has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #ruby
camilasan has quit [Ping timeout: 276 seconds]
Casey has joined #ruby
dayepa1 has joined #ruby
DouweM has quit [Ping timeout: 272 seconds]
Mars has joined #ruby
Mars is now known as Guest34052
nemesit|znc has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
freezey has joined #ruby
dagobah has joined #ruby
huttan has quit [Quit: leaving]
FScottFitzgerald has joined #ruby
wildroman2 has quit [Remote host closed the connection]
huttan has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
craigp has quit [Ping timeout: 260 seconds]
Fractional has quit [Read error: Connection reset by peer]
finnnnnnnnnnn has joined #ruby
marcgg_ has joined #ruby
tyl has joined #ruby
dayepa has joined #ruby
zxd has joined #ruby
baschtmobil has joined #ruby
Guest34052 has quit [Ping timeout: 276 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
wildroman2 has joined #ruby
Es0teric has joined #ruby
daidoji has joined #ruby
aspires has quit []
dayepa1 has joined #ruby
marcgg has quit [Ping timeout: 265 seconds]
Xeago has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
<shevy> hmmm
<shevy> it seems as if a dependency specified in a .gemspec file
<shevy> defaults to one being hosted at rubygems.org
mlpinit has joined #ruby
<shevy> what if someone needs a dependency, but not hosted at rubygems.org ?
ndrei has quit [Read error: Operation timed out]
tyl has quit [Client Quit]
<Xeago> isn't there a .gemrc in your homefolder to specify remotes?
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
ndrei has joined #ruby
dayepa has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
dweeb has quit [Quit: Computer has gone to sleep.]
tvw has joined #ruby
Lewix_ has quit [Remote host closed the connection]
ayaz has quit [Quit: leaving]
dayepa1 has joined #ruby
<shevy> aha
<shevy> hmm
mrnugget has joined #ruby
Lewix has joined #ruby
<shevy> though other users wouldn't have settings in my .gemrc
einarj has joined #ruby
einarj_ has joined #ruby
einarj has quit [Read error: Connection reset by peer]
dweeb has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
Yan__ has joined #ruby
FScottFitzgerald has quit [Ping timeout: 246 seconds]
simoz3 has joined #ruby
simoz3 has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
freezey has quit [Remote host closed the connection]
diegoviola has joined #ruby
claymore has joined #ruby
Lewix has quit [Ping timeout: 252 seconds]
lyanchih_ has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
apeiros has joined #ruby
dayepa has joined #ruby
coderhs has joined #ruby
dayepa1 has joined #ruby
<nism> the gem file using that gem can specify a different host
sandGorgon has joined #ruby
mneorr has quit [Read error: Operation timed out]
rootshift has joined #ruby
krz has joined #ruby
krz has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
ndrei has quit [Ping timeout: 252 seconds]
zigomir has joined #ruby
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
Yan__ has quit [Ping timeout: 252 seconds]
Yan__ has joined #ruby
ndrei has joined #ruby
andikr has joined #ruby
<shevy> can someone explain this behaviour to me? -> http://pastie.org/8628658
ahawkins has joined #ruby
<shevy> nism cool thanks, I'll keep that in mind
prxq_ is now known as prxq
dayepa has joined #ruby
wallerdev has quit [Quit: wallerdev]
<tobiasvl> shevy: uh, isn't that straight forward?
<shevy> tobiasvl no
dayepa1 has quit [Ping timeout: 276 seconds]
vt102 has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby
dayepa1 has joined #ruby
kewubenduben has joined #ruby
kebabski has quit [Read error: Connection reset by peer]
w4pm has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
Xeago has quit [Remote host closed the connection]
dayepa has joined #ruby
<apeiros> shevy: all methods ending in = will always return the right hand side
<apeiros> this is so that e.g. `foo = bar = baz = 1` works the same as `x.foo = x.bar = x.baz = 1`
ahmedelgabri has quit [Remote host closed the connection]
<apeiros> if you use send, it'll return the value you returned from the method
h0lyalg0rithm has quit [Quit: Textual IRC Client: www.textualapp.com]
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> hmmmm
w4pm has quit [Ping timeout: 276 seconds]
thenovices has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
yasushi has quit [Remote host closed the connection]
Casey has quit [Ping timeout: 276 seconds]
<shevy> that's kinda cool
fphilipe_ has joined #ruby
centrx has quit [Quit: Leaving]
ponbiki has joined #ruby
dayepa has joined #ruby
thenovices has quit [Ping timeout: 272 seconds]
rootshift has quit [Quit: rootshift]
<nism> aperior, shevy so send like `ack.send :bar, 10`
<nism> ?
<nism> *aperios ^
<shevy> return statements are ignored in methods ending with =
m00nlight has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
fixl has quit [Read error: Connection reset by peer]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
dayepa1 has joined #ruby
<apeiros> nism: interesting how your fix is still wrong :-p
<apeiros> nism: pro-tip, use tab-completion. less embarassing.
<apeiros> *embarrassing
<shevy> hehehe
<nism> aperios :)
<apeiros> dude…
<apeiros> do you do it on purpose?
rootshift has joined #ruby
<shevy> it's a common typo!
fgo has quit [Remote host closed the connection]
<apeiros> nism: and no, send(:bar) invokes the method name 'bar', not the method named 'bar='
petey has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
saarinen has joined #ruby
fixl has joined #ruby
saarinen has quit [Client Quit]
yasushi has joined #ruby
<nism> apeiros, thanks!
dayepa has joined #ruby
<apeiros> congrats! you managed to spell my nick correctly :-p
<nism> finally got he name right. without tabs!
<shevy> apieroes rocks
aef has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<nism> shevy, :D its apeiros
<shevy> I meant to type that
<shevy> nism you have a good nick, only 4 characters
dfranciosi has joined #ruby
<Nilium> apeheroes
Xeago has joined #ruby
jhaals has joined #ruby
<apeiros> … of might and magic
petey has quit [Ping timeout: 252 seconds]
ekarlso has quit [Changing host]
ekarlso has joined #ruby
<Nilium> Great, now I'm remembering Dark Messiah and suddenly depressed.
fgo has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<shevy> why
dayepa has joined #ruby
<shevy> because it sucked so bad?
<Nilium> It was a huge disappointment
Casey has joined #ruby
troessner has joined #ruby
jhaals has quit [Ping timeout: 245 seconds]
tesuji has joined #ruby
olivier_bK has joined #ruby
jhaals has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
dayepa has quit [Ping timeout: 276 seconds]
maoko has joined #ruby
Yan__ has quit [Remote host closed the connection]
timonv has joined #ruby
nvrch has joined #ruby
mikecmpbll has joined #ruby
dayepa has joined #ruby
roolo has joined #ruby
dweeb has quit [Quit: Computer has gone to sleep.]
<shevy> I liked the ancient hack and slay might and magic ones
fgo_ has joined #ruby
Casey_ has joined #ruby
dayepa1 has joined #ruby
Casey has quit [Ping timeout: 252 seconds]
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
fgo has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
mlpinit has joined #ruby
Kar- has joined #ruby
alexfreidah has joined #ruby
dapz has joined #ruby
dayepa2 has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Casey_ has quit [Ping timeout: 260 seconds]
Casey has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mlpinit has quit [Ping timeout: 272 seconds]
ctp has joined #ruby
alexherbo2 has joined #ruby
dayepa has joined #ruby
FScottFitzgerald has joined #ruby
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexfreidah has quit [Ping timeout: 272 seconds]
dayepa2 has quit [Ping timeout: 276 seconds]
Vivekananda has quit [Remote host closed the connection]
pr00t has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
ozgun has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
klaut has quit [Remote host closed the connection]
Casey_ has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
dayepa has joined #ruby
Czupa has joined #ruby
phipes has quit [Remote host closed the connection]
Casey has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
ndrei has quit [Ping timeout: 246 seconds]
dayepa1 has joined #ruby
Xeago has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
stetho has joined #ruby
dayepa has joined #ruby
mneorr has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
Hanmac1 has joined #ruby
agent_white has quit [Quit: gnight]
Casey_ has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
yasushi has quit [Remote host closed the connection]
FScottFitzgerald has quit [Ping timeout: 245 seconds]
timonv has quit [Remote host closed the connection]
yfeldblum has joined #ruby
dayepa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
TMM has joined #ruby
craigp has joined #ruby
ndrei has joined #ruby
wildroman2 has quit [Remote host closed the connection]
dayepa1 has joined #ruby
ahmedelgabri has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
thenovices has joined #ruby
razibog has quit [Ping timeout: 265 seconds]
Casey has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
shime has joined #ruby
nwkr has quit [Ping timeout: 272 seconds]
gja has quit [Quit: This computer has gone to sleep]
roolo has quit [Remote host closed the connection]
albertgrala has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
roolo has joined #ruby
dweeb has joined #ruby
thenovices has quit [Ping timeout: 246 seconds]
coder_neo has joined #ruby
coder_neo has quit [Client Quit]
okinomo has joined #ruby
Casey has quit [Ping timeout: 245 seconds]
maoko has joined #ruby
cbetta_afk is now known as cbetta
okinomo is now known as Casey
Casey is now known as okinomo
heftig has joined #ruby
ndrei has quit [Quit: leaving]
wildroman2 has joined #ruby
ndrei has joined #ruby
Zai00 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
tyl has joined #ruby
wildroman2 has joined #ruby
_tpavel has quit [Ping timeout: 245 seconds]
dayepa has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
dayepa1 has joined #ruby
Nowaker has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
fire has quit [Quit: WeeChat 0.4.1]
dayepa has joined #ruby
thomasxie has joined #ruby
rdark has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
lkba has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
timonv has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
sensen has joined #ruby
gasbakid has quit [Ping timeout: 248 seconds]
sensen has quit [Client Quit]
mklappstuhl has joined #ruby
phansch has joined #ruby
dayepa has joined #ruby
lyanchih_ has joined #ruby
mlpinit has joined #ruby
amacgregor_ has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
gasbakid has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mneorr has quit [Remote host closed the connection]
dayepa has joined #ruby
dgheath21 has joined #ruby
mneorr has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
senayar has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dgheath21 has quit [Client Quit]
dayepa1 has joined #ruby
mklappstuhl has quit [Read error: Operation timed out]
mklappstuhl has joined #ruby
dgheath21 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mneorr has quit [Ping timeout: 248 seconds]
Es0teric has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
gr33n7007h has quit [Quit: Leaving]
dayepa has joined #ruby
fphilipe has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
fgo_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
dayepa1 has joined #ruby
marr has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dgheath21 has quit [Quit: dgheath21]
gregoriokusowski has joined #ruby
dayepa has joined #ruby
dgheath21 has joined #ruby
dgheath21 has quit [Client Quit]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
rootshift has quit [Ping timeout: 245 seconds]
klaut has joined #ruby
rootshift has joined #ruby
coderhs has quit [Ping timeout: 248 seconds]
okinomo has quit [Ping timeout: 246 seconds]
FScottFitzgerald has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
vmachine has joined #ruby
dayepa has joined #ruby
vmachine has quit [Max SendQ exceeded]
shime has quit [Ping timeout: 248 seconds]
vmachine has joined #ruby
vmachine has quit [Max SendQ exceeded]
narcan has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
kewubenduben has quit [Ping timeout: 276 seconds]
sergicles has joined #ruby
dayepa1 has joined #ruby
cbetta is now known as cbetta_afk
yfeldblum has joined #ruby
phipes has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
cbetta_afk is now known as cbetta
dayepa has joined #ruby
gja has joined #ruby
<zxd> hi
<zxd> is this valid syntax of include?
<zxd> if node['platform_family'].include?('fedora', 'rhel', 'debian')
<zxd> or include can be only one value
<apeiros> zxd: the syntax is valid, the use is not
dayepa1 has quit [Ping timeout: 276 seconds]
<apeiros> at least not for Hash and Array
<zxd> why not
phipes has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
<apeiros> Array and Hash#include? only accept a single argument
thenovices has joined #ruby
dayepa1 has joined #ruby
<zxd> so I should use case node ... ?
<zxd> case statement?
<apeiros> I have no idea how you came to that conclusion
<zxd> so what to use
<zxd> because case can take many arguments
<zxd> include? can take only 1 like you said
<MrZYX> what is node['platform_family']? Array, hash, string,...?
<apeiros> so your solution to "method X does not accept multiple arguments" is to "lets replace the method with another one which accepts many"?
<apeiros> that's not making any sense
dayepa has quit [Ping timeout: 276 seconds]
<apeiros> I suggest you use .include? with a single argument and build code around it to test all values you want to test for inclusion.
dayepa has joined #ruby
<zxd> there is also .all
<zxd> .all?
varfoo has joined #ruby
<apeiros> yes, Enumerable#all? might be part of above approach.
thenovices has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
cbetta is now known as cbetta_afk
dayepa1 has joined #ruby
FScottFitzgerald has quit [Ping timeout: 245 seconds]
zeeraw has joined #ruby
justsee has quit [Quit: leaving]
<olivier_bK> i have a question
workmad3 has joined #ruby
<Hanmac1> apeiros: hm what about this? ;P hash.values_at(*values).none?(&:nil?)
<apeiros> Hanmac1: not the same
cbetta_afk is now known as cbetta
bluenemo has joined #ruby
Hanmac1 is now known as Hanmac
<apeiros> {a: nil}.include?(nil) # => true
<apeiros> gah
<apeiros> wrong example
<apeiros> also values_at wants keys, not values :-p
<apeiros> so it's wrong anyway
dayepa has quit [Ping timeout: 276 seconds]
<apeiros> but for the sake of the argument:
<apeiros> {a: nil}.include?(:a) # => true
dayepa has joined #ruby
<apeiros> {a: nil}.values_at(:a).none?(&:nil?) # => false
petey has joined #ruby
* apeiros off for lunch
dayepa1 has quit [Ping timeout: 276 seconds]
coderhs has joined #ruby
dayepa1 has joined #ruby
<jxport> I want to read in a large file, which is newline separated - and join each line by commas
<MrZYX> olivier_bK: just ask it
<jxport> What is the best way of doing this without using up all the memory?
<jxport> I wrote the following but I'm not sure it avoids the problem
prxq has left #ruby ["Leaving"]
<jxport> File.open("big_file.txt").lazy.map(&:strip).force.join(",")
dayepa has quit [Ping timeout: 276 seconds]
noname001__ has joined #ruby
sensen has joined #ruby
petey has quit [Ping timeout: 272 seconds]
blaxter_ is now known as blaxter3
dayepa has joined #ruby
<MrZYX> well, you're leaving an open file handle there, strip line by line, then use force to build one big array of stripped lines and then join that array
<zxd> node = 'debian' , if node.any?('fedora', 'rhel', 'debian') ... this isn't right syntax is it?
<MrZYX> jxport: the question is, what do you want to do with that big, comma separated string?
<MrZYX> zxd: no it's not
<jxport> MrZYX: sending it to stdout would be file - I'd ultimately probably redirect it to another file
<jxport> I can let bash handle the lazy writing
dayepa1 has quit [Ping timeout: 276 seconds]
<MrZYX> zxd: we yet have not a single clue about your data structure, so it's hard to come up with suggestions
<olivier_bK> MrZYX, excuse me
<MrZYX> jxport: try File/IO.foreach, iirc it's lazy
<olivier_bK> my question is how i can call a ruby variable in curl
<olivier_bK> ?
drumusician has joined #ruby
dayepa1 has joined #ruby
<workmad3> olivier_bK: you can't
<workmad3> olivier_bK: that question doesn't even make sense
blaxter3 is now known as blaxter
<workmad3> olivier_bK: also, begin is a keyword in ruby, you can't use it as a variable name
<zxd> MrZYX: data structure?
dayepa has quit [Ping timeout: 276 seconds]
<MrZYX> zxd: what node is or what its values are
dayepa has joined #ruby
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby
<zxd> MrZYX: ah node = 'debian'
<olivier_bK> workmad3, i didn't know that
<workmad3> zxd: so you want to see if a value is within a set of values?
<MrZYX> zxd: earlier you where doing node['platform_family'], how'd that work?
<workmad3> MrZYX: chef
<workmad3> zxd: weren't people in chef saying that you were doing crazy things last friday? :P
dayepa1 has quit [Ping timeout: 276 seconds]
<workmad3> in #chef even :)
jmeeuwen has quit [Excess Flood]
nemesit|znc has quit [Ping timeout: 252 seconds]
nemesit|znc has joined #ruby
jmeeuwen has joined #ruby
canton7-mac has joined #ruby
Czupa has quit [Remote host closed the connection]
<canton7-mac> ruby-lang
dayepa1 has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dayepa has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
<workmad3> canton7-mac: forgot a /j # ?
dayepa has joined #ruby
<workmad3> olivier_bK: so, what exactly are you trying to do?
<zxd> workmad3: I want to see if anyone of these ('fedora', 'rhel', 'debian') is in platform_family
<zxd> if node['platform_family'].include?('fedora', 'rhel', 'debian') use any? here instead of inclide? ?
<workmad3> zxd:
<workmad3> no, reverse it
<canton7-mac> workmad3, typed '/join #ruby', started typing '/join #ruby-lang', got as far as the '/join #' before xchat helpfully switched the window to #ruby, the '/join #' got left in the previous channel's input box and you guys got the remainer... :$
<workmad3> if %w(fedora rhel debian).include?(node['platform_family'])
dayepa1 has quit [Ping timeout: 276 seconds]
<workmad3> canton7-mac: ah, lovely helpful xchat :D
dayepa1 has joined #ruby
emocakes has joined #ruby
fgo has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mlpinit has joined #ruby
emergion has joined #ruby
dayepa has joined #ruby
alexfreidah has joined #ruby
camilasan has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
sensen has quit [Ping timeout: 272 seconds]
VTLob has joined #ruby
timonv has quit [Remote host closed the connection]
dayepa1 has joined #ruby
timonv has joined #ruby
mlpinit has quit [Ping timeout: 265 seconds]
dayepa has quit [Ping timeout: 276 seconds]
alexfreidah has quit [Ping timeout: 265 seconds]
dayepa has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
multi_io has quit [Remote host closed the connection]
multi_io has joined #ruby
timonv has quit [Ping timeout: 276 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
MindfulMonk has joined #ruby
wildroman2 has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
chrisseaton has joined #ruby
dayepa has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
fphilipe has joined #ruby
timonv_ has joined #ruby
ocline` has joined #ruby
h0lyalg0rithm has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
sensen has joined #ruby
gja has joined #ruby
eka has joined #ruby
zipper is now known as hungLikeHorse
h0lyalg0rithm has quit [Client Quit]
_Andres has joined #ruby
chrisseaton has quit [Ping timeout: 272 seconds]
ocline has quit [Ping timeout: 272 seconds]
<apeiros> canton7-mac: ahaha, yeah, I know that issue
dayepa has quit [Ping timeout: 276 seconds]
<canton7-mac> yeah, it's a right pain ><
<apeiros> just set up auto-join on startup
dayepa has joined #ruby
w_alexus has quit [Ping timeout: 265 seconds]
<apeiros> hand-typing joins is pointless IMO :) (except for first time maybe)
<canton7-mac> I normally use a bouncer which auto-joins me, so I get out of the habit of setting xchat auto-joins when I'm not using it
ozgun has quit [Quit: Leaving]
diegoviola has joined #ruby
hungLikeHorse is now known as zipper
tharindu has quit [Quit: Leaving...]
dayepa1 has joined #ruby
nemesit|znc has quit [Ping timeout: 272 seconds]
<apeiros> I see
nemesit|znc has joined #ruby
psst has quit [Read error: Operation timed out]
<canton7-mac> Set up now, anyway
dayepa has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
dfranciosi has quit [Remote host closed the connection]
lkba has joined #ruby
timonv has joined #ruby
dayepa has joined #ruby
dfranciosi has joined #ruby
ValicekB has quit [Read error: Operation timed out]
strax has quit []
clevermatt has joined #ruby
melfy has quit [Ping timeout: 245 seconds]
mercwithamouth has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
nemesit|znc has quit [Max SendQ exceeded]
nemesit|znc has joined #ruby
dayepa1 has joined #ruby
charliesome has joined #ruby
lewellyn has quit [Ping timeout: 253 seconds]
timonv has quit [Ping timeout: 272 seconds]
dayepa has quit [Ping timeout: 276 seconds]
thenovices has joined #ruby
cbetta is now known as cbetta_afk
cascalheira has joined #ruby
sensen has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
dross has quit [Ping timeout: 272 seconds]
FScottFitzgerald has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kar- has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
lewellyn has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
dayepa1 has joined #ruby
wildroman2 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
thenovices has quit [Ping timeout: 276 seconds]
dayepa has quit [Ping timeout: 276 seconds]
popl has joined #ruby
popl has joined #ruby
dayepa has joined #ruby
timonv has joined #ruby
melfy has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
shime has joined #ruby
ValicekB has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
dross has joined #ruby
vlad_starkov has joined #ruby
fphilipe has quit [Remote host closed the connection]
fphilipe has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
sensen has joined #ruby
melfy has quit [Ping timeout: 248 seconds]
w_alexus has joined #ruby
dross has quit [Ping timeout: 265 seconds]
fphilipe has quit [Ping timeout: 253 seconds]
dross has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
sergicles has quit [Quit: sergicles]
melfy has joined #ruby
FScottFitzgerald has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
nfk has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
dayepa1 has joined #ruby
razibog has joined #ruby
sergicles has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
dkamioka has joined #ruby
m00nlight has quit [Read error: Connection reset by peer]
bluenemo has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
jhaals has quit [Remote host closed the connection]
jhaals has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
Deejay_ has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
m00nlight has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
Speed has joined #ruby
danshultz has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
mlpinit has joined #ruby
fgo_ has joined #ruby
<zxd> what scenarios could cause TypeError can't convert String into Integer ?
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<apeiros> 1+"1"
<apeiros> various others
<Hanmac> zxd or that: [1,2,3]["a"]
dayepa1 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
fgo has quit [Ping timeout: 272 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
DouweM has joined #ruby
rickruby has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
Wolland has quit [Remote host closed the connection]
DouweM has quit [Ping timeout: 276 seconds]
rickruby has quit [Ping timeout: 260 seconds]
h_kon has joined #ruby
MrZYX is now known as MrZYX|off
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
yfeldblum has joined #ruby
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby
fgo_ has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
JohnBat26 has joined #ruby
ohwhoa has quit [Ping timeout: 272 seconds]
m00nlight_ has joined #ruby
m00nlight has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
ohwhoa has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
thenovices has joined #ruby
nfk has quit [Quit: yawn]
dayepa1 has joined #ruby
razibog has quit [Ping timeout: 246 seconds]
Mars has joined #ruby
Mars is now known as Guest73351
fgo has joined #ruby
mudmaste_ has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
FScottFitzgerald has joined #ruby
wuest has joined #ruby
thenovices has quit [Ping timeout: 252 seconds]
dayepa has joined #ruby
shaunbaker has joined #ruby
mudmaster has quit [Ping timeout: 246 seconds]
Guest73351 has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
petey has joined #ruby
wald0 has joined #ruby
browndawg has joined #ruby
dayepa1 has joined #ruby
m00nlight__ has joined #ruby
<shevy> any of you have used ruby ftp stuff
<shevy> I mean the ruby ftp module
m00nlight_ has quit [Ping timeout: 246 seconds]
dayepa has quit [Ping timeout: 276 seconds]
matchaw has quit [Read error: Connection reset by peer]
sensen has quit [Quit: leaving]
dayepa has joined #ruby
petey has quit [Ping timeout: 245 seconds]
matchaw has joined #ruby
browndawg1 has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
<shevy> waaaaa
<shevy> touch:
browndawg has quit [Ping timeout: 272 seconds]
<shevy> "File name too long"
securitycrush has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
FScottFitzgerald has quit []
<shevy> lol
<shevy> Errno::ENAMETOOLONG: File name too long
<shevy> how can I find out how long a file name can be on a system
kirun has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<apeiros> I don't think there's a platform independent API for that
fphilipe has joined #ruby
dayepa1 has joined #ruby
<apeiros> common length limits: 8.3, 30, 255
cbetta_afk is now known as cbetta
Neomex has joined #ruby
<shevy> ok
mrnugget has quit [Quit: mrnugget]
yalue has joined #ruby
tvw has quit []
ewnd9 has quit [Ping timeout: 260 seconds]
wildroman2 has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
fgo has quit [Remote host closed the connection]
dayepa has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
tt1187 has joined #ruby
Targen_ has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
razibog has joined #ruby
gja has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
<shevy> ext2 255 bytes
<shevy> Reiser4 3,976 bytes
<shevy> murderFS rocks there
<shevy> LEAN 4,068 bytes
<shevy> hmm
wildroman2 has joined #ruby
<shevy> omg... freedos
Kar- has joined #ruby
ArchBeOS-work has joined #ruby
<apeiros> somehow I think you do something quite wrong if you have filenames >255 chars
dayepa has quit [Ping timeout: 276 seconds]
gja has quit [Client Quit]
IceyEC has joined #ruby
dayepa has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
dfranciosi has quit [Remote host closed the connection]
varfoo has quit [Quit: WeeChat 0.4.0]
clevermatt has quit [Remote host closed the connection]
<shevy> apeiros merging pdf files
<shevy> cats.pdf dogs.pdf -> cats_and_dogs.pdf !
clevermatt has joined #ruby
<apeiros> yeah. still.
dayepa1 has quit [Ping timeout: 276 seconds]
<apeiros> if your A_and_B_and_C hits 255 chars, it's no longer a useful filename
<shevy> does it have to be one?
dayepa1 has joined #ruby
RaCx has joined #ruby
jkamenik has joined #ruby
<shevy> the thing is I could want to merge 50 pdf files together, and afterwards I could rename to make them fit/make sense
<shevy> in this case though, I am limited before I can do the merge, so I have to think of a shorter filename before
alexfreidah has joined #ruby
dfranciosi has joined #ruby
<shevy> these pdf files are discarded soon after I read them anyway, but not always
dayepa has quit [Ping timeout: 276 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gja has joined #ruby
dayepa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
ValicekB has quit [Ping timeout: 272 seconds]
fire has joined #ruby
alexherbo2 has joined #ruby
alexfreidah has quit [Ping timeout: 245 seconds]
gja has quit [Client Quit]
dayepa1 has joined #ruby
Guest7148 has quit [Changing host]
Guest7148 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
zegerjan has joined #ruby
dayepa has joined #ruby
EngierkO has joined #ruby
<olivier_bK> how i can iterate over curl command
<olivier_bK> ?
dayepa1 has quit [Ping timeout: 276 seconds]
daidoji has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Remote host closed the connection]
sepp2k has joined #ruby
SeySayux has quit [Read error: Operation timed out]
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
mark_locklear has joined #ruby
gja has joined #ruby
Svag has joined #ruby
rubyracer has joined #ruby
Hanmac1 has joined #ruby
ValicekB has joined #ruby
sandGorgon has quit [Ping timeout: 246 seconds]
apeiros has quit [Remote host closed the connection]
po10 has quit [Remote host closed the connection]
dayepa has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
arturaz has joined #ruby
po10 has joined #ruby
SeySayux has joined #ruby
jlebrech has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has quit [Ping timeout: 276 seconds]
vallieres_ has joined #ruby
dayepa1 has joined #ruby
poulson has joined #ruby
ndrei has joined #ruby
avril14th has joined #ruby
pranny has quit [Quit: Leaving.]
fgo has joined #ruby
clamstar has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
lyanchih_ has joined #ruby
platzhirsch has joined #ruby
dayepa has joined #ruby
Hanmac has joined #ruby
fgo has quit [Read error: Connection reset by peer]
tyl has joined #ruby
fgo has joined #ruby
yfeldblum has joined #ruby
MatthewsFace has joined #ruby
thenovices has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
georges has joined #ruby
dayepa1 has joined #ruby
<georges> does ruby have equivalent of python's map/filter or list comprehensions?
artmann_ has quit [Remote host closed the connection]
zeeraw has joined #ruby
artmann has joined #ruby
<tobiasvl> not exactly list comprehensions (ruby uses blocks instead), but it absolutely has map
<georges> under what name?
clamstar has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 276 seconds]
clamstar has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
rootshift has quit [Ping timeout: 272 seconds]
<tobiasvl> map
dayepa has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
rootshift has joined #ruby
<georges> huh
<shevy> olivier_bK if I would be you, assign to _
<shevy> then output _
platzhirsch has left #ruby [#ruby]
yfeldblum has quit [Ping timeout: 252 seconds]
<shevy> and paste it here olivier_bK
<shevy> with that code alone, I have no idea what is wrong
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeeraw has quit [Client Quit]
ValicekB has quit [Ping timeout: 245 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
<georges> cool thanks
<georges> and filter?
rippa has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
dayepa1 has joined #ruby
nism has quit [Read error: Connection reset by peer]
Mars has joined #ruby
Mars is now known as Guest3623
DrShoggoth has quit [Quit: Leaving]
<shevy> georges what does filter do
ahmedelgabri has joined #ruby
<shevy> I suppose from the name it rejects elements
<georges> filter takes a predicate and removes elements that don't satisfy it
<shevy> you can use .select and .reject on your data structure in ruby
<georges> from a list
<georges> thanks
dayepa has quit [Ping timeout: 276 seconds]
<shevy> %w( cat dog mouse ).reject {|entry| entry.size > 4 } # => ["cat", "dog"]
<shevy> the mouse fell out
<georges> exactly what I wanted, cheers
RaCx has joined #ruby
kaldrenon has joined #ruby
psst has joined #ruby
ldiamond has quit [Ping timeout: 252 seconds]
ewnd9 has joined #ruby
DFieldFL has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Cooler_ has joined #ruby
razibog has quit [Quit: Leaving.]
breakingthings has joined #ruby
Guest3623 has quit [Ping timeout: 272 seconds]
<georges> I wish there was a python and ruby comparison, translating common idioms from one language to another
ikawnoclast has joined #ruby
<shevy> hmm
<shevy> usually people will settle for only one of these two
ffranz has joined #ruby
<shevy> georges this guy http://lucumr.pocoo.org/ is a pythonista but he also used ruby quite a bit
daidoji has joined #ruby
ohwhoa has quit [Quit: woah!]
metasyntax has quit [Quit: Leaving]
dayepa has joined #ruby
<shevy> that one was a nice read, in 2011 http://lucumr.pocoo.org/2011/12/7/thoughts-on-python3/
mengu has joined #ruby
<shevy> "I do love Python as a language and especially the direction it's heading in."
mengu has quit [Changing host]
mengu has joined #ruby
Hanmac1 has joined #ruby
marcgg has joined #ruby
<shevy> "And we both agreed that Ruby's blocks are amazing design but for many reasons don't work that well in Python in its current design."
klip has quit [Quit: leaving]
klip has joined #ruby
<shevy> some more epic quotes
<shevy> "The indentation based syntax of the language was often criticized, but seeing how many languages now show up with exactly that as a feature (think HAML, CoffeeScript and many more) shows that it's well received."
<shevy> :)
Hanmac has quit [Ping timeout: 252 seconds]
<shevy> then the mood falls down
<georges> i am sure it is an interesting read, but I meant more like a speedy guide to ruby for a python programmer
<shevy> "I stopped looking forward to Python releases"
<shevy> hehe
dayepa1 has joined #ruby
<shevy> first answer is good
cyberarm has joined #ruby
Guest7148 is now known as guyz
MatthewsFace has quit [Quit: This computer has gone to sleep]
marcgg_ has quit [Ping timeout: 272 seconds]
<shevy> wheeeee
dayepa has quit [Ping timeout: 276 seconds]
<shevy> python is shorter than ruby:
<shevy> [x*x for x in values if x > 15]
<shevy> values.select {|v| v > 15}.map {|v| v * v}
vlad_starkov has quit [Remote host closed the connection]
dayepa has joined #ruby
<shevy> aha
<shevy> georges, I think this guy was like you but the other way http://allthingsprogress.com/posts/the-ugliness-of-python
jerius has joined #ruby
Neomex has quit [Quit: Neomex]
klip has quit [Quit: leaving]
dblessing has joined #ruby
klip has joined #ruby
dapz has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> import codecs
<georges> youre throwing a lot of stuff at me =). I am just trying to learn ruby
<shevy> decoder = codecs.getincrementaldecoder('zlib')('strict')
<shevy> decoder.decode('x\x9c\xf3H\xcd\xc9\xc9Wp')
fphilipe has quit [Read error: Connection reset by peer]
thenovices has quit [Remote host closed the connection]
<shevy> python code is strange
<georges> and a quick python->ruby translations of most commonly used idioms would be nice to have
<zxd> what does @ mean in ruby @results = @results.to_s + "run" , in perl it means array
fphilipe has joined #ruby
<georges> python does have a lot of annoying things, yeah
DeanH has joined #ruby
dayepa1 has joined #ruby
DeanH has quit [Max SendQ exceeded]
<waxjar> zxd: @ followed by some characters is an instance variable
shime has quit [Ping timeout: 252 seconds]
<zxd> what does instance mean?
<zxd> waxjar
<workmad3> zxd: this is probably a good time to learn some ruby btw
<workmad3> zxd: plenty of good tutorials out there
<zxd> workmad3: yea
dayepa has quit [Ping timeout: 276 seconds]
<waxjar> does python not have instances?
<workmad3> zxd: and IRC isn't a good tutorial area... it's good for questions, troubleshooting and clarification, not first-time learning
<workmad3> waxjar: zxd is doing chef sysadmin stuff
<waxjar> ah
<workmad3> or rather, attempting to do chef sysadmin stuff ;)
polaco_zZz is now known as polaco
<zxd> it's impossible to do chef without knowing ruby
<zxd> they lie on the chef docs
Hanmac1 has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
<zxd> bummer
popl has quit [Ping timeout: 272 seconds]
<workmad3> zxd: you can use chef without knowing ruby... but you can't write cookbooks without knowing ruby
<zxd> or debug any error
dayepa1 has quit [Ping timeout: 276 seconds]
<workmad3> zxd: do you do coding in any language?
yasushi has joined #ruby
<workmad3> zxd: as I know the chef docs claim you don't need to know ruby, but I don't think they claim you can get away without knowing a coding language of some form
jamesaanderson has joined #ruby
dayepa1 has joined #ruby
kobain has joined #ruby
hypnosb has quit [Ping timeout: 252 seconds]
gopat has joined #ruby
ahmedelg_ has joined #ruby
apeiros has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
ixti has joined #ruby
dayepa has joined #ruby
ValicekB has joined #ruby
clamstar has quit [Quit: Computer has gone to sleep.]
RaCx has quit [Quit: Computer has gone to sleep.]
Kar- has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
fedez77 has joined #ruby
clamstar has joined #ruby
polaco has left #ruby [#ruby]
dayepa1 has quit [Ping timeout: 276 seconds]
vallieres_ has quit [Quit: Computer has gone to sleep.]
ahmedelgabri has quit [Ping timeout: 252 seconds]
dayepa1 has joined #ruby
alexfreidah has joined #ruby
ahmedelg_ has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 276 seconds]
danijoo has joined #ruby
zeeraw has joined #ruby
dayepa has joined #ruby
mak|idle is now known as makkura
Hanmac has joined #ruby
Targen has joined #ruby
marcgg_ has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
gja has quit [Quit: This computer has gone to sleep]
jlast has joined #ruby
ms_steampunk has joined #ruby
_Andres has quit [Ping timeout: 248 seconds]
razibog has joined #ruby
gja has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
kobain_ has joined #ruby
RaCx has joined #ruby
marcgg has quit [Ping timeout: 252 seconds]
dayepa has joined #ruby
emocakes has quit [Quit: Leaving...]
sailias has joined #ruby
Sid05 has joined #ruby
fire has quit [Ping timeout: 260 seconds]
sailias has quit [Client Quit]
_Andres has joined #ruby
IceDragon has joined #ruby
kobain has quit [Ping timeout: 245 seconds]
sailias has joined #ruby
sailias has quit [Client Quit]
hypnosb has joined #ruby
sailias has joined #ruby
kobain_ is now known as kobain
momomomomo has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
Ox6abe has joined #ruby
DouweM has joined #ruby
fire has joined #ruby
tannerburson has joined #ruby
dayepa has joined #ruby
himsin has quit [Quit: himsin]
tharindu has joined #ruby
aryaching has joined #ruby
rubyracer has quit [Ping timeout: 252 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
Xeago has quit [Remote host closed the connection]
CorySimmons has joined #ruby
nw has quit [Quit: leaving]
Sid05 has quit [Read error: Connection reset by peer]
nw has joined #ruby
Sid05 has joined #ruby
<CorySimmons> Hey guys, I'm trying to make a basic shell script in Ruby (just using a lot of `exec`). I'm trying to pass variables to an exec statement but I don't think they're getting passed. Here's my couple lines of code so far: http://pastie.org/8629444 How can I get Ruby variables into an exec statement?
thenovices has joined #ruby
vallieres_ has joined #ruby
ohwhoa has joined #ruby
senayar_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
ctp_ has joined #ruby
ctp_ has quit [Client Quit]
<tobiasvl> use ""
<mikecmpbll> CorySimmons: for string interpolation you need to use double quotes "#{}"
dayepa has joined #ruby
VinceThePrince has joined #ruby
<IceDragon> CorySimmons: place the command into a string first and print it to the console, or use "system" with your own IOs
lioninawhat has joined #ruby
p8952 has quit [Ping timeout: 260 seconds]
VinceThePrince has quit [Client Quit]
<CorySimmons> Ah, I'm such a newb. Totally newb mistake
w4pm has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<CorySimmons> IceDragon: You mean `require system` ?
<IceDragon> no, Kernel#system
dayepa1 has joined #ruby
Xeago has joined #ruby
senayar has quit [Ping timeout: 252 seconds]
lioninawhat has quit [Remote host closed the connection]
ctp has quit [Ping timeout: 260 seconds]
pranny has joined #ruby
tvw has joined #ruby
<CorySimmons> IceDragon: What's the difference between exec and system?
Macaveli has quit [Ping timeout: 265 seconds]
<IceDragon> exec will replace the current process
<IceDragon> according to the docs
daidoji has quit [Ping timeout: 272 seconds]
dayepa has quit [Ping timeout: 276 seconds]
<CorySimmons> Hm
yfeldblum has joined #ruby
dayepa has joined #ruby
<IceDragon> I think IO.popen would work better here
<CorySimmons> Yeah maybe. I'm having trouble getting the `inkscape` command to fire http://pastie.org/8629464
w4pm has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
<CorySimmons> Although I don't know if it has anything to do with what class I'm using or if it's my syntax.
<IceDragon> does inkscape work from your command line?
<CorySimmons> Yes
<IceDragon> It might be a PATH issue
<CorySimmons> It works from CLI
dayepa1 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
tyl has joined #ruby
<olivier_bK> i dont know how i can resolv my problem
<IceDragon> okay, try a: system("echo $PATH") && system("which inkscape")
<IceDragon> if the latter returns nothing then you have a PATH problem
bobrenjc93 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<IceDragon> olivier_bK: what is this problem?
<CorySimmons> inkscape totally works from CLI. I just ran the command I'm trying in Ruby with absolute paths and such and it worked as expected.
<IceDragon> oh
vlad_starkov has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
sambao21 has joined #ruby
<CorySimmons> :)
<CorySimmons> inorite?!
<IceDragon> "Ruby with absolute paths"
<CorySimmons> ?
`MArceLL` has quit []
thenovices has quit []
<IceDragon> absolute as in /usr/bin/inkscape
thenovices has joined #ruby
<CorySimmons> No, I mean, I ran `inkscape /Users/cory/Dropbox/Sandbox/foo_tests/uploadables/illustrator_new.ai --export-plain-svg=/Users/cory/Dropbox/Sandbox/foo_tests/tests_old/results/illustrator_new.svg`
<CorySimmons> From Terminal, and it worked
dayepa has quit [Ping timeout: 276 seconds]
vlad_sta_ has joined #ruby
fphilipe has quit [Remote host closed the connection]
thenovices has quit [Client Quit]
mary5030 has joined #ruby
yfeldblum has joined #ruby
thenovices has joined #ruby
<IceDragon> oh, you're using a Mac
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderhs has quit [Ping timeout: 260 seconds]
fphilipe has joined #ruby
kreantos has joined #ruby
bobrenjc93 has quit [Client Quit]
<IceDragon> > has no idea what to do now
Mars has joined #ruby
<CorySimmons> lol okay thanks anyway
dayepa has joined #ruby
Mars is now known as Guest5768
<CorySimmons> Is it possible that Ruby doesn't have access to the `inkscape` command?
dayepa1 has quit [Ping timeout: 276 seconds]
<IceDragon> once again, I point at your internal $PATH
<IceDragon> ruby might not be importing your PATH variable properly
<mikecmpbll> CorySimmons: what's the actual error?
<workmad3> IceDragon: or, more likely, it's being run in such a way that it doesn't get a login shell and so the shell doesn't have the appropriate path
<CorySimmons> mikecmpbll: image_manipulation.rb:5:in `exec': No such file or directory - inkscape (Errno:: from image_manipulation.rb:5:in `<main>'
zigomir has quit [Remote host closed the connection]
<workmad3> CorySimmons: did you just recently install inkscape?
<CorySimmons> Yes
<CorySimmons> And I'm using rbenv if that makes a difference
vlad_starkov has quit [Ping timeout: 252 seconds]
<workmad3> CorySimmons: and if so, did you reload the shell you're running that file in since install?
mary5030_ has joined #ruby
zigomir has joined #ruby
<mikecmpbll> ^
<CorySimmons> Oh, yes
mengu has quit [Remote host closed the connection]
<CorySimmons> And restarted my computer and everything
dayepa1 has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
<workmad3> CorySimmons: how are you running the ruby process that errors?
mary5030 has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
<CorySimmons> workmad3: What do you mean exactly?
<CorySimmons> `ruby image_manipulation.rb`
fphilipe has quit [Ping timeout: 245 seconds]
Hobogrammer_ has quit [Ping timeout: 276 seconds]
<CorySimmons> Should I try sudo'ing it?
<workmad3> CorySimmons: no
nowthatsamatt has joined #ruby
freerobby has joined #ruby
<IceDragon> D8< Though shall not sudo within a ruby program
<workmad3> CorySimmons: does 'which inkscape' give you anything after that errors?
<IceDragon> Thou*
Guest5768 has quit [Ping timeout: 276 seconds]
<workmad3> IceDragon: 'Thou shalt'
<IceDragon> ^
<IceDragon> D8< @ my english for sucking
Kar- has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
RaCx has quit [Ping timeout: 252 seconds]
Macaveli has joined #ruby
<CorySimmons> workmad3: Bah! `which inkscape` returns nothing
<CorySimmons> Wtf, I can use it!
<workmad3> CorySimmons: right, so inkscape isn't on your PATH
<CorySimmons> I mean, I can use it from the command line
<CorySimmons> Wtf right?
<CorySimmons> That command I posted above completely works
<CorySimmons> But yeah, apparently it's not in my PATH somehow?
<workmad3> CorySimmons: how about 'type inkscape' ?
dayepa1 has quit [Ping timeout: 276 seconds]
RaCx has joined #ruby
dayepa1 has joined #ruby
<CorySimmons> workmad3: inkscape is a function with definition; function inkscape; /Applications/Inkscape.app/Contents/Resources/bin/inkscape $argv; end
<workmad3> CorySimmons: aha, there we go :D
<workmad3> CorySimmons: inkscape isn't a command on your PATH, it's a function in your shell
<CorySimmons> Ah I see
<mikecmpbll> lmao
<CorySimmons> An alias
<CorySimmons> :D
<workmad3> CorySimmons: no
<workmad3> CorySimmons: an alias would work
<CorySimmons> Well, a function that kinda acts like an alias right?
<workmad3> CorySimmons: yeah, it's basically an alias written by someone who has no fucking clue what to do in a shell :)
<IceDragon> oliver_bK: check your gist, I just commented on it
<mikecmpbll> nice debugging, workmad3.
Sid05 has quit [Ping timeout: 252 seconds]
<CorySimmons> workmad3: haha, I think I wrote it
<workmad3> CorySimmons: hehe
dayepa has quit [Ping timeout: 276 seconds]
<workmad3> CorySimmons: sorry for the insult then... but :P ;)
<IceDragon> workmad3: Ruby detective!
dayepa has joined #ruby
jamesaanderson has joined #ruby
<workmad3> CorySimmons: I'd suggest you either add that location to your PATH or provide a way in your script to push in an absolute path to inkscape
<workmad3> IceDragon: shell detective more like ;)
geggam has joined #ruby
stef_204 has joined #ruby
<IceDragon> workmad3: hehe
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has quit [Ping timeout: 276 seconds]
<olivier_bK> i cant see how i can resolv my problem
dayepa1 has joined #ruby
<CorySimmons> workmad3: Ah, I can add it to my PATH a la http://wiki.inkscape.org/wiki/index.php/MacOS_X#Inkscape_command_line
mansi has joined #ruby
doodlehaus has joined #ruby
enebo has joined #ruby
okinomo has joined #ruby
<workmad3> CorySimmons: ok then :)
axl_ has joined #ruby
burlyscudd has joined #ruby
<workmad3> CorySimmons: or you could create a script '/usr/local/bin/inkscape' with the lines '#!/bin/bash; pushd /Applications/Inkscape.app/Contents/Resources/bin; inkscape $*; popd'
RaCx has quit [Quit: Computer has gone to sleep.]
dayepa has quit [Ping timeout: 276 seconds]
<workmad3> CorySimmons: where ; is a newline
coderhs has joined #ruby
<CorySimmons> Can't I just symlink it like suggested?
<CorySimmons> What's the diff?
<workmad3> CorySimmons: you could, but that script will ensure that the cwd for the script is correct regardless of the way you invoke it
ms_steampunk has quit [Quit: sleeeep]
dayepa has joined #ruby
nomenkun has joined #ruby
<workmad3> CorySimmons: it'll probably work either way
tt1187 has quit []
dayepa1 has quit [Ping timeout: 276 seconds]
skywhopper has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
e62 has quit [Ping timeout: 276 seconds]
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
havenwood has joined #ruby
freerobby has quit [Quit: Leaving.]
okinomo_ has joined #ruby
okinomo_ has quit [Client Quit]
mikecmpbll has joined #ruby
ahmedelgabri has joined #ruby
jwalk has joined #ruby
freerobby has joined #ruby
dayepa1 has joined #ruby
maroloccio has joined #ruby
jedimind has joined #ruby
ewnd9 has quit [Ping timeout: 252 seconds]
Sawbones has joined #ruby
axl_ has quit [Quit: axl_]
dayepa has quit [Ping timeout: 276 seconds]
<CorySimmons> workmad3: I didn't use your script, I just tried the symlinked solution, but now it's firing a ton of errors which, after Googling, lead me here (http://www.inkscapeforum.com/viewtopic.php?f=29&t=11652), which, apparently is why I was using the Alias Solution in the first place (http://wiki.inkscape.org/wiki/index.php/MacOS_X#Alias_Solution)
<CorySimmons> Damn thing throws errors either way.
<workmad3> CorySimmons: except you weren't using the alias solution ;)
ambushsabre has joined #ruby
<Sawbones> Hello everyone, what server should I run RoR on?
<Sawbones> Apache/Nginx/Other?
<Sawbones> for production
<CorySimmons> workmad3: I wasn't?
<IceyEC> Sawbones: what do you have experience with?
<workmad3> CorySimmons: no, you'd created a function to call it
<workmad3> CorySimmons: which is not the same as an alias
<Sawbones> I've work professionally with Apache
<CorySimmons> workmad3: Actually, I created an alias and Fish Shell seems to have turned it into a function
dayepa has joined #ruby
DrShoggoth has joined #ruby
<workmad3> CorySimmons: ah, you're using fish shell? ok, then I'd suggest you try the wrapper script then
tylersmith has joined #ruby
<CorySimmons> workmad3: Which one is the wrapper script?
<CorySimmons> alias inkscape="/Applications/Inkscape.app/Contents/Resources/bin/inkscape" ?
<workmad3> CorySimmons: no, the one I suggested
<CorySimmons> Ahh
<CorySimmons> So genius :)
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has quit [Ping timeout: 276 seconds]
renklaf has quit [Ping timeout: 260 seconds]
Xeago has quit [Read error: Connection reset by peer]
<CorySimmons> Do those have extensions on them, or do I just `touch /usr/local/bin/inkscape`?
tesuji has quit [Ping timeout: 245 seconds]
tobago has quit [Remote host closed the connection]
Xeago has joined #ruby
dayepa1 has joined #ruby
noop has quit [Ping timeout: 272 seconds]
pedda has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<workmad3> CorySimmons: well, you want to put the stuff I suggested into /usr/local/bin/inkscape
<CorySimmons> workmad3: Yeah I just touch/edited it
renklaf has joined #ruby
<CorySimmons> Getting: unknown command 'inkscape' now though
<workmad3> CorySimmons: you know you don't need to touch a file before editing it, right? :)
<CorySimmons> I think it's probably an issue with Fish
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
DaniG2k has joined #ruby
<CorySimmons> workmad3: Oh yeah, I forgot :)
dayepa has joined #ruby
<lastWhisper_> hey guys, if I'm running a cucumber test suite, and my ruby process is getting higher after each scenario, like 900mb. if I were to put a binding.pry in the middle, and do GC.enable;GC.start, would that bring the process's memory down at all? or no? Am I looking at the problem the wrong way?
fphilipe has joined #ruby
<CorySimmons> workmad3: /usr/local/bin/inkscape http://pastie.org/8629555
shaunbaker has quit [Remote host closed the connection]
<workmad3> CorySimmons: oh, try './inkscape $*' then
momomomomo_ has joined #ruby
<workmad3> CorySimmons: and #!/bin/bash means the script runs as bash
darthdeus has joined #ruby
Hanmac1 has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<workmad3> CorySimmons: so it doesn't matter if pushd/popd are different in fish ;)
momomomomo_ has quit [Client Quit]
<CorySimmons> Ah I see, nice
<CorySimmons> Learning a lot about shell in #ruby today XD
<CorySimmons> workmad3: Hm, still getting unknown command 'inkscape'
dayepa1 has joined #ruby
<CorySimmons> Well, fish: Unknown command 'inkscape'
Xeago_ has joined #ruby
<CorySimmons> So, does that mean Fish isn't able to see it, but it's running in Bash somewhere?
momomomomo_ has joined #ruby
emocakes has joined #ruby
<workmad3> CorySimmons: oh, chmod +x /usr/local/bin/inkscape
<workmad3> CorySimmons: suitably sudoed
Hanmac has quit [Ping timeout: 252 seconds]
<workmad3> CorySimmons: need to make it executable :D
CogitoErgoSum has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
Hanmac has joined #ruby
<CorySimmons> What's that +x flag do ooc?
<workmad3> CorySimmons: makes it executable
<CorySimmons> Ah, nice
<workmad3> CorySimmons: as it sets the executable permission
momomomomo_ has quit [Client Quit]
gja has quit [Quit: This computer has gone to sleep]
<workmad3> CorySimmons: http://tldp.org/LDP/abs/html/index.html may be of interest btw ;)
lastWhisper_ is now known as LastWhisper
ahmedelgabri has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 276 seconds]
<CorySimmons> workmad3: Works!!!
<CorySimmons> Thank you so much
<workmad3> CorySimmons: np
<workmad3> now back to figuring out my own scripting needs :)
OdNairy has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
Advocation has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
lmickh has joined #ruby
snath has quit [Ping timeout: 248 seconds]
starkhalo has joined #ruby
blandflakes has joined #ruby
dayepa1 has joined #ruby
<CorySimmons> workmad3: Let me know if you need an image :)
jlast_ has joined #ruby
nettoweb has joined #ruby
aletip has joined #ruby
gja has joined #ruby
jlast_ has quit [Read error: Connection reset by peer]
jlast_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
blandflakes_ has joined #ruby
<CorySimmons> Anyone know how to get all these execs to run at the same time? http://pastie.org/pastes/8629575/text For instance, if I run this `ruby image_manipulation.rb` it will execute the first `exec` then not proceed to the next one.
<CorySimmons> IceDragon: Is this an instance where I'd use `system` or `IO`?
rickruby has joined #ruby
<IceDragon> in the ruby process?
tagrudev has quit [Remote host closed the connection]
blandflakes has quit [Disconnected by services]
blandflakes_ is now known as blandflakes
<IceDragon> I think its still limited to single process
<IceDragon> CorySimmons: try placing an & after the command
krz has quit [Read error: Operation timed out]
<IceDragon> that will fork it to the background
dayepa has joined #ruby
mechanicles has joined #ruby
tannerburson has quit [Quit: tannerburson]
jlast has quit [Ping timeout: 260 seconds]
camilasan has quit []
Macaveli has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
thomasxie has quit [Quit: Leaving.]
jamesaanderson has joined #ruby
tannerburson has joined #ruby
jamesaanderson has quit [Client Quit]
dayepa1 has joined #ruby
fgo has quit [Remote host closed the connection]
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
rickruby has quit [Ping timeout: 246 seconds]
<georges> what gui library hsa the most mature bindings?
dayepa has quit [Ping timeout: 276 seconds]
interactionjaxsn has joined #ruby
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
zipper_ has joined #ruby
<Sawbones> Has anyone managed to wrap C++ with ruby
aletip has left #ruby [#ruby]
Macaveli has joined #ruby
Megtastique has joined #ruby
<end_guy> Sawbones:
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
digital-ghost has joined #ruby
<Sawbones> Wow nice, thanks
ctp has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
Es0teric has joined #ruby
nateberkopec has joined #ruby
zipper_ has quit [Client Quit]
vlad_sta_ has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 272 seconds]
<CorySimmons> IceDragon: That didn't seem to work. :(
dayepa1 has joined #ruby
<CorySimmons> Like so? exec "inkscape #{upload_dir}/illustrator_new.ai --export-plain-svg=#{test_results_dir}/illustrator_new.svg &"
<IceDragon> yup
<CorySimmons> Nah didn't work
<IceDragon> lemme guess, ruby still waited on it
<IceDragon> you could try a Thread and fork?
<CorySimmons> How?
<IceDragon> Thread.new { fork && system(your_thing_here) }
zipper has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
JohnBat26 has quit [Ping timeout: 248 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
dayepa has joined #ruby
<CorySimmons> IceDragon: This seems to work: http://pastie.org/8629647
CorySimmons has left #ruby [#ruby]
VTLob has quit [Quit: VTLob]
gja has joined #ruby
CorySimmons has joined #ruby
chrisseaton has joined #ruby
<IceDragon> I think thta just waits on the first to complete and then the second and so on
freezey has joined #ruby
t4nkd has joined #ruby
<CorySimmons> Yeah it does
<havenwood> CorySimmons: That would run each command *if* the previous succeeded and only after it success.
<CorySimmons> Oh really?
Mars has joined #ruby
cads has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<havenwood> CorySimmons: yeah, shell `&&` checks exit status
Mars is now known as Guest47036
dayepa1 has joined #ruby
<havenwood> CorySimmons: if you just want to run one after another, separate with `; ` rather than ` && `
<CorySimmons> So how should I do this? I accidentally exited IRC before I saw any replies
cgore has joined #ruby
SCommette has joined #ruby
vlad_starkov has joined #ruby
thaifood has joined #ruby
ctp has quit [Read error: Connection reset by peer]
<havenwood> CorySimmons: You just want to run a list of commands, each in their own process?
<havenwood> CorySimmons: Or run them sequentially?
<thaifood> hi, can anyone tell me how to "gem install livereload" to work please? http://fpaste.org/67990/62806513/
dayepa has quit [Ping timeout: 276 seconds]
<havenwood> thaifood: You need DevKit to build C extensions on Windows.
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
<thaifood> i installed devkit
<havenwood> thaifood: oh, looks like you already have it, aye
dayepa has joined #ruby
<yan_> anyone know if it's possible for bundler to package+install all to local dir? similar to python's virtualenv. i'm trying to grab all dependencies to a project, but 'bundle package' is insisting on installing all the dependencies to the system first
gja has quit [Quit: This computer has gone to sleep]
CorySimmons has quit [Quit: Leaving.]
centrx has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Guest47036 has quit [Ping timeout: 276 seconds]
gopat has quit [Remote host closed the connection]
CorySimmons has joined #ruby
bean has joined #ruby
razibog has quit [Ping timeout: 272 seconds]
<thaifood> is livereload gem broken ?
<thaifood> is that what it means ?
meatherly has joined #ruby
<havenwood> thaifood: it very possibly doesn't compile on windows, i don't know. you might want to submit an Issue to them.
<thaifood> ok thanks
dayepa1 has joined #ruby
<havenwood> yan_: `bundle --deployment` will install the gems into a local `vendor/` folder
rhys has joined #ruby
burlyscudd has quit [Quit: Leaving.]
gja has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<IceDragon> > (windows && something_ruby_compiles(:correctly) && puts("Hell Yeah")) || puts "quit talking hippy stuff" #=> quit talking hippy stuff
yasushi has quit [Remote host closed the connection]
Targen has quit [Read error: Connection reset by peer]
psyl0n has joined #ruby
<yan_> havenwood: that still requires 'bundle package', which insists on installing to system
jovon has joined #ruby
yasushi has joined #ruby
t4nkd has left #ruby ["Linkinus - http://linkinus.com"]
CorySimmons has quit [Ping timeout: 245 seconds]
Kruppe has quit [Quit: ZNC - http://znc.in]
mando has joined #ruby
Macaveli has quit [Ping timeout: 260 seconds]
Deejay_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> yan_: ahh, hmm i'm not sure how to achieve that with bundler if i get what you're saying
<havenwood> yan_: might try asking in #bundler as well
<yan_> havenwood: thanks
dayepa has joined #ruby
jprovazn has quit [Quit: Leaving]
CorySimmons has joined #ruby
Kruppe has joined #ruby
Targen has joined #ruby
<havenwood> yan_: I don't know if it is doable with just bundler or maybe a tool like chgems would be helpful?: https://github.com/postmodern/chgems#readme
<CorySimmons> havenwood: What's the difference between them being in their own process and being ran sequentially?
dayepa1 has quit [Ping timeout: 276 seconds]
<havenwood> or gs or ohmygems, i dunno
DrShoggoth has quit [Read error: Operation timed out]
<CorySimmons> havenwood: I'd like to be able to have them each be their own line of ruby so I can add a comment to the end of each :)
r0bby_ has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
thaifood has left #ruby [#ruby]
ckinni has quit [Quit: Textual IRC Client: www.textualapp.com]
momomomomo has quit [Quit: momomomomo]
<havenwood> CorySimmons: I mean do you want them to all run at the same time in parallel on their own core if available? If so, fork. Or just concurrently, if so thread. Or just one after the other, no need for parallelism or concurrency.
lfox has joined #ruby
dayepa1 has joined #ruby
Spami has joined #ruby
h_kon has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
<havenwood> CorySimmons: If they don't need to be run at once, just run one after the other (can't do that with exec, since you'll kill the parent process).
aspiers has quit [Quit: WeeChat 0.4.1]
meatherly has quit [Read error: Connection reset by peer]
<havenwood> CorySimmons: Try one after another, running the command inside backticks ``, or #system instead of #exec.
<LastWhisper> Whenever I visit a page using my cucumber test, my ruby process get a lot higher in memory, is there a way to avoid it doing that? ^^ Any settings I can change or so ?
shaunbaker has joined #ruby
Fly80 has joined #ruby
sassamo has joined #ruby
r0bby_ is now known as robbyoconnor
<havenwood> CorySimmons: Like `ls` or system('ls')
<IceDragon> LastWhisper: avoid using ruby for C oriented data (like huge arrays)
meatherly has joined #ruby
aspiers has joined #ruby
<IceDragon> otherwise, nope :x
<LastWhisper> Hmm
ahmedelgabri has joined #ruby
<shevy> IceDragon but I wanna use ruby for EVERYTHING
<IceDragon> shevy: BUT YOU CANTZ
Emmanuel_Chanel has joined #ruby
<shevy> when I go to toilet, I wanna use ruby
<havenwood> LastWhisper: Why is it using a lot of memory? Headless browser testing or something?
<shevy> when I eat a cheeseburger, I wanna use ruby
<LastWhisper> yeah havenwood
dayepa has quit [Ping timeout: 276 seconds]
<LastWhisper> but the driver processors are okay
<LastWhisper> it's really just the ruby process
<IceDragon> shevy: You use perl and python for that, just watch out for the camel poo and bite marks
<LastWhisper> like every time i refresh that page
<havenwood> LastWhisper: Tried with Ruby 2.1?
<LastWhisper> it grows by like 30mb
terrellt has joined #ruby
<IceDragon> shevy: ruby is what you use to breakfast, lunch and dinner
<LastWhisper> nah not yet, we have a gem that doesnt like 2.1 yet
Hanmac1 has joined #ruby
<LastWhisper> Does 2.1 optimize GC for that or something?
<havenwood> LastWhisper: 2.1.1 will prolly be the sweet spot for upgrade. ;)
<IceDragon> LastWhisper: it might be caching something
kpshek has joined #ruby
<havenwood> LastWhisper: Really nice GC improvements. Would help with stop the world issues but if it'd reduce memory usage I don't know.
figgleberry has joined #ruby
jlast_ has quit [Remote host closed the connection]
<LastWhisper> let me look into caching actually, IceDragon
dayepa1 has quit [Ping timeout: 276 seconds]
senj has joined #ruby
<LastWhisper> havenwood: haha alright I will try it out locally, I guess ^.^
dayepa has joined #ruby
jlast has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
gja has quit [Quit: This computer has gone to sleep]
jlast has quit [Read error: Connection reset by peer]
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
<CorySimmons> Ha. Figured it out. IceDragon this was one of those times where I solely needed `system` to make it work
jlast has joined #ruby
freezey has quit [Remote host closed the connection]
tyl has quit [Quit: Textual IRC Client: www.textualapp.com]
sethen has joined #ruby
dayepa1 has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
tyl has joined #ruby
e62 has joined #ruby
qhartman has joined #ruby
freezey has joined #ruby
DeanH has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
wildroman2 has quit [Remote host closed the connection]
dayepa has joined #ruby
platzhirsch has joined #ruby
dkamioka has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
kpshek has quit [Ping timeout: 245 seconds]
<platzhirsch> I find it hard to tell a story about metadata... open data metadata, pretty boring
dayepa1 has quit [Ping timeout: 276 seconds]
jovon has quit [Quit: Leaving]
e62 has quit [Ping timeout: 252 seconds]
adamholt has quit [Ping timeout: 248 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<centrx> Once upon a time, there was a metadata, and it was open.
gja has quit [Quit: This computer has gone to sleep]
sethen has quit [Quit: Leaving]
nemesit|znc has quit [Ping timeout: 252 seconds]
DrShoggoth has joined #ruby
Underbyte has quit [Ping timeout: 272 seconds]
gja has joined #ruby
nemesit|znc has joined #ruby
dkamioka has joined #ruby
dayepa1 has joined #ruby
slash_part is now known as slash_nick
ahmedelgabri has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 276 seconds]
ahmedelgabri has joined #ruby
mneorr has joined #ruby
RaCx has joined #ruby
CogitoErgoSum has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
CogitoErgoSum has joined #ruby
nemesit|znc has quit [Max SendQ exceeded]
nemesit|znc has joined #ruby
fphilipe_ has joined #ruby
dayepa has joined #ruby
IcyDragon has joined #ruby
fedez77 has quit [Ping timeout: 272 seconds]
yasushi has quit [Remote host closed the connection]
<platzhirsch> good story tellers don't have a story that is directly related, but that's rather a metaphor for this
<shevy> then came NSA-data and did not like metadata being open
senj has quit [Quit: Textual IRC Client: www.textualapp.com]
figgleberry has quit [Ping timeout: 245 seconds]
senj has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
glundgren has joined #ruby
adamholt has joined #ruby
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon
mary5030_ has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
mary5030 has joined #ruby
jidar has left #ruby [#ruby]
havenwood has quit [Remote host closed the connection]
figgleberry has joined #ruby
Zap-W_ has joined #ruby
thenovices has quit [Remote host closed the connection]
nowthatsamatt has left #ruby [#ruby]
maz-dev has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
dweeb has quit [Quit: Computer has gone to sleep.]
zxd has quit [Ping timeout: 272 seconds]
dweeb has joined #ruby
billy_ran_away has joined #ruby
ahawkins has quit [Quit: leaving]
cads has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
<billy_ran_away> Anyone know of a good way to select all elements of an array that occur more than twice in the array?
krawchyk has joined #ruby
dayepa1 has joined #ruby
maroloccio has quit [Ping timeout: 252 seconds]
mary5030_ has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
Zap-W_ is now known as zxd
cads has joined #ruby
<IceDragon> billy_ran_away: array.select { |e| array.count(e) > 2 }
<xybre> Group by, length, and select?
<billy_ran_away> Nice
<billy_ran_away> Thanks IceDragon and xybre!
<IceDragon> np
rootshift has quit [Quit: rootshift]
dayepa has quit [Ping timeout: 276 seconds]
<shevy> that is a wise dragon
<apeiros> IceDragon: horrible performance
<apeiros> that's effectively O(n^2)
dayepa has joined #ruby
<IceDragon> I figured, but its one solution of the many available
<apeiros> xybre's approach would be O(n)
<apeiros> alternative to xybre's approach: count = Hash.new(0), count the occurrences, reject/select and then .keys
p8952 has joined #ruby
mary5030 has joined #ruby
momomomomo has quit [Quit: momomomomo]
mercwithamouth has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
momomomomo has joined #ruby
<IceDragon> array.each_with_object(Hash.new(0)) { |e, h| h[e] += 1 }.select { |(k,v)| v > 2 }
ambushsabre has quit [Quit: rip]
havenwood has joined #ruby
yfeldblum has joined #ruby
bluenemo has joined #ruby
<IceDragon> You would have to discard the last elements though or just collect the keys, since select will result in an Array
dayepa1 has joined #ruby
fphilipe_ has quit [Remote host closed the connection]
<apeiros> IceDragon: only if you live with really outdated rubies
jwalk has quit [Quit: Leaving.]
interactionjaxsn has quit [Remote host closed the connection]
<IceDragon> >> puts "I live"
<IceDragon> eval-in is still dead?
<DaniG2k> exit
<DaniG2k> oops
* xybre 1.8 flashbacks
DaniG2k has quit [Quit: leaving]
pskosinski has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mary5030_ has quit [Ping timeout: 245 seconds]
mando has quit [Remote host closed the connection]
acrussell has joined #ruby
<IceDragon> well screw me sideways, it actually works :x
mando has joined #ruby
jayg_ has joined #ruby
<IceDragon> irb(main):004:0> [1, 1, 2, 2, 2, 3, 4, 4, 6, 7, 7, 7, 7, 8].each_with_object(Hash.new(0)) { |e, h| h[e] += 1 }.select { |k, v| v > 2 }.keys #=> [2, 7]
<apeiros> IceDragon: I'm sorry, you're too cold for me to screw you :)
p8952 has quit [Ping timeout: 272 seconds]
<IceDragon> I wouldn't want to be either way :x
Hobogrammer has joined #ruby
jayg_ has quit [Client Quit]
dayepa1 has quit [Ping timeout: 276 seconds]
w4pm has joined #ruby
dayepa has joined #ruby
Xeago_ has quit [Remote host closed the connection]
ce_afk is now known as cescalante
juarlex has joined #ruby
<zxd> hi
<IceDragon> hi
<zxd> is there a perldoc equivalent to ruby?
<IceDragon> rdoc, yard etc..etcc?
<apeiros> rdoc & yard
psst has quit [Ping timeout: 248 seconds]
<hoelzro> ri
<apeiros> I think there's others, but those two have probably the highest quality
<IceDragon> and a few other obscure ones
<apeiros> ah, ri is the reader for rdocs
<apeiros> hoelzro: funny, I first read that as "hi" :D
nari has quit [Ping timeout: 252 seconds]
<hoelzro> heh
heidi has joined #ruby
Xeago has joined #ruby
dayepa1 has joined #ruby
nemesit|znc has quit [Ping timeout: 246 seconds]
<LastWhisper> IceDragon: I tried out w/ and without caching
aspires has joined #ruby
maz-dev has left #ruby [#ruby]
jhaals has quit [Ping timeout: 272 seconds]
<IceDragon> and the verdict?
LekeFly has joined #ruby
<LastWhisper> IceDragon: and it seems like they both grow regardless of it being on or off,... but if I have GC turned on it's not happening
<LastWhisper> Sadly it looks like I'll have to leave GC on during my cucumber runs
<LastWhisper> slowing it all down :<
MrZYX|off is now known as MrZYX
<IceDragon> might be a memory leak, or just turn the GC on and off from time to time
rickruby has joined #ruby
psyl0n has quit [Remote host closed the connection]
w4pm has quit [Ping timeout: 252 seconds]
<hoelzro> zxd: are you looking for guidance on writing docs, or reading them?
jhaals has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
<LastWhisper> The thing that bugs me is... if I turn GC off, and then turn it on again later, it "cleans up" but doesn't lower the memory... e.g. Process is 900 mb, GC is off, Scenario ends, I turn GC on, next scenarios do not grow, it stays around 900mb. BUT; If I leave GC on from the start, the process doesn't grow past 400mb
_Andres has quit [Read error: Connection reset by peer]
nemesit|znc has joined #ruby
<hoelzro> LastWhisper: that's because it marks the memory as free for Ruby to use, but it doesn't return it to the OS
<LastWhisper> Is there a way to force it to return it? :(
<hoelzro> no
mnemon has quit [Quit: No Ping reply in 180 seconds.]
<LastWhisper> GC.please_return_memory_thanks
<hoelzro> it's because of how memory allocation from the OS works
mnemon has joined #ruby
<hoelzro> (at least on Linux)
<LastWhisper> mmk
tylersmith has quit [Remote host closed the connection]
<LastWhisper> Also that's another thing...
<LastWhisper> I develop these tests on OSX
<IceDragon> GC.gimme_back_my_mbs_kthxbye
<IceDragon> if only ruby had some more humor in the GC
<IceDragon> ;(
<LastWhisper> but run them on travis ci which is linux
RaCx has quit [Quit: Computer has gone to sleep.]
<hoelzro> OS X's memory managment probably functions similarly
<IceDragon> I don't there is anyway to forcefully invoke the GC
rickruby has quit [Remote host closed the connection]
<IceDragon> GC.collect_noah
<IceDragon> based on what a friend of mine said, OSX will allocate all the memory it needs at once
<IceDragon> and will never let it go :x
dayepa1 has quit [Ping timeout: 276 seconds]
<IceDragon> translation: it hordes it
<hoelzro> OS X, or Ruby?
marcoecc has quit [Ping timeout: 245 seconds]
<centrx> GC.start ?
dayepa1 has joined #ruby
<zxd> hoelzro: readin
<hoelzro> Ruby will free() things when it GC's them
<hoelzro> zxd: then you want ri
<IceDragon> OSX
<hoelzro> but depending on how free() works, it may not return it to the OS
<hoelzro> a lot of implementations assume that if you needed it once, you'll need it again
noname001__ has quit [Ping timeout: 272 seconds]
senayar_ has joined #ruby
<IceDragon> centrix: oh yeah
<hoelzro> also, if you're allocating memory by increasing the program break, you probably can't just lower it again
<apeiros> LastWhisper: there's no point in giving memory back to the OS
dayepa has quit [Ping timeout: 276 seconds]
Mars has joined #ruby
<apeiros> LastWhisper: any decently modern OS will not care how many MB of memory a process wants. remember, not all is mapped to actual physical memory.
nemesit|znc has quit [Max SendQ exceeded]
Mars is now known as Guest20277
<hoelzro> apeiros: that's an excellent point; thanks for pointing it out
<hoelzro> hopefully your objects aren't scattered across virtual memory =)
nemesit|znc has joined #ruby
<IceDragon> oh crap, spaghetti mappings
dayepa has joined #ruby
Virtualize has joined #ruby
rickruby has joined #ruby
<LastWhisper> apeiros: Well, I was deferring GC previously in my runs, and my ruby process was hitting 2600mb on travis, and our travis RAM limit is 3 GB... so ... it was swapping around 1 gb, and crashing
<apeiros> hoelzro: I think even that doesn't matter much. how it aligns on pages is the only relevant thing. not an expert, though.
guilund has quit []
andikr has quit [Remote host closed the connection]
<hoelzro> apeiros: right, I mean if you have your objects scattered across many pages
<apeiros> LastWhisper: ah well, yes, *that* would be an issue :)
dayepa1 has quit [Ping timeout: 276 seconds]
arturaz has quit [Ping timeout: 276 seconds]
senayar has quit [Ping timeout: 252 seconds]
<hoelzro> it's better to have two objects right next to each other than 4K away
drumusician has quit [Read error: Operation timed out]
dayepa1 has joined #ruby
Fractional has joined #ruby
<apeiros> LastWhisper: odd that it crashes. I'd expect "soft" memory limits to work the same as hard ones
<apeiros> i.e., it shouldn't crash. just get slower.
<Fractional> apeiros: I've a question for you.
<LastWhisper> I believe it was crashing due to travis's actual hardware limitations, like, outside the VM
<Fractional> apeiros: How would you do a method that removes dublets of a number in an array?
yfeldblum has quit [Ping timeout: 245 seconds]
<apeiros> and slower only too when it actually uses more physical memory than available
<LastWhisper> I'm also not sure it was ruby crashing or anything like that, I think it was just travis killing the process b/c of high swaps
jlast_ has joined #ruby
<IceDragon> Fractional: array.uniq
<apeiros> LastWhisper: yeah, still, an app shouldn't crash due to insufficient physical memory
<Fractional> IceDragon: We have to write the method ourselfs.
colonolGron has joined #ruby
Guest20277 has quit [Ping timeout: 245 seconds]
<IceDragon> boo hoo
<apeiros> Fractional: with such questions, I want to see your approach first ;-)
<Fractional> apeiros: Roger
<LastWhisper> I agree apeiros. Just doing my best to figure out this whole issue and how to optimize it ^.^
dayepa has quit [Ping timeout: 276 seconds]
einarj_ is now known as einarj
zigomir has quit [Remote host closed the connection]
<apeiros> LastWhisper: yeah, sure. you can't change that it crashes, so it's not helpful that it *shouldn't* :)
<shevy> Fractional can't you just use .uniq
jlast has quit [Ping timeout: 252 seconds]
zigomir has joined #ruby
<mikecmpbll> rake tasks get killed when there's insufficient memory.
dayepa has joined #ruby
ahmedelg_ has joined #ruby
phansch has quit [Ping timeout: 245 seconds]
mneorr has quit [Remote host closed the connection]
lorelei_ has joined #ruby
phansch has joined #ruby
Xeago has quit [Remote host closed the connection]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mneorr has joined #ruby
burlyscudd has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Fractional> shevy: No, we're working with array algorithms in class atm :P
<shevy> hmm
RaCx has joined #ruby
<Fractional> I solved it but its not very ruby-like.
ahmedelgabri has quit [Ping timeout: 272 seconds]
<Fractional> Did it the way I would have done it in C++. Please come with ruby feedback ;)
vallieres_ has quit [Quit: Computer has gone to sleep.]
<soahccc> Fractional: well ruby like would be .uniq or using Set =)
emocakes has quit [Quit: Leaving...]
<Fractional> # => 1, 2, 3, 4, 5, 6
psst has joined #ruby
dayepa1 has joined #ruby
ambushsabre has joined #ruby
pu22l3r has joined #ruby
sambao21 has joined #ruby
minsa has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
interactionjaxsn has joined #ruby
gja has joined #ruby
<soahccc> Fractional: you could use each_with_index to get rid of this awful for loop
heidi has quit [Quit: Leaving.]
zigomir has quit [Ping timeout: 260 seconds]
<shevy> hehehe
<shevy> C guys love the for loop
bilbo_swaggins has joined #ruby
minsa has joined #ruby
<Fractional> soahccc: I tried without much progress =/
dayepa has quit [Ping timeout: 276 seconds]
<Fractional> soahccc: How can I set the index of the second each_with_index loop to be equal to the index before + 1?
deens has joined #ruby
<shevy> ruby lags behind :(
dayepa has joined #ruby
rickruby has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 272 seconds]
senj has joined #ruby
<shevy> I keep on thinking over and over again that writing bindings for ruby must be significantly more work than in the other languages
<apeiros> Fractional: deleting from an array while iterating over it will break your code
momomomomo has quit [Quit: momomomomo]
<Fractional> apeiros: How is that so? Works perfectly :P
gemmy has joined #ruby
<apeiros> Fractional: it will skip entries
<apeiros> consider this: you iterate over [1,2,3,4] starting at 0, at index 1 you delete index 1, your array is now [1,3,4] - what's the next number you'll access?
dayepa1 has quit [Ping timeout: 276 seconds]
<Fractional> It doesn't break the code though. (No crashes, no wrongly returned values etc.)
maoko has joined #ruby
<Fractional> [1, 2, 3, 4, 4, 5, 6, 1, 5, 1, 2, 3, 4, 5, 6, 7, 8, 9 , 10, 1, 2, 3, 4, 5, 6].doublet_removal # => 1..10
<apeiros> Fractional: coincidence
dayepa1 has joined #ruby
<apeiros> or rather: sheer luck :-p
<Fractional> The luck is with me! :D
wallerdev has joined #ruby
momomomomo has joined #ruby
<apeiros> Fractional: what are you allowed to use?
<shevy> heisenbug coding
<shevy> guns
gasbakid has quit [Remote host closed the connection]
<Fractional> apeiros: Anything, but we've to "re-code" the method unique
dagobah has quit [Remote host closed the connection]
<apeiros> use Set then
<apeiros> that's essentially how Array#uniq works
wildroman2 has joined #ruby
momomomomo has quit [Client Quit]
<bilbo_swaggins> speaking of Set, how does one delete/access a random set or hash element
dayepa has quit [Ping timeout: 276 seconds]
<bilbo_swaggins> I don't remember why I needed this
<apeiros> bilbo_swaggins: .to_a.sample
<IceDragon> bilbo_swaggins: sample
<IceDragon> NINJ'D
dayepa has joined #ruby
<bilbo_swaggins> oh that's basically what I did
<Fractional> self.each_with_index do |nr1, i|
<Fractional> self.each_with_index do |nr2, j|
<Fractional> end
<Fractional> end
<bilbo_swaggins> I got a null error somewhere. That I'll figure out on my own
<Fractional> How would I get J = i+1?
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<bilbo_swaggins> get rid of the inner ewi
mikecmpbll has joined #ruby
<LastWhisper> apeiros: one of my coworkers just brought up a good point... that essentially my process might show up saying it's using 900mb, but the only real memory it's using is much lower than that, it has 900mb allocated for it, but that doesnt mean it's actually using all of that, I think you guys explained that to me as well but now it makes double the sense :)
itadder_ has joined #ruby
<itadder_> back at work
<bilbo_swaggins> j = i + 1
<itadder_> it a monday so much work
<bilbo_swaggins> just say that
radic has quit [Read error: No route to host]
<itadder_> brb
radic has joined #ruby
<apeiros> LastWhisper: yes, that's what I said wrt physical memory ;-)
dayepa1 has quit [Ping timeout: 276 seconds]
gja has quit [Quit: This computer has gone to sleep]
<apeiros> and that's the reason why ruby won't return memory to the OS (because it doesn't, or rather shouldn't, matter)
senayar_ has quit [Remote host closed the connection]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
senayar has joined #ruby
<Fractional> Can someone help me translate this code into each_with_index loops?
<bilbo_swaggins> Fractional
<bilbo_swaggins> read above
minsa has quit [Ping timeout: 245 seconds]
<bilbo_swaggins> from "get rid of"
dayepa1 has joined #ruby
<apeiros> Fractional: I'd only convert the outer `for` into each_with_index
<apeiros> Fractional: the inner you can convert to a max.down_to(min) loop
<apeiros> if you do it in that order, you get rid of your "deletion destroys order" problem too
sambao21 has quit [Quit: Computer has gone to sleep.]
mklappstuhl has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
CorySimmons has quit [Quit: Leaving.]
<shevy> apeiros will micro-perfect your code Fractional
<bilbo_swaggins> okay now I see what you're trying to do
<apeiros> i.e., if you delete from the back/end, it will not interfere with your iteration
kreantos has quit [Ping timeout: 252 seconds]
<bilbo_swaggins> Why not use a set/#uniq? Just for a challenge?
<shevy> then your tutor will say "hey, this was written by an expert, not you. YOU FAILED THUSLY!"
MindfulMonk has quit [Ping timeout: 248 seconds]
mityaz has joined #ruby
<apeiros> Fractional: anyway, you showed my your implementation, I'll show you how I'd do it: require 'set'; def array_uniq(ary); ary.to_set.to_a; end
sambao21 has joined #ruby
Hanmac has joined #ruby
dayepa has joined #ruby
dscrd has joined #ruby
CorySimmons has joined #ruby
burlyscudd has quit [Quit: Leaving.]
heftig has quit [Quit: Quitting]
nvrch has quit [Quit: nvrch]
<apeiros> if that's considered cheating, then: def array_uniq(ary); ary.each_with_object({}) { |item, hash| hash[item] = true }.keys; end
<apeiros> if we can't assume ordered arrays and should have a stable (== order retaining) uniq method:
timonv has quit [Remote host closed the connection]
e62 has joined #ruby
<apeiros> def array_uniq(ary); seen={}; result = []; ary.each { |item| next if seen[item]; seen[item] = true; result << item }; result; end
maletor has joined #ruby
<apeiros> all of these versions are O(n) in complexity, compared to yours which is O(n^2)
Hanmac1 has quit [Ping timeout: 252 seconds]
noop has joined #ruby
fedez77 has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<apeiros> (or actually worse, since delete_at also as O(n) tied costs, just with a very small K)
<Fractional> Sorry, there's something getting me confused with the index and name of the object in the each_with_index loop. Do you think you could make an example of the way I did it in for loops?
<Hanmac> apeiros: lets add yield into the method ;P
Xeago has joined #ruby
dayepa1 has joined #ruby
<apeiros> Hanmac: ok: #yield
tharindu is now known as tharindu|away
<apeiros> each_uniq would actually be a nice method :)
RoxasShadowRS has joined #ruby
<Hanmac> yeah! lets make a feature request ;P
Wolland has joined #ruby
<Fractional> "Trademarked - Fractional" :3
<apeiros> Fractional: http://pastie.org/8629960
dayepa has quit [Ping timeout: 276 seconds]
fella6s has quit [Ping timeout: 264 seconds]
<Fractional> apeiros: Thanks a bunch!
MrThePlague has joined #ruby
MrThePlague has joined #ruby
dayepa has joined #ruby
IcyDragon has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
zeade has joined #ruby
robertrv_ has quit [Ping timeout: 260 seconds]
pel_daniel has joined #ruby
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon
bluenemo has quit [Remote host closed the connection]
smathieu has joined #ruby
heidi has joined #ruby
dayepa1 has joined #ruby
gja has joined #ruby
ohwhoa has quit [Quit: woah!]
vlad_starkov has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby
unixpro1970 has joined #ruby
minsa has joined #ruby
shaunbaker has quit [Remote host closed the connection]
unixpro1970 has quit [Max SendQ exceeded]
Fly80 has quit [Quit: Konversation terminated!]
deens has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
<Hanmac> Fractional: sorry i wanted to make a TileSet class for your stuff ... to bad that i am to sleepy today ... :(
<MrZYX> shevy: http://sideeffect.kr/popularconvention/#ruby (check the last one, parens in def) :P
<TMM> I'm using 'grape' to make a REST api and it's working well, but it appears that trying to have a resource with dots in the name is a problem. Has anyone ever tried this?
tharindu|away is now known as tharindu
<TMM> resource :certificate_status do ....... required :certificate_status, :type => String, .... seems to always make Grape thing that the resource doesn't exist, and my handler doesn't get called
dayepa1 has quit [Ping timeout: 276 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
heidi has quit [Quit: Leaving.]
CaptainJet has joined #ruby
wildroman2 has quit [Remote host closed the connection]
dayepa has joined #ruby
troyready has joined #ruby
RaCx has quit [Ping timeout: 260 seconds]
Hanmac1 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
dayepa1 has joined #ruby
RaCx has joined #ruby
zeeraw has joined #ruby
vim_shim_ has joined #ruby
mneorr has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
dkamioka has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
p8952 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
gja has joined #ruby
gja has joined #ruby
momomomomo has joined #ruby
vim_shim_ is now known as manfred_macx
dayepa has joined #ruby
<soahccc> hmm can I safely clear a mutex in it's synchronize block or is this a bad idea?
lethjakman has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
aryaching has quit []
LiohAu has joined #ruby
<lethjakman> hey, so I'm looking at getting confident ruby, are there any better books for ruby? I have the basics down pretty well, but I want to get more advanced, and I'd like to see more specific ruby design patterns
dayepa1 has quit [Ping timeout: 276 seconds]
<LiohAu> what does the [ ] syntax means here ? 'wait_for_elements_exist([trait])'
mercwithamouth has quit [Ping timeout: 260 seconds]
<soahccc> LiohAu: array
RaCx has quit [Quit: Computer has gone to sleep.]
phansch has quit [Quit: Leaving]
timonv has joined #ruby
<LiohAu> soahccc: oh it's only creating an array with "trait" as only item right?
JustinAiken has joined #ruby
<soahccc> yes
<bilbo_swaggins> lethjakman: "Design patterns in ruby"
<bilbo_swaggins> "ruby for pentesters"
<lethjakman> LiohAu: is trait declared earlier? cause that's not a string.
aryaching has joined #ruby
<lethjakman> bilbo_swaggins: that sounds very interesting...
<soahccc> lethjakman: I would recommend looking at actual projects and how they do stuff.
<lethjakman> wouldn't have even thought to have looked for that, but I have a feeling I would enjoy it.
dkamioka has joined #ruby
gr33n7007h has joined #ruby
<lethjakman> soahccc: that's what I've currently been doing
<LiohAu> lethjakman: sure it's a method
mansi has quit [Remote host closed the connection]
vallieres_ has joined #ruby
mansi has joined #ruby
dayepa1 has joined #ruby
kep has joined #ruby
<lethjakman> bilbo_swaggins: can you link me? I'm not sure I'm finding the exact book you're looking at.
<soahccc> lethjakman: That way you see a whole bunch of different ways rather than the one which is preferred by the books author
dayepa has quit [Ping timeout: 276 seconds]
timonv has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
gemmy has quit [Ping timeout: 245 seconds]
<lethjakman> I do that quite often with the gems I have actually
maletor has quit [Quit: Computer has gone to sleep.]
Underbyte has joined #ruby
Underbyte has quit [Changing host]
Underbyte has joined #ruby
<lethjakman> but I just enjoy books for some reason.
mengu has joined #ruby
tt1187 has joined #ruby
gemmy has joined #ruby
timonv has joined #ruby
CorySimmons has quit [Quit: Leaving.]
<gr33n7007h> ./google-tr.rb:123:in `capitalize!': can't modify frozen String (RuntimeError) <-- http://paste.debian.net/75976/ any help appreciated doing my nut it!
vongrippen has quit [Quit: No Ping reply in 180 seconds.]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<shevy> MrZYX cool site
dkamioka has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<bilbo_swaggins> yes, lethjakman, that paper
dayepa has joined #ruby
<bilbo_swaggins> as for the other book, it's available on Amazon
<bilbo_swaggins> nonfree
mengu__ has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canton7-mac has quit [Quit: Leaving]
<bilbo_swaggins> however, this repository has example code for many common patterns
<shevy> so we now know that most ruby guys use spaces and not tabs
Sawbones has quit [Ping timeout: 272 seconds]
Hobogrammer_ has joined #ruby
timonv has quit [Read error: Connection reset by peer]
<bilbo_swaggins> I thought that was The Thing for a long time
timonv has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
mansi has quit [Ping timeout: 276 seconds]
Ox6abe has quit [Remote host closed the connection]
<shevy> the data in "Whitespace around operators, colons, { and }, after commas, semicolons" seems wrongful
<shevy> it insinuates that
<shevy> a,b = 1, 2
<shevy> is more popular than
<shevy> a, b = 1, 2
<bilbo_swaggins> I always put a space after a comma
<MrZYX> yeah, it mixes too many things
dayepa1 has joined #ruby
Sawbones has joined #ruby
<bilbo_swaggins> I don't really like the convention of { block spacing }
mneorr has quit [Remote host closed the connection]
<bilbo_swaggins> I.think {|this| looks better}
IcyDragon has joined #ruby
SilentLapNix has joined #ruby
mengu has quit [Ping timeout: 252 seconds]
pushpak has joined #ruby
dkamioka has joined #ruby
<MrZYX> I guess {|foo| is more popular than { |foo| and you do that all the time in ruby, so that's why that block is more popular
<bilbo_swaggins> but I'll follow conventions for their own sake
mneorr has joined #ruby
zxd has quit [Ping timeout: 276 seconds]
<shevy> bilbo_swaggins yes, I also do that, on that site though it is grouped together with other things
mklappstuhl has joined #ruby
Txandy has joined #ruby
<shevy> curious that they found that
<shevy> def some_method arg1, arg2
<bilbo_swaggins> okay let's put it up for a vote
<shevy> is more popular than
<shevy> def some_method(arg1, arg2)
Hobogrammer has quit [Read error: Connection reset by peer]
<bilbo_swaggins> real world Ruby usage, do you write { |blocks| like this } or {|like| this}
<shevy> second
<Fuzai> first
<MrZYX> third
IceDragon has quit [Ping timeout: 272 seconds]
<shevy> there is no third!
<MrZYX> {|foo| bar }
<Fuzai> next?
<bilbo_swaggins> oh I definitely omit parentheses in method definitions
<shevy> oh
dayepa has quit [Ping timeout: 276 seconds]
DouweM has quit [Ping timeout: 276 seconds]
<shevy> bilbo_swaggins added a "foo}"
carraroj has joined #ruby
IcyDragon is now known as IceDragon
cescalante is now known as ce_afk
<bilbo_swaggins> I like to use parens more like ((method parameter).method + value)
ghr has quit [Quit: Computer has gone to sleep.]
<gr33n7007h> why is arg not being assigned to lang?
JustinAiken has left #ruby [#ruby]
einarj has quit [Remote host closed the connection]
<bilbo_swaggins> I probably do a lot of things with Ruby syntax that professionals would cringe about
<gr33n7007h> can't lang be mutated or something
dayepa has joined #ruby
pen has joined #ruby
zipper has quit [Quit: leaving]
einarj has joined #ruby
<gr33n7007h> ahhh!
Mars has joined #ruby
<shevy> gr33n7007h just unfreeze your string object like via .dup
dayepa1 has quit [Ping timeout: 276 seconds]
maletor has joined #ruby
Hobogrammer_ has quit [Ping timeout: 272 seconds]
dkamioka_ has joined #ruby
Mars is now known as Guest14996
mneorr has quit [Ping timeout: 246 seconds]
<MrZYX> gr33n7007h: search points to a frozen string, also .captialize! returns nil if it doesn't change the string, so use search.capitalize to workaround both problems
poulson has quit [Remote host closed the connection]
dkamioka has quit [Ping timeout: 272 seconds]
<shevy> bilbo_swaggins did you always omit parens when doing method definition in ruby?
<gr33n7007h> right so I can use dup on lang variable
<gr33n7007h> trying one minute
<MrZYX> gr33n7007h: .capitalize (opposed to .capitalize!) already returns a copy, no need to dup it again
dayepa1 has joined #ruby
<bilbo_swaggins> shevy, to be consistent, yes
<shevy> hmm
<shevy> so you never had to actively make a conscious decision pro or contra that
Sawbones has quit [Remote host closed the connection]
<Hanmac1> gr33n7007h: are you 100% sure you want "search.capitalize!" in the line? i mean it does not make any sense
binaryhat has joined #ruby
drumusician has joined #ruby
saarinen has joined #ruby
juarlex has quit [Remote host closed the connection]
deens has joined #ruby
<shevy> gr33n7007h you use .capitalize 3 times there in like 5 lines of code, it is better to add a new variable: capitalized = foo.capitalize, then used that variable
<MrZYX> I'd like to always omit parents around method definitions, but ruby -wc makes yellow dots if I do def foo &block :(
<shevy> gr33n7007h also use a better pastie, please :(
juarlex has joined #ruby
<Hanmac1> gr33n7007h: another good idea: put "search.capitalize" in a line before the if, like shevy says
vongrippen has joined #ruby
<shevy> deserves you right MrZYX :>
dayepa has quit [Ping timeout: 276 seconds]
<shevy> Hanmac1 do you omit parens in method definitions when there is at least one arg?
einarj has quit [Ping timeout: 272 seconds]
yekta has joined #ruby
Guest14996 has quit [Ping timeout: 245 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Hanmac1> shevy hm no, i prefer them with () except there is no arg
<gr33n7007h> Right here is where im at the dup method works, but should I add search.capitalize before the if or keep with dup
<MrZYX> there's no need for a dup in this code
dayepa has joined #ruby
<shevy> Hanmac1 \o/
<shevy> gr33n7007h use .dup when you have commandline arguments given to you like via ARGV
<workmad3> shevy: I really hate method definitions that drop the parens :(
<shevy> workmad3 I too!
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> save for 0 argument method definitions
<shevy> hmm
<workmad3> yeah
<shevy> define_method wants parens
<MrZYX> workmad3: so you hate 60% of the ruby code apparently :P
sLi_ has joined #ruby
<shevy> 60% seems like an awful lot
<shevy> let me inspect apeiros' habit in this regard ...
* shevy installs butler ...
<workmad3> MrZYX: this is dropping the parens in the definition, not the call
<yekta> Hello, how might I encode special characters like an umlaut as the html attribute in Ruby 1.9.3? I've tried `name.encode(:xml => :text)` and `name.encode(:xml => :attr)` but those do not work.
postmodern has joined #ruby
<MrZYX> workmad3: yes, http://sideeffect.kr/popularconvention/#ruby check the last stat
juarlex has quit [Ping timeout: 252 seconds]
<shevy> RDoc::Parser::Ruby failure around line 51 of
<shevy> lib/access/rolelist.rb
chrisseaton has quit []
<shevy> stupid rdoc
<shevy> anyway, it has been decided guys!
<shevy> def initialize(delegator=nil, variables={}, &on_error)
<Hanmac1> shevy what rdoc version?
<shevy> apeiros uses ()
enebo has quit [Quit: enebo]
<shevy> Hanmac1 no idea, I hate rdoc
<Hanmac1> shevy "rdoc4.1.1 does not work anymore with ruby-trunk" https://github.com/rdoc/rdoc/issues/284
dayepa1 has joined #ruby
<shevy> Hanmac1 how do I check the version of rdoc?
zegerjan has quit [Read error: Connection reset by peer]
dweeb has quit [Quit: Computer has gone to sleep.]
chrisseaton has joined #ruby
<bilbo_swaggins> MRZYX: method param &block is improper syntax
<havenwood> go home rdoc, you're drunk!
<bilbo_swaggins> You need a comma
<Hanmac1> shevy "gem --list"
platzhirsch has left #ruby [#ruby]
<shevy> ERROR: Invalid option: --list. See 'gem --help'.
<Hanmac1> hm no its only "gem list"
<yekta> How might one encode special characters like an ö as an HTML attribute in Ruby?
<shevy> rdoc (3.9.4)
<bilbo_swaggins> Also, if #print can omit parens, why can't I?
<MrZYX> bilbo_swaggins: luckily def is not a method
<Hanmac1> hM
dayepa has quit [Ping timeout: 276 seconds]
<shevy> bilbo_swaggins if someone jumps outta the window, why can't you too!!!
<havenwood> shevy: 4.1.1
<shevy> what happens if I uninstall rdoc
<shevy> will gems fail to be installed?
<bilbo_swaggins> except this is like the window was designed to be jumped out of
<bilbo_swaggins> and gravity is off that day
<gr33n7007h> Is this the way to do it https://gist.github.com/anonymous/8404906
<shevy> bilbo_swaggins use safety belts :)
agent_white has joined #ruby
<havenwood> shevy: add this to your `~/.gemrc`: gem: --no-rdoc
roolo has quit [Remote host closed the connection]
<shevy> but I wanna kill rdoc!
<shevy> I'll try and see what happens
shaunbaker has joined #ruby
<bilbo_swaggins> MRZYX, def *is* a method
<shevy> Successfully uninstalled rdoc-3.9.4
dayepa has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<gr33n7007h> lang = arg.dup -> search.capitalize! on single line
<MrZYX> bilbo_swaggins: no it's syntax calling the same c function that define_method calls
RaCx has joined #ruby
<bilbo_swaggins> then a lot of the stdlib isn't methods
<MrZYX> for example?
<bilbo_swaggins> everything implemented in C
LiquidInsect has quit [Ping timeout: 252 seconds]
<bilbo_swaggins> which is everything
<gr33n7007h> seems to work
<shevy> gr33n7007h GOOD
<Hanmac1> havenwood: 4.1.1 might be broken for ruby-trunk
Hanmac1 is now known as Hanmac
kevind_ has joined #ruby
<MrZYX> bilbo_swaggins: stdlib contains a lot of ruby code, but get the distinction between syntax and method calls right first
<shevy> gr33n7007h ruby makes coding easy but disciplinized coders will have it even easier!
LiquidInsect has joined #ruby
wallerdev has quit [Quit: wallerdev]
<bilbo_swaggins> it is a method
<gr33n7007h> Thanks guys
dayepa1 has quit [Ping timeout: 276 seconds]
<bilbo_swaggins> it takes parameters and does a thing
Sawbones has joined #ruby
ctp has joined #ruby
VTLob has joined #ruby
<Hanmac> yekta: use nokogiri for making html
juarlex has joined #ruby
<shevy> ack
<shevy> generate the tags on your own!
<bilbo_swaggins> but I thought you were talking about general "foo bar, &baz" patterns
<MrZYX> bilbo_swaggins: it's syntax because you can't make this valid ruby code: foo bar(something); else; end;
<MrZYX> by defining foo
bean has joined #ruby
<bilbo_swaggins> fair enough
Hobogrammer_ has joined #ruby
dayepa1 has joined #ruby
<MrZYX> and actually foo bar &baz is valid ruby too, it just throws a warning at you :P
Spami_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<bilbo_swaggins> well
mengu__ has quit [Remote host closed the connection]
<MrZYX> >> def foo(*args); end; block = -> {}; foo foo &block
Spami_ has quit [Client Quit]
<bilbo_swaggins> I know calling "foo bar { baz }" is a nono
<MrZYX> oh, eval-in is still dead? :(
<shevy> Hanmac broke it
Spami_ has joined #ruby
ffranz has quit [Quit: Leaving]
browndawg1 has left #ruby [#ruby]
troessner has quit [Quit: Leaving]
ffranz has joined #ruby
<MrZYX> bilbo_swaggins: evaluates fine for me
<bilbo_swaggins> you need method parens for it
Sawbones has quit [Client Quit]
<MrZYX> it's just confusing because most people don't know the precedence of {} vs do end
olivier_bK has quit [Ping timeout: 276 seconds]
deception has joined #ruby
deception has quit [Changing host]
deception has joined #ruby
<MrZYX> so even foo bar do; baz; end is valid
<MrZYX> but bad practice, yeah ;)
_Andres has joined #ruby
SilentLapNix has quit [Ping timeout: 252 seconds]
subbyyy__ has joined #ruby
dayepa has joined #ruby
<bilbo_swaggins> def foo bar; yield bar; end; foo :a {|x| p x}
<bilbo_swaggins> error
mmcdaris has joined #ruby
<bilbo_swaggins> If it fails based on a minor precedence related issue, it's not worth considering
dayepa1 has quit [Ping timeout: 276 seconds]
mmcdaris has quit [Client Quit]
<bilbo_swaggins> that case I just use parens
<MrZYX> yeah that's invalid because it tries to bind the block to :a, but foo :a do; p x; end works
Advocation has quit [Quit: Advocation]
<agent_white> Mornin everyone
<MrZYX> if :a is a method call itself, it's valid
tylersmith has joined #ruby
<Hanmac> bilbo_swaggins: what about that? ;P def foo bar; yield bar; end; foo :a, &->(x){ p x}
sambao21 has joined #ruby
tylersmith has quit [Remote host closed the connection]
kobain has quit [Ping timeout: 265 seconds]
Fractional has quit [Quit: Leaving]
SilentLapNix has joined #ruby
tylersmith has joined #ruby
klaut has quit [Remote host closed the connection]
<shevy> wald0, I finally fixed the problem with ftp, I think. can you try again? http://members.a1.net/shevegen/TEST.tar.xz
dayepa has quit [Ping timeout: 276 seconds]
Ox6abe has joined #ruby
dayepa has joined #ruby
pcasaretto has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
<pcasaretto> Hey guys, about methods that take option hashes
<shevy> what about it
<pcasaretto> Should I worry about accepting strings as well as symbols?
<pcasaretto> In other words, assume indifferent access?
<MrZYX> IMO, no
<MrZYX> just do symbols only
<apeiros> +1
<apeiros> never do normalization for the user
Hobogrammer_ has quit [Ping timeout: 272 seconds]
<apeiros> (except of course if the method exists exactly for that purpose)
<IceDragon> tell em to:
<IceDragon> (⌐■_■) Deal With It™
timonv has quit [Remote host closed the connection]
* apeiros stabs IceDragon
dayepa1 has joined #ruby
<apeiros> dealt with it :)
gja has quit [Quit: This computer has gone to sleep]
* IceDragon watches his wine filled body leaks unto the floor
ce_afk is now known as cescalante
<pcasaretto> Aight! Thanks guys
<IceDragon> O_e Dude, I've been waiting eons for this stuff and now look what you did!
<Hanmac> apeiros: hm yes and no, option hash when using with **kargs can have strings as keys too
nidet has joined #ruby
<apeiros> ruby rb_intern'ing all over the place again?
Ox6abe has quit [Ping timeout: 248 seconds]
Hobogrammer_ has joined #ruby
relix has joined #ruby
gja has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
alekst has joined #ruby
momomomomo has quit [Quit: momomomomo]
cbetta is now known as cbetta_afk
<Hanmac> apeiros: no i mean then you use **kargs it does not touch the keys
Mars has joined #ruby
tharindu has quit [Quit: Leaving...]
dayepa has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Mars is now known as Guest12645
<apeiros> Hanmac: still the same as I said before then. accept symbols as keys only.
_Andres has quit [Ping timeout: 272 seconds]
_Andres has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<itadder_> wow I love ruby so far
<itadder_> it easy to learn
jlebrech has quit [Quit: Konversation terminated!]
SilentLapNix has quit [Ping timeout: 252 seconds]
heidi has joined #ruby
dayepa1 has joined #ruby
<Hanmac> apeiros: in one of my ruby gems i did something like that before option args: @tileheight = (node[:tileheight] || node["tileheight"]).to_i
burlyscudd has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
nidet has quit [Quit: nidet]
maroloccio has joined #ruby
mechanicles has quit []
yekta has quit [Quit: yekta]
SilentLapNix has joined #ruby
<Jamo> Im having troubels with irb and utf8 chars (äåö) - im running osx 10.9.1 and ruby is installed via rbenv
<apeiros> Hanmac: yeah, IMO one shouldn't do that
dayepa has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
<Hanmac> apeiros: no there was a reason for that ... it needed to work with xml and with json too (and with user arguments)
<shevy> you heard apeiros
<shevy> YOU SHOULD NOT BE DOING THAT!!!!!1111
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
<centrx> Jamo, Always say what the trouble is, e.g. an error message
<apeiros> Hanmac: so? still the wrong place for the normalization IMO
cescalante is now known as ce_afk
colonolGron has quit [Quit: leaving]
smathieu has quit [Remote host closed the connection]
* apeiros was waiting for an actual problem description from Jamo too…
ahmedelgabri has joined #ruby
smathieu has joined #ruby
<Jamo> so when I try to type char like ä
dayepa1 has quit [Ping timeout: 276 seconds]
<Jamo> it comes out as \U+FFC3\U+FFA4
Hobogrammer_ has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
dayepa1 has joined #ruby
<apeiros> Jamo: maybe you haven't set the terminal to utf-8 correctly?
Hobogrammer_ has joined #ruby
vedic has joined #ruby
pcasaretto has quit [Quit: pcasaretto]
<Jamo> soahccc: thanks for the link
<Jamo> qhartman: maybe - ill check my settings (I use iterm2)
Guest12645 has quit [Remote host closed the connection]
kevind__ has joined #ruby
<soahccc> Jamo: readline also fixes some other things like delete key
smathieu has quit [Remote host closed the connection]
gemmy has quit [Quit: leaving]
smathieu has joined #ruby
<Jamo> actually delete works in irb
<Jamo> bt ill try that
dayepa has quit [Ping timeout: 276 seconds]
<vedic> Hi guys, need an advice. How do you automate your billing? If you want to provide REST API access to customers, how do you automate the billing for that
TMM has quit [Quit: Ex-Chat]
deens has quit [Remote host closed the connection]
dayepa has joined #ruby
<Jamo> lol - i was usin 1.9.3, and when I changed to 2.0.* it started to work...
Kar- has quit [Ping timeout: 272 seconds]
<Jamo> feeling stupid :D
<MrZYX> 2.1 is released, go grab it ;P
ahmedelg_ has quit [Ping timeout: 260 seconds]
wedgeV has joined #ruby
<Xeago> vedic: what do you mean?
Emmanuel_Chanel has quit [Ping timeout: 272 seconds]
SilentLapNix has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
maroloccio has quit [Quit: WeeChat 0.4.2]
kevind_ has quit [Ping timeout: 276 seconds]
<shevy> MrZYX but my yaml files! :(
<MrZYX> port them to psych already
LiohAu has quit [Ping timeout: 272 seconds]
Zai00 has quit [Quit: Zai00]
mneorr has joined #ruby
sandGorgon has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
rdark has quit [Quit: leaving]
wedgeV has quit [Quit: wedgeV]
echevemaster has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
carraroj has quit [Quit: Konversation terminated!]
avril14th has quit [Read error: Connection reset by peer]
rezzack has joined #ruby
gja has joined #ruby
thenovices has joined #ruby
yfeldblum has joined #ruby
doodleha_ has joined #ruby
<bilbo_swaggins> Ruby's parentheses work beautifully, though they are nuanced.
<bilbo_swaggins> itadder_: Ruby is easy to learn the basics of, challenging to master the full toolset and pitfalls, and, optionally, black-belt level programming awaits beyond that
<bilbo_swaggins> just depends how many potential code maintainers you'd like to exclude
spyderman4g63 has joined #ruby
kevind__ is now known as kevind
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has quit [Ping timeout: 272 seconds]
Megtastique has quit []
lyanchih_ has quit [Quit: lyanchih_]
<shevy> MrZYX can't, I'd have to use UTF which I don't :(
wald0 has quit [Quit: Lost terminal]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
<MrZYX> see there's your problem
IcyDragon has joined #ruby
<shevy> UTF is!
wallerdev has joined #ruby
<shevy> but I will move away from yaml for my configuration files
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon
vlad_starkov has joined #ruby
wildroman2 has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
coderhs has quit [Ping timeout: 245 seconds]
dayepa has joined #ruby
<MrZYX> shevy: run this: man iconv
bilbo_swaggins has quit [Quit: Leaving]
<MrZYX> hint, you want -t utf8
<shevy> nope, been at that before, it is not possible in the setup I use
paul_k has quit [Quit: ZNC - http://znc.in]
vlad_starkov has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
Spami_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
sambao21 has joined #ruby
vlad_starkov has joined #ruby
noop has quit [Ping timeout: 272 seconds]
dayepa1 has joined #ruby
unixpro1970 has joined #ruby
Solnse has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
<Hanmac> shevy & apeiros look at this: https://jira.atlassian.com/browse/CONF-32190 "Bug in loremipsum macro, typo in sixth word" ;P
dayepa has quit [Ping timeout: 276 seconds]
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
itadder_ has quit [Read error: Connection reset by peer]
<shevy> idiots arguing over a dead language's spelling
dayepa has joined #ruby
<shevy> speaking about dead things
<shevy> Hanmac, how is rxw coming along?
nanoyak has joined #ruby
<apeiros> Hanmac: yeah, I retweeted that ;-)
<centrx> shevy, Most of the words in the sentence you just used are Latin
<shevy> centrx cool, the old romans must have understood me then :-)
<shevy> I always knew learning latin was a waste of time ;-)
baschtmobil has quit [Ping timeout: 272 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
<havenwood> i had a lorem ipsum up years back for a medical board page for them to take a look at, and they called concerned saying that physicians couldn't generally speak latin
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> hehe
paul_k has joined #ruby
<shevy> they can calculate the world but when it comes to languages, sweat is on their foreheads
DFieldFL has quit [Remote host closed the connection]
ghr has joined #ruby
dayepa1 has joined #ruby
Hanmac1 has joined #ruby
<shevy> Hanmac it feels as if compiling ruby from source takes longer and longer the higher the version
snath has joined #ruby
mercwithamouth has joined #ruby
mando_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<shevy> how do mac users get the latest ruby? do they install from a package?
zxd has joined #ruby
deens has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
<havenwood> shevy: `brew install ruby` or `brew install ruby-install chruby` or RVM are common routes
burlyscudd has quit [Quit: Leaving.]
dayepa has joined #ruby
<shevy> brew will compile from source for them?
jonathanwallace has quit [Quit: ZNC - http://znc.in]
<havenwood> shevy: yes
<havenwood> shevy: ruby-2.1.0
<havenwood> shevy: or `brew install ruby20` etc
Lewix has joined #ruby
burlyscudd has joined #ruby
mando has quit [Ping timeout: 276 seconds]
rudisimo has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
Ox6abe has joined #ruby
mando_ has quit [Ping timeout: 246 seconds]
bricker has joined #ruby
ndrei has joined #ruby
lfox has quit [Ping timeout: 245 seconds]
Liquid-- has joined #ruby
coderhs has joined #ruby
dayepa1 has joined #ruby
<havenwood> shevy: or you can grab the precompiled binary for your OS X, courtesy of mpapis
yfeldblum has quit [Remote host closed the connection]
kewubenduben has joined #ruby
finnnnnnnnnnn has joined #ruby
centrx has quit [Quit: Leaving]
<shevy> hmm
dayepa has quit [Ping timeout: 276 seconds]
<havenwood> shevy: http://rvm.io/binaries/osx/
Ox6abe has quit [Client Quit]
unixpro1970 has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> shevy: So from Mavericks for example, you can just untar and g2g: http://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.0.tar.bz2
unixpro1970 has joined #ruby
yfeldblu_ has joined #ruby
<havenwood> shevy: There is also an up-and-coming attempt to make a drag-and-drop .app of a statically linked latest stable Ruby: https://github.com/tokaido/tokaidoapp#readme
<shevy> wheeee
<shevy> appdirs!
<havenwood> shevy: Tokaido!
centrx has joined #ruby
unixpro1970 has quit [Changing host]
unixpro1970 has joined #ruby
mityaz has quit [Quit: See ya!]
ce_afk is now known as cescalante
mityaz has joined #ruby
unixpro1970 has quit [Client Quit]
dayepa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
smathieu has quit [Remote host closed the connection]
sandGorgon has quit [Ping timeout: 252 seconds]
dfranciosi has quit [Remote host closed the connection]
<havenwood> i guess for Tokaido i shoulda linked to: https://github.com/tokaido/tokaidoapp/releases
fphilipe has joined #ruby
drumusician has quit [Ping timeout: 252 seconds]
smathieu has joined #ruby
<havenwood> (since whole point is not compiling binaries >.>)
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
jbueza has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
smathieu has quit [Read error: Connection reset by peer]
dscrd has quit [Quit: .]
fedesilva has joined #ruby
dayepa1 has joined #ruby
moted has quit [Quit: moted]
deens has quit [Remote host closed the connection]
smathieu has joined #ruby
wildroman2 has joined #ruby
ahmedelg_ has joined #ruby
moted has joined #ruby
ahmedelgabri has quit [Ping timeout: 252 seconds]
w4pm has joined #ruby
Mars has joined #ruby
Mars is now known as Guest66909
dayepa has quit [Ping timeout: 276 seconds]
deens has joined #ruby
dayepa has joined #ruby
Txandy is now known as Txandy|away
mando has joined #ruby
unixpro1970 has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
juarlex has quit [Remote host closed the connection]
dayepa1 has joined #ruby
<Fuzai> http://hastebin.com/xeboximawi.rb I've been able to access the class constants with Freetable:: just fine, however if I try to call a class function it claims to not exist. Is there a way to call a class method without creating an instance of the class?
juarlex has joined #ruby
nwertman has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<MrZYX> Fuzai: you don't define a class method (hint: it's a method on the class)
<Fuzai> ok
<MrZYX> also your indentation is broken and that code... has room for improvement :P
<Fuzai> it's vim -> sublime messing with it. I started playing with sublime again this morning
dayepa has joined #ruby
<Hanmac1> Fuzai look at bake = values.zip(types)
<MrZYX> looks like mixed tabs/spaces, try hitting ctrl+shift+p convert to spaces
pwh has quit []
<shevy> Fuzai long live sublime! \o/
mocfive_ has joined #ruby
senayar_ has joined #ruby
<shevy> Fuzai down with the tabs!
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> MrZYX posted a link for usage... let me find it...
yiati has joined #ruby
ambushsabre has quit [Quit: rip]
<Fuzai> ty
<shevy> Fuzai See! Space vs. Tab
<shevy> 94.918% Space
mklappstuhl has quit [Read error: Connection reset by peer]
<Hanmac1> Fuzai: use /\h/ instead of [0-9a-f]
<shevy> 5.082% Tab
<Fuzai> i normall use space
<shevy> only 5% idiots using ruby!
<shevy> shrinking tendency too
<Fuzai> Hanmac1: I didn't see that documented thank you :)
txdv has quit [Ping timeout: 245 seconds]
LekeFly has joined #ruby
<Hanmac1> Fuzai: http://www.ruby-doc.org/core-2.0.0/Regexp.html >> "The following metacharacters also behave like character classes: ... "
reset has joined #ruby
asteros has joined #ruby
<Fuzai> that makes sense, i was using the cheatsheet at http://rubular.com/
dayepa1 has joined #ruby
<Hanmac1> Fuzai: then do: bake.each do |val,type| ... end with that you dont need .last and .first
<Fuzai> oh nice
<Fuzai> I always forget about that
dayepa has quit [Ping timeout: 276 seconds]
senayar has quit [Ping timeout: 252 seconds]
klaut has joined #ruby
psyl0n has joined #ruby
<Hanmac1> PS: and the integer check is not correct you forgot the to_s: val.to_i.to_s == val or better use that: !!Integer(val) rescue false
<Fuzai> Ty :)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dayepa has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
monkegjinni has joined #ruby
sandGorgon has joined #ruby
Es0teric has joined #ruby
asteros has quit [Quit: asteros]
dayepa1 has quit [Ping timeout: 276 seconds]
klaut has quit [Read error: No route to host]
waxjar is now known as shadesaaaa
klaut has joined #ruby
asteros has joined #ruby
SilentLapNix has joined #ruby
ambushsabre has joined #ruby
dayepa1 has joined #ruby
nwertman has quit [Remote host closed the connection]
Txandy|away is now known as Txandy
Shidash has joined #ruby
_tpavel has joined #ruby
ambushsabre has quit [Client Quit]
dayepa has quit [Ping timeout: 276 seconds]
<shevy> Fuzai your nick is like of a samurai
parduse has quit [Read error: Connection reset by peer]
<Hanmac1> shevy yeah only with more Furr ;P
<shevy> I have no idea if there is anyone with fur
<shevy> I don't know cartoons past tom and jerry
parduse has joined #ruby
<shevy> File "/usr/bin/g-ir-scanner", line 30
<shevy> print "Caught exception: %r %r" % (exctype, value)
<shevy> SyntaxError: invalid syntax
petertretyakov has joined #ruby
<shevy> this python2 to python3 transition forces me to have python2 available if I want to compile the latest gtk3 from source
Hobogrammer has joined #ruby
dayepa has joined #ruby
Hobogrammer_ has quit [Read error: Connection reset by peer]
Kar- has joined #ruby
momomomomo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<MrZYX> wasn't there a tool to fix the most common things?
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Fuzai> :)
txdv has joined #ruby
cascalheira has quit [Quit: Leaving...]
<shevy> I dont really know how to use python
dayepa1 has quit [Ping timeout: 276 seconds]
<centrx> Python Considered Harmful
<dachi_> a snake…
ambushsabre has joined #ruby
dayepa1 has joined #ruby
zxd has quit [Ping timeout: 276 seconds]
fire is now known as hack
<Hanmac1> centrx: like that? https://i.chzbgr.com/maxW500/7995460608/hD9AF00E3/ ;DDD
SilentLapNix has quit [Ping timeout: 272 seconds]
<shevy> tried it but it did not work
parduse has quit [Read error: Connection reset by peer]
<shevy> /usr/bin/g-ir-scanner: line 1: syntax error near unexpected token `('
<shevy> /usr/bin/g-ir-scanner: line 1: `--- /usr/bin/g-ir-scanner (original)'
dkamioka_ has quit [Remote host closed the connection]
doodlehaus has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<dachi_> happy old new year
geekbri has joined #ruby
lmickh has quit [Read error: Operation timed out]
<MrZYX> shevy: I think you missed the -w flag
parduse has joined #ruby
vlad_starkov has joined #ruby
decoponio has quit [Quit: Leaving...]
lmickh has joined #ruby
<MrZYX> so now your program is just a diff :P
<shevy> yeah
<Hanmac1> apeiros: is there somewhere in the ruby stdlib a Regex or validator for email adress? i though i did see some one
<MrZYX> devise ships one
dayepa has quit [Ping timeout: 276 seconds]
psyl0n has quit [Remote host closed the connection]
ambushsabre has quit [Client Quit]
dayepa has joined #ruby
thumpba has joined #ruby
Kar- has quit [Ping timeout: 265 seconds]
doodleha_ has quit [Ping timeout: 252 seconds]
mocfive_ has quit [Remote host closed the connection]
smathieu has quit [Remote host closed the connection]
mocfive has joined #ruby
nide has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
g3orge has joined #ruby
smathieu has joined #ruby
thumpba has quit [Remote host closed the connection]
rootshift has joined #ruby
parduse has quit [Read error: Connection reset by peer]
dayepa1 has joined #ruby
parduse has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
skaflem has quit [Quit: Leaving]
hack has quit [Quit: WeeChat 0.4.1]
SCommette has quit [Quit: SCommette]
monkegjinni has quit [Ping timeout: 251 seconds]
mocfive has quit [Ping timeout: 265 seconds]
dayepa has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
rylinaux has joined #ruby
<MrZYX> hm, why is '"foo".match /bar/' "warning: ambiguous first argument; put parentheses or even spaces" but '"foo".match "bar"' is not?
Txandy has quit [Quit: Leaving...]
Xeago_ has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
cbetta_afk is now known as cbetta
dayepa1 has joined #ruby
<apeiros> Hanmac1: URI maybe
gja has joined #ruby
<Hanmac1> damit ... i thought there would be something for email too
Txandy has joined #ruby
freezey has quit [Remote host closed the connection]
SCommette has joined #ruby
Liquid-- has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Quit: momomomomo]
<apeiros> URI::MailTo::REGEXP::PATTERN
dayepa has quit [Ping timeout: 276 seconds]
<apeiros> maybe that contains something
dayepa has joined #ruby
<apeiros> not sure which of those would fit, though :)
momomomomo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
monkegjinni has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
unixpro1970 has quit [Quit: unixpro1970 has off IRC]
rootshift has quit [Quit: rootshift]
dayepa1 has joined #ruby
mdpatrick_ has joined #ruby
freezey has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
ferr has joined #ruby
heftig has joined #ruby
dayepa has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
rootshift has joined #ruby
larissa has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<ferr> https://gist.github.com/anonymous/8406802 how would I avoid using each and use my own method instead in array tickets?
dayepa1 has joined #ruby
phipes has joined #ruby
Es0teric has quit [Ping timeout: 272 seconds]
danijoo has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
<centrx> ferr, Not sure what you mean. What is wrong with each?
aryaching_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
danijoo has joined #ruby
<MrZYX> ferr: O'd do a TicketCollection class that keeps an internal array and delegates most calls to it
<ferr> I would like to use tickets.show if it's possible
dayepa has joined #ruby
lfox has joined #ruby
mneorr has quit []
<MrZYX> so just calling show on all tickets`
<MrZYX> ?
<ferr> ye and implementing it with each method somehow
<ferr> or there's no point of doing it?
<MrZYX> I think there's no point, just do tickets.each(&:show)
aryaching has quit [Ping timeout: 246 seconds]
Shidash has quit [Ping timeout: 245 seconds]
senayar_ has quit [Remote host closed the connection]
<shadoi> ferr: tickets.map(&:show)
rynola__ has joined #ruby
<MrZYX> shadoi: why map?
<shadoi> collect the output
<MrZYX> the nils that puts will give?
<shadoi> if you don't need it use each like MrZYX said
dayepa1 has quit [Ping timeout: 276 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has joined #ruby
<ferr> thanks
cascalheira has joined #ruby
rootshift has quit [Quit: rootshift]
asteros has quit [Quit: asteros]
<apeiros> ferr: `{ <newline> |data|` <-- I think nobody but you uses that style…
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
senayar has joined #ruby
juarlex has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
cbetta is now known as cbetta_afk
juarlex has joined #ruby
<shadoi> hah, didn't even know that'd work
<ferr> I took it from pickaxe or some other book
<apeiros> it may have done that for space reasons (printed code doesn't have a lot of real estate usually)
<shadoi> The github style guide is a good one to follow
<apeiros> it may also just be very very old :) (the free online version is about a decade old)
<shadoi> I like everything but their case statements :)
dayepa has joined #ruby
rynola__ has quit [Ping timeout: 272 seconds]
jblack has joined #ruby
tannerburson has quit [Quit: tannerburson]
<apeiros> I think I also differ on the {} vs. do/end issue. but yes, it's a good guide.
dayepa1 has quit [Ping timeout: 276 seconds]
interactionjaxsn has joined #ruby
baschtmobil has joined #ruby
<shevy> # good
<shevy> names.each { |name| puts name }
tannerburson has joined #ruby
<shevy> but the next example isn't on a single line!
<shevy> and there is no example for {} on multiple lines
w4pm has quit [Ping timeout: 245 seconds]
Hobogrammer_ has joined #ruby
dayepa1 has joined #ruby
RaCx has joined #ruby
juarlex has quit [Ping timeout: 276 seconds]
Guest66909 has quit [Remote host closed the connection]
<apeiros> funny, from `Avoid do...end when chaining` follows `use {} when you care about the result` :-D
jokke has quit [Quit: WeeChat 0.4.2]
acrussell has quit [Quit: Leaving.]
dayepa has quit [Ping timeout: 276 seconds]
<apeiros> and from `Always use do...end for … DSLs` follows the other part of my rationale: "use do/end when you care about the side-effect"
nwertman has joined #ruby
dayepa has joined #ruby
baroquebobcat has joined #ruby
<shadoi> It says NOT to use {} on multiple lines
<shadoi> it says to use {} when chaining a do..end
ww26 has quit [Ping timeout: 245 seconds]
<apeiros> actually I shouldn't have left away the other two cases. they fit as well: `Always use do...end for "control flow", "method definitions", … DSLs`
kewubenduben has quit [Ping timeout: 272 seconds]
<apeiros> yeah, I disagree on the former of those two
burlyscudd has quit [Quit: Leaving.]
<apeiros> the latter fits my own rationale (as explained)
ww26 has joined #ruby
<shadoi> *nod*
<shadoi> I'm not sure I even like doing chaining
Hobogrammer has quit [Ping timeout: 272 seconds]
<shadoi> I always try to avoid it
jokke has joined #ruby
<shevy> shadoi are you saying that you don't like optionparser's
<apeiros> select.map.uniq.whatever # done that quite a bit
<shevy> end.parse!(ARGV)
<shadoi> no I mean chaining blocks/procs
rootshift has joined #ruby
<apeiros> I do tent to assign to lvars more often nowadays, to make the code easier to understand, though.
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
dayepa1 has quit [Ping timeout: 276 seconds]
rootshift has quit [Client Quit]
<shadoi> yeah I try to use locals for anything where I'd chain a block/proc
dayepa1 has joined #ruby
<apeiros> shadoi: yeah, select.map.… left the blocks away. should have written select { … }.map { … }.uniq.whatever # done that quite a bit
freezey has quit [Remote host closed the connection]
Thanatermesis has quit [Read error: Connection reset by peer]
<shadoi> yeah sometimes it's clear enough to do
freezey has joined #ruby
<shadoi> and to be clear, sometimes I break my own rules if it just makes sense in that context :)
<apeiros> mhm
gopat has joined #ruby
<apeiros> blindly following rules isn't wise either.
<apeiros> all rules have their limits. no rule is perfect.
<apeiros> (that's a perfect rule which applies unlimitedly)
dayepa has quit [Ping timeout: 276 seconds]
<shevy> is that a rule that no rule is perfect
Hobogrammer_ has quit [Ping timeout: 245 seconds]
nettoweb has quit [Quit: nettoweb]
<apeiros> it's a law, and therefore exempt of itself as it's not a rule :D
<shadoi> lol
dayepa has joined #ruby
<shevy> shadoi yeah, I find that in ruby one tends to favour what may fit into the code at the given time
<shadoi> It's part of why I use Ruby
<shadoi> I don't believe rules belong in the parser
<shadoi> style rules
nerium has joined #ruby
cbetta_afk is now known as cbetta
ambushsabre has joined #ruby
<apeiros> you should use lisp
<shevy> shadoi are you saying that you think indentation-based languages like python got it all wrong?
gregoriokusowski has quit [Quit: gregoriokusowski]
<shadoi> no it just annoys the shit out of me
<shevy> hehehe
<apeiros> ^^
<nerium> Is it possible to tell event machine to start more threads?
nettoweb has joined #ruby
<apeiros> pythons indentation requirement drove me away back in the day. now I find it genius…
dayepa1 has quit [Ping timeout: 276 seconds]
zegerjan has joined #ruby
Hobogrammer_ has joined #ruby
<shadoi> Yeah, we use python for most stuff
dayepa1 has joined #ruby
Mars has joined #ruby
<shevy> genius?
TMM has joined #ruby
<shadoi> But I still get pissed off at it
Mars is now known as Guest7625
ambushsabre has quit [Client Quit]
dayepa has quit [Ping timeout: 276 seconds]
<_tpavel> i keep hearing/seeing people using python for random automation and stuff. Why is is better than say Ruby?
monkegjinni has quit [Ping timeout: 260 seconds]
luckyruby has joined #ruby
predator217 has quit [Ping timeout: 245 seconds]
<yxhuvud> because they know it better
RaCx has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby
mando has quit [Ping timeout: 260 seconds]
simoz3 has joined #ruby
figgleberry has quit [Remote host closed the connection]
soulcake has quit [Ping timeout: 260 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
<_tpavel> BTW, I have an open question: what's the quirkiest thing you did with Ruby?
figgleberry has joined #ruby
<Fuzai> I had a threesome with Ruby
<shadoi> It's included with every distribution by default now, it's somewhat faster in various situations, and it's just far easier to find people who know it well.
<apeiros> Fuzai: with ruby and bunga?
ahmedelg_ has quit []
<Fuzai> :)
dayepa1 has joined #ruby
<luckyruby> after_validation :geocode, if: ->(obj){ obj.address.present? and obj.address_changed? }
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
<luckyruby> what does -> do?
soulcake has joined #ruby
<apeiros> luckyruby: on its own, nothing
<shevy> is lambda
itadder has joined #ruby
zegerjan has quit [Ping timeout: 260 seconds]
<apeiros> luckyruby: it's part of lambda literal syntax
<shevy> and so ugly
monkegjinni has joined #ruby
<apeiros> ->(…args…) { …code… }
<luckyruby> thanks
ndrei has quit [Ping timeout: 272 seconds]
SilentHobo has joined #ruby
RaCx has joined #ruby
<apeiros> is equivalent to lambda { |…args…| …code… }
<shadoi> thanks coffeescript
<apeiros> I wish ruby would use [] for hashes too and plain {} for procs/lambdas
<luckyruby> is there a way to google for "ruby ->"?
<Hanmac1> everytime i see this sticky lambda i think about the final moments of caesar with a knife in the back ->()
<apeiros> luckyruby: ruby stabby lambda
Kar- has joined #ruby
<MrZYX> luckyruby: also check symbolhound.com
ndrei has joined #ruby
<apeiros> Hanmac1: you call it "et tu brute lambda syntax"?
smathieu has quit [Remote host closed the connection]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
smathieu has joined #ruby
Hanmac1 is now known as Hanmac
georges has quit [Quit: IRCGate CGI:IRC User (Ping timeout)]
<Hanmac> apeiros: yeah something like that ;P
sandGorgon has quit [Ping timeout: 245 seconds]
juarlex has joined #ruby
predator117 has joined #ruby
<luckyruby> MrZYX: thanks, exactly what I was looking for
<apeiros> brutus = ->(caesar) { bloodspill }
petey has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
Hobogrammer_ has quit [Ping timeout: 260 seconds]
sassamo has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
[_aeris_] is now known as _aeris_
petey has quit [Remote host closed the connection]
<_tpavel> or: brutus = ->(caesar) { betray }
sassamo has joined #ruby
petey has joined #ruby
Hobogrammer has joined #ruby
<apeiros> ^^
figgleberry has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
figgleberry has joined #ruby
binaryhat has quit [Quit: Leaving]
SilentHobo has quit [Ping timeout: 272 seconds]
dayepa1 has joined #ruby
sassamo has quit [Ping timeout: 252 seconds]
simoz3 has quit [Read error: Connection reset by peer]
petey has quit [Ping timeout: 246 seconds]
nerium has quit [Quit: nerium]
dayepa has quit [Ping timeout: 276 seconds]
cbetta is now known as cbetta_afk
bluenemo has quit [Remote host closed the connection]
Txandy is now known as Txandy|away
Hamburglr has joined #ruby
hp_ has joined #ruby
kep has quit [Quit: WeeChat 0.4.2]
asteros has joined #ruby
TMM has quit [Write error: Connection reset by peer]
TMM has joined #ruby
hp_ is now known as Guest39428
dayepa has joined #ruby
tvw has quit []
alekst has quit [Quit: Computer has gone to sleep.]
wij has joined #ruby
gopat has quit [Remote host closed the connection]
wij has quit [Client Quit]
nhmood has joined #ruby
havenwood has quit [Remote host closed the connection]
<shevy> hmm
<shevy> this isn't ruby
<shevy> this is more like an abomination
tylersmith has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 276 seconds]
tylersmith has joined #ruby
gomix has quit [Ping timeout: 252 seconds]
einarj has joined #ruby
<shadoi> -> (__)(__)
mklappstuhl has joined #ruby
smathieu has quit [Remote host closed the connection]
dayepa1 has joined #ruby
Guest39428 has quit [Ping timeout: 245 seconds]
smathieu has joined #ruby
<shevy> even visual aesthetics can not conceal the fact that -> is absolutely ugly and btw does a ' ' after -> even work
dayepa has quit [Ping timeout: 276 seconds]
simoz4 has joined #ruby
monkegjinni has quit [Remote host closed the connection]
petey has joined #ruby
havenwood has joined #ruby
fantazo has joined #ruby
juarlex has quit [Remote host closed the connection]
juarlex has joined #ruby
IcyDragon has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
lfox has quit [Ping timeout: 246 seconds]
fantazo_ has joined #ruby
vedic has quit [Quit: Leaving.]
rodneyfool has joined #ruby
IceDragon has quit [Disconnected by services]
rodneyfool has quit [Client Quit]
IcyDragon is now known as IceDragon
craigp has quit []
wij has joined #ruby
dayepa has joined #ruby
juarlex has quit [Ping timeout: 248 seconds]
vlad_sta_ has joined #ruby
Zai00 has joined #ruby
dayepa1 has joined #ruby
w4pm has joined #ruby
wij has quit [Client Quit]
<shevy> know what would be fun?
<shevy> module Foo; end; Foo[]
<shevy> is that possible?
enebo has joined #ruby
monkegjinni has joined #ruby
wij has joined #ruby
lorelei_ has quit [Changing host]
lorelei_ has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<MrZYX> def self.[]() doesn't do it?
ffranz has quit [Quit: Leaving]
<shevy> hmm probably
<shevy> I forgot the self.
mengu has joined #ruby
Zai00 has quit [Client Quit]
_tpavel has quit [Quit: Leaving]
burlyscudd has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
<bnagy> all that zen paying off
itadder has quit [Ping timeout: 252 seconds]
<centrx> I lolled
alekst has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mykeus has joined #ruby
figglebe_ has joined #ruby
lmickh has quit [Quit: No Ping reply in 180 seconds.]
<shevy> that is kinda cool
lmickh has joined #ruby
<shevy> I'm going to make only one method hencefortwith on all my modules
<shevy> []
gomix has joined #ruby
tannerburson has quit [Quit: tannerburson]
BraddPitt has quit [Read error: Connection reset by peer]
dayepa1 has joined #ruby
BraddPitt has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
figgleberry has quit [Ping timeout: 252 seconds]
Animawish has joined #ruby
Hamburglr has quit [Quit: Textual IRC Client: www.textualapp.com]
securitycrush has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 260 seconds]
stetho has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Liquid-- has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
tannerburson has joined #ruby
dayepa has joined #ruby
mocfive has joined #ruby
deens has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
<Underbyte> quick question: given a request.body, is there an easy way to copy that request and post it to a different URL?
finnnnnnnnnnn has joined #ruby
gusblan has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<centrx> Underbyte, You mean like a redirect?
<lectrick> Does anyone know of a gem or publicly accessible Ruby codebase that pervasively uses the compositional (as opposed to OO inheritance) pattern?
<Underbyte> centrix: kind of. Basically what we have now is a little application that takes POST's coming in from an API and persists them in an SQL database. What i'm trying to do is to copy that request and send it off to our Splunk Server for further analysis
sLi_ has quit [Remote host closed the connection]
<Underbyte> so i don't want to destroy the original request, merely clone it and send the clone off to another server
rudisimo has quit [Quit: Leaving.]
dayepa has joined #ruby
<lectrick> I've been using it on this or that object but I've noticed things can get difficult when your compositional object has to work with other collaborators stuck in giant inheritance trees, and I want to see how it looks when it's done from the get-go
<Underbyte> (i don't really care about the originating IP stuff or anything like that)
rudisimo has joined #ruby
<centrx> Underbyte, You could use Marshal to convert the entire object into a byte stream...
pehlert has joined #ruby
Spami_ has quit [Quit: Leaving]
Hobogrammer has joined #ruby
<centrx> lectrick, Do you have a link explaining this composite pattern? It looks like inheritance to me
<Underbyte> what? i'm already using Sequel for the request, why would i have to go that complicated? does sequel not do async posts?
Spami_ has joined #ruby
dayepa1 has joined #ruby
<Underbyte> (not Sequel, Sinatra. Sorry)
baordog_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
DouweM has joined #ruby
braddeicide has joined #ruby
gregoriokusowski has joined #ruby
<centrx> Underbyte, I don't know about Sinatra, you just said you were sending it away for "analysis"
tylersmith has quit [Read error: Connection reset by peer]
<centrx> Underbyte, Isn't there just a method like: request.body.to_s to stringify the body?
dayepa has quit [Ping timeout: 276 seconds]
tylersmith has joined #ruby
<lectrick> centrx: basically when you create a class, you don't inherit from anything, but in that class' initializer, you give it the object it delegates to, or wraps. similar to a parent relationship in inheritance, but different
<Hanmac> centrx: composite: for sample in a widget system when you have a TextCtrl with a PickerButton, and you want to but them into a special parent that keeps the theme of them (with Font and backgroundColor) in sync ... so the widget does neigher have TextCtrl nor the PrickerButton as parent, but have them as elements
<lectrick> centrx: the advantage is you can achieve pervasive "true unit test" coverage without too much difficulty
Hobogrammer_ has joined #ruby
bean has joined #ruby
dayepa has joined #ruby
<Underbyte> centrx: I'm not sufficently skilled in ruby (i'm a C guy) to find the answer to this by myself, but literally all i'm trying to do is to take an incoming request, and send it off (via a POST) to another web interface. I can't see this taking more then one or two lines of code.
pehlert has quit [Ping timeout: 260 seconds]
teddyp1cker has joined #ruby
ctp has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
<shevy> two lines of code!
<shevy> now that is a challenge
spyderman4g63 has quit []
wij has quit []
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
krawchyk has quit []
TMM has quit [Quit: Ex-Chat]
nanoyak has quit [Quit: Computer has gone to sleep.]
Hobogrammer has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
RaCx has joined #ruby
Emmanuel_Chanel has joined #ruby
nanoyak has joined #ruby
<centrx> Underbyte, Maybe: Net::Http.post_form(URI(url), 'r' => request.body.to_s)
<centrx> That's one line
dayepa1 has quit [Ping timeout: 276 seconds]
<Underbyte> that looks like it could be a winner to me
shadoi has quit [Quit: Leaving.]
sassamo has joined #ruby
<Hanmac> centrx: hm what would happen if you leave the "to_s" out? does it does it automaticly for you?
dayepa1 has joined #ruby
yalue has quit [Quit: Leaving]
<centrx> Hanmac, I don't know what it is in his request.body, I guess it is probably already a string
dayepa has quit [Ping timeout: 276 seconds]
<Underbyte> its JSON
mocfive has quit [Remote host closed the connection]
<centrx> Yeah so the to_s probably just does nothing/returns itself
alexim has joined #ruby
mocfive has joined #ruby
<centrx> I originally interpreted the question as being how about how to "clone" the request, when it was the net sending that was the key
dayepa has joined #ruby
kai1 has joined #ruby
linguini has joined #ruby
<kai1> can somebody explain that
nettoweb has quit [Quit: nettoweb]
dayepa1 has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby
mneorr has joined #ruby
<kai1> ah wow, thanks
mocfive has quit [Ping timeout: 252 seconds]
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
fedez77 has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
_aeris_ is now known as [_aeris_]
asteros has quit [Quit: asteros]
tkuchiki has joined #ruby
asteros has joined #ruby
jblack has quit [Read error: Connection reset by peer]
lfox has joined #ruby
DouweM has quit [Ping timeout: 252 seconds]
rudisimo has quit [Remote host closed the connection]
<linguini> How does ri end up with documentation from proc.c? On my machine, it is removing spaces it shouldn't.
dayepa has joined #ruby
rudisimo has joined #ruby
<linguini> $ ri UnboundMethod | grep -o 'it wasobjectified'
<linguini> it wasobjectified
rehat has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
nettoweb has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
aryaching_ has quit [Ping timeout: 245 seconds]
dayepa1 has joined #ruby
tkuchiki has quit [Ping timeout: 248 seconds]
terrellt has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 272 seconds]
timonv has quit [Remote host closed the connection]
jkamenik has quit [Quit: Leaving.]
timonv has joined #ruby
kai1 has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
timonv has joined #ruby
rudisimo has quit [Ping timeout: 276 seconds]
dayepa has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
dayepa has joined #ruby
danijoo has joined #ruby
m8 has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
Xeago has joined #ruby
geggam has quit [Quit: Leaving]
<shevy> ri must die
Hobogrammer_ is now known as Hobogrammer
<hoelzro> what's wrong with ri?
geggam has joined #ruby
nateberkopec has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> its very existance is what is wrong
dayepa1 has joined #ruby
<Underbyte> ri?
Txandy|away is now known as Txandy
timonv has quit [Remote host closed the connection]
fphilipe has quit [Remote host closed the connection]
<shevy> Underbyte a commandline tool to query documentation
geggam is now known as maggeg
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
colonolGron has joined #ruby
<shevy> I dont even remember the syntax... ri String#downcase I suppose
fphilipe has joined #ruby
maggeg is now known as geggam
atmosx has joined #ruby
smathieu has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
blackmesa has joined #ruby
figglebe_ has quit [Ping timeout: 272 seconds]
cbetta_afk is now known as cbetta
Xeago has quit [Ping timeout: 276 seconds]
subbyyy__ has quit [Ping timeout: 272 seconds]
geggam is now known as notgeggam
g3orge has quit [Quit: WeeChat 0.4.2]
danshultz has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
subbyyy__ has joined #ruby
danshultz has joined #ruby
Lewix has joined #ruby
notgeggam is now known as geggam
<hoelzro> ri String.downcase also works
<hoelzro> do you have a better way of viewing docs from the command line?
dayepa1 has quit [Ping timeout: 276 seconds]
Virtualize has quit [Quit: Leaving...]
fphilipe has quit [Ping timeout: 252 seconds]
dayepa1 has joined #ruby
sLi__ has joined #ruby
petertretyakov has quit [Remote host closed the connection]
sLi__ is now known as sLi_
smathieu has joined #ruby
aspires has quit []
brianpWins has joined #ruby
<shevy> no
gusblan has quit [Read error: Connection reset by peer]
aspires has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
gusblan has joined #ruby
lkba has joined #ruby
<atmosx> Greetings
<atmosx> hello shevy
CogitoErgoSum has quit [Ping timeout: 252 seconds]
Lewix has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 245 seconds]
sheap has joined #ruby
jlast_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
jlast has joined #ruby
CogitoErgoSum has joined #ruby
sheap has left #ruby [#ruby]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
<shevy> hey atmosx
Animawish has quit [Quit: Animawish]
<shevy> are you continuing with your project in ruby?
Virtualize has joined #ruby
dayepa has joined #ruby
<atmosx> shevy: not exactly. I have an alpha version of my 'metro' project right now.. But needs polishing. No time this week, I have a medicinal chemistry exam on Thursday and I'm getting paranoid
<atmosx> over it
<atmosx> ...
<shevy> cool
cbetta is now known as cbetta_afk
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> I had one half a year ago
<atmosx> structures, alterations, etc. never ends
<atmosx> how did it went?
nettoweb has quit [Quit: nettoweb]
RaCx has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
<atmosx> I need to somehow handle an exception on a helper and I don't know how to do it..
DouweM has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tibuda has joined #ruby
psyl0n has joined #ruby
<atmosx> I mean, I don't understand which way is the correct way.
Virtualize has quit [Client Quit]
tylersmith has joined #ruby
deens has joined #ruby
<atmosx> I raised an exception but that sucks too.
<shevy> the questions were really fucked up...
gusblan has quit [Remote host closed the connection]
dayepa1 has joined #ruby
vlad_sta_ has quit [Ping timeout: 252 seconds]
<atmosx> yes ours are fucked up too.
juarlex has joined #ruby
RaCx has joined #ruby
<shevy> one question was like this: "describe the differences between transition-state inhibitors and high-energy-intermediate inhibitors"
<atmosx> I have 8 tests upon which I'm studying and they have ~ 100 possible structures with possibly different conformations. I was average-to-bad at organic chemistry so for me this is nightmare
<shevy> hehe
<atmosx> shevy: oh shit, you had open questions too?
<shevy> yeah
olivier_bK has joined #ruby
albertgrala has quit [Quit: Leaving]
<atmosx> The most fucked I came across was to explain what special type of chirality a compound (nifepiredine IIRC) has
<atmosx> and why
assurbanipal has joined #ruby
<shevy> cool
<shevy> never heard of nifepiredine before
<shevy> what special type does it have? several chirality centers?
dayepa has quit [Ping timeout: 276 seconds]
<atmosx> Theory is not that hard, the thing is that I have to remember too many structures becuase we have only 45 minutes, which basically means that systematic names are out of question for compounds like erythromycin
dayepa has joined #ruby
<atmosx> shevy: try naming this: http://en.wikipedia.org/wiki/Erythromycin ...
RaCx has quit [Client Quit]
<atmosx> (3R,4S,5S,6R,7R,9R,11R,12R,13S,14R)-6-{[(2S,3R,4S,6R)-4-(dimethylamino)-3-hydroxy-6-methyloxan-2-yl]oxy}-14-ethyl-7,12,13-trihydroxy-4-{[(2R,4R,5S,6S)-5-hydroxy-4-methoxy-4,6-dimethyloxan-2-yl]oxy}-3,5,7,9,11,13-hexamethyl-1-oxacyclotetradecane-2,10-dione
<atmosx> Awesome ha? lol
Txandy is now known as Txandy|away
<shevy> "14-membered lactone ring with ten asymmetric centers"
<shevy> cool
IceyEC has quit [Quit: IceyEC]
<shevy> how would I be able to find all centers O_O
<atmosx> hahaha, we have in class this guy... really good friend of mine, he is like a chemistry genious
heftig has quit [Quit: Quitting]
monkegjinni has joined #ruby
<Hanmac> bad that i dont have a bio-chemistry laboratory ... *i am waiting how shevy react to that ;P *
einarj has quit [Remote host closed the connection]
<shevy> Hanmac most lab work is boring and repetitive
<atmosx> in his notes (he passed the exam last week and took a C) erythromycin (take a good look at the structure, don't even try to learn it)
mansi has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<Hanmac> shevy yeah and thats my problem with them :(
<atmosx> Hanmac: why, should you? What do you do? I thought watching and reviewing animes was what people paid you for!
dayepa1 has joined #ruby
subbyyy__ has quit [Ping timeout: 272 seconds]
<atmosx> I'd kill to be a professional programmer
<shevy> Hanmac I guess most programming can be pretty boring too. Are you paid to write java?
<atmosx> instead of reading javascript, ruby, C (building arduino projects) I'm burning myself learnign mechanism of actions of Cox1-2/aspirin etc.
<atmosx> blah
petey has quit [Remote host closed the connection]
<shevy> yeah atmosx
sergicles has quit [Quit: sergicles]
<makkura> atmosx: I wouldn't. :P
<Hanmac> atmosx: i dont get paid for watching animes ;P ... if i could i would try to cross plants with animals and look what would happen ;P
<shevy> atmosx I think 95% of the jobs out there suck
* makkura is technically a professional programmer.
<atmosx> Hanmac: you monster
mityaz has quit [Quit: See ya!]
<shevy> lol
<atmosx> makkura: you don't like it?
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
<atmosx> makkura: how many $$$ you make per year?
RaCx has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<makkura> atmosx: There's some joy in it but there's a lot of tedium as well as a lot of making things at the whim of people higher in the chain of managment.
dayepa has joined #ruby
<Hanmac> atmosx: just image trees that walk away if the climatic in the area is not humid enough anymore ;P
fgo has joined #ruby
<geggam> devops .... with chef... aka ruby ..can get you 175k/yr in san francisco right now
<bnagy> Hanmac: banana herbs kind of do that
<geggam> with experience
<makkura> I'm at the low end of things at 42 to 44k. My area is on the low end to begin with as well. Costal regions are MUCH better.
kaldrenon has quit [Remote host closed the connection]
<atmosx> geggam: 175k/year? me or paul graham?
<makkura> Plus side is cost of living is lower here.
<geggam> hunh ?
sassamo has quit [Remote host closed the connection]
<geggam> who is paul graham ?
prc has joined #ruby
mocfive has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<atmosx> geggam: a Lisp hacker basically, but I don't think ruby would pose a challenge... it's the guy who crates news.ycombinator.com
sassamo has joined #ruby
mansi has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<geggam> you will spend 40-60k/yr on housing in san francisco tho atmosx
i_s has joined #ruby
<atmosx> geggam: aaah
<atmosx> still
<geggam> and that isnt really nice :)
<shevy> damn expensive
<atmosx> where I live, if you make 30k/year you're rich.
dayepa1 has joined #ruby
<atmosx> shevy: he said 175k/y
deens has quit [Remote host closed the connection]
kobain has joined #ruby
<geggam> that is high end devops
<geggam> 120-150 is normal
<atmosx> you'll be left with 115k a year it's not *low wage*
<makkura> atmosx: I had a friend that did work as a consultant from a low cost of living area and did well due to that.
<atmosx> geggam: how would you define a high-end devop?
<atmosx> devop = developer?
<geggam> developer with operations
<Hanmac> bnagy i found cancer cells very interesting ... they are like the spoiled teenager under the cells ... "you tell the cell to die, and the cell says No, just from pure contrariness" ;P
tkuchiki has joined #ruby
<geggam> its a hybrid thing
<shevy> Hanmac but they can kill people!!!
<bnagy> working from cheap countries is Win. \o/ ;)
<shevy> are you still in nepal
<atmosx> makkura: well sure, I read stories about people travlling through thailand and landing expensive jobs in the other side of the world, everything is possible but I'm not sure I'm up to the task.
<bnagy> no, Marshall Islands now
mklappstuhl has joined #ruby
<geggam> crap... forgot i was tunneled into ec2 brb
geggam has quit [Quit: Leaving]
<shevy> bnagy you are like a hermit, you live in extreme, distant areas. only north and south pole are missing... ;)
dayepa has quit [Ping timeout: 276 seconds]
<makkura> atmosx: aye, me either. There's a lot of additional work as an outside consultant since you'd have to, as they say, wear many hats that are not your specialty.
sivoais has quit [Ping timeout: 272 seconds]
geggam has joined #ruby
<shevy> atmosx a guy here works like 9 months here, then makes 3 months holiday in thailand. it's cheap there for him
<bnagy> shevy: travel from here is awful though. Nepal was actually pretty well connected
dik_dak has joined #ruby
<atmosx> thailand? that silly old pedophile
tkuchiki has quit [Remote host closed the connection]
phinfonet has joined #ruby
dayepa has joined #ruby
<atmosx> Nepal?
<atmosx> do they have an internet connection in Nepal?
benlieb has joined #ruby
<bnagy> I just used the 3G
<bnagy> you can get adsl but it's really bad
tkuchiki has joined #ruby
<Hanmac> my fam is travling next month to shanghai ... (but i dont have time for that sadly)
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
mklappstuhl has quit [Remote host closed the connection]
phansch has joined #ruby
<atmosx> ah okay since 2008 it's a republic
dayepa1 has quit [Ping timeout: 276 seconds]
sLi_ has quit [Remote host closed the connection]
<benlieb> I'm getting this error when trying to install the ruby debugger gem: i686-apple-darwin11-gcc-4.2.1: error trying to exec 'as': execvp: No such file or directory
thenovices has quit [Remote host closed the connection]
<atmosx> bnagy: you're american or Nepali?
petey has joined #ruby
<bnagy> yeah, but the govt is still kinda messed up
<bnagy> I am neither of those things
sLi_ has joined #ruby
<atmosx> bnagy: How did you end to nepal then?
Hobogrammer_ has joined #ruby
<benlieb> anyone have an idea why?
rehat has quit [Ping timeout: 248 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
<bnagy> benlieb: something is broken, but it's hard to tell what just from that
<bnagy> I thought ruby debugger was old and crusty though
MrThePlague has quit []
shime has joined #ruby
<bnagy> atmosx: my wife was based there with the IFRC ( red cross )
<benlieb> bnagy: i thought so too. this page recommends it.
<shevy> benlieb sounds like binutils problem
alvaro_o_ has quit [Ping timeout: 252 seconds]
<atmosx> bnagy: ooh okay
<atmosx> bnagy: and you went there? takes courage..
<benlieb> Are most people using pry?
<atmosx> benlieb: not me
<shevy> I use irb
Megtastique has joined #ruby
dayepa1 has joined #ruby
<atmosx> benlieb: I don't use irb too much, ust to test code and run models
<benlieb> i need a debugger like the ruby debugger
<benlieb> this is a rails app
<atmosx> code snippets, one liners mostly
<Hanmac> he is using i686 + apple + gcc4.2.1 i cant just say that scares me more ;P
lorelei_ has quit [Ping timeout: 260 seconds]
<Hanmac> benlieb: did you try #rubyonrails for help ?
<benlieb> Hanmac: not yet, since this is a more general issue.
<benlieb> the thing might this:
Jetchisel has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
<LastWhisper> any of you guys familiar with stub requests/stubbing out http requests or so?
<benlieb> my old mac died, and I just bought a new one
dayepa has quit [Ping timeout: 276 seconds]
<LastWhisper> I'm trying to stub out a call to our ad service, so I dont have to deal with ads on the test environment
RaCx has quit [Quit: Computer has gone to sleep.]
<LastWhisper> but not entirely sure how to do so
<benlieb> I "imported" my old user using the utility that popped up and asked me if I wanted to
<benlieb> perhaps it's using old settings pointing to things that are now in new places?
sLi_ has quit [Ping timeout: 245 seconds]
Hobogrammer has quit [Ping timeout: 276 seconds]
<Hanmac> benlieb: compiled gems need to be downloaded and compiled again if you didnt do that already
<benlieb> don't know how to go about figuring that one out tho
<shevy> benlieb one day you will enter the linux as well, my son
sivoais has joined #ruby
<benlieb> Hanmac: this error is during compilation
psyl0n has quit [Remote host closed the connection]
psyl0n has joined #ruby
dayepa has joined #ruby
<Hanmac> shev you need so say it more yoda like ;P
terrellt has joined #ruby
phinfonet has quit [Read error: Connection reset by peer]
<shevy> it won't help
<shevy> the apple is strong in benlieb
<Hanmac> you mean the worm inside the apple? ;P
grvgr has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<benlieb> wait, something got cut off...
dayepa1 has joined #ruby
<shevy> those are some fucked up paths
subbyyy__ has joined #ruby
<shevy> I always thought apple users have beautiful paths
assurbanipal has quit [Remote host closed the connection]
<shevy> /usr/local/opt/
<ddd> that is actually beautiful. it respects both the separation of system from local mission, and respects the FHSv2.2
<benlieb> if I recall, that path is made by macports
<shevy> ddd the FHS does not really mandate much
dayepa has quit [Ping timeout: 276 seconds]
<ddd> it does mandate /opt as an expected location for 3rd party applications
alexim has quit [Quit: bye]
<Hanmac> benlieb: imo the gcc version is a bit smelly ... last time i used rvm on mac, i used mac ports to get newest clang and gcc versions (Yes it can make a difference when you compile ruby with clang or gcc)
gusblan has joined #ruby
dayepa has joined #ruby
<benlieb> actually made by homebrew on further inspection
<shevy> ddd http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY it mandates /usr/local/games directory :)
<shevy> "The following directories, or symbolic links to directories, must be in /usr/local"
<shevy> ohhh
RubyPanther has quit [Ping timeout: 252 seconds]
<shevy> the symlink requirement, so actually it can be symlinks too
<shevy> does not seem to state where the symlink should be
dayepa1 has quit [Ping timeout: 276 seconds]
<benlieb> I can't even tell from that error what the dir is that can't be found
<shevy> benlieb nah it is a problem in execvp
* Hanmac waves jedi-like with his hand: "this are not the dirs you are looking for"
ferr has quit [Ping timeout: 248 seconds]
dayepa1 has joined #ruby
<ddd> Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.
heftig has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
diegoviola has joined #ruby
cescalante is now known as ce_afk
<ddd> now that was a change from before because /opt OR /usr/local was used for that
<shevy> what about /opt
<benlieb> shevy: so what might i do to get the debugger installed?
<ddd> now they've changed to just /usr/local/
<shevy> benlieb no idea, I dont use a mac sorry. but if it would be linux, the problem would be related to binutils 80%, or gcc 15%
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddd> The use of /opt for add-on software is a well-established practice in the UNIX community. The System V Application Binary Interface [AT&T 1990], based on the System V Interface Definition (Third Edition), provides for an /opt structure very similar to the one defined here.
<ddd> is what it states now
<shevy> benlieb, this is what I use right now for compiling http://pastie.org/pastes/8630845/text
<ddd> so /opt is for local administrator packages
chrisseaton has quit []
<ddd> stuff the admin himself uses
dayepa has quit [Ping timeout: 276 seconds]
<shevy> sounds like $HOME :D
CogitoErgoSum has quit [Ping timeout: 245 seconds]
<ddd> The directories /opt/bin, /opt/doc, /opt/include, /opt/info, /opt/lib, and /opt/man are reserved for local system administrator use. Packages may provide "front-end" files intended to be placed in (by linking or copying) these reserved directories by the local system administrator, but must function normally in the absence of these reserved directories.
<ddd> The directories /opt/bin, /opt/doc, /opt/include, /opt/info, /opt/lib, and /opt/man are reserved for local system administrator use. Packages may provide "front-end" files intended to be placed in (by linking or copying) these reserved directories by the local system administrator, but must function normally in the absence of these reserved directories.
dayepa has joined #ruby
<ddd> damn it
<shevy> echo!
<shevy> you are drunk again!
<ddd> I meant to say, Programs to be invoked by users must be located in the directory /opt/<package>/bin or under the /opt/<provider> hierarchy. If the package includes UNIX manual pages, they must be located in /opt/<package>/share/man or under the /opt/<provider> hierarchy, and the same substructure as /usr/share/man must be used.
<shevy> or your cat handles the keyboard
<shevy> cool
<shevy> they recommend a /opt/name scheme?
simoz4 has quit [Ping timeout: 272 seconds]
<shevy> like /opt/ruby/bin
<ddd> hehe naa, I thought I'd actually copied to the clipboard, but hadn't replaced like i thought
<ddd> yeah
<ddd> or /opt/rubymin-<version/bin
pwh has joined #ruby
rootshift has joined #ruby
<ddd> for any 3rd party or self written apps the local admin wants to make use of I would guess, from the definition of /opt's use
<ddd> which kind of links into the use of /usr/local
<shevy> hehehe
<shevy> hey
<shevy> as long as /usr/local/games is mandatory, I am happy
dayepa1 has quit [Ping timeout: 276 seconds]
depesz has joined #ruby
<ddd> which in an arcane way IS beautiful when you look at /usr/local/opt as it hits both standards.
<ddd> hah!
<shevy> right but
<shevy> the /usr/local/opt is not mandatory
<depesz> Hi. i'd like to run shell command and get its output, but I can't really use `` because args can be potentially unsafe. What is the correct way to do it?
thumpba_ has quit [Remote host closed the connection]
dayepa1 has joined #ruby
fgo has quit [Remote host closed the connection]
<ddd> no, /usr/local is mandatory. /opt *was* mandatory, the conventioned, and now i guess purely optional
<ddd> s/the /then /
teddyp1cker has quit [Remote host closed the connection]
nanoyak has joined #ruby
petey has quit [Remote host closed the connection]
<soahccc> Hmm Mutex in trap is no good because it needs to be reentrant. Therefore ruby 2 raises and ThreadError (instead of deadlock eventually). But Monitor is reentrant so shouldn't I be able to use it?
klaut has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
petey has joined #ruby
kirun has quit [Quit: Client exiting]
colonolGron has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
breakingthings has quit []
diegoviola has quit [Ping timeout: 248 seconds]
dayepa1 has quit [Ping timeout: 276 seconds]
colonolGron has joined #ruby
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
dayepa1 has joined #ruby
shime has quit [Ping timeout: 246 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
FDj has joined #ruby
thumpba has joined #ruby
FDj has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
dayepa has quit [Ping timeout: 276 seconds]
smathieu has quit [Remote host closed the connection]
dayepa has joined #ruby
eval-in has quit [Remote host closed the connection]
pel_daniel has quit [Ping timeout: 260 seconds]
eval-in has joined #ruby
smathieu has joined #ruby
<benlieb> is there an alternative to ruby-debug?
ambushsabre has joined #ruby
io_syl has joined #ruby
w_alexus is now known as w_alexus[afk]
RubyPanther has joined #ruby
rootshift has quit [Quit: rootshift]
dayepa1 has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
brianpWins has quit [Quit: brianpWins]
<grvgr> benlieb: for ruby 2.0?
<benlieb> grvgr: yeah
<benlieb> it looks like pry can do what i need… I think
lorelei_ has joined #ruby
<grvgr> benlieb: bye bug claims support for 2.0. i haven't tested it though.
<grvgr> byebug*
phipes has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
smathieu has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
<ddd> yes debugger gem is the alternative
<ddd> which i mentioned to you in #RubyOnRails
grvgr has quit [Quit: grvgr]
phipes has joined #ruby
<blackmesa> is there an alternative to FileUtils.cd(File.dirname(__FILE__)) ?
mocfive has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
coderhs has quit [Ping timeout: 265 seconds]
mocfive has joined #ruby
mark_locklear has quit [Ping timeout: 248 seconds]
mansi has quit [Ping timeout: 272 seconds]
dayepa1 has joined #ruby
fantazo has quit [Ping timeout: 248 seconds]
nhhagen has joined #ruby
fantazo_ has quit [Ping timeout: 276 seconds]
smathieu has joined #ruby
Virtualize has joined #ruby
simoz4 has joined #ruby
brianpWins has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
clamstar has quit [Quit: Computer has gone to sleep.]
mocfive has quit [Ping timeout: 245 seconds]
b00stfr3ak has joined #ruby
asteros has quit [Quit: asteros]
darthdeus has quit [Read error: Connection reset by peer]
<shevy> blackmesa well, Dir.chdir
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> best would be if one would never have to change directory of course
darthdeus has joined #ruby
IceDragon has quit [Ping timeout: 252 seconds]
lockweel has joined #ruby
<bnagy> and it's very hard to envision when one _would_ have to
lfox has quit [Quit: ZZZzzz…]
asteros has joined #ruby
dayepa1 has joined #ruby
<blackmesa> shevy: I saw something like .$ dirname somewhere, which acted in the same way
<blackmesa> or .$ basename I gues
Attic has joined #ruby
<bnagy> why do you think you need to change working directory?
dayepa has quit [Ping timeout: 276 seconds]
thumpba has quit [Remote host closed the connection]
Attic has left #ruby [#ruby]
<blackmesa> in a ruby script I want to load a file from a directory
<bnagy> so do that
thumpba has joined #ruby
workmad3 has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<bnagy> if you want to require ruby files there's require_relative
nettoweb has joined #ruby
<shevy> blackmesa $: perhaps ?
<bnagy> if it's some other kind of file then you can use dirname(__FILE__) as you have above
prc has quit [Quit: Leaving.]
jedimind has quit [Disconnected by services]
dayepa has joined #ruby
<ddd> load "#{File.join(File.dirname(__FILE__), "/config/environment.rb")}" and you can require_relative like bnagy is mentioning
danshultz has joined #ruby
yedimind has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
juarlex has quit [Remote host closed the connection]
juarlex has joined #ruby
nanoyak has joined #ruby
<nhhagen> I'm planing to write an application on top of elasticsearch, the only interface will be http/json. Can anyone recommend a webservice framework to use? I have looked at rails, but it feels a bit relation db centric.
thumpba has quit [Ping timeout: 246 seconds]
<shevy> perhaps sinatra
thumpba has joined #ruby
dayepa1 has joined #ruby
<shevy> the rails guys on #RubyOnRails may know a lot more about that in general btw
<blackmesa> thx all
<shevy> I dunno why it is in ruby that, rather than trying to adjust old code I wrote, I find it much easier to rewrite from scratch :(
gregoriokusowski has joined #ruby
<bnagy> I wasn't aware that rails was relational-centric though
tvw has joined #ruby
<MrZYX> shevy: I think that's not limited to ruby, but rather is the extra effort you spend with that lower in ruby, thus you do it earlier
deens has joined #ruby
subbyyy__ has quit [Ping timeout: 245 seconds]
makkura is now known as mak|idle
fphilipe has joined #ruby
<nhhagen> shevy: thx
baordog_ has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 276 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wildroman2 has joined #ruby
phansch has quit [Quit: Leaving]
baschtmobil has quit [Ping timeout: 272 seconds]
kevind has quit [Read error: Connection reset by peer]
centrx has quit [Quit: Leaving]
juarlex has quit [Ping timeout: 272 seconds]
kevind has joined #ruby
asteros has quit [Quit: asteros]
doodlehaus has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
IceDragon has joined #ruby
dayepa1 has joined #ruby
DeanH has joined #ruby
simoz4 has quit [Read error: Connection timed out]
fphilipe has quit [Ping timeout: 246 seconds]
deens has quit [Ping timeout: 272 seconds]
sailias has quit [Ping timeout: 272 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
meatherly has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 272 seconds]
dayepa has quit [Ping timeout: 276 seconds]
meatherly has joined #ruby
fedesilva has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
dayepa has joined #ruby
DeanH has quit [Client Quit]
dayepa1 has quit [Ping timeout: 276 seconds]
DeanH has joined #ruby
thenovices has joined #ruby
dayepa1 has joined #ruby
atmosx has quit [Quit: Lost in trance]
meatherly has quit [Ping timeout: 260 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
sergicles has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
pranny has quit [Quit: Leaving.]
momomomomo has quit [Quit: momomomomo]
monkegjinni has quit [Ping timeout: 252 seconds]
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
rootshift has joined #ruby
fedesilva has joined #ruby
ss_ has joined #ruby
gusblan has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
asteros has joined #ruby
thenovices has quit [Ping timeout: 272 seconds]
dayepa1 has joined #ruby
Kar- has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
<benlieb> using ruby 2.0.0p247, `puts` is adding <br /> to my console and command line? What's up? How can I stop this?
TheShaun has joined #ruby
Alina-malina has joined #ruby
<TheShaun> Hey, anyone know of a good pentest framework for testing a rails app?
carif has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
<Jamo> metaspoloit or nessus maybe
<Jamo> *metasploit
depesz has left #ruby ["WeeChat 0.4.2"]
dayepa has joined #ruby
<Jamo> or armitage
juarlex has joined #ruby
<MrZYX> benlieb: do you mean a newline, or literally a <br /> ?
parduse has quit [Ping timeout: 272 seconds]
<TheShaun> cheers, Jamo!
<shevy> benlieb that sounds weird
<benlieb> MrZYX: literally <br />, but I think that some gem must have redefined it. Because outside of the rails console, it's not doing it.
<benlieb> ugly
<shevy> benlieb something must taint your code there IMO
<postmodern> Jamo, metasploit is more of a network/system pentesting tool
<benlieb> probably the awesome_print gem grrr
<shevy> yeah, I think some gem leaks into that benlieb - I have had almost the same behaviour once myself
subbyyy__ has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
<benlieb> not awesome
<shevy> hehehe
<postmodern> TheShaun, you probably want to use something like Burp Suite or Arachni
<shevy> I did not like the colours so I went with pp instead
<MrZYX> benlieb: try method(:puts).source_location
<postmodern> TheShaun, Burp Suite Pro finds a lot of things: http://portswigger.net/burp/
dblessing has quit [Quit: dblessing]
deens has joined #ruby
fedesilva has quit [Remote host closed the connection]
grvgr has joined #ruby
<TheShaun> ah ha, Arachni was the one I was thinking of!
psyl0n has quit [Remote host closed the connection]
`MArceLL` has joined #ruby
<shevy> guys, given these two options http://pastie.org/8630979 which one would you rather pick? I am kinda torn ...
lorelei_ has quit [Ping timeout: 252 seconds]
lioninawhat has joined #ruby
<DouweM> var.delete!("+") if REMOVE_THIS
rpattabi has joined #ruby
<MrZYX> +1, first
dayepa has quit [Ping timeout: 276 seconds]
dayepa1 has joined #ruby
byprdct has joined #ruby
<DouweM> looks weird without parentheses, but postfix is better
<MrZYX> that is if the line doesn't exceed 80-100 chars of course
<DouweM> of course :)
<shevy> ok
<benlieb> MrZYX: found it. a prev developer overwrote it in spec_helper. Wha?
parduse has joined #ruby
parduse has joined #ruby
parduse has quit [Changing host]
<shevy> benlieb kill him!
mengu has quit []
rootshift has quit [Quit: rootshift]
<benlieb> shevy: in his defense it was a rails 2.1.1 app at the time. Things were different then :)
dayepa has joined #ruby
enebo has quit [Quit: enebo]
psyl0n has joined #ruby
<shevy> we were all noobs at one point
psyl0n has quit [Remote host closed the connection]
<shevy> but only the strong survive
nettoweb has quit [Quit: nettoweb]
DeanH has quit [Ping timeout: 260 seconds]
psyl0n has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
wgosling has quit [Quit: Konversation terminated!]
dweeb_ has joined #ruby
mojjojo has joined #ruby
mehlah has joined #ruby
dayepa1 has joined #ruby
aspires has quit []
Jdubs has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
kenndel has joined #ruby
Beoran__ has quit [Ping timeout: 245 seconds]
dayepa has quit [Ping timeout: 276 seconds]
<kenndel> Hey guys is there a rails channel here on freenode aswell? I just got an internship doing rails and i'd like to be idling the resource just in case
<workmad3> kenndel: #rubyonrails
<workmad3> kenndel: we don't bite... hard
<kenndel> Nice thanks
phinfonet has joined #ruby
<kenndel> haha go easy on me!
dayepa has joined #ruby
wgosling has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
aspires has joined #ruby
brianpWins has quit [Quit: brianpWins]
m8 has quit [Quit: Sto andando via]
<shevy> kenndel at what type of company if I may ask? (don't need to know the name)
petey_ has quit [Remote host closed the connection]
dayepa1 has quit [Ping timeout: 276 seconds]
burlyscudd has quit [Quit: Leaving.]
<kenndel> They run a few different sites but the one I'll be helping out is a ticketing website for concerts
asteros has quit [Quit: asteros]
<shevy> cool
pardusf has joined #ruby
parduse is now known as Guest33950
pardusf has quit [Changing host]
pardusf has joined #ruby
pardusf is now known as parduse
asteros has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
dayepa has joined #ruby
Guest33950 has quit [Ping timeout: 272 seconds]
<kenndel> I've never actually worked with ruby before so I've been doing internet tutorials for a few weeks now to get ready
centrx has joined #ruby
flubba has joined #ruby
yiati has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
Xeago has joined #ruby
dayepa1 has joined #ruby
alexherbo2 has joined #ruby
<shevy> am I drunk ?
<shevy> x = "foo-----bar"
<shevy> splitted = x.split '-'
Guedes0 has joined #ruby
grvgr has quit [Quit: grvgr]
<shevy> splitted[0...-2].join('-') # => "foo---"
<shevy> sorry
<shevy> splitted[0..-2].join('-') # => "foo----"
<shevy> I am missing one -
Guedes0 has left #ruby [#ruby]
dayepa has quit [Ping timeout: 276 seconds]
alekst has quit [Quit: Computer has gone to sleep.]
pen has quit [Read error: Connection reset by peer]
<shevy> splitted[0...-1] # => ["foo", "", "", "", ""]
pen has joined #ruby
dayepa has joined #ruby
<shevy> x = "foo-----bar"
<shevy> hmmmmmmmm
<shevy> that boggles my mind
petey has joined #ruby
<centrx> Yes, you are drunk
alexfreidah has quit [Ping timeout: 260 seconds]
mocfive has joined #ruby
<shevy> ah I think I understand why
dayepa1 has quit [Ping timeout: 276 seconds]
<shevy> the last element is not included, so the count is one less
Beoran__ has joined #ruby
txdv has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
dayepa1 has joined #ruby
pardusf has joined #ruby
pardusf has quit [Changing host]
pardusf has joined #ruby
parduse is now known as Guest38415
Guest38415 has quit [Killed (dickson.freenode.net (Nickname regained by services))]
pardusf is now known as parduse
txdv has joined #ruby
IcyDragon has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon200
IceDragon200 is now known as IceDragon
dayepa has joined #ruby
SCommette has quit [Quit: SCommette]
SCommette has joined #ruby
tvw has quit []
SCommette has quit [Client Quit]
dayepa1 has quit [Ping timeout: 276 seconds]
tibuda has quit [Quit: Saindo]
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]
lmickh has quit [Ping timeout: 260 seconds]
<krainboltgreene> centrx: Haha.
pel_daniel has joined #ruby
dayepa has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
aspires has quit []
dayepa1 has quit [Ping timeout: 276 seconds]
kep has joined #ruby
psyl0n has quit [Remote host closed the connection]
Xaitec has joined #ruby
jlast has quit [Remote host closed the connection]
dayepa1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
CaptainJet has quit []
SilentHobo has joined #ruby
dayepa has quit [Ping timeout: 276 seconds]