apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<riceandbeans> how do I assign a constant a value?
<MrZYX> MY_CONSTANT = value
<riceandbeans> I'm not trying to change it aftersetting
<riceandbeans> yeah that's not working
threesome has joined #ruby
<MrZYX> not working isn't a problem description ;)
<bnagy> MrZYX: huh I get 2 in mri 1.9.3
<riceandbeans> DTG = '(\w+?\s+\d+)?\s+(\d{2}:\d{2}:\d{2})' #Date Time Group, mmm hh:mm:ss
<riceandbeans> ./emailscript.rb:25: dynamic constant assignment DTG = '(\w+?\s+\d+)?\s+(\d{2}:\d{2...
niklasb has quit [Ping timeout: 245 seconds]
<MrZYX> bnagy: hm still 3 over here
adamholt has quit [Quit: ZNC - http://znc.sourceforge.net]
<MrZYX> try changing the "foo"; to a random symbol or something
platzhirsch has joined #ruby
<bnagy> still 2
<platzhirsch> Let's take down a dragon
<MrZYX> riceandbeans: hm, never saw that one. Are you doing that inside a method or a loop or something?
<riceandbeans> inside a method
Aryasam has quit [Read error: Connection reset by peer]
<MrZYX> do it outside
pwh has joined #ruby
baroquebobcat has joined #ruby
<bnagy> yeah that's it.
<bnagy> >> def foo;A=3;end
<eval-in> bnagy => /tmp/execpad-177ded0465db/source-177ded0465db:2: dynamic constant assignment ... (https://eval.in/52439)
<bnagy> and yet works in blocks / Procs
funburn has joined #ruby
kvirani has joined #ruby
adamholt has joined #ruby
<bnagy> >> = ObjectSpace.each_object.to_a; "foo"; b = ObjectSpace.each_object.to_a; (b-a).size
<eval-in> bnagy => /tmp/execpad-0437b344ff59/source-0437b344ff59:2: syntax error, unexpected '=' ... (https://eval.in/52440)
Aryasam has joined #ruby
<bnagy> >> a = ObjectSpace.each_object.to_a; "foo"; b = ObjectSpace.each_object.to_a; (b-a).size
<eval-in> bnagy => 2 (https://eval.in/52441)
antix_ has quit [Ping timeout: 240 seconds]
mmitchell has joined #ruby
<MrZYX> ah, yeah, of course
<bnagy> >> a = ObjectSpace.each_object.to_a; "foo"; b = ObjectSpace.each_object.to_a; (b-a).map(&:class)
<eval-in> bnagy => [Enumerator, Array] (https://eval.in/52442)
<MrZYX> you're creating a number less
sergicles has quit [Quit: sergicles]
<bnagy> Enumerator :S
a1ph4g33k has quit [Quit: Leaving]
antix_ has joined #ruby
xcv has joined #ruby
<riceandbeans> MrZYX: man, using a constant in the regex looks cleaner but it took over twice as long at runtime
<riceandbeans> that's pretty poor
xcv has quit [Remote host closed the connection]
<MrZYX> riceandbeans: try moving the composition outside the method too
<bnagy> riceandbeans: make sure you create the regex outside of any block and then just use that variable
<bnagy> lulz
<MrZYX> MY_FINAL_REGX = /#{PART1} #{PART2}/
<riceandbeans> bnagy: I don't know if I can do that
<riceandbeans> I'll try
jonahR has joined #ruby
sailias has joined #ruby
<MrZYX> I'm confused about
<MrZYX> >> a = ObjectSpace.count_objects[:TOTAL]; :symdsd; ObjectSpace.count_objects[:TOTAL]-a
<eval-in> MrZYX => 0 (https://eval.in/52443)
superscott[8] has quit [Quit: superscott[8]]
<bnagy> riceandbeans: 'static' regex in blocks get magically cached by the interpreter, but if you're using #{interpolation} I think it has to create it every time
Popple has quit [Quit: Computer has gone to sleep.]
<bnagy> ... which is pretty cool ( the regex caching )
mmitchell has quit [Ping timeout: 260 seconds]
ravster has quit [Quit: Leaving.]
<bnagy> MrZYX: o_0
<volty> could you help a poor man? should I post a piece of code that makes me crazy? :)
randomnick_ has quit [Quit: Leaving]
antix_ has quit [Ping timeout: 256 seconds]
<MrZYX> nobody's going to prevent you ;)
Jdubs has quit [Remote host closed the connection]
<volty> i'm asking if you are going to give it a look
<MrZYX> you'll never find out that way
dkamioka has joined #ruby
Jdubs has joined #ruby
<bnagy> MrZYX: what iiiif... symbols were stored in some static hashtable or something?
* bnagy way to lazy to actually read source today ;)
<MrZYX> bnagy: I get that for all kind of objects
antix_ has joined #ruby
<bnagy> oh, so just weirdness with :TOTAL ?
<MrZYX> I guess so
<MrZYX> >> a = ObjectSpace.count_objects[:T_OBJECT]; Object.new; ObjectSpace.count_objects[:T_OBJECT]-a
<eval-in> MrZYX => 1 (https://eval.in/52445)
<volty> I posted, to eval.in, and executed it, but no error there
<volty> while here, ruby 1.9.3p0, i get a nasty stack level too deep
mohawkjohn has quit [Quit: This computer has gone to sleep]
<bnagy> stack sizes differ, you're probably just on the verge
Monie has joined #ruby
<volty> no, i have debugged it, manually, and solved it
mrsolo has joined #ruby
<volty> but i'm curious why that happens
Inside has joined #ruby
Jdubs has quit [Ping timeout: 240 seconds]
<volty> it is calling forever method missing
nerdy has quit [Quit: Computer has gone to sleep.]
<volty> here
heidi has joined #ruby
quoin has joined #ruby
<volty> now it works fine without that stupid yield that remained (who knows why) arround
<MrZYX> you're never running it on that eval-in
antix_ has quit [Ping timeout: 248 seconds]
Elinos has quit [Ping timeout: 256 seconds]
<MrZYX> are you sure []= is defined?
<MrZYX> or [] for that matter
<volty> yes MrZYX, save time
<volty> ...
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<volty> come data, comes ruby, and then
<volty> begins calling to_ary
<volty> i realized that the yield line makes that 'to_ary' call
saarinen has quit [Quit: saarinen]
<volty> anyway i said i fixed it removing that stupid line (and don't know why there)
<volty> but i'm curious about why it behaves so
doritostains has quit [Read error: Connection reset by peer]
doritostains has joined #ruby
<bnagy> cause you're recursing hash creation I'd say
quoin has quit [Ping timeout: 245 seconds]
elux has joined #ruby
<volty> my question is why that yield line makes to_ary call ?
<MrZYX> I guess that's just defined behavior of yield, like & calls to_proc
<MrZYX> to be able to autosplat
<volty> and, btw, when using pp, in method_missing i got plenty of vars that seem come out of pp (indent etc etc )
<volty> ops, talking to others is useful, i got an idea, but going to verify tomorrow
pwh has quit []
nfk has quit [Quit: yawn]
antix_ has quit [Ping timeout: 248 seconds]
<volty> and, btw, about the above pp messing: the pp h line was at the end of the source, far away from those methods and procs
<MrZYX> another way (rather annoying/stupid) way to fix it: yield [h[k]] if block_given?
antix has joined #ruby
sergicles has joined #ruby
antix is now known as Guest1047
elux has quit [Client Quit]
<volty> that yield is superfluous, going to verify if it calls itself (the proc) recursively
mansi has joined #ruby
St_Marx has quit [Ping timeout: 240 seconds]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty> yes, proc is given and, obviously, calls itself
Sc0rp10n has quit [Quit: Leaving]
kadoo has joined #ruby
kmurph has joined #ruby
snovak has joined #ruby
SilverKey has quit [Quit: Cheerio!]
<volty> now remains to understand why it calls 'to_ary'
havenwood has quit [Remote host closed the connection]
_main_ has joined #ruby
kmurph has quit [Client Quit]
havenwood has joined #ruby
Guest1047 has quit [Ping timeout: 240 seconds]
ssvo_ has quit [Ping timeout: 240 seconds]
emmanuelux has quit [Quit: emmanuelux]
antix_ has joined #ruby
hogeo has joined #ruby
ravster has joined #ruby
<volty> tomorrow, new fresh day, new refreshed brain
<volty> bye
__main__ has quit [Ping timeout: 252 seconds]
volty has quit [Quit: Konversation terminated!]
osvico has joined #ruby
kadoo has quit [Client Quit]
_main_ is now known as __main__
snovak has quit [Ping timeout: 260 seconds]
havenwood has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
aspires has quit [Quit: aspires]
bubblehead has joined #ruby
axl_ has joined #ruby
zz_michael_mbp is now known as michael_mbp
MrZYX is now known as MrZYX|off
DonRichie has quit [Ping timeout: 260 seconds]
antix_ has quit [Ping timeout: 245 seconds]
i_s has quit [Remote host closed the connection]
DonRichie has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
bubblehead has quit [Read error: No route to host]
bubblehead has joined #ruby
sectionme has joined #ruby
blandflakes has joined #ruby
antix_ has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
Jdubs has joined #ruby
_main_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
funburn has quit [Ping timeout: 252 seconds]
michael_mbp is now known as zz_michael_mbp
St_Marx has joined #ruby
sailias has quit [Ping timeout: 252 seconds]
ewnd9 has joined #ruby
brianpWins has quit [Quit: brianpWins]
sectionme has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
_main_ is now known as __main__
antix_ has quit [Ping timeout: 260 seconds]
__main__ has quit [Read error: Connection reset by peer]
kazuuu has joined #ruby
sergicles has quit [Quit: sergicles]
notjohn has joined #ruby
antix_ has joined #ruby
__main__ has joined #ruby
huoxito has quit [Quit: Leaving]
tkuchiki has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
xcv has joined #ruby
havenwood has joined #ruby
InFlames has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
narcan has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
jlebrech has quit [Ping timeout: 246 seconds]
platzhirsch has left #ruby [#ruby]
kilophoton has joined #ruby
ZadYree_ is now known as ZadYree
ZadYree has quit [Changing host]
ZadYree has joined #ruby
lukec has quit [Quit: lukec]
mrsolo has joined #ruby
drumsrgr8forn8 has joined #ruby
jonr22 has quit [Quit: leaving]
jonahR has left #ruby [#ruby]
jonr22 has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
antix_ has quit [Ping timeout: 256 seconds]
bubblehead has quit [Read error: Connection reset by peer]
mohawkjohn has joined #ruby
bubblehead has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Client Quit]
tatsuya_o has joined #ruby
mrsolo has joined #ruby
antix_ has joined #ruby
sarlalian has quit [Ping timeout: 240 seconds]
Aryasam has quit [Quit: Bye]
alekst has joined #ruby
axl_ has quit [Quit: axl_]
bubblehead has quit [Read error: Connection reset by peer]
ItSANgo has quit [Ping timeout: 245 seconds]
bubblehead has joined #ruby
kaspergrubbe has quit [Ping timeout: 260 seconds]
Zerogrifter has quit [Ping timeout: 264 seconds]
tatsuya_o has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Ping timeout: 256 seconds]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
mmitchell has joined #ruby
peregrine81 has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
Ahti333 has quit [Quit: Textual IRC Client: www.textualapp.com]
Xanderby has joined #ruby
antix_ has quit [Ping timeout: 253 seconds]
burntbit has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
antix_ has joined #ruby
dodosan has joined #ruby
nisstyre has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehe_ has joined #ruby
Ahti333 has joined #ruby
Soda has quit [Remote host closed the connection]
ItSANgo has joined #ruby
mmitchell has quit [Ping timeout: 240 seconds]
Voodoofish430 has quit [Quit: Leaving.]
peregrine81 has joined #ruby
sergicles has joined #ruby
bubblehe_ has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
adeponte has quit [Remote host closed the connection]
dodosan has joined #ruby
DrShoggoth has quit [Quit: Leaving]
antix_ has quit [Ping timeout: 240 seconds]
Popple has joined #ruby
mmm has quit [Read error: Connection reset by peer]
antix_ has joined #ruby
mneorr has quit [Remote host closed the connection]
Zesty has joined #ruby
jlebrech has joined #ruby
mneorr has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
pwh has joined #ruby
bubblehead has joined #ruby
saarinen has joined #ruby
skysploit has joined #ruby
skysploit has quit [Read error: Connection reset by peer]
mmm has joined #ruby
peregrine81 has quit []
xcv has quit [Remote host closed the connection]
Lewix has joined #ruby
blastDAbLast has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
mneorr has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
bubblehead has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
xcv has joined #ruby
bubblehead has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
justsee has quit [Client Quit]
bubblehead has quit [Read error: Connection reset by peer]
lukec has joined #ruby
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
bubblehead has joined #ruby
havenn has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
dodosan has quit [Remote host closed the connection]
doritostains has quit [Quit: Leaving...]
antix_ has quit [Ping timeout: 240 seconds]
vishal has joined #ruby
mohawkjohn has quit [Quit: This computer has gone to sleep]
matchaw_ has quit [Ping timeout: 245 seconds]
blastDAbLast has quit [Ping timeout: 260 seconds]
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
antix is now known as Guest42791
xcv has quit [Remote host closed the connection]
justsee has joined #ruby
snovak has joined #ruby
Jetchisel has joined #ruby
justsee has left #ruby [#ruby]
Ahti333 has quit [Ping timeout: 240 seconds]
bubblehead has quit [Read error: Connection reset by peer]
quoin has joined #ruby
bubblehead has joined #ruby
Es0teric has quit [Ping timeout: 246 seconds]
Ahti333 has joined #ruby
axl_ has joined #ruby
Popple has quit [Quit: Computer has gone to sleep.]
Guest42791 has quit [Ping timeout: 246 seconds]
matchaw has joined #ruby
fridim_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
anderson has quit [Ping timeout: 240 seconds]
__main__ has quit [Read error: Connection reset by peer]
bubblehead has quit [Read error: Connection reset by peer]
quoin has quit [Ping timeout: 240 seconds]
bubblehead has joined #ruby
Popple has joined #ruby
tjbiddle has joined #ruby
dhruvasagar has joined #ruby
blastDAbLast has joined #ruby
tbrock_ has joined #ruby
__main__ has joined #ruby
katsrc has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
antix_ has quit [Ping timeout: 256 seconds]
bubblehead has joined #ruby
blastDAbLast has quit [Ping timeout: 246 seconds]
antix_ has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
rrichardsr3 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
whunt has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
heidi has quit [Quit: Leaving.]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
antix_ has quit [Ping timeout: 246 seconds]
rrichardsr3 has quit [Ping timeout: 245 seconds]
notjohn has quit [Quit: notjohn]
skysploit has joined #ruby
antix_ has joined #ruby
notjohn has joined #ruby
skysploit has quit [Read error: Connection reset by peer]
ravster has quit [Quit: Leaving.]
ukd1 has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
jonr22 has quit [Ping timeout: 240 seconds]
ukd1 has joined #ruby
kmurph has joined #ruby
iliketurtles has joined #ruby
clov3r has quit [Remote host closed the connection]
clov3r has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
ukd1 has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
mansi has quit [Remote host closed the connection]
Domon has joined #ruby
Targen has quit [Ping timeout: 248 seconds]
thetristan has quit [Quit: thetristan]
adeponte has joined #ruby
burntbit has quit [Ping timeout: 248 seconds]
nanoxd_ has joined #ruby
skoovdebo has joined #ruby
Es0teric has joined #ruby
soheil has quit [Remote host closed the connection]
nanoxd has quit [Ping timeout: 240 seconds]
antix_ has quit [Ping timeout: 264 seconds]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antix_ has joined #ruby
clov3r has quit [Remote host closed the connection]
Hanmac has joined #ruby
Hanmac1 has quit [Ping timeout: 256 seconds]
twoism has joined #ruby
mayorga has joined #ruby
mmitchell has joined #ruby
twoism has quit [Remote host closed the connection]
Popple has quit [Quit: Computer has gone to sleep.]
twoism has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
mayorga has quit [Max SendQ exceeded]
Es0teric has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
mayorga has joined #ruby
kaspergrubbe has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
mmitchell has quit [Ping timeout: 248 seconds]
bubblehead has quit [Read error: Connection reset by peer]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
petey has joined #ruby
bubblehead has joined #ruby
ebobby has quit [Quit: Lost terminal]
katsrc has quit [Read error: Connection reset by peer]
twoism has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 260 seconds]
bubblehead has quit [Read error: Connection reset by peer]
antix_ has quit [Ping timeout: 260 seconds]
bubblehead has joined #ruby
antix_ has joined #ruby
Jdubs has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
Jdubs has joined #ruby
chrisja has quit [Quit: leaving]
dkamioka has joined #ruby
Es0teric has joined #ruby
kvirani has quit [Remote host closed the connection]
dkamioka has quit [Read error: Connection reset by peer]
kvirani has joined #ruby
dkamioka has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Jdubs_ has joined #ruby
Jdubs has quit [Read error: Connection reset by peer]
clov3r has joined #ruby
lfox has quit []
lfox has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
endash has quit [Quit: endash]
brennanMKE has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
ukd1 has joined #ruby
varfoo has joined #ruby
cj3kim has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
kvirani has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
lfox has quit [Client Quit]
hackeron_ has joined #ruby
rezzack has quit [Quit: Leaving.]
kmurph has quit [Quit: kmurph]
jrhorn424 has joined #ruby
hackeron has quit [Ping timeout: 248 seconds]
cj3kim has quit [Remote host closed the connection]
ukd1 has quit [Ping timeout: 246 seconds]
gyre007 has quit [Ping timeout: 240 seconds]
sectionme has joined #ruby
Jdubs_ has quit [Ping timeout: 245 seconds]
KobraKao has joined #ruby
Targen has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
oddalot has quit [Quit: Leaving]
nkts has joined #ruby
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
gja has joined #ruby
havenn has quit [Remote host closed the connection]
antix is now known as Guest51656
havenwood has joined #ruby
snovak has joined #ruby
ehc has quit [Quit: ehc]
sectionme has quit [Ping timeout: 252 seconds]
lfox has joined #ruby
doritostains has joined #ruby
quoin has joined #ruby
Guest51656 has quit [Ping timeout: 241 seconds]
havenwood has quit [Ping timeout: 264 seconds]
snovak has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
vim_shim has joined #ruby
quoin has quit [Ping timeout: 246 seconds]
clov3r has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
doritostains has quit [Quit: Linkinus - http://linkinus.com]
InFlames has quit [Read error: Connection reset by peer]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
ElderFain_ has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
antix_ has joined #ruby
dorei has quit []
ElderFain has quit [Ping timeout: 260 seconds]
zz_karupa64 has quit [Quit: ZNC - http://znc.in]
jhn has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
gja has quit [Quit: This computer has gone to sleep]
zz_karupa64 has joined #ruby
IceDragon has quit [Quit: Space~~~]
Mars` has quit [Remote host closed the connection]
jiyinyiyong has joined #ruby
KobraK has joined #ruby
KobraKao has quit [Read error: Connection reset by peer]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Mars` has joined #ruby
jiyinyiyong has quit [Max SendQ exceeded]
Jdubs has joined #ruby
ukd1 has joined #ruby
Ox6abe has joined #ruby
Mars` has quit [Ping timeout: 248 seconds]
antix_ has quit [Ping timeout: 264 seconds]
antix_ has joined #ruby
freerobby has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
tjbiddle has quit [Ping timeout: 245 seconds]
hadees has joined #ruby
Ox6abe has quit [Remote host closed the connection]
tbrock_ has quit [Quit: Computer has gone to sleep.]
Ox6abe has joined #ruby
notjohn has quit [Quit: notjohn]
antix_ has quit [Ping timeout: 240 seconds]
Ox6abe has quit [Ping timeout: 264 seconds]
io_syl has quit []
Hanmac1 has joined #ruby
antix_ has joined #ruby
bubblehead has quit []
ukd1 has quit [Ping timeout: 260 seconds]
gja has joined #ruby
kreeves has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
mmitchell has joined #ruby
freezey has joined #ruby
upd_ has joined #ruby
upd has quit [Disconnected by services]
upd has joined #ruby
kmurph has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
mmitchell has quit [Ping timeout: 246 seconds]
kemist has joined #ruby
hadees has quit [Quit: hadees]
alvaro_o has quit [Quit: Ex-Chat]
gja has quit [Quit: This computer has gone to sleep]
upd_ has quit [Ping timeout: 252 seconds]
Inside has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
tonni has joined #ruby
kemist has quit [Ping timeout: 248 seconds]
antix_ has quit [Ping timeout: 251 seconds]
upd has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
SilverKey has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
mdst3 has quit [Read error: Connection reset by peer]
mdst3 has joined #ruby
voidPirate has quit [Remote host closed the connection]
cads has joined #ruby
T_T has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
Soda has joined #ruby
linuxman44 has joined #ruby
<linuxman44> RUBY IS CRAP
* Nilium strangles linuxman44 to death
<Nilium> You have been found defective, accept your fate.
antix_ has quit [Ping timeout: 264 seconds]
<r0bgl33s0n> linuxman44: why don't you just be straight about it, /nickname troll, and introduce yourself with "i have vented up and unexplained issues that make me go into IRC channels and look for arguments"
<r0bgl33s0n> you won't be engaged here
<r0bgl33s0n> so you might want to try /part
<Nilium> I'm not sure he's serious.
<linuxman44> LOL
antix_ has joined #ruby
<Nilium> If he were, it doesn't really make sense that he'd just say 'ruby is crap' in all caps
<Nilium> It's kind of an obviously ineffective troll.
<r0bgl33s0n> sorry if you're not serious, but you have the profile of someone like that so far
<r0bgl33s0n> they're not uncommon in here
S0da has joined #ruby
notjohn has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
<linuxman44> FUCK
threesome has quit [Ping timeout: 248 seconds]
<r0bgl33s0n> ok
Soda has quit [Ping timeout: 248 seconds]
mayorga has quit [Remote host closed the connection]
<linuxman44> fedora is shit as well
mikepack has quit [Remote host closed the connection]
<r0bgl33s0n> agreed
antix_ has quit [Ping timeout: 240 seconds]
dmiller has joined #ruby
tabolario has joined #ruby
<r0bgl33s0n> Nilium: your troll detector needs work
<Nilium> I'm just bad at detecting bad trolls.
zeade has quit [Quit: Leaving.]
KobraK has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
chihhsin has quit [Quit: leaving]
antix has joined #ruby
antix has joined #ruby
ukd1 has joined #ruby
antix is now known as Guest82193
KobraKao has joined #ruby
alekst has quit [Quit: Leaving...]
snovak has joined #ruby
chihhsin has joined #ruby
quoin has joined #ruby
Ox6abe has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Guest82193 has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
iliketurtles has joined #ruby
elux has joined #ruby
clov3r has joined #ruby
linuxman44 has quit [Ping timeout: 250 seconds]
quoin has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Read error: Connection reset by peer]
nari has joined #ruby
iliketurtles has joined #ruby
bluOxigen has joined #ruby
cj3kim has quit [Ping timeout: 256 seconds]
ehc has quit [Quit: ehc]
antix_ has quit [Ping timeout: 260 seconds]
ukd1 has quit [Ping timeout: 260 seconds]
antix_ has joined #ruby
clov3r has quit [Remote host closed the connection]
bluOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
nari has quit [Ping timeout: 252 seconds]
Inside has joined #ruby
Inside has joined #ruby
Inside has quit [Changing host]
bluOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Lewix has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
bluOxigen has quit [Remote host closed the connection]
thesheff17_ has joined #ruby
bluOxigen has joined #ruby
thesheff17 has quit [Disconnected by services]
noop has joined #ruby
thesheff17_ is now known as thesheff17
Apocalypse has joined #ruby
mmitchell has joined #ruby
Ox6abe has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
antix_ has quit [Ping timeout: 246 seconds]
zxq9 has quit [Remote host closed the connection]
elux has quit [Quit: Bye!]
alexju has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
vpretzel has joined #ruby
zxq9 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Targen has quit [Ping timeout: 245 seconds]
Mars` has joined #ruby
coaster has quit [Ping timeout: 248 seconds]
saarinen has quit [Quit: saarinen]
maletor has joined #ruby
Lewix has joined #ruby
zz_karupa64 is now known as karupa64
Lewix has quit [Changing host]
Lewix has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
karupa64 is now known as karupanerura
antix_ has joined #ruby
Targen has joined #ruby
jonahR has joined #ruby
iliketurtles has joined #ruby
freezey has quit [Remote host closed the connection]
jefflyne1 has joined #ruby
Mars` has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby
jefflyne has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
maycon has joined #ruby
ukd1 has joined #ruby
polaco is now known as polaco_zZz
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
snovak has quit [Ping timeout: 240 seconds]
narcan has joined #ruby
ewnd9 has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
fgh has joined #ruby
antix_ has quit [Ping timeout: 241 seconds]
sectionme has joined #ruby
brianpWins has joined #ruby
antix_ has joined #ruby
chrishough has quit [Quit: chrishough]
blueOxigen has joined #ruby
Ahti333 has quit [Quit: Textual IRC Client: www.textualapp.com]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
brennanMKE has quit [Remote host closed the connection]
sectionme has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
bluOxigen has quit [Ping timeout: 260 seconds]
antix_ has quit [Ping timeout: 240 seconds]
fridim_ has quit [Ping timeout: 260 seconds]
blueOxigen has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
mephux has quit [Quit: w0ots...]
dkamioka has joined #ruby
mephux has joined #ruby
apeiros has quit [Remote host closed the connection]
brennanMKE has joined #ruby
apeiros has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
Jdubs has quit [Remote host closed the connection]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
Spami has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
antix has joined #ruby
antix is now known as Guest75966
Jdubs has joined #ruby
yacks has quit [Quit: Leaving]
Jdubs has quit [Remote host closed the connection]
carraroj has joined #ruby
KobraKao has quit [Ping timeout: 252 seconds]
b00stfr3ak has quit [Ping timeout: 240 seconds]
quoin has joined #ruby
axl_ has quit [Quit: axl_]
Guest75966 has quit [Ping timeout: 240 seconds]
ffranz has quit [Quit: Leaving]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
antix_ has joined #ruby
snovak has joined #ruby
mmitchell has quit [Remote host closed the connection]
end_guy has joined #ruby
marcgg has quit [Ping timeout: 264 seconds]
quoin has quit [Ping timeout: 240 seconds]
Mars` has joined #ruby
sevenseacat has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
antix_ has quit [Ping timeout: 240 seconds]
carraroj has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Davey has joined #ruby
funburn has joined #ruby
Cyrus has joined #ruby
petey has quit [Remote host closed the connection]
SilverKey has quit [Quit: Zzzzzz.]
chrishough has joined #ruby
snovak has quit [Ping timeout: 241 seconds]
petey has joined #ruby
Jdubs has joined #ruby
InFlames has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
maletor has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Ping timeout: 252 seconds]
antix_ has quit [Ping timeout: 246 seconds]
hadees has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
jwang has quit [Read error: Connection reset by peer]
petey has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
funburn has quit [Quit: funburn]
notjohn has quit [Quit: notjohn]
ukd1 has joined #ruby
jonahR has joined #ruby
jrhorn424 has quit [Quit: Textual IRC Client: www.textualapp.com]
Ace__ has joined #ruby
Mars` has quit [Remote host closed the connection]
jwang has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
Mars` has joined #ruby
ahawkins has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
T_T has joined #ruby
funburn has joined #ruby
axsuul has joined #ruby
coaster has joined #ruby
funburn has quit [Client Quit]
gja has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
T_T has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 252 seconds]
antix_ has joined #ruby
T_T has joined #ruby
Jdubs has quit [Ping timeout: 260 seconds]
butblack has quit [Quit: butblack]
Jetchisel has joined #ruby
marcgg has joined #ruby
dkamioka has quit [Remote host closed the connection]
Morrolan has joined #ruby
ukd1 has quit [Ping timeout: 248 seconds]
ukd1 has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
antix_ has quit [Ping timeout: 260 seconds]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
freerobby has quit [Quit: Leaving.]
ahawkins has quit [Ping timeout: 256 seconds]
Elinos has joined #ruby
Inside has quit [Ping timeout: 264 seconds]
ukd1 has quit [Read error: Operation timed out]
Elinos has quit [Client Quit]
vpretzel has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
codecop has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
brianpWins has quit [Quit: brianpWins]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Jdubs has joined #ruby
atno has quit [Quit: Leaving]
newbiemasih has joined #ruby
SilverKey has joined #ruby
ukd1 has joined #ruby
atno has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
jlebrech has quit [Ping timeout: 245 seconds]
pwh has quit []
ananthakumaran has quit [Quit: Leaving.]
larissa has quit [Quit: Leaving]
jefflyne1 has quit [Read error: Connection reset by peer]
jefflyne has joined #ruby
infecto has joined #ruby
tvw has joined #ruby
soba has joined #ruby
ukd1 has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 240 seconds]
ukd1 has joined #ruby
yfeldblum has quit [Read error: Operation timed out]
antix has joined #ruby
antix is now known as Guest58508
jlebrech has joined #ruby
<w33dWizard[420]> are there min/max methods for Fixnums /
coderhs has joined #ruby
ukd1 has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
LLckfan has joined #ruby
<LLckfan> Is there a way to make a house smell better without openng windows?
kmurph has quit [Quit: kmurph]
quoin has joined #ruby
Guest58508 has quit [Ping timeout: 240 seconds]
<TTilus> w33dWizard[420]: what would they do?
newbiemasih has quit [Quit: Ex-Chat]
<w33dWizard[420]> eh you're right
<w33dWizard[420]> would be concise though
luckyruby has joined #ruby
<w33dWizard[420]> oh
antix_ has joined #ruby
<w33dWizard[420]> nvm im retarded
antix_ has quit [Changing host]
antix_ has joined #ruby
<w33dWizard[420]> figured out my problem anyways
osvico has quit [Ping timeout: 248 seconds]
Tearan has joined #ruby
snovak has joined #ruby
<TTilus> you werent possibly looking for Array#max
<TTilus> were you?
<w33dWizard[420]> i was
quoin has quit [Ping timeout: 256 seconds]
infecto has quit [Remote host closed the connection]
ahawkins has joined #ruby
roadt_ has quit [Read error: Connection reset by peer]
roadt_ has joined #ruby
tagrudev has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
brennanMKE has quit [Remote host closed the connection]
antix_ has joined #ruby
aaroncm has quit [Quit: No Ping reply in 180 seconds.]
adeponte has quit [Remote host closed the connection]
aaroncm has joined #ruby
adeponte has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Max SendQ exceeded]
Nilium has quit [Ping timeout: 260 seconds]
iliketurtles has joined #ruby
snovak has quit [Ping timeout: 248 seconds]
vpretzel has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
mmitchell has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
pwh has quit []
jonahR has quit [Quit: jonahR]
mengu has joined #ruby
antix_ has joined #ruby
idoru has quit [Read error: Connection timed out]
adeponte has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
Nilium has joined #ruby
mmitchell has quit [Ping timeout: 245 seconds]
jhn has quit [Quit: jhn]
antix_ has quit [Ping timeout: 264 seconds]
Nogbit has quit [Ping timeout: 252 seconds]
i_s has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
gja has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
kilophoton has quit [Ping timeout: 246 seconds]
zoee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
axl_ has left #ruby [#ruby]
antix_ has quit [Ping timeout: 256 seconds]
antix_ has joined #ruby
justsee has left #ruby [#ruby]
Lewix has quit [Remote host closed the connection]
kevinykchan has joined #ruby
foobArrrr has quit [Ping timeout: 240 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
antix_ has quit [Ping timeout: 264 seconds]
mrsolo has joined #ruby
Nogbit has joined #ruby
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
conner has joined #ruby
foobArrr has joined #ruby
freerobby has joined #ruby
kemist has joined #ruby
luckyruby has quit [Remote host closed the connection]
blandflakes has quit [Ping timeout: 256 seconds]
antix_ has quit [Ping timeout: 240 seconds]
blandflakes has joined #ruby
andrewstewart has joined #ruby
kemist has quit [Ping timeout: 248 seconds]
antix_ has joined #ruby
aganov has joined #ruby
Jdubs has quit [Remote host closed the connection]
Jdubs has joined #ruby
heidi has joined #ruby
vpretzel has joined #ruby
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
freerobby has quit [Ping timeout: 248 seconds]
dankest has joined #ruby
Elhu has joined #ruby
Jdubs has quit [Ping timeout: 264 seconds]
antix_ has quit [Ping timeout: 256 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
antix_ has joined #ruby
aagdbl has joined #ruby
blandflakes has quit [Ping timeout: 246 seconds]
vishal has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
Macaveli has joined #ruby
tjad has quit [Remote host closed the connection]
mengu has joined #ruby
antix_ has quit [Ping timeout: 264 seconds]
i_s has quit [Remote host closed the connection]
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
mengu has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
antix is now known as Guest16108
ahawkins has quit [Read error: Connection reset by peer]
mengu has joined #ruby
blandflakes has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
Matriks has joined #ruby
vishal has joined #ruby
heidi has quit [Quit: Leaving.]
Guest16108 has quit [Ping timeout: 264 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
setient has quit [Quit: leaving]
quoin has joined #ruby
antix_ has joined #ruby
haxrbyte has joined #ruby
swordsmanz has quit [Quit: swordsmanz]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amacgregor has joined #ruby
snovak has joined #ruby
vishal has quit [Remote host closed the connection]
blandflakes has quit [Ping timeout: 240 seconds]
Jetchisel has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
krz has joined #ruby
vishal has joined #ruby
quoin has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
Macaveli has joined #ruby
relix has joined #ruby
Domon has joined #ruby
JeanMertz has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
dhamidi has joined #ruby
antix_ has joined #ruby
brennanMKE has joined #ruby
Kneferilis has quit [Ping timeout: 260 seconds]
hadees has quit [Quit: hadees]
blandflakes has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
rdark has joined #ruby
gcds has joined #ruby
mmitchell has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
Tearan has quit [Quit: Sleepy Badger....]
antix_ has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
snovak has quit [Ping timeout: 245 seconds]
zz_michael_mbp is now known as michael_mbp
conner has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mmitchell has quit [Ping timeout: 240 seconds]
blandflakes has quit [Ping timeout: 256 seconds]
io_syl has joined #ruby
vim_shim has quit [Ping timeout: 248 seconds]
jprovazn has joined #ruby
T_T has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
antix_ has quit [Ping timeout: 240 seconds]
filipe has joined #ruby
roflmaus is now known as lolmaus
mercwithamouth has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
Kneferilis has joined #ruby
dankest has quit [Quit: Peace]
skaflem has joined #ruby
zommi has joined #ruby
zommi has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Quit: zzzzz…..]
antix_ has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
threesome has joined #ruby
Xeago has joined #ruby
alup has joined #ruby
freerobby has joined #ruby
antix_ has quit [Ping timeout: 256 seconds]
antix_ has joined #ruby
mrsolo has joined #ruby
io_syl has quit []
Tearan has joined #ruby
Tearan has quit [Client Quit]
skaflem2 has joined #ruby
ahawkins has joined #ruby
andikr has joined #ruby
freerobby has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Remote host closed the connection]
<krz> ive got the following: {name: { type: String, default: nil, value: nil }, age: { type: Integer, default: nil, value: nil}} and another hash: { name: 'foobar }
skaflem has quit [Ping timeout: 260 seconds]
<krz> how do i merge so the output becomes: {name: { type: String, default: nil, value: 'foobar' }, age: { type: Integer, default: nil, value: nil}}
mrsolo has quit [Client Quit]
<krz> possible to do this via merge instead of an each iteration?
akam-it has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
Macaveli has joined #ruby
ahawkins has quit [Client Quit]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
ahawkins has joined #ruby
iliketurtles has joined #ruby
sergicles has quit [Quit: sergicles]
sectionme has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Xeago has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
Macaveli_ has joined #ruby
Zai00 has joined #ruby
Macaveli has quit [Ping timeout: 248 seconds]
zz_michael_mbp is now known as michael_mbp
ics has joined #ruby
nkts has quit [Quit: xy]
Zai00 has quit [Client Quit]
gyzmodo has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
Anticom has joined #ruby
antix has joined #ruby
antix is now known as Guest74506
Hanmac1 is now known as Hanmac
ayaz has joined #ruby
claymore has joined #ruby
whunt has joined #ruby
tobago has joined #ruby
quoin has joined #ruby
obs has joined #ruby
Guest74506 has quit [Ping timeout: 264 seconds]
snovak has joined #ruby
antix_ has joined #ruby
ElderFain_ has quit [Ping timeout: 260 seconds]
i_s has joined #ruby
<LLckfan> I have a Gateway laptop and when I opened the lid the power light was on but the laptop was aleep. then after i ushed the power it started flashing with the light bulb light and the battery light but only when it was plugged in. Is this a sign I need a new end tip for my power supply?
<popl> LLckfan: battery
quoin has quit [Ping timeout: 246 seconds]
<LLckfan> It is not the battery
<popl> Well maybe you should ask in #laptophardwareadvice instead of #ruby
iliketurtles has quit [Quit: zzzzz…..]
<popl> I've got no idea. :)
kemist has joined #ruby
<sam113101> take a look inside the manual
<sam113101> it tells you what it means when the leds are flashing
nanoxd_ has quit [Ping timeout: 252 seconds]
user258467 has joined #ruby
lucazi has joined #ruby
<sam113101> you should be able to find it online
<LLckfan> There is no channel with that name
<popl> if you're lucky you can hear a capacitor pop in yoru adapter in which case you'd know what it was
<LLckfan> I have looked n the manual
<LLckfan> Nothing
<popl> what about ##gateway?
<sam113101> is your laptop still working correctly, though?
i_s has quit [Ping timeout: 246 seconds]
antix_ has quit [Ping timeout: 260 seconds]
antix_ has joined #ruby
kemist has quit [Ping timeout: 248 seconds]
fgo has joined #ruby
senayar has joined #ruby
skaflem2 has quit [Quit: Leaving]
<LLckfan> sam113101 yes
<LLckfan> No channel with that name
<popl> LLckfan: I am joking, man. Fix your sarcasm detector. :P
<popl> LLckfan: what model is your laptop?
skaflem has joined #ruby
<sam113101> LLckfan: what if you unplug all of the devices connected to it?
<sam113101> I once had a sd card blocking POST, lol
<LLckfan> NV57h50u
<popl> sam113101: how?
<sam113101> and the leds were acting crazy too
<LLckfan> sam113101 no device
<sam113101> popl: I have no idea
<Hanmac> LLckfan: i have a similar laptop, the power light pulsing when the laptop is asleep is a sign that its asleep and not shutdown
<popl> is that seriously it?
mmitchell has joined #ruby
<sam113101> rofl
tatsuya_o has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 246 seconds]
<popl> mine does the same thing Hanmac
<popl> I presumed LLckfan was familiar with this behavior and talking about something else.
<sam113101> you guys put your computer asleep?
amacgregor_ has joined #ruby
<sam113101> I only use hybernate
antix_ has quit [Ping timeout: 248 seconds]
<w33dWizard[420]> i literally cannot sleep without the soft, comforting whir of my fans
<LLckfan> I closed the lid
<sam113101> s/y/i/
<Hanmac> sam113101: i dont know, on my its maybe a mix between them
amacgregor has quit [Ping timeout: 246 seconds]
jbpros has joined #ruby
<popl> LLckfan: Did you recently purchase the laptop?
antix_ has joined #ruby
nanoxd has joined #ruby
adeponte has joined #ruby
<popl> I have to sleep because my swap drive is slightly smaller than my RAM. Eventually I will fix that but I have not decided if I want to leave my swap decrypted for that purpose or not.
<popl> *to make my laptop sleep
mmitchell has quit [Ping timeout: 240 seconds]
<LLckfan> no
<sam113101> why not use a swap file instead?
Kar- has joined #ruby
julian-delphiki has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
Coffers has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
avril14th has quit [Remote host closed the connection]
antix_ has joined #ruby
ghr has joined #ruby
DanBoy has quit [Remote host closed the connection]
ghr has quit [Read error: Connection reset by peer]
DanBoy has joined #ruby
persand has joined #ruby
fixl has joined #ruby
bean has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Ping timeout: 264 seconds]
anderson has joined #ruby
<popl> sam113101: I didn't want to reserve the space on / initially since I had the swap partition already set up. I had considered it, though.
maletor has quit [Quit: Computer has gone to sleep.]
tvw has quit []
<krz> when i do foo = @@foo, and change a the value of foo. it also changes the value of @@foo. is this the intend behaviour?
senayar has quit [Remote host closed the connection]
<krz> intended
senayar has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
Mars` has quit [Remote host closed the connection]
antix_ has joined #ruby
Elhu has joined #ruby
lunarjar has quit [Ping timeout: 245 seconds]
ZadYree has quit [Ping timeout: 240 seconds]
ehaliewicz has quit [Ping timeout: 256 seconds]
lunarjar has joined #ruby
schaerli has joined #ruby
ZadYree has joined #ruby
senayar has quit [Ping timeout: 264 seconds]
pushpak has joined #ruby
obs has quit [Quit: Konversation terminated!]
schaerli has quit [Remote host closed the connection]
ayaz has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
<krz> ok dup works
elaptics`away is now known as elaptics
obs has joined #ruby
antix_ has joined #ruby
lucazi is now known as lucazi_away
haxrbyte has quit [Remote host closed the connection]
ghr has joined #ruby
haxrbyte has joined #ruby
troessner has joined #ruby
freerobby has quit [Ping timeout: 260 seconds]
kazuuu has quit [Read error: Connection reset by peer]
schaerli has joined #ruby
dhamidi has quit [Ping timeout: 252 seconds]
kazuuu has joined #ruby
kazuuu_ has joined #ruby
kazuuu has quit [Read error: Connection reset by peer]
antix_ has quit [Ping timeout: 245 seconds]
adeponte has quit [Remote host closed the connection]
relix has joined #ruby
adeponte has joined #ruby
DanKnox is now known as DanKnox_away
antix_ has joined #ruby
noop has quit [Ping timeout: 264 seconds]
saimaz has joined #ruby
Criztian has joined #ruby
noop has joined #ruby
ayaz has joined #ruby
claymore has quit [Quit: Leaving]
adeponte has quit [Ping timeout: 248 seconds]
BRMatt has joined #ruby
zeel has joined #ruby
antix_ has quit [Ping timeout: 256 seconds]
obs_ has joined #ruby
senayar has joined #ruby
obs has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
Zai00 has joined #ruby
Macaveli has joined #ruby
SilverKey has quit [Quit: Zzzzzz.]
Macaveli_ has quit [Read error: No route to host]
lucazi_away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dagobah has joined #ruby
dhamidi has joined #ruby
obs_ is now known as obs
noname001 has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
einarj has joined #ruby
antix has joined #ruby
xk_id has joined #ruby
workmad3 has joined #ruby
antix is now known as Guest81466
ayaz has quit [Ping timeout: 252 seconds]
yacks has joined #ruby
quoin has joined #ruby
shaunbaker has joined #ruby
snovak has joined #ruby
bricker`1A has joined #ruby
xk_id has quit [Quit:
Guest81466 has quit [Ping timeout: 240 seconds]
Kar- has quit [Ping timeout: 264 seconds]
bricker`LA has quit [Ping timeout: 252 seconds]
chee has left #ruby ["WeeChat 0.4.1"]
antix_ has joined #ruby
quoin has quit [Ping timeout: 246 seconds]
Macaveli_ has joined #ruby
Macaveli has quit [Ping timeout: 245 seconds]
zarubin has joined #ruby
kevinykchan has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
jefflyne has quit [Ping timeout: 245 seconds]
antix_ has quit [Ping timeout: 252 seconds]
Kar- has joined #ruby
antix_ has joined #ruby
sacoetzee has joined #ruby
mikecmpbll has joined #ruby
<sacoetzee> Hi guys! Could one of you be so kind as to disconnect from the matrix long enough to download your Ruby knowledge into my brain?
mmitchell has joined #ruby
Domon has quit [Ping timeout: 246 seconds]
shay- has joined #ruby
<r0bgl33s0n> lol
<shay-> hi, i am very new to ruby and need a quick answer for that: i have class A class B def function1 end end class A::B::name; how can I access function on there?
<r0bgl33s0n> whats up sacoetzee
whunt has quit [Quit: Computer has gone to sleep.]
<sacoetzee> not much and you?
<r0bgl33s0n> nm
popl has left #ruby [#ruby]
nari has joined #ruby
<r0bgl33s0n> shay-: you should define 'name' as a class method A::B.
<sacoetzee> sorry i had no real question, but i am complete noob in ruby, struggling with a project on Github, so I thought I'd come lurk and see how the pros get things done :D
<r0bgl33s0n> function1 is an instance method
<shevy> sacoetzee we can download only 1 byte per second
Mars` has joined #ruby
<r0bgl33s0n> you'd need to create an instance of A::B to call it
whunt has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
<r0bgl33s0n> A::B::name should work, that's a method from Module now(i believe)
<sacoetzee> @shevy: wow this might take a while. what ISP do you use?
<shevy> sacoetzee old brain 0.2 version, I am trying to get an upgrade but they tell me that old hardware sucks in general :(
mmitchell has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<sacoetzee> be wary about the new upgrades. They promise to make you waterproof, but i think that was a hoax
Domon has joined #ruby
bricker`1A has quit [Ping timeout: 252 seconds]
Advocation has joined #ruby
atno has quit [Read error: Connection reset by peer]
nouitfvf has quit [Ping timeout: 240 seconds]
lucazi has joined #ruby
ReBoRN_ has joined #ruby
anotherwise has joined #ruby
InFlames has quit [Quit: Leaving]
ganeshran has joined #ruby
<ganeshran> is there any detailed guide on how to install Rails with Apache on Windows? I googled but most of the guides involve passenger on linux
saimaz has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
adambeynon has joined #ruby
saimaz has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
adambeynon has quit [Read error: No route to host]
atno has joined #ruby
antix_ has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
antix_ has quit [Changing host]
antix_ has joined #ruby
klaut has joined #ruby
postmodern has quit [Quit: Leaving]
saimaz has quit [Ping timeout: 252 seconds]
<shay-> r0bgl33s0n: ok thanks i will give it a try
<coderhs> ganeshran: ditch windows, would be the best choice. Not sure of the advantage you hope to get for using windows
nari has quit [Ping timeout: 240 seconds]
antix_ has quit [Ping timeout: 256 seconds]
sergicles has joined #ruby
<ganeshran> coderhs: I would gladly ditch windows :( but my company doesnt have any spare servers at the moment
tvw has joined #ruby
<shay-> r0bgl33s0n: so A::B.new.function1 should do it?
<ganeshran> coderhs: the only one is a windows box
ReBoRN_ has quit [Quit: Lost terminal]
lkba has quit [Ping timeout: 256 seconds]
adambeynon has joined #ruby
antix_ has joined #ruby
quoin has joined #ruby
gyre007 has joined #ruby
<r0bgl33s0n> shay-: yup
obs has quit [Read error: Operation timed out]
gyre007 has quit [Remote host closed the connection]
obs has joined #ruby
freerobby has joined #ruby
<shay-> r0bgl33s0n: doesn ot work :/ maybe i don't get the whole picture because i am using opscode chef here. I think the A::B::name function2 is called in an instance of A::B with "name.function2" and my function2 wants to call A::B.function1, but does not know it.
Xeago has joined #ruby
lucazi is now known as lucazi_away
siwica has joined #ruby
havv has joined #ruby
gnnr has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
Mars` has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
marcgg_ has joined #ruby
gja has joined #ruby
tatsuya_o has joined #ruby
marcgg has quit [Ping timeout: 260 seconds]
shredding has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
gyre007 has joined #ruby
<Macaveli_> what is the best way to remove "spaces/white spaces" from a string? I've read strip/trim/gsub ...
antix_ has joined #ruby
zarubin has quit [Ping timeout: 245 seconds]
akemrir has joined #ruby
<mikecmpbll> Macaveli_: then you know the answer, presumably?
sacoetzee has quit [Ping timeout: 264 seconds]
<Macaveli_> mikecmpbll probaly trim
<Macaveli_> is the best
<workmad3> Macaveli_: kinda depends on where in the string the whitespace is
sacoetzee has joined #ruby
ewnd9 has joined #ruby
havv has quit [Quit: Page closed]
<mikecmpbll> where's the trim method? o.o
adeponte has joined #ruby
axsuul has quit [Ping timeout: 264 seconds]
ElderFain has joined #ruby
<Macaveli_> The trim method returns the string stripped of whitespace from both ends. trim does not affect the value of the string itself.
gyre008 has joined #ruby
gyre007 has quit [Ping timeout: 260 seconds]
<Macaveli_> does not seem to work tho it is in the documentation
<Macaveli_> undefined method `trim' for "testuser72@gmail.com":String
<workmad3> Macaveli_: I think that's 'strip'
lucazi_away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> >> " foo ".strip
<eval-in> workmad3 => "foo" (https://eval.in/52468)
<Macaveli_> aah workmad3 mikecmpbll i was looking at javascript code lol
gyre008 has quit [Remote host closed the connection]
<workmad3> Macaveli_: :)
<Macaveli_> just started using Dash my bad
Lewix has joined #ruby
<mikecmpbll> :~
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
adeponte has quit [Ping timeout: 264 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
saimaz has joined #ruby
anotherwise has quit [Quit: anotherwise]
Al____ has joined #ruby
schaerli has quit [Ping timeout: 240 seconds]
ics has quit [Ping timeout: 260 seconds]
Boohbah has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 248 seconds]
saimaz has quit [Read error: Operation timed out]
xk_id has joined #ruby
antix has joined #ruby
end_guy has quit [Remote host closed the connection]
obs_ has joined #ruby
antix is now known as Guest90651
obs has quit [Remote host closed the connection]
sarkie_ is now known as Sarkie
snovak has joined #ruby
LLckfan has quit []
<sacoetzee> any of you fine people ever written a chef plugin?
Boohbah has joined #ruby
postmodern has joined #ruby
Guest90651 has quit [Ping timeout: 240 seconds]
cads has quit [Read error: Operation timed out]
antix_ has joined #ruby
einarj has quit [Remote host closed the connection]
kiri has quit [Ping timeout: 240 seconds]
khushildep has joined #ruby
einarj has joined #ruby
cj3kim has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
mmitchell has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
antix_ has joined #ruby
gyzmodo has quit []
catphish has joined #ruby
cj3kim has quit [Remote host closed the connection]
S0da has quit [Read error: Operation timed out]
<catphish> i'm using rack with unicorn, and it seems to render all exceptions (Rack::ShowExceptions), i can't work out how to turn it off
<catphish> oh, RACK_ENV
scottstamp is now known as zz_scottstamp
khushildep has quit [Ping timeout: 240 seconds]
mmitchell has quit [Ping timeout: 240 seconds]
mneorr has joined #ruby
renanoronfle has quit [Quit: This computer has gone to sleep]
cutmail has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
ayaz has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Kar- has quit [Ping timeout: 264 seconds]
vishal_ has joined #ruby
khushildep has joined #ruby
Macaveli_ has quit [Read error: Connection reset by peer]
bricker`LA has joined #ruby
jbpros has quit [Quit: jbpros]
lucazi has joined #ruby
nari has joined #ruby
saimaz has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
antix_ has quit [Ping timeout: 245 seconds]
zeel has left #ruby [#ruby]
dhamidi has quit [Ping timeout: 260 seconds]
vishal has quit [Ping timeout: 240 seconds]
aagdbl1 has joined #ruby
DrForr has quit [Ping timeout: 240 seconds]
himsin has quit [Quit: himsin]
chrishough has quit [Quit: chrishough]
antix_ has joined #ruby
gallon|w has quit [Ping timeout: 240 seconds]
DrForr has joined #ruby
gallon|w has joined #ruby
MrZYX|off is now known as MrZYX
devoldmx3 has quit [Ping timeout: 260 seconds]
aagdbl has quit [Ping timeout: 260 seconds]
nomenkun has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 252 seconds]
decoponio has joined #ruby
helloworld has quit [Ping timeout: 245 seconds]
QKO has quit [Ping timeout: 240 seconds]
jbpros has joined #ruby
QKO has joined #ruby
mengu has quit [Remote host closed the connection]
lucazi has quit []
mengu has joined #ruby
<shevy> anyone using ruby with excel?
freerobby has joined #ruby
antix_ has joined #ruby
kitak has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
kitak has joined #ruby
saimaz has quit [Remote host closed the connection]
vishal has joined #ruby
saimaz has joined #ruby
nemesit|znc has quit [Ping timeout: 240 seconds]
blastDAbLast has joined #ruby
mayday_jay has quit [Ping timeout: 240 seconds]
mengu has quit [Ping timeout: 252 seconds]
Stygia has joined #ruby
freerobby has quit [Ping timeout: 260 seconds]
saimaz has quit [Read error: No route to host]
end_guy has joined #ruby
saimaz_ has joined #ruby
vishal_ has quit [Ping timeout: 252 seconds]
mayday_jay has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
Rollabunna has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
roadt_ has quit [Ping timeout: 252 seconds]
antix_ has joined #ruby
roadt_ has joined #ruby
jibi has joined #ruby
intuxicated has quit [Ping timeout: 240 seconds]
intuxicated has joined #ruby
schaerli has joined #ruby
kevinykchan has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
Mars` has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
nfk has joined #ruby
naturehack has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Kar- has joined #ruby
smlgs has joined #ruby
<shevy> hmmm I suppose there is no way to keep a float in a specific precision? like only 3 numbers after the digit, other than just displaying in this format?
gilesw_ has quit [Ping timeout: 240 seconds]
Mars` has quit [Ping timeout: 260 seconds]
lkba has joined #ruby
<Hanmac> shevy hm no use Decimal or Rational
naturehack has quit [Ping timeout: 240 seconds]
<catphish> decimal is a much better choice if you're interested in decimal precision
<catphish> alternatively, you can always round(3) as needed
antix_ has quit [Ping timeout: 240 seconds]
antix has joined #ruby
antix is now known as Guest83917
Kar- has quit [Remote host closed the connection]
cutmail has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Leaving.]
cutmail has joined #ruby
renanoronfle has joined #ruby
khoury has joined #ruby
<khoury> lul
khoury has left #ruby [#ruby]
varfoo has quit [Quit: WeeChat 0.4.0]
snovak has joined #ruby
forced_request has quit [Ping timeout: 248 seconds]
varfoo has joined #ruby
atno has quit [Remote host closed the connection]
Guest83917 has quit [Ping timeout: 252 seconds]
BizarreCake has joined #ruby
blastDAbLast has quit [Ping timeout: 240 seconds]
blastDAbLast has joined #ruby
cutmail has quit [Ping timeout: 264 seconds]
varfoo has quit [Client Quit]
varfoo has joined #ruby
<jokke> hello!
Macaveli has joined #ruby
<jokke> anyone here familiar with drb? (distributed ruby)
antix_ has joined #ruby
<jokke> i've been playing around with it a while now and i'm still having some issues i need help with
jefflyne has joined #ruby
tonini_ has joined #ruby
snovak has quit [Ping timeout: 252 seconds]
<jokke> following code: server: https://paste.xinu.at/axI4/ client: https://paste.xinu.at/B5jtN/
postmodern has quit [Quit: Leaving]
<jokke> my problem is that it seems that the client times out at some point while waiting for new messages
nemesit|znc has joined #ruby
Lewix has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mengu has joined #ruby
<jokke> is there some secret parameter i need to set for disabling a timeout or something else that i'm missing?
antix_ has quit [Ping timeout: 240 seconds]
<jokke> also would you consider shellwords safe?
<jokke> as in really safe?
allsystemsarego has joined #ruby
<jokke> it would kinda suck if someone could just send a message that would inject some malicious code to be executed...
mmitchell has joined #ruby
Guest27882 has joined #ruby
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
<jokke> somehow it seems drb is still quite unknown/unused...
TMM has joined #ruby
<TMM> hi all! I'm using rspec with simplecov and simplecov claims that certain lines aren't being tested which seems entirely impossible given my tests
yfeldblum has joined #ruby
<TMM> rspec executes a particular method, which it absolutely has to to get a result from the test, and some printf debugging shows that the code is being called
<TMM> yet simplecov claims only the declaration of the method is executed
<shevy> question
<shevy> 10 ** 3 # => 1000 but how do I make 10 ** -3 ?
<workmad3> >> 10 ** -3
<eval-in> workmad3 => (1/1000) (https://eval.in/52470)
<shevy> huh
<shevy> irb gives me 11000 for that ... hmmmmmm
<workmad3> irb just gave me 1/1000
mmitchell has quit [Read error: Operation timed out]
<workmad3> >> 10 ** -3.0
Domon has quit [Remote host closed the connection]
<shevy> cool
shaunbaker has quit [Remote host closed the connection]
<workmad3> will give you a float rather than a rational ;)
<eval-in> workmad3 => 0.001 (https://eval.in/52471)
<shevy> that last one you just used works
<shevy> aha!
<shevy> thanks
Domon has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
Popple has joined #ruby
emergion has joined #ruby
antix has joined #ruby
antix is now known as Guest21458
quoin has quit [Remote host closed the connection]
cutmail has joined #ruby
quoin has joined #ruby
Domon has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
ce_afk is now known as cescalante
cutmail has quit [Remote host closed the connection]
girija_ has joined #ruby
kitak has joined #ruby
drumsrgr8forn8 has joined #ruby
dhamidi has joined #ruby
saimaz_ has quit [Remote host closed the connection]
kiri has joined #ruby
saimaz has joined #ruby
Guest21458 has quit [Ping timeout: 256 seconds]
sectionme has quit [Ping timeout: 260 seconds]
quoin has quit [Ping timeout: 246 seconds]
Macaveli has quit [Read error: Connection reset by peer]
renanoronfle has quit [Quit: This computer has gone to sleep]
antix_ has joined #ruby
saimaz has quit [Read error: No route to host]
saimaz_ has joined #ruby
Kar- has joined #ruby
seynb has quit [Quit: Leaving]
AlSquire has joined #ruby
fgo has joined #ruby
quoin has joined #ruby
BSaboia has joined #ruby
raphaelivan has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
Kar- has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
vikhyat has joined #ruby
johnmilton has quit [Remote host closed the connection]
Macaveli has joined #ruby
freerobby has joined #ruby
gyzmodo has joined #ruby
vikhyat has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 240 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
<krz> is there a method that runs in batches?
<krz> or how can i run times in batches?
renanoronfle has joined #ruby
<krz> 1000.times_in_batches would be great
freerobby has quit [Ping timeout: 252 seconds]
<krz> 1000.times_in_batches(100) => run 1000 times in batches of 100
jbpros has quit [Quit: jbpros]
Kar- has joined #ruby
antix_ has joined #ruby
cj3kim has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
raphaelivan1 has joined #ruby
raphaelivan has quit [Read error: Connection reset by peer]
Lewix has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 260 seconds]
cj3kim has quit [Ping timeout: 240 seconds]
<apeiros> 1000.times.each_slice(100)
antix_ has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
rahim has joined #ruby
Es0teric has joined #ruby
<udoprog> Is it possible to use gem without a home directory? I'm trying the following; 'sudo env HOME=/nonexistent gem install bundler', however there is a part in spec_fetcher.rb where the users home directory is stat:ed
mfojtik has joined #ruby
soba has quit [Ping timeout: 256 seconds]
<mfojtik> hi guys, do you know about some ruby gem that do http downloads and allows to set a rate limit?
shredding has quit [Quit: shredding]
<mfojtik> like curl --limit-rate ;-)
antix_ has quit [Ping timeout: 240 seconds]
xcv has joined #ruby
mikecmpbll has joined #ruby
himsin has joined #ruby
himsin has quit [Client Quit]
rdark has quit [Quit: leaving]
fgo has quit [Remote host closed the connection]
antix_ has joined #ruby
Liothen has quit [Quit: System of a down……]
<coderhs> which is the better usage $stdout.flush or $>.flush
kyle__ has quit [Ping timeout: 256 seconds]
rdark has joined #ruby
kyle__ has joined #ruby
tonini_ has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
varfoo has quit [Quit: WeeChat 0.4.0]
claymore has joined #ruby
khushildep has quit [Quit: khushildep]
antix_ has joined #ruby
byprdct has joined #ruby
BSaboia has joined #ruby
gr33n7007h has joined #ruby
Xeago has joined #ruby
jprovazn has quit [Quit: Leaving]
helloworld has joined #ruby
antix_ has quit [Ping timeout: 248 seconds]
jefflyne has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
sectionme has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
butblack has joined #ruby
Popple has quit [Quit: Computer has gone to sleep.]
Matip has quit [Ping timeout: 246 seconds]
BSaboia has quit [Ping timeout: 248 seconds]
mmitchell has quit [Ping timeout: 252 seconds]
saimaz_ has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
saimaz has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
antix has joined #ruby
headius has joined #ruby
antix is now known as Guest14337
angusiguess has joined #ruby
jwicked has joined #ruby
mlpinit has joined #ruby
<weeb1e> coderhs: Use common sense :)
ewnd9 has joined #ruby
saimaz has quit [Ping timeout: 246 seconds]
<canton7> which is clearer?
<weeb1e> shevy: So I eventually scrapped FFI and working with the WinAPI and built a frontend in AutoItScript separately which spawns my packaged ruby application and uses an IPC for two way communication
<Hanmac> there is also STDOUT.flush but its a little bit different
<shevy> weeb1e that sounds insanely complicated!
Lewix has joined #ruby
<shevy> no wait
<weeb1e> shevy: Way less complicated than the WinAPI.
<shevy> yeah
buibex has joined #ruby
<shevy> at first I read it that you call the WinAPI directly now
WillAmes has quit [Remote host closed the connection]
gja has joined #ruby
WillAmes has joined #ruby
<weeb1e> Haha, I gave up after realizing it would take me a ridiculous amount of time to implement everything I needed
ganeshran has quit [Ping timeout: 250 seconds]
Guest14337 has quit [Ping timeout: 245 seconds]
butblack has quit [Quit: butblack]
<weeb1e> Took less than two days to build the entire front end GUI and tray interface + IPC to ruby
<weeb1e> As well as all the changes required to the origional ruby application, so that it never blocks, threads heavy filesystem stuff and is always running the EventMachine reactor for IPC purpose
VTLob has joined #ruby
antix_ has joined #ruby
sambao21 has joined #ruby
sevenseacat has joined #ruby
ArchBeOS has joined #ruby
Matip has joined #ruby
dennus has joined #ruby
<xybre> weeb1e: have you profiled your reactor?
nemesit|znc has quit [Ping timeout: 240 seconds]
<xybre> coderhs: They do the exact same thing, but $stdout is prefered for clarity. On the other hand STDOUT does not serve the same purpose, and I would strongly discourage its use.
<weeb1e> xybre: Nope, why?
buibex has quit [Remote host closed the connection]
<weeb1e> I got over 300Mbps download speed on files being written to disk using the CLI version of the app
snovak has joined #ruby
<weeb1e> Which is more than enough for most peoples internet connections
antix_ has quit [Ping timeout: 248 seconds]
<xybre> weeb1e: Reactors have the problem of being easily broken, if you end up with a blocking operation anywhere in the loop for any reason, your entire application just stops.
DrCode has quit [Ping timeout: 240 seconds]
<weeb1e> xybre: I have been building async applications for over 6 years now, I almost never work synchronously ;)
jprovazn has joined #ruby
<weeb1e> That may be an issue for people who are inexperienced, but that is no issue if you know how to work asynchronously
<xybre> weeb1e: Right, but what about your libraries and IO operations?
<xybre> Eh, six years is a long time. I just don't know how long you've been using Ruby.
antix_ has joined #ruby
<weeb1e> The applications I build are generally IO-heavy, the libraries I use depend on the performance I need to acheive. If I don't need it to scale extremely well I am happy to use a synchronous mongodb library for instance
<xybre> Since you mentioned "threads" I was unsure if you were using them in MRI, in which case makes it suspect.
<weeb1e> Most of what my applications do are related to UDP and TCP protocols, so if there is no EM library for the protocol I need, I implement it myself
<weeb1e> I'll clarify by saying, I avoid threads at all costs, but sometimes they are necessary, such as with this application
<xybre> Right but blocking operations break reactors. There's no way to hand off an operation if it blocks.
<xybre> And MRI doesn't do concurrent threads.
<weeb1e> This application has to create MD5 hashes of up to 30 000 files from the filesystem, a total of 25+ GB, in which case I use EM.defer
freerobby has joined #ruby
mmitchell has joined #ruby
<weeb1e> I then forward status updates from that thread back to the reactor and to my IPC
krz has quit [Quit: krz]
krz has joined #ruby
<xybre> Is using EM and "threads" legitimately faster/simpler than just writing a loop?
snovak has quit [Ping timeout: 252 seconds]
mark_locklear has joined #ruby
lucazi has joined #ruby
<weeb1e> I'm honestly not 100% sure on the MRI thread status these days, as far as I know 1.9.3 is a lot better than 1.8's green threads. As I mentioned I avoid threading at all costs and almost never have a reason to defer
<weeb1e> In cases like this for heavy filesystem operations, deferring does not appear to hurt my reactor
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
tbrock has joined #ruby
<weeb1e> Though in such cases, my reactor would not be serving a huge amount of clients, so if it were slower that is not the end of the world
buibex has joined #ruby
<weeb1e> I haven't noticed it stop ticking, as the frontend is updated correctly
lucazi has quit [Client Quit]
<xybre> I'm just saying that you might have been able to get away with not adding all that complexity at all, unless you benchmarked it and *not* using EM and "threads" was less efficient.
antix_ has quit [Ping timeout: 240 seconds]
krz has quit [Client Quit]
<xybre> MRI up to 2.0 still has the GIL, which means only 1 thread is ever executing at once.
<weeb1e> I have used EM for all my applications for years, I prefer not to use threads even if I "could get away with it"
nisstyre has quit [Quit: Leaving]
schaerli has quit [Remote host closed the connection]
buibex has quit [Client Quit]
lyanchih has joined #ruby
<weeb1e> As I mentioned, I build IO-heavy applications, threading for IO is nothing but unneccessary overhead
antix_ has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
<weeb1e> I am anal about verbosity and overhead, and so I will stick with single threaded applications whenever possible
Elhu has joined #ruby
saimaz has joined #ruby
mayday_jay has quit [Quit: c ya!]
sailias has joined #ruby
<weeb1e> I also work with game servers a lot, which are also generally single threaded, reactor based
<weeb1e> xybre: And to answer your earlier question, I'm not quite sure how long I've been using ruby now, but it is many years already
<xybre> Threading for IO is the only reason to do threading in MRI, since thats the only time threads actually do *anything*. Otherwise, threads are executed in the order they're join'd to the main thread.
<weeb1e> I could maybe find a timestamp from one of my earliest projects
shredding has joined #ruby
<weeb1e> I have been using EventMachine right from the beginning, just as I used twisted in python before learning ruby
<jokke> how can i modify the class of an existing object at runtime? as in add methods and such.
<xybre> Oh you used twisted. Nevermind then.
<xybre> jokke: Just reopen it like you were writing it anew.
<weeb1e> xybre: What is that supposed to mean exactly?
<jokke> xybre: no i can't do that
<weeb1e> I will note I used twisted very little before I stopped using python completely
<xybre> jokke: Oh you want to change which class an object belongs to?
<jokke> um i guess so
<jokke> this thing has a name too
<jokke> i can't remember
<weeb1e> I've been using ruby for 4 - 5 years now
<xybre> jokke: you can change an existing class like: class ExistingClass; def new_method; puts "new method in existing class"; end; end
Guest85712 has joined #ruby
<jokke> xybre: i don't want to do that
<xybre> jokke: but you cannot change *which* class an object is a member of.
<xybre> If variable.class == Array, then it will always be.
<jokke> i just want to change the class of a *specific* object
schaerli has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
<jokke> not all objects of that class
jwicked has quit [Ping timeout: 248 seconds]
<jokke> xybre: that's not what i want either
<xybre> jokke: Yeah I got it, that doesn't happen. What are you really trying to do?
ryandeussing has joined #ruby
Talyn has joined #ruby
<Talyn> Hello?
<Guest85712> hi every budy
<Talyn> I'm a pretty severe newbie when it comes to Ruby, I'm trying to get a dicebot to work. If someone could PM me, so I don't flood the channel, would be appeciated
antix_ has joined #ruby
<xybre> weeb1e: it means anyone I've run into that used to use twisted never seem to be able to use any other pattern ever again. Every problem looks like a nail.
<Guest85712> ok im ready
<xybre> Talyn: Use gist.github.com to paste more than 1 line of code.
<weeb1e> xybre: Interesting notion
mklappstuhl has joined #ruby
<jokke> something like class A; def foo; p 'foo'; end; end; a = A.new; special_a = A.new; special_a.class.change_method_foo_somehow; a.foo => 'foo'; special_a.foo => 'bar'
<Talyn> Well, to be honest, I've got no idea how to monkey with the code, I'm just trying to figure out what's wrong with the bot and get it working.
IceyEC has joined #ruby
<weeb1e> The first async reactor based application I worked on was in C++ without any "real" framework, the PvPGN game server
obs_ has quit [Quit: Konversation terminated!]
<weeb1e> But apart from overhead, syncing threads is not run even by itself
<xybre> Talyn: IS there a support channel, forum, or mail list for the bot?
jkamenik has joined #ruby
<weeb1e> Even when forced to defer to another thread, I still use the EM reactor for synchronization purposes, and it works great
<Talyn> Not that I've managed to find...
<weeb1e> *is not fun even by itself
<xybre> jokke: You can't change an object's class at run time. What are you *really* trying to do?
<jokke> yes you can
gilesw_ has joined #ruby
<weeb1e> I think jokke wants to mixin another module into his class
<xybre> jokke: Not without extending the Ruby interpreter you can't.
nemesit|znc has joined #ruby
priyam__ is now known as yeban
<jokke> nope
quoin has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 260 seconds]
Kar- has quit [Ping timeout: 240 seconds]
raphaelivan1 has quit [Quit: Leaving.]
<weeb1e> jokke: You need to explain better what your exact use case is, there are likely a few ways you can go about solving your problem
<jokke> HAH!
ryandeussing has quit [Remote host closed the connection]
<jokke> i did it
<artmann_> I'm goin g to create a gem to handle an api, can someone link me some good tutorials?
<jokke> okay i explain
<weeb1e> Your example?
<xybre> weeb1e: I just really get this suspicion that its all overhead. EM has a very finite set of use cases and threading in ruby even moreso. Yet I know people who use EM for everything.
mark_locklear has quit [Read error: Operation timed out]
kennym has quit [Ping timeout: 248 seconds]
<xybre> artmann_: Good tutorials for... making a gem?
<artmann_> Making an api wrapper
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<artmann_> or link me to a good basic one on github
krawchyk has joined #ruby
<weeb1e> xybre: I am one of those people, but as I said, I build IO-heavy applications that generally make and receive many connections all the time. I know of nothing better than EM for my use cases and have never had an issue with it
Macaveli has quit [Ping timeout: 240 seconds]
<jokke> now this is a big problem for me
IceyEC has quit [Quit: IceyEC]
<xybre> weeb1e: Right, which is why I said nevermind. It works for you, and so long as I know that, I don't need to discuss the pros and cons of that approach, just accept and move on to other things.
<jokke> i thought setting $SAFE = 1 would prevent this kind of thing
Macaveli has joined #ruby
obs has joined #ruby
<weeb1e> xybre: At the same time I will never ignore others opinions, which is why I continued our conversation :)
<shevy> weeb1e hmm how long have you been using ruby? 20 years already? :D
<xybre> jokke: Oh, you just wanted to add a method to the singleton class. Yeah you can do that.
<weeb1e> shevy: Only about 5
<shevy> ah hmm
<shevy> but you have been using another language before or? or do I confuse you with someone else...
nemesit|znc has quit [Ping timeout: 256 seconds]
<xybre> jokke: you can also write a module and do this: special_a.extend(MyModule)
<jokke> the thing is. I have an object that is served via drb. Any client can connect to it. I thought of implementing some password authentication but anyone with a bit of ruby knowledge could just bypass that by redefining the method
<weeb1e> I have built countless applications, many pretty massive, I'm actually quite interested in my total ruby LOC now
Kar- has joined #ruby
Lewix has quit [Remote host closed the connection]
<jokke> is there any way to prevent that
<jokke> ?
kilophoton has joined #ruby
<weeb1e> shevy: I have used almost every popular language over the years, but these days I stick to ruby whenever possible, though of course ruby does not suite every one of my use cases. I am forced to also use C++, SourcePawn, Lua, Javascript (CoffeeScript) and a couple other domain specific languages
obs has quit [Client Quit]
<shevy> hmm
Talyn has left #ruby [#ruby]
<shevy> I can't trust my brain's ability to remember
robbyoconnor has quit [Ping timeout: 246 seconds]
antix_ has quit [Ping timeout: 248 seconds]
<jokke> hm no wait
<shevy> the most complicated thread-use I had was not more than @thread = Thread.new {}
<jokke> i think i got it all wrong
<shevy> jokke drb made me angry every time I look at its documentation
<jokke> haha
<jokke> but it's beautiful
shaunbaker has joined #ruby
kaldrenon has joined #ruby
Guest85712 has quit [Read error: Connection reset by peer]
<weeb1e> The only time I have ever used threading like that in ruby is with hacked together scripts for local use
antix_ has joined #ruby
<shevy> the name is odd DRb ... two upcased, one downcased
dennus has quit []
<jokke> yes i give you that
Criztian has quit [Remote host closed the connection]
<xybre> weeb1e: I feel like I know the internals of how Ruby uses each of those strategies and I'm very aware of their pitfalls. I'm working on a distributed architecture that requires a large number of socket connections and I might end up using a reactor pattern for that, because it makes sense. Otherwise I'll need to do more IPC (which I might do in the end, depending).
dennus has joined #ruby
shaunbak_ has joined #ruby
<weeb1e> xybre: Well why wouldn't you use a reactor? One reason may be the lack of a decent DRB implementation for EventMachine
funburn has joined #ruby
<xybre> jokke: Ruby doesn't have great sandboxing support. However, there might be a way to accept/deny connections to a DRb host.
geekbri has joined #ruby
<weeb1e> I have had to roll my own EventMachine based IPC systems for my platforms, as there are simply no solid open source implementations
<jokke> yes but i don't want/i can't make firewall rules based on ip's or so
fmcgeough has joined #ruby
Sarkie has left #ruby ["Leaving"]
<xybre> weeb1e: There's lots of reasons not to use an reactor. A multiprocess model might be ideal here since each connection could end up doing a lot of work. Or else I could have a tiny reactor and then fork before doing anything intensive. There's a lot of possibilities there. But the real danger of one of my libs breaking the reactor under the covers is concerning. A lot more work will go into fine tuning a
<xybre> reactor, because I'd want it done right.
flipture has quit [Ping timeout: 252 seconds]
<weeb1e> If you have hard work to do and think ruby threads are insufficient (which they very well may be), then I would use a reactor which forks and manages the forked processes
shaunbaker has quit [Ping timeout: 245 seconds]
<sweeper> jruby has real threads \o
<weeb1e> I built a process_manager application specifically for forking, exec'ing and monitoring arbitary processes, with its own IPC to my platforms
antix_ has quit [Ping timeout: 264 seconds]
blackratdog has joined #ruby
KobraKao has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Kar- has quit [Ping timeout: 260 seconds]
<weeb1e> The process_manager runs as root and spawns processes as what ever user it needs to, it also handles correcting the env and things like giving processes realtime privs with chrt and configuring ionice
antix_ has joined #ruby
karupanerura is now known as zz_karupanerura
<weeb1e> sweeper: Sure does, but I make it my lifes mission to avoid installing either Java or .Net on any of my servers
fjalvarez has joined #ruby
<xybre> Rubinius has real threads too.
<weeb1e> xybre: Out of interest sake, what kind of heavy work do you need to get done?
<fjalvarez> hello, I've some issues trying to execute cucumber using the ruby version 2.0.0
<fjalvarez> any ideas? thanks
<weeb1e> Rubinius I would consider a real option, but unfortunately there was too many pieces of my software broken by it when I last looked at using it. Biggest issue is gems which contain MRI native extensions
_bart has joined #ruby
<weeb1e> *there were too many
<weeb1e> Excuse me. I have been up for a day and a half now, it's already almost 3pm :|
<xybre> weeb1e: It's a platform, so the "apps" that run on it could essentially do anything.
gja has quit [Quit: This computer has gone to sleep]
antix_ has quit [Ping timeout: 248 seconds]
<_bart> Hi Rubyists!
<skaflem> Hello
<weeb1e> xybre: Then yeah, I would definitely consider using a reactor for central management and forking child workers
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
asobrasil has left #ruby [#ruby]
<weeb1e> Or even using threads instead of worker processes if you can get away with using Rubinius
intuxicated has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
<_bart> I have a weird not-so-ruby-related question. When I run 'whois some-godaddy-website.com' in the terminal I get different output when I run `whois some-godaddy-website.com` in Ruby, or with 'exec' or %x{}. Any idea how whois would be different when started from Ruby instead of terminal? (how could godaddy detect that)
<shay-> hi, i have a method testsystem? But I'm not really sure what the correct way is to return true or false? Now I have just return true; and return false; But this should be objects if i understood this right
intuxicated has joined #ruby
<workmad3> _bart: what sort of differences?
dmiller has quit [Remote host closed the connection]
sacoetzee has quit [Quit: Leaving]
<weeb1e> shay-: Everything is an object, including "true" and "false"
<xybre> weeb1e: I want the ability to reap resources, so threads - even in jruby/rubinius - have limited usage here.
<shay-> weeb1e: so return false; is corrent and create implicit an object of class FalseClass, right?
<_bart> workmad3: when running in ruby I don't get full information, and I get this: "For complete domain details go to: http://who.godaddy.com/whoischeck.aspx?domain=some-domain-here.com"
<weeb1e> xybre: In that case worker processes sound like your only real option, but that could make IPC tricky
<shay-> correct*
<xybre> shay-: "false" is a singleton object that is the only instance of FalseClass.
KobraKao has quit [Read error: Connection reset by peer]
schaerli has quit [Remote host closed the connection]
<_bart> workmad3: but I think it's weird, because I tried it a few times, and 'exec "whois ...."' results into that captcha link, but running whois for the same domain in my terminal never does.
lkba has quit [Ping timeout: 252 seconds]
schaerli has joined #ruby
<weeb1e> shay-: What xybre said. And if it is the last line in your codes flow control or method, you don't need the "return" keyword, just "false" is fine
<weeb1e> shay-: The last line of a method is what is returned
<workmad3> _bart: weird... how about if you do `which whois` in ruby vs your terminal?
<shay-> weeb1e: thank you very much =)
<_bart> workmad3: How could using exec or %x{} be different from running it in my terminal? whois doesn't sense and sends a different environment to godaddy I think?
<_bart> workmad3: will try, good thinking
KobraKao has joined #ruby
io_syl has joined #ruby
nbrosnahan has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
codecop has quit [Quit: Išeinu]
<_bart> workmad3: ruby: => "/usr/bin/whois\n" terminal: /usr/bin/whois
lkba has joined #ruby
buibex has joined #ruby
<xybre> weeb1e: Yeah I know, its not going to be easy. But I *think* I can keep the core pretty simple, just accept connections and fork to handle the live socket. But there's the potential for tunneling between sockets and worker processes, so we're back to needing a way of handling all that.
<_bart> workmad3: guess it's time to look into the whois script to see if it sends some kind of "User Agent" to Godaddy, or something like that
nutella has joined #ruby
<xybre> _bart: try `/usr/bin/env whois somesite.com`
joaoh82 has joined #ruby
antix has joined #ruby
nemesit|znc has joined #ruby
<_bart> workmad3: ah nvm, silly me, I was working in two different terminals, one remote and one local. They seem to use the IP, that's clear now
antix is now known as Guest72815
nutella is now known as Guest34983
<_bart> xybre: thanks for your suggestion though
<workmad3> _bart: aha :)
schaerli has quit [Ping timeout: 245 seconds]
<xybre> _bart: ohh yeah that'll do it :)
marcgg has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
<weeb1e> xybre: Well I guess it depends on just how heavy those worker tasks really are, as I mentioned, when defering to another thread to do blocking heavy filesystem operatings, my reactor still ticks and I can use it for communication
siwica has quit [Quit: siwica]
<weeb1e> xybre: I'm gonna delete my cache file quick and run my app, forcing it to hash 13GB of files in a blocking loop which is inside a EM.defer block
kreeves has joined #ruby
<xybre> >.<
marcgg_ has quit [Ping timeout: 245 seconds]
<weeb1e> xybre: What sort of thoughput are you looking for?
tomzx_mac has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
Guest72815 has quit [Ping timeout: 256 seconds]
schaerli has joined #ruby
butblack has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
nbrosnahan has quit [Ping timeout: 245 seconds]
lfox has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
<xybre> weeb1e: I'll consider it an acomplishment when it can max out the bandwidth of multiple 100MB connections and juggle ~100ish connections. The latency doesn't need to be "real time ish" but it should be low. The prototype will use TCP but then I'll move to UDP once the proof of concept is done.
yfeldblum has quit [Read error: Operation timed out]
dbjeepn has joined #ruby
zoee has quit [Quit: zoee]
<weeb1e> xybre: Well I meant per worker
snovak has joined #ruby
lfox has quit [Client Quit]
breakingthings has joined #ruby
<weeb1e> Do you mean ~100 workers?
lyanchih has quit [Quit: lyanchih]
nbrosnahan has joined #ruby
mary5030 has joined #ruby
<xybre> weeb1e: No, not per worker. Ideally there'd only be a handful of "active" workers doing heavy lifting.
siwica has joined #ruby
larissa has joined #ruby
devoldmx has joined #ruby
antix_ has quit [Ping timeout: 264 seconds]
<weeb1e> xybre: Well I'd assume the IO bottleneck will be the workers
antix_ has joined #ruby
<weeb1e> I don't really have stuff set up here to do an accurate benchmark for you right now
danshultz has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<weeb1e> And the sleep deprivation is also beginning to set in :/
saimaz has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
thesheff17 has joined #ruby
<xybre> weeb1e: Yeah I finally got some sleep, I'd been sleeping 1.5 and 3 hour intervals for a couple of days and just got my first real sleep in a while.
saimaz has joined #ruby
dhamidi has quit [Remote host closed the connection]
<xybre> weeb1e: I'll need to do benchmarks to find out. Profile all the things!
burlyscudd has joined #ruby
lyanchih has joined #ruby
relix has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 240 seconds]
tatsuya_o has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
relix has joined #ruby
<weeb1e> xybre: Let me know how it goes
Coffers has quit [Read error: No route to host]
thesheff17 has joined #ruby
Coffers_ has joined #ruby
dkamioka has joined #ruby
<weeb1e> As I mentioned, I managed to get over 300Mbps with a EM reactor pulling 60 files concurrently from S3 and writing them to hard drive
dareTake has joined #ruby
funburn has quit [Quit: funburn]
kay has joined #ruby
<weeb1e> I didn't expect that performance, mostly because I didn't know my server even had access to that throughput, haha
kay is now known as Guest51551
<fjalvarez> hello, I'm stuck on this https://gist.github.com/franalvarez-splendia/6825370 ... I'm using ruby version 2.0.0 and gem version 2.1.5 .. any idea ? thanks !!!
jbpros has joined #ruby
aagdbl1 is now known as aagdbl
MrThePlague has joined #ruby
<xybre> Yeah I only have a 100Mbps line in my house, so that will be the greatest I'll be able to test from here, but I'll be able to spin up a bunch of VPSs for a short time to test larger scales. And hopefully remember to turn them all off before they bankrupt me.
<weeb1e> You have 100Mbps and you're complaining! Shame on you
<weeb1e> I only have 8Mbps at home
<Hanmac> xybre: i dont whant to hear the word "ONLY" from you
<xybre> weeb1e: haha, not complaining, just difficult to test anything more than that :)
<Hanmac> i have 2Mbps and there is not more in my area!
Advocation has joined #ruby
<xybre> Hanmac: Damn, even my wimax card is faster than that.
<weeb1e> Pretty sure the ISP hosting that box I got 300Mbps assumed it was a DDOS attack and throttled me the next day
saimaz has quit [Ping timeout: 252 seconds]
<weeb1e> Either way, I'm not quite sure of the limited of a single EM reactor, but that seems fairly good in my books
<weeb1e> *the limits
dareTake has quit [Quit: Leaving]
<Hanmac> fjalvarez: run "gem env" to look if you really have the right ruby/gem version
<weeb1e> Hanmac: I was in that position not too long ago, don't worry
<weeb1e> 8Mbps is the absolute max my exchange can handle, even though it should be 10 :(
antix_ has quit [Ping timeout: 240 seconds]
<xybre> weeb1e: If the reactor isn't stopped then there's really nothing that beats the efficiency over threads/processes
<fjalvarez> @Hanmac I updated the gem version
whowantstolivefo has joined #ruby
pedda has joined #ruby
saimaz has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
buibex has quit [Remote host closed the connection]
Dwarf has quit [Max SendQ exceeded]
Dwarf has joined #ruby
buibex has joined #ruby
supergeek has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
svector has joined #ruby
derekv2 has joined #ruby
<Dwarf> Greetings, ruby people.
notjohn has joined #ruby
alyi has joined #ruby
devoldmx has joined #ruby
duggiefresh has joined #ruby
lfox has joined #ruby
freerobby has quit [Quit: Leaving.]
devoldmx3 has quit [Ping timeout: 245 seconds]
antix_ has quit [Ping timeout: 245 seconds]
buibex has quit [Ping timeout: 256 seconds]
xk_id has quit [Quit:
<fjalvarez> thanks, @xybre I'm trying to export the rubygem path, let's see ..
jbynum has joined #ruby
lyanchih has quit [Quit: lyanchih]
intuxicated has quit [Remote host closed the connection]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
supergeek has quit [Quit: Leaving]
<derekv2> so I never solved this mystery yesterday. ended up with a workaround using a shell script but I think I'll have to come back to it...
mklappstuhl has quit [Remote host closed the connection]
<derekv2> if I add a method to this file, rake build, gem install, i can 'require' it in irb and use $" to see the list of methods, and my method is there
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<derekv2> but if I try to call the method in the same way as the others in the first file, it fails saying no variable is defined.
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
snovak has joined #ruby
byprdct has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
DanBoy has quit [Remote host closed the connection]
<derekv2> I was finally able to call the method by creating my own class, including the operations module, and then calling it on an instance of that class, but none of the variables that are in the module (are they like static variables?) are not defined in this case
ravster has joined #ruby
IceyEC has joined #ruby
dennus has quit []
nouitfvf has joined #ruby
<xybre> derekv2: "variables defined in the module" how are the variables defined? Which module?
jlast has joined #ruby
<shevy> module Calabash module Android
<shevy> why do you not use a newline in between these two
antix_ has joined #ruby
mklappst_ has joined #ruby
iamjarvo has joined #ruby
Zeeraw has quit [Ping timeout: 246 seconds]
<derekv2> shevy: this isn't my project, but I'm modifying it
<shevy> ah I see
Gruu has joined #ruby
zarubin has joined #ruby
<shevy> very deepled nested... 3 modules
kaspergrubbe has joined #ruby
<shevy> derekv2 I find it much more common to see variables defined within a class than a module, but which variables do you mean?
cescalante is now known as ce_afk
<derekv2> xybre: shevy: in the module there appears to be some context, eg "default_device"
fixl has quit [Read error: Connection reset by peer]
schaerli has quit [Remote host closed the connection]
obs has joined #ruby
<derekv2> wait maybe thats the only one
<shevy> well
<shevy> #{default_device.adb_command}
<shevy> that could be a method returning an object too or?
<shevy> like default_device().adb_command()
<shevy> I think whoever wrote that code was not a ruby expert
<shevy> $stdout.puts "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")} - #{message}" if (ARGV.include? "-v" or ARGV.include? "--verbose")
<shevy>
<shevy> I would never use ARGV directly within a method
<shevy> look at this:
<shevy> else
<derekv2> hah. yea I'm not a ruby expert but I saw a few things that looked odd in this project
<shevy> Then(txt)
<shevy> end
<shevy> this guy even tries to define pseudo-keywords as methods
theRoUS has joined #ruby
dangerousdave has joined #ruby
pwh has joined #ruby
<shevy> how is "module Operations" used?
schaerli has joined #ruby
<derekv2> lets see... I was trying to figure that out
antix_ has quit [Ping timeout: 260 seconds]
fuhgeddaboudit has joined #ruby
<shevy> he seems to use it like a class
<shevy> so I assume he wants to include it somewhere
<shevy> def set_default_device(device)
<shevy> @default_device = device
IceyEC has quit [Quit: IceyEC]
<derekv2> what is World(Module::Module) ?
jerius has joined #ruby
<shevy> I usually see this used in a class, perhaps he had a good reason to use it in a module
girija_ has quit [Ping timeout: 252 seconds]
<shevy> lol
<derekv2> World(Calabash::Android::Operations) rather
<shevy> well
<shevy> it could be a method
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<shevy> def World(i)
<shevy> and the argument given is this Operations module
niklasfrykholm has joined #ruby
<xybre> Yeah that must be a method.
<xybre> You can have a method and a class with the same name.
<xybre> So be wary.
alyi has quit [Read error: Connection reset by peer]
<derekv2> xybre fun
<weeb1e> That is a value convention in certain cases
ehc has joined #ruby
<weeb1e> *valid
jefflyne has joined #ruby
<weeb1e> God, I can't type anymore
* weeb1e gives up the keyboard
<shevy> hmm
<shevy> def Integer()
<workmad3> >> Integer("13")
<eval-in> workmad3 => 13 (https://eval.in/52489)
<shevy> Integer('4') # => 4
<workmad3> >> Integer("not an integer!")
<eval-in> workmad3 => invalid value for Integer(): "not an integer!" (ArgumentError) ... (https://eval.in/52490)
devoldmx3 has joined #ruby
<weeb1e> >> "not an integer!".to_i
<eval-in> weeb1e => 0 (https://eval.in/52491)
<xybre> >> Array('x')
<eval-in> xybre => ["x"] (https://eval.in/52492)
<workmad3> >> Array([])
<eval-in> workmad3 => [] (https://eval.in/52493)
buibex has joined #ruby
<workmad3> that's a useful one at times ;)
devoldmx has quit [Read error: Connection reset by peer]
<xybre> Yeah I use that one :)
brennanMKE has joined #ruby
tvw has quit []
<xybre> ActiceSupport has Array.wrap which is a nicer version (rarely do I say nice things about AS)
<weeb1e> I didn't know about that, I've always used Array.wrap or just done it manually
antix_ has quit [Ping timeout: 245 seconds]
<workmad3> weeb1e: yeah, I've done '[something].flatten(1)' before
buibex has quit [Read error: Connection reset by peer]
saimaz has quit [Remote host closed the connection]
<weeb1e> AS/core_ext is something I use in most of my applications, even though I only use a handful of features
buibex has joined #ruby
<xybre> I didn't know you could pass a argument to flatten. this changes everything!
<weeb1e> workmad3: That seems less efficient
iamjarvo has quit [Remote host closed the connection]
<weeb1e> arr.is_a?(Array) ? arr : [arr]
<workmad3> weeb1e: yup...
<apeiros> The use of flatten IMO is a 99.999% accurate hint at an earlier failure
<xybre> I don't like the weight of AS
g0bl1n has quit [Quit: g0bl1n]
iamjarvo has joined #ruby
<weeb1e> xybre: Even just core_ext?
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<xybre> Especially core_ext. Not having core_ext encourages me to build more value objects and I'm generally much happier for it.
joaoh82_ has joined #ruby
<weeb1e> Keeping in mind I'm not really too familiar with any other parts of AS, I learnt rails when I learnt ruby but have pretty much never used it
<weeb1e> To be honest, I stopped using many of the reasons I used to have to include AS, I now do it for only a couple methods
<xybre> weeb1e: Which methods do you use?
joaoh82 has quit [Ping timeout: 264 seconds]
<weeb1e> I used to use #blank? and stuff, now I don't even use #present? and prefer .size > 0 for efficiency
<weeb1e> xybre: Good question :P
brennanMKE has quit [Ping timeout: 240 seconds]
Floydzy has joined #ruby
<xybre> Yeah, blank is useful in Rails because you don't know what you're getting half the time. But outside of Rails its much less useful.
freerobby has joined #ruby
<weeb1e> String#to_sentence, 5.minutes
ffranz has joined #ruby
<weeb1e> Mostly the time methods I think
Advocation has quit [Quit: Advocation]
<xybre> What does String#to_sentence do?
tomzx_mac has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
<weeb1e> %w[ one two three ].to_sentence => "one, two and three"
<MrZYX> That's Array#to_sentence then
Guest34983 has quit [Ping timeout: 264 seconds]
<xybre> Wouldn't that be Array#to_sentence?
KobraKao has quit [Ping timeout: 240 seconds]
<weeb1e> Err :P
<weeb1e> As I said, I am seriously tired, and should leave now
<apeiros> I can help with that :D
rh1n0 has joined #ruby
<weeb1e> Just because I can do stuff on auto-pilot doesn't mean it's always correct
<xybre> The thing that bugs me about 5.minutes is that what I *actually* want is a good Units library, not just 5 * 60. It is convinient though given that Ruby doesn't have support for Units.
kvirani has joined #ruby
<weeb1e> apeiros: Calm down :P
antix_ has quit [Ping timeout: 264 seconds]
<apeiros> weeb1e: don't get me all excited and then tell me to calm down!
<xybre> weeb1e: you always say that, but then I'll find you here 6 hours later, still doing stuff :p
<apeiros> that's not fair!
Advocation has joined #ruby
<weeb1e> xybre: Integer#kilobytes and stuff is also useful
<xybre> weeb1e: again with the units!
<weeb1e> Yeah, I think that is the majority of my AS use cases
<weeb1e> I use very few other things these days
<weeb1e> I can't even think of others off the top of my head, but that also could be because I am so used to having those features in all my applications
antix has joined #ruby
pushpak has quit [Ping timeout: 256 seconds]
antix is now known as Guest3810
<shevy> Integer has kilobytes?
<xybre> weeb1e: Try not using it once, or removing it just to see how much it affects.
<xybre> shevy: ActiveSupport
<shevy> ack
<weeb1e> Well I don't start new applications all that often
<weeb1e> I mostly build onto my existing massive platforms
theRoUS has quit [Read error: Operation timed out]
<derekv2> this is weird, the Operations module is included in a class called Abase, but with a code search I see nowhere that this gets instantiated
fjalvarez has quit [Ping timeout: 240 seconds]
pwh has quit []
KobraKao has joined #ruby
<xybre> derekv2: is it subclassed?
tkuchiki has quit [Remote host closed the connection]
<weeb1e> Oh
mfojtik has left #ruby [#ruby]
<weeb1e> Object#try is AS :O
tkuchiki has joined #ruby
fjalvarez has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
<weeb1e> I also use quite a few *alize methods
<apeiros> weeb1e: 5.minutes should have its own proper class - Duration
<derekv2> xybre: doesn't seem like it, "abase" doesn't appear anywhere else in the code, except where the file is 'require' d
<weeb1e> And Enumerable#sum
<xybre> derekv2: is it instantiated inside the file itself?
ghr has quit [Quit: Textual IRC Client: www.textualapp.com]
mrsolo has joined #ruby
bklane has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<derekv2> xybre: not that I can see.
sambao21 has quit [Quit: Computer has gone to sleep.]
<xybre> derekv2: he might have done some metaprogramming voodoo :(
Guest3810 has quit [Ping timeout: 260 seconds]
<derekv2> xybre: yea I think so.
mklappstuhl has joined #ruby
jonathanwallace has joined #ruby
<derekv2> there's a dependancy too called cucumber and the voodoo could be happening there
polaco_zZz is now known as polaco
tkuchiki has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
Deele has joined #ruby
<derekv2> ok I'll post to the google group and continue with my workaround for now
<weeb1e> Hash#except, Hash#slice, Time#ago, Time#from_now, for String: camelize, classify, humanize, ordinalize, pluralize, titleize, underscore, and occasionally constantize
<weeb1e> xybre: That covers almost everything I think
<derekv2> thanks for taking a look.
bean has joined #ruby
mklappst_ has quit [Ping timeout: 264 seconds]
devoldmx3 has quit [Ping timeout: 256 seconds]
<weeb1e> I actually really thought Object#try was a ruby method, I try not to abuse it, but it does work very well in a bunch of cases, just like the trailing ? operator in CoffeeScript
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
lukec has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
obs_ has joined #ruby
<jokke> shevy: can you give me a short security analysis on my code? :)
seich- has joined #ruby
notjohn has quit [Quit: notjohn]
ghr has joined #ruby
<shevy> huh security
<shevy> hmm
wyclif has quit [Read error: No route to host]
<shevy> port = ARGV[0] || exit(1)
<shevy> password = STDIN.gets.chomp
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<jokke> yes?
<jokke> :)
obs has quit [Ping timeout: 240 seconds]
Soda has joined #ruby
<shevy> the code is a bit strange
<jokke> i didn't want to pass password as a command line parameter
<shevy> do you really need @@default_options ?
joaoh82 has joined #ruby
joaoh82_ has quit [Read error: Connection reset by peer]
<jokke> probably only @default_options
<shevy> I mean, do you need it as @@
<jokke> probably not
<jokke> most likely not
notjohn has joined #ruby
maycon has quit [Ping timeout: 246 seconds]
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
<shevy> $SAFE = 1
<weeb1e> It's just a bash style script shevy, reads pretty well
devoldmx has joined #ruby
<jokke> shevy: yes?
<weeb1e> jokke: One thing, use "or" instead of "||" for that exit(1)
<shevy> "The environment variables RUBYLIB and RUBYOPT are not processed, and the current directory is not added to the path."
<shevy> jokke just thinking
<jokke> weeb1e: okay
s0ber has quit [Remote host closed the connection]
<weeb1e> While not forced, it is good convention to use "or" over "||" for flow control
<shevy> jokke why did you pick safe 1 ?
<weeb1e> Just like you should use "||" instead of "or" for conditional statements
<jokke> to prevent instance_eval
<shevy> aha
s0ber has joined #ruby
tobago has quit [Remote host closed the connection]
<shevy> ack
<shevy> I just set $SAFE to 3 in irb
<weeb1e> I didn't know that for a long time, and still have lots of old code with "or" and "and" in conditional statements :(
<shevy> and it crashed :(
hogeo has quit [Ping timeout: 260 seconds]
<shevy> SecurityError: Insecure operation - eval
<shevy> but I can still do instance_eval() it seems jokke
<shevy> in $SAFE 1 and 2
zz_scottstamp is now known as scottstamp
<shevy> or perhaps irb is just wrong... hmm
<bean> not gonna lie, i dislike "def initialize password"
<shevy> yes! I do too!
<bean> "def initialize(password)" reads way better for me
<shevy> yes! but there are some diehards who hate parens
<shevy> the anti-lispers
<weeb1e> I agree with bean
<shevy> they are so anti that they have swordn to destroy any '(' or ')' they will ever find
<shevy> *sworn
<shevy> (This(is(Sparta!!!
<weeb1e> While I'm all for minimal syntax and least verbosity, method definitions are a different story
<jokke> sure i'll change it
<bean> you can also use highline or similar to disable echoing when you need to type the the pass.
<ccooke> shevy: well, obviously if the code is ambiguous enough to need brackets it should be rewritten. This is self-evident! ;-)
duggiefresh has quit [Read error: Connection reset by peer]
<shevy> jokke I think your only concern is that a user may pass in something evil?
<shevy> or do you use eval somewhere
duggiefresh has joined #ruby
<jokke> shevy: yep
<jokke> i mean no i don't use eval but weechat does..
<shevy> hmm
niklasfrykholm has left #ruby [#ruby]
<shevy> btw jokke the bot here, I think he runs in a sandbox
<shevy> >> 5+5
<eval-in> shevy => 10 (https://eval.in/52503)
<jokke> that's the reason i need to start notification_server.rb as a separate program
<shevy> ohhh cool... the bot runs on ruby 2.0
<weeb1e> >> `rm -rf`
<eval-in> weeb1e => (https://eval.in/52504)
<shevy> Forbidden access to file `/usr/local/bin/rm'
<jokke> hm
<shevy> >> `ls`
<eval-in> shevy => (https://eval.in/52505)
<shevy> Forbidden access to file `/usr/local/bin/ls'
<jokke> i'm a bit afraid of the shellescape part too
<shevy> hmmm
antix_ has quit [Ping timeout: 252 seconds]
<shevy> aha
<shevy> perhaps he could sneak in a rm -rf in shellescape!
<jokke> yep
<jokke> and that's why i need the password auth to work
verto has joined #ruby
<jokke> no that won't help me against that
<jokke> :D
mansi has joined #ruby
<Hanmac> the bot there is hanmac-proof ,D
<jokke> since any irc user could do that
hamakn has quit [Remote host closed the connection]
<jokke> highlight me and pass some malicious code
freerobby has quit [Quit: Leaving.]
johnnyfuchs has joined #ruby
theRoUS has joined #ruby
<shevy> jokke `rm -rf *`
<jokke> hehe
hamakn has joined #ruby
rhys_ has joined #ruby
<shevy> jokke `rm -r#{e.succ} *`
<shevy> oops
<jokke> i'm not running the thing now
<shevy> >> `rm -r#{"e".succ} *`
<eval-in> shevy => (https://eval.in/52507)
<MrZYX> the mean version is `rm -rf .*`
<shevy> Forbidden syscall pipe2
<shevy> wow
<shevy> this bot is funny
s0ber has quit [Remote host closed the connection]
<shevy> >> syscall(1)
<eval-in> shevy => (https://eval.in/52508)
<shevy> Time limit exceeded (wall clock)
<shevy> Hanmac help me out
siwica has quit [Quit: siwica]
mrsolo has quit [Quit: This computer has gone to sleep]
s0ber has joined #ruby
kevinykchan has joined #ruby
<shevy> Hanmac cant you pass in something nasty to syscall?
<Hanmac> hm i dont know, syscall is system specific ...
eka has quit [Remote host closed the connection]
hadees has joined #ruby
<shevy> word.rb:32:in `<class:hWord>': uninitialized constant Word::DATA (NameError)
<shevy> ok... why does DATA not exist...
s0ber has quit [Remote host closed the connection]
siwica has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
freerobby has joined #ruby
s0ber has joined #ruby
kaspergrubbe has joined #ruby
ananthakumaran has joined #ruby
apeiros has quit [Remote host closed the connection]
<shevy> I use __END__ in that file
<jokke> my primary concern is shellescape
<shevy> and have a line: 2.0 after that
hamakn has quit [Ping timeout: 240 seconds]
<shevy> but DATA.read does not work, DATA does not seem to be initialized... when is DATA initialized?
apeiros has joined #ruby
<shevy> ack
aagdbl has quit [Quit: Leaving.]
antix_ has joined #ruby
<Hanmac> shevy: hm you can try ::DATA
<shevy> my DATA no longer works! :(
intuxicated has joined #ruby
<shevy> I dont know what is goingo n
mklappstuhl has quit [Remote host closed the connection]
jbynum has quit [Quit: Computer has gone to sleep.]
<shevy> in irb, DATA does not seem to get set
<shevy> NameError: uninitialized constant DATA
<jokke> so umm.. would you consider it safe to use the code as it is?
<bean> jokke: anything that does some manner of exec is terrifying to me if it can run arbitrary commands
jbpros has quit [Quit: jbpros]
<Hanmac> shevy did you try your code in ruby itself to? (maybe it only does not work in irb?)
axl_ has joined #ruby
<jokke> bean: yeah it scares the shit out of me too but i can't figure out any other way
cody-- has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
kaspergrubbe has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 245 seconds]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
mercwithamouth has joined #ruby
baordog_ has joined #ruby
cody--_ has joined #ruby
cody-- has quit [Read error: Connection reset by peer]
cody--_ is now known as cody--
<shevy> Hanmac yeah
mklappstuhl has joined #ruby
tagrudev has quit [Remote host closed the connection]
<shevy> http://pastie.org/pastes/8377654/text this code no longer works suddenly
cody-- has quit [Client Quit]
<shevy> END.rb:4:in `<main>': uninitialized constant DATA (NameError)
<jokke> on the other hand... aren't many programs using notify-send?
sambao21 has quit [Quit: Computer has gone to sleep.]
cody-- has joined #ruby
jbynum has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
<jokke> oho!
<gwb3> Hello, I am practicing String Interpolation and was hoping someone could give me a tip, why does the following not evaluate - https://gist.github.com/gwb3/d270059a7fbb1acfee40
failshell has joined #ruby
cson has joined #ruby
svector has quit [Ping timeout: 252 seconds]
joaoh82 has quit [Remote host closed the connection]
Apocalypse has quit [Ping timeout: 245 seconds]
<gwb3> nevermind, figured it out - needed double quotes.
<gwb3> cheers everyone
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
joaoh82 has joined #ruby
tkuchiki has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
<Hanmac> shevy ... i know the problem
DaniG2k has joined #ruby
tonini_ has joined #ruby
<DaniG2k> guys what's a good plugin for vim?
<DaniG2k> i need ruby syntax highlighting and auto indentation
<workmad3> DaniG2k: to do what?
<workmad3> DaniG2k: consider vim-ruby
<DaniG2k> k thanks
<shevy> Hanmac I am absolutely confused
<shevy> even more so since 10 minutes ago, it worked
<Hanmac> shevy i give you a tip: "#"
<workmad3> DaniG2k: also consider something like vimified if you don't have strong feelings about vimrc setup yet :)
derekv2 has quit [Quit: Page closed]
<DaniG2k> workmad3: what does that do?
<shevy> hmmm
<workmad3> DaniG2k: lots of stuff
<shevy> damn it
<shevy> Hanmac, I can not use # after __END__ ???
<workmad3> DaniG2k: it's a foundation and a framework for extending your vimrc file
<Hanmac> shevy: yeah it seems ;P
<shevy> very odd
<shevy> I'd wish I could test on ruby 1.8
<Hanmac> PS: you need to be carefull when you use multible DATA.read ... it seems they are blocking ...
<shevy> if I can not use #, then I can not use comments, in which case using __END__ is kinda useless for me - it is easier to continue using comments, and just use File.readlines instead
<DaniG2k> workmad3: hmm i think thats more than I need
<shevy> nah Hanmac if I really can not use # then I will not use __END__ again
<Hanmac> shevy just do it a line before
<workmad3> DaniG2k: are you planning on using vim as your main editor?
<shevy> but I need to test on 1.8 first
Gruu has quit [Quit: Gruu]
mark_locklear has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ce_afk is now known as cescalante
Apocalypse has joined #ruby
tonini_ has quit [Ping timeout: 264 seconds]
sorbo_ has joined #ruby
joaoh82 has quit [Remote host closed the connection]
Ahti333 has joined #ruby
joaoh82 has joined #ruby
Guest27882 has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 240 seconds]
<sorbo_> say I have a Polygon module with some methods. if I include that in Square and Triangle classes, _instances_ of those classes get the Polygon methods. If I extend Polygon in Square and Triangle, the classes _themselves_ get those methods
<sorbo_> SO
<sorbo_> what is the difference between defining class methods on Polygon and including that in Square and Triangle
coderhs has quit [Quit: Leaving]
<sorbo_> vs having instance methods on Polygon and extending Square and Triangle with Polygon?
<sorbo_> (sorry for the mouthful, can gist up if easier)
<workmad3> sorbo_: one works, one doesn't ;)
<sorbo_> haha I noticed that
<sorbo_> why does defining class methods on the module and including it not work?
wallerdev has joined #ruby
<catphish> sorbo_: it does, they'd become class methods on the class
<workmad3> sorbo_: because class methods aren't in the lookup chain for instances
leehambley has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
<sorbo_> and you can't get to them via self.class.method_name_here in the instance?
cody-- has quit [Quit: derp]
<catphish> why does a triangle need class methods anyway, it's just a shape ;)
<sorbo_> haha we simplified the problem from a much weirder block of code from a Sinatra app
<workmad3> catphish: class methods on a module don't become class methods of the class you include the module in
alex__c2022 has joined #ruby
<catphish> workmad3: oh, i thought that worked
* workmad3 wishes there was a better term than 'class methods' for doing 'def self.method_name' inside a module
t_p has quit [Quit: Computer has gone to sleep.]
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<sorbo_> I think the base question is, "how do I package stuff up in a module such that I can dump instance and class methods into including classes"
<catphish> workmad3: what *does* it do?
kemist has joined #ruby
<workmad3> catphish: makes it a method you can call on the module directly
<sorbo_> but those methods
<ravster> Hey all. I'm using jruby and would like to use all my cores for processing. I've used the "parallel" gem in the past, but would like to know if anyone knows of an easier way to do parallel programming in ruby. Thanks.
<catphish> makes sense, though odd that it doesn't get included
<sorbo_> DON'T get mixed into the including classes
<workmad3> >> module Foo; def self.bar; "hi"; end; end; Foo.hi
<eval-in> workmad3 => undefined method `hi' for Foo:Module (NoMethodError) ... (https://eval.in/52521)
<workmad3> >> module Foo; def self.bar; "hi"; end; end; Foo.bar
<eval-in> workmad3 => "hi" (https://eval.in/52522)
<workmad3> >> module Foo; def self.bar; "hi"; end; end; class Fizz; include Foo; end; Fizz.bar
<eval-in> workmad3 => undefined method `bar' for Fizz:Class (NoMethodError) ... (https://eval.in/52523)
<shevy> sorbo_ it's possible but it stinks
<catphish> of course, a nice approach is simply to extend the Shape class :)
<workmad3> ^^
<catphish> but i assume everyone knows that
<shevy> yeah workmad3 showed you a way how it does NOT work ;)
<shevy> Hanmac linked to a blog page how to do it
<shevy> but it's so ugly that I can not understand people using it
<workmad3> ^^ and it doesn't work for the same reason that doing 'class Foo; def self.bar; "hi"; end; end; Foo.new.bar' doesn't work
Davey has joined #ruby
kindjal has joined #ruby
eka has joined #ruby
<shevy> but he can add def bar; Foo.bar; end easily there
<catphish> is there a particular reason why module "class" methods don't include?
<workmad3> yeah, you can override the module's self.included hook and extend with a module of class methods at that point
<shevy> which is still beautiful!
<shevy> but the blog entry by Hanmac is truly ugly... lemme try to find it
<workmad3> catphish: because 'class' methods aren't in the lookup for 'instances' ;)
xk_id has joined #ruby
<catphish> workmad3: i'm not talking about instances...
<workmad3> catphish: when you're dealing with includes/extends, you sort of are
<shevy> def self.included base
<shevy> base.send :include, InstanceMethods
<shevy> base.extend ClassMethods
<shevy> ^^^^ UUUUgly !
<catphish> workmad3: i include modules in classes
antix_ has quit [Ping timeout: 240 seconds]
enebo has joined #ruby
<catphish> i'd expect both class and instance methods from the module to join the class
<shevy> oh yes
kemist has quit [Ping timeout: 248 seconds]
cescalante is now known as ce_afk
<Hanmac> haha faster :Ü
Macaveli has quit [Ping timeout: 240 seconds]
<shevy> def self.included(base); base.extend(ClassMethods)
<shevy> I copy pasted what you just showed Hanmac ;)
<shevy> I would have never found it again
<shevy> it's so ugly
leehambley has joined #ruby
<shevy> if you combine it with eval(), it will truly become even uglier
<catphish> include clearly doesn't work as simply as i thought it did
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<sorbo_> shevy: this is awesome, thanks!
blackratdog has quit [Quit: This computer has gone to sleep]
jefflyne has quit [Ping timeout: 245 seconds]
Cyrus has quit [Quit: Cyrus.sleep()]
<workmad3> shevy: and so another metaprogramming monstrosity is born (from sorbo_'s imagination)
devoldmx has quit [Read error: Connection reset by peer]
<sorbo_> I think I've actually seen this in Metaprogramming Ruby
devoldmx has joined #ruby
<sorbo_> oh yeah
<shevy> yeah workmad3
<sorbo_> this is gonna get super horrifying super fast
nisstyre has joined #ruby
<sorbo_> it's gonna be awesome
<sorbo_> sorry, future people reading this codebase
<workmad3> sorbo_: :D
<shevy> I sometimes wonder if ruby could be made cleaner and simpler while retaining 99% of its features
elplatt has joined #ruby
lkba has joined #ruby
<workmad3> shevy: down that route lies java :(
<workmad3> shevy: or even PHP *shudder*
MrThePla_ has joined #ruby
MrThePlague has quit [Read error: Connection reset by peer]
<burlyscudd> shevy: Ruby isn't "clean and simple" now?
<udoprog> I never imagined I would see php connected to the sentence "cleaner and simpler"
cody-- has joined #ruby
brennanM_ has joined #ruby
<workmad3> udoprog: maybe not 'cleaner' but certainly 'simpler' (to the level of simplistic :) )
obs_ has quit [Quit: Konversation terminated!]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<workmad3> but then, to me, 'cleanness' is an aspect of ease much more than it is of simplicity
tsykoduk is now known as zz_tsykoduk
gcds has quit [Quit: gcds]
mary5030 has joined #ruby
robbyoconnor has joined #ruby
apeiros has joined #ruby
antix_ has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
vishal has quit [Remote host closed the connection]
<shevy> burlyscudd ruby code can be very complex
apeiros_ has joined #ruby
robbyoconnor has quit [Excess Flood]
<workmad3> ruby itself has a lot of complexity around it and in it
kdaigle has joined #ruby
antix has joined #ruby
hadees has quit [Quit: hadees]
<shevy> burlyscudd and some code is not very clean IMO, just look at what derekv2 showed earlier, https://github.com/calabash/calabash-android/blob/master/ruby-gem/lib/calabash-android/operations.rb#L42
taptapdan has joined #ruby
<shevy> look especially at this part:
antix is now known as Guest29376
<shevy> Then(txt)
<burlyscudd> shevy: ANY lang code can be very complex
<workmad3> however, a lot of ruby is aimed at being easy more than simple
<burlyscudd> shevy: yeah more people should learn about args hashes and using Hash#fetch
buibex has quit [Remote host closed the connection]
<burlyscudd> shevy: my team calls more than 2 ordered args a code smell
<burlyscudd> in a method def
alekst has joined #ruby
maletor has joined #ruby
<burlyscudd> shevy: but i don't see what about that line has anything to do w/ Ruby specifically
buibex has joined #ruby
<shevy> you think that def Then(i) is good?
robbyoconnor has joined #ruby
KobraKao has quit [Quit: Saindo]
<shevy> when it uses by convention upcased names for constants elsewhere
<burlyscudd> shevy: link?
<shevy> that project has some peculiarities
<burlyscudd> lol no that's kinda crap
apeiros has quit [Ping timeout: 246 seconds]
<burlyscudd> shevy: looking at this makes me think that this person has written a lot of Python before Ruby
<Hanmac> shevy: Quintus says that if ruby gets more magic comment like https://github.com/nobu/ruby/commit/523b2df87cdbebd48c114a6c9c5038c0a401b955#diff-54a1d1a13932a3199263f6c3fc2452b8R116 ruby would look like a macro language ;D
<shevy> calabash-android/cucumber.rb:World(Calabash::Android::ColorHelper)
<shevy> burlyscudd yeah, it's strange... that guy may possibly use another language in addition to ruby
<burlyscudd> shevy: sometimes it's kinda nice — like json gem assumes that JSON(<some hash>) is a call to encode the hash as JSON
<burlyscudd> shevy: Ruby lets you do all sorts of weird things
<shevy> Hanmac for some reason you are obsessed with frozen objects
<workmad3> 'def Then(txt)' makes me think he's writing something like a gherkin scenario runner
<burlyscudd> not quite as "blow your foot off with a shotgun" as some things (Lua, anyone?), but you can still be so "expressive" that you do stupid stuff
<burlyscudd> it's not prescriptivist
<apeiros_> burlyscudd: not really "assumes". it's Kernel#JSON
<burlyscudd> like Python
<apeiros_> i.e., a method
<shevy> !!!
<Hanmac> shevy: i found a crown ... ;P (AdventureTime reference ;P )
<shevy> Kernel#JSON()
<shevy> !!!!!
acrussell has joined #ruby
<burlyscudd> apeiros_: oh is that in Kernel now? cool I thought that was in the gem
<apeiros_> it's in stdlib
<shevy> lol ... look at this
<shevy> >> Kernel#JSON(5/0)
<eval-in> shevy => Kernel (https://eval.in/52561)
acrussell has left #ruby [#ruby]
<apeiros_> but that's irrelevant on where the method is defined on
<burlyscudd> apeiros_: must be a 1.9 thing?
<shevy> oh
<burlyscudd> or 2.x?
<apeiros_> stdlib as of 1.9
<shevy> >> Kernel.JSON(5/0)
<eval-in> shevy => divided by 0 (ZeroDivisionError) ... (https://eval.in/52562)
<burlyscudd> apeiros_: yeah by "assume" i meant not really a logic choice so much as a design one
<apeiros_> burlyscudd: every gem can define methods on Kernel too
<workmad3> >> JSON("{'foo': 'bar'}")
<eval-in> workmad3 => undefined method `JSON' for main:Object (NoMethodError) ... (https://eval.in/52563)
girija_ has joined #ruby
ukd1 has joined #ruby
<workmad3> >> require 'json'; JSON("{'foo': 'bar'}")
<eval-in> workmad3 => (https://eval.in/52564)
<burlyscudd> apeiros_: holy shit man plz tell me more stuff like that
<shevy> workmad3 you failed!!!
<burlyscudd> :-p
<burlyscudd> apeiros_: you mean in Ruby we can define methods on core classes at runtime? omfg. no idea.
<burlyscudd> :-p
<enebo> You guys know why he defined the method 'Then' right?
<shevy> no idea
ananthakumaran has quit [Quit: Leaving.]
<shevy> but apeiros also uses then a lot
<shevy> :-)
sambao21 has joined #ruby
<apeiros_> burlyscudd: dude, you were the guy all assuming method in Kernel meant it was in ruby core
Guest29376 has quit [Ping timeout: 256 seconds]
<enebo> He can define a 'then()' but he cannot call it because the Ruby grammar cannot use it as an ordinary call
coaster has quit [Ping timeout: 248 seconds]
<apeiros_> shevy: no longer. we voted it off in our company style guide :(
<shevy> if x then do_something() else bla() end
<enebo> he would have to 'send :then' to make it work
<shevy> apeiros_ yippie!!!
buibex has quit [Ping timeout: 264 seconds]
girija has joined #ruby
axl_ has quit [Quit: axl_]
<burlyscudd> apeiros_: ??
<shevy> apeiros_ I like your company style guide already
elplatt has quit [Quit: elplatt]
<shevy> apeiros introduce halsbe 3.0 to them :P
<apeiros_> >> 17:05 burlyscudd: apeiros_: oh is that in Kernel now? cool I thought that was in the gem
<eval-in> apeiros_ => /tmp/execpad-b50507802343/source-b50507802343:2: syntax error, unexpected ':', expecting keyword_end ... (https://eval.in/52566)
<enebo> Maybe they should have picked another name altogether but the capitalization was done to work around Ruby grammar issue
<apeiros_> gah shat app eval-in
antix_ has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
<apeiros_> Kernel <-> gem - entirely unrelated
mklappstuhl has quit [Remote host closed the connection]
<shevy> enebo well
<shevy> enebo sometimes ruby puts restrictions onto people
RichardBaker has joined #ruby
<shevy> def foo(class='5')
<shevy> @bla.css_class = class
<shevy> end
<burlyscudd> apeiros_: lol
robbyoconnor has quit [Excess Flood]
<enebo> shevy: yeah there are some reserved words…I am just pointing out it was to work around the restriction
<shevy> I actually changed that to def foo(css_class='5') then because class would not work as argument name :P
<shevy> I see
<enebo> I see 'clazz' too :)
<enebo> or 'klass'
<shevy> and klass
<workmad3> klass seems to be more idomatic
schaerli has quit [Remote host closed the connection]
<shevy> I hate Klass... it reads semi-german
<workmad3> *idiomatic
<shevy> Eigenclass is the one I hate the most though
<shevy> it's as if you would write Selfclass
khushildep has joined #ruby
schaerli has joined #ruby
<workmad3> shevy: I preferred 'eigenclass' to 'singleton_class'
theRoUS has quit [Ping timeout: 256 seconds]
<shevy> hmm
<Hanmac> "eigenclass" sounds a bit ego-centric ;P
<shevy> yeah
<workmad3> Hanmac: they kinda are ego-centric things though ;)
<shevy> eigen... selbst, sich selbst... self
<workmad3> Hanmac: they're classes for a specific object ;)
<shevy> for itself?
DaniG2k has quit [Ping timeout: 245 seconds]
RichardBaker has quit [Client Quit]
<shevy> workmad3 I can't quite grasp the word singleton either
<Hanmac> "singleton_class : where Hanmac hive his evil constants"
<shevy> I try to translate it "this object exists only once"
<shevy> hive?
<shevy> you have a hive like the Borg?
<Hanmac> i mean hide
<workmad3> shevy: yeah, that's because 'singleton_class' is a stupidly overloaded term
girija has quit [Quit: Ex-Chat]
girija_ has quit [Quit: Ex-Chat]
<workmad3> but it's what has ended up in ruby so :(
<shevy> hehe
<shevy> still better than having a monad_class
<Hanmac> what about this? ;P
<Hanmac> >> Object.new.singleton_class.singleton_class
<eval-in> Hanmac => #<Class:#<Class:#<Object:0x41631294>>> (https://eval.in/52569)
nari has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby
nari has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
<workmad3> >> Class.singleton_class.class.singleton_class == Class.singleton_class
<eval-in> workmad3 => true (https://eval.in/52572)
ukd1 has quit [Remote host closed the connection]
joaoh82 has quit [Remote host closed the connection]
schaerli has quit [Ping timeout: 252 seconds]
ukd1 has joined #ruby
svector has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<Hanmac> >> class << Object.new;class ABC;self;end;end
<eval-in> Hanmac => #<Class:0x40775138>::ABC (https://eval.in/52574)
<shevy> oh man
svector has quit [Max SendQ exceeded]
<Hanmac> shevy: thats what i mean with "hide" ;P
conner has joined #ruby
dancarda_ has joined #ruby
pwh has joined #ruby
ukd1 has quit [Read error: Connection reset by peer]
pr0ggie has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
svector has joined #ruby
ukd1 has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
dancardamore has quit [Ping timeout: 248 seconds]
platzhirsch has joined #ruby
shay- has quit [Remote host closed the connection]
ukd1 has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
kazuuu_ has quit [Remote host closed the connection]
<catphish> is there an opposite to =~
ukd1 has joined #ruby
<catphish> !=~ doesn't do what i'd want it to :)
ukd1 has quit [Remote host closed the connection]
kazuuu has joined #ruby
<catphish> ah i think !~ is what i want
hadees has joined #ruby
alup has quit [Quit: Leaving]
antix_ has quit [Ping timeout: 246 seconds]
Anticom has quit [Quit: Nettalk6 - www.ntalk.de]
alx- has joined #ruby
hadees has quit [Read error: Connection reset by peer]
conner has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
ukd1 has joined #ruby
tabolario has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Computer has gone to sleep.]
sevenseacat has quit [Quit: Leaving.]
mengu has quit [Remote host closed the connection]
kazuuu has quit [Ping timeout: 260 seconds]
buibex has joined #ruby
Soda has quit [Remote host closed the connection]
i_s has joined #ruby
persand has quit [Quit: persand]
zerun0 has quit [Read error: Operation timed out]
freezey has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
theRoUS has joined #ruby
<platzhirsch> boolean
antix_ has joined #ruby
zerun0 has joined #ruby
mgorbach has quit [Ping timeout: 264 seconds]
funburn has joined #ruby
funburn has quit [Client Quit]
BigBeerJR has left #ruby ["Konversation terminated!"]
brockf has joined #ruby
hamakn has joined #ruby
Jdubs has joined #ruby
interactionjaxsn has joined #ruby
xcfox has joined #ruby
Jdubs has quit [Remote host closed the connection]
ahawkins has quit [Quit: leaving]
chrishough has joined #ruby
lsmola has quit [Ping timeout: 240 seconds]
antix_ has quit [Ping timeout: 240 seconds]
mgorbach has joined #ruby
Schmidt has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
hamakn has quit [Ping timeout: 245 seconds]
bricker`LA has quit [Ping timeout: 240 seconds]
bricker`LA has joined #ruby
vishal has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
valesk has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
apeiros_ has quit [Ping timeout: 252 seconds]
kmurph has joined #ruby
kaspergrubbe has quit [Ping timeout: 252 seconds]
nomenkun has quit [Ping timeout: 252 seconds]
pwh has quit []
airtonix_ has joined #ruby
airtonix has quit [Ping timeout: 246 seconds]
bpgoldsb has left #ruby [#ruby]
antix_ has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
Schmidt has joined #ruby
jlast has joined #ruby
antix_ has joined #ruby
bpgoldsb has joined #ruby
<bpgoldsb> join #python
blastDAbLast has quit [Read error: Connection reset by peer]
kiri has quit [Quit: Leaving]
yano has quit [Read error: Connection reset by peer]
buibex has quit [Remote host closed the connection]
butblack has quit [Quit: butblack]
T_T has joined #ruby
Tearan has joined #ruby
dancarda_ has quit []
ananthakumaran has joined #ruby
pnbeast has joined #ruby
DanKnox_away is now known as DanKnox
jbynum has quit [Quit: Computer has gone to sleep.]
nbrosnahan has quit [Quit: Textual IRC Client: www.textualapp.com]
nbrosnahan has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
g0bl1n has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
yano has joined #ruby
neo_ has joined #ruby
amacgregor_ has quit [Read error: Connection reset by peer]
Guest51551 has quit [Remote host closed the connection]
<bean> bpgoldsb: no
kmurph has quit [Quit: kmurph]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
DaniG2k has joined #ruby
amacgregor has joined #ruby
mrsolo has joined #ruby
kleinerdrache has joined #ruby
raphaelivan has joined #ruby
brennanM_ has quit [Remote host closed the connection]
<shevy> lol
JeanMertz has quit []
sorbo_ has quit [Quit: sorbo_]
kevinykchan has joined #ruby
Boohbah has quit [Remote host closed the connection]
Bry8Star{T2 has quit [Remote host closed the connection]
Kabaka has quit [Remote host closed the connection]
end_guy has quit [Write error: Connection reset by peer]
JPascal has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has joined #ruby
kindjal has quit [Ping timeout: 245 seconds]
bklane has quit [Remote host closed the connection]
bklane has joined #ruby
tylersmith has quit [Remote host closed the connection]
zz_tsykoduk is now known as tsykoduk
tylersmith has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
juarlex_ has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
DaniG2k has quit [Quit: leaving]
<platzhirsch> bpgoldsb: How dare you?
Levin_22 has joined #ruby
<bpgoldsb> irssi didn't auto join the right channels and my fat fingers missed the / :P
Spami has quit [Quit: This computer has gone to sleep]
antix has joined #ruby
antix has joined #ruby
antix has quit [Changing host]
Bry8Star{T2 has joined #ruby
<bean> yeah but this is #ruby
<bean> python is the devils work
arturas_ has quit [Ping timeout: 240 seconds]
antix is now known as Guest45553
valesk has quit [Remote host closed the connection]
bklane has quit [Ping timeout: 264 seconds]
valesk has joined #ruby
Boohbah has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
jlebrech has quit [Quit: Konversation terminated!]
einarj has quit [Remote host closed the connection]
<xybre> Devilry is the pythonistas work.
<shevy> fat fingers that is all relative
<shevy> I can't handle smartphones for shit with mine
<shevy> and laptops neither :(
coaster has joined #ruby
mklappstuhl has joined #ruby
dancardamore has joined #ruby
Lewix has joined #ruby
ssvo has joined #ruby
<valesk> Quassl is broken on windows wahhhhhhhhhhhhhhhh!
<platzhirsch> bpgoldsb: what? That totally blows the joke. I love channel wars
juarlex has joined #ruby
iliketurtles has joined #ruby
IceDragon has quit [Quit: Space~~~]
iliketurtles has quit [Client Quit]
<platzhirsch> but Python makes me wonder, started to code more in Python before I dived into my Ruby project. Do you really learn a lot of learning two similar dynamic languages? Shouldn't another langauge be more far off this cluster, for instance a FPL
pen has joined #ruby
endash has joined #ruby
iliketurtles has joined #ruby
valesk has quit [Read error: Connection reset by peer]
Guest45553 has quit [Ping timeout: 240 seconds]
starfox21 has joined #ruby
rh1n0 has quit [Quit: Linkinus - http://linkinus.com]
valesk has joined #ruby
pwh has joined #ruby
dagobah has quit [Remote host closed the connection]
emergion has joined #ruby
siwica has quit [Quit: siwica]
Voodoofish430 has joined #ruby
valesk has quit [Remote host closed the connection]
antix_ has joined #ruby
Ox6abe has joined #ruby
bklane has joined #ruby
noname001 has quit [Read error: Operation timed out]
axl_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Nss has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
engel has joined #ruby
pel_daniel has joined #ruby
sambao21 has joined #ruby
nyuszika7h has joined #ruby
lfox has quit [Quit: ZZZzzz…]
<nyuszika7h> how can I get a Ruby script to print an array in the format [1, 2, 3, ...] instead of one value per line?
petey has joined #ruby
petey has quit [Read error: Connection reset by peer]
aspires has joined #ruby
petey has joined #ruby
blackratdog has joined #ruby
<nyuszika7h> ah, .to_s works, I was using optparse wrng
<nyuszika7h> *wrong
antix_ has quit [Ping timeout: 245 seconds]
user258467 has quit [Quit: Quitte]
xk_id has quit [Quit:
engel has quit [Client Quit]
pushpak has joined #ruby
mohawkjohn has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
clov3r has joined #ruby
nbrosnahan has quit [Quit: Textual IRC Client: www.textualapp.com]
valesk has joined #ruby
sambao21 has quit [Client Quit]
neo_ has quit [Quit: This computer has gone to sleep]
maletor has joined #ruby
baroquebobcat has joined #ruby
codecop has joined #ruby
brennanMKE has joined #ruby
Ox6abe_ has joined #ruby
kemist has joined #ruby
pwh has quit []
tkuchiki has quit [Remote host closed the connection]
<canton7> nyuszika7h, 'p [1, 2, 3]' or 'puts [1, 2, 3].inspect', they're equivalent
tkuchiki has joined #ruby
conner has joined #ruby
nomenkun has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
engel has joined #ruby
soheil has joined #ruby
schaerli has joined #ruby
Ox6abe has quit [Ping timeout: 256 seconds]
pwh has joined #ruby
mklappstuhl has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
cody-- has quit [Quit: derp]
_bart has quit [Ping timeout: 264 seconds]
kemist has quit [Ping timeout: 248 seconds]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
elplatt has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
RichardBaker has joined #ruby
smoothbu_ has joined #ruby
angusiguess has quit [Read error: Connection reset by peer]
antix_ has joined #ruby
sarlalian has joined #ruby
angusiguess has joined #ruby
smoothbutta has quit [Read error: Connection reset by peer]
zerun0 has quit [Quit: Leaving]
noop has quit [Ping timeout: 252 seconds]
noop has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
engel has quit [Quit: WeeChat 0.4.1]
Brando753 has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Quit: zzzzz…..]
BRMatt has quit [Quit: Leaving]
iamjarvo has quit [Remote host closed the connection]
badquanta has quit [Ping timeout: 245 seconds]
mmozuras has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
Mars` has joined #ruby
heidi has joined #ruby
dgfdgf has joined #ruby
Brando753 has joined #ruby
sectionme has quit [Ping timeout: 240 seconds]
relix has joined #ruby
mmozuras has joined #ruby
mmozuras has quit [Client Quit]
duggiefresh has quit [Remote host closed the connection]
simplyaubs has quit [Quit: simplyaubs]
Elhu has quit [Quit: Computer has gone to sleep.]
duggiefresh has joined #ruby
Coffers_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
DanKnox is now known as DanKnox_away
`MArceLL` has quit [Ping timeout: 252 seconds]
antix_ has quit [Ping timeout: 260 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
cody-- has joined #ruby
antix_ has joined #ruby
iamjarvo has quit [Ping timeout: 252 seconds]
kpshek has joined #ruby
shredding has quit [Quit: shredding]
zastern_ has joined #ruby
Elhu has joined #ruby
Elhu has quit [Client Quit]
chrishough has quit [Quit: chrishough]
freezey has quit [Remote host closed the connection]
KobraKao has joined #ruby
jefflyne has joined #ruby
zastern_ has quit [Read error: Connection reset by peer]
conner has quit [Ping timeout: 264 seconds]
zastern_ has joined #ruby
mansi has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
duggiefresh has quit [Ping timeout: 252 seconds]
Ox6abe_ has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
mansi has joined #ruby
raphaelivan has quit [Quit: Leaving.]
zastern_ has quit [Remote host closed the connection]
schaerli has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
zastern has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
engel has joined #ruby
dangerousdave has joined #ruby
antix_ has quit [Ping timeout: 256 seconds]
Xeago has quit [Remote host closed the connection]
jaimef has joined #ruby
heidi has quit [Quit: Leaving.]
engel has quit [Client Quit]
engel has joined #ruby
antix_ has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
adeponte has joined #ruby
sambao21 has joined #ruby
schaerli has quit [Ping timeout: 264 seconds]
danman has joined #ruby
schaerli has joined #ruby
TMM has quit [Quit: Ex-Chat]
sambao21 has quit [Client Quit]
petey has quit [Remote host closed the connection]
gnnr has joined #ruby
petey has joined #ruby
havenwood has joined #ruby
rdark has quit [Quit: leaving]
khushildep_ has joined #ruby
DanKnox_away is now known as DanKnox
antix_ has quit [Ping timeout: 246 seconds]
khushildep_ has quit [Client Quit]
lfox has joined #ruby
kazuuu has joined #ruby
sambao21 has joined #ruby
scarolan_ has joined #ruby
mark_locklear has quit [Quit: Leaving]
engel has left #ruby [#ruby]
scarolan1 has joined #ruby
schaerli has quit [Remote host closed the connection]
mark_locklear has joined #ruby
antix_ has joined #ruby
aspires has quit [Quit: aspires]
scarolan_ has quit [Client Quit]
scarolan1 has quit [Client Quit]
scarolan has quit [Quit: Lost terminal]
notjohn has quit [Quit: notjohn]
schaerli has joined #ruby
khushildep has quit [Ping timeout: 256 seconds]
scarolan has joined #ruby
chrishough has joined #ruby
dhruvasagar has joined #ruby
petey has quit [Ping timeout: 245 seconds]
JeanMertz has joined #ruby
notjohn has joined #ruby
ejfinneran has joined #ruby
intuxicated has quit [Quit: Leaving]
intuxicated has joined #ruby
kilophoton has quit [Ping timeout: 252 seconds]
<shevy> platzhirsch my main problem with python was that I felt that ruby and python fill a too similar niche
Stygia has quit [Quit: Leaving]
<platzhirsch> shevy: yes, that's pretty much my point
<shevy> I think it is very true
schaerli has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
<shevy> I had more fun working with nimrod than working through python tutorials, simply because nimrod is different to both python and ruby
Nogbit has quit [Ping timeout: 246 seconds]
<shevy> python has good documentation though
<shevy> and more people than ruby :(
zarubin has quit [Ping timeout: 245 seconds]
<platzhirsch> more people who program Python?
antix_ has quit [Ping timeout: 246 seconds]
DrShoggoth has joined #ruby
<shevy> yeah
<shevy> in Python
mrsolo has quit [Quit: This computer has gone to sleep]
cj3kim has joined #ruby
<platzhirsch> I would not consider this a good thing, I already feel too mainstream with Ruby
_bart has joined #ruby
<shevy> 1273 on #python, 895 here
<platzhirsch> although there are other considerations, like job opportunities ^^
<platzhirsch> well I could go there and say: join #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<shevy> one day python will overthrow php
mohawkjohn has quit [Quit: This computer has gone to sleep]
<platzhirsch> Python is used by so many non-professionals though
lukec has quit [Quit: lukec]
<shevy> the TIOBE index is some fucked up thing... how can ruby drop in one month so much behind perl suddenly...
<havenwood> Tiobe ranking is pretty bizarre though...
<shevy> did all the guys who use ruby before die or what
<platzhirsch> :P
<shevy> TIOBE must pull that data from chicken bones
petey has joined #ruby
<havenwood> shevy: The Tiobe ranking is whack. Look at RedMonk.
<Rylee> With Ruby, would there be any way to watch a specified file for size changes and get the new size?
<shevy> havenwood yeah these seem more sensible
<shevy> Rylee there used to be inotify bindings
<platzhirsch> I should take a language below 10
<shevy> notifier.watch("path/to/foo.txt", :modify) {puts "foo.txt was modified!"}
<havenwood> shevy: At least RedMonk looking at Github and StackOverflow shows *something*. Tiobe's looking at how many times a lang shows up on a search engine is silly, especially with the large amount of false positives and negatives they seem to get.
<platzhirsch> havenwood: well, that was a metric.. back in 200x
Targen has quit [Ping timeout: 240 seconds]
<havenwood> aye
<havenwood> Rylee: Or Guard: https://github.com/guard/guard#readme
iliketurtles has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
stuartrexking has joined #ruby
clov3r has quit [Remote host closed the connection]
freezey has joined #ruby
tylersmith has joined #ruby
clov3r has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
Ox6abe has joined #ruby
<shevy> COBOL rank 20 on TIOBE ...
ghr has quit [Quit: Computer has gone to sleep.]
antix_ has quit [Ping timeout: 252 seconds]
<shevy> won't take long and COBOL overtakes ruby according to TIOBE
MrHacks has joined #ruby
<havenwood> clearly take a look at COBOL for any new projects
<havenwood> >.>
jbynum has joined #ruby
svector has quit [Ping timeout: 240 seconds]
<MrHacks> Anyone know of a good non-infinite "redo" statement example in Ruby?
antix_ has joined #ruby
carraroj has quit [Client Quit]
<platzhirsch> redo? as in retry?
<shevy> loop {}
<MrHacks> no, just "redo"
<havenwood> MrHacks: 1.times { puts 'hi'; redo }
kmurph has joined #ruby
Mars` has quit [Remote host closed the connection]
Macaveli has joined #ruby
<havenwood> MrHacks: Or you want a realistic use?
<platzhirsch> well in case of an exception of course
<MrHacks> something more realistic
carraroj has joined #ruby
<platzhirsch> I have retry inside a rescue statement, the same would apply if the rescue is inside a loop and you want to redo the loop's iteration
<platzhirsch> loop { ... curl query, rescue Curl::ClientError, redo ... } ?
<MrHacks> I'm not interested in "retry" just yet. I just want to wrap my head around "redo"
notjohn has quit [Quit: notjohn]
petey has quit [Remote host closed the connection]
<havenwood> MrHacks: Think of `retry` as starting the loop over from the start, whereas `redo` just takes the iteration it is currently on and redoes just it.
petey has joined #ruby
jlast has joined #ruby
Zerogrifter has joined #ruby
SilverKey has joined #ruby
filipe has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
mansi has joined #ruby
DaZ has quit [Read error: Operation timed out]
troessner has quit [Quit: Leaving]
Nogbit has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
notjohn has joined #ruby
cj3kim has quit [Remote host closed the connection]
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
taptapdan has quit [Quit: taptapdan]
iamjarvo_ has joined #ruby
antix has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
<nyuszika7h> is there a better way to do this? http://ix.io/8kY/ruby
antix is now known as Guest95755
<nyuszika7h> this takes about 1.195 seconds for me
saarinen has joined #ruby
Kneferilis has quit [Read error: Connection reset by peer]
iamjarvo has quit [Ping timeout: 245 seconds]
<Eiam> nyuszika7h: you want to find all palindromes between 100 and 999 ?
<Eiam> no, the largest palindrome
<nyuszika7h> yes, the largest
tonini_ has joined #ruby
<Eiam> I can think of a few different ways to implement the same thing
<Eiam> but its still the same thing ;p
lyanchih has joined #ruby
Monie has joined #ruby
iamjarvo_ has quit [Ping timeout: 246 seconds]
<Eiam> different performance characteristics though
Floydzy has quit [Quit: Floydzy]
clov3r has joined #ruby
Nuck has quit [Ping timeout: 268 seconds]
mrsolo has joined #ruby
c0rn has joined #ruby
Guest95755 has quit [Ping timeout: 256 seconds]
<platzhirsch> That's nice, about the whole strings vs. symbols: "Conceptually, if it's a name for something in code, it should be a symbol. If it's domain data, it should be a string. If it's both, it's probably better to go with a symbol."
DaZ has joined #ruby
PLejeck has joined #ruby
einarj has joined #ruby
vishal has quit [Remote host closed the connection]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
clov3r has quit [Read error: Connection reset by peer]
tatsuya_o has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
kaldrenon has quit [Remote host closed the connection]
notjohn has quit [Quit: notjohn]
kaldrenon has joined #ruby
catphish has quit [Quit: Leaving]
heidi has joined #ruby
_bart has quit [Remote host closed the connection]
blackratdog has quit [Quit: This computer has gone to sleep]
twoism has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duggiefresh has joined #ruby
vishal has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
notjohn has joined #ruby
einarj has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
staafl has joined #ruby
whunt has joined #ruby
kaldrenon has quit [Ping timeout: 246 seconds]
staafl has quit [Max SendQ exceeded]
nisstyre has quit [Quit: Leaving]
staafl has joined #ruby
jlast has quit [Remote host closed the connection]
clov3r has joined #ruby
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
jlast has joined #ruby
klaut has quit [Remote host closed the connection]
kaldrenon has joined #ruby
petey has quit [Remote host closed the connection]
jonathanwallace has quit [Read error: Operation timed out]
petey has joined #ruby
petey has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: This computer has gone to sleep]
petey has joined #ruby
sarlalia1 has joined #ruby
sarlalian has quit [Quit: WeeChat 0.4.1]
Spami has joined #ruby
dhruvasagar has joined #ruby
devoldmx3 has quit [Ping timeout: 245 seconds]
sarlalia1 has quit [Client Quit]
carlyle has joined #ruby
sarlalian has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
jlast has quit [Read error: Operation timed out]
Macaveli has quit [Remote host closed the connection]
<Rylee> Would anyone be willing to take a look over https://gist.github.com/anonymous/6829518 for me? I'm puzzled as to why it errors out. Preferably someone familiar with rb-inotify.
interactionjaxsn has joined #ruby
<workmad3> Rylee: how does it error out?
antix_ has quit [Ping timeout: 260 seconds]
ejfinneran has quit [Quit: ejfinneran]
Monie has joined #ruby
jefflyne1 has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 252 seconds]
interactionjaxsn has quit [Ping timeout: 245 seconds]
<Rylee> err, i just got it - replaced all instances of "path" and "name" with "absolute_name"
<Rylee> sorry for the dumbness :p
Davey has quit [Quit: Computer has gone to sleep.]
pwh has quit []
<workmad3> Rylee: :)
<workmad3> Rylee: did you mean for your 'data' file to only ever contain the lastest event btw?
jefflyne has quit [Ping timeout: 260 seconds]
<Rylee> workmad3, no, that's what i'm going to be working on now
<workmad3> Rylee: File.open("data", "w") << change 'w' to 'a'
larissa has quit [Ping timeout: 245 seconds]
radic_ has quit [Ping timeout: 240 seconds]
<Rylee> the use case is watching a number of designated files and graphing the size changes over time - the files will be log files generated by a cron job and the main thing we're looking out for is if the file size of one of them drops to zero since that means that a source of data has just been shut down for some reason
carraroj has quit [Read error: Operation timed out]
<workmad3> Rylee: maybe you want to be using the ruby Logger class then?
<Rylee> hmm, perhaps
<Rylee> i didn't think of Logger, but that would work well if it has a way to parse the logs it outputs
sunya7a has joined #ruby
Squarepy has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
radic has joined #ruby
pwh has joined #ruby
antix_ has quit [Ping timeout: 264 seconds]
colonolGron has joined #ruby
<workmad3> Rylee: nah, what you'd want to do is log out with Logger to get a more standard format (including things like timestamps) and then you can use a log watching or log alerting program to handle the other side
<workmad3> Rylee: something like logwatch for example ;)
<sunya7a> hi...how can I force CSV objects to raise an error when I reference a non-existent key?
<sunya7a> I tried using fetch, but it raised a NoMethod error
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Al____ has quit [Quit: Al____]
Xeago has joined #ruby
jlast has joined #ruby
r0bgl33s0n has quit [Quit: WeeChat 0.4.1]
r0bgleeson has joined #ruby
tonini_ has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
<platzhirsch> What would you call these here? govdata.de, data.gov.uk, publicdata.eu, ... domains?
ehaliewicz has joined #ruby
<popl> URIs?
<popl> not well-formed, though
sectionme has joined #ruby
starfox21 has quit [Quit: starfox21]
antix_ has quit [Ping timeout: 240 seconds]
mansi has quit [Remote host closed the connection]
<platzhirsch> popl: yeah, definitely no uris :)
mansi has joined #ruby
elaptics is now known as elaptics`away
antix_ has joined #ruby
<Rylee> hmm, workmad3 (or anyone, really) - thoughts on this? https://gist.github.com/anonymous/6829782 is the current solution but there is ONE problem where it outputs the data twice
<platzhirsch> maybe I just drop that concept of a separate id and generate it from the actual URI
tjbiddle has joined #ruby
lyanchih has quit [Quit: lyanchih]
shvelo has joined #ruby
sectionme has quit [Ping timeout: 245 seconds]
jonathanwallace has joined #ruby
Macaveli has joined #ruby
jbynum has quit [Quit: Computer has gone to sleep.]
Xeago has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tsykoduk is now known as zz_tsykoduk
interactionjaxsn has joined #ruby
Monie has joined #ruby
mark_locklear has quit [Ping timeout: 246 seconds]
T_T has quit [Remote host closed the connection]
_bart has joined #ruby
Macaveli has quit [Client Quit]
antix_ has quit [Ping timeout: 260 seconds]
freezey has quit [Remote host closed the connection]
sarlalian has quit [Quit: WeeChat 0.4.0]
sarlalian has joined #ruby
cj3kim has joined #ruby
eka has quit [Ping timeout: 245 seconds]
Xeago has quit [Ping timeout: 252 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
Monie has quit [Client Quit]
eka has joined #ruby
freezey has joined #ruby
platzhirsch has quit [Ping timeout: 240 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
petey has quit [Remote host closed the connection]
kilophoton has joined #ruby
petey has joined #ruby
zz_tsykoduk is now known as tsykoduk
arietis has joined #ruby
rezzack has joined #ruby
atno has joined #ruby
raphaelivan has joined #ruby
<havenwood> Rylee: Do you have the files listed twice in FILES?
<Rylee> havenwood, no
antix_ has quit [Ping timeout: 252 seconds]
kilophoton has quit [Read error: Operation timed out]
<havenwood> Rylee: Unrelated minor suggestions: use `warn` in place of `$stderr.puts`, `puts` in place of `p`, and indent the block inside your `begin` block (lines 16-19).
<havenwood> Rylee: I don't see why it'd be twice then, hrmm?!
<_bart> $! is magic
sambao21 has quit [Quit: Computer has gone to sleep.]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
allsystemsarego has quit [Quit: Leaving]
Macaveli has joined #ruby
<havenwood> >> require 'english'; $! == $ERROR_INFO
<eval-in> havenwood => (https://eval.in/52622)
<Rylee> i'll try again with only :modify
vpretzel has quit [Remote host closed the connection]
petey has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
jenny1986 has joined #ruby
<Rylee> nope, enope, still does it with only :modify and not :create. hmm. that line of thought is dead.
<havenwood> Rylee: mm, yeah maybe `event` isn't what we think it is?
jenny1986 has left #ruby [#ruby]
Jonah11_ has joined #ruby
<havenwood> Rylee: What does `p event` look like in that loop?
workmad3 has quit [Ping timeout: 248 seconds]
leynos has joined #ruby
lukec has joined #ruby
alex__c2022 has joined #ruby
danman has quit [Quit: danman]
sambao21 has joined #ruby
jbynum has joined #ruby
<Jonah11_> i am calling a proc which includes a return statement from within method_missing, and am getting a LocalJumpError. I thought a return in proc would return from the containing method (in this case method_missing)... why is not doing that?
leynos has quit [Client Quit]
badquanta has joined #ruby
_bart has quit [Remote host closed the connection]
ocnam has joined #ruby
jbrechtel has quit [Ping timeout: 245 seconds]
ColKurtz has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
<Rylee> sorry for how ugly this is, but https://gist.github.com/anonymous/471c563d34450949610e havenwood
<Rylee> those are the 2 that i get from `p event`
elplatt has quit [Remote host closed the connection]
elplatt has joined #ruby
jbrechtel has joined #ruby
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
swordsmanz has joined #ruby
kmurph has quit [Quit: kmurph]
clov3r has quit [Read error: Connection reset by peer]
antix is now known as Guest40345
<kleinerdrache> how can i run an other programm and having pipes there?
plotter has quit [Read error: No route to host]
<Rylee> I THINK i know what it is havenwood
gja has joined #ruby
<Rylee> i'm editing `hi` in vim
<havenwood> Rylee: aha!
<Rylee> when i :w it gets 2x modify
<shevy> kleinerdrache I would try so: system 'ls | sort'
<Rylee> but when i use tee --append on hi, there's only one
nemesit|znc has quit [Read error: Operation timed out]
nemesit|znc has joined #ruby
platzhirsch has joined #ruby
<kleinerdrache> shevy, i want to send an intern long string (more than 1000 words) to pandoc and get the output to ruby again....
mklappstuhl has joined #ruby
<Rylee> success!
plotter has joined #ruby
plotter has quit [Changing host]
plotter has joined #ruby
volty has joined #ruby
<shevy> kleinerdrache not sure
iamjarvo has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
jb41 has joined #ruby
Mars` has joined #ruby
colonolGron has quit [Ping timeout: 252 seconds]
Mars` has quit [Read error: Connection reset by peer]
swordsmanz has quit [Ping timeout: 264 seconds]
colonolGron has joined #ruby
gja has quit [Client Quit]
Guest40345 has quit [Ping timeout: 252 seconds]
<waxjar> IO.popen if i'm not mistaken
Mars` has joined #ruby
schaerli has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
redondos has joined #ruby
_nate is now known as n88
swordsmanz has joined #ruby
<shevy> I can never remember the syntax to IO.popen
ace_striker has joined #ruby
kindjal has joined #ruby
<^conner> Does anyone know of an rspec formatter for icinga/nagios plugins? I think I saw one once but google is only turning up cucumber-nagios
<havenwood> Jonah11_: Did you construct the `proc`? Can you just switch it to a `lambda`?
<redondos> hi. what is this regex doing exactly? I've never seen backreferences in the match, is this a Ruby-only (Perl?) feature? copy.sub!(/^(.)\1*/, '')
<redondos> what is the difference between using (.)\1* and .+ ?
kindjal has quit [Client Quit]
cj3kim has quit [Remote host closed the connection]
<redondos> I'm sure I'm not understanding what \1 does inside of a match.
raphaelivan has quit [Quit: Leaving.]
<havenwood> Jonah11_: Can you Gist the code that produces the LocalJumpError? I'm assuming there is an explicit `return`?
Mars` has quit [Ping timeout: 264 seconds]
<^conner> redondos, I assume that it refers to the what was just matched being repeated 0 or more times... why don't you try it http://rubular.com/
<platzhirsch> popl: I think it's called domain name
petey has joined #ruby
volty_ has joined #ruby
volty has quit [Ping timeout: 252 seconds]
aagdbl has joined #ruby
zeade has joined #ruby
abstrusenick has joined #ruby
<redondos> ^conner: but why not use .+ then?
antix_ has quit [Ping timeout: 256 seconds]
mgorbach has quit [Ping timeout: 246 seconds]
<^conner> redondos, that would be inside the capture group. Maybe (.)+ would be similar. I'm much more knowledgable about perl regex and ruby does have some differences
xk_id has joined #ruby
<Hanmac> redondos: /.{2}/ matches "ab" but /(.)\1/ does not
<redondos> oh yes
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<^conner> redondos, the website I linked you is very, very handy
iamjarvo has quit [Ping timeout: 252 seconds]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
Macaveli has quit [Read error: Connection reset by peer]
<redondos> i am trying to understand how this algorithm works: http://www.infused.org/2005/12/23/soundex-for-ruby
<shevy> Hanmac how do you happen to find such things and how comes you even have time to do so! :P
xcv has quit [Remote host closed the connection]
<redondos> particularly, why passing it a string such as soundex("jomnbf") makes it go through "mn" and collapse them, but then continue on to "bf"
Macaveli has joined #ruby
kindjal has joined #ruby
<platzhirsch> I have not find my inner peace yet with where to put line spaces in my code, sigh
<^conner> redondos, I suspect that (.)+ and (.)\1* are equivalent
<Hanmac> shevy: maybe i steal time? ;P nah today we had a "bridge"-day ... that means if a important holiday is on a Thursday, maybe we get free on the Friday too
<Hanmac> ^conner: nah they are not
<^conner> redondos, with the exception that the later is more greedy
<shevy> Hanmac nah not steal time but I am reading lectures on youtube and hacking on ruby at the same time :P
<^conner> Hanmac, oh? I can't seem to get a different result in testing strings
<shevy> and I always wonder how to get more time
jonathanwallace has joined #ruby
<Mon_Ouie> >> "abb" =~ /(.)+/
<eval-in> Mon_Ouie => 0 (https://eval.in/52632)
rezzack has quit [Quit: Leaving.]
<Mon_Ouie> >> "abb" =~ /(.)\1*/
<eval-in> Mon_Ouie => 0 (https://eval.in/52633)
sambao21 has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> Well, they both match, but the latter only matched "a"
<Mon_Ouie> The former regexp will match all of "abb"
antix_ has quit [Ping timeout: 264 seconds]
<redondos> ^conner: not really, because say for the string "aabbcc" (.) will match the whole thing while (.)\1* will only match "aa"
<Mon_Ouie> >> "abb" =~ /^(.)\1*$/
<eval-in> Mon_Ouie => nil (https://eval.in/52634)
<^conner> redondos, oh, I"m tracking now... Yes
<redondos> ^conner: still, in this algorithm, "aabbcc" turns into "abc"
<redondos> i don't see where that's happening
abstrusenick has quit [Quit: abstrusenick]
ghr has joined #ruby
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
jonathanwallace has quit [Client Quit]
<^conner> redondos, it's cutting the string down on each pass
<^conner> redondos, so it cuts of aa and on the first pass but the first match is only a
jonathanwallace has joined #ruby
soulcake has quit [Ping timeout: 260 seconds]
<redondos> why is it even doing more than one pass, if it's not gsub() but sub()
<volty_> Mon_Ouie: so?
xk_id has quit [Quit:
snovak has quit [Remote host closed the connection]
soulcake has joined #ruby
snovak has joined #ruby
<Mon_Ouie> volty_: So they don't math the same thing
kevinykchan has joined #ruby
<redondos> ^conner: oh i understand now
renanoronfle has quit [Quit: Leaving]
<redondos> ^conner: it's tr_s
<redondos> ^conner: i didn't know it removed duplicates
<volty_> Mon_Ouie: of course. But I can't understand if you are asking or just lecturing.
<^conner> I'll be, I didn't even know about string#tr_s... sorry, blind helping hte blind here
Davey has joined #ruby
pwh has quit []
<Mon_Ouie> volty_: ^conner asked about the difference
<volty_> Mon_Ouie: ops, sorry :)
freezey has quit [Remote host closed the connection]
<redondos> ^conner: thanks for the hints. incredible the all the magic happens in a method that looks so meaningless. ruby code will always be able to surprise me
Mars` has joined #ruby
Ox6abe has quit [Remote host closed the connection]
Tearan has quit [Quit: Sleepy Badger....]
antix_ has quit [Ping timeout: 240 seconds]
<Jonah11_> havenwood, the LocalJumpError is on line 7: http://pastie.org/8378165
freezey has joined #ruby
<platzhirsch> Ruby tries to be very clever
sambao21 has joined #ruby
<Mon_Ouie> Well, tr_s is not the most descriptive name ever thought of
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
<volty_> not much to try because it's born clever :)
<Hanmac> Jonah11_: proc does not allow return ... use break or lambda
tsykoduk is now known as zz_tsykoduk
Tearan has joined #ruby
<platzhirsch> Cleverness can also be absolute obscureness, making it totally unsound and hard to understand what's going on :P
<Hanmac> Jonah11_: and even this does may not do what you want
<platzhirsch> still clever though
<Jonah11_> Hanmac, that's not strictly true. a proc inside a method is supposed to return from the enclosing method, as i understrand it
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kaldrenon> If I have a class nested inside a module, can I reference the module from the class? 'super' naturally doesn't do what I'm after.
failshell has quit [Remote host closed the connection]
<^conner> Hanmac, I'm always confused about when to use next or break :(
jbynum has quit [Quit: Computer has gone to sleep.]
<platzhirsch> gosh, what is a good name for statistical numbers about an entity? I don't want to use statistics
deens has joined #ruby
<^conner> Hanmac, it seems like a lot of surprising semantics to avoid using named blocks
<canton7> next/break is pretty basic. next = skip to the next item in whatever you're iterating over, break = stop iterating
failshell has joined #ruby
<canton7> continue/break in most c-style languages
<kaldrenon> platzhirsch: would metrics work in your context? (It's hard to say without more context, I think)
<Jonah11_> Hanmac, nm I figured it out. It returns from the method in which it is *defined*
<platzhirsch> kaldrenon: that's pretty cool, but what are the odds? Metrics are the domain of my application, so it would be confused ^^
<^conner> canton7, how many languages allow next to return a value? as it's the only way to come out of a block param early without an exception
<Jonah11_> so i can't user a separate method to build it
<kaldrenon> platzhirsch: Hah, well that would hurt more than help. 'details' is another option
<canton7> ^conner, there is that, whici is handy but not required. and yes, just like 'break' is the only way to come out of a C for loop early
<canton7> *which
<platzhirsch> kaldrenon: yeah, been there, too. I hate details now :P maybe statistics is not so bad after all. I can only think of "numbers" or "quantifications"
mm__ has joined #ruby
mmm has quit [Ping timeout: 256 seconds]
antix_ has quit [Ping timeout: 241 seconds]
Kabaka has joined #ruby
KobraKao has quit [Quit: Saindo]
blackmesa has joined #ruby
<^conner> canton7, but a block isn't always a loop... that's why it's odd to use a loop control keyword to return a value
<Mon_Ouie> Common Lisp allows to break from a loop, etc. with a value. It doesn't make sense in languages where loops aren't expressions.
<^conner> canton7, break can't return a value
soulcake has quit [Read error: Connection reset by peer]
antix_ has joined #ruby
<canton7> ^conner, if you're thinking of blocks returning values, you probably actually wanted a lambda
<canton7> it sounds like you're using them like anonymous methods, which is what lambas are for
andikr has quit [Remote host closed the connection]
<^conner> canton7, can you pass a lambda in place of block arg to most methods?
soulcake has joined #ruby
<^conner> or does the method need to know it's getting a lambda?
alvaro_o has joined #ruby
<^conner> I guess I don't follow as to why an anonymous block/enclosure isn't really a lambda
<canton7> ^conner, you can
kmurph has joined #ruby
<^conner> canton7, that's pretty dang handy :)
<canton7> >> def foo(&blk); blk.call; end; foo(&lambda{ puts "hi" })
<eval-in> canton7 => hi ... (https://eval.in/52636)
Zerogrifter has quit [Ping timeout: 245 seconds]
pwh has joined #ruby
<w33dWizard[420]> query = @@db.prepare("SELECT * FROM Admins WHERE username = ?")
<canton7> ^conner, blocks in ruby replace normal code in most other languages - #each + a block replaces a for loop, File.open + block replaces 'using' in C#, etc. In those languages, it's dead handy to be able to return from the method from within those constructs
<w33dWizard[420]> is this a proper SELECT prepared statement in SQLite3?
xk_id has joined #ruby
cj3kim has joined #ruby
<canton7> ^conner, so blocks have the same semantics - return is scoped to the method. There's also the convenience of being able to omit params
<^conner> canton7, so why aren't all closures lambdas?
<canton7> for the reason I just gave?
antix_ has quit [Ping timeout: 245 seconds]
<^conner> oh, I gotcha, which is back to my original observation that it's a lot of effort just to avoid named blocks
<Mon_Ouie> For example consider this method: def find; each { |o| return o if yield o } end
randomnick_ has joined #ruby
Targen has joined #ruby
<Mon_Ouie> You want to be able to return the value from the method and stop the loop when you find a matching element
<canton7> ^conner, from my perspective (I know ruby, not lisp), named blocks are an awfully hacky workaround to just re-scoping return :P can named blocks return from the enclosing method anyway?
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
Ahti333 has quit [Quit: Textual IRC Client: www.textualapp.com]
mark_locklear has joined #ruby
threesome has joined #ruby
<^conner> canton7, I'm most familar with them from perl. return also applys to the enclosing sub but with you have many nested loops/etc. and use next/continue/break with the LABEL of the block you want to control
cj3kim has quit [Ping timeout: 264 seconds]
decoponio has quit [Quit: Leaving...]
<canton7> ^conner, ruby has throw/catch, but it's rare to see it in the wild. Only in extreme circumstances
<canton7> anyway, dinner!
<^conner> I honestly don't understand throw/catch in ruby... :)
<^conner> canton7, nice chatting with you!
deens has quit [Quit: deens]
deens has joined #ruby
chrishough has quit [Quit: chrishough]
<Mon_Ouie> throw/catch can be used like those break with label. If you have a block with catch(:foo) { … }, when you call throw(:foo, value) it will jump back to the matching try block and make it return the (optional) value you passed
reset has joined #ruby
<Mon_Ouie> It's a more dangerous (or, depending on your point of view, powerful) because it's not lexically scoped (e.g. the call to throw could be moved in a completely different method)
antix_ has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
tonini_ has joined #ruby
dkamioka has quit [Read error: Connection reset by peer]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
dkamioka has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
dkamioka has quit [Read error: Connection reset by peer]
Nss has quit [Ping timeout: 246 seconds]
soulcake has joined #ruby
dkamioka has joined #ruby
headius has quit [Quit: headius]
iamjarvo has joined #ruby
mrsolo has joined #ruby
sepp2k has joined #ruby
deens has quit [Quit: deens]
senayar_ has joined #ruby
deens has joined #ruby
headius has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
mansi has quit [Read error: Connection reset by peer]
Alex- has joined #ruby
alx- has quit [Read error: Connection reset by peer]
Alex- has quit [Client Quit]
platzhirsch has left #ruby [#ruby]
mansi has joined #ruby
senayar has quit [Read error: Connection reset by peer]
antix_ has quit [Ping timeout: 245 seconds]
mansi has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
gja has joined #ruby
jbynum has joined #ruby
xcfox has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
brennanMKE has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
mercwithamouth has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
zz_tsykoduk is now known as tsykoduk
soulcake_ has joined #ruby
krawchyk_ has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
iamjarvo has quit [Ping timeout: 245 seconds]
krawchyk_ has quit [Remote host closed the connection]
c0rn has joined #ruby
krawchyk has quit [Ping timeout: 245 seconds]
jbynum has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
antix has joined #ruby
antix has joined #ruby
antix has quit [Changing host]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antix is now known as Guest74435
ker2x_ has joined #ruby
<ker2x_> friendly greetings \o/
ewnd9 has quit [Ping timeout: 246 seconds]
<ker2x_> i'm using bunny to retrieve message from rabbitmq then i do body.to_json and i have this error i don't undertsand in `encode': "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError) can someone tell me what's happening please ?
<ker2x_> from ./mq2rs.rb:39:in `to_json'
SHyx0rmZ has joined #ruby
<ker2x_> the message was generated by this code https://github.com/restorando/fluent-plugin-amqp/blob/master/lib/fluent/plugin/out_amqp.rb so it's basically ruby to ruby with rabbitmq in the middle
elplatt has quit [Quit: elplatt]
Es0teric has joined #ruby
dsferreira has joined #ruby
pixelshuck has joined #ruby
skaflem has quit [Quit: Leaving]
Es0teric has quit [Max SendQ exceeded]
<pixelshuck> Hi. In a nutshell, how do I start developing in ruby in Windows?(as in, what to use)?
<Morrolan> http://rubyinstaller.org/ is fairly popular, I believe.
<billiam> pixelshuck: easiest way for me has been http://rubyinstaller.org/
<Morrolan> But, erm. If you have the choice, use an OS other than Windows. ;)
<Morrolan> It's not the ideal dev environment for Ruby.
Guest74435 has quit [Ping timeout: 264 seconds]
<pixelshuck> Morrolan, I'm usually a Linux guy. Heck, I even use Ubuntu backpack.
<pixelshuck> But currently, am forced to use Windows. Windows 8.
cj3kim has joined #ruby
<Morrolan> Okay then. :)
blackratdog has joined #ruby
valesk has quit [Ping timeout: 260 seconds]
<pixelshuck> And thanks for the link
<ker2x_> actually the message isn't generated by the json gem but by the yajl gem. perhaps i should try to use this gem on the consummer side ?
antix_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
tsykoduk is now known as zz_tsykoduk
Dave is now known as Guest72314
<ker2x_> meh
<pixelshuck> I want to develop a HTTP Client and server. What libraries shall I use?
noop has quit [Ping timeout: 245 seconds]
<pixelshuck> As in, what are the (better) options available?
chrishough has joined #ruby
<ker2x_> ho well, i try
<ker2x_> it's better than waiting :)
<dsferreira> pixelshuck, Why don't you use Vagrant?
<dsferreira> pixelshuck, If you're in windows its a nice environment to work with.
<pixelshuck> Looks nice, I'll take a deeper look now
<dsferreira> Or just virtual box with a ubuntu vm
cj3kim has quit [Ping timeout: 240 seconds]
<ker2x_> Parsing documentation for yajl-ruby-1.1.0
<ker2x_> unable to convert "\xB0" from ASCII-8BIT to UTF-8 for lib/yajl/yajl.so, skipping
<ker2x_> again ?
<pixelshuck> Honestly, I was thinking about getting an Crunchbang into vmware
<ker2x_> is this problem actually related to ruby2.0 ?
<dsferreira> Crunchbang?
<ker2x_> even gem is generating this weird error
<pixelshuck> Debian based distro
<dsferreira> ok
<dsferreira> what ever suits you better
kpshek has quit []
<dsferreira> Vagrant gives you some flexibility though
<pixelshuck> Thanks for the help tho
<ker2x_> guys ?
<dsferreira> Regarding the http client. What are you looking to achieve?
antix_ has quit [Ping timeout: 240 seconds]
<dsferreira> And works equal right with Vmware
<ker2x_> -_-'
banisterfiend has quit [Remote host closed the connection]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
mansi_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
jonathanwallace has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
<ker2x_> ok, seems to be related to ruby 2
Mars` has quit [Remote host closed the connection]
stonevil has joined #ruby
sambao21 has joined #ruby
mansi has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
Mars` has joined #ruby
* Dwarf np: The Kaiser Chiefs - Ruby
<Dwarf> :-)
RichardBaker has joined #ruby
nkts has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
<ker2x_> ./mq2rs.rb:39:in `encode': "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
<ker2x_> nope, same problem with ruby 1.9.3
_Minos_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]]
antix_ has quit [Ping timeout: 264 seconds]
<pixelshuck> dsferreira, task's quite easy to be honest, I have to write basic Client <-> Server application. I've decided for it to be a HTTP Protocol.
Mars` has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<pixelshuck> Connection, GET, HEAD, POST, PUT,
mary5030 has quit [Remote host closed the connection]
Bry8Star{T2 has quit [Remote host closed the connection]
Macaveli has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
valesk has joined #ruby
engel has joined #ruby
Bry8Star{T2 has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
mayorga has joined #ruby
freezey has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antix_ has quit [Ping timeout: 245 seconds]
pixelshuck has quit [Quit: Nettalk6 - www.ntalk.de]
ananthakumaran has quit [Quit: Leaving.]
<shvelo> can Ruby be used for websockets?
<r0bgleeson> shvelo: sure
<canton7> yeah, sure
<dsferreira> pixel shuck, Can you use a web framework for that?
sunya7a has quit [Quit: Leaving]
antix_ has joined #ruby
<shvelo> async stuff?
clov3r has joined #ruby
elplatt has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
blackratdog has quit [Quit: This computer has gone to sleep]
clov3r has quit [Read error: Connection reset by peer]
clov3r has joined #ruby
Sammael has quit [Ping timeout: 245 seconds]
<canton7> iirc eventmachine has a websockets module? I've used it in the past
Apocalypse has quit [Ping timeout: 245 seconds]
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
nanoxd has quit [Ping timeout: 240 seconds]
zarubin has joined #ruby
freezey has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
engel has left #ruby [#ruby]
Xeago has joined #ruby
stkowski has quit [Quit: stkowski]
robustus has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: chrishough]
nanoxd has joined #ruby
Mars` has joined #ruby
antix_ has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
petey has quit [Remote host closed the connection]
ged__ is now known as ged
cj3kim has joined #ruby
robustus has joined #ruby
petey has joined #ruby
arietis has quit [Client Quit]
arietis has joined #ruby
Macaveli has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
kazuuu has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
Guest72314 has quit [Quit: Linkinus - http://linkinus.com]
Xeago has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby
petey has joined #ruby
hackeron_ has quit [Ping timeout: 264 seconds]
reset has quit [Quit: Leaving...]
cj3kim has quit [Ping timeout: 246 seconds]
antix_ has quit [Ping timeout: 252 seconds]
atno has quit [Ping timeout: 245 seconds]
aspires has quit [Quit: aspires]
funburn has joined #ruby
vishal has quit [Remote host closed the connection]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
funburn has quit [Client Quit]
pwh has quit []
clov3r has quit [Read error: Connection reset by peer]
petey has quit [Ping timeout: 240 seconds]
Astralum has joined #ruby
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
geekbri has quit [Remote host closed the connection]
atno has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
carlyle has quit [Remote host closed the connection]
clov3r has joined #ruby
adeponte has quit [Ping timeout: 240 seconds]
relix has joined #ruby
freezey has quit [Remote host closed the connection]
<kaldrenon> Is there a preferred technique for managing the 'files' value inside a gemspec, other than maintaining it by hand?
antix_ has joined #ruby
JMcAfreak has joined #ruby
peregrine81 has joined #ruby
kilophoton has joined #ruby
v0n has quit [Quit: WeeChat 0.4.2-dev]
iliketurtles has joined #ruby
cousine has joined #ruby
v1n has joined #ruby
<Morrolan> kaldrenon: Using a version control system?
zz_tsykoduk is now known as tsykoduk
<canton7> kaldrenon, globs?
gr33n7007h has joined #ruby
nomenkun has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
<kaldrenon> Morrolan: as in using git ls-files?
<Morrolan> And split by newlines, yes.
clov3r has quit [Read error: Connection reset by peer]
<Morrolan> That's what I'm doing, normally.
jprovazn has quit [Quit: Odcházím]
mercwithamouth has quit [Ping timeout: 252 seconds]
<kaldrenon> Morrolan: Seems reasonable. Wasn't sure if there was any reason not to do that, wanted to get a second opinion.
dhruvasagar has joined #ruby
Mars` has quit [Remote host closed the connection]
antix_ has quit [Ping timeout: 252 seconds]
axl_ has left #ruby [#ruby]
mark_locklear has quit [Quit: Leaving]
Mars` has joined #ruby
<matled> git ls-files -z and split by \0 *cough*
clov3r has joined #ruby
burlyscudd has quit [Quit: Leaving.]
MrThePla_ has quit [Remote host closed the connection]
<Morrolan> Do you have filenames containing newlines?
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
antix is now known as Guest93018
<matled> Morrolan: no, it's just the "right" thing to do :)
* Morrolan shrugs
colonolGron has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Remote host closed the connection]
<matled> I've just seen to many scripts fail on stupid assumptions that can easily be avoided
<Morrolan> Probably true.
nomenkun has quit [Ping timeout: 260 seconds]
<Morrolan> But I doubt it'll matter in the case of file names.
<matled> and eventually you'll end up with an exploit based on a filename containing \n, I've warned you! :)
simplyaubs has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
<kaldrenon> Well, I feel silly. I tried `git ls-files`.split('\0') and it wasn't working. I bet you can see why faster than I did.
Mars` has joined #ruby
bsaboia_ has joined #ruby
<matled> kaldrenon: you missed the -z
<popl> kaldrenon: hey, you got a little something leakin' out your head there
<kaldrenon> I had the -z actuall.
<kaldrenon> actually*
<kaldrenon> That wasn't the error.
<Morrolan> Probably need double quotes.
<waxjar> did you commit the files?
<kaldrenon> I just mistyped it into IRC
<MrZYX> '\0' and "\0" are different things
<Morrolan> Tada.
<kaldrenon> Yyyeeep.
<popl> MrZYX: LIAR
Sammael has joined #ruby
jibi has quit [Quit: .]
<kaldrenon> matled is trying to save us from Johnny Newlines, distant cousin of Bobby Tables.
<popl> sorry
agent_white has joined #ruby
tsykoduk is now known as zz_tsykoduk
Guest93018 has quit [Ping timeout: 264 seconds]
Astralum has quit [Ping timeout: 256 seconds]
jibi has joined #ruby
DanKnox is now known as DanKnox_away
antix_ has joined #ruby
cody-- has quit [Quit: derp]
akemrir has quit [Quit: WeeChat 0.4.1]
kaspergrubbe has joined #ruby
mary5030 has joined #ruby
axl_ has joined #ruby
shadoi1 is now known as shadoi
axl_ has quit [Client Quit]
burlyscudd has joined #ruby
jonathanwallace has joined #ruby
cj3kim has joined #ruby
mercwithamouth has joined #ruby
peregrine81 has quit []
xcv has joined #ruby
carlyle has joined #ruby
jlast has quit [Remote host closed the connection]
<volty_> is it possible to determine if an enumerator is of kind Enumerator:each_with_index ?
antix_ has quit [Ping timeout: 245 seconds]
Apocalypse has joined #ruby
<volty_> of course apart to_s =~/each_with_index$/
<volty_> ops inspect
reset has joined #ruby
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<dsferreira> volty_, Can you explain it better?
antix_ has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
kleinerdrache has quit [Quit: Ex-Chat]
ce_afk is now known as cescalante
<volty_> let's say we receive an enumerator as a param in a method and we want to determine if it is a each_with_index enumerator
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty_> so, my question is, apart em.inspect =! /:each_with_index$/, are there other ways to do that?
<volty_> =!
<volty_> =~
<volty_> damn!
Stalkr^ has joined #ruby
bean has quit [Quit: Textual IRC Client: www.textualapp.com]
nkts has quit [Quit: xy]
<popl> volty_: too much coffee?
burlyscudd has quit [Quit: Leaving.]
<volty_> popl: just cold and a bit tired
adeponte has joined #ruby
<Hanmac> volty_ i looked into the code, i dont think its possible :/
redondos has quit [Remote host closed the connection]
<dsferreira> volty_, That enumerator that you are talking about is an enumerator module name as a string passed as an argument?
scarolan_ has joined #ruby
nkts has joined #ruby
scarolan has quit [Ping timeout: 264 seconds]
<dsferreira> volty_, I will try to guess what you are trying to achieve
<volty_> Hanmac: thx // dsferreira: just enumerator (i get the string with inspect - as said)
Bosox20051 has quit [Remote host closed the connection]
nkts has quit [Client Quit]
<volty_> dsferreira: :) ...
<MrZYX> I'd say expect one without it and blame the caller if it explodes
antix_ has quit [Ping timeout: 252 seconds]
bean has joined #ruby
<dsferreira> if you have a string so let's imagine my_enumerator = 'each_with_index' then you do:
aspires has joined #ruby
nkts has joined #ruby
<dsferreira> my_enumerator =~ /each_with_index/
RichardBaker has joined #ruby
<dsferreira> to make sure that it's exactly equal
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<dsferreira> sorry not equal
nouitfvf has quit [Ping timeout: 264 seconds]
<dsferreira> a perfect match
<volty_> i'm playing with enumerators, i wrote each_without_index
reset has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 240 seconds]
nkts has quit [Client Quit]
deens has quit [Quit: deens]
<volty_> -- and works ok, but i want to add extra-check if the incoming is each_with_index
valesk has quit [Ping timeout: 252 seconds]
<dsferreira> Can you paste the code?
nkts has joined #ruby
<Hanmac> volty_: what about [].each.with_index ?
Sammael has quit [Ping timeout: 245 seconds]
SilverKey has quit [Quit: Cheerio!]
jnix has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jnix has joined #ruby
nkts has quit [Client Quit]
jnix has quit [Changing host]
jnix has joined #ruby
maletor has joined #ruby
<graft_> isn't each_without_index the same as each?
mansi has quit [Remote host closed the connection]
<volty_> Hanmac: for the sake of comparing their classes ?
<volty_> i'll try that
rippa has quit [Read error: Connection reset by peer]
nkts has joined #ruby
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
zz_tsykoduk is now known as tsykoduk
iliketurtles has quit [Quit: zzzzz…..]
brennanMKE has joined #ruby
whunt has quit [Quit: Textual IRC Client: www.textualapp.com]
antix_ has quit [Ping timeout: 256 seconds]
mansi_ has joined #ruby
valesk has joined #ruby
bklane has quit [Remote host closed the connection]
<volty_> I needed indexes of items that satisfy pattern =~ item, I wrote it and everything is ok, finished.
bklane has joined #ruby
<volty_> Now I'm playing with each_grepped enumerators
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
<volty_> (of mine)
<dsferreira> glad its ok
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
iliketurtles has joined #ruby
nisstyre has joined #ruby
<volty_> and I would like to write only one each_grepped that acts differently depending if the source is Enum...:each or Enum:...each_with_index
asteros has joined #ruby
jrhorn424 has joined #ruby
<volty_> graft_: yes, but it transforms from each_with_index
Alina-malina has joined #ruby
T_T has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
tsykoduk is now known as zz_tsykoduk
Jetchisel has quit [Ping timeout: 260 seconds]
headius has quit [Quit: headius]
zz_tsykoduk is now known as tsykoduk
Jetchisel has joined #ruby
bklane has quit [Ping timeout: 264 seconds]
simplyaubs has quit [Quit: simplyaubs]
kmurph has quit [Quit: kmurph]
deens has joined #ruby
pixelshuck has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
<pixelshuck> Whoever suggested using Virtual machine on Windows about an hour ago.
<pixelshuck> Thank you very very much.
<pixelshuck> :)
<pixelshuck> Now I have web environment
<pixelshuck> and will do the same with ruby.
cousine has quit []
petey has joined #ruby
antix_ has quit [Ping timeout: 264 seconds]
<pixelshuck> For some reason didn't think about it before.
mansi_ has quit [Remote host closed the connection]
mansi has joined #ruby
schaerli has quit [Remote host closed the connection]
antix_ has joined #ruby
<kaldrenon> I built a gem and then 'bundle install'ed it in the project I want to use it in. After the bundle install the .gem file was gone from the gem's source folder. Is that expected behavior?
schaerli has joined #ruby
asteros has quit [Ping timeout: 256 seconds]
dbjeepn has quit [Quit: Leaving...]
g0bl1n has quit [Quit: g0bl1n]
mansi_ has joined #ruby
Xeago has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
mansi has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 246 seconds]
clov3r has quit [Read error: Connection reset by peer]
tvw has quit []
tvw has joined #ruby
n88 has quit [Changing host]
n88 has joined #ruby
<shevy> pixelshuck you are on windows?
cescalante is now known as ce_afk
<pixelshuck> shevy, yeah, have to.
g0bl1n has joined #ruby
ace_striker has quit [Remote host closed the connection]
<shevy> hey I dont even know how windows looks anymore ;)
<pixelshuck> hah :)
<shevy> hmm or is that just firefox?
<pixelshuck> That's chrome
<shevy> I dont know those strange tabs on top
<shevy> ah ok
freezey has joined #ruby
schaerli has quit [Ping timeout: 264 seconds]
antix_ has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 256 seconds]
ce_afk is now known as cescalante
kilophoton has quit [Ping timeout: 264 seconds]
sailias has quit [Ping timeout: 264 seconds]
antix_ has joined #ruby
p8952 has joined #ruby
valesk has quit [Ping timeout: 245 seconds]
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
dancardamore has quit []
jkamenik has quit [Quit: Leaving.]
dancardamore has joined #ruby
<volty_> is it possible to know the arity of each (how many args it will pass) , in advance (without using *params -- and count them)?
reset has joined #ruby
p8952 has quit [Client Quit]
nakul has joined #ruby
dbjeepn has joined #ruby
antix_ has quit [Ping timeout: 256 seconds]
soheil has quit [Remote host closed the connection]
flipture has joined #ruby
coderhs has joined #ruby
interactionjaxsn has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
notjohn has quit [Quit: notjohn]
MrZYX is now known as MrZYX|off
cads has joined #ruby
soheil has joined #ruby
<banisterfiend> volty_ of what? the each method?
<volty_> yes
<Hanmac> volty_: hm i dont think that is possible so easy ...
<banisterfiend> volty_ so, obj.method(:each).arity doesn't do it for u?
mary5030 has quit [Ping timeout: 260 seconds]
<Hanmac> banisterfiend: he means the arity of the block
<Hanmac> volty_: because, the method could possible react on the arity of the block itself
<banisterfiend> Hanmac: then use block.arity :P
peter_ has joined #ruby
<banisterfiend> i don't understand his Q tbh
peter_ has quit [Remote host closed the connection]
p8952 has joined #ruby
<Hanmac> banisterfiend: he is not inside the each method, he is outside
adeponte has quit [Remote host closed the connection]
reset has quit [Ping timeout: 245 seconds]
notjohn has joined #ruby
<banisterfiend> Hanmac well it's not only impossible but it doesn't actually make sense to ask what the arity of the block will be before it's been passed
adeponte has joined #ruby
adeponte has quit [Remote host closed the connection]
<banisterfiend> Hanmac did u see the most recent A.T ? 'dungeon train'
<banisterfiend> Hanmac it's very good, the series is back on form :)
<Hanmac> yeah, for sample i had an module where the each method reacts different, depending on how many parameters you use in the each
adeponte has joined #ruby
stonevil has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 264 seconds]
<volty_> i'm inside an enumerator and would like to know, in advance, how many params it's going to pass to each
<Hanmac> banisterfiend: i didnt see it yet, but i have it already loaded
pwh has joined #ruby
<banisterfiend> Hanmac wanna watch it with me on hangout?
<Hanmac> volty_: is not possible to know
<Hanmac> banisterfiend: nope ;P
Lewix has quit [Remote host closed the connection]
kaldrenon has quit [Remote host closed the connection]
<banisterfiend> Hanmac might as well, i promise to speak only german, and even chisel off my jaw so it appears square
<banisterfiend> volty_ can you show some code?
arietis has joined #ruby
<banisterfiend> volty_ cos currently i don't quite understand what u're asking, showing code will clear it up 4 me
kaldrenon has joined #ruby
kdaigle has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
antix_ has quit [Ping timeout: 246 seconds]
clov3r has joined #ruby
mansi has joined #ruby
Sammael has joined #ruby
simplyaubs has joined #ruby
colonolGron has joined #ruby
Jonah11_ has quit [Quit: Leaving]
RichardBaker has joined #ruby
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
Zeeraw has joined #ruby
<ker2x_> `+': can't convert Float into String (TypeError) <- is it a bad joke ?
antix is now known as Guest47163
Liothen has joined #ruby
Mars` has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
Mars` has joined #ruby
<ker2x_> what should i do ? add .to_s ?
mansi has joined #ruby
soheil has quit [Remote host closed the connection]
valesk has joined #ruby
p8952 has quit [Quit: Leaving]
<banisterfiend> ker2x_ your'e not showing any code so who knows
<yxhuvud> ker2x_: what it means is that it won't automatically convert between the types. You will have to do that by yourself
p8952 has joined #ruby
SoFLy has joined #ruby
SoFLy has left #ruby ["Textual IRC Client: www.textualapp.com"]
<banisterfiend> volty_ block.arity
<ker2x_> ok it's to_s :)
c0rn has quit [Quit: Computer has gone to sleep.]
kaldrenon has quit [Ping timeout: 256 seconds]
carraroj has joined #ruby
<volty_> banisterfiend: i can't get what you say
RichardBaker has quit [Read error: Connection reset by peer]
RichardBaker has joined #ruby
<volty_> -1
PLejeck is now known as Nuck
Nuck has quit [Changing host]
Nuck has joined #ruby
ldnunes has quit [Quit: Leaving]
T_T has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 252 seconds]
Guest47163 has quit [Ping timeout: 264 seconds]
soheil has joined #ruby
danshultz has quit [Remote host closed the connection]
<volty_> anyway i would like to have the one of each
endash has quit [Quit: endash]
endash has joined #ruby
antix_ has joined #ruby
Matriks has quit [Ping timeout: 240 seconds]
freezey has quit [Remote host closed the connection]
endash has quit [Client Quit]
colonolGron has quit [Quit: Lost terminal]
Matriks has joined #ruby
Squarepy has quit [Quit: Leaving]
pwh has quit []
DaZ has quit [Ping timeout: 264 seconds]
sectionme has joined #ruby
adambeynon has joined #ruby
schaerli has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
sectionme has quit [Read error: Operation timed out]
freezey has joined #ruby
antix_ has quit [Ping timeout: 260 seconds]
freezey has quit [Remote host closed the connection]
kilophoton has joined #ruby
breefield has joined #ruby
<w33dWizard[420]> is the JSON gem automatically included in default ruby installs?
mansi has joined #ruby
VTLob has quit [Quit: VTLob]
arietis has quit [Quit: Computer has gone to sleep.]
antix_ has joined #ruby
<breefield> does anyone know a good way to 'require' a specific fork of a gem in irb
cj3kim has joined #ruby
notjohn has quit [Quit: notjohn]
<yxhuvud> a specific fork? You are not making sense.
nanoxd has quit [Quit: nanoxd]
DaZ has joined #ruby
arietis has joined #ruby
notjohn has joined #ruby
tonini_ has quit [Ping timeout: 240 seconds]
mgorbach has joined #ruby
dbjeepn has quit [Quit: Leaving...]
yfeldblum has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Matriks has quit [Remote host closed the connection]
mansi has joined #ruby
echevemaster has quit [Quit: Leaving]
<banisterfiend> breefield if you mean a specific version, u can do that with the 'gem' method iirc
<breefield> but rather than a specific version of a gem from the main gem's repo, I wanna grab a fork of the gem, so specify a certain github repo basically
rhys_ has quit [Quit: Leaving]
chuck_ has quit [Ping timeout: 264 seconds]
<yxhuvud> then I'd suggest bundler.
schaerli has quit [Ping timeout: 252 seconds]
nanoxd has joined #ruby
<Hanmac> it also works without bundler
nanoxd has quit [Client Quit]
deens has quit [Quit: deens]
cj3kim has quit [Ping timeout: 264 seconds]
pellenation has joined #ruby
valesk has quit [Ping timeout: 252 seconds]
jibi has quit [Read error: Connection reset by peer]
rhys_ has joined #ruby
Davey has joined #ruby
arietis has quit [Client Quit]
antix_ has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
jibi has joined #ruby
dkamioka has quit [Remote host closed the connection]
nanoxd has joined #ruby
pairup has joined #ruby
<breefield> Hanmac, how would one do it without bundler?
dkamioka has joined #ruby
pairup has left #ruby [#ruby]
antix_ has joined #ruby
engel has joined #ruby
agjacome has joined #ruby
theRoUS has quit [Read error: Operation timed out]
DaZ has quit [Ping timeout: 260 seconds]
nanoxd has quit [Client Quit]
aspires has quit [Quit: aspires]
<Hanmac> breefield: loook at the Kernel#gem method
Tricon has joined #ruby
duggiefresh has quit [Remote host closed the connection]
fijimunkii has joined #ruby
Lewix has joined #ruby
duggiefresh has joined #ruby
reset has joined #ruby
fijimunkii has quit [Client Quit]
nanoxd has joined #ruby
engel has quit [Client Quit]
sambao21 has joined #ruby
<breefield> thanks Hanmac, this helps me get on the right track
aspires has joined #ruby
engel has joined #ruby
DanKnox_away is now known as DanKnox
nutella has joined #ruby
gyzmodo has quit []
dkamioka has quit [Ping timeout: 245 seconds]
nutella is now known as Guest76036
carraroj has quit [Quit: Konversation terminated!]
JeanMertz has quit []
antix_ has quit [Ping timeout: 240 seconds]
DaZ has joined #ruby
angelxmoreno has joined #ruby
duggiefresh has quit [Ping timeout: 256 seconds]
Soda has joined #ruby
<angelxmoreno> is ruby fast?
antix_ has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
ukd1_ has joined #ruby
iamjarvo has joined #ruby
<Hanmac> angelxmoreno: yes, no and maybe
nari has joined #ruby
<angelxmoreno> Hanmac: hhhhhhhhmmmmmmmmmmmmmmm
<Hanmac> its maybe faster than php if used currectly, its not faster than C, but it can be boosted when using C(++) gems
<pixelshuck> Guys, I want to write HTTP server, should I use C++ w/boost or Ruby w/? ?
<banisterfiend> pixelshuck using haskell
rhys_ has quit [Quit: Leaving]
<pixelshuck> banisterfiend, got no experience with haskell, and isn't it functional?
pushpak has quit [Quit: Linkinus - http://linkinus.com]
<ker2x_> it is
s0ber has quit [Read error: Connection reset by peer]
ukd1 has quit [Ping timeout: 246 seconds]
dbjeepn has joined #ruby
<angelxmoreno> so basically its the fastest tool for the right job, but not the fastest for every job
S0da has joined #ruby
Guest76036 has quit [Ping timeout: 240 seconds]
riceandbeans has quit [Quit: leaving]
<pixelshuck> But for me, a newbie, who has to learn a language/write an app within a month. It's not excatly the best choice.
<Hanmac> angelxmoreno: yeah i think you get it, (for sample i used ruby with 3D rendering, and i get similar results with ruby than with the native C++ program)
dangerousdave has quit [Quit: Leaving...]
ukd1_ has quit [Ping timeout: 256 seconds]
<ker2x_> you think that coding a http server is a good choice ? :)
<Mon_Ouie> Learning a functional language isn't harder than learning an imperative one — some would argue the opposite
<ker2x_> and you'll never learn boost in a month
s0ber has joined #ruby
Soda has quit [Ping timeout: 260 seconds]
<angelxmoreno> Hanmac: ok, i was just asking to prove to my co-worker, who never knew what irc was, that the ruby community in irc is actually helpful. he is impressed
devoldmx has joined #ruby
<Mon_Ouie> And not many languages are harder to learn than C++
* Hanmac had programmed once an http server in C :P
Emmanuel_Chanel has joined #ruby
antix_ has quit [Ping timeout: 264 seconds]
DaZ has quit [Ping timeout: 245 seconds]
<angelxmoreno> thanks guys
angelxmoreno has left #ruby [#ruby]
<ker2x_> i don't know any language harder than C++ expept those who are obfuscated on purpose :)
<Hanmac> ker2x_: like PHP ? ;D
<volty_> Mon_Ouie: no way, procedural languages are much more easier to learn (learning intended as as being able to write something, not only notions )
antix_ has joined #ruby
<ker2x_> more like INTERCAL :)
joshu has quit [Ping timeout: 264 seconds]
Zerogrifter has joined #ruby
<pixelshuck> ker2x_, I have some experience writing network apps, I've wrote IRC client with php couple years ago.
<pixelshuck> And it's colelge assignment
pellenation has quit [Quit: Leaving.]
<ker2x_> and the assignment is "C++/boost or ruby" ?
<pixelshuck> No, assignment is server/client app.
<pixelshuck> They don't care what language/protocol/libraries I'm going to use.
<sweeper> pixelshuck: then don't use http ffs :/
<volty_> go with ruby, then
<ker2x_> use zeromq and choose your poison :)
funburn has joined #ruby
<sweeper> zmq is nice
<sweeper> protocol buffers are nice too :D
<ker2x_> yes
alex__c2022 has quit [Quit: alex__c2022]
<ker2x_> and  Ø  40+ languages including C, C++, Java, .NET, Python.
<pixelshuck> sweeper, why not? I don't need to get full support, just basic actions.
<Mon_Ouie> volty_: For example, to understand/debug an imperative program you have to care about the order in which operations are run and understand the idea that things change over time
mikepack has quit [Remote host closed the connection]
ldnunes has joined #ruby
<ker2x_> pixelshuck: because http have a very long history :)
<pixelshuck> pardon?
<graft_> are there any good red-black tree implementations out there?
<pixelshuck> What kind of history?
v1n has quit [Ping timeout: 245 seconds]
<Mon_Ouie> If you default to writing things functionally that problem disappears, and only matters when you're doing something that's intrinsically stateful (like printing, etc.)
reset has quit [Quit: Leaving...]
Xeago has joined #ruby
failshel_ has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
<sweeper> pixelshuck: cause you don't need it and it's a PITA
<ker2x_> pixelshuck: there is many different RFC and ... well... oddity
<ker2x_> http://www.ietf.org/rfc/rfc2616.txt good luck with it
<sweeper> pixelshuck: unless you don't actually need to write a SERVER but just need to write an application
mansi has quit [Remote host closed the connection]
DaZ has joined #ruby
claymore has quit [Quit: Leaving]
antix_ has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
mansi has joined #ruby
dancardamore has quit []
<pixelshuck> sweeper, I need to write both client and server, although realisation can be pretty dodgy and spotty, as well as things like multiple threads and async-io can be overlooked.
<volty_> Mon_Ouie: it is much more difficult for our non-recursive brains to understand/simulate recursive behavior, we are without stack :)
<volty_> whether you are used or not
kilophoton has quit [Ping timeout: 260 seconds]
clov3r has quit [Read error: Connection reset by peer]
antix_ has joined #ruby
tylersmi_ has joined #ruby
failshell has quit [Ping timeout: 264 seconds]
roseroserose has joined #ruby
<volty_> the results prove that, much is done by imperative languages and mixing imperative and declarative (e.g. ruby)
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
<ker2x_> clojure \o/
clov3r has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
nanoxd has quit [Quit: nanoxd]
<pixelshuck> I need to make CONNECT, GET, HEAD and possibly POST to work, leaving everything else aside.
banisterfiend has quit [Quit: Computer has gone to sleep.]
<sweeper> pixelshuck: sounds very vague. what part of the specification stops you from writing a sinatra REST app, and using a generic HTTP library in ruby as the client?
failshel_ has quit [Ping timeout: 240 seconds]
<r0bgleeson> volty_: thats not true
<r0bgleeson> recursion is pretty simple
<ker2x_> yes and no
<r0bgleeson> and a pattern used a ton in functional programming
<sweeper> did they say "write an http server and client", or "write a server and a client"?
Xeago has quit [Ping timeout: 264 seconds]
<ker2x_> simple to write, usually
<Tearan> Help!
<sweeper> tail recursion is its own reward
<pixelshuck> sweeper, probably ego-boost of ability to say "I've wrote an http server"
<volty_> yet to see the results of functional programming // the best results come from a nice mix and choice
<popl> and equal amounts of disgrace
<r0bgleeson> volty_: but sure, a mix of all of them is nice, nothing "pure", but look at ruby, it could be a mix
<r0bgleeson> but its not
<r0bgleeson> its "OO" pure
<ker2x_> but sometime i write recursive function and it "just works" but i'm not sure why :)
cj3kim has joined #ruby
<pixelshuck> I can use http library for client, thing's go a little bit more tight on server side.
<r0bgleeson> even scala is not one or the other
<r0bgleeson> it leans more towards OO
mendozao has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
<sweeper> Tearan: what error are you getting?
nanoxd has joined #ruby
<ker2x_> Tearan: then ?
<popl> Tearan: Can you be a little more specific? e.g. "I was trying to x but I got y when I expected z."
joshu has joined #ruby
DaZ has quit [Ping timeout: 246 seconds]
<sweeper> ker2x_: no then, then bad!
<roseroserose> I know this has already been asked, but wondering if anyone can clarify how you'd use Kernel#gem or similar to require a specific fork of a gem in irb?
<Tearan> I put up a gist popl
<ker2x_> doh ?
KobraKao has joined #ruby
<Mon_Ouie> I usually verify that the function is correct by assuming it is correct for N-1 (or whatever the simpler case it reduces to is) and verify that, given that, it provides the right result for N
<popl> Tearan: yes, but I can't read minds.
<pixelshuck> sweeper, I'm probably going to use Ruby/zeromq for client and C++/zeromq for servre.
<Mon_Ouie> And then the base case is usually trivial
<popl> Tearan: Help us help you. :)
<Tearan> oh sorry.. hold.. I'll update with the error message
<pixelshuck> _maybe_ some additional library on Ruby side.
<pixelshuck> Need to look deeper into that.
<r0bgleeson> Mon_Ouie: what are you doing these days?
<volty_> all is fine as long as we have 2, 3, 4 functions that we checked. But, as we well know, things get exponential complexity when you put them all together.
rainbyte has quit [Ping timeout: 248 seconds]
antix_ has quit [Ping timeout: 256 seconds]
<sweeper> Tearan: you used the inplace modifier in an assignment
<pixelshuck> Oh wow, does ZeroMQ take care of scheduling and asynchronous connections?
<bnagy> what is this #zeromq?
<volty_> Otherwise, with all that functional power, the lisper and schemers would already be superceded, in intelligence, by their own programs
<Tearan> I'm doing a codeAcademy excercise
<ker2x_> zeromq is superawesome
<sweeper> downcase! modifies in place, it does not return the object
xcv_ has joined #ruby
<sweeper> so your assignment fails
<Tearan> It asks specifically for you to use the inlace modifyer
AndChat| has joined #ruby
<pixelshuck> sweeper, mine?
<Mon_Ouie> r0bgleeson: Not much, the last programming I did (besides assignments, etc.) was some computer vision stuff in Clojure (detecting edges on a picture)
<sweeper> Tearan: then you're using it wrong :P
antix_ has joined #ruby
nanoxd has quit [Client Quit]
valesk has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
<r0bgleeson> volty_: dont know about that, i know a few people much smarter than me who are adamant about functional programming. they can probably scale it to anything and it'll make a ton of sense. you need to be able to apply your mind to that road of thought and be good at it
kvirani has quit [Remote host closed the connection]
TheMoonMaster has quit [Remote host closed the connection]
xcv has quit [Ping timeout: 245 seconds]
<pixelshuck> sweeper, Worst case scenario, I'll dig out old Lua client/client(p2p) app. So I can do it anyway I want it, I'll not be screwed if I'll fail, just deciding on the tools for the job right now
petey has quit [Remote host closed the connection]
RichardBaker has quit [Ping timeout: 256 seconds]
kvirani has joined #ruby
<ker2x_> ERROR: invalid input syntax for type timestamp: "1380922643.893" (PG::InvalidDatetimeFormat) ... meh, it's weekend, i'll see that monday ... i tought that fractional was ok. pffft.
<ker2x_> nighty night \o/
RichardBaker has joined #ruby
workmad3 has joined #ruby
petey has joined #ruby
breakingthings has quit []
<r0bgleeson> Mon_Ouie: ah. took a look at clojure.
petey has quit [Read error: Connection reset by peer]
KobraKao has quit [Ping timeout: 256 seconds]
<r0bgleeson> cool language
<sweeper> Tearan: those things you're tacking on, chomp, and downcase, are methods. many methods will return the object they're working on. that's why you can do foo = bar.downcase
<ker2x_> yes !
<r0bgleeson> im not a fan of the platform
pwh has joined #ruby
<r0bgleeson> go seems more appealing :)
<sweeper> you're assigning foo to the output of bar's downcase method
iamjarvo has quit [Remote host closed the connection]
petey has joined #ruby
<ker2x_> r0bgleeson: clojure now support go syntax
<sweeper> Tearan: however, downcase! does not return anything
<ker2x_> with channel & co :)
<sweeper> Tearan: so when you assign user_input =(output of downcase)
iamjarvo has joined #ruby
<r0bgleeson> ker2x_: yeah, my issue with it is whether you like it or not the main platform is the JVM and some problems are solved with the JVM ecosystem/Java
baordog_ has quit [Remote host closed the connection]
<sweeper> Tearan: you are assigning user_input to nothing, in ruby land, nil
<ker2x_> r0bgleeson: yup
<volty_> r0bgleeson: just probably. let them scale it , and show after
pwh has quit [Client Quit]
enebo has quit [Quit: enebo]
<ker2x_> you can use clojurescript too
<sweeper> Tearan: so, if you HAVE to use in-place modification, you need to do it on something that already exists, not whentrying to assign
<ker2x_> compile to js :)
cescalante is now known as ce_afk
<AndChat|> Volty_ functional programming is the tits
<sweeper> Tearan: user_input = gets.chomp
<r0bgleeson> volty_: ive seen these people scale big complex projects in functional languages
<sweeper> Tearan: and then user_input.downcase!
<r0bgleeson> volty_: what about riak?
xibalba has joined #ruby
<ker2x_> erlang
mrsolo has quit [Quit: This computer has gone to sleep]
<Tearan> sweeper: thanks
staafl has quit [Ping timeout: 245 seconds]
<ker2x_> http://cascalog.org/ is in clojure
aryaching has quit [Ping timeout: 240 seconds]
<r0bgleeson> volty_: if anything i probably think the OO train of thought is inferior.
<Tearan> Interesting that code academy lets you fall on your face with this
<Tearan> they are so good about holding your hand for everything
<sweeper> Tearan: well that's what "in place" means :P
<r0bgleeson> its great for abstractions and mapping concepts to concrete forms
antix_ has quit [Ping timeout: 252 seconds]
<r0bgleeson> it can be great for describing a domain
kvirani has quit [Ping timeout: 248 seconds]
lfox has quit [Quit: ZZZzzz…]
<volty_> r0bgleeson: I don't think that OO and functional are necessarily mutually exclusive
<r0bgleeson> same here
<AntelopeSalad> not ruby related (sorry), but does anyone know if you can download the free ec2 instances locally to do a test run?
<r0bgleeson> but you seem to be saying functional languages can't scale to big projects?
antix has joined #ruby
antix has quit [Changing host]
antix has joined #ruby
petey has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 252 seconds]
antix is now known as Guest22543
DaZ has joined #ruby
<ker2x_> http://clojure.org/special_forms#Special%20Forms--%28fn%20name?%20%28[params*%20]%20condition-map?%20exprs*%29+%29 that's how i started to love clojure :)
petey has joined #ruby
<volty_> I suspect they can - big - if monotone
<ker2x_> you can define pre-condition on arg before executing the code, and post condition before returning
aagdbl has quit [Quit: Leaving.]
<Tearan> Thanks guys
snovak has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
snovak has joined #ruby
<volty_> i'll beleive the functional superior when i see e windows system, gui, libs, whole app implemented in them
gmas has joined #ruby
pen has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
<volty_> let them abstract the interface to hardware and write nice libs for windows, buttons, sliders etc etc
banisterfiend has joined #ruby
johnnyfuchs has quit [Quit: Leaving.]
<volty_> it all depends on the domain of the problem
<ker2x_> i still use fortran from time to time :)
<volty_> of course the prolog is superior, to everything else, if you have to trace the family relationships
snovak_ has joined #ruby
richiebkr has joined #ruby
tsykoduk is now known as zz_tsykoduk
mikepack has joined #ruby
RichardBaker has quit [Ping timeout: 260 seconds]
richiebkr is now known as RichardBaker
petey has quit [Ping timeout: 240 seconds]
<workmad3> volty_: prolog is also pretty good if you want to write a predicate logic theorem checkec
<workmad3> *checker
snovak has quit [Read error: No route to host]
<volty_> brother(x, y) :- parent(z, x), parent(z, y)
<workmad3> s/predicate/propositional
Guest22543 has quit [Ping timeout: 264 seconds]
<volty_> yes, workmad3, many years ago, i liked it
greenrose has quit [Ping timeout: 256 seconds]
digital-ghost has joined #ruby
DaZ has quit [Ping timeout: 246 seconds]
<ker2x_> there isn't any langage that i hate more than ada
starfox21 has joined #ruby
antix_ has joined #ruby
devdazed has quit [Quit: Bye]
antix_ has quit [Changing host]
antix_ has joined #ruby
<volty_> but (they) do not tell me the predicate logic of prolog, or lists of scheme, or other 'superior logic' of other func langs, are superior and not more difficult to learn
<volty_> it all depends on the domain, on the data and the transformations on that data
bean has quit [Quit: Computer has gone to sleep.]
tatsuya_o has joined #ruby
kilophoton has joined #ruby
snovak_ has quit [Remote host closed the connection]
tatsuya__ has joined #ruby
snovak has joined #ruby
<workmad3> volty_: it also depends on the programmer(s)
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
<ker2x_> and education
<workmad3> volty_: and how they perceive the problem domain and transform it to a solution
<volty_> workmad3: even on BASIC programmers ! :)
engel has quit [Quit: leaving]
engel has joined #ruby
<ker2x_> if you dream math functionnal programming will probably be easier to learn as a first langage
freerobby has quit [Quit: Leaving.]
<ker2x_> it took me years to "get it" with OO
<ker2x_> FP was immediate
<pixelshuck> meh, I for the sake of my life, can't do maths. No FP for me, oh well.
<volty_> it took me a breeze to OO, though templates were more 'resistant'
banisterfiend has joined #ruby
<volty_> i like math but i prefer langs as ruby
DaZ has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
tatsuya_o has quit [Ping timeout: 245 seconds]
carlyle has quit [Remote host closed the connection]
<ker2x_> i was a perl monger for years, then i became a sysadmin and stopped coding on a daily basis.
reset has joined #ruby
<banisterfiend> volty_ what kind of math do u like?
<ker2x_> i take any langage that fit my need
louism2wash has joined #ruby
<ker2x_> today it's ruby :)
<volty_> to know what's behind // people are so fast when telling somebody "this is easy", "that is easy", "you should do it this (or that) way" etc etc forgetting that we all get tired and fuzy
codecop has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 240 seconds]
<volty_> banisterfiend: in a sense that i was a natural talent
<louism2wash> Happy friday to all
antix_ has joined #ruby
<volty_> little to do with math now
Levin_22 has quit [Quit: Levin_22]
ehaliewicz has quit [Remote host closed the connection]
zz_tsykoduk is now known as tsykoduk
<ker2x_> volty_: http://www.fractalforums.com/ there is always math to do :)
simplyaubs has quit [Quit: simplyaubs]
<ker2x_> 3D Mandelbrot \o/
senayar has joined #ruby
<pixelshuck> ker2x_, if I would want to get into math, I'd need to start at school level. Do I need and _want_ to bother?
<banisterfiend> volty_ do you like spaghetti puttanesca?
bsaboia_ has quit [Ping timeout: 252 seconds]
<ker2x_> pixelshuck: you need :)
dbjeepn has quit [Quit: Leaving...]
Xanderby has quit [Quit: Xanderby]
<pixelshuck> ker2x_, I just feel like, I can't be arsed. Math was never too easy or too hard for me, it was something in between. But I'm not a known fuck giver so I just didn't bother.
<Eiam> if I'm doing hash.each_with_index{(k,v),index} how can i find out the total number of index's I'll have?
<Eiam> e.g. length
<ker2x_> pixelshuck: you will :)
<volty_> banisterfiend: yes // i like too the simple aglio olio peperoncino // or + pomodoro + mozzarella
<banisterfiend> Eiam hash.size
<Eiam> without re-calculating/referencing the value in hash (since it s the return value of another function)
<Eiam> i guess store it before hand?
<Eiam> was hoping there was some clever ruby way to know the length of your enumerable
<bnagy> run it
<ker2x_> time to sleep now. bye. have fun \o/
<pixelshuck> ker2x_, oh well, I guess I'll start skimming through it simultaneously with FP language.
<pixelshuck> Bye.
<banisterfiend> volty_ puttanesca is my favourite, i'm going to cook it tomorrow
<ker2x_> nighty night
<bnagy> banisterfiend: with real putas?
<Eiam> like _self_.length or something
<banisterfiend> bnagy yeah, that's an easy ingredient to find here in holland ;)
mrsolo has joined #ruby
<Eiam> banisterfiend: thats the easy answer, i was going for something more complicated ;p
simplyaubs has joined #ruby
<Eiam> find ill just store the result first and enumerate through it after!
<volty_> some other time i'll tell you the other recipe
DaZ has quit [Read error: Operation timed out]
antix_ has quit [Ping timeout: 240 seconds]
<ker2x_> everything in programming can be seen as just math function. because, basically, the only think a cpu is capable of is doing read stuff, do math on it (or boolean logic) and write it. (and i'm gone to bed. bye)
<workmad3> ker2x_: you can also see it as abstract symbol manipulation
jonathanwallace has quit [Ping timeout: 240 seconds]
<workmad3> ker2x_: or just electrical signals
cj3kim has joined #ruby
<workmad3> ker2x_: or plenty of other models ;)
<banisterfiend> ker2x_ i think a logical function is more accurate :)
rainbyte has joined #ruby
<ker2x_> :)
<workmad3> church-turing hypothesis
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
<volty_> i think it is about state
<sweeper> halting state
siput has joined #ruby
<volty_> i'm convinced that computer idea comes from textile machines
<workmad3> volty_: state machines are yet another comparable computation model
St_Marx has joined #ruby
<sweeper> also any time people talk about turing, it makes me want to read the Atrocity Archives again
<sweeper> (computational demonology ftw)
<workmad3> sweeper: :)
<ker2x_> volty_: they were one of the first computers
<volty_> ker2x_: yap
TTilus has quit [Ping timeout: 256 seconds]
<ker2x_> but they really were developpedto do math
<workmad3> hey, what about the roman robots?
rainbyte has quit [Client Quit]
<workmad3> that could be programmed with a counterweight and rope
<ker2x_> then a clock is a computer ?
c0rn has joined #ruby
rainbyte has joined #ruby
siput has left #ruby [#ruby]
amacgregor has quit [Read error: Connection reset by peer]
<banisterfiend> workmad3 have you looked into this book ? http://computationbook.com/
amacgregor has joined #ruby
<ker2x_> volty_ \o/
MrPoT4tO has joined #ruby
<workmad3> banisterfiend: I think it's on my to-read list, but not read it yet
cj3kim has quit [Ping timeout: 245 seconds]
tsykoduk is now known as zz_tsykoduk
<workmad3> too many books to read :(
<volty_> the holes (states) determine design - 1 stage texttile
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
<volty_> the holes (states) determine other holes - 2 stage computation and storing
<ker2x_> http://www.nand2tetris.org/book.php this one is a must have
clov3r has quit [Remote host closed the connection]
<ker2x_> i'm creating my own cpu
clov3r has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
clov3r has quit [Read error: Connection reset by peer]
jaimef has quit [Excess Flood]
antix_ has quit [Ping timeout: 260 seconds]
T_T has joined #ruby
SHyx0rmZ has quit [Read error: Connection timed out]
antix_ has joined #ruby
renke has joined #ruby
SHyx0rmZ has joined #ruby
rainbyte has quit [Client Quit]
<ker2x_> and now ... nighty night. bye :)
roseroserose has left #ruby [#ruby]
maroloccio has quit [Quit: WeeChat 0.4.0]
<workmad3> night ker2x_
rainbyte has joined #ruby
<volty_> gn
St_Marx_ has joined #ruby
jaimef has joined #ruby
St_Marx has quit [Ping timeout: 240 seconds]
<volty_> is there a ruby's equivalent to boost (proposal phase) ?
antix_ has quit [Ping timeout: 252 seconds]
<volty_> let's say many users see that another kind of mapping function is useful (because shorter or else) and gets packed in a boost-like gem?
<volty_> s/say/suppose/
mansi has joined #ruby
antix_ has joined #ruby
pixelshuck is now known as sleepshuck
dkamioka has joined #ruby
polaco is now known as polaco_zZz
Tricon has quit [Read error: Operation timed out]
reset has quit [Quit: Leaving...]
devoldmx has quit [Read error: Connection reset by peer]
renke has left #ruby [#ruby]
clov3r has joined #ruby
dkamioka has quit [Ping timeout: 256 seconds]
antix_ has quit [Ping timeout: 240 seconds]
shvelo has quit [Ping timeout: 245 seconds]
twoism has quit [Remote host closed the connection]
antix_ has joined #ruby
soheil has quit [Read error: Connection timed out]
reset has joined #ruby
soheil has joined #ruby
kevinykchan has joined #ruby
Xeago has joined #ruby
clov3r has quit [Remote host closed the connection]
jrhorn424 has quit [Quit: Textual IRC Client: www.textualapp.com]
carlyle has joined #ruby
ffranz has quit [Quit: Leaving]
clov3r has joined #ruby
osvico has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 240 seconds]
ehaliewicz has joined #ruby
antix_ has quit [Ping timeout: 252 seconds]
sepp2k1 has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
i_s has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 245 seconds]
osvico has quit [Ping timeout: 256 seconds]
schaerli has joined #ruby
<MrHacks> exit
MrHacks has quit [Quit: leaving]
cj3kim has joined #ruby
adeponte has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
nutella has joined #ruby
carlyle has quit [Ping timeout: 245 seconds]
nutella is now known as Guest4307
pel_daniel has left #ruby [#ruby]
zarubin has quit [Ping timeout: 245 seconds]
Popple has joined #ruby
antix_ has quit [Ping timeout: 240 seconds]
adeponte has joined #ruby
stuartrexking has quit [Quit: Leaving...]
zarubin has joined #ruby
schaerli has quit [Ping timeout: 264 seconds]
antix_ has joined #ruby
workmad3 has quit [Read error: Operation timed out]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
nari has quit [Ping timeout: 252 seconds]
tatsuya__ has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
SkuliOskarsson has joined #ruby
ace_striker has joined #ruby
kaspergrubbe has quit [Read error: Operation timed out]
shadoi1 has joined #ruby
antix_ has quit [Ping timeout: 246 seconds]
antix has joined #ruby
antix has joined #ruby
antix has quit [Changing host]
antix is now known as Guest23974
ace_striker_ has joined #ruby
Stalkr^ has quit [Quit: Linkinus - http://linkinus.com]
shadoi has quit [Ping timeout: 245 seconds]
ace_striker has quit [Ping timeout: 250 seconds]
Tearan has quit [Quit: Sleepy Badger....]
c0rn has joined #ruby
drumsrgr8forn8 has joined #ruby
RichardBaker has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
tkuchiki has joined #ruby
ce_afk is now known as cescalante
<ace_striker_> hello everyone..
Guest23974 has quit [Ping timeout: 252 seconds]
<ace_striker_> i have googling for this problem but no luck so far..what might be causing this https://gist.github.com/igauravsehrawat/6834376
RichardBaker has joined #ruby
antix_ has joined #ruby
DrShoggoth has quit [Ping timeout: 260 seconds]
kmurph has joined #ruby
mixel has joined #ruby
<ace_striker_> any one https://gist.github.com/igauravsehrawat/6834376 for ..tried for 2 hrs already
alekst has quit [Ping timeout: 246 seconds]
<bnagy> if this is a debian-base you need to install the -dev version of whatever ruby package
zz_tsykoduk is now known as tsykoduk
mixel has left #ruby [#ruby]
tsykoduk is now known as zz_tsykoduk
Inside has joined #ruby
cson has quit [Ping timeout: 260 seconds]
shadoi1 has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
<ace_striker_> thanks fgo ..was searching by ERROR: Failed to build gem native extension.
apeiros has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
banisterfiend has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
antix_ has joined #ruby
nari has joined #ruby
danman has joined #ruby
cescalante is now known as ce_afk
jibi has quit [Quit: .]
louism2wash has quit [Quit: This computer has gone to sleep]
jb41 has quit [Ping timeout: 260 seconds]
<xibalba> any Ruby internships in San Diego?
bsaboia_ has joined #ruby
snovak has joined #ruby
T_T has quit [Remote host closed the connection]
jbrechtel has quit [Ping timeout: 264 seconds]
antix_ has quit [Ping timeout: 240 seconds]
<ace_striker_> xibalba: rubyjobs.io
<ace_striker_> xibalba: www.rubyjobs.io
sambao21 has quit [Quit: Computer has gone to sleep.]
<xibalba> thank you kindly
predator117 has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
<w33dWizard[420]> awesome resource a
sparq_ has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
<w33dWizard[420]> ace_striker_ (
tkuchiki has quit [Remote host closed the connection]
<ace_striker_> ( ?
v1n has joined #ruby
tkuchiki has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
<ace_striker_> i have a suggestion..
<ace_striker_> whosoever is channel operator ..should include learning resource..
<ace_striker_> probably something like www.rubymonk.com
chuck has joined #ruby
<w33dWizard[420]> perhaps
MrPoT4tO has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 246 seconds]
predator217 has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
Banistergalaxy has joined #ruby
<ace_striker_> installing gems and bundle takes too much time..increase your bandwidth ruby
<xibalba> your box is too slow
notjohn has quit [Quit: notjohn]
<xibalba> let me sell you some cloud
<xibalba> =D
<ace_striker_> xibalba: how ?
<ace_striker_> how my box is slow ?
antix_ has quit [Ping timeout: 252 seconds]
<xibalba> oh i have no clue i'm just making a jackass statement
tkuchiki has quit [Ping timeout: 260 seconds]
<ace_striker_> box == my laptop ? or other jackass statement !!
kaspergrubbe has quit [Ping timeout: 260 seconds]
antix_ has joined #ruby
antix_ has joined #ruby
antix_ has quit [Changing host]
AndChat| has quit [Ping timeout: 264 seconds]
cj3kim has joined #ruby
nakul has quit [Ping timeout: 250 seconds]
Cyrus has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
funburn has quit [Quit: funburn]
breefield has quit [Quit: breefield]
danman has quit [Quit: danman]
T_T has joined #ruby
zeade has quit [Quit: Leaving.]
antix_ has quit [Ping timeout: 264 seconds]
antix_ has joined #ruby
antix_ has quit [Changing host]
antix_ has joined #ruby
angelxmoreno has joined #ruby
tomzx_mac has joined #ruby
fixl has joined #ruby
<Morrolan> ace_striker_: I'm sure rubygems.org will accept some donations for additional servers. :)
c0rn has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
<ace_striker_> Morrolan: i don't see the donate options there !!
Lewix has quit [Remote host closed the connection]
<Morrolan> Hmm, seems to be the case indeed.
SkuliOskarsson has quit [Quit: SkuliOskarsson]
banisterfiend has joined #ruby
atmosx has joined #ruby
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
angelxmoreno has quit [Ping timeout: 252 seconds]
aspiers has quit [Ping timeout: 246 seconds]
antix_ has quit [Ping timeout: 264 seconds]
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
drumsrgr8forn8 has joined #ruby
antix_ has joined #ruby
<ace_striker_> Morrolan: don't pretend to be on their behalf
devoldmx has joined #ruby
elplatt has quit [Quit: elplatt]
<Morrolan> Eh?
jefflyne1 has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
jerius has quit [Ping timeout: 252 seconds]
<ace_striker_> what the solution mentioned does not work http://stackoverflow.com/questions/14031741/errnoeacces-permission-denied
jaynewstrom has quit [Disconnected by services]
jaynewst_ has joined #ruby
<ace_striker_> anyone atleast for the atmost
Matix has joined #ruby
antix_ has quit [Ping timeout: 245 seconds]
Xeago has quit [Ping timeout: 240 seconds]
antix_ has joined #ruby
valesk has quit [Ping timeout: 245 seconds]
Tricon has joined #ruby
kdaigle has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
c0rn has joined #ruby
Matip has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
c0rn has quit [Client Quit]
kmurph has quit [Quit: kmurph]
mendozao has quit [Remote host closed the connection]
valesk has joined #ruby
<valesk> Afternoon fellas!
ColKurtz has joined #ruby
elplatt has joined #ruby
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
RichardBaker has quit [Quit: RichardBaker]