apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
Dolphinius has joined #ruby
glyytchy has quit [Quit: glyytchy]
workmad3 has joined #ruby
Dolphinius_ has joined #ruby
Dolphinius_ has quit [Client Quit]
irleif has joined #ruby
shtirlic has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 240 seconds]
Cultofmetatron has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
irleif has quit [Client Quit]
Takehiro has joined #ruby
<Servidorv> hey anyone knows about fiberiterator??
<Servidorv> there is this code i need to repeat 4 times
<Servidorv> but i did 4.times
linoj has joined #ruby
<Servidorv> but for some reason it dont work
<Servidorv> :(
manizzle has joined #ruby
<Servidorv> https://gist.github.com/3970570 thats my code
<Servidorv> but i cant seem to make it work
Dolphinius has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Takehiro has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
joeycarmello has joined #ruby
kzrl has quit [Ping timeout: 240 seconds]
Goles has quit [Remote host closed the connection]
codecaster has joined #ruby
joeycarm_ has joined #ruby
Goles has joined #ruby
joeycarmello has quit [Read error: Connection reset by peer]
dakine has quit [Ping timeout: 252 seconds]
kzrl has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Xeago has joined #ruby
aarondaub has quit [Quit: Linkinus - http://linkinus.com]
linoj has quit [Quit: linoj]
Nisstyre-laptop has joined #ruby
brianpWins has joined #ruby
linoj has joined #ruby
somazero has joined #ruby
gregorg has quit [Read error: Connection reset by peer]
c0rn_ has joined #ruby
gregorg has joined #ruby
gregorg has quit [Changing host]
gregorg has joined #ruby
Xeago has quit [Ping timeout: 268 seconds]
baroquebobcat has joined #ruby
crackfu has joined #ruby
jcaudle has joined #ruby
vjt has quit [Ping timeout: 272 seconds]
irleif has joined #ruby
Cultofmetatron has joined #ruby
Rizzle has quit [Ping timeout: 252 seconds]
vjt has joined #ruby
zaiste has quit [Ping timeout: 272 seconds]
SecretAgent has quit [Remote host closed the connection]
zaiste has joined #ruby
SecretAgent has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
deadalus has joined #ruby
deadalus has quit [Changing host]
deadalus has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
zeromodu_ has joined #ruby
zeromodulus has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby
Goles has quit [Remote host closed the connection]
irleif has quit [Quit: Computer has gone to sleep.]
GoGoGarrett has joined #ruby
scx has quit [Read error: Connection reset by peer]
g-ram has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
dakine has joined #ruby
khakimov has joined #ruby
erichmenge has joined #ruby
g-ram has joined #ruby
yshh has joined #ruby
nyrb has joined #ruby
monkegjinni has joined #ruby
daniel_- has quit [Ping timeout: 245 seconds]
Goles has joined #ruby
justinmcp has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 252 seconds]
jeffreybaird has joined #ruby
emmanuelux has quit [Remote host closed the connection]
dnstbr has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
w2f2 has joined #ruby
somazero has quit [Quit: Leaving]
justinmcp has joined #ruby
macmartine has joined #ruby
akem has joined #ruby
akem has joined #ruby
akemEikko has quit [Read error: Connection reset by peer]
akem has quit [Max SendQ exceeded]
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
nari__ has joined #ruby
dakine has quit [Quit: Leaving]
akem has quit [Max SendQ exceeded]
erichmenge has quit [Quit: Be back later]
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
akem has quit [Max SendQ exceeded]
mercwithamouth has joined #ruby
coder_neo has quit [Ping timeout: 245 seconds]
schronicles47 has joined #ruby
coder_neo has joined #ruby
marknyc has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Markvilla has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
Virunga has quit [Remote host closed the connection]
twopoint718 has quit [Quit: leaving]
linoj has quit [Quit: linoj]
Goles has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
Takehiro has joined #ruby
Goles has joined #ruby
mahmoudimus has quit [Client Quit]
sent-hil has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 272 seconds]
Takehiro has quit [Ping timeout: 260 seconds]
Rizzle has joined #ruby
joeycarm_ has quit [Remote host closed the connection]
i8igmac has quit [Ping timeout: 245 seconds]
Progster has quit [Ping timeout: 260 seconds]
busybox43 has joined #ruby
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
kaawee has quit [Ping timeout: 255 seconds]
freeayu has quit [Remote host closed the connection]
leoncamel has quit [Ping timeout: 252 seconds]
Cache_Money has quit [Ping timeout: 252 seconds]
busybox42 has quit [Ping timeout: 268 seconds]
Soliah has joined #ruby
busybox42 has joined #ruby
monkegjinni has quit [Ping timeout: 255 seconds]
bapa has quit [Ping timeout: 240 seconds]
Jonah11_ has joined #ruby
RudyValencia has quit [Ping timeout: 276 seconds]
<rking> Hrm. Why does this work: run proc { … } but this doesn't: run -> { … }
<rking> Oh wait
<rking> Theory
<rking> Aha, yes. run -> _ { … }
<rking> It has some arg
erichmenge has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
busybox43 has quit [Ping timeout: 244 seconds]
<MarcWeber> for i in 2..(tds.length - 1) do fails with "import.rb:78:in `block in initialize': unexpected (RuntimeError)"
<rking> I forgot that arity strictness was one of the differences between them.
<MarcWeber> I don't understand that message yet. What's going wrong?
<Jonah11_> I want to create a DateTime object from a string, and specify that the time zone is "US/Eastern". How can I do this?
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
yekta has joined #ruby
<Jonah11_> I should clarify, the part I can't figure out is the time zone setting
<rking> MarcWeber: Can you gist the bigger context?
<MarcWeber> http://dpaste.com/819662/ line 70
bapa has joined #ruby
<MarcWeber> line 219 is calling it
<rking> MarcWeber: No 'do' when you do the for that way
<rking> MarcWeber: But I'd not use that form anyway.
<MarcWeber> rking: Which style would you recommend?
SCommette has quit [Quit: SCommette]
<rking> (2..tds.length-1).each do |i|
<MarcWeber> rking: for i in 1..10 do; puts i; end
<rking> Not a huge difference, but I think the leading-for is a bit unpopular
<MarcWeber> is fine ..
<MarcWeber> Its littel bit shorter
<rking> no, that 'do' is wrong
<rking> for i in 1..10
<rking> No 'do'
<MarcWeber> rking: So why does for i in 1..10 do; puts i; end do what I expect even though I'm wrong?
<rking> MarcWeber: You're right, it is a little shorter. I might start using it even if it's less common. ☺
<rking> MarcWeber: Oh, it's optional it seems.
i8igmac has joined #ruby
<rking> MarcWeber: So maybe that's not your problem
<Servidorv> hey guys if i have and array and i ned to delete one of the keys and value
<Servidorv> ??
<MarcWeber> no. because using ..3 works.
<Servidorv> what will be the best way to do it??
<rking> MarcWeber: OK, now that I actually read line 78, it's clear
<rking> headers[2] is neither String nor Array
<rking> Would be better worded like: raise "Unexpected class for headers[#{i}]: #{h.class}"
GoGoGarrett has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
savage- has joined #ruby
<MarcWeber> rking: sorry, I haveto find out why the first line telling me that the error occurs at line 80 is joined with the last puts line..
<micsha> curly braces are *always* used for hashes, right?
dakine has joined #ruby
codecaster has quit [Quit: Leaving.]
coder_neo has quit [Ping timeout: 260 seconds]
i8igmac has quit [Ping timeout: 255 seconds]
joshman_ has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
i8igmac has joined #ruby
<rking> MarcWeber: Huh? The thing you pasted before said: import.rb:78:in `block in initialize': unexpected (RuntimeError)
forced_request has joined #ruby
<MarcWeber> micsha: m = Hash.new; m["ab"] is a second way
<rking> That doesn't have to do with the `for 1 in 2…` nor line 80
<rking> micsha: I don't get your question. Curlies are also used for blocks.
<MarcWeber> rking: You're right. It just happens that my editor only showed line 70 first missing the point of failer line 80. That was missed because the error was written within a stdout line - thus it didn't start on a new line.
<MarcWeber> STDOUT.sync = true makes vim point to the the raise "unexpected" line - so I'm not going to fail again.
baroquebobcat has quit [Quit: baroquebobcat]
mercwithamouth has quit [Quit: Lost terminal]
joeycarmello has joined #ruby
<Jonah11_> why does the following give me an invalid date error: http://pastie.org/5130111
<micsha> if I do array = %w{thing1 thing2 thing3} is this an array?
Goles has quit [Remote host closed the connection]
<micsha> or does it have to be square brackets?
greenarrow has quit [Quit: IRC is just multiplayer notepad]
baroquebobcat has joined #ruby
forced_request has quit [Remote host closed the connection]
<Servidorv> {} is array
baroquebobcat has quit [Read error: No route to host]
<micsha> ok, I'm going through pragmatic programmer and they're switching stuff on me
<micsha> I was just curious.
baroquebobcat has joined #ruby
<Servidorv> ok
g-ram has quit [Quit: Computer has gone to sleep.]
BoomCow has joined #ruby
SCommette has joined #ruby
<rking> micsha: The % thingies can take a wide range of chars. You can ['a', 'b'] == %w(a b) == %w{a b} == %w|a b|
jrajav has joined #ruby
Servidorv has quit [Quit: Copywight 2012 Elmer Fudd. All wights wesewved.]
savage- has quit [Quit: savage-]
SCommette has quit [Client Quit]
joeycarmello has quit [Ping timeout: 255 seconds]
g-ram has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
Goles has joined #ruby
Araxia has joined #ruby
ttt has joined #ruby
v1negar has joined #ruby
glyytchy has joined #ruby
micsha has quit [Read error: Connection reset by peer]
mahmoudimus has joined #ruby
fms has quit [Ping timeout: 252 seconds]
synthetix_ has joined #ruby
mikepack has joined #ruby
jslowe has quit [Quit: Leaving]
iamjarvo has joined #ruby
macmartine has joined #ruby
advorak has joined #ruby
Takehiro has joined #ruby
RudyValencia has joined #ruby
crackfu has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
crackfu has joined #ruby
crackfu has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
synthetix_ has quit [Quit: Ex-Chat]
synthetix has quit [Quit: Ex-Chat]
synthetix has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
justinlilly is now known as justinabrahms
Goles has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 260 seconds]
savage- has joined #ruby
gabrielrotbart has joined #ruby
jrajav has quit []
jeffreybaird has quit [Quit: jeffreybaird]
yshh has joined #ruby
crackfu has joined #ruby
glyytchy has quit [Quit: glyytchy]
glyytchy has joined #ruby
c0rn_ has quit []
jarred_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jarred has quit [Ping timeout: 244 seconds]
jarred_ is now known as jarred
jrajav has joined #ruby
baroquebobcat has joined #ruby
demas has left #ruby [#ruby]
butblack has left #ruby [#ruby]
justinmcp has quit [Ping timeout: 245 seconds]
macmartine has quit [Quit: Computer has gone to sleep.]
justinmcp has joined #ruby
davidcelis has quit [Quit: K-Lined.]
jaygen_ has joined #ruby
jaygen has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
swarley has joined #ruby
scade has quit [Read error: Connection reset by peer]
advorak has quit [Quit: This computer has gone to sleep]
awarner has quit [Remote host closed the connection]
zeromodulus has joined #ruby
Vert has quit [Read error: Connection reset by peer]
scade has joined #ruby
fms has joined #ruby
fms is now known as Guest4910
zeromodu_ has quit [Ping timeout: 255 seconds]
butblack has joined #ruby
FifthWall has joined #ruby
zeromodu_ has joined #ruby
zeromodulus has quit [Ping timeout: 245 seconds]
dmiller has joined #ruby
tpe11etier_ has quit [Quit: tpe11etier_]
GeekOnCoffee has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
<rakl> what's the correct way to do this: `(@project.save) ? render json: @project : render json: @project.errors`
<rakl> if I must use ternary
eataix has joined #ruby
zeromodulus has joined #ruby
zeromodu_ has quit [Ping timeout: 240 seconds]
GeekOnCoffee has joined #ruby
ahmady has joined #ruby
GeekOnCoffee has quit [Read error: Connection reset by peer]
macmartine has joined #ruby
joeycarmello has joined #ruby
macmartine has quit [Client Quit]
Guest4910 has quit [Ping timeout: 268 seconds]
stillEPIK has quit []
EPIK has joined #ruby
xpen has joined #ruby
Cultofmetatron has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
jarred_ has joined #ruby
skaczor has quit [Remote host closed the connection]
jarred has quit [Read error: Connection reset by peer]
Cultofmetatron has quit [Remote host closed the connection]
tintin has joined #ruby
GeekOnCoffee has joined #ruby
<tintin> Hi, is it necessary to be root to run the 'make install' command?
joeycarmello has quit [Ping timeout: 246 seconds]
Cultofmetatron has joined #ruby
jarred_ has quit [Ping timeout: 256 seconds]
jrajav has quit []
<blazes816> rakl: ? render json: @project.save ? @project : @project.errors
cyberRodent has joined #ruby
<rakl> thanks blazes816
<blazes816> np
Hanmac1 has joined #ruby
Hanmac has quit [Read error: Operation timed out]
jarred_ has joined #ruby
davidcelis has joined #ruby
thinkdevcode has joined #ruby
ahmady has quit []
justinmcp has quit [Remote host closed the connection]
joeycarmello has joined #ruby
ablankfield has joined #ruby
baroquebobcat has joined #ruby
slainer68 has joined #ruby
benmatthew_ has joined #ruby
fyolnish has quit [Read error: Connection reset by peer]
fyolnish has joined #ruby
awarner has joined #ruby
Takehiro has joined #ruby
jeffreybaird has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
krisbulman has quit [Quit: krisbulman]
slainer68 has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
GeekOnCoffee has quit [Read error: Connection reset by peer]
tintin has quit [Quit: leaving]
Takehiro has quit [Ping timeout: 252 seconds]
h4mz1d has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
GeekOnCoffee has joined #ruby
GeekOnCoffee has quit [Read error: Connection reset by peer]
havenn has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
Chryson has quit [Quit: Leaving]
luckyruby has joined #ruby
GeekOnCoffee has joined #ruby
Tarential has quit [Ping timeout: 276 seconds]
kamsky has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
<kamsky> hey guys, do you know how can I use the definition of a regex inside another regex??
<swarley> i think so
<swarley> err
<swarley> sorry
<swarley> /foo#{/bar/}/
<kamsky> hehhe, ok , Ima try it, thanks
<swarley> [19] pry(main)> /foo#{/bar/}/
<swarley> => /foo(?-mix:bar)/
<swarley> [20] pry(main)> "foobar" =~ /foo#{/bar/}/
<swarley> => 0
radic has quit [Ping timeout: 246 seconds]
marknyc has quit []
<kamsky> worked, thx!
cardoni has quit [Quit: cardoni]
eph3meral has joined #ruby
luckyruby has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Essobi has joined #ruby
<Essobi> what's best practices for reading N bytes from a File.open, and perform some operation over N?
Goles has joined #ruby
sleetdrop has joined #ruby
luckyruby has joined #ruby
mahmoudimus has joined #ruby
Tarential has joined #ruby
radic has joined #ruby
* Essobi goes back to googling.
joeycarmello has quit [Remote host closed the connection]
kamsky has quit [Ping timeout: 276 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
fms has joined #ruby
fms is now known as Guest69854
dakine has quit [Quit: Leaving]
ablankfield has quit [Ping timeout: 276 seconds]
dakine has joined #ruby
Guest69854 has quit [Ping timeout: 252 seconds]
mahmoudimus has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Goles has quit [Remote host closed the connection]
Playb3yond has joined #ruby
baroquebobcat has joined #ruby
mahmoudimus has quit [Client Quit]
baroquebobcat has quit [Client Quit]
luckyruby has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
blazes816 has quit [Quit: blazes816]
krz has joined #ruby
swarley has quit [Ping timeout: 255 seconds]
vjt has quit [Remote host closed the connection]
[Neurotic] has quit [Ping timeout: 252 seconds]
advorak has joined #ruby
coder_neo has joined #ruby
CaptainJet has quit []
justinmcp has joined #ruby
[Neurotic] has joined #ruby
[Neurotic] has quit [Excess Flood]
[Neurotic] has joined #ruby
slainer68 has joined #ruby
Bosma has quit [Quit: leaving]
Takehiro has joined #ruby
jcaudle has quit [Quit: jcaudle]
slainer68 has quit [Ping timeout: 260 seconds]
tjbiddle has joined #ruby
joeycarmello has joined #ruby
Takehiro has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby
gabrielrotbart has joined #ruby
brianpWins has quit [Client Quit]
BoomCow has quit [Quit: This computer has gone to sleep]
seoaqua has joined #ruby
aLinux has joined #ruby
<aLinux> Hello all, is any ruby core developer here? Is ruby C source code more complex than python C source code? Please answer.
<Spitfire> That's a, uh, interesting question.
<Spitfire> lol
<aLinux> Spitfire⚡ Do you know the answer?
<Spitfire> No, heh.
aLinux has quit [Quit: Leaving]
joeycarmello has quit [Ping timeout: 255 seconds]
hbpoison has joined #ruby
mercwithamouth has joined #ruby
<seoaqua> has anyone used gems like 'page rank' ?they seem not to work these days. (there's no one responding in #ruby-lang, so i asked again here)
Playb3yond has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
mahmoudimus has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
havenn has quit [Remote host closed the connection]
Trucker has quit [Quit: Leaving]
cyberRodent has quit [Ping timeout: 260 seconds]
Takehiro has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
v1negar has quit [Quit: v1negar]
64MAB5OE3 has quit [Ping timeout: 276 seconds]
chendo_ has joined #ruby
chendo_ has quit [Changing host]
chendo_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Cache_Money has joined #ruby
tjbiddle has joined #ruby
marouane53 has joined #ruby
marouane53 has left #ruby [#ruby]
kuzushi has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
cakehero has joined #ruby
fms has joined #ruby
fms is now known as Guest53103
xpen has quit [Remote host closed the connection]
xpen has joined #ruby
nilg has joined #ruby
medik has quit [Quit: Leaving]
xpen_ has joined #ruby
Guest53103 has quit [Ping timeout: 240 seconds]
havenn has joined #ruby
Soliah has quit [Quit: Soliah]
xpen has quit [Ping timeout: 255 seconds]
BoomCow has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Goles has joined #ruby
coder_neo has quit [Ping timeout: 246 seconds]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Cultofmetatron has joined #ruby
Mon_Ouie has joined #ruby
marcuspat has quit [Quit: marcuspat]
advorak has joined #ruby
kamsky has joined #ruby
yakko_ has joined #ruby
chendo_ has quit [Ping timeout: 252 seconds]
arubin has quit [Quit: Computer has gone to sleep.]
joofsh has quit [Remote host closed the connection]
chendo_ has joined #ruby
rohit has joined #ruby
rburton- has joined #ruby
yakko has quit [Ping timeout: 272 seconds]
awarner has quit [Remote host closed the connection]
chrishunt has quit [Quit: Leaving...]
kzrl has quit [Ping timeout: 260 seconds]
kzrl has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
coder_neo has joined #ruby
havenn has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby
a_a_g has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
newfprag has joined #ruby
postmodern has joined #ruby
dakine has quit [Quit: Leaving]
dakine has joined #ruby
g-ram has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
i8igmac has quit [Remote host closed the connection]
davidcelis has quit [Quit: K-Lined.]
rjsamson has quit [Remote host closed the connection]
rjsamson has joined #ruby
Araxia has quit [Quit: Araxia]
Slivka has quit [Read error: Connection reset by peer]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: Computer has gone to sleep.]
Slivka has joined #ruby
rjsamson has quit [Ping timeout: 268 seconds]
knite has quit [Quit: knite]
ZubKonst_ has joined #ruby
burgestrand has quit [Quit: Leaving.]
caleb_io has joined #ruby
havenn has joined #ruby
ZubKonst has quit [Ping timeout: 245 seconds]
cyberRodent has joined #ruby
rohit has quit [Quit: Leaving]
Nisstyre-laptop has quit [Ping timeout: 255 seconds]
jarred__ has joined #ruby
hbpoison has joined #ruby
jarred_ has quit [Ping timeout: 265 seconds]
cyberRodent has quit [Ping timeout: 244 seconds]
davidcelis has joined #ruby
yekta has quit [Quit: yekta]
dnyy has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
dnyy has joined #ruby
dnyy has quit [Remote host closed the connection]
dnyy has joined #ruby
dnyy has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 252 seconds]
BadProphet has quit [Quit: This computer has gone to sleep]
BoomCow has quit [Quit: This computer has gone to sleep]
kamsky has left #ruby ["Leaving"]
invapid has quit [Ping timeout: 240 seconds]
FND has joined #ruby
benmatthew_ has quit [Quit: benmatthew_]
manizzle has quit [Ping timeout: 248 seconds]
elsifaka has joined #ruby
Soliah has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
answer_42 has joined #ruby
slainer68 has joined #ruby
ryanf has joined #ruby
khakimov has quit [Ping timeout: 245 seconds]
FifthWall has quit [Quit: Zzzzzzzzzzzzz]
slainer68 has quit [Ping timeout: 245 seconds]
Goles has quit [Remote host closed the connection]
khakimov has joined #ruby
<seoaqua> hi all, is ';' in regex Gramma,pls?
Slivka has quit [Read error: Connection reset by peer]
jgrevich_ has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
awestroke has joined #ruby
alejandro_ has quit [Ping timeout: 264 seconds]
areil has joined #ruby
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ is now known as jgrevich
xpen_ has quit [Ping timeout: 256 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
caleb_io has quit [Quit: caleb_io]
_alejandro has joined #ruby
kil0byte has joined #ruby
burgestrand has joined #ruby
brianpWins has quit [Ping timeout: 244 seconds]
bluOxigen has joined #ruby
cableray has quit [Quit: cableray]
brianpWins has joined #ruby
<havenn> seoaqua: Semicolon isn't a regex anchor, if that is what you mean?: http://www.ruby-doc.org/core-1.9.3/Regexp.html#label-Anchors
benmatthew_ has joined #ruby
jeremywrowe has joined #ruby
havenn has quit [Remote host closed the connection]
hbpoison has quit [Ping timeout: 256 seconds]
jeremywrowe has left #ruby [#ruby]
advorak has joined #ruby
benmatthew_ has quit [Ping timeout: 256 seconds]
advorak has quit [Client Quit]
lukeholder has joined #ruby
yxhuvud has joined #ruby
savage- has quit [Quit: savage-]
Nisstyre has quit [Ping timeout: 244 seconds]
savage- has joined #ruby
tagrudev has joined #ruby
Nisstyre-laptop has joined #ruby
FND has left #ruby [#ruby]
advorak has joined #ruby
djdb has joined #ruby
xpen has joined #ruby
newfprag has quit [Quit: Konversation terminated!]
fixl has joined #ruby
mahmoudimus has joined #ruby
pehlert has joined #ruby
awestroke has quit [Remote host closed the connection]
fms has joined #ruby
Jonah11_ has quit [Ping timeout: 245 seconds]
fms is now known as Guest21321
Jonah11_ has joined #ruby
Ivo has quit [Quit: WeeChat 0.3.9]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
khakimov has quit [Ping timeout: 256 seconds]
Guest21321 has quit [Ping timeout: 240 seconds]
tonini has joined #ruby
Nisstyre has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
jarred__ has quit [Quit: jarred__]
hbpoison has joined #ruby
nilg has quit [Remote host closed the connection]
lukeholder has quit [Quit: Computer has gone to sleep.]
Emmanuel_Chanel has joined #ruby
Takehiro has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 252 seconds]
nilg has joined #ruby
benmatthew_ has joined #ruby
slainer68 has joined #ruby
Ryan has joined #ruby
glyytchy has quit [Quit: glyytchy]
awestroke has joined #ruby
<Ryan> hi
Ryan is now known as Guest26743
coder_neo has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
coder_neo has joined #ruby
savage- has quit [Quit: savage-]
slainer68 has quit [Ping timeout: 260 seconds]
Soliah has quit [Quit: Soliah]
tiripamwe has joined #ruby
<seoaqua> never mind
seoaqua has quit [Quit: 离开]
yakko_ has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
maesbn has joined #ruby
fantazo has joined #ruby
tiripamwe has quit [Ping timeout: 256 seconds]
xpen has quit [Remote host closed the connection]
xpen has joined #ruby
advorak has joined #ruby
arturaz has joined #ruby
<Guest26743> i'm trying to find a good pattern/solution to a problem you'll see here: http://pastie.org/5131089 where there might be classes A-G and the attribute list might be 5 attributes long. i don't like this solution because the the A-B classes have too much unnecessary knowledge of ReceivingClass and its more of a helper method. I do want to avoid any checks for the class though and keep things as simple as possible. any ideas?
vlad_starkov has joined #ruby
cantonic has joined #ruby
sertaconay_ has joined #ruby
bairui has quit [Ping timeout: 276 seconds]
sertaconay has quit [Ping timeout: 240 seconds]
pehlert has quit [Quit: Leaving.]
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
jlwestsr has quit [Ping timeout: 246 seconds]
taypen has quit [Quit: Leaving]
aganov has joined #ruby
Takehiro has quit [Remote host closed the connection]
Morkel has joined #ruby
kil0byte_ has joined #ruby
pehlert has joined #ruby
dr_bob has joined #ruby
tiripamwe has joined #ruby
dhruvasagar has joined #ruby
vlad_sta_ has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
savage- has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
vlad_sta_ has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
Guest26743 is now known as RyanV
alup has quit [Read error: Connection reset by peer]
<ryanf> it would be much easier to answer your question if I could tell what it's supposed to be doing
vlad_starkov has quit [Read error: Connection reset by peer]
<ryanf> do you have a version with actual code instead of fake code?
vlad_starkov has joined #ruby
<RyanV> its complicated and in rails
anderse has joined #ruby
awestroke has quit [Remote host closed the connection]
<ryanf> I think I get it now after reading it a couple more times
<ryanf> I don't really know what you mean by "the attribute list might be 5 attributes long" though
<ryanf> specifically, I don't know which ways you're trying to make this general vs specific
<RyanV> basically, information is passed to a rails controller which creates an instance of class A, or of Class B, depending on the information passed. using that object, i need to create a new object using some of those attribute values
sertaconay_ has quit [Read error: Connection reset by peer]
<RyanV> so ReceivingClass always has the same attributes, say :message, :title, :caption. the attributes for ReceivingClass need to be populated using the values from other classes, but each of those other classes have different accessors
tiripamwe has quit [Ping timeout: 256 seconds]
bairui has joined #ruby
<ryanf> so for each class you need to define a mapping from accessor name to receivingclass name
<ryanf> I dunno how you can avoid those classes knowing the names of the receiving attributes
<ryanf> unless you did it positionally, but that's way worse
<RyanV> so in that example, each class defined a method called 'populate', which did the attribute transfer so that no matter what class it ended up being, i could just call 'populate' on it passing in the ReceivingClass instance
hamed_r has joined #ruby
<ryanf> yeah but what I mean is
cantonic has quit [Quit: cantonic]
<ryanf> I don't see how the A/B classes could have any less knowledge and have it actually work
<ryanf> because the only knowledge they have in your example is the name of the setter, and they need to know that no matter what
<RyanV> possibly an adapter module or something. i'm not sure where the mapping belongs, because i feel like it doesn't really belong in any of the classes
<ryanf> you could pull it out into separate objects if you feel like doing some Architecture, but the knowledge has to exist somewhere
kil0byte_ has quit [Ping timeout: 246 seconds]
<ryanf> and it has to exist in N places where N is the number of a/b/c/d/etc classes
<ryanf> so it's not very important whether it happens to be in those classes or in some other objects
zigomir has joined #ruby
<ryanf> imo
eldariof has joined #ruby
<RyanV> yeah, other than having them all in a single place at least might clean up the code so the similar functionality isn't across 5 different classes
ncopa has left #ruby ["Leaving"]
dangerousdave has joined #ruby
workmad3 has joined #ruby
<ryanf> you could do something like put a method on receivingclass that takes a hash
kil0byte has joined #ruby
<ryanf> and then pass a hash in from each of the #populate methods
justinmcp has quit [Remote host closed the connection]
<ryanf> but I'm not sure that's really any better
<RyanV> i might make a module with submodules, then call the module methods from the class A-B, so that at least the logic is all in one place
anpl has joined #ruby
anandhegde has joined #ruby
<RyanV> so populate becomes def populate() SomeModule::NameOfClass.populate end
dakine has quit [Quit: Leaving]
anandhegde has quit [Client Quit]
anandhegde has joined #ruby
kil0byte_ has joined #ruby
xpen_ has joined #ruby
sspiff has joined #ruby
icooba has quit [Quit: Textual IRC Client: www.textualapp.com]
thomas is now known as woman
cezar has joined #ruby
kil0byte has quit [Ping timeout: 252 seconds]
justinmcp has joined #ruby
xjiujiu_ has joined #ruby
<Hanmac> RyanV i tihnk you only make stuff complicated ... or is it rails that force you todo?
anandhegde has quit [Client Quit]
xpen has quit [Ping timeout: 260 seconds]
woman is now known as thomas
<RyanV> well, its a complex application. a lot of classes.
cezar has quit [Client Quit]
workmad3 has quit [Read error: Operation timed out]
mahmoudimus has joined #ruby
<RyanV> i like the idea of just passing an attribute mapping hash so a single method though
blacktulip has joined #ruby
Morkel_ has joined #ruby
Morkel has quit [Read error: Connection reset by peer]
Morkel_ is now known as Morkel
<ryanf> I think that is sweeping it under the rug a bit. the only abstraction you gain is not having to know that there is one setter per attribute
<ryanf> which is almost nothing
<ryanf> but I guess at least it'd be more concise than assigning everything one at a time
zeromodulus has quit [Read error: Connection reset by peer]
zeromodulus has joined #ruby
skipi has joined #ruby
knite has joined #ruby
margle has joined #ruby
awestroke has joined #ruby
filipe has joined #ruby
<RyanV> is there a way to see if an instance of a class will respond to a method without initializing the class
<RyanV> err creating an instance
Xeago has joined #ruby
J-_-L has quit [Ping timeout: 268 seconds]
xpen_ is now known as xpen
irleif has joined #ruby
<skipi> have you considered using instance_methods ?
<ryanf> RyanV: .instance_methods.include
<ryanf> yeah
<skipi> :)
<RyanV> yeh i saw that, thanks. I'm gonna add a class method to the Receiving class with a hash map of attributes
slainer68 has joined #ruby
jgrevich_ has joined #ruby
<RyanV> so class A, or whatever can just call that class method with the attar map
jgrevich has quit [Ping timeout: 248 seconds]
jgrevich_ is now known as jgrevich
ryanf has quit [Quit: leaving]
niklasb has quit [Ping timeout: 248 seconds]
slainer68 has quit [Ping timeout: 276 seconds]
fantazo has quit [Remote host closed the connection]
hoelzro|away is now known as hoelzro
icooba has joined #ruby
niklasb has joined #ruby
skcin7 has joined #ruby
yeggeps_ has joined #ruby
yeggeps has quit [Read error: Connection reset by peer]
justinmcp has quit [Remote host closed the connection]
Takehiro has joined #ruby
justinmcp has joined #ruby
Takehiro_ has joined #ruby
asuka has quit [Ping timeout: 272 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
pehlert has quit [Quit: Leaving.]
Beoran__ has joined #ruby
Takehiro has quit [Ping timeout: 240 seconds]
pehlert has joined #ruby
RyanV has quit [Quit: RyanV]
Beoran_ has quit [Ping timeout: 252 seconds]
rakl has quit [Quit: gone]
asuka has joined #ruby
haxrbyte has joined #ruby
Jackneill has joined #ruby
Jackneill is now known as Guest99161
jjang has quit [Remote host closed the connection]
hamed_r has quit [Remote host closed the connection]
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
sn0wb1rd has joined #ruby
kramutils has joined #ruby
ephemerian has joined #ruby
kramutils has left #ruby [#ruby]
pdswan_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
xorigin has joined #ruby
awestroke has quit [Read error: Connection reset by peer]
awestroke has joined #ruby
jgrevich has quit [Quit: jgrevich]
darthdeus has joined #ruby
darthdeus has quit [Remote host closed the connection]
darthdeus has joined #ruby
savage- has quit [Quit: savage-]
Virunga has joined #ruby
vlad_starkov has joined #ruby
awestroke has quit [Remote host closed the connection]
kil0byte has joined #ruby
jimeh has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
lukeholder has joined #ruby
tchebb has quit [Ping timeout: 245 seconds]
kil0byte_ has quit [Ping timeout: 245 seconds]
irleif has joined #ruby
thunderbirdtr has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
anderse has quit [Quit: anderse]
Virunga has quit [Remote host closed the connection]
shtirlic has joined #ruby
codecaster has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
alejandro_ has joined #ruby
Elhu has joined #ruby
_alejandro has quit [Ping timeout: 256 seconds]
Virunga has joined #ruby
jenrzzz has joined #ruby
jprovazn has joined #ruby
d3vic3 has joined #ruby
morf has joined #ruby
binaryplease has joined #ruby
ssspiff has joined #ruby
justinmcp has quit [Remote host closed the connection]
charliesome has joined #ruby
binaryplease has quit [Quit: WeeChat 0.3.9]
marius has joined #ruby
coder_neo has quit [Ping timeout: 276 seconds]
seich- has quit [Ping timeout: 246 seconds]
coder_neo has joined #ruby
xjiujiu_ has quit [Read error: Connection reset by peer]
knite has quit [Quit: knite]
workmad3 has joined #ruby
alup has joined #ruby
c0smic has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
rakl has joined #ruby
c0smic has left #ruby [#ruby]
elaptics`away is now known as elaptics
robotmay has joined #ruby
answer_42 has quit [Remote host closed the connection]
answer_42 has joined #ruby
Nowhere has joined #ruby
fyolnish has quit [Remote host closed the connection]
adambeynon has joined #ruby
awestroke has joined #ruby
slainer68 has joined #ruby
cantonic has joined #ruby
awestroke has quit [Remote host closed the connection]
skum has joined #ruby
hotovson has joined #ruby
greenarrow has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
hotovson has quit [Remote host closed the connection]
kil0byte has joined #ruby
pehlert has quit [Quit: Leaving.]
Takehiro_ has quit [Remote host closed the connection]
Nowhere has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cantonic has quit [Quit: cantonic]
lolmaus has joined #ruby
m4rtijn has joined #ruby
<m4rtijn> morning
cantonic has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
thunderbirdtr has quit [Ping timeout: 255 seconds]
senny has joined #ruby
nari__ has quit [Ping timeout: 260 seconds]
cantonic has quit [Client Quit]
xjiujiu has joined #ruby
skcin7 has quit [Quit: Computer has gone to sleep.]
skcin7 has joined #ruby
sspiff has quit [Remote host closed the connection]
anderse has joined #ruby
roadt has joined #ruby
daniel_- has joined #ruby
cantonic has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
Shrink has quit [Ping timeout: 268 seconds]
jslowe has joined #ruby
cantonic has quit [Quit: cantonic]
zeromodulus has quit [Ping timeout: 268 seconds]
dw has joined #ruby
<dw> hi. given an object like "foo = {:a => 1, :b => 2}" and some function 'do_foo', how do i invoke do_foo with the arguments named in foo?
<dw> oh. wait. ignore me
<codecaster> /ignore dw
lkba has quit [Ping timeout: 252 seconds]
swex has joined #ruby
zeromodulus has joined #ruby
timmow has joined #ruby
hamed_r has joined #ruby
crackfu has quit [Remote host closed the connection]
Takehiro has joined #ruby
crackfu has joined #ruby
zeromodulus has quit [Ping timeout: 252 seconds]
und3f has joined #ruby
adimircolen has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
emergion has joined #ruby
Takehiro has quit [Remote host closed the connection]
crackfu has quit [Ping timeout: 255 seconds]
vlad_starkov has joined #ruby
anpl has quit [Read error: Connection reset by peer]
anpl has joined #ruby
yshh has quit [Remote host closed the connection]
fyolnish has joined #ruby
monkegjinni has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
carlzulauf has quit [Ping timeout: 272 seconds]
carlzulauf has joined #ruby
gokul has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
bier has quit [Ping timeout: 260 seconds]
wobr has joined #ruby
sepp2k has joined #ruby
kil0byte_ has joined #ruby
seich- has joined #ruby
TTilus has quit [Ping timeout: 260 seconds]
QKO_ has quit [Ping timeout: 246 seconds]
tintin has joined #ruby
nohonor has joined #ruby
TTilus has joined #ruby
tintin has left #ruby [#ruby]
wobr has left #ruby [#ruby]
rumba has joined #ruby
QKO has joined #ruby
kil0byte has quit [Ping timeout: 240 seconds]
JonnieCache has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegji_ has joined #ruby
<darthdeus> hey guys, any idea why am i getting so ugly yellow in the line number in macvim? http://dl.dropbox.com/u/2896872/Screenshots/9~-e.png :\
<kalleth> its highlighting the current cursor line
amoe has left #ruby [#ruby]
<shevy> lol
<darthdeus> look at the difference between the colors
<Hanmac> darthdeus maybe because you use mac?
<shevy> yeah
TTilus has quit [Ping timeout: 264 seconds]
<shevy> the program is too stupid to colourize "end" the same
<darthdeus> the config for yellow is F0C674, which is correct in terminal, but in MacVim, it is FDFF00, which is a completely different color
<kalleth> because...mac
<shevy> time to use a better editor
<kalleth> try #vim or try a different scheme
<kalleth> oooh, shevy
emergion has quit [Quit: Computer has gone to sleep.]
<kalleth> YOU DID NOT JUST GO THERE
<shevy> look at the "end"
<shevy> the program is too dumb to figure out when to colourize it and when not
<Hanmac> shevy it seems that both images are colored wrong :P
bier has joined #ruby
zaki[] has quit [Read error: Operation timed out]
<shevy> yeah, this is a horrible program
noxoc has joined #ruby
<shevy> he should just switch to textmate already
<shevy> or emacs
<shevy> :>
<kalleth> i prefer emacs to textmate
<kalleth> honestly
<kalleth> anything modal
<noxoc> vim ftw
leoncamel has joined #ruby
<kalleth> BUT BUT BUT BUT GUI = PROGRESS
<shevy> it really is
<shevy> less need to memorize
lkba has joined #ruby
noxoc has quit [Client Quit]
noxoc has joined #ruby
dw has left #ruby [#ruby]
monkegji_ has quit [Ping timeout: 260 seconds]
<shevy> vim forces users to become a cyborg - the commands must be wired into the brain or else they will forever suck at using it
skcin7 has quit [Quit: Computer has gone to sleep.]
<noxoc> shevy: well but it's really easy to get the commands into the brain since they have a strucutre
skcin7 has joined #ruby
<noxoc> unlike emacs/texmates key bindings
codecaster has quit [Read error: Connection reset by peer]
TTilus has joined #ruby
<noxoc> I really wonder why people do not like the command mode, but have no problem memorizing a quadrillion of hotkeys that are not only hard to press, but even harder to memorize.
codecaster has joined #ruby
kil0byte has joined #ruby
<JonnieCache> because each vim commands you have to commit 4 or five movements to muscle memory. hotkeys are just one.
<JonnieCache> imagine if the piano had been designed by vim hackers. music would suck.
monkegjinni has joined #ruby
kil0byte_ has quit [Ping timeout: 245 seconds]
<noxoc> JonnieCache: no it wouldn't. It would be highly efficient and a song would be inside of a macro.
xjiujiu has quit [Remote host closed the connection]
u89 has joined #ruby
<JonnieCache> so youre saying all music would sound like the demo track on a casio keyboard circa 1991
<Xeago> this conversation, hilarious
TTilus has quit [Ping timeout: 248 seconds]
<Xeago> why don't we go back to ed/sed
<noxoc> JonnieCache: nope. This assumes that musicians don't want to be creative - whereas quite the opposite is their nature ;)
daniel_-_ has joined #ruby
daniel_- has quit [Read error: Operation timed out]
zaki[] has joined #ruby
<codecaster> Don't you hate when you had some test passing, and then after a bit of cleanup it no longer pass and you don't know which change screwed it?
butblack has quit [Quit: butblack]
<Xeago> codecaster: I always commit before cleaning up
<Xeago> when done cleaning and tests pass, I rebase
darthdeus has quit [Quit: Leaving...]
m4rz has joined #ruby
<codecaster> I should have commited
<m4rz> hi
<codecaster> then you can squash
<codecaster> arf
<Xeago> exactly :)
<Xeago> atleast your complaints yielded you new insights :)
<Xeago> also, try committing, and then undoing all your changes by holding undo
<m4rz> I'm trying to run this "https://github.com/jewilmeer/amazon-s3-usage-report-parser" but when I run it I've some troubles "/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- builder (LoadError)"
<m4rz> any idea?
<m4rz> I've installed gem builder
<Xeago> How relevant is bundler on 1.9?
<sonne> Xeago, bundler is always good
<Xeago> m4rz: are you using bundler?
<m4rz> no
<Xeago> try
<m4rz> how?
<JonnieCache> use bundler its the one
<m4rz> no Gemfile
<Xeago> awww.
<m4rz> any idea?
<m4rz> I need it no tools alternative
<Xeago> do you use rvm or something alike?
<codecaster> well, actually my problem wasn't in the code, but in a gem that I just released and the main app didn't get the update, I guess it wasn't on rubygems index yet
xpen has quit [Remote host closed the connection]
<m4rz> nope Xeago
hemanth has quit [Read error: Connection reset by peer]
kil0byte has quit [Remote host closed the connection]
nilg has quit [Ping timeout: 252 seconds]
hemanth has joined #ruby
TTilus has joined #ruby
skcin7 has quit [Ping timeout: 260 seconds]
<shevy> Xeago do you love bundler
skcin7 has joined #ruby
<m4rz> any idea please?
margle has joined #ruby
noxoc has quit [Quit: noxoc]
u89 has quit [Remote host closed the connection]
noxoc has joined #ruby
cantonic has joined #ruby
cantonic has quit [Client Quit]
casheew has quit [Read error: Connection reset by peer]
<Xeago> shevy: no idea
casheew has joined #ruby
krz has quit [Quit: krz]
butblack has joined #ruby
butblack has quit [Client Quit]
Takehiro has joined #ruby
<shevy> m4rz never tried builder
<m4rz> ..
Guerrero has joined #ruby
withnale has quit [Excess Flood]
Takehiro has quit [Remote host closed the connection]
talumees has joined #ruby
withnale has joined #ruby
Takehiro has joined #ruby
Takehiro has quit [Remote host closed the connection]
coder_neo has quit [Ping timeout: 252 seconds]
chussenot has joined #ruby
hamed_r has quit [Ping timeout: 260 seconds]
carloslopes has joined #ruby
_veer has quit [Ping timeout: 248 seconds]
weeb1e has quit [Ping timeout: 252 seconds]
weeb1e has joined #ruby
adimircolen has quit []
m4rz has quit [Quit: Page closed]
sleetdrop has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
slainer68 has quit [Remote host closed the connection]
yshh has joined #ruby
matthewrobbins has joined #ruby
mntzn has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
zommi has joined #ruby
lukeholder has quit [Quit: Computer has gone to sleep.]
vitor-br has quit [Ping timeout: 245 seconds]
daniel_-_ has quit [Quit: WeeChat 0.3.9]
coder_neo has joined #ruby
scx has joined #ruby
Vinz_` is now known as Vinz_
slainer68 has joined #ruby
zommi has quit [Quit: Leaving.]
swi has joined #ruby
swi is now known as Guest78206
larissa has joined #ruby
Axsuul has quit [Ping timeout: 244 seconds]
a_a_g has quit [Quit: Leaving.]
Vinz_ is now known as Vinz_`
carloslopes has quit [Read error: Connection reset by peer]
carloslo_ has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
darthdeus has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
<JonnieCache> randall munroe has done it again http://xkcd.com/1127/large/
<JonnieCache> thats what i call an infographic
vlad_starkov has joined #ruby
daniel_- has joined #ruby
slainer68 has quit [Remote host closed the connection]
emergion has joined #ruby
dhruvasagar has joined #ruby
djbpython has quit [Ping timeout: 245 seconds]
fermion has joined #ruby
xorspark has quit [Ping timeout: 252 seconds]
nari__ has joined #ruby
tiripamwe has joined #ruby
anachronistic has joined #ruby
graeme_ has joined #ruby
scade has quit [Remote host closed the connection]
yalue has joined #ruby
postmodern has quit [Quit: Leaving]
<shevy> except that today noone knows the real difference between these "two" parties
dr_bob has quit [Quit: Leaving.]
vlad_starkov has quit [Read error: Connection reset by peer]
swex has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 260 seconds]
Takehiro has joined #ruby
vlad_starkov has joined #ruby
Takehiro has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
CodeVision has quit [Quit: WeeChat 0.3.9]
Araxia has joined #ruby
vlad_starkov has joined #ruby
samphippen has joined #ruby
xorspark has joined #ruby
tiripamwe has quit [Ping timeout: 256 seconds]
gokul has quit [Quit: Leaving]
noxoc has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
erichmenge has quit [Quit: Be back later]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
Guest78206 has quit [Quit: leaving]
jlwestsr has joined #ruby
vlad_starkov has joined #ruby
talumees has quit [Read error: Connection reset by peer]
hamed_r has joined #ruby
dekroning has joined #ruby
Slivka has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
lolmaus has quit []
xargoon has quit [Ping timeout: 252 seconds]
akem has quit [Ping timeout: 245 seconds]
krisbulman has joined #ruby
CodeVision has joined #ruby
tiripamwe has joined #ruby
mark_locklear has joined #ruby
Fraeon has quit [Ping timeout: 260 seconds]
swex has joined #ruby
nopolitica has joined #ruby
erichmenge has joined #ruby
SecretAgent has quit [Read error: Operation timed out]
SecretAgent has joined #ruby
ffranz has joined #ruby
daniel_- has quit [Read error: Operation timed out]
roadt` has joined #ruby
roadt has quit [Read error: Connection reset by peer]
darthdeus has quit [Quit: Leaving...]
kn330 has joined #ruby
darthdeus has joined #ruby
nopolitica has quit [Quit: leaving]
samphippen has quit [Quit: Computer has gone to sleep.]
noxoc has joined #ruby
anpl has quit [Quit: This computer has gone to sleep]
kramutils has joined #ruby
erichmenge has quit [Quit: Be back later]
beiter has joined #ruby
dross has quit [Ping timeout: 260 seconds]
Ryhnn has joined #ruby
Ryhnn has quit [Client Quit]
dross has joined #ruby
Slivka has quit [Remote host closed the connection]
slainer68 has joined #ruby
Fraeon has joined #ruby
eataix has quit [Ping timeout: 245 seconds]
eataix has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
aquaranto has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
ttt has quit [Remote host closed the connection]
u89 has joined #ruby
skum is now known as vaino
pcboy_ has quit [Ping timeout: 245 seconds]
tiripamwe has quit [Ping timeout: 244 seconds]
linoj has joined #ruby
Danielpk_ has joined #ruby
kramutils has left #ruby [#ruby]
arielpts- has joined #ruby
samphippen has joined #ruby
jrajav has joined #ruby
kil0byte has joined #ruby
chussenot has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Read error: Operation timed out]
arielpts has quit [Ping timeout: 265 seconds]
Danielpk has quit [Ping timeout: 256 seconds]
Danielpk_ is now known as Danielpk
PapaSierra has joined #ruby
tommyvyo_ has joined #ruby
tommyvyo_ has quit [Changing host]
tommyvyo_ has joined #ruby
PapaSierra has left #ruby [#ruby]
Neomex has joined #ruby
Neomex has quit [Client Quit]
jeremywrowe has joined #ruby
sailias has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
joofsh has joined #ruby
hotovson has joined #ruby
yekta has joined #ruby
synthetix has quit [Ping timeout: 260 seconds]
yekta has quit [Client Quit]
ephemerian has quit [Ping timeout: 260 seconds]
kil0byte_ has joined #ruby
jrist-afk is now known as jrist
jeffreybaird has joined #ruby
Progster has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
benmatthew_ has quit [Read error: Connection reset by peer]
benmatthew_ has joined #ruby
carlyle has joined #ruby
OODavo has joined #ruby
jgarvey has joined #ruby
tk__ has joined #ruby
mmitchell has joined #ruby
sambio has joined #ruby
OODavo has left #ruby [#ruby]
slank has quit [Quit: Coyote finally caught me]
macabre has joined #ruby
pcboy_ has joined #ruby
leoncamel has quit [Ping timeout: 260 seconds]
chussenot has quit [Quit: chussenot]
beiter has quit [Quit: beiter]
GoGoGarrett has joined #ruby
carlyle has quit [Read error: Connection reset by peer]
keymone has joined #ruby
carlyle has joined #ruby
psycho_one has joined #ruby
kil0byte has joined #ruby
synthetix has joined #ruby
chussenot has joined #ruby
kil0byte_ has quit [Ping timeout: 256 seconds]
cakehero has joined #ruby
asobrasil has joined #ruby
CaptainKnots has joined #ruby
iamjarvo has joined #ruby
joeycarmello has joined #ruby
skaczor has joined #ruby
casheew has quit [Read error: Connection reset by peer]
tiripamwe has joined #ruby
casheew has joined #ruby
anpl has joined #ruby
Coolhand has joined #ruby
Coolhand has quit [Remote host closed the connection]
rlb3 has joined #ruby
tpe11etier_ has joined #ruby
cdzombak has joined #ruby
joeycarmello has quit [Ping timeout: 246 seconds]
tiripamwe has quit [Ping timeout: 260 seconds]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
JoshWines has quit [Read error: Connection reset by peer]
RJ3000_ has joined #ruby
bbttxu has joined #ruby
iPhoneMRZ has joined #ruby
zz_Cidan is now known as Cidan
cyberRodent has joined #ruby
verto|off is now known as verto
Uranio has joined #ruby
thisirs has joined #ruby
ZubKonst has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
<shevy> anyone of you knows prolog? I am trying to learn it
<hoelzro> I've dabbled in Prolog.
<hoelzro> it's fun!
<shevy> hmm it feels kind of alien right now... 5+5 doesn't give me anything
nitti has joined #ruby
v0n has joined #ruby
tiripamwe has joined #ruby
<hoelzro> shevy: A is 5 + 5.
<hoelzro> 5+5 is a term
<shevy> ohh
<hoelzro> terms are not subject to arithmetic evaluation
darthdeus has quit [Quit: Leaving...]
<shevy> curious :)
<hoelzro> the is operator forces it
<hoelzro> what's cool is A = 5 + 5, B is
irleif has joined #ruby
<hoelzro> B is A.
skipi has quit [Remote host closed the connection]
ZubKonst_ has quit [Ping timeout: 260 seconds]
kil0byte_ has joined #ruby
daniel_- has joined #ruby
<JonnieCache> no
Takehiro has joined #ruby
mikepack has joined #ruby
<hoelzro> heh
<JonnieCache> no
<shevy> hmm interesting that they seem to use .pl as extension, in the examples... I'd assume that would be a perl file
<hoelzro> yeah, that's...annoying.
<hoelzro> I use .pro for Prolog
<shevy> makes sense
d3vic3 has quit [Ping timeout: 244 seconds]
darthdeus has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.8]
joeycarmello has joined #ruby
<hoelzro> it's funny you ask about Prolog; I was just thinking about it last week
d3vic3 has joined #ruby
<hoelzro> I wrote a Fibonacci implementation in it
kil0byte has quit [Ping timeout: 252 seconds]
Uranio has joined #ruby
* m4rtijn loves prolog
<m4rtijn> its like talking to a small child
<JonnieCache> imagine if prolog were used instead of sql. that would be some futuristic shit right there
joeycarmello has quit [Read error: Operation timed out]
<shevy> m4rtijn hehe I like that comparison
<shevy> but right now, it all feels totally alien
<shevy> takeout(X,[1,2,3,4],_), X>3. /* 6. Conjunction of goals */
d2dchat has joined #ruby
<shevy> wtf!
<m4rtijn> I used to hardcore program prolog 2 years at uni
<m4rtijn> and I loved it
hsbt is now known as hsbt_away
timmow has quit [Quit: is having a nap]
<m4rtijn> studied at uni amsterdam, where it was created
hsbt_away is now known as hsbt
<JonnieCache> i had to do it for a month at uni. it drove me mad. we never had it adequately explained. by the time i actually understood it, the course was over
erichmenge has joined #ruby
geekbri has joined #ruby
<shevy> m4rtijn cool
<shevy> JonnieCache lol
bluenemo has quit [Remote host closed the connection]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
tiripamwe has quit [Ping timeout: 268 seconds]
dharmaturtle has quit [Ping timeout: 260 seconds]
katherinem13 has quit [Quit: katherinem13]
casheew has quit [Read error: Connection reset by peer]
hsbt has quit [Ping timeout: 256 seconds]
casheew has joined #ruby
linoj_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
katherinem13 has joined #ruby
elsifaka has quit [Ping timeout: 260 seconds]
linoj__ has joined #ruby
iPhoneMRZ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
linoj has quit [Read error: Operation timed out]
linoj__ is now known as linoj
linoj_ has quit [Read error: Connection reset by peer]
skum has joined #ruby
ttt has joined #ruby
casheew has joined #ruby
maletor has joined #ruby
hsbt has joined #ruby
rafter has joined #ruby
timmow has joined #ruby
vaino has quit [Ping timeout: 260 seconds]
paolooo has joined #ruby
invisime has joined #ruby
tiripamwe has joined #ruby
ttt has quit [Ping timeout: 245 seconds]
marius has quit []
Cultofmetatron has joined #ruby
rakl has quit [Quit: sleeping]
jeffreybaird_ has joined #ruby
mercwithamouth has joined #ruby
tazz has joined #ruby
casheew has quit [Read error: Connection reset by peer]
brendan` has left #ruby ["Leaving"]
hsbt is now known as hsbt_away
casheew has joined #ruby
dmerrick has joined #ruby
jeffreybaird has quit [Ping timeout: 256 seconds]
jeffreybaird_ is now known as jeffreybaird
Coolhand has joined #ruby
tiripamwe has quit [Ping timeout: 268 seconds]
F1skr has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
stopbit has joined #ruby
linoj has quit [Quit: linoj]
elsifaka has joined #ruby
rakl has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
graeme_ has quit [Quit: graeme_]
axl_ has joined #ruby
hsbt_away has quit [Ping timeout: 265 seconds]
joshman_ has joined #ruby
clocKwize has joined #ruby
<clocKwize> hey
hsbt_away has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
synthetix has quit [Remote host closed the connection]
kpshek has joined #ruby
linoj has joined #ruby
irleif has joined #ruby
kil0byte has joined #ruby
tiripamwe has joined #ruby
nemesit has joined #ruby
kil0byte_ has quit [Ping timeout: 240 seconds]
gregorg has quit [Read error: Connection reset by peer]
dr_bob has joined #ruby
arubin has joined #ruby
Virunga has quit [Remote host closed the connection]
66MAAA6Z5 is now known as kkh
hamed_r has quit [Quit: Leaving]
casheew has quit [Read error: Connection reset by peer]
jslowe has quit [Quit: Leaving]
casheew has joined #ruby
seich- has quit [Ping timeout: 246 seconds]
kiyoura has joined #ruby
tiripamwe has quit [Ping timeout: 260 seconds]
arietis has joined #ruby
graeme_ has joined #ruby
seich- has joined #ruby
schronicles47 has quit [Ping timeout: 246 seconds]
casheew has quit [Read error: Connection reset by peer]
Voxxit has quit [Ping timeout: 246 seconds]
casheew has joined #ruby
sertaconay has joined #ruby
rlb3` has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
Voxxit has joined #ruby
fantazo has joined #ruby
barefoot has quit [Changing host]
barefoot has joined #ruby
rlb3 has quit [Ping timeout: 246 seconds]
chrishunt has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
seydar has joined #ruby
CaptainKnots has quit [Quit: bazinga!]
graeme_ has quit [Quit: graeme_]
g0bl1n has joined #ruby
mntzn has quit [Quit: Lost terminal]
CaptainKnots has joined #ruby
carloslopes has joined #ruby
moshee has quit [Ping timeout: 244 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
Virunga has joined #ruby
<shevy> where can I find out the top 5 downloaded gems per day?
<shevy> or rather new gems altogether?
<shevy> I wanna scan for popular / what is new
<Xeago> rubygems.org
carloslo_ has quit [Ping timeout: 268 seconds]
<shevy> hmm where are the new entries listed?
hsbt_away is now known as hsbt
SCommette has joined #ruby
<GeekOnCoffee> shevy: best places I've found are github, ruby-toolbox and travis-ci
quest88 has quit [Quit: quest88]
<shevy> cool
Araxia has quit [Quit: Araxia]
hsbt has quit [Ping timeout: 268 seconds]
Neomex has joined #ruby
kil0byte_ has joined #ruby
<seydar> whoa, this looks cool: http://aalib-ruby.rubyforge.org/
u89 has quit [Remote host closed the connection]
<shevy> cool too
<shevy> but looks complicated
<shevy> I mean
hsbt has joined #ruby
<shevy> hp = AAlib::HardwareParams.new
<shevy> rp = AAlib::RenderParams.new
<shevy> I could never remember that by brain alone
darthdeus has quit [Quit: Leaving...]
ddd has quit [Quit: Leaving.]
d2dchat has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 255 seconds]
kil0byte_ has quit [Remote host closed the connection]
<seydar> also this: https://github.com/ujihisa/aa
darthdeus has joined #ruby
Coolhand has quit [Remote host closed the connection]
<seydar> shevy: i just want it so i can display math functions
<shevy> it would be nice to combine all that though
<seydar> and maybe the weather
<shevy> yeah
irleif has joined #ruby
swex has quit [Read error: Connection reset by peer]
<shevy> I am trying to collect commandline-only helpers
<shevy> got ascii bar counters ... ascii tables ... hmm
skcin7 has quit [Quit: Computer has gone to sleep.]
swex has joined #ruby
u89 has joined #ruby
<shevy> uh
<shevy> class Beer; end
<shevy> a.beer # equivalent to Beer.new
<shevy> what
<seydar> yeah
<shevy> where from does a. come
<seydar> just a few shortcuts for object creation
fgro has joined #ruby
<shevy> now I must find out how he does that
<seydar> kinda neat
<shevy> a() an() and the()
<shevy> class The
<shevy> hahahaha :)
carloslopes has quit [Remote host closed the connection]
eataix has quit [Quit: ZNC - http://znc.in]
irleif has quit [Client Quit]
<fgro> how can i get the name of a "currently" called method (so the name of the method within the method)?
Virunga has quit [Remote host closed the connection]
<seydar> fgro: example? use pastie or hpaste
krawchyk has joined #ruby
chussenot has quit [Quit: chussenot]
erichmenge has quit [Quit: Be back later]
philips_ has quit [Excess Flood]
scx has quit [Read error: Connection reset by peer]
ddd has joined #ruby
dharmaturtle has joined #ruby
areil has quit [Ping timeout: 240 seconds]
areil_ has joined #ruby
<seydar> what's something everybody's learned this past week?
areil_ has quit [Client Quit]
irleif has joined #ruby
philips_ has joined #ruby
bluenemo has quit [Remote host closed the connection]
irleif has quit [Client Quit]
tiripamwe has joined #ruby
bairui has quit [Ping timeout: 252 seconds]
theRoUS has quit [Ping timeout: 244 seconds]
Serial_Killer_C has joined #ruby
<clocKwize> seydar, getting angry at people gets things done
<nitti> truth.
samphippen has joined #ruby
<shevy> seydar know what we need? some kind of meta-combination gems
awarner has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<shevy> where similar and useful gems can be grouped together, and maintained together
<seydar> hm, interesting
<seydar> that'd be neat
<shevy> fgro, yeah via __method__ or the stack trace via caller()
<clocKwize> a gem of gems
mmitchell has quit [Remote host closed the connection]
<shevy> but __method__ is much easier than caller
<shevy> seydar you mean, learned programming-related? or in general
<seydar> ha, programming related
clj_newb has joined #ruby
<shevy> hmmm
fyolnish has quit [Remote host closed the connection]
fyolnish has joined #ruby
<shevy> ah
<shevy> gem sources -a http://gems.github.com
<shevy> did not know about that 3 days ago
maletor has quit [Quit: Computer has gone to sleep.]
areil has joined #ruby
<shevy> also, when I want to fix a bug or add a feature, and look at code I tell myself "I shall never again write anything complex"
<JonnieCache> gems.github.com has been dead for 3 years or more, no?
tiripamwe has quit [Ping timeout: 268 seconds]
<shevy> dunno!
<shevy> I didnt know that you can add additional gem listing at all
walbert has joined #ruby
geggam has joined #ruby
tintin has joined #ruby
<tintin> I read that , mat wanted to have a scripted language better than python and perl,
<tintin> so is ruby better than PHP ?
<tintin> Did mat try to make ruby better than PHP too?
anpl has quit [Quit: This computer has gone to sleep]
pothibo has joined #ruby
<ohcibi> tintin: a programming language better than php is not a high goal
d2dchat has joined #ruby
<ohcibi> tintin: and this is not meant as trolling, the flaws in this language are way to much and big despite the greater popularity of php
<tintin> Why better than python and perl the high goal?
<tintin> ohcibi: What do you mean?
<ohcibi> tintin: i dont know if there was even a goal to be better than X
<tintin> Yes, there was a goal better that python and perl, read the wiki
snearch has joined #ruby
<ohcibi> tintin: maybe, i just stated that php hast just to many flaws to be in the same position
<tintin> I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python. That's why I decided to design my own language
<tintin> ohcibi: ^
<tintin> Why didn't mat try to make it better than PHP?
<tintin> Why competing with python and perl ?
<ohcibi> tintin: it _is_ better than php, without trying
<ohcibi> thats what i'm saying
<Xeago> seydar: elasticsearch DSL
<ohcibi> there is no need to compete against php, because if your language works right, its better already
<tintin> How is it better than PHP without trying?
mmitchell has joined #ruby
<Xeago> tintin: tell me something that is worse than php
<weeb1e> Hi everyone
<weeb1e> I need some advice with debugging memory leaks, I'm not having much luck here
<weeb1e> I tried using GCTrack, but it does not even see the leaked instances, ObjectSpace shows them, but I still don't know why they are not being GC'd
davidcelis has quit [Quit: K-Lined.]
<weeb1e> I know a lot of model instances are stored as instance variables in an Event object instance for each event, but that event object instance is never stored, so it and everything it stores should be GC'd, yet it is not happening. The code is basically Event.new(...); It does not store any reference that that event instance in a variable, yet there are over 20000 instances of Event showing in ObjectSpace and it continues to rise forever
morf has quit [Quit: eof]
mercwithamouth has quit [Ping timeout: 252 seconds]
<tintin> Xeago: PHP is flexible and it has many built-in method/functions to make websites
<ohcibi> lol
clj_newb has quit [Ping timeout: 260 seconds]
<ohcibi> tintin: allt he languages you called are flexible and have many built-in method/functions to make websites 8-))
<Xeago> tintin: it has many built-in method/functions to leak websites
<Xeago> tintin: but answer my questions
<tintin> Xeago: What do you mean?
clj_newb has joined #ruby
<ohcibi> tintin: it has many built-in "features" that are infact misimplementations
<Xeago> all the c method encapsulations
<ohcibi> tintin it has broken == and === operators
<tintin> Xeago: What do you mean by all the c method encapsulations ?
<Xeago> you cannot implement crypto, only via statically linked libraries, not dynamically linked ones
<m4rtijn> php is a language for non-programmers - - means its not a programming language
nari__ has quit [Ping timeout: 252 seconds]
<Xeago> tintin: literally c functions directly used in php
<weeb1e> Does anyone have any idea how I can figure out what is holding references to these instances, that is stopping it from being garbage collected?
joeycarmello has joined #ruby
seydar has quit [Quit: leaving]
dnyy has joined #ruby
<tintin> m4rtijn: Do you know facebook.com is writen in PHP? is m-juckerburg programmer or non-programmer?
<Xeago> facebook.com is no longer written in PHP
<weeb1e> tintin: ^
tk__ has quit [Quit: ばいばい]
<apeiros_> oh dear. you guys are easy pray for a troll…
<Xeago> it is compiled to or either from php, mostly for the availability of c++
<weeb1e> facebook is mostly python and java
<m4rtijn> I did not say php users aren't programmers
<tintin> Xeago: What's wrong using C like functions, this is one of the reason people choose PHP
<barefoot> lol
tiripamwe has joined #ruby
<JonnieCache> go away
<ohcibi> guys..... don't feed......
<Xeago> fine I'll stop
<ohcibi> the p
<weeb1e> yeah just ignore, this debate got old in 2001
<apeiros_> <°»< <-- here, some fish for the troll
<tintin> Xeago: What do you mean by facebook is no longer with PHP ?
<weeb1e> Instead use your time wisely, such as helping me solve this huge memory leak :(
<Xeago> tintin: duckduckgo
<tintin> apeiros_: stop, you are biggest troll
tintin was kicked from #ruby by apeiros_ [that's not how you say thanks for the fish]
<Xeago> m4rtijn: that covers only 50% of the complaints
<Xeago> :O
<weeb1e> :)
<Xeago> I've never seen an op here
<ohcibi> tintin thats wrong
tintin has joined #ruby
djbpython has joined #ruby
<ohcibi> tintin: http://bit.ly/UacUWc
<JonnieCache> ohcibi: tintin is a known troll. he does this every so often. just ignore him
<apeiros_> meh, the bad things about new laptops - you miss all the logs from your old computer
* tintin is reading those links
<ohcibi> didnt know
mercwithamouth has joined #ruby
<ohcibi> tintin: dont switch on my fan
<apeiros_> I think it's the 4th or 5th time I see him start this conversation
Freijo has joined #ruby
Freijo has quit [Client Quit]
<Xeago> apeiros_: is this how channels on freenode get run? opless but requested only when needed?
chimkan_ has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<apeiros_> Xeago: there's no common, overarching freenode policy or somesuch
<apeiros_> each channel gets run by the channel owner as he/she pleases
<apeiros_> and note: I'm not the owner of #ruby
<Xeago> I wonder why you don't have op all the time though?
bapa has quit [Read error: Connection reset by peer]
<apeiros_> what for?
<Xeago> toleration, presence
<Xeago> guess that is a matter of preference
<ohcibi> Xeago: i recently read it in a freenode faq, that it is recommended to not have op all the time... i also really dont know why 8-))
<apeiros_> some see it as a provocation
<ohcibi> yeah.. maybe for the social climate
<Xeago> I guess it helps all been seen as equal tho
<apeiros_> people are irrational
<tintin> I have also some links where you will see the disadvantages of ruby too, but i'm not going to paste those links here, you can google easily
<Xeago> apeiros_: that statement is rational :)
chessguy has joined #ruby
<apeiros_> tintin: I think every serious ruby coder is well aware of rubys short-comings.
<apeiros_> ah, damn. fish.
bapa has joined #ruby
gregorg has joined #ruby
gregorg has quit [Changing host]
gregorg has joined #ruby
<tintin> apeiros_: That is true for PHP too, i think.
<ohcibi> so this means we have someone unserious here
Virunga has joined #ruby
<apeiros_> ohcibi: of course
<apeiros_> there's always the zealots.
<tintin> So far, i knew PHP is faster than ruby.
<apeiros_> (by which we're back at: people are irrational)
<ohcibi> *giggle*
<tintin> I have debug the ruby C source code today
<tintin> debugged
<fgro> shevy: and how determine from which method my current method was called?
Slivka has joined #ruby
<tintin> that seems , too many thread call/ stack/head initializations/traps etc..
dakine has joined #ruby
`brendan has joined #ruby
kil0byte has joined #ruby
<ohcibi> apeiros_: i personally like the ignore-feature of quassel, it instantly hides all old and all further messages of the person
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
<apeiros_> ohcibi: oooh, the "all old" part sounds neat indeed
<ohcibi> apeiros_: true
<tintin> So which languages facebook is moving from PHP?
<apeiros_> back when limechat was written in ruby, I wanted to add the ability to recognize conversations
<tintin> converting facebook from PHP to what ??
<apeiros_> tintin: #php ?
<tintin> ok
tiripamwe has quit [Ping timeout: 248 seconds]
<Xeago> tintin: facebook java ruby scala r
<Xeago> c++ c
<Xeago> pyton and perl
<ohcibi> and blockly
<Xeago> seen the latter two as well
joeycarmello has quit [Remote host closed the connection]
<Xeago> and c# for some of their ad related stuff
<weeb1e> Meh
<weeb1e> I'm getting absolutely no where with this :(
<Xeago> oh lets not forget javascript, for timeline computations
<weeb1e> I really don't know what do to
<apeiros_> fgro: caller, but you'll only get a textual representation
hsbt is now known as hsbt_away
alem0lars has joined #ruby
CooLD has joined #ruby
<fgro> apeiros_: that's fine
hsbt_away is now known as hsbt
<tintin> Xeago: That looks they are using everything but PHP ?
<Xeago> kinda
<tintin> Using everything, then why not PHP?
<weeb1e> Is there an advanced ruby channel or something? With support for ruby subjects like memory leaks, instead of debating about Personal Home Page?
<tintin> What's wrong with PHP
<Hanmac> tintin if you want to make ruby better, than do an bug-ticket, if not shut your mouth ... i can do 3D-Rendering with ruby with very high FPS
tagrudev has quit [Remote host closed the connection]
Neomex has quit [Quit: Neomex]
<tintin> Java,python,perl,c,c++,scala,ruby , what else remaining?
<Xeago> weeb1e: there is ruby-lang
<Xeago> tintin: r
<Xeago> fortron
<weeb1e> Xeago: No one ever talks there
<tintin> Xeago: What is r ?
<apeiros_> tintin: why do you ask about ruby vs. php?
<Xeago> a statistical language
<tintin> Hanmac: What is FPS ?
<Xeago> weeb1e: then I'd suggest posting on a board/mailinglist
<Xeago> oh geez
<Xeago> apeiros_: please
<Hanmac> frames per second
margle has quit [Quit: Computer has gone to sleep.]
<weeb1e> tintin: PHP is an ancient, horrible language made to allow any old person to be able to make simple programatic additions to their plain HTML Personal Home Page (PHP)
mjb2k has joined #ruby
<weeb1e> PHP is one of the very worst languages in common use today, please stop talking about it
nari__ has joined #ruby
<ohcibi> weeb1e: he wont
<apeiros_> tintin: or rather - give me a reason why I shouldn't ban you…
<weeb1e> Read http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ if you really want to know what is wrong with it
<weeb1e> But m4rtijn already gave you that link
<ohcibi> weeb1e: see 8-)
<mjb2k> oops, I meant to join #ruby, did I instead join #we-hate-php ?
chimkan_ has quit [Quit: chimkan_]
<weeb1e> You joined #tintin-wont-stop-talking-about-the-worst-language-ever
cardoni has joined #ruby
<apeiros_> welcome @ #trollfest
tjbiddle has joined #ruby
<tintin> lol
tintin has left #ruby [#ruby]
<weeb1e> AKA #no-one-can-help-with-my-damn-memory-leak
codecaster has quit [Read error: Connection reset by peer]
<shevy> weeb1e only the ruby developers on the mailing list
<Hanmac> yeah he is gone :D
<apeiros_> wow, I didn't have to swing the mighty ban-hammer
<weeb1e> I think he finally got the point
chrishunt has quit [Quit: Leaving...]
cardoni has quit [Client Quit]
larissa has quit [Quit: Leaving]
<Hanmac> weeb1e until he comes back again
<shevy> that bitch!
arturaz has quit [Remote host closed the connection]
<weeb1e> I'm starting to think rubys GC is borked
codecaster has joined #ruby
<Hanmac> shevy remembers that he has talked with tintin before
pu22l3r_ has joined #ruby
Serial_Killer_C has quit [Remote host closed the connection]
tazz has quit [Ping timeout: 244 seconds]
QKO_ has joined #ruby
arturaz has joined #ruby
<shevy> nah
<shevy> I just wanted to insult him when he was not looking
<Hanmac> weeb1e i maybe thought that he didnt know how to use the GC currectly ... i managed to make mark the objectes not to be deleted (because i want control when the objects are destoyed)
QKO has quit [Ping timeout: 265 seconds]
m4rtijn has quit [Ping timeout: 246 seconds]
Serial_Killer_C has joined #ruby
nitti is now known as _nitti
<weeb1e> I don't set any references to new Event instances created yet the instances are never destroyed
chussenot has joined #ruby
<weeb1e> So I have to restart my application 3 times a day or it stalls using up all the memory on the server
carloslopes has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
<Hanmac> weeb1e do you use some kind of lib or gem? maybe his is keeping the instances alive (my gems do)
_cheney has quit [Ping timeout: 245 seconds]
_cheney has joined #ruby
<weeb1e> I have loads of gems and libs but nothing that should be doing that...
tiripamwe has joined #ruby
Trioke has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<weeb1e> It is pretty much impossible to trace the references to these instances, so I really don't have any idea how to fix this
jaygen_ has quit [Remote host closed the connection]
CooLD has quit [Quit: áá]
<Paradox> its not impossible
<shevy> you just give up too quickly
<Paradox> you should be able to see whats happening in log files
<Paradox> and if not
<Paradox> write more verbose logfiles!
<Paradox> or use pry and try to trigger it yourself
rippa has joined #ruby
<weeb1e> Paradox: What do I print out?
<ohcibi> weeb1e: if your "loads of gems" does not belong to your project, then use rvm, create an empty gemset and try it without your other gems
<weeb1e> The point is, nothing ever references these instances
<Paradox> weeb1e, well, what type of app is it
<JonnieCache> weeb1e: are you *sure* nothing references it?
<weeb1e> It is an EventMachine application
<shevy> weeb1e how do you know that? external gems can do shitloads of crazy things
<weeb1e> JonnieCache: Event.new(...)
rjsamson has joined #ruby
<weeb1e> The instance is never set to a variable
<Paradox> as far as I know, third party gems dont influence anything unless you include them
<Paradox> but as someone suggested
<Paradox> uninstall/make a new gemset
<Paradox> speaking of gems
<weeb1e> Bleh
<Paradox> i need to update my ruby
<Paradox> fun
<shevy> if you require something, that can do craziness
arturaz has quit [Remote host closed the connection]
cantonic has joined #ruby
jlwestsr has quit [Ping timeout: 246 seconds]
<JonnieCache> weeb1e: with stuff like ObjectSpace you can never be sure
SCommette_ has joined #ruby
CooLD has joined #ruby
<weeb1e> I can't just remove gems as that would break all sorts of things
<ohcibi> weeb1e: dont start like tintin 8-)) read what we write... use rvm and create a new gemsets, with this you dont have to uninstall your usual gems
<weeb1e> ObjectSpace.each_object.select {|o| o.is_a?(Server::Event) }.size => 27053
tonini has quit [Remote host closed the connection]
<weeb1e> 7000 instances have leaked while I have spoken in this channel
<shevy> something creates them automagically
<weeb1e> I create them, myself
<Paradox> shevy, i meant require, silly me
RJ3000_ has quit [Max SendQ exceeded]
<shevy> 7000 times?
<Xeago> I shiver from eventmachine..
<weeb1e> I am almost sure it is not a gem doing this
tiripamwe has quit [Ping timeout: 252 seconds]
darthdeus has quit [Quit: Leaving...]
<ohcibi> weeb1e: "almost"
SCommette has quit [Ping timeout: 240 seconds]
SCommette_ is now known as SCommette
<JonnieCache> isnt there some kind of profiler that can track the references?
<weeb1e> shevy: UDP logs are parsed, each line that matches certain patterns are turned into events
<ohcibi> weeb1e: there must not be any "almost" nor "should"
<weeb1e> events have state, but only while being processed
<weeb1e> so the event instance is created, but never assigned to anything, it is intended to be GC'd once processing is complete
hydra__ has left #ruby [#ruby]
RJ3000_ has joined #ruby
<weeb1e> JonnieCache: I wish there was
<Paradox> JonnieCache, debugger, pry
<weeb1e> A piece of code called GCTrack can supposedly do it, but it does not see these instances
philcrissman has quit [Remote host closed the connection]
<weeb1e> Paradox: How can pry be used to trace where references to instances come from?
<Paradox> stat
<weeb1e> I will install it now if it can do that
<Paradox> stat object shows stuff about it
<weeb1e> Ok, I will try that then
<weeb1e> Thanks
dharmaturtle has quit [Ping timeout: 240 seconds]
d2dchat has quit [Remote host closed the connection]
sertaconay_ has joined #ruby
d2dchat has joined #ruby
d2dchat has quit [Remote host closed the connection]
SCommette_ has joined #ruby
<Paradox> hrm
<Paradox> what was fixed in p286
heftig has quit [Quit: leaving]
<JonnieCache> minor stuff
<Paradox> the changelog is, as usual, wonderfully sparce
<Paradox> se
sertaconay has quit [Ping timeout: 260 seconds]
samphippen has joined #ruby
<Paradox> well 2 is under feature freeze
<Paradox> so we might see it before 2015
mahmoudimus has joined #ruby
darthdeus has joined #ruby
SCommette has quit [Ping timeout: 260 seconds]
SCommette_ is now known as SCommette
darthdeus has quit [Client Quit]
<shevy> nah
<shevy> not before 2019
<Paradox> damn rbenv install is taking its sweet time
<Paradox> started the install at 9:50:21
Cache_Money has quit [Ping timeout: 256 seconds]
<Paradox> and its now 10:01
<ohcibi> Paradox: you compiling on your android smartphone?
jlwestsr has joined #ruby
anachronistic has quit [Quit: anachronistic]
<Paradox> no
<Paradox> my beefy mac pro
chimkan_ has joined #ruby
<Paradox> it just finished
<Paradox> damn, that was a long compile
<Paradox> git 1.8 took less time
tiripamwe has joined #ruby
<Xeago> then again git is maintained by speed freaks
cyberRodent has quit [Quit: leaving]
nimred has quit [Ping timeout: 244 seconds]
Slivka has quit [Remote host closed the connection]
<weeb1e> Paradox: stat doesn't even work on objects...
<weeb1e> It says it needs a method
nimred has joined #ruby
havenn has joined #ruby
dpatel has joined #ruby
JohnBat26 has quit [Ping timeout: 252 seconds]
skryking has quit [Quit: Konversation terminated!]
<weeb1e> So I really don't know how to use pry for this purpose :/
rakl has quit [Quit: sleeping]
linoj has quit [Quit: linoj]
darthdeus has joined #ruby
bbttxu has quit [Ping timeout: 260 seconds]
sertaconay_ has quit [Read error: Connection reset by peer]
davidcelis has joined #ruby
<Paradox> weeb1e, try pry+pry-stack_explorer
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
linoj has joined #ruby
thinkdevcode has joined #ruby
reinaldob has joined #ruby
BoomCow has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
jprovazn is now known as jprovazn_away
Hanmac has joined #ruby
beit has joined #ruby
_nitti has quit [Remote host closed the connection]
artOfWar has joined #ruby
ltsstar has joined #ruby
burgestrand has quit [Quit: Leaving.]
artOfWar has quit [Remote host closed the connection]
Monie has quit [Ping timeout: 244 seconds]
uris has joined #ruby
artOfWar has joined #ruby
rasbonics has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
coder_neo has quit [Ping timeout: 240 seconds]
maesbn has quit [Remote host closed the connection]
maletor has joined #ruby
maesbn has joined #ruby
blazes816 has joined #ruby
anachronistic has joined #ruby
aganov has quit [Remote host closed the connection]
tommylommykins has quit [Ping timeout: 240 seconds]
CodeDroid__ has joined #ruby
tommylommykins has joined #ruby
maesbn has quit [Ping timeout: 248 seconds]
Androidnewbe has joined #ruby
<Androidnewbe> hi
<Androidnewbe> any one using capybara, selenium, cucumber ?
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
Monie has joined #ruby
<invisime> !anyone
<invisime> oh damn. that bot's not here anymore.
<invisime> Androidnewbe: ask your question. don't look for someone with particular experience.
<Androidnewbe> ok anyone
rakl has joined #ruby
<Androidnewbe> is the a way to run multiple browsers for one test in cucumber ?
<Androidnewbe> using selenium and capybara :)
<invisime> just have a second instance of selenium.
jeffreybaird has quit [Quit: jeffreybaird]
chrishunt has joined #ruby
shtirlic has quit [Remote host closed the connection]
beneggett has joined #ruby
<Androidnewbe> invisime you mean second instacne of selenium server ?
djbpython has quit [Ping timeout: 252 seconds]
daniel_hinojosa has joined #ruby
BadProphet has joined #ruby
treyryan has joined #ruby
philcrissman has joined #ruby
<invisime> Androidnewbe: you shouldn't need a second instance of the server, just of the selenium browser. somewhere in your code, you should say something like SeleniumBrowser.new or somesuch. do that again to get a second browser.
bapa has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
nyrb has quit [Remote host closed the connection]
ryanlecompte has joined #ruby
<Androidnewbe> exactly but with cucumber it seems like is not as simple as that
headius has joined #ruby
tjbiddle has joined #ruby
invapid has joined #ruby
chimkan_ has quit [Quit: chimkan_]
tjbiddle has quit [Remote host closed the connection]
tjbiddle has joined #ruby
bapa has joined #ruby
nyrb has joined #ruby
darthdeu has joined #ruby
darthdeu has quit [Client Quit]
bradleyprice has joined #ruby
coder_neo has joined #ruby
beowuff has left #ruby [#ruby]
delinquentme has joined #ruby
darthdeus has quit [Ping timeout: 244 seconds]
tiripamwe has quit [Ping timeout: 268 seconds]
swex has quit [Read error: Connection reset by peer]
<delinquentme> OK so Im running a make operation ... and I'm getting " no such file to load " ... even though I've verified that the gem is installed by running a $ gem list
FlyingFoXy has joined #ruby
FlyingFoX has quit [Read error: Connection reset by peer]
Cidan is now known as zz_Cidan
kn330 has quit [Ping timeout: 260 seconds]
DrShoggoth has joined #ruby
graeme_ has joined #ruby
bluOxigen has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
axl_ has quit [Quit: axl_]
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
BadProphet has quit [Quit: This computer has gone to sleep]
roadt` has quit [Ping timeout: 260 seconds]
Bosma has joined #ruby
jeffreybaird has joined #ruby
dekroning has quit [Ping timeout: 252 seconds]
answer_42 has quit [Remote host closed the connection]
answer_42 has joined #ruby
sn0wb1rd has joined #ruby
kn330 has joined #ruby
jeffreybaird_ has joined #ruby
knite has joined #ruby
xorigin has quit [Quit: leaving]
Xeago has quit [Quit: Going home]
alfism has joined #ruby
nateberkopec has joined #ruby
Xeago has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
waxjar has quit [Ping timeout: 245 seconds]
jeffreybaird has quit [Ping timeout: 240 seconds]
jeffreybaird_ is now known as jeffreybaird
waxjar has joined #ruby
adeponte has joined #ruby
swex has joined #ruby
tiripamwe has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
Araxia has joined #ruby
FlyingFoXy is now known as FlyingFoX
voodoofish430 has joined #ruby
daniel_- has quit [Ping timeout: 260 seconds]
BoomCow has quit [Quit: Leaving]
glyytchy has joined #ruby
thisirs has quit [Remote host closed the connection]
jrajav has quit []
rjsamson has quit [Remote host closed the connection]
arturaz has joined #ruby
codefyre has joined #ruby
rjsamson has joined #ruby
dmiller has quit [Ping timeout: 244 seconds]
jgrevich has joined #ruby
linoj has quit [Ping timeout: 244 seconds]
BadProphet has joined #ruby
hoelzro is now known as hoelzro|away
swex has quit [Read error: Connection reset by peer]
Danielpk_ has joined #ruby
bairui has joined #ruby
rjsamson has quit [Ping timeout: 256 seconds]
nari__ has quit [Ping timeout: 244 seconds]
Danielpk has quit [Ping timeout: 268 seconds]
Danielpk_ is now known as Danielpk
arielpts- has quit [Ping timeout: 255 seconds]
ThaDick has joined #ruby
apok has joined #ruby
Araxia has quit [Read error: No route to host]
swex has joined #ruby
Araxia has joined #ruby
filipe has quit [Quit: Leaving]
samphippen has joined #ruby
codefyre has quit [Quit: Leaving]
kenichi-away is now known as kenichi
CooLD has quit []
glyytchy has quit [Quit: glyytchy]
ltsstar has quit [Ping timeout: 256 seconds]
_nitti has joined #ruby
glyytchy has joined #ruby
glyytchy has quit [Remote host closed the connection]
arielpts has joined #ruby
mrsolo has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
reinaldob has quit [Read error: Connection reset by peer]
irleif has joined #ruby
reinaldob has joined #ruby
stopbit has quit [Quit: Leaving]
linoj has joined #ruby
darthdeus has joined #ruby
margle has joined #ruby
carlzulauf has quit [Ping timeout: 240 seconds]
carlzulauf has joined #ruby
apok has quit [Remote host closed the connection]
ltsstar has joined #ruby
apok has joined #ruby
iaj has quit [Ping timeout: 240 seconds]
punkrawkR has joined #ruby
slainer68 has quit [Remote host closed the connection]
swex has quit [Remote host closed the connection]
dangerousdave has quit [Quit: Leaving...]
Araxia has quit [Read error: No route to host]
kn330 has quit [Ping timeout: 240 seconds]
Araxia has joined #ruby
dangerousdave has joined #ruby
moted has quit [Read error: Connection reset by peer]
<rubious> Is it possible to have more than one table in a single CSV document?
Agis__ has joined #ruby
<rubious> More than one table == 2 tables with different headers and column counts?
<invisime> rubious: it depends on what you're using to parse it.
<apeiros_> rubious: csv doesn't even state that a csv consisted of a table
moted has joined #ruby
<invisime> exactly.
<apeiros_> you could have every row with a different number of "cells"
<rubious> Ahh, I see
<rubious> So I can pretty much jam anything I want in there
<invisime> although if you need more than one table, you might want to use a "real" database.
<invisime> rubious: j-j-j-jam it in!
<apeiros_> most standard tools will assume that csv = table
<rubious> invisime: I am generating CSVs from our DB for download
mwillhite has joined #ruby
wmoxam_ has joined #ruby
anachronistic has left #ruby [#ruby]
<invisime> rubious: I might say one file per table then.
<invisime> and put them in a zip or something.
<rubious> kk, thanks invisime apeiros_
<apeiros_> rubious: make a tgz or zip of multiple csv's then
<rubious> yeah
<apeiros_> meh, i was too slow
tenmilestereo has joined #ruby
<invisime> lol.
<invisime> this is what /tmp is for.
chrisja has joined #ruby
bbttxu has joined #ruby
graeme_ has quit [Quit: graeme_]
irleif has quit [Quit: Computer has gone to sleep.]
jslowe has joined #ruby
alvaro_o has joined #ruby
mwillhite has left #ruby [#ruby]
iaj has joined #ruby
minijupe has joined #ruby
whaley has joined #ruby
fermion has quit [Ping timeout: 252 seconds]
thinkdevcode has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
dr_bob has quit [Quit: Leaving.]
JonnieCache has quit [Ping timeout: 248 seconds]
wmoxam_ has quit [Quit: leaving]
Isvara has joined #ruby
Bdawk has joined #ruby
linoj has quit [Read error: Connection reset by peer]
linoj has joined #ruby
jeffreybaird has joined #ruby
swex has joined #ruby
<Bdawk> What are my options for alternatives to having usernames/passwords inside of ruby scripts. Can i import an encrypted file where the user/pass is stored?
<Muz> Sure, or you could read it i from an environment variable, or use a non-password based auth method (tokens and certs)
<RubyPanther> Bdawk: you could use PAM :)
<Muz> What's this a username/password for? That may dictate your options.
bluenemo has quit [Remote host closed the connection]
<Bdawk> the user/pass would be authentication to another server or appliance
orion has quit [Quit: ""]
flip_digits has joined #ruby
<Muz> If you're limited in what and how you authenticate via, you could store those credentials elsewhere, and secure them
<Bdawk> having the data encrypted in some way would be preferrable
w400z has joined #ruby
<RubyPanther> Bdawk: http://rpam.rubyforge.org/
swarley has joined #ruby
ckrailo has joined #ruby
yeggeps_ has quit [Read error: Connection reset by peer]
<RubyPanther> And then you can use any *nix pw backend you want, pretty much. The default is probably encrypted already.
yeggeps has joined #ruby
senny has quit [Remote host closed the connection]
Slivka has joined #ruby
Mon_Ouie has joined #ruby
<Bdawk> interesting, where is the user/pass stored
CodeDroid__ has quit [Quit: In Web We Trust]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
Elhu has quit [Quit: Computer has gone to sleep.]
jonathanwallace has joined #ruby
<shevy> IN MY PANTS
<Bdawk> well i don't want that many people to have access to them :(
hsbt has quit [Ping timeout: 252 seconds]
ltsstar has quit [Ping timeout: 252 seconds]
hsbt has joined #ruby
sepp2k1 has joined #ruby
zomgbie has quit [Quit: Lost terminal]
dakine has quit [Quit: Leaving]
scx_ has joined #ruby
dakine has joined #ruby
<davidcelis> zing
daniel_- has joined #ruby
chessguy has quit [Remote host closed the connection]
coder_neo has quit [Ping timeout: 260 seconds]
sepp2k has quit [Ping timeout: 256 seconds]
coder_neo has joined #ruby
<Isvara> I'm trying to use Apache Buildr, which is written in Ruby, and it's messing up the POM files it downloads. The repository HTTP server is serving the files up with 'Content-Encoding: gzip', and Buildr just saves them as-is without decompressing them. It's using Net:HTTP -- shouldn't that be doing the decompressing itself? Does that need to be enabled somehow? (I've also tried passing '' and 'identity' as the 'Accept-Encoding' header, but that has no effect.
paolooo has quit [Ping timeout: 245 seconds]
anderse has quit [Quit: anderse]
plains has joined #ruby
Axsuul has joined #ruby
mpereira has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
mpereira has quit [Client Quit]
fgro has quit [Ping timeout: 260 seconds]
<blazes816> are there any plans on expanding the &:method syntax to allow parameters in someway?
mpereira has joined #ruby
mr-rich has joined #ruby
<blazes816> e.g. I can do User.all.each(&:delete), but it'd be nice if there was a way to do something like array_of_hashes.each(&:[], :key)
<blazes816> or similar
schwap has joined #ruby
<apeiros_> isn't that currying?
<blazes816> nokogiri_document.css('body br').each(&:replace, "\n|)
shevy2 has joined #ruby
Androidnewbe has quit [Quit: irc2go]
<blazes816> nokogiri_document.css('body br').each(&:replace, "\n") **
glyytchy has joined #ruby
coder_neo has quit [Read error: No route to host]
kpshek has quit []
mikeycgto has quit [Ping timeout: 240 seconds]
`brendan has quit [Ping timeout: 260 seconds]
<blazes816> yeah, but i don't want to have to create a method on a object that's just a curried version of another if possible
robertotauille has joined #ruby
Agis__ has quit [Quit: Agis__]
skum has quit [Quit: Leaving...]
Araxia has quit [Read error: Connection reset by peer]
<mr-rich> rking: ping
<workmad3> blazes816: array_of_hashes.each_with_object(:key, &:[])
skcin7 has joined #ruby
<rking> mr-rich: Yo
<blazes816> hmmm
pu22l3r_ has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 245 seconds]
<mr-rich> rking: I'm figuring stuff out now ... one quick Q: How do I parse/extract the response data from savon?
jrist is now known as jrist-afk
sent-hil has joined #ruby
<rking> mr-rich: It comes back like r.to_hash[:themethodname_response]
<rking> Which is an annoying data structure. All I can guess is that it's possible to call several methods in one request, somehow justifying it being a hash with a key like that — but even that doesn't make sense, because what if you call the same method a couple times? I donno.
<mr-rich> rking: hmmmmm I saw that in the hash ... thanks
d3vic3 has quit [Ping timeout: 244 seconds]
imami|afk is now known as banseljaj
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
d3vic3 has joined #ruby
love_color_text has joined #ruby
kpshek has joined #ruby
rasbonics has left #ruby [#ruby]
c0rn_ has joined #ruby
_md has joined #ruby
_nitti_ has joined #ruby
coder_neo has joined #ruby
sailias has joined #ruby
zigomir has quit [Ping timeout: 276 seconds]
chrishunt has quit [Quit: Leaving...]
sn0wb1rd has quit [Quit: sn0wb1rd]
ffranz has quit [Quit: Leaving]
chrishunt has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
ffranz has joined #ruby
mpereira has quit [Ping timeout: 252 seconds]
brianpWins has quit [Quit: brianpWins]
_nitti has quit [Ping timeout: 265 seconds]
sent-hil has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 240 seconds]
mikeycgto has joined #ruby
mikeycgto has quit [Changing host]
mikeycgto has joined #ruby
kng has joined #ruby
zz_Cidan is now known as Cidan
coder_neo has quit [Read error: Connection reset by peer]
kng has left #ruby [#ruby]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
peas has quit [Read error: Connection reset by peer]
barefoot has left #ruby [#ruby]
swex has quit [Read error: No route to host]
sailias has joined #ruby
swex has joined #ruby
a_a_g has quit [Quit: Leaving.]
<rking> OK, I'm officially starting a screenshot collection of "All tests passed" greenbars that were hard-earned and delicious.
sn0wb1rd has joined #ruby
<rking> When I'm old I think I'll pull these out more than I pull out pictures of my children.
chimkan has joined #ruby
<rking> j/k
kil0byte has quit [Ping timeout: 246 seconds]
elico has joined #ruby
love_color_text has quit [Remote host closed the connection]
daniel_- has quit [Ping timeout: 252 seconds]
g0bl1n has quit [Quit: Ex-Chat]
mpereira has joined #ruby
coder_neo has joined #ruby
noxoc1 has joined #ruby
timmow has quit [Quit: is having a nap]
chussenot has quit [Quit: chussenot]
omry has joined #ruby
stkowski has joined #ruby
mpereira_ has joined #ruby
medik has joined #ruby
noxoc has quit [Ping timeout: 255 seconds]
rjsamson has joined #ruby
marten has joined #ruby
Vinz_` is now known as Vinz_
kbeddingfield has joined #ruby
elico has quit [Quit: elico]
elico has joined #ruby
chetan- has left #ruby [#ruby]
Rix has quit [Ping timeout: 244 seconds]
ltsstar has joined #ruby
areil has quit [Remote host closed the connection]
psycho_one has quit [Remote host closed the connection]
J-_-L has joined #ruby
`brendan has joined #ruby
Morkel has quit [Quit: Morkel]
Isvara has quit [Quit: Leaving.]
djbpython has joined #ruby
tomsthumb has joined #ruby
chimkan has quit [Quit: chimkan]
ThaDick has quit [Quit: zzzZZZ ...]
Tuxist has joined #ruby
ThaDick has joined #ruby
zarubin has joined #ruby
emaiax has joined #ruby
geekbri has quit [Remote host closed the connection]
thinkdevcode has joined #ruby
_md has quit [Quit: Leaving...]
mercwithamouth has quit [Ping timeout: 260 seconds]
mklappstuhl has joined #ruby
heftig has joined #ruby
Araxia has joined #ruby
mpereira_ has left #ruby [#ruby]
mercwithamouth has joined #ruby
bricker has joined #ruby
rmillerx has joined #ruby
<bricker> Hello, someone please tell me how stupid I'm being: https://gist.github.com/3975627
maletor has quit [Quit: Computer has gone to sleep.]
visof has joined #ruby
<visof> how can i check url is up or not ?
tiripamwe has quit [Ping timeout: 244 seconds]
<bricker> visof: do a simple Net::HTTP request http://www.rubyinside.com/nethttp-cheat-sheet-2940.html
matthewrobbins has quit [Ping timeout: 276 seconds]
vectorshelve has joined #ruby
<apeiros_> bricker: one is a lambda and one is a proc
<vectorshelve> how to make sure that this rake task either has to pass completely successfully or rollback.. any exceptional handling or rescue way ? https://gist.github.com/3975641
<bricker> apeiros_: What's with the argument error, though?
<apeiros_> the difference being that a lambda performs argument count checking
<apeiros_> whereas a proc accepts just any amount of args
<bricker> apeiros_: But I'm not passing, nor accepting, any arguments for the lambda
<apeiros_> ->(*) { self.id }
<apeiros_> bricker: yes, you do
<apeiros_> you pass it to instance_eval
<apeiros_> and instance_eval yields 1 argument to the block
<bricker> apeiros_: ohhhhhh
<bricker> apeiros_: Thanks!
<bricker> apeiros_: Better to use a proc or a lambda for instance eval?
d-snp has quit [Quit: Lost terminal]
d-snp has joined #ruby
<apeiros_> I don't think one is better than the other
<apeiros_> just be aware that lambda checks for arg count
alexwh has joined #ruby
alexwh is now known as Guest43966
irleif has joined #ruby
<bricker> apeiros_: Thanks for the help!
Guest43966 has left #ruby [#ruby]
beit is now known as beiter
benmatthew__ has joined #ruby
brianpWins has joined #ruby
coder_neo has quit [Read error: Connection timed out]
mmitchell has quit [Remote host closed the connection]
beiter has quit [Quit: beiter]
josh_keith has joined #ruby
benmatthew_ has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
glyytchy has quit [Quit: glyytchy]
d3vic3 has quit [Quit: leaving]
tommyvyo_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
daniel_- has joined #ruby
jeffreybaird has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
cableray has joined #ruby
arturaz has quit [Remote host closed the connection]
dmiller has joined #ruby
beiter has joined #ruby
Guest99161 is now known as Jackneill
Jackneill has quit [Changing host]
Jackneill has joined #ruby
tiripamwe has joined #ruby
chimkan has joined #ruby
Vinz_ is now known as Vinz_`
margle has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
alvaro_o has quit [Read error: Connection reset by peer]
alvaro_o has joined #ruby
sent-hil has joined #ruby
shtirlic has joined #ruby
pu22l3r_ has joined #ruby
_nitti_ has quit [Remote host closed the connection]
josh_keith has left #ruby [#ruby]
sertaconay has joined #ruby
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
zeknox has joined #ruby
anderse has joined #ruby
rafter has quit [Remote host closed the connection]
coder_neo has joined #ruby
lukjekwnf has joined #ruby
margle has quit [Ping timeout: 256 seconds]
_md has joined #ruby
_nitti has joined #ruby
lukjekwnf has quit [Client Quit]
graeme_ has joined #ruby
graeme_ has quit [Client Quit]
bradleyprice has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 244 seconds]
kpshek has quit []
daniel_- has quit [Ping timeout: 252 seconds]
chimkan has quit [Quit: chimkan]
cakehero has quit [Quit: Computer has gone to sleep.]
BSaboia has joined #ruby
jrist-afk is now known as jrist
c0rn_ has quit [Quit: Computer has gone to sleep.]
Rix has joined #ruby
benmatthew__ has quit [Quit: benmatthew__]
nyrb has quit [Remote host closed the connection]
nyrb has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
tjbiddle has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
tjbiddle has quit [Read error: Connection reset by peer]
rumba has quit [Ping timeout: 245 seconds]
mercwithamouth has joined #ruby
tjbiddle has joined #ruby
emmanuelux has joined #ruby
freakazoid0223 has joined #ruby
nobitanobi has joined #ruby
tiripamwe has quit [Ping timeout: 260 seconds]
tjbiddle has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
tchebb has joined #ruby
Bdawk has quit [Ping timeout: 245 seconds]
<nobitanobi> If I open an output file in an objects method, and I want to use that same file in another function of that object, how can I store that reference to the file?
tjbiddle has joined #ruby
c0smic has joined #ruby
Edward__ has joined #ruby
<dmiller> notbrent: in an instance variable
<dmiller> oops nobitanobi *
<dmiller> sorry
kpshek has joined #ruby
coder_neo has quit [Read error: Connection timed out]
jeffreybaird has quit [Quit: jeffreybaird]
daniel_- has joined #ruby
fir_ed has quit [Ping timeout: 272 seconds]
BigFatFatty has joined #ruby
coder_neo has joined #ruby
moted has quit [Remote host closed the connection]
jenrzzz has joined #ruby
margle has joined #ruby
erichmenge has joined #ruby
zeknox has quit [Ping timeout: 255 seconds]
_nitti has quit [Remote host closed the connection]
Russell^^ has joined #ruby
Tuxist has quit [Remote host closed the connection]
chimkan_ has joined #ruby
rakl has quit [Quit: sleeping]
u89 has quit [Remote host closed the connection]
moted has joined #ruby
chimkan_ has quit [Client Quit]
_nitti has joined #ruby
kiyoura has quit [Ping timeout: 246 seconds]
w400z has quit []
<nobitanobi> thanks dmiller
Ry_ has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.8]
danheberden has quit [Quit: oh noes]
robustus has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
linoj has quit [Quit: linoj]
dekroning has joined #ruby
vectorshelve has quit [Quit: Page closed]
tiripamwe has joined #ruby
sn0wb1rd has joined #ruby
krisbulman has quit [Quit: krisbulman]
Ry_ is now known as Rya
kpshek has quit []
mercwithamouth has quit [Ping timeout: 248 seconds]
kpshek has joined #ruby
nobitanobi has quit [Ping timeout: 245 seconds]
mercwithamouth has joined #ruby
mmitchell has joined #ruby
jlwestsr has quit [Remote host closed the connection]
monokrome1 has joined #ruby
monokrome has quit [Read error: Connection reset by peer]
advorak has quit [Quit: This computer has gone to sleep]
Banistergalaxy has joined #ruby
tiripamwe has quit [Ping timeout: 252 seconds]
<Banistergalaxy> Sup
LucidDreamZzZ has quit [Ping timeout: 276 seconds]
answer_42 has quit [Ping timeout: 276 seconds]
alee has quit [Ping timeout: 276 seconds]
advorak has joined #ruby
LucidDreamZzZ has joined #ruby
robertotauille has quit [Quit: Leaving...]
bradleyprice has joined #ruby
d2dchat has joined #ruby
answer_42 has joined #ruby
havenn has quit [Read error: No route to host]
kbeddingfield has quit [Remote host closed the connection]
zeknox has joined #ruby
irleif has joined #ruby
irleif has quit [Client Quit]
X-Jester has quit [Ping timeout: 255 seconds]
Vinz_` is now known as Vinz_
margle has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
mercwithamouth has quit [Ping timeout: 252 seconds]
Cidan is now known as zz_Cidan
elaptics is now known as elaptics`away
monokrome1 has quit [Read error: Connection reset by peer]
zz_Cidan is now known as Cidan
monokrome1 has joined #ruby
mercwithamouth has joined #ruby
kiyoura has joined #ruby
Keva161- has joined #ruby
kpshek has quit []
jenrzzz has quit [Remote host closed the connection]
aquaranto has quit [Remote host closed the connection]
kpshek has joined #ruby
tiripamwe has joined #ruby
keymone_ has joined #ruby
<Keva161-> Hey guys, I'm trying to create a simple application to try out some stuff (Code is here: https://gist.github.com/3976116) However, it quits unexpectently when it gets to the if statement with the error - test.rb:13:in `initialize': No such file or directory - (Errno::ENOENT)
<Keva161-> from test.rb:13:in `<main>'... any ideas?
<Keva161-> from test.rb:13:in `open'
keymone has quit [Ping timeout: 268 seconds]
keymone_ is now known as keymone
jlwestsr has joined #ruby
rippa has quit [Ping timeout: 244 seconds]
<Rya> what did you type, its just saying whatever path you typed it's unable to find
<Rya> Just to clarify, the error is on line 13, not the if on line 7 according to the output
<Keva161-> i just pressed the return key to see if the loop worked correctly
<Rya> ah, well your if condition is wrong then
Progster has quit [Ping timeout: 252 seconds]
codecaster has quit [Quit: Leaving.]
<Keva161-> hmm
apok_ has joined #ruby
JonnieCache has joined #ruby
coder_neo has quit [Remote host closed the connection]
emaiax has quit [Quit: oh darn it.]
<Rya> length will never be < 0, you should check for an empty string, or even better, a valid filename
alee has joined #ruby
Cidan is now known as zz_Cidan
apok_ has quit [Remote host closed the connection]
nopolitica has joined #ruby
apok_ has joined #ruby
apok has quit [Ping timeout: 264 seconds]
apok_ is now known as apok
SJr has quit [Excess Flood]
zz_Cidan is now known as Cidan
love_color_text has joined #ruby
KindTwo has quit [Changing host]
KindTwo has joined #ruby
tiripamwe has quit [Read error: Connection reset by peer]
SJr has joined #ruby
JonnieCache has quit [Read error: Operation timed out]
CaptainKnots has quit [Quit: bazinga!]
hoelzro|away is now known as hoelzro
rakl has joined #ruby
ffranz1 has joined #ruby
kpshek has quit []
ffranz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
caleb_io has joined #ruby
jgrevich_ has joined #ruby
KevinSjoberg has joined #ruby
apok_ has joined #ruby
robert__ has joined #ruby
ned has quit [Ping timeout: 260 seconds]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
kpshek has joined #ruby
apok has quit [Ping timeout: 264 seconds]
apok_ is now known as apok
armenb has quit [Read error: Connection reset by peer]
armenb has joined #ruby
dekroning has quit [Ping timeout: 244 seconds]
_nitti has quit [Remote host closed the connection]
<shevy2> say I have a file, foo.txt
nazty has quit [Ping timeout: 256 seconds]
cakehero has joined #ruby
<shevy2> hmm... Is there a way to pass the content of this file, via system() or some other way, from within ruby?
<shevy2> wc -l < foo.txt
<shevy2> I'd want to get rid of the "< foo.txt" part
robert__ has quit [Ping timeout: 245 seconds]
<shevy2> and just transfer the data directly to wc -l
x82_nicole has joined #ruby
<Rya> Checkout Process.spawn
<Rya> it should handle what you're looking for
<x82_nicole> What is a static variable? Can't seem to find anything in ruby about that.
u89 has joined #ruby
tiripamwe has joined #ruby
swarley has quit [Read error: Connection reset by peer]
yalue has quit [Read error: Connection reset by peer]
freakazoid0223 has quit [Read error: Connection reset by peer]
<Mon_Ouie> Because Ruby doesn't have static variables
rlb3` has quit [Ping timeout: 246 seconds]
<Rya> x82_nicole: what exactly do you mean by static variable? C or C# style for example? What are you trying to achieve?
mercwithamouth has quit [Ping timeout: 260 seconds]
<Mon_Ouie> It has class variables as well as class instance variables
krisbulman has joined #ruby
zeknox has quit [Quit: leaving]
<shevy2> Rya hmm cool
ned has joined #ruby
_nitti has joined #ruby
mercwithamouth has joined #ruby
nazty has joined #ruby
ned is now known as Guest61621
CaptainKnots has joined #ruby
<x82_nicole> Rya: just trying to understand what they are. Are they only in other languages?
tiripamwe has quit [Ping timeout: 265 seconds]
kramutils has joined #ruby
<Rya> depends what you mean by it, if you mean the static keyword in C style, we don't have it (local file only access or same value throughout each function call), but if you mean a class variable, sure it's there
<Rya> it's probably best to ignore what they are if you don't already know, and focus on what you're trying to achieve with what you think they are?
<Mon_Ouie> The name "static variable" isn't used in Ruby it all
<Mon_Ouie> at all*
Progster has joined #ruby
<Hanmac> in ruby NOTHING is static :D
<Mon_Ouie> The concept of class variables (or alternatively class instance variables) is somehow similar to that of static variables in some other languages
<Rya> yes, but people accustomed to some other languages throw the term around a lot, and probably mean one of two things, so let's figure out what the ask is! :P
pu22l3r_ has quit [Remote host closed the connection]
kramutils has left #ruby [#ruby]
minijupe has quit [Quit: minijupe]
jeffreybaird has joined #ruby
axl_ has joined #ruby
c0rn_ has joined #ruby
kbeddingfield has joined #ruby
alfism has quit [Quit: alfism]
nazty has quit [Ping timeout: 252 seconds]
chrishunt has quit [Quit: Leaving...]
Jackneill has quit [Quit: Jackneill]
tiripamwe has joined #ruby
katherinem13_ has joined #ruby
katherinem13 has quit [Ping timeout: 252 seconds]
katherinem13_ is now known as katherinem13
swarley has joined #ruby
havenn has joined #ruby
tiripamwe has quit [Ping timeout: 246 seconds]
krisbulman has quit [Quit: krisbulman]
Araxia has quit [Read error: No route to host]
Araxia has joined #ruby
krisbulman has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9]
jenrzzz has quit [Ping timeout: 260 seconds]
<shevy2> Hanmac a symbol is static!
<shevy2> damn the 2 in my nick
shevy2 is now known as shevy
<shevy> beeetter
swarley has quit [Ping timeout: 246 seconds]
chrishunt has joined #ruby
icole has joined #ruby
ThaDick has quit [Quit: I'm outta here!]
chimkan__ has joined #ruby
apok has quit [Remote host closed the connection]
justinmcp has joined #ruby
mark_locklear has quit [Remote host closed the connection]
apok has joined #ruby
fgro has joined #ruby
clj_newb has quit [Read error: Operation timed out]
mercwithamouth has quit [Ping timeout: 255 seconds]
kkiero has quit [Ping timeout: 260 seconds]
nazty has joined #ruby
tiripamwe has joined #ruby
krisbulman has quit [Quit: krisbulman]
visof has quit [Remote host closed the connection]
joofsh has quit [Remote host closed the connection]
bbttxu has quit [Quit: bbttxu]
visof has joined #ruby
akem has quit [Read error: Connection timed out]
Serial_Killer_C has quit [Remote host closed the connection]
joofsh has joined #ruby
krisbulman has joined #ruby
caleb_io has quit [Read error: Connection reset by peer]
Caleb_ has joined #ruby
Keva161- has quit [Ping timeout: 252 seconds]
chimkan__ has quit [Quit: chimkan__]
krisbulman has quit [Client Quit]
mpereira has quit [Ping timeout: 252 seconds]
<shevy> ohhh
<shevy> wc, the unix program, requires a file?
cdzombak has quit []
Chryson has joined #ruby
u89 has quit [Remote host closed the connection]
akem has joined #ruby
Araxia has quit [Read error: No route to host]
Araxia_ has joined #ruby
carloslopes has quit [Remote host closed the connection]
kirun has joined #ruby
Serial_Killer_C has joined #ruby
invisime has quit [Quit: Leaving.]
<shevy> oh well there goes my idea
forced_request has joined #ruby
mercwithamouth has joined #ruby
<hoelzro> shevy: it requires a stream
<hoelzro> you can run it on standard input
<shevy> hmm
sn0wb1rd has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby
alexwh has joined #ruby
sailias has quit [Quit: Leaving.]
QKO has joined #ruby
slainer68 has joined #ruby
QKO_ has quit [Ping timeout: 268 seconds]
Angelica has joined #ruby
bigmac has joined #ruby
Araxia_ has quit [Read error: Connection reset by peer]
Araxia has joined #ruby
justinmcp has quit [Remote host closed the connection]
tyfighter has joined #ruby
BryanWB has joined #ruby
ninegrid has quit [Read error: Connection reset by peer]
<BryanWB> dear rubyists, what is the difference b/w minitest::spec and rspec?
<BryanWB> pls help me understand
justinmcp has joined #ruby
clj_newb has joined #ruby
<shevy> no idea
<shevy> both seem to test something
<shevy> possibly in different ways
<shevy> one of them surely sucks more than the other
<shevy> I'd say minitest::spec sucks more because it's longer to type
<havenn> BryanWB: minitest/spec is faster, less code, newer, included in Ruby
Caleb_ has quit [Ping timeout: 246 seconds]
<havenn> BryanWB: Rspec is more widely used
<BryanWB> havenn, that's helpful
kuzushi has quit [Ping timeout: 276 seconds]
<BryanWB> i maintain a bunch of Chef code so understanding these details would be helpful
apok has quit [Quit: apok]
Jonah11_ has quit [Ping timeout: 260 seconds]
<BryanWB> havenn, are minitest::spec and rspec functionally equivalent? are there difference in philosophy?
Jonah11_ has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
katherinem13 has quit [Ping timeout: 252 seconds]
apok has joined #ruby
newfprag has joined #ruby
Astral has joined #ruby
Araxia has quit [Read error: No route to host]
<havenn> BryanWB: Minitest is more minimalist. It has add-ons, like minitest-matchers that extend it ala Rspec or Shoulda
u89 has joined #ruby
<BryanWB> havenn, tks again
Astral is now known as Guest13634
Araxia has joined #ruby
ewokchewy has joined #ruby
chrxn_ has joined #ruby
matthewrobbins has joined #ruby
dtkatch has quit [Remote host closed the connection]
jaygen has joined #ruby
<rubious> How can I make the last element of an array the first?
<havenn> rubious: Array#rotate
<rubious> havenn: thanks
wargasm has joined #ruby
chrxn has quit [Ping timeout: 268 seconds]
chrxn_ is now known as chrxn
minijupe has joined #ruby
mpereira_ has joined #ruby
<havenn> rubious: Just give #rotate the argument: -1
<havenn> [:first, :middle, :last].rotate(-1)
zerserker has joined #ruby
Vinz_ is now known as Vinz_`
zerserker has left #ruby [#ruby]
krisbulman has joined #ruby
krisbulman has quit [Client Quit]
_nitti has quit [Remote host closed the connection]
Guest13634 is now known as Astral_
g-ram has joined #ruby
recycle has quit [Remote host closed the connection]
kuzushi has joined #ruby
neku has joined #ruby
Monalisa2012 has joined #ruby
mercwithamouth has joined #ruby
dharmaturtle has joined #ruby
BryanWB has quit [Quit: Ex-Chat]
jenrzzz has joined #ruby
Angelica has quit [Ping timeout: 265 seconds]
bbttxu has joined #ruby
c0smic has left #ruby [#ruby]
freakazoid0223 has joined #ruby
Progster has quit [Ping timeout: 256 seconds]
robustus has quit [Ping timeout: 255 seconds]
bapa_ has joined #ruby
minijupe has quit [Quit: minijupe]
bapa has quit [Read error: Connection reset by peer]
thone_ has joined #ruby
bigmac has quit [Remote host closed the connection]
marius has joined #ruby
chrxn has quit [Read error: Connection reset by peer]
anandhegde has joined #ruby
chrxn has joined #ruby
perryh has quit [Excess Flood]
Tref has quit [Quit: Tref]
perryh has joined #ruby
thone has quit [Ping timeout: 260 seconds]
jgarvey has quit [Quit: Leaving]
JarJar has joined #ruby
pdswan_ has quit [Ping timeout: 260 seconds]
hoelzro is now known as hoelzro|away
joshman_ has quit [Ping timeout: 246 seconds]
justinmcp has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
bapa_ has quit [Ping timeout: 255 seconds]
drago757 has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
whaley_ has joined #ruby
havenn has joined #ruby
Cidan is now known as zz_Cidan
jaygen_ has joined #ruby
richardjortega has quit [Read error: Connection reset by peer]
richardjortega has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
forced_request has quit [Remote host closed the connection]
whaley has quit [Ping timeout: 264 seconds]
jaygen has quit [Ping timeout: 252 seconds]
rakl has quit [Ping timeout: 252 seconds]
bapa has joined #ruby
Zai00 has joined #ruby
jeremywrowe has quit [Quit: jeremywrowe]
Zai00 has quit [Client Quit]
havenn has quit [Ping timeout: 244 seconds]
rakl has joined #ruby
thone_ has quit [Ping timeout: 246 seconds]
kbeddingfield has quit [Remote host closed the connection]
recycle has joined #ruby
thone has joined #ruby
Russell^^ has quit [Quit: Russell^^]
jenrzzz has quit [Ping timeout: 256 seconds]
mmitchell has joined #ruby
sertaconay has quit [Ping timeout: 260 seconds]
Chryson has quit [Ping timeout: 260 seconds]
macabre has quit [Remote host closed the connection]
nateberkopec has quit [Read error: Operation timed out]
GoGoGarrett has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
hakunin has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 244 seconds]
sw33tlull4by has joined #ruby
recycle has quit [Remote host closed the connection]
tiripamwe has quit [Ping timeout: 252 seconds]
ltsstar has quit [Quit: ltsstar]
anderse has quit [Quit: anderse]
Banistergalaxy has quit [Ping timeout: 255 seconds]
verto is now known as verto|off
hakunin has joined #ruby
Banistergalaxy has joined #ruby
mikeycgto has quit [Ping timeout: 260 seconds]
Rix has quit [Ping timeout: 260 seconds]
kbeddingfield has joined #ruby
mjb2k has quit [Quit: Leaving]
havenn has joined #ruby
rmillerx has quit [Quit: rmillerx]
Rix has joined #ruby
jaygen_ has quit [Ping timeout: 252 seconds]
neku has quit [Quit: Linkinus - http://linkinus.com]
Progster has joined #ruby
BrianJ_ has joined #ruby
flagg0204 has joined #ruby
und3f has quit [Quit: Leaving.]
BrianJ has quit [Ping timeout: 245 seconds]
BrianJ_ is now known as BrianJ
joshman_ has joined #ruby
gabrielrotbart has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
rlb3` has joined #ruby
chimkan has joined #ruby
visof has quit [Ping timeout: 268 seconds]
clj_newb has quit [Ping timeout: 240 seconds]
havenn has quit [Ping timeout: 246 seconds]
monokrome1 is now known as monokrome
theRoUS has quit [Ping timeout: 245 seconds]
krawchyk has quit [Remote host closed the connection]
tommyvyo has joined #ruby
twopoint718 has quit [Ping timeout: 265 seconds]
Araxia has joined #ruby
philcrissman has quit [Remote host closed the connection]
rlb3` has quit [Ping timeout: 244 seconds]
joshman_ has quit [Ping timeout: 252 seconds]
apok_ has joined #ruby
carlyle has quit [Remote host closed the connection]
monkegji_ has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
chimkan has quit [Remote host closed the connection]
chimkan has joined #ruby
mmitchell has quit [Remote host closed the connection]
BadProphet has quit [Remote host closed the connection]
apok has quit [Ping timeout: 260 seconds]
apok_ is now known as apok
robertotauille has joined #ruby
workmad3 has joined #ruby
daniel_- has quit [Ping timeout: 276 seconds]
Araxia_ has joined #ruby
KevinSjoberg has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
havenn has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
Araxia_ is now known as Araxia
medik has quit [Ping timeout: 260 seconds]
SauageSlapper has joined #ruby
<SauageSlapper> could someone tell me how to get the data from pixelint in this code -> http://pastebin.com/aYXdkFFC
seich- is now known as Seich
blacktulip has quit [Remote host closed the connection]
Seich is now known as seich
snearch has quit [Quit: Verlassend]
<havenn> SauageSlapper: In Ruby??
timonv has quit [Remote host closed the connection]
<SauageSlapper> lol sorry
cableray has quit [Quit: cableray]
beiter has quit [Quit: beiter]
robertotauille has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
verto|off is now known as verto
kpshek has quit []
nari__ has joined #ruby
alem0lars has quit [Quit: quit]
c0rn_ has quit [Quit: Computer has gone to sleep.]
jeremywrowe has joined #ruby
sullenel has joined #ruby
SauageSlapper is now known as BulletPull
_nitti has joined #ruby
hotovson has quit [Remote host closed the connection]
kkiero has joined #ruby
joshman_ has joined #ruby
clj_newb has joined #ruby
swarley has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
mr-rich has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
dharmaturtle has quit [Quit: can I sleep now?]
_nitti has quit [Ping timeout: 244 seconds]
hsbt is now known as hsbt_away
sullenel has quit [Quit: Leaving.]
pothibo has quit [Quit: pothibo]
c0rn_ has joined #ruby
justinmcp has joined #ruby
jenrzzz has joined #ruby
nateberkopec has joined #ruby
invapid has quit [Read error: Connection reset by peer]
sw33tlull4by has left #ruby [#ruby]
swarley has quit [Quit: Leaving]
g-ram has quit [Quit: Computer has gone to sleep.]
<arietis> hey, any ideas which expectation is proper to check if "a" and "b" are same string?
<arietis> must_equal?
<sent-hil> arietis: in test unit?
<arietis> minitest
fnogx has joined #ruby
jrist is now known as jrist-afk
fgro has quit [Ping timeout: 240 seconds]
chussenot has joined #ruby
invapid has joined #ruby
Monalisa2012 has quit [Ping timeout: 260 seconds]
<arietis> looks like must_equal is ok
<havenn> arietis: Yes, if you want to insure the two strings contain the same text. No, if you want to check if both variables point to the same object.
<arietis> at least test is passed
cableray has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<havenn> arietis: As long as you just wanna test string content matches, that is all good.
<arietis> kk, thanks
rmillerx has joined #ruby
Edward__ has quit [Read error: Connection reset by peer]
rjsamson has quit [Remote host closed the connection]
jamjam has joined #ruby
rjsamson has joined #ruby
headius has quit [Quit: headius]
Dreamer3 has joined #ruby
Edward__ has joined #ruby
<rking> How do you translate this into English?: class << self
rmillerx has quit [Client Quit]
bigkevmcd has quit [Ping timeout: 252 seconds]
elico has quit [Quit: elico]
rjsamson has quit [Ping timeout: 252 seconds]
mercwithamouth has quit [Ping timeout: 244 seconds]
Serial_Killer_C has quit [Remote host closed the connection]
<rking> Perhaps it can only be translated into Japanese.
geggam has quit [Read error: Connection reset by peer]
daniel_- has joined #ruby
forced_request has joined #ruby
<sent-hil> rking: open singleton scope?
SCommette has quit [Quit: SCommette]
gabrielrotbart has quit [Remote host closed the connection]
headius has joined #ruby
jeremywrowe has quit [Quit: jeremywrowe]
alienaut has joined #ruby
g-ram has joined #ruby
jeremywrowe has joined #ruby
mercwithamouth has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
Araxia_ has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
anandhegde has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
Araxia_ is now known as Araxia
bigkevmcd has joined #ruby
anandhegde has joined #ruby
<apeiros_> rking: open the singleton class of self
BoomCow has joined #ruby
mpereira_ has quit [Ping timeout: 252 seconds]
alanp has joined #ruby
cableray has quit [Quit: cableray]
x82_nicole has quit [Quit: Computer has gone to sleep.]
sheerun has joined #ruby
gabrielrotbart has joined #ruby
alanp_ has quit [Ping timeout: 260 seconds]
JonnieCache has joined #ruby
kbeddingfield has quit [Remote host closed the connection]
tenmilestereo has quit [Quit: Leaving]
<rking> Is :<< as a method somehow being sent to something? Or is "class <<" parsed all as its own thing?
rjsamson has joined #ruby
banseljaj is now known as imami|afk
mercwithamouth has quit [Ping timeout: 256 seconds]
fantazo has quit [Ping timeout: 260 seconds]
JarJar has quit [Quit: Leaving]
<apeiros_> rking: it's syntax, not a method call
dimka has quit [Read error: Operation timed out]
u89_ has joined #ruby
dimka has joined #ruby
u89 has quit [Read error: Operation timed out]
synthetix has joined #ruby
Poapfel has quit [Read error: Operation timed out]
<rking> OK, thanks.
Poapfel has joined #ruby
mercwithamouth has joined #ruby
marius has quit []
workmad3 has quit [Ping timeout: 260 seconds]
<havenn> Anyone have Halloween plans in Denver night before RubyConf?
dangerousdave has quit [Quit: Leaving...]
kbeddingfield has joined #ruby
<sent-hil> interesting, its just translated as on_kw, on_sp, on_op
shtirlic has quit [Remote host closed the connection]
<arietis> anyone using rvm?
<apeiros_> *sob*
<apeiros_> metaquestions--
yxhuvud has quit [Ping timeout: 255 seconds]
<havenn> arietis: Switched from RVM, to rbenv, and landed on rbfu (for the moment >.>).
yxhuvud has joined #ruby
cableray has joined #ruby
<arietis> somehow i have no ~/.rvmrc file
<rking> sent-hil: Oh, smart thinking! I was prepared to prowl through the MRI source. That's much better.
<arietis> any ideas if it's created automatically o i should make it myself?
<arietis> or*
<rking> sent-hil: Here's another, calling it NODE_SCLASS recv NODE_SELF: https://gist.github.com/809ad978075744f43a49
<sent-hil> arietis: AFAIK it's used to set config stuff
RudyValencia has quit [Read error: Connection reset by peer]
v0n has quit [Ping timeout: 260 seconds]
RudyValencia has joined #ruby
headius has quit [Quit: headius]
love_color_text_ has joined #ruby
love_color_text_ has quit [Changing host]
love_color_text_ has joined #ruby
_dnyy has joined #ruby
Araxia has quit [Ping timeout: 256 seconds]
<sent-hil> *optional config
mattaf123 has joined #ruby
dnyy has quit [Read error: Connection reset by peer]
Araxia has joined #ruby
<sent-hil> rking: nice
<rking> Dang. There's arr.size == arr.count == arr.length. Is there nothing like arr.size-1 ?
matthewrobbins has quit [Quit: matthewrobbins]
nyrb has quit [Read error: Connection reset by peer]
love_color_text has quit [Ping timeout: 264 seconds]
nyrb has joined #ruby
chrisja has quit [Quit: leaving]
bradleyprice has joined #ruby
<apeiros_> rking: write one… arr.last_index
nemesit has quit [Quit: Leaving...]
<apeiros_> but why'd you need it?
<blazes816> a.index(a[-1])
bradleyprice has quit [Remote host closed the connection]
<blazes816> that'd only work if it were unique though
<apeiros_> eh? that's not the same…
<apeiros_> also very slow…
<apeiros_> well, ok, it is the same for the case you mentioned
<blazes816> yeah, anything's going to be slower than arr. size - 1
<apeiros_> probably
ffranz2 has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
nohonor has quit [Read error: Connection reset by peer]
nohonor has joined #ruby
ffranz1 has quit [Ping timeout: 260 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
<sheerun> Traits in Scala can have method definitions. What about traits being type classes?
punkrawkR has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Ping timeout: 240 seconds]
matthewrobbins has joined #ruby
JonnieCache has quit [Ping timeout: 260 seconds]
mikepack has quit [Remote host closed the connection]
<sheerun> sry
sent-hil has quit [Remote host closed the connection]
emergion has joined #ruby
postmodern has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
dmerrick_ has joined #ruby
dmiller_ has joined #ruby
Araxia has joined #ruby
sent-hil has joined #ruby
dmerrick has quit [Ping timeout: 244 seconds]
dmerrick_ is now known as dmerrick
synthetix has quit [Read error: Connection reset by peer]
havenn has quit [Ping timeout: 268 seconds]
c0rn_ has quit [Quit: Computer has gone to sleep.]
synthetix has joined #ruby
dmiller has quit [Ping timeout: 244 seconds]
_nitti has joined #ruby
scade has joined #ruby
matthewrobbins has quit [Quit: matthewrobbins]
tessi has quit [Ping timeout: 276 seconds]
Artheist has joined #ruby
_nitti has quit [Ping timeout: 256 seconds]
tessi has joined #ruby
h4mz1d has joined #ruby
chussenot has quit [Quit: chussenot]
Artheist has quit [Remote host closed the connection]
Artheist has joined #ruby
kamsky has joined #ruby
lkba has joined #ruby
<kamsky> do you guys know if it's possible to do this on Ruby?:
<kamsky> variation = /(\((?<var>#{list})\)\s*)*/
<kamsky> list = /(#{line}#{variation}#{regular_comment}#{eol_comment}#{escape_comment})*/
<kamsky> im using the definition of list inside variation, and vice versa
asuka has quit [Read error: Connection reset by peer]
thinkdevcode has joined #ruby
kirun has quit [Quit: Client exiting]
BSaboia__ has joined #ruby
anandhegde has quit [Quit: Linkinus - http://linkinus.com]
BigFatFatty has left #ruby [#ruby]
khakimov has joined #ruby
mr-rich has joined #ruby
freakazoid0223 has quit [Ping timeout: 256 seconds]
BSaboia has quit [Ping timeout: 260 seconds]
jimeh has quit [Ping timeout: 260 seconds]
jgrevich_ has joined #ruby
matthewrobbins has joined #ruby
scx_ has quit [Ping timeout: 246 seconds]
setient has quit [Quit: leaving]
nazty has quit [Quit: Leaving]
nazty has joined #ruby
zeromodulus has joined #ruby
jaygen has joined #ruby
jcaudle has joined #ruby
hakunin has quit [Ping timeout: 240 seconds]
scx_ has joined #ruby
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
ryanf has joined #ruby
adeponte has quit [Remote host closed the connection]
havenn has joined #ruby
_bart has joined #ruby
adeponte has joined #ruby
nazty has quit [Read error: Connection reset by peer]
rlb3` has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
recycle has joined #ruby
alienaut has quit [Remote host closed the connection]
syamajala has joined #ruby
c0rn_ has joined #ruby