apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
drumusician has quit [Ping timeout: 245 seconds]
dpaulus has joined #ruby
io_syl has quit []
<rdevilla> How does this work? foo = [{"abc" => "123}, {"foo" => "bar"}]
<rdevilla> foo.shift["foo"
<rdevilla> > "bar"
<rdevilla> The documentation for Array.shift and Hash.shift don't seem to match up with this behaviour at all
<rdevilla> s/"123/"123"
<rdevilla> and a missing close square brace there ._.
jibi has quit [Quit: .]
s2013 has quit [Ping timeout: 245 seconds]
<rdevilla> nevermind I am completely misunderstanding this
nalone has joined #ruby
<waxjar> shift removes the first element from the Array, and returns it.
shedd has joined #ruby
prc has quit [Quit: Leaving.]
<waxjar> the first element would be { "abc" => "123" } in this case. so foo.shift["foo"] will be nil
<rdevilla> waxjar: Okay, I am looking at this snippet from Why's guide: http://ideone.com/mHV0Rz
psyl0n has joined #ruby
<rdevilla> What I don't understand is how you pass a key inside an array of hashes
<rdevilla> to shift
iMe has quit [Quit: Computer has gone to sleep.]
<rdevilla> and then get the value that corresponds to that key
jkhwan has quit [Remote host closed the connection]
<rdevilla> As you said, shifting an array removes the first element and returns it
jkhwan has joined #ruby
<rdevilla> shouldn't this then return a hash, not a value?
iMe has joined #ruby
<waxjar> >> [{"abc" => "123}, {"foo" => "bar"}].shift
<eval-in_> waxjar => /tmp/execpad-7d2e0ce55ac9/source-7d2e0ce55ac9:2: syntax error, unexpected tIDENTIFIER, expecting '}' ... (https://eval.in/79702)
<waxjar> >> [{"abc" => "123"}, {"foo" => "bar"}].shift
<eval-in_> waxjar => {"abc"=>"123"} (https://eval.in/79703)
<waxjar> >> [{"abc" => "123"}, {"foo" => "bar"}].shift["abc"]
<eval-in_> waxjar => "123" (https://eval.in/79704)
<rdevilla> waxjar: That makes no sense to me.
<rdevilla> Where is this behaviour documented?
Shidash has quit [Ping timeout: 248 seconds]
<waxjar> Array#shift
<rdevilla> "Removes the first element of self and returns it" as a nullary method
<bnagy> shift is not for searching. It's for removing and returning the first n elems of something
<rdevilla> "If a number n is given, returns an array of the first n elements"
w4pm has joined #ruby
<rdevilla> [{"abc" => "123"}, {"foo" => "bar"}].shift["abc"]
<bnagy> although hash doesn't seem to support an arg :/
<rdevilla> neither calls shift without arguments
<rdevilla> nor does it call shift with a number n
shedd has quit [Ping timeout: 265 seconds]
<rdevilla> so either the documentation is incomplete or I am totally misunderstanding something
<waxjar> the call to shift returns the hash { "abc" => "123" }, on which you can call Hash#[]
vlad_starkov has joined #ruby
<waxjar> ["abc"] aren't the arguments for shift
<bnagy> .shift 'abc' is nonsense
<rdevilla> oh doy.
<rdevilla> I am an idiot
<rdevilla> I am used to having parentheses littered everywhere
Hanmac1 has joined #ruby
ckinni has joined #ruby
<rdevilla> thanks for the clarification
iMe has quit [Ping timeout: 260 seconds]
<waxjar> np
Hanmac has quit [Ping timeout: 252 seconds]
<bnagy> inconsistent arity between Array#shift and Hash#shift seems like a bug, to me, though
<bnagy> I can't think of any good reason not to support shift n
<waxjar> seems strange, yeah
Yarou has joined #ruby
Yarou has quit [Changing host]
Yarou has joined #ruby
s_e has quit [Ping timeout: 240 seconds]
ephemerian has left #ruby [#ruby]
Hanmac has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Quit: Leaving...]
Hanmac1 has quit [Ping timeout: 248 seconds]
s_e has joined #ruby
<waxjar> perhaps because you'd need a nested Array for n > 1, making the return value inconsistent?
coca_rails has joined #ruby
jtgiri_ has joined #ruby
preller has quit [Ping timeout: 245 seconds]
<bnagy> I don't understand what you mean
brtdv has quit []
<bnagy> normal shift just returns X elems, I would imagine Hash#shift(n) would just kind of treat it like an array of 2-elem arrays?
hogeo has joined #ruby
charliesome has joined #ruby
<waxjar> shift 1 would return [key, val], shift 2 [[key, val],[key,val]]
<bnagy> right
<bnagy> which is what Array#shift n would do as well
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
taion809_ is now known as taion809
jamesaanderson has joined #ruby
shedd has joined #ruby
preller has joined #ruby
nari has quit [Ping timeout: 252 seconds]
davy_ has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
brenix has left #ruby ["WeeChat 0.4.2"]
nettoweb has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
mootpointer has joined #ruby
aryaching has joined #ruby
nateberkopec has joined #ruby
zz_karupanerura is now known as karupanerura
peregrine81 has quit []
hogeo has quit [Remote host closed the connection]
okinomo has joined #ruby
esing has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
bricker`LA has quit [Quit: leaving]
nateberkopec has quit [Quit: Leaving...]
okinomo has quit [Ping timeout: 252 seconds]
siwica has quit [Ping timeout: 264 seconds]
jianxioy has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
siwica has joined #ruby
psyl0n has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
nateberkopec has joined #ruby
preller has quit [Ping timeout: 248 seconds]
TigerWolf has joined #ruby
rjhunter has joined #ruby
VTLob has quit [Quit: VTLob]
mootpointer has quit [Quit: ENOCAFFEINE.]
nettoweb has quit [Quit: nettoweb]
kaiza has left #ruby ["❤"]
preller has joined #ruby
Xeago has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
nettoweb has joined #ruby
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
iliketur_ has joined #ruby
hogeo has joined #ruby
w4pm has joined #ruby
mmcdaris has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
kitak has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
psyl0n has joined #ruby
kitak_ has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 245 seconds]
kitak has joined #ruby
klaut has quit [Remote host closed the connection]
mmcdaris has quit [Client Quit]
AndroUser2 has joined #ruby
hogeo has quit [Remote host closed the connection]
w4pm has quit [Ping timeout: 240 seconds]
shadoi has quit [Quit: Leaving.]
robustus has joined #ruby
tkuchiki has joined #ruby
afhammad has quit [Remote host closed the connection]
butblack has quit [Quit: butblack]
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
DeProdigy has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
momomomomo has quit [Quit: momomomomo]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
butblack has joined #ruby
coffeina has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
mojjojo has quit [Quit: mojjojo]
sharms has joined #ruby
marr has quit []
rootshift has quit [Quit: rootshift]
diegoviola has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
AzizLight has quit [Ping timeout: 260 seconds]
primenum has joined #ruby
nettoweb has quit [Quit: nettoweb]
peregrine81 has joined #ruby
blandflakes has quit [Quit: Leaving]
vlad_starkov has joined #ruby
AndroUser2 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
lyanchih has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Read error: Connection reset by peer]
nari has joined #ruby
nalone has quit [Remote host closed the connection]
culturel_ has joined #ruby
kostine has joined #ruby
preller has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mk_qi has joined #ruby
timonv has joined #ruby
psyl0n has quit [Remote host closed the connection]
cmedeiros has quit [Ping timeout: 240 seconds]
nalone has joined #ruby
preller has joined #ruby
AndroUser2 has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
justsee has quit [Ping timeout: 248 seconds]
iliketur_ has quit [Quit: zzzzz…..]
justsee_ has quit [Ping timeout: 265 seconds]
AndroUser2 has quit [Remote host closed the connection]
afhammad has joined #ruby
gverri has joined #ruby
psyl0n has joined #ruby
fijimunkii has quit [Ping timeout: 252 seconds]
a1ph4g33k has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
jetblack has joined #ruby
xiphias has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
gverri has quit [Ping timeout: 240 seconds]
davy_ has quit [Remote host closed the connection]
peregrine81 has quit []
jkhwan has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has joined #ruby
justsee_ has joined #ruby
mikepack has quit [Remote host closed the connection]
anomaly_ has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
anomaly_ has joined #ruby
fandikurnia01 has joined #ruby
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
jianxioy has quit [Ping timeout: 240 seconds]
davy_ has joined #ruby
mgberlin has joined #ruby
coffeina has quit [Quit: Wychodzi]
mk_qi has left #ruby [#ruby]
roadt has joined #ruby
mengu has joined #ruby
anomaly_ has quit [Remote host closed the connection]
anomaly_ has joined #ruby
soba has joined #ruby
mlpinit has joined #ruby
funburn has quit [Quit: funburn]
mengu has quit [Ping timeout: 245 seconds]
nalone has quit []
predator117 has joined #ruby
fandikurnia01 has quit [Read error: Operation timed out]
kostine has quit [Quit: kostine]
fandikurnia01 has joined #ruby
ua has quit [Quit: Leaving]
flubba has quit [Read error: Connection reset by peer]
ckinni has joined #ruby
jtgiri_ has joined #ruby
jonathanwallace1 has quit [Ping timeout: 260 seconds]
flubba has joined #ruby
jtgiri_ has quit [Client Quit]
justsee_ has quit [Ping timeout: 240 seconds]
justsee_ has joined #ruby
afhammad has quit [Ping timeout: 264 seconds]
jtgiri_ has joined #ruby
randomnick_ has quit [Quit: Leaving]
jtgiri_ has quit [Client Quit]
justsee has quit [Ping timeout: 260 seconds]
agjacome has quit [Quit: leaving]
justsee_ has quit [Ping timeout: 264 seconds]
s2013 has joined #ruby
vlad_starkov has joined #ruby
iliketur_ has joined #ruby
tylersmi_ has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
mercwithamouth has joined #ruby
a1ph4g33k has quit [Quit: leaving]
butblack has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
jtgiri_ has joined #ruby
_maes_ has joined #ruby
dr0ff has joined #ruby
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
jtgiri_ has quit [Client Quit]
kostine has joined #ruby
robbyoconnor has quit [Excess Flood]
N00D is now known as zz_N00D
robbyoconnor has joined #ruby
mikepack has joined #ruby
jianxioy has joined #ruby
s2013 has quit [Remote host closed the connection]
jenskarlsen has joined #ruby
fijimunkii has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
jfelchner has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
aspires has joined #ruby
jianxioy has quit [Quit: Lost terminal]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
aryaching_ has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
nfk has quit [Quit: yawn]
jtgiri_ has joined #ruby
niop has joined #ruby
fuhgeddaboudit has joined #ruby
kitak has quit [Read error: Connection reset by peer]
KingDoge has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 240 seconds]
kitak has joined #ruby
aryaching has joined #ruby
aryaching_ has quit [Ping timeout: 260 seconds]
Brolen has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
jkhwan has quit [Remote host closed the connection]
tylersmith has joined #ruby
preller has quit [Ping timeout: 264 seconds]
mgberlin has quit [Quit: mgberlin]
aryaching_ has joined #ruby
osvico has quit []
s2013 has joined #ruby
robertjpayne has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
AlSquirrel has quit [Quit: This computer has gone to sleep]
<robertjpayne> Anyone know if rspec is supposed to be thread safe?
Hanmac1 has joined #ruby
<charliesome> robertjpayne: what do you mean by that
jfelchner has quit [Ping timeout: 245 seconds]
<robertjpayne> charliesome: I dunno just trying to figure out why my specs are randomly breaking on a specific threaded code spot, it works fine if I fire up the HTTP server and run thousands of req/s against it but not the specs
coca_rails has quit [Remote host closed the connection]
<robertjpayne> charliesome: it's just really random... sometimes just fine.. sometimes it breaks
Hanmac has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
<charliesome> robertjpayne: is your code up anywhere
preller has joined #ruby
<robertjpayne> charliesome: I can't upload the whole thing, want to see the threaded code bit?
<charliesome> sure
<robertjpayne> charliesome: gimme a min :)
coca_rails has joined #ruby
jfelchner has joined #ruby
dkamioka has joined #ruby
aryaching_ has quit [Ping timeout: 252 seconds]
<robertjpayne> https://gist.github.com/robertjpayne/1182a676068baa15bcf6 trying to see if I can extract the spec and api code easily
<robertjpayne> Basically in my eyes this code is to ensure that a single thread uses a single transaction at a time or ( reuses ) if possible
xk_id has joined #ruby
siwica has quit [Quit: siwica]
<robertjpayne> Something with rspec isn't getting cleaned up properly and the next spec running complains the isolation level is different ( obviously cannot switch isolation level mid transaction ). Looking at the backtrace the method is never called more than once
Deele has quit [Ping timeout: 260 seconds]
roadt has quit [Read error: Connection timed out]
roadt has joined #ruby
nowthatsamatt has joined #ruby
aryaching_ has joined #ruby
unstable has joined #ruby
fedesilva has quit [Remote host closed the connection]
<unstable> Is there a way to do object.methods on an object, and only output the available methods that are not the default options from ruby
<unstable> meaning I want to see the methods that are unique to that class
aryaching has quit [Ping timeout: 265 seconds]
mgberlin has joined #ruby
subbyyy_ has joined #ruby
iliketur_ has joined #ruby
afhammad has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
danshult_ has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 248 seconds]
tharindu_ has joined #ruby
Virtualize has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
coca_rails has quit [Remote host closed the connection]
Megtastique has joined #ruby
sayan has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
danshult_ has joined #ruby
afhammad has quit [Ping timeout: 245 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
danshultz has quit [Read error: Connection reset by peer]
sensen has joined #ruby
subbyyy_ has quit [Ping timeout: 245 seconds]
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
coca_rails has joined #ruby
aryaching has joined #ruby
coca_rails has quit [Remote host closed the connection]
culturel_ has joined #ruby
tylersmith has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
timonv has joined #ruby
vlad_starkov has joined #ruby
tylersmith has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 260 seconds]
xk_id has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 245 seconds]
krz has joined #ruby
preller has quit [Ping timeout: 248 seconds]
intuxicated has quit [Ping timeout: 245 seconds]
varfoo has joined #ruby
<|jemc|> unstable: object.methods(false) will only show methods defined in that class
<|jemc|> although I'll often use something like:
<|jemc|> object.methods-Object.instance_methods
aryaching has joined #ruby
<unstable> |jemc|: Thanks!
<|jemc|> to subtract out all of the methods common to all Objects
<|jemc|> no problem. happy introspection :P
<unstable> yea, that last trick is really cool
ssvo has joined #ruby
preller has joined #ruby
LexicalScope has joined #ruby
davy_ has quit [Remote host closed the connection]
bobdobbs has joined #ruby
xk_id has joined #ruby
hamakn has joined #ruby
jkhwan has joined #ruby
dkamioka has quit [Remote host closed the connection]
summerteeth has joined #ruby
psyl0n has quit [Remote host closed the connection]
peregrine81 has joined #ruby
tylersmi_ has joined #ruby
tylersmith has quit [Read error: No buffer space available]
aryaching_ has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
fedesilva has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
DeProdigy has joined #ruby
fandikurnia01 has quit [Ping timeout: 265 seconds]
summerteeth has quit [Quit: summerteeth]
kgeiste has joined #ruby
kgeiste has left #ruby [#ruby]
summerteeth has joined #ruby
Brolen has quit [Quit: Brolen]
dr0ff has quit []
Kruppe has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
preller has quit [Ping timeout: 245 seconds]
Kruppe has joined #ruby
w4pm has joined #ruby
petey has quit [Remote host closed the connection]
mesamoo has joined #ruby
jerius has joined #ruby
danshult_ has quit [Remote host closed the connection]
danshultz has joined #ruby
unstable has left #ruby [#ruby]
preller has joined #ruby
jerius has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
aryaching has joined #ruby
radic has joined #ruby
mary5030 has joined #ruby
w4pm has quit [Ping timeout: 264 seconds]
jfelchner has quit [Ping timeout: 245 seconds]
aryaching_ has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 264 seconds]
jrobeson has quit [Read error: Connection reset by peer]
coldmethod has quit [Remote host closed the connection]
Brolen has joined #ruby
jfelchner has joined #ruby
radic_ has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 260 seconds]
davy_ has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
anomaly_ has quit [Remote host closed the connection]
anomaly_ has joined #ruby
jonahR has quit [Quit: jonahR]
mary5030 has joined #ruby
_maes_ has joined #ruby
wallerdev has joined #ruby
davy_ has quit [Read error: Connection reset by peer]
davy_ has joined #ruby
afhammad has joined #ruby
lyanchih has quit [Quit: lyanchih]
falood has joined #ruby
vikhyat has joined #ruby
kung has joined #ruby
kung has quit [Changing host]
kung has joined #ruby
voland has joined #ruby
lethjakman has quit [Ping timeout: 260 seconds]
preller has quit [Ping timeout: 245 seconds]
kostine has quit [Quit: kostine]
afhammad has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
Virtualize has quit [Quit: Leaving...]
gigetoo has quit [Remote host closed the connection]
braincrash has joined #ruby
summerteeth has quit []
Shidash has quit [Quit: Leaving.]
gigetoo has joined #ruby
unstable has joined #ruby
nateberkopec has quit [Client Quit]
<unstable> I'm trying to use the load_fen() method from this gem. It is part of Chess::Game
<unstable> Though I'm confused on what commands to type.
lfox has joined #ruby
typicalbender has quit [Quit: Leaving.]
<unstable> I do require 'chess', game = Chess::Game.new, game.extends Chess::Gnuchess
preller has joined #ruby
<unstable> Then I can just do game.make_move! a bunch of times, and it will make the moves. I can do puts game, and it prints out the board.
<unstable> Though I want to use this load_fen method, to give it a board, and not start with the default board.
jonahR has joined #ruby
vlad_starkov has joined #ruby
bvsh has joined #ruby
freerobby has quit [Quit: Leaving.]
vlad_starkov has quit [Read error: Connection reset by peer]
preller has quit [Ping timeout: 240 seconds]
chomskiii has joined #ruby
gja has joined #ruby
brain_shim has quit [Read error: Connection reset by peer]
deryl has joined #ruby
brain_shim has joined #ruby
yerkey has quit [Remote host closed the connection]
tharindu_ has quit [Ping timeout: 251 seconds]
preller has joined #ruby
maroloccio has joined #ruby
siwica has joined #ruby
CaptainJet has joined #ruby
DeProdigy has quit [Ping timeout: 245 seconds]
petey has joined #ruby
yfeldblum has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
Megtastique has quit []
framling has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
mlpinit has quit [Remote host closed the connection]
davy_ has quit [Remote host closed the connection]
afhammad has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
deryl has quit [Read error: Connection reset by peer]
culturel_ has joined #ruby
deryl has joined #ruby
deryl has quit [Remote host closed the connection]
ElasticElephant has joined #ruby
culturel_ has quit [Max SendQ exceeded]
mesamoo has quit [Quit: Konversation terminated!]
fedesilva has quit [Remote host closed the connection]
culturel_ has joined #ruby
ElasticElephant is now known as Coolio
<Coolio> Anyone ever done the event manager thing by Jumpstart labs?
preller has quit [Ping timeout: 245 seconds]
mgberlin has quit [Quit: mgberlin]
Coolio is now known as Dogcat
aryaching has quit [Ping timeout: 265 seconds]
kevinykchan has joined #ruby
kevinykchan has quit [Client Quit]
aspires has quit []
deryl has joined #ruby
Dogcat has quit [Client Quit]
mikemac has quit [Read error: Connection reset by peer]
mikemac has joined #ruby
sayan has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
end_guy has joined #ruby
aagdbl has joined #ruby
freerobby has joined #ruby
aspires has joined #ruby
s2013 has quit [Ping timeout: 245 seconds]
pdtpatr1ck has quit [Quit: leaving]
mgberlin has joined #ruby
tylersmi_ has quit [Ping timeout: 240 seconds]
yacks has quit [Quit: Leaving]
pdtpatr1ck has joined #ruby
flubba has quit [Remote host closed the connection]
amritanshu_RnD has joined #ruby
flubba has joined #ruby
dktm has joined #ruby
pdtpatrick has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 264 seconds]
varfoo has quit [Quit: WeeChat 0.4.0]
davy_ has joined #ruby
varfoo has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #ruby
davy_ has quit [Read error: Connection reset by peer]
flubba has quit [Ping timeout: 260 seconds]
gja has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reactormonk has joined #ruby
<reactormonk> how do I create a hash from an array as keys and 0 as values?
lfox has quit [Quit: ZZZzzz…]
Deele has joined #ruby
aspires has quit []
Jetchisel has joined #ruby
danshultz has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
<Radar> reactormonk: easy
<reactormonk> is there a 'group each 5 elements'?
timonv has joined #ruby
<reactormonk> Radar, did it with a zip and a cycle
bluOxigen has joined #ruby
<Radar> reactormonk: Group each 5 elements of a what?
<Radar> reactormonk: Yeah, that's how I would do it also.
<reactormonk> array
preller has joined #ruby
<reactormonk> each_slice
<Radar> mhm
jtgiri_ has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
iliketur_ has quit [Ping timeout: 260 seconds]
petey has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 272 seconds]
iliketur_ has joined #ruby
petey has joined #ruby
gja has joined #ruby
maletor has joined #ruby
preller has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 265 seconds]
afhammad has quit [Ping timeout: 245 seconds]
IceDragon has quit [Quit: Space~~~]
Virtualize has joined #ruby
browndawg has joined #ruby
nateberkopec has joined #ruby
<havenwood> reactormonk: Nice to have #to_h in Ruby 2.1: [*1..10].each_slice(5).with_object(0).to_h #=> {[1, 2, 3, 4, 5]=>0, [6, 7, 8, 9, 10]=>0}
browndawg has quit [Client Quit]
tylersmith has quit [Ping timeout: 245 seconds]
Asher has quit [Ping timeout: 248 seconds]
petey has quit [Ping timeout: 260 seconds]
maletor has quit [Client Quit]
mikemac has quit [Read error: Operation timed out]
DeProdigy has joined #ruby
Asher has joined #ruby
Asher has quit [Client Quit]
JJMalina has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
Asher has joined #ruby
browndawg has joined #ruby
browndawg has left #ruby [#ruby]
mengu has joined #ruby
machuga is now known as machuga|away
caveat- has quit [Ping timeout: 252 seconds]
LexicalScope has quit [Ping timeout: 265 seconds]
lyanchih has joined #ruby
browndawg has joined #ruby
Asher has quit [Ping timeout: 240 seconds]
Guest70261 has joined #ruby
JJMalina has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 260 seconds]
DeProdigy has quit [Ping timeout: 245 seconds]
mengu has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
Asher has joined #ruby
preller has joined #ruby
CaptainJet has quit []
Brolen has quit [Quit: Brolen]
tharindu_ has joined #ruby
dhruvasagar has joined #ruby
jamesaanderson has joined #ruby
funburn has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
Guest70261 has quit [Changing host]
Guest70261 has joined #ruby
Virtualize has quit [Ping timeout: 245 seconds]
<voland> havenwood: what does * do inside of the array
Guest70261 is now known as diegoviola
dhruvasagar has joined #ruby
jfelchner has quit [Ping timeout: 245 seconds]
vikhyat has quit [Remote host closed the connection]
jfelchner has joined #ruby
<havenwood> voland: The splat explodes the range in the Array: [*'a'..'c', *1..3] #=> ["a", "b", "c", 1, 2, 3]
fandikurnia01 has joined #ruby
<voland> ah I see, so would it be the same as (1..10).each_slice ?
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<voland> never seen it before, interesting :) thanks for the explanation
<havenwood> >> [*1..10] == (1..10).each.to_a
<eval-in_> havenwood => true (https://eval.in/79760)
gja has joined #ruby
mk_qi has joined #ruby
rjhunter has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
vikhyat has joined #ruby
shuvarek has quit [Ping timeout: 252 seconds]
mlpinit has joined #ruby
afhammad has joined #ruby
hakunin_ has joined #ruby
caveat- has joined #ruby
browndawg has quit [Quit: Leaving.]
browndawg has joined #ruby
hakunin has quit [Ping timeout: 260 seconds]
shuvarek has joined #ruby
nateberkopec has joined #ruby
gianlucadv has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
Monie has joined #ruby
mlpinit has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
mary5030 has quit [Remote host closed the connection]
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
afhammad has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
iliketur_ has joined #ruby
caveat- has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
culturel_ has joined #ruby
zz_N00D is now known as CripperZ
culturel_ has quit [Max SendQ exceeded]
gja has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
culturel_ has joined #ruby
siwica has quit [Ping timeout: 248 seconds]
nateberkopec has quit [Quit: Leaving...]
freerobby has joined #ruby
caveat- has quit [Ping timeout: 264 seconds]
aagdbl has quit [Quit: Leaving.]
vikhyat has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
siwica has joined #ruby
caveat- has joined #ruby
mgberlin has quit [Quit: mgberlin]
browndawg has quit [Ping timeout: 245 seconds]
freerobby has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
sethen has quit [Quit: Leaving...]
gja has quit [Quit: This computer has gone to sleep]
shedd has quit [Remote host closed the connection]
phipes has quit [Remote host closed the connection]
OdNairy has joined #ruby
browndawg has joined #ruby
CripperZ is now known as N00D
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has joined #ruby
Dogcat has joined #ruby
<Dogcat> How do i use erb
tharindu_ has quit [Ping timeout: 245 seconds]
maletor has quit [Client Quit]
peregrine81 has quit []
sensen has quit [Ping timeout: 248 seconds]
hakunin_ has quit [Read error: Connection reset by peer]
hakunin has joined #ruby
<Dogcat> hey guys
<Radar> cool troll bro
<Dogcat> me?
snath has quit [Ping timeout: 240 seconds]
N00D is now known as zz_N00D
phipes has joined #ruby
phipes has quit [Remote host closed the connection]
Astralum has quit [Quit: Leaving]
phipes has joined #ruby
robonerd has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
unstable has left #ruby [#ruby]
Shidash has joined #ruby
ssvo has joined #ruby
<Dogcat> hh
Dogcat has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
Lostmonk has joined #ruby
phipes has quit [Ping timeout: 240 seconds]
tylersmith has quit []
browndawg has quit [Quit: Leaving.]
robonerd has joined #ruby
tharindu_ has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
zz_N00D is now known as CripperZ
mengu has joined #ruby
ua has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
mary5030 has joined #ruby
browndawg has joined #ruby
sensen has joined #ruby
Brolen has joined #ruby
fandikurnia01 has quit [Quit: Leaving]
shedd has joined #ruby
noop has joined #ruby
ua has quit [Quit: Leaving]
DeProdigy has joined #ruby
brtdv has joined #ruby
jonahR has quit [Quit: jonahR]
dhruvasagar has quit [Read error: Connection reset by peer]
timonv has joined #ruby
phipes has joined #ruby
dhruvasagar has joined #ruby
tagrudev has joined #ruby
sergicles has quit [Quit: sergicles]
shedd has quit [Ping timeout: 252 seconds]
DeProdigy has quit [Ping timeout: 240 seconds]
snath has joined #ruby
robbyoconnor has joined #ruby
mlpinit has joined #ruby
afhammad has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
Guest52706 has joined #ruby
Guest52706 has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
mary5030 has joined #ruby
vlad_starkov has joined #ruby
roadt has quit [Ping timeout: 240 seconds]
mlpinit has quit [Ping timeout: 265 seconds]
shuvarek has quit [Ping timeout: 248 seconds]
brianpWins has quit [Ping timeout: 264 seconds]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
malcolmva has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
<pontiki> hey
pranny has joined #ruby
jamesaanderson has quit [Ping timeout: 240 seconds]
w4pm has joined #ruby
freerobby has joined #ruby
sayan has joined #ruby
jamesaanderson has joined #ruby
maletor has joined #ruby
maletor has quit [Client Quit]
ahegyi has joined #ruby
brtdv has quit []
jamesaanderson has quit [Client Quit]
jfelchner has quit [Quit: jfelchner]
freerobby has quit [Ping timeout: 248 seconds]
roadt has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
braoru has joined #ruby
aagdbl has joined #ruby
funburn has quit [Quit: funburn]
mlpinit has joined #ruby
ayaz has quit [Quit: leaving]
Spami has quit [Quit: This computer has gone to sleep]
tonni has quit [Remote host closed the connection]
culturel_ has joined #ruby
tonni has joined #ruby
ayaz has joined #ruby
malcolmva has joined #ruby
culturel_ has quit [Client Quit]
brianpWins has joined #ruby
pdtpatrick has joined #ruby
mlpinit has quit [Ping timeout: 265 seconds]
tonni has quit [Ping timeout: 240 seconds]
zipper has joined #ruby
zphds has joined #ruby
timonv has quit [Remote host closed the connection]
<zphds> guys... how do I force YAML.dump not to emit anchors?
maroloccio has quit [Quit: WeeChat 0.4.1]
maroloccio has joined #ruby
brtdv has joined #ruby
Macaveli has joined #ruby
brtdv has quit [Client Quit]
afhammad has quit [Read error: No route to host]
fridim_ has quit [Ping timeout: 264 seconds]
afhammad has joined #ruby
mengu has quit [Remote host closed the connection]
petey has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
dhruvasagar has quit [Read error: Connection reset by peer]
maroloccio has quit [Quit: WeeChat 0.4.1]
dhruvasagar has joined #ruby
afhammad has quit [Ping timeout: 248 seconds]
petey has quit [Ping timeout: 252 seconds]
maroloccio has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
browndawg has quit [Quit: Leaving.]
dktm has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
shedd has joined #ruby
robbyoconnor has joined #ruby
klaut has joined #ruby
primenum has quit [Ping timeout: 240 seconds]
Brolen has quit [Quit: Brolen]
Azure has quit [Quit: My MBP went to sleep.]
Azure has joined #ruby
CripperZ is now known as zz_CripperZ
lsmola has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
dseitz has joined #ruby
echevemaster has quit [Quit: Leaving]
shedd has quit [Ping timeout: 264 seconds]
atmosx has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
phipes has quit []
phipes has joined #ruby
afhammad has joined #ruby
dagobah has joined #ruby
atmosx has quit [Quit: Lost in trance]
tonni has joined #ruby
|jemc| has quit [Ping timeout: 240 seconds]
pwestlund_away is now known as pwestlund
vlad_starkov has quit [Remote host closed the connection]
madb055 has joined #ruby
mary5030 has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
blaxter_ has joined #ruby
mary5030 has joined #ruby
dhruvasagar has joined #ruby
bradhe has quit [Remote host closed the connection]
aapzak has quit [Read error: Connection reset by peer]
CpuID has quit [Ping timeout: 265 seconds]
arturaz has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
brtdv has joined #ruby
arturaz has quit [Remote host closed the connection]
jhaals has joined #ruby
phipes has quit [Remote host closed the connection]
blaxter_ is now known as blaxter
aapzak has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 265 seconds]
predator117 has quit [Ping timeout: 245 seconds]
jhaals has quit [Ping timeout: 252 seconds]
aganov has joined #ruby
vlad_starkov has joined #ruby
zphds has quit [Quit: zphds]
mlpinit has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
dhruvasagar has joined #ruby
Shidash has quit [Quit: Leaving.]
browndawg has joined #ruby
mlpinit has quit [Ping timeout: 248 seconds]
diegoviola has quit [Ping timeout: 252 seconds]
jhaals has joined #ruby
predator117 has joined #ruby
canton7 has joined #ruby
hakunin_ has joined #ruby
tonni has quit [Read error: Connection reset by peer]
hakunin has quit [Ping timeout: 248 seconds]
<GreatSUN> re
<GreatSUN> I wish all of you the same nice weather as it is here
<GreatSUN> cold and sunny :-)
* ayaz is having a rather warm and sunny day despite it being winters.
maoko has joined #ruby
pen has joined #ruby
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
culturel_ has joined #ruby
afhammad has quit [Ping timeout: 240 seconds]
Monie has joined #ruby
zphds has joined #ruby
puppeh has quit [Quit: bb]
amundj has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
<pontiki> where is "here", GreatSUN ?
himsin has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
larsemil has joined #ruby
kevinykchan has joined #ruby
predator117 has joined #ruby
<larsemil> gem install rubyracer fails on my ubuntu.. http://pastebin.com/E7N54z4L
<larsemil> any thoughts?
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
tonni has joined #ruby
<pontiki> larsemil: looks like you didn't install build-essential
<larsemil> pontiki: i did.
<Hanmac1> larsemil: "apt-get install ruby1.9.1-full" package
Hanmac1 is now known as Hanmac
<larsemil> Hanmac s solution fixed it! thanks
alup has joined #ruby
shedd has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
dfranciosi has joined #ruby
viod has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesome has joined #ruby
larsemil has left #ruby [#ruby]
shedd has quit [Ping timeout: 260 seconds]
h_kon has joined #ruby
zolokar has joined #ruby
troyready has quit [Ping timeout: 240 seconds]
lsmola has joined #ruby
afhammad has joined #ruby
niop has quit [Remote host closed the connection]
noop has quit [Ping timeout: 252 seconds]
Duckily has joined #ruby
avril14th_ has joined #ruby
matti has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
relix has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
funburn has joined #ruby
afhammad has quit [Ping timeout: 248 seconds]
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
zolokar has quit [Quit: leaving]
siwica has quit [Ping timeout: 248 seconds]
sharms has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
troessner has joined #ruby
aagdbl has quit [Quit: Leaving.]
siwica has joined #ruby
sharms has joined #ruby
user258467 has joined #ruby
tesuji has joined #ruby
Kruppe has quit [Ping timeout: 240 seconds]
Phobos has joined #ruby
<Phobos> Hello guys
<Phobos> I am exactly missing sort_by!
Xeago has joined #ruby
freerobby has joined #ruby
<Phobos> I want to implement it but I can't find a good documentation
bradhe has quit [Ping timeout: 240 seconds]
Kruppe has joined #ruby
<pontiki> what?
<pontiki> how are you missing it, exactly?
wmoxam has quit [Ping timeout: 272 seconds]
aagdbl has joined #ruby
<Hanmac> Phobos: its defined in Array
funburn has quit [Ping timeout: 240 seconds]
h_kon has quit [Ping timeout: 245 seconds]
<Phobos> pontiki, there is no sort_by! unfortunately
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Phobos> sort_by! not sort_by
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonni has quit [Remote host closed the connection]
<Phobos> ahh cool you are talking ruby 2.0.0
noop has joined #ruby
tonni has joined #ruby
kitak has quit [Read error: Connection reset by peer]
freerobby has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
kitak has joined #ruby
tonni has quit [Read error: Connection reset by peer]
dfranciosi has quit []
h_kon has joined #ruby
<Mon_Ouie> Yes, it appeared in 1.9.2
lyanchih has quit [Quit: lyanchih]
mlpinit has joined #ruby
dfranciosi has joined #ruby
funburn has joined #ruby
charliesome has joined #ruby
<pontiki> how would anyone know you *aren't* talking about 2.0.0?
mary5030 has quit [Ping timeout: 252 seconds]
<Hanmac> Phobos: 1.8 is dead and you will not get any support from us ;P
culturel_ has joined #ruby
mengu has joined #ruby
<Phobos> pontiki, by experience :) if you experimented that before you will say the same thing as Mon_Ouie :P
<Phobos> thank you anyway
<pontiki> what hanmac said
d45h has joined #ruby
<pontiki> Phobos: if you "experimented" as well, you'd have found it
kevinykchan has quit [Read error: Connection reset by peer]
lyanchih has joined #ruby
<Phobos> pontiki, If I knew that I will never answer such question here
mlpinit has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
blackmes1 has joined #ruby
<pontiki> the question you just asked?
nvrch has joined #ruby
olivier_bK has joined #ruby
camilasan has joined #ruby
<Phobos> pontiki, I said I can't find sort_by! in my current station so if you are experienced you gonna answer oh it has appeared in 1.9.x and doesn't exist in earlier versions :P
h_kon has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
<pontiki> no
<pontiki> i'm not
rootshift has joined #ruby
<pontiki> many people can't find things that are right in front of them
afhammad has joined #ruby
<Phobos> pontiki, ok thank you for your answers I really didn't think it exists maybe I must throw out my current book The ruby way 2th version :P
atm1 has quit [Remote host closed the connection]
<pontiki> maybe you should go write python instead
<Phobos> In the book the author said : "There is no sort_by! method. However, you could always write your own. "
<Hanmac> i think the book is from th 1.8 era
<Mon_Ouie> For the record, I didn't know when it appeared, I just changed the version number in the URL until it couldn't find it
<pontiki> yes, because books are written to be current for all time and space
<Phobos> pontiki, I think you are the last person to advice me after all :)
<pontiki> let's hope so
<Phobos> Mon_Ouie, OK thanks !
timonv has joined #ruby
<Hanmac> pontiki: and any possible alternate dimensions ,P
<pontiki> quite
<pontiki> the 10 we seem to know exist, anyway
petey has joined #ruby
roolo_ has joined #ruby
wmoxam has joined #ruby
d45h has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
nari has quit [Ping timeout: 245 seconds]
noname001__ has joined #ruby
<Phobos> pontiki, I am not a Python fan but I don't think there is big difference.. At the end both are interpreted programming language
<Phobos> of course ruby is more "elegant" but.. it's not a huge difference :)
<pontiki> lol
<pontiki> w/e
<Hanmac> imo ruby is pythons evil twin sister ;P
<Phobos> Hanmac, I mean they are both weakly typed languages
<Phobos> they tolerate everything you throw :P
<Phobos> especially ruby
<Hanmac> i mean ruby and python are from the language very similar like twin sisters ... but imo in ruby you can do much more evil stuff
Kar- has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
<Mon_Ouie> >> 3 + "4"
<eval-in_> Mon_Ouie => String can't be coerced into Fixnum (TypeError) ... (https://eval.in/79831)
petey has quit [Ping timeout: 252 seconds]
kevinykchan has joined #ruby
<Phobos> Hanmac, Yeah of course Ruby is richer in functionality but the basis is the same
<Mon_Ouie> That's not weakly typed (C, for example, would let you do that)
ghr has joined #ruby
d45h has joined #ruby
obs has joined #ruby
tonni has joined #ruby
<Phobos> Maybe you should add the so so funny 3.to_s to works
<Phobos> hahahahahah
<Phobos> completely insane but very funny !
tonni has quit [Remote host closed the connection]
bradhe has joined #ruby
tonni has joined #ruby
klaut has quit [Remote host closed the connection]
timonv has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
gregoriokusowski has joined #ruby
ssvo has quit [Ping timeout: 248 seconds]
pen has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
aagdbl has quit [Quit: Leaving.]
<Phobos> Ruby is very strong, the first time I wrote 3 consecutives unit test without a problem.. It's to leave ruby seems like I will stick with it for the eternity
pen has joined #ruby
pen has quit [Remote host closed the connection]
pen has joined #ruby
yjmsf20 has joined #ruby
pen has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
pen has joined #ruby
pen has quit [Remote host closed the connection]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
anomaly_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
anomaly_ has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
shedd has quit [Ping timeout: 248 seconds]
krz has joined #ruby
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
bal has joined #ruby
phansch has joined #ruby
culturel_ has joined #ruby
drumusician has joined #ruby
culturel_ has quit [Client Quit]
sayan has joined #ruby
Hobogrammer_ has joined #ruby
whysomad has joined #ruby
mikecmpbll has joined #ruby
ephemerian has joined #ruby
zipper has quit [Ping timeout: 245 seconds]
greenrose has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
whysosad has quit [Ping timeout: 240 seconds]
TMM has joined #ruby
TMM has joined #ruby
TMM has quit [Changing host]
aagdbl has joined #ruby
preller has quit [Read error: Operation timed out]
dangerousdave has quit []
greenrose has joined #ruby
zipper has joined #ruby
anderson has quit [Quit: Leaving]
kevinykchan has quit [Read error: Connection reset by peer]
anderson has joined #ruby
kevinykchan has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
DouweM has quit [Ping timeout: 264 seconds]
zipper has quit [Ping timeout: 240 seconds]
bbloom has quit [Ping timeout: 248 seconds]
maroloccio has quit [Quit: WeeChat 0.4.1]
zipper_ has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
psyprus has joined #ruby
freerobby1 has joined #ruby
tkuchiki_ has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby
psyprus has quit [*.net *.split]
anderson has quit [*.net *.split]
Kruppe has quit [*.net *.split]
sharms has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
blaxter has quit [*.net *.split]
havenwood has quit [*.net *.split]
pdtpatr1ck has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
xiphias has quit [*.net *.split]
ddd has quit [*.net *.split]
mbff_ has quit [*.net *.split]
reach has quit [*.net *.split]
blo has quit [*.net *.split]
bobdobbs has quit [*.net *.split]
Paradox has quit [*.net *.split]
mjmac has quit [*.net *.split]
DuoSRX has quit [*.net *.split]
aetaric has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
Nightmare has quit [*.net *.split]
sophomorical has quit [*.net *.split]
hoelzro has quit [*.net *.split]
kenichi has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
Dwarf has quit [*.net *.split]
rurban has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
shaileshg__ has quit [*.net *.split]
utkarsh has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
Zai00 has joined #ruby
robonerd has quit [Remote host closed the connection]
robonerd has joined #ruby
Dwarf has joined #ruby
havenwood has joined #ruby
sharms has joined #ruby
blaxter has joined #ruby
pdtpatr1ck has joined #ruby
bobdobbs has joined #ruby
xiphias has joined #ruby
anderson has joined #ruby
ddd has joined #ruby
blo has joined #ruby
mbff_ has joined #ruby
psyprus has joined #ruby
Paradox has joined #ruby
reach has joined #ruby
flagg0204 has joined #ruby
DuoSRX has joined #ruby
mjmac has joined #ruby
aetaric has joined #ruby
sophomorical has joined #ruby
hoelzro has joined #ruby
Nightmare has joined #ruby
kenichi has joined #ruby
DarkFoxDK has joined #ruby
shaileshg__ has joined #ruby
rurban has joined #ruby
freakazoid0223 has joined #ruby
zz_jrhorn424 has joined #ruby
utkarsh has joined #ruby
freerobby1 has quit [Ping timeout: 264 seconds]
noop has quit [Ping timeout: 248 seconds]
Advocation has quit [Quit: Advocation]
Kruppe has joined #ruby
xiphias has quit [Remote host closed the connection]
rubyracer has joined #ruby
benlieb has joined #ruby
mlpinit has joined #ruby
Dwarf has quit [Max SendQ exceeded]
xiphias has joined #ruby
Dwarf has joined #ruby
tesuji has quit [Ping timeout: 251 seconds]
mlpinit_ has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
bal has quit [Ping timeout: 252 seconds]
Criztian has joined #ruby
jlebrech has joined #ruby
jonathanwallace1 has joined #ruby
klaut has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
Astralum has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
mlpinit_ has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
marcgg has joined #ruby
Alina-malina has quit [Ping timeout: 252 seconds]
aryaching has joined #ruby
Speed has joined #ruby
Astralum has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
Alina-malina has joined #ruby
preller has quit [Ping timeout: 252 seconds]
marcgg_ has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
noop has joined #ruby
xk_id has quit [Quit:
VTLob has joined #ruby
vlad_starkov has joined #ruby
xk_id has joined #ruby
barratt has joined #ruby
Advocation has joined #ruby
preller has joined #ruby
workmad3 has joined #ruby
w1xz has joined #ruby
Advocation has quit [Client Quit]
rdark has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
djdb has joined #ruby
psyl0n has joined #ruby
Advocation has joined #ruby
culturel_ has joined #ruby
Duckily has quit [Quit: Duckily]
dseitz has quit [Quit: zzzZz]
krz has quit [Ping timeout: 240 seconds]
krz has joined #ruby
zipper_ has quit [Read error: Operation timed out]
anomaly_ has quit [Remote host closed the connection]
lyanchih has quit [Ping timeout: 248 seconds]
anomaly_ has joined #ruby
DouweM has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
mengu has quit [Remote host closed the connection]
zipper has joined #ruby
zipper is now known as Guest44387
mupkoo has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
mojjojo has joined #ruby
Xeago has joined #ruby
timonv has joined #ruby
cbetta_afk is now known as cbetta
rubyracer has quit [Quit: Konversation terminated!]
afhammad has quit []
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
shedd has quit [Ping timeout: 265 seconds]
Iszak has joined #ruby
Guest44387 has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
Iszak has quit [Max SendQ exceeded]
vlad_starkov has quit [Remote host closed the connection]
ewnd9 has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
bgy has joined #ruby
karupanerura is now known as zz_karupanerura
ua has joined #ruby
rubyracer has joined #ruby
ua has quit [Remote host closed the connection]
ua has joined #ruby
avril14th_ has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
simoz has joined #ruby
avril14th has quit [Remote host closed the connection]
culturel_ has joined #ruby
Iszak has joined #ruby
Zai00 has quit [Ping timeout: 260 seconds]
Iszak has quit [Max SendQ exceeded]
avril14th has joined #ruby
Zai00 has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
zipper_ has joined #ruby
nettoweb has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
culturel_ has quit [Client Quit]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
dukz has joined #ruby
Alina-malina has quit [Ping timeout: 264 seconds]
aryaching_ has joined #ruby
Iszak has joined #ruby
Alina-malina has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
Iszak has quit [Max SendQ exceeded]
reluctantlove has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
reluctantlove has quit [Client Quit]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
havenwood has quit [Remote host closed the connection]
Iszak has joined #ruby
havenwood has joined #ruby
Iszak has quit [Max SendQ exceeded]
w4pm has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
eka has joined #ruby
charliesome has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
mengu has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
freerobby has joined #ruby
simoz2 has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
havenwood has quit [Ping timeout: 260 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
w4pm has quit [Ping timeout: 245 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
simoz has quit [Ping timeout: 240 seconds]
siwica has quit [Ping timeout: 248 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
fijimunkii has quit [Ping timeout: 252 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
lewix_ has joined #ruby
siwica has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
freerobby has quit [Ping timeout: 260 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
lewix_ has quit [Remote host closed the connection]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
lewix_ has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
AzizLight has joined #ruby
rootshift has quit [Quit: rootshift]
AzizLight has quit [Client Quit]
Iszak has joined #ruby
mlpinit has joined #ruby
Iszak has quit [Excess Flood]
benlieb has quit [Quit: benlieb]
lewix_ has quit [Ping timeout: 265 seconds]
h_kon has joined #ruby
funburn has quit [Quit: funburn]
A124 has quit [Read error: Connection reset by peer]
aagdbl has quit [Quit: Leaving.]
bradhe has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
marr has joined #ruby
ddd has quit [Ping timeout: 240 seconds]
ddd has joined #ruby
xk_id has quit [Quit:
timonv has quit [Read error: Connection reset by peer]
Alina-malina has quit [Ping timeout: 265 seconds]
ua has quit [Quit: Show me someone without an ego, and I’ll show you a loser.]
m0use_ has joined #ruby
timonv has joined #ruby
culturel_ has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
sensen has quit [Quit: leaving]
zphds has quit [Quit: zphds]
A124 has joined #ruby
soba has quit [Ping timeout: 264 seconds]
Rollabunna has joined #ruby
vlad_starkov has joined #ruby
blackmes1 has joined #ruby
shime has joined #ruby
shime has quit [Client Quit]
shime has joined #ruby
zphds has joined #ruby
matheuscaceres has joined #ruby
chiel_ is now known as chiel
havenwood has joined #ruby
<Hanmac> shevy! i pushed some fix for the rwx documentation ... with that rdoc works again and rwx is "20.60% documented" already
rootshift has joined #ruby
ckinni has joined #ruby
ckinni has quit [Client Quit]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
shedd has joined #ruby
fijimunkii has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix_ has joined #ruby
simoz2 has quit [Ping timeout: 248 seconds]
w1xz has quit [Quit: ZZZzzz…]
havenwood has quit [Ping timeout: 240 seconds]
w1xz has joined #ruby
shedd has quit [Ping timeout: 248 seconds]
Guest79689 has quit [Ping timeout: 272 seconds]
m8 has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
fedesilva has joined #ruby
falood has quit [Remote host closed the connection]
mgorbach has quit [Ping timeout: 260 seconds]
osvico has joined #ruby
lewix_ has quit [Ping timeout: 245 seconds]
gregorg has quit [Read error: Connection reset by peer]
sayan has quit [Ping timeout: 252 seconds]
gregorg has joined #ruby
camilasan has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
sepp2k has joined #ruby
dangerousdave has joined #ruby
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby
Guest74433 has joined #ruby
brtdv has quit []
aapzak has quit [Read error: Operation timed out]
yacks has joined #ruby
r0bby_ has quit [Read error: Operation timed out]
joshu has quit [Quit: Bye.]
Zai00 has quit [Quit: Zai00]
_Andres has joined #ruby
aapzak has joined #ruby
decoponio has joined #ruby
kirun has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
zipper_ is now known as zipper
camilasan has joined #ruby
matheuscaceres has joined #ruby
freerobby has joined #ruby
popl has quit [Ping timeout: 260 seconds]
zipper has quit [Ping timeout: 265 seconds]
jerius has joined #ruby
rootshift has quit [Quit: rootshift]
rubyracer has quit [Quit: Konversation terminated!]
zipper has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
r0bby_ has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
brtdv has joined #ruby
lewix_ has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
cmedeiros has joined #ruby
lewix_ has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
noname001__ has quit [Ping timeout: 260 seconds]
Al__ has joined #ruby
mlpinit has joined #ruby
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
atno has joined #ruby
atno has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
victorel has joined #ruby
phansch has quit [Remote host closed the connection]
<victorel> hy
<victorel> i try to learn ruby from a website
ewnd9 has quit [Read error: Operation timed out]
<victorel> and i do not get it on one lesson
<victorel> let me paste the code
sayan has joined #ruby
<victorel> i cannot paste
<victorel> someone in private who can help me?
zipper_ has joined #ruby
<banister> victorel paste here: gist.github.com
<victorel> here it is
<victorel> and the erros is
dhruvasagar has quit [Quit: Lost terminal]
anderson has quit [Ping timeout: 240 seconds]
zipper has quit [Ping timeout: 248 seconds]
<victorel> undefined method `include?' for nil:NilClass
dhruvasagar has joined #ruby
anderson has joined #ruby
<victorel> so whatțs wrong
<victorel> ?
MrZYX|off has quit [Remote host closed the connection]
atno has joined #ruby
MrZYX|off has joined #ruby
<Hanmac> victorel: read about what downcase! does do and what the ! means
atno has quit [Remote host closed the connection]
MattStratton has joined #ruby
MrZYX|off is now known as MrZYX
sharms has quit [Ping timeout: 240 seconds]
<victorel> i dont get it
atno has joined #ruby
<victorel> downcase gets letters small
jerius has quit [Ping timeout: 240 seconds]
<victorel> and the ! i forgot
fijimunkii has quit [Ping timeout: 265 seconds]
jpablobr has left #ruby [#ruby]
xk_id has joined #ruby
<Hanmac> read this
matheuscaceres has quit [Quit: matheuscaceres]
<victorel> a i tried whitout downcase and worked
zipper_ has quit [Ping timeout: 240 seconds]
r0bby_ has quit [Excess Flood]
<rdark> victorel: ! means destructive version of whatever method preceeds it
havenwood has joined #ruby
pranny has quit [Quit: Leaving.]
<victorel> thanks
r0bby_ has joined #ruby
<victorel> rdark: how that come ....destructive ?
<victorel> oposite maybe
<Hanmac> victorel: "Downcases the contents of str, »»»»»returning nil if no changes were made.««««"
<victorel> now i get it
banghouse has quit [Remote host closed the connection]
jerius has joined #ruby
sharms has joined #ruby
mlpinit has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
<victorel> so its act like an error if no upcased letter is in
<victorel> ?
danshultz has joined #ruby
mlpinit has joined #ruby
shedd has joined #ruby
<rdark> you'd generally only use a destructive method on an existing object, rather than pulling whatever is returned from that
<victorel> ok no matter...now i resolved and is good
<Hanmac> why is retun nil useful?
<Hanmac> >> str = "lowcase"; str.downcase! ? "changed" : "not canged"
<eval-in_> Hanmac => "not canged" (https://eval.in/79894)
<Hanmac> >> str = "lowCase"; str.downcase! ? "changed" : "not canged"
<eval-in_> Hanmac => "changed" (https://eval.in/79895)
<victorel> thanks
victorel has quit [Quit: Page closed]
havenwood has quit [Ping timeout: 260 seconds]
osvico has quit [Ping timeout: 264 seconds]
shedd has quit [Ping timeout: 264 seconds]
Bira has joined #ruby
skaflem has joined #ruby
esing has joined #ruby
esing has joined #ruby
bogeyd6 has quit [Read error: Connection reset by peer]
d45h has quit []
zipper has joined #ruby
Xaitec has joined #ruby
RoryHughes has joined #ruby
mklappstuhl has joined #ruby
ffranz has joined #ruby
mr_white has joined #ruby
zipper has quit [Ping timeout: 245 seconds]
shaunbak_ has joined #ruby
zipper has joined #ruby
mlpinit has quit [Remote host closed the connection]
shaunba__ has joined #ruby
mlpinit has joined #ruby
jerius has quit []
PanPan has quit []
jetblack has quit [Ping timeout: 245 seconds]
okinomo has joined #ruby
dukz has quit [Remote host closed the connection]
Phobos has quit [Quit: Leaving]
drumusician has quit [Ping timeout: 264 seconds]
joaoh82 has quit []
shaunbak_ has quit [Ping timeout: 240 seconds]
Heskie has joined #ruby
obs has quit [Remote host closed the connection]
punkcat has joined #ruby
supreme__ has joined #ruby
Xaitec has quit [Ping timeout: 245 seconds]
supreme__ has left #ruby [#ruby]
supreme__ has joined #ruby
mr_white has left #ruby ["Textual IRC Client: www.textualapp.com"]
Xaitec has joined #ruby
<supreme__> This is not specific to Ruby but because of Ruby people generelly are good with their tests I thought I might find an good answer here.
obs has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
<GreatSUN> pontiki: here is germany
<GreatSUN> sorry for the late answer
<GreatSUN> I have been in some production problem...
bradhe has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
<supreme__> If I am making a command line tool, that for some parts generate files and such. Like I say MyTool generate init, and when this is done, some files will be created etc
<supreme__> how should I tests things such as this?
<supreme__> should I in my test folder have a "temp" folder where the tests create the actual folders etc and my tests check that the files and foldersa are created?
<supreme__> or should this somehow be mocked or something? give me tips!
mlpinit has joined #ruby
rubyracer has joined #ruby
Advocation has quit [Quit: Advocation]
freerobby has joined #ruby
Criztian has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
Kruppe has quit [Ping timeout: 240 seconds]
eval-in_ has quit [Remote host closed the connection]
eval-in has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
zipper has quit [Ping timeout: 248 seconds]
shedd has joined #ruby
Kruppe has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
w1xz has quit [Ping timeout: 252 seconds]
zipper has joined #ruby
dkamioka has joined #ruby
VTLob has quit [Quit: VTLob]
nari has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
dfranciosi has quit [Remote host closed the connection]
Xaitec has quit [Remote host closed the connection]
fijimunkii has joined #ruby
jerius has joined #ruby
Alina-malina has joined #ruby
jamesaanderson has joined #ruby
zipper has quit [Remote host closed the connection]
Bofu2U has joined #ruby
Virtualize has joined #ruby
pranny has joined #ruby
Virtualize has quit [Client Quit]
ckinni has joined #ruby
brtdv has quit []
fijimunkii has quit [Ping timeout: 240 seconds]
ckinni has quit [Client Quit]
pranny1 has joined #ruby
eval-in has quit [Remote host closed the connection]
fijimunkii has joined #ruby
eval-in has joined #ruby
ckinni has joined #ruby
petey has joined #ruby
Criztian has joined #ruby
nateberkopec has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
falood has joined #ruby
claymore has joined #ruby
tkuchiki has joined #ruby
zipper has joined #ruby
ewnd9 has joined #ruby
pranny1 has quit [Client Quit]
pranny has quit [Ping timeout: 264 seconds]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
petey has quit [Read error: Operation timed out]
sayan has quit [Ping timeout: 264 seconds]
RoryHughes has quit []
siwica has quit [Ping timeout: 248 seconds]
<Hanmac> hm rdoc makes unknown files ... and i dont understand why :(
drumusician has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
zeeraw has joined #ruby
zipper has quit [Ping timeout: 240 seconds]
breakingthings has joined #ruby
Zai00 has joined #ruby
zipper has joined #ruby
burlyscudd has joined #ruby
pushpak has joined #ruby
atno has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 265 seconds]
zipper has joined #ruby
<bgy> Hi
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfranciosi has joined #ruby
Advocation has joined #ruby
nateberkopec has quit [Quit: Leaving...]
drumusician has quit [Read error: Operation timed out]
mikemac has joined #ruby
amritanshu_RnD has quit [Read error: Connection reset by peer]
culturel_ has joined #ruby
xk_id has quit [Ping timeout: 245 seconds]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mark_locklear has joined #ruby
prc has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
olivier_bK has quit [Quit: Quitte]
mlpinit_ has joined #ruby
lfox has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: nettoweb]
psyprus has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
obs has quit [Ping timeout: 240 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
obs has joined #ruby
RoryHughes has joined #ruby
nettoweb has joined #ruby
phansch has joined #ruby
culturel_ has joined #ruby
machuga|away is now known as machuga
Virtualize has joined #ruby
rootshift has joined #ruby
nfk has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mojjojo has quit [Quit: mojjojo]
nettoweb has quit [Ping timeout: 264 seconds]
psyprus has quit [Ping timeout: 240 seconds]
mlpinit_ has quit [Remote host closed the connection]
psyprus has joined #ruby
bogeyd6 has joined #ruby
mlpinit has joined #ruby
drumusician has joined #ruby
browndawg has quit [Quit: Leaving.]
bradhe has joined #ruby
brtdv has joined #ruby
mercwithamouth has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dukz has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has joined #ruby
Kar- has quit [Quit: leaving]
preller has quit [Read error: Operation timed out]
fedesilva has quit [Remote host closed the connection]
uduyy has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
Elhu has joined #ruby
Elhu has quit [Client Quit]
jkamenik has joined #ruby
mengu has quit [Remote host closed the connection]
Elhu has joined #ruby
Elhu has quit [Client Quit]
Elhu has joined #ruby
zeeraw has joined #ruby
Advocation has quit [Quit: Advocation]
niop has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
Elhu has quit [Client Quit]
<niop> hi, if any rails people here, #rails is quiet at the moment, anyone know how to apply asset_url to this js: jQuery('#style_color').attr("href", "assets/css/themes/" + color + ".css" );
mlpinit has joined #ruby
freerobby has joined #ruby
mengu has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
himsin has quit [Quit: himsin]
preller has joined #ruby
RoryHughes has quit []
<Hanmac> niop you need #rubyonrails
sec^nd has quit [Ping timeout: 240 seconds]
<niop> ta
pdtpatr1ck has quit [Ping timeout: 240 seconds]
shedd has joined #ruby
stormbytes has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
pdtpatr1ck has joined #ruby
_Andres has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
uduyy has left #ruby ["Leaving"]
camilasan has quit [Remote host closed the connection]
L8D has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
RoryHughes has joined #ruby
banghouse has joined #ruby
timonv has joined #ruby
banghouse is now known as Guest66057
sec^nd has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
shedd has quit [Ping timeout: 260 seconds]
choobie has joined #ruby
sambao21 has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
psyl0n has quit [Ping timeout: 245 seconds]
psyl0n has joined #ruby
camilasan has joined #ruby
RoryHughes has joined #ruby
Advocation has joined #ruby
jetblack has joined #ruby
ViPi2 has joined #ruby
ViPi2 has quit [Max SendQ exceeded]
Guest66057 has quit [Ping timeout: 260 seconds]
ephemerian has left #ruby [#ruby]
geekbri has joined #ruby
fijimunkii has quit [Ping timeout: 245 seconds]
preller has quit [Ping timeout: 248 seconds]
kitak has joined #ruby
LexicalScope has joined #ruby
jerius has quit [Ping timeout: 260 seconds]
dkamioka has quit [Remote host closed the connection]
fijimunkii has joined #ruby
stormbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
s2013 has joined #ruby
Megtastique has joined #ruby
hogeo has quit [Remote host closed the connection]
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
hogeo has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
maycon has joined #ruby
supreme__ has quit [Ping timeout: 240 seconds]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
Mage_Dude has joined #ruby
shime has quit [Read error: Operation timed out]
weeems has joined #ruby
anderson has quit [Read error: Connection reset by peer]
ahbrendan has joined #ruby
hogeo has quit [Remote host closed the connection]
L8D_ has joined #ruby
supreme__ has joined #ruby
blaskovicz has joined #ruby
asobrasil has joined #ruby
weeems has quit [Max SendQ exceeded]
mlpinit_ has joined #ruby
apeiros_ has joined #ruby
punkcat has quit [Quit: Leaving]
skaflem2 has joined #ruby
krz has quit [Ping timeout: 264 seconds]
nouitfvf has quit [Ping timeout: 264 seconds]
tannerburson has joined #ruby
marcgg_ has joined #ruby
hamakn_ has joined #ruby
ged_ has joined #ruby
wallerdev has joined #ruby
vadviktor has joined #ruby
it_tard has joined #ruby
mjc__ has joined #ruby
rossssssssss has joined #ruby
danshult_ has joined #ruby
rossssssssss has left #ruby [#ruby]
ceej_ has joined #ruby
mr_red1 has joined #ruby
brianpWi1s has joined #ruby
jerius has joined #ruby
zzak_ has joined #ruby
hackeron_ has joined #ruby
anomaly_ has quit [Remote host closed the connection]
wmoxam_ has joined #ruby
kaldrenon has joined #ruby
miah__ has joined #ruby
CaptainKnots has joined #ruby
Rydekull_ has joined #ruby
nwertman_ has joined #ruby
chiel_ has joined #ruby
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
sputnik1_ has joined #ruby
anomaly_ has joined #ruby
gazarsgo has joined #ruby
jamesaan_ has joined #ruby
gazarsgo has left #ruby [#ruby]
charliesome has joined #ruby
Kruppe has quit [Ping timeout: 240 seconds]
nowthatsamatt has joined #ruby
mmitchell has joined #ruby
zipper has quit [Ping timeout: 245 seconds]
dominikh1 has joined #ruby
ringaroses has joined #ruby
denislvov has joined #ruby
jetblack has quit [Quit: leaving]
dominikh has quit [Disconnected by services]
bartj3_ has joined #ruby
DonRichie2 has joined #ruby
brunto_ has joined #ruby
davidcel- has joined #ruby
anderson has joined #ruby
Czupa has joined #ruby
tonni has quit [Remote host closed the connection]
L8D has quit [*.net *.split]
_Andres has quit [*.net *.split]
mlpinit has quit [*.net *.split]
nfk has quit [*.net *.split]
phansch has quit [*.net *.split]
lfox has quit [*.net *.split]
falood has quit [*.net *.split]
jamesaanderson has quit [*.net *.split]
esing has quit [*.net *.split]
danshultz has quit [*.net *.split]
skaflem has quit [*.net *.split]
marr has quit [*.net *.split]
marcgg has quit [*.net *.split]
TMM has quit [*.net *.split]
wmoxam has quit [*.net *.split]
troessner has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
brianpWins has quit [*.net *.split]
hamakn has quit [*.net *.split]
Hanmac has quit [*.net *.split]
nwertman has quit [*.net *.split]
weems has quit [*.net *.split]
Rydekull has quit [*.net *.split]
mr_red has quit [*.net *.split]
chiel has quit [*.net *.split]
shevy has quit [*.net *.split]
sawtooth has quit [*.net *.split]
CaptainK1ots has quit [*.net *.split]
mjc_ has quit [*.net *.split]
bartj3 has quit [*.net *.split]
brunto has quit [*.net *.split]
ceej has quit [*.net *.split]
yan_ has quit [*.net *.split]
apeiros has quit [*.net *.split]
davidcelis has quit [*.net *.split]
x0nic has quit [*.net *.split]
araujo has quit [*.net *.split]
Fraeon has quit [*.net *.split]
jwang has quit [*.net *.split]
ged has quit [*.net *.split]
nadley has quit [*.net *.split]
DonRichie has quit [*.net *.split]
hackeron has quit [*.net *.split]
ph8 has quit [*.net *.split]
vadviktor_ has quit [*.net *.split]
zzak has quit [*.net *.split]
udoprog has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
sputnik13 has quit [*.net *.split]
miah has quit [*.net *.split]
Alasdairr has quit [*.net *.split]
bartj3_ is now known as bartj3
davidcel- is now known as davidcelis
davidcelis has joined #ruby
davidcelis has quit [Changing host]
tonni has joined #ruby
Kilobyte|StupidC has joined #ruby
Kruppe has joined #ruby
yan_ has joined #ruby
Kruppe is now known as Guest46138
maroloccio has joined #ruby
preller has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
ceej_ is now known as ceej
sawtooth has joined #ruby
havenwood has joined #ruby
Guest74433 has quit [Remote host closed the connection]
RoryHughes has quit []
LexicalScope has quit [Read error: Connection reset by peer]
LexicalScope has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
jibi has joined #ruby
Rydekull_ is now known as Rydekull
Rydekull has quit [Changing host]
Rydekull has joined #ruby
matheuscaceres has joined #ruby
x0nic has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ggordan has quit [Remote host closed the connection]
jlast has joined #ruby
tonni has quit [Read error: Operation timed out]
s2013 has quit [Ping timeout: 248 seconds]
xiphias has quit [Ping timeout: 240 seconds]
hackeron_ is now known as hackeron
ph8 has joined #ruby
hackeron has quit [Changing host]
hackeron has joined #ruby
stuffs has joined #ruby
phansch has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
zipper has joined #ruby
jwang has joined #ruby
Fraeon has joined #ruby
araujo has joined #ruby
atno has joined #ruby
shevy has joined #ruby
lyanchih has joined #ruby
TMM has joined #ruby
TMM has joined #ruby
preller has joined #ruby
troessner has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
falood has joined #ruby
Mon_Ouie has joined #ruby
Hanmac has joined #ruby
udoprog has joined #ruby
jchristi has joined #ruby
afhammad has joined #ruby
_Andres has joined #ruby
juarlex has joined #ruby
nadley has joined #ruby
<afhammad> whats best way to push to an array without changing the array?
esing has joined #ruby
esing has quit [Changing host]
esing has joined #ruby
Guest44708 has joined #ruby
<afhammad> so just return new array
dukz has quit [Remote host closed the connection]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devdazed has quit [Quit: Bye]
zipper has quit [Ping timeout: 245 seconds]
<ghr> > [1, 2] + [3]
<ghr> => [1, 2, 3]
xiphias has joined #ruby
<ghr> >> [1, 2] + [3]
<eval-in> ghr => [1, 2, 3] (https://eval.in/79927)
zipper has joined #ruby
<ghr> You mean like that afhammad?
<afhammad> sure that works, i mean i was trying to push an object, but i guess i can wrap it in an array
sharms has quit [Ping timeout: 240 seconds]
devdazed has joined #ruby
typicalbender has joined #ruby
_maes_ has joined #ruby
nateberkopec has joined #ruby
Rollabunna has quit [Remote host closed the connection]
stuffs has quit [Ping timeout: 245 seconds]
ahbrendan has quit [Remote host closed the connection]
denislvov has quit [Ping timeout: 264 seconds]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
matheuscaceres has quit [Quit: matheuscaceres]
esing2 has joined #ruby
esing has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
sharms has joined #ruby
ArchBeOS-work is now known as RicFlair
noop has quit [Ping timeout: 260 seconds]
Guest46138 has quit [Ping timeout: 240 seconds]
fuhgeddaboudit has joined #ruby
zipper has quit [Ping timeout: 265 seconds]
<afhammad> Cool, first option is probably cleaner, thanks!
petey has joined #ruby
ghatak has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
zipper has joined #ruby
matheuscaceres has joined #ruby
L8D_ has quit [Ping timeout: 264 seconds]
Astralum has joined #ruby
fuhgeddaboudit has quit [Max SendQ exceeded]
shime has joined #ruby
s2013 has joined #ruby
fuhgeddaboudit has joined #ruby
skaflem2 is now known as skaflem
<ghatak> Hello Ruby lords, I need lill help on hashes. I want to iterate over a nested hash and set value of each key to nill. Here is example code that will shed light, I am struggling to come up with a method to do that. can anyone please help me here?
bradhe has quit [Ping timeout: 248 seconds]
Kruppe has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
Astralum has quit [Client Quit]
mklappstuhl has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
elux has joined #ruby
SteveBenner9 has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
MattStratton has joined #ruby
bruticus has joined #ruby
<waxjar> ghatak: can't you just delete the key-value pair instead?
ringaroses has quit [Quit: Leaving]
<ghr> afhammad just a thought, `a.dup.push(3)` is a little more readable
<ghatak> waxjar: need to preserve they key, just need to get rid of value
esing2 has quit [Remote host closed the connection]
yalue has joined #ruby
wmoxam_ has quit [Quit: leaving]
RoryHughes has joined #ruby
wmoxam has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
esing has joined #ruby
olivier_bK has joined #ruby
<waxjar> ah, i misread. my_hash.select { |k,v| v.is_a? Hash }.each { |k,v| my_hash[key] = nil } could work
w4pm has joined #ruby
mary5030 has joined #ruby
preller has quit [Ping timeout: 260 seconds]
<afhammad> ghr: thanks
<ghatak> waxjar: aite, let me try that
<ghatak> thanks
SteveBenner9 has quit [Quit: Leaving]
mikecmpbll has joined #ruby
jibi has quit [Read error: Connection reset by peer]
dukz has joined #ruby
zphds has quit [Quit: zphds]
relix has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
DeProdigy has joined #ruby
jtgiri_ has joined #ruby
bruticus has quit [Ping timeout: 246 seconds]
Akuma has quit [Quit: So long sukkas!]
mercwithamouth has joined #ruby
freerobby has joined #ruby
Criztian has quit [Remote host closed the connection]
w4pm has quit [Ping timeout: 248 seconds]
atno has quit [Remote host closed the connection]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
Macaveli has quit [Ping timeout: 264 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
bruticus has joined #ruby
_maes_ has joined #ruby
g0bl1n has joined #ruby
punkcat has joined #ruby
Akuma has joined #ruby
petey has quit [Remote host closed the connection]
shedd has joined #ruby
lmickh has joined #ruby
petey has joined #ruby
freerobby has quit [Ping timeout: 260 seconds]
m_3 has quit [Remote host closed the connection]
h_kon has quit [Remote host closed the connection]
prc has quit [Quit: Leaving.]
okinomo has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Quit: Leaving.]
xiphias has joined #ruby
freerobby has joined #ruby
xk_id has joined #ruby
shedd has quit [Ping timeout: 248 seconds]
matheuscaceres has joined #ruby
Parker0 has joined #ruby
afhammad has quit []
mojjojo has joined #ruby
nari has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
marr has joined #ruby
hl has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
m_3 has joined #ruby
preller has joined #ruby
coldmethod has joined #ruby
timonv has quit [Read error: Connection reset by peer]
fedesilv_ has joined #ruby
mklappstuhl has joined #ruby
<GreatSUN> have a nice day/evening
<GreatSUN> <--- home time
timonv has joined #ruby
zphds has joined #ruby
zphds has joined #ruby
zphds has quit [Changing host]
ddv has joined #ruby
dhruvasagar has joined #ruby
jibi has joined #ruby
afhammad has joined #ruby
phansch has quit [Ping timeout: 248 seconds]
mklappstuhl has quit [Read error: Operation timed out]
LostMonk- has joined #ruby
Silent__ has joined #ruby
Xiti` has joined #ruby
petey has quit [Remote host closed the connection]
zer0px has joined #ruby
preller has quit [Ping timeout: 252 seconds]
petey has joined #ruby
jlast_ has joined #ruby
vpretzel_ has joined #ruby
jmeeuwen_ has joined #ruby
skaflem2 has joined #ruby
mmitchel_ has joined #ruby
sayan has joined #ruby
freggles has joined #ruby
freggles has joined #ruby
nwertman_ has quit [Ping timeout: 265 seconds]
BraddBitt has joined #ruby
joshwines_ has joined #ruby
jenskarlsen_ has joined #ruby
Advocation_ has joined #ruby
withnale_ has joined #ruby
ehc has joined #ruby
mk_qi_ has joined #ruby
taion809_ has joined #ruby
JaTochNietDan_ has joined #ruby
zaargy_ has joined #ruby
Rydekull_ has joined #ruby
raar has joined #ruby
ged__ has joined #ruby
petey_ has joined #ruby
epscylonb has joined #ruby
Zespre_ has joined #ruby
x0nic has quit [Ping timeout: 264 seconds]
sputnik1_ has quit [Ping timeout: 264 seconds]
Advocation has quit [Ping timeout: 264 seconds]
jenskarlsen has quit [Ping timeout: 264 seconds]
pwh has quit [Ping timeout: 264 seconds]
BraddPitt has quit [Ping timeout: 264 seconds]
bluehavana_ has quit [Ping timeout: 264 seconds]
shtirlic has quit [Ping timeout: 264 seconds]
derf- has quit [Ping timeout: 264 seconds]
zeropx has quit [Ping timeout: 264 seconds]
brtdv has quit []
withnale has quit [Read error: Connection reset by peer]
zer0px is now known as zeropx
freckles has quit [Ping timeout: 264 seconds]
slash_ni1k has quit [Ping timeout: 264 seconds]
Zespre has quit [Ping timeout: 264 seconds]
grn has quit [Ping timeout: 264 seconds]
dotemacs has quit [Ping timeout: 264 seconds]
multi_io has quit [Ping timeout: 264 seconds]
epscy has quit [Ping timeout: 264 seconds]
ged_ has quit [Read error: Connection reset by peer]
madb055 has quit [Read error: Connection reset by peer]
rubyracer has quit [Read error: Connection reset by peer]
bakedb has quit [Read error: Connection reset by peer]
jlebrech has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 264 seconds]
Czupa has quit [Ping timeout: 264 seconds]
Rydekull has quit [Ping timeout: 264 seconds]
brianpWi1s has quit [Ping timeout: 264 seconds]
skaflem has quit [Ping timeout: 264 seconds]
ckinni has quit [Ping timeout: 264 seconds]
Hobogrammer_ has quit [Ping timeout: 264 seconds]
Lostmonk has quit [Ping timeout: 264 seconds]
caveat- has quit [Ping timeout: 264 seconds]
peck_ has quit [Ping timeout: 264 seconds]
crapple has quit [Ping timeout: 264 seconds]
zaargy has quit [Ping timeout: 264 seconds]
vpretzel has quit [Ping timeout: 264 seconds]
aspiers has quit [Ping timeout: 264 seconds]
jmeeuwen has quit [Ping timeout: 264 seconds]
Guest58485 has quit [Ping timeout: 264 seconds]
antonishen has quit [Ping timeout: 264 seconds]
joshwines has quit [Ping timeout: 264 seconds]
rfx86 has quit [Ping timeout: 264 seconds]
dotemacs has joined #ruby
JaTochNietDan has quit [Read error: Connection reset by peer]
bluehavana__ has joined #ruby
avalarion has quit [Read error: Connection reset by peer]
taion809 has quit [Read error: Connection reset by peer]
mmitchell has quit [Ping timeout: 264 seconds]
mk_qi has quit [Ping timeout: 264 seconds]
Xiti has quit [Ping timeout: 264 seconds]
bluehavana__ has quit [Changing host]
dotemacs has joined #ruby
bluehavana__ has joined #ruby
Advocation_ is now known as Advocation
jenskarlsen_ is now known as jenskarlsen
dotemacs has quit [Changing host]
raar is now known as Guest82374
aspiers_ has joined #ruby
mk_qi_ is now known as mk_qi
JaTochNietDan_ is now known as JaTochNietDan
derf-- has joined #ruby
slash_nick has joined #ruby
derf-- is now known as derf-
petey has quit [Read error: Connection reset by peer]
peck_ has joined #ruby
shtirlic_ has joined #ruby
vt102 has joined #ruby
TaxmanBD has joined #ruby
crapple has joined #ruby
x0nic_ has joined #ruby
jmeeuwen_ is now known as jmeeuwen
grn has joined #ruby
Zespre_ is now known as Zespre
joshwines_ is now known as joshwines
shtirlic_ is now known as Shtirlic
vpretzel_ is now known as vpretzel
Shtirlic is now known as shtirlic
sputnik13 has joined #ruby
avalarion has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
ce_afk is now known as cescalante
xk_id has quit [Read error: Connection reset by peer]
dev1x has joined #ruby
pwh has joined #ruby
mklappstuhl has joined #ruby
xk_id_ has joined #ruby
guilund has joined #ruby
kofno has joined #ruby
<guilund> hey guys
jlebrech has joined #ruby
<guilund> theres any method in ruby to automatically add a plus sign before positive numbers?
dominikh has joined #ruby
<guilund> append a plus sign
preller has joined #ruby
DeProdigy has quit [Ping timeout: 246 seconds]
brianpWins has joined #ruby
zzak_ is now known as zzak
<waxjar> not in the core library
kreisys has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
<Hanmac> waxjar & guilund
<Hanmac> >> "%+f" % -4
<eval-in> Hanmac => "-4.000000" (https://eval.in/79931)
<guilund> thanks wax
ckinni has joined #ruby
<Hanmac> >> "%+f" % 4
<eval-in> Hanmac => "+4.000000" (https://eval.in/79932)
kreisys has quit [Read error: Connection reset by peer]
<guilund> yep, im going to do that, thank you guys for the tip
petey_ has quit [Remote host closed the connection]
_HolyCow1 is now known as _HolyCow
<waxjar> oh wow. Hanmac stuns again! :p
<pen> :D
dhruvasagar has joined #ruby
randomnick_ has joined #ruby
afhammad has quit []
ikawnoclast has joined #ruby
<guilund> shit, it dont work with rails method number_with_precision :P
danman has joined #ruby
<banister> pen are you a little chinese penguin?
fedesilva has joined #ruby
<guilund> really, ruby sometimes looks like black magic spells
<guilund> %+f
<guilund> wtf? :)
<pen> banister: what are you talking about?
fedesilv_ has quit [Ping timeout: 248 seconds]
Megtasti_ has joined #ruby
<Hanmac> banister: wrong, the penguin you mean is named pen-pen (or pen²)
havenwood has joined #ruby
xk_id_ has quit [Ping timeout: 252 seconds]
epscylonb is now known as epscy
ambushsabre has joined #ruby
replay_ has joined #ruby
<banister> pen just answer pls
cescalante is now known as ce_afk
<banister> :D
lupine_85 has joined #ruby
Azure has quit [Ping timeout: 264 seconds]
wchun has quit [Ping timeout: 264 seconds]
tsykodukl has quit [Ping timeout: 264 seconds]
pipopopo has quit [Ping timeout: 264 seconds]
bluehavana___ has joined #ruby
bluehavana__ has quit [Ping timeout: 264 seconds]
falood has quit [Ping timeout: 264 seconds]
cusco has quit [Ping timeout: 264 seconds]
Columcille has quit [Ping timeout: 264 seconds]
Kabaka has quit [Ping timeout: 264 seconds]
bluehavana___ is now known as bluehavana__
replay has quit [Ping timeout: 264 seconds]
lupine has quit [Excess Flood]
dotemacs has quit [Ping timeout: 264 seconds]
Megtastique has quit [Ping timeout: 264 seconds]
bluehavana__ has joined #ruby
bluehavana__ has quit [Changing host]
Columcille has joined #ruby
pipopopo has joined #ruby
<pen> banister: i'm half a penguin as you can see
Azure has joined #ruby
zz_tsykoduk has joined #ruby
lupine_85 is now known as lupine
falood has joined #ruby
<guilund> Hanmac: can you explain the "%+f" stuff? do you know why it works this way?
multi_io has joined #ruby
hogeo has joined #ruby
<Hanmac> guilund: look at Kernel#sprintf ... in is nearly similar to the C function sprintf
RoryHughes has quit []
lkba has joined #ruby
<guilund> Hanmac: nice, sometimes ruby can be very esoteric hehehe
shevy has quit [Read error: Connection reset by peer]
ahegyi has quit [Ping timeout: 245 seconds]
Kabaka has joined #ruby
havenwood has quit [Ping timeout: 260 seconds]
coca_rails has joined #ruby
<guilund> but i see it more as a rails method, to improve the number methods they already have, as its a pretty common need
bean__ has joined #ruby
petey has joined #ruby
lsoa has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
dukz has quit [Remote host closed the connection]
robertjpayne has quit [Remote host closed the connection]
brtdv has joined #ruby
mengu has quit [Remote host closed the connection]
ganesh has joined #ruby
<Hanmac> guilund: i hate this rails shit method like number_with_precision ... like number_to_human_size still doesnt support real binary ones like "MiB" "GiB" etc ... and without the si option the returned size is totally wrong
bakedb has joined #ruby
ganesh is now known as Guest72562
blandflakes has joined #ruby
<guilund> Hanmac: i dont know if its fixed in rails 4, i still use 3.2.8
kreisys has joined #ruby
Spami has joined #ruby
<Hanmac> still broken for 4.0.2 and i think it will not fixed in 5.*
hogeo has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
xiphias has joined #ruby
xiphias has quit [Changing host]
falood has quit [Remote host closed the connection]
ce_afk is now known as cescalante
kreisys has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jamesaan_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Brolen has joined #ruby
p4d4w4n has joined #ruby
sailias has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
1JTABG9FD has joined #ruby
1JTABG9FD has quit [*.net *.split]
sailias has quit [*.net *.split]
Kruppe has quit [*.net *.split]
sharms has quit [*.net *.split]
jchristi has quit [*.net *.split]
dominikh1 has quit [*.net *.split]
jkamenik has quit [*.net *.split]
ffranz has quit [*.net *.split]
Dwarf has quit [*.net *.split]
blaxter has quit [*.net *.split]
reach has quit [*.net *.split]
mbff_ has quit [*.net *.split]
bobdobbs has quit [*.net *.split]
blo has quit [*.net *.split]
Paradox has quit [*.net *.split]
mjmac has quit [*.net *.split]
DuoSRX has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
aetaric has quit [*.net *.split]
Nightmare has quit [*.net *.split]
sophomorical has quit [*.net *.split]
hoelzro has quit [*.net *.split]
kenichi has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
rurban has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
shaileshg__ has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
utkarsh has quit [*.net *.split]
<guilund> Hanmac: they have to put someone better to manage these methods
pothibo has joined #ruby
eka has joined #ruby
cescalante is now known as ce_afk
caveat- has joined #ruby
zeeraw has joined #ruby
jamesaanderson has joined #ruby
gja has joined #ruby
LexicalScope has quit [Ping timeout: 248 seconds]
mojjojo has quit [Quit: mojjojo]
g3orge has joined #ruby
lyanchih has quit [Ping timeout: 248 seconds]
ffranz has joined #ruby
eka has quit [Client Quit]
esing has quit [Remote host closed the connection]
mojjojo has joined #ruby
jamesaanderson has quit [Client Quit]
ckinni has quit [Quit: Textual IRC Client: www.textualapp.com]
Pixi__ has joined #ruby
orolo has joined #ruby
DeProdigy has joined #ruby
cusco_ has joined #ruby
xiphias has joined #ruby
IceDragon has joined #ruby
sailias has joined #ruby
sharms has joined #ruby
Kruppe has joined #ruby
psyprus has joined #ruby
mbff_ has joined #ruby
jchristi has joined #ruby
antonishen_ has joined #ruby
blo has joined #ruby
Dwarf has joined #ruby
jkamenik has joined #ruby
blaxter has joined #ruby
mjmac has joined #ruby
bobdobbs has joined #ruby
Paradox has joined #ruby
sophomorical has joined #ruby
hoelzro has joined #ruby
Nightmare has joined #ruby
flagg0204 has joined #ruby
kenichi has joined #ruby
shaileshg__ has joined #ruby
rurban has joined #ruby
DuoSRX has joined #ruby
utkarsh has joined #ruby
DarkFoxDK has joined #ruby
zz_jrhorn424 has joined #ruby
aetaric has joined #ruby
freakazoid0223 has joined #ruby
marcgg has joined #ruby
matled- has joined #ruby
mklappst_ has joined #ruby
petey has quit [Remote host closed the connection]
pixelgremlins_ba is now known as pixelgremlins
rodasc has joined #ruby
felixjet__ has joined #ruby
matti has quit [Quit: Oh dear...]
cgore` has joined #ruby
mercwith1mouth has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
pothibo_ has joined #ruby
decoponyo has joined #ruby
Dreamer3__ has joined #ruby
hakunin has joined #ruby
wendell_ has joined #ruby
voland_ has joined #ruby
roolo__ has joined #ruby
Zai00_ has joined #ruby
zipper has quit [Ping timeout: 246 seconds]
danman_ has joined #ruby
frekt has joined #ruby
shevy has joined #ruby
mupkoo_ has joined #ruby
mjc_ has joined #ruby
ckrailo_ has joined #ruby
danshult_ has quit [Read error: Connection reset by peer]
klaas_ has joined #ruby
danshultz has joined #ruby
cgore` has quit [Client Quit]
crazymykl has joined #ruby
ItSANgo__ has joined #ruby
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
zipper has joined #ruby
Derander_ has joined #ruby
SecretAg1nt has joined #ruby
shoMo_ has joined #ruby
Sp4rKy has quit [Ping timeout: 272 seconds]
Brolen_ has joined #ruby
Sourceless has joined #ruby
cub1c has joined #ruby
jhaals_ has joined #ruby
petey_ has joined #ruby
nuba has joined #ruby
Cope has joined #ruby
Bish_ has joined #ruby
mahlon_ has joined #ruby
TwinkleH1od has joined #ruby
Elfix_113 has joined #ruby
Rennex_ has joined #ruby
gtc|ghost has joined #ruby
yjmsf20_ has joined #ruby
xea_ has joined #ruby
marwinis1 has joined #ruby
multi_io_ has joined #ruby
speaking1ode-wor has joined #ruby
ozzloy_ has joined #ruby
CaptainK1ots has joined #ruby
levin has joined #ruby
Freijo has joined #ruby
peterhu_ has joined #ruby
fysaen_ has joined #ruby
breaking_ has joined #ruby
speakingcode-wor has quit [Disconnected by services]
mnemon2 has joined #ruby
atno has joined #ruby
dzan_ has joined #ruby
levin is now known as Guest6559
p0wn3d has joined #ruby
atno has quit [Client Quit]
nettoweb has joined #ruby
faulkner- has joined #ruby
speaking1ode-wor is now known as speakingcode-wor
pwh_ has joined #ruby
jerius_ has joined #ruby
Akuma0n3 has joined #ruby
AlexF has joined #ruby
tziOm has quit [Remote host closed the connection]
deepy- has joined #ruby
Brando753-o_O_o has joined #ruby
ryanRT_ has joined #ruby
<AlexF> hello, is there a better way to write this?
[yalue] has joined #ruby
<AlexF> Order.includes(:origin).map(&:origin).collect{ |o| [o.latitude, o.longitude] }
wlanboy_ has joined #ruby
ainame_ has joined #ruby
Soulcutter has joined #ruby
jkamenik has quit [Ping timeout: 240 seconds]
tsykodukl has joined #ruby
hogeo has joined #ruby
SirCmpwn_ has joined #ruby
Styles_ has joined #ruby
b00stfr31k has joined #ruby
ffranz1 has joined #ruby
Advocation has quit [Quit: Advocation]
yxhuvvd has joined #ruby
sirecote_ has joined #ruby
_br_- has joined #ruby
shaunba__ has quit [Remote host closed the connection]
mstksg has joined #ruby
fearoffish_ has joined #ruby
Armand has joined #ruby
peregrine81 has joined #ruby
Hanmac1 has joined #ruby
user258467_ has joined #ruby
abstractj_ has joined #ruby
<AlexF> I want to get [[lat, lon], [lat. lon], [lat, lon]]
adam- has joined #ruby
lsmola_ has joined #ruby
wookiehangover_ has joined #ruby
<apeiros_> AlexF: that's really a #rubyonrails question. use .joins(:origin).select("#{Origin.quoted_table_name}.latitude, #{Origin.quoted_table_name}.longitude").map { …
s_e_ has joined #ruby
abstractj_ has quit [Changing host]
abstractj_ has joined #ruby
ping_pong has joined #ruby
tonni has joined #ruby
punkzio has joined #ruby
<AlexF> okay thanks
<apeiros_> … |o| [o.latitude, o.longitude] }
sharms has quit [Ping timeout: 240 seconds]
braincra- has joined #ruby
jkamenik has joined #ruby
notroot_ has joined #ruby
s_e has quit [Disconnected by services]
nadley1 has joined #ruby
<s2013> each_with_index.map! doesnt work? but map works?
atno has joined #ruby
Sp4rKy has joined #ruby
jnoob22_ has quit [Remote host closed the connection]
<apeiros_> s2013: what does each_with_index return?
<s2013> the indexes
<apeiros_> no
esing has quit [Ping timeout: 246 seconds]
sharms has joined #ruby
claymore_ has joined #ruby
<cbetta> nil?
claymore_ has quit [Changing host]
claymore_ has joined #ruby
<apeiros_> do `obj.each_with_index.class`
jtgiri_ has joined #ruby
<apeiros_> and see what it returns
AlexF has left #ruby [#ruby]
<s2013> o
<s2013> i see
miah has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
jtgiri_ has quit [Client Quit]
faulkner has quit [Ping timeout: 248 seconds]
danman has quit [Ping timeout: 248 seconds]
Guest44708 has quit [Ping timeout: 248 seconds]
Zai00 has quit [Ping timeout: 248 seconds]
m0use_ has quit [Ping timeout: 248 seconds]
breakingthings has quit [Ping timeout: 248 seconds]
maoko has quit [Ping timeout: 248 seconds]
Zai00_ is now known as Zai00
wlanboy has quit [Ping timeout: 248 seconds]
Derander has quit [Ping timeout: 248 seconds]
Bish has quit [Ping timeout: 248 seconds]
sirecote has quit [Ping timeout: 248 seconds]
Apocalypse has quit [Ping timeout: 248 seconds]
ainame has quit [Ping timeout: 248 seconds]
pothibo has quit [Ping timeout: 248 seconds]
Parker0 has quit [Ping timeout: 248 seconds]
jhaals has quit [Ping timeout: 248 seconds]
banister has quit [Ping timeout: 248 seconds]
ItSANgo_ has quit [Ping timeout: 248 seconds]
SirCmpwn has quit [Ping timeout: 248 seconds]
shoMo has quit [Ping timeout: 248 seconds]
SecretAgent has quit [Ping timeout: 248 seconds]
zz_tsykoduk has quit [Ping timeout: 248 seconds]
pwh has quit [Ping timeout: 248 seconds]
mklappstuhl has quit [Ping timeout: 248 seconds]
momomomomo has quit [Ping timeout: 248 seconds]
nadley has quit [Ping timeout: 248 seconds]
marcgg_ has quit [Ping timeout: 248 seconds]
roolo_ has quit [Ping timeout: 248 seconds]
cgore has quit [Ping timeout: 248 seconds]
jekt has quit [Ping timeout: 248 seconds]
Rennex has quit [Ping timeout: 248 seconds]
trolling has quit [Ping timeout: 248 seconds]
cub1c_ has quit [Ping timeout: 248 seconds]
yxhuvud has quit [Ping timeout: 248 seconds]
yjmsf20__ has quit [Ping timeout: 248 seconds]
Elfix has quit [Ping timeout: 248 seconds]
Brando753 has quit [Ping timeout: 248 seconds]
fearoffish has quit [Ping timeout: 248 seconds]
Sourceless_ has quit [Ping timeout: 248 seconds]
TwinkleHood has quit [Ping timeout: 248 seconds]
ckrailo has quit [Ping timeout: 248 seconds]
Sou|cutter has quit [Ping timeout: 248 seconds]
_br_ has quit [Ping timeout: 248 seconds]
gtc has quit [Ping timeout: 248 seconds]
matled has quit [Ping timeout: 248 seconds]
nuba_ has quit [Ping timeout: 248 seconds]
sirecote_ is now known as sirecote
faulkner- is now known as faulkner
ainame_ is now known as ainame
Brando753-o_O_o is now known as Brando753
danman_ is now known as danman
matled- is now known as matled
<s2013> string
<s2013> hmm
<apeiros_> OO
fearoffish_ is now known as fearoffish
SirCmpwn_ is now known as SirCmpwn
pothibo_ is now known as pothibo
<apeiros_> wtf?
<apeiros_> no
m0use_ has joined #ruby
<apeiros_> each_with_index definitively does not return a String
IceDragon has quit [Ping timeout: 240 seconds]
<s2013> hold on
<apeiros_> if you don't get Enumerator from that you do something wrong in a very weird way…
sawtooth_ has joined #ruby
marcgg has quit [Ping timeout: 240 seconds]
Pixi__ is now known as Xiti
<s2013> just returns me the array
<s2013> i havea a nested aray
ckrailo_ is now known as ckrailo
<apeiros_> s2013: no. fucking. way.
<cbetta> s2013 no it doesnt
Xiti has quit [Quit: Leaving]
<cbetta> it returns the enum
<cbetta> fro the array
hogeo has quit [Ping timeout: 264 seconds]
<apeiros_> >> [1,2,3].each_with_index.class
<cbetta> for
<eval-in> apeiros_ => Enumerator (https://eval.in/79941)
<Hanmac1> apeiros_: each_with_index when using with block does return self
trolling has joined #ruby
eka has joined #ruby
Xiti has joined #ruby
<apeiros_> Hanmac1: yes. but that's not what I asked s2013
s_e_ has quit [Client Quit]
ffranz has quit [Ping timeout: 248 seconds]
Brolen has quit [Ping timeout: 248 seconds]
multi_io has quit [Ping timeout: 248 seconds]
Xiti` has quit [Ping timeout: 248 seconds]
Akuma has quit [Ping timeout: 248 seconds]
punkcat has quit [Ping timeout: 248 seconds]
yalue has quit [Ping timeout: 248 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
Fraeon has quit [Ping timeout: 248 seconds]
sawtooth has quit [Ping timeout: 248 seconds]
CaptainKnots has quit [Ping timeout: 248 seconds]
jerius has quit [Ping timeout: 248 seconds]
miah__ has quit [Ping timeout: 248 seconds]
mjc__ has quit [Ping timeout: 248 seconds]
vadviktor has quit [Ping timeout: 248 seconds]
mikemac has quit [Ping timeout: 248 seconds]
claymore has quit [Ping timeout: 248 seconds]
decoponio has quit [Ping timeout: 248 seconds]
A124 has quit [Ping timeout: 248 seconds]
p4d4w4n has quit [Ping timeout: 248 seconds]
mupkoo has quit [Ping timeout: 248 seconds]
user258467 has quit [Ping timeout: 248 seconds]
lsmola has quit [Ping timeout: 248 seconds]
threesome has quit [Ping timeout: 248 seconds]
hakunin_ has quit [Ping timeout: 248 seconds]
voland has quit [Ping timeout: 248 seconds]
braincrash has quit [Ping timeout: 248 seconds]
Dreamer3 has quit [Ping timeout: 248 seconds]
jle` has quit [Ping timeout: 248 seconds]
dzan has quit [Ping timeout: 248 seconds]
kits2c22e has quit [Ping timeout: 248 seconds]
felixjet_ has quit [Ping timeout: 248 seconds]
Brolen_ is now known as Brolen
prakriti has joined #ruby
<apeiros_> Hanmac1: please don't confuse somebody who's already having trouble
<s2013> >> [["a", 1,2], ["b", 2,3]].each { |x| x.each_with_index.class }
<eval-in> s2013 => [["a", 1, 2], ["b", 2, 3]] (https://eval.in/79942)
<s2013> thats what i did
fella6s has quit [Remote host closed the connection]
preller has quit [Ping timeout: 252 seconds]
<apeiros_> s2013: again, just do .class on the method you call, then you see what it returns. and each_with_index returns an Enumerator
marcgg has joined #ruby
Styles has quit [Ping timeout: 248 seconds]
ryanRT has quit [Ping timeout: 248 seconds]
Underbyte has quit [Ping timeout: 248 seconds]
deepy has quit [Ping timeout: 248 seconds]
ozzloy has quit [Ping timeout: 248 seconds]
xea has quit [Ping timeout: 248 seconds]
mahlon has quit [Ping timeout: 248 seconds]
mnemon has quit [Ping timeout: 248 seconds]
ping-pong has quit [Ping timeout: 248 seconds]
marwinism has quit [Ping timeout: 248 seconds]
adam12 has quit [Ping timeout: 248 seconds]
crodas has quit [Ping timeout: 248 seconds]
abstractj has quit [Ping timeout: 248 seconds]
fysaen has quit [Ping timeout: 248 seconds]
klaas has quit [Ping timeout: 248 seconds]
peterhu has quit [Ping timeout: 248 seconds]
wookiehangover has quit [Ping timeout: 248 seconds]
RubyPanther has quit [Ping timeout: 248 seconds]
RubyPanther has joined #ruby
wookiehangover_ is now known as wookiehangover
RealMarc is now known as Marc
shedd has joined #ruby
QbY has joined #ruby
tsykodukl has quit [Ping timeout: 240 seconds]
<apeiros_> and you can't mutate an Enumerator. hence no `map!`
<apeiros_> (it'd be Enumerator#map! - and that makes no sense)
<s2013> >> [["a", "1","2"], ["b", "2","3"]].each { |x| x.each_with_index.class }
<eval-in> s2013 => [["a", "1", "2"], ["b", "2", "3"]] (https://eval.in/79943)
Armand is now known as Apocalypse
<s2013> my array looks something like that
Marc is now known as Guest36874
matti has joined #ruby
<apeiros_> dude
<apeiros_> you look at the return value of *each*
<s2013> i need to convert the numbers into int
Kruppe is now known as Guest79482
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
<s2013> what would be the best way to do that
<QbY> So I'm trying to work with our Ruby on Rails app. Uses Active Record. It hates my query apparently. https://gist.github.com/bd6a4e6b21fe0be8dea3
abstractj_ is now known as abstractj
tharindu_ has quit [Ping timeout: 260 seconds]
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
<apeiros_> >> [["a", "1","2"], ["b", "2","3"]].each { |x| "wee wtf it doesn't matter what you write here" }
<eval-in> apeiros_ => [["a", "1", "2"], ["b", "2", "3"]] (https://eval.in/79944)
zz_tsykoduk has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
Inoperable has quit [Ping timeout: 260 seconds]
<apeiros_> QbY: #rubyonrails
<s2013> ok i understand but my question is still how would i go about converting the numbers into numbers
framling has joined #ruby
noxgirl has quit [Ping timeout: 260 seconds]
shaunbaker has joined #ruby
<QbY> apeiros_: thanks... see i'm so ruby dumb i don't know the right place to go.
tharindu has joined #ruby
juarlex has quit [Remote host closed the connection]
IceDragon has joined #ruby
<apeiros_> late eval-in…
juarlex has joined #ruby
decoponio has joined #ruby
supreme__ has quit [Quit: Lost terminal]
ce_afk is now known as cescalante
Guest79482 is now known as Kruppe
threesome has joined #ruby
sharms has joined #ruby
<s2013> ok so now i am not even sure best way to convert those arrays
eka has quit [Quit: Computer has gone to sleep.]
ffranz1 is now known as ffranz
banghouse has joined #ruby
banghouse is now known as Guest51936
johnmlocklear_ has joined #ruby
shedd has quit [Ping timeout: 245 seconds]
zmansiv has quit [Ping timeout: 260 seconds]
sn0wb1rd has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 260 seconds]
niop has quit [Ping timeout: 260 seconds]
Deele has quit [Ping timeout: 260 seconds]
decoponyo has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Ping timeout: 260 seconds]
r0bby_ has quit [Max SendQ exceeded]
bean__ has quit [Ping timeout: 260 seconds]
<Hanmac1> s2013: you using each where you want map
m__s has quit [Ping timeout: 260 seconds]
Hanmac1 is now known as Hanmac
niop has joined #ruby
apeiros has joined #ruby
zmansiv has joined #ruby
johnmlocklear_ has quit [Client Quit]
pdtpatr1ck has quit [Ping timeout: 260 seconds]
jericon has quit [Ping timeout: 260 seconds]
it_tard has quit [Read error: Connection reset by peer]
Rennex_ is now known as Rennex
mark_locklear has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
it_tard has joined #ruby
it_tard has quit [Changing host]
it_tard has joined #ruby
drumusician has quit [Ping timeout: 260 seconds]
Speed has quit [Ping timeout: 260 seconds]
Nilium has quit [Ping timeout: 260 seconds]
KevinSjoberg has quit [Ping timeout: 260 seconds]
Mattias has quit [Ping timeout: 260 seconds]
<s2013> k let me try somthing
Inoperable has joined #ruby
m__s has joined #ruby
jericon has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
timmow has joined #ruby
mercwith1mouth has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 260 seconds]
pdtpatr1ck has joined #ruby
<mikecmpbll> s2013: what are you trying to do, again?
amundj has quit [Read error: Operation timed out]
r0bby_ has joined #ruby
KevinSjoberg has joined #ruby
<waxjar> s2013: #each just executes the block for each value in an Array and returns the original Array. #map does the same, except it returns an Array with the return values of the blocks.
xiphias has joined #ruby
sumark has quit [Ping timeout: 260 seconds]
Alina-malina has joined #ruby
juarlex has quit [Ping timeout: 245 seconds]
esing has quit [Read error: Operation timed out]
sn0wb1rd has joined #ruby
mark_locklear has quit [Client Quit]
Nilium has joined #ruby
mr_red1 has quit [Ping timeout: 260 seconds]
autumn has joined #ruby
sumark has joined #ruby
<s2013> trying to convert the [1] and [2] elements of each array to a number
mark_locklear has joined #ruby
yjmsf20 has quit [Quit: leaving]
mr_red has joined #ruby
drumusician has joined #ruby
<s2013> i sort of have it but there is an issue
<mikecmpbll> what have you tried?
Megtasti_ has quit []
<s2013> a.map{ |x| x.each_with_index.map { |y,i| y.to_f unless i == 0 }}
Deele has joined #ruby
Guest51936 has quit [Ping timeout: 252 seconds]
punkzio has quit [Ping timeout: 252 seconds]
<s2013> i think i need to use map do
<mikecmpbll> you don't need to use each_with_index if you know the indices, do you.
<s2013> yea
tonni has quit [Remote host closed the connection]
<s2013> its going to be 0 for each array
bean__ has joined #ruby
Megtastique has joined #ruby
<mikecmpbll> ok, so it's not always 1 and 2 that get converted, gotcha.
<s2013> my array looks like this for example: [["a","1","2"],["b", "4",5"]]
<s2013> they are an array of location and coordinates. i need to convert the coordinates to float and leave the location name as it is..
olivier_bK has quit [Quit: Quitte]
shanlar has joined #ruby
danman_ has joined #ruby
RoryHughes has joined #ruby
mahlon_ is now known as mahlon
<mikecmpbll> >> [["a","1","2"],["b", "4","5"]].map{|name, x, y| [name, x.to_i, y.to_i]}
<eval-in> mikecmpbll => [["a", 1, 2], ["b", 4, 5]] (https://eval.in/79949)
troessner has quit [Read error: Operation timed out]
<s2013> ah
<s2013> much simpler. thanks
<avril14th> holy cow
<waxjar> you might want to introduce a Location class instead of dealing with Arrays
<avril14th> I get to the point where Im gonna write tests to test my tests
<mikecmpbll> .to_f, rather.
contradictioned_ has joined #ruby
vongrippen has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
<s2013> waxjar, what do you mean
<mikecmpbll> and waxjar is probably right.
acrussell has joined #ruby
<waxjar> s2013: instead of dealing with a location as an Array, you could make a Location class.
ejnahc_ has joined #ruby
geggam has joined #ruby
shaman42 has joined #ruby
peterhel1berg has joined #ruby
sixtenei1hty has joined #ruby
joschi_ has joined #ruby
<mikecmpbll> depends what you're actually doing with coordinates, too, there's a few geometry gems.
hl has joined #ruby
petey has joined #ruby
fred__ has joined #ruby
<s2013> oh yeah we have a location class and all that. im just passing that array to js
<s2013> for google maps
jericon_ has joined #ruby
Brolen_ has joined #ruby
anderson has quit [Ping timeout: 245 seconds]
<s2013> i just needed it formatted that way so google maps plays nicely
jsaak_ has joined #ruby
pdtpatr11k has joined #ruby
Blue_Ice_ has joined #ruby
Blue_Ice_ has joined #ruby
Blue_Ice_ has quit [Changing host]
<Hanmac> also interesting:
<Hanmac> >> [["a","1","2"],["b", "4","5"]].map{|name, *vals| [name, *vals.map(&:to_i)]}
<eval-in> Hanmac => [["a", 1, 2], ["b", 4, 5]] (https://eval.in/79950)
sumark_ has joined #ruby
brain_shim has quit [Read error: Connection reset by peer]
roadt has quit [Quit: 暂离]
sn0wb1rdz has joined #ruby
<s2013> ooo
shuvarek has joined #ruby
<mikecmpbll> yeah, worth knowing that you can glob block arguments.
<s2013> which is faster
burlyscudd has quit [Quit: Leaving.]
brain_shim has joined #ruby
<s2013> or do they both have similar lookup time? i think what mikecmpbll did would have less right?
vongrippen has joined #ruby
breakingthings has joined #ruby
epsylon has joined #ruby
mosheee has joined #ruby
<mikecmpbll> s2013: use mine unless you'll ever have more than two coordinates.
mosheee has quit [Changing host]
mosheee has joined #ruby
MrZYX|off has joined #ruby
krnflake has joined #ruby
<waxjar> why the intermediary Array then? would something like [location_a, location_b, location_c].map { |loc| [loc.name, loc.long.to_f, loc.lat.to_f] } not work?
Xiti has quit [Read error: Connection reset by peer]
noxgirl has joined #ruby
wiak_ has joined #ruby
<s2013> mikecmpbll, cool. thanks
Xiti has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
<s2013> waxjar, ill show you my query. one second
klaas has joined #ruby
jerius has joined #ruby
johnmlocklear_ has joined #ruby
nanashiReii has joined #ruby
<Hanmac> me smells a rails problen
<s2013> ActiveRecord::Base.connection.select_all(Venue.select([:name, :latitude, :longitude])).map(&:values).map! { |name, lat, long| [name, lat.to_f, long.to_f]}
aef_ has joined #ruby
bgy_ has joined #ruby
<s2013> i need to refactor that too im sure
<s2013> but atleast its getting the correct results for now
aef_ has quit [Remote host closed the connection]
Monie has joined #ruby
mary5030 has quit [Remote host closed the connection]
andredie` has joined #ruby
Monie has quit [Max SendQ exceeded]
Nilium has quit [Disconnected by services]
mary5030 has joined #ruby
securitycrush has joined #ruby
mary5030 has quit [Remote host closed the connection]
CalimeroTeknik_ has joined #ruby
Nilium_ has joined #ruby
Monie has joined #ruby
nuba_ has joined #ruby
Monie has quit [Max SendQ exceeded]
<waxjar> ah, i see. you should probably have latitude and longitude return Floats in the first place (if possible)
braincrash has joined #ruby
tomaw_ has joined #ruby
ffio has joined #ruby
autumn has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
r0bby_ has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
pdtpatr1ck has quit [*.net *.split]
jericon has quit [*.net *.split]
IceDragon has quit [*.net *.split]
framling has quit [*.net *.split]
shaunbaker has quit [*.net *.split]
braincra- has quit [*.net *.split]
_br_- has quit [*.net *.split]
yxhuvvd has quit [*.net *.split]
b00stfr31k has quit [*.net *.split]
jerius_ has quit [*.net *.split]
deepy- has quit [*.net *.split]
breaking_ has quit [*.net *.split]
marwinis1 has quit [*.net *.split]
gtc|ghost has quit [*.net *.split]
nuba has quit [*.net *.split]
Elfix_113 has quit [*.net *.split]
petey_ has quit [*.net *.split]
Brolen has quit [*.net *.split]
SecretAg1nt has quit [*.net *.split]
Bish_ has quit [*.net *.split]
klaas_ has quit [*.net *.split]
mupkoo_ has quit [*.net *.split]
danman has quit [*.net *.split]
MrZYX has quit [*.net *.split]
robustus has quit [*.net *.split]
jsaak has quit [*.net *.split]
parshap has quit [*.net *.split]
peterhellberg has quit [*.net *.split]
sivoais has quit [*.net *.split]
KillerFox has quit [*.net *.split]
moshee has quit [*.net *.split]
shanlar- has quit [*.net *.split]
epsylon` has quit [*.net *.split]
metallisto has quit [*.net *.split]
krnflake_ has quit [*.net *.split]
jan1337z has quit [*.net *.split]
wiak has quit [*.net *.split]
falten has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
xybre has quit [*.net *.split]
andredieb has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
CalimeroTeknik has quit [*.net *.split]
joschi has quit [*.net *.split]
shaman42_ has quit [*.net *.split]
ejnahc has quit [*.net *.split]
aef has quit [*.net *.split]
contradictioned has quit [*.net *.split]
brisbin has quit [*.net *.split]
tomaw has quit [*.net *.split]
rf has quit [*.net *.split]
fred has quit [*.net *.split]
felipe has quit [*.net *.split]
koalallama has quit [*.net *.split]
brugidou_ has quit [*.net *.split]
bgy has quit [*.net *.split]
mame0 has quit [*.net *.split]
phreax has quit [*.net *.split]
wlanboy_ has quit [*.net *.split]
coca_rails has quit [*.net *.split]
Sthebig has quit [*.net *.split]
nomadic_ has quit [*.net *.split]
idoru has quit [*.net *.split]
ahuman has quit [*.net *.split]
jeekl has quit [*.net *.split]
fumduq has quit [*.net *.split]
devyn has quit [*.net *.split]
qubit has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
peteyg__ has quit [*.net *.split]
wuest has quit [*.net *.split]
tonini has quit [*.net *.split]
jayne has quit [*.net *.split]
camt has quit [*.net *.split]
headius has quit [*.net *.split]
clocKwize has quit [*.net *.split]
juo has quit [*.net *.split]
cout has quit [*.net *.split]
sumark has quit [*.net *.split]
mark_locklear has quit [*.net *.split]
xiphias has quit [*.net *.split]
sharms has quit [*.net *.split]
atno has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
danshultz has quit [*.net *.split]
DeProdigy has quit [*.net *.split]
orolo has quit [*.net *.split]
cusco_ has quit [*.net *.split]
psyprus has quit [*.net *.split]
antonishen_ has quit [*.net *.split]
sailias has quit [*.net *.split]
Kruppe has quit [*.net *.split]
jchristi has quit [*.net *.split]
Dwarf has quit [*.net *.split]
blaxter has quit [*.net *.split]
mbff_ has quit [*.net *.split]
blo has quit [*.net *.split]
bobdobbs has quit [*.net *.split]
Paradox has quit [*.net *.split]
mjmac has quit [*.net *.split]
DuoSRX has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
aetaric has quit [*.net *.split]
Nightmare has quit [*.net *.split]
sophomorical has quit [*.net *.split]
hoelzro has quit [*.net *.split]
kenichi has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
rurban has quit [*.net *.split]
shaileshg__ has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
utkarsh has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
kitak has quit [*.net *.split]
kitak_ has quit [*.net *.split]
anomaly_ has quit [*.net *.split]
eshy has quit [*.net *.split]
RTG` has quit [*.net *.split]
closer has quit [*.net *.split]
gstamp has quit [*.net *.split]
zz_karupanerura has quit [*.net *.split]
cibs has quit [*.net *.split]
bw_ has quit [*.net *.split]
cescalante has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
uxp has quit [*.net *.split]
dandrade has quit [*.net *.split]
ggherdov has quit [*.net *.split]
dmoe has quit [*.net *.split]
clint_s has quit [*.net *.split]
jpinnix_ has quit [*.net *.split]
BeanDip has quit [*.net *.split]
AntelopeSalad has quit [*.net *.split]
mdpatrick has quit [*.net *.split]
neoice has quit [*.net *.split]
moeSeth_ has quit [*.net *.split]
DrOwl has quit [*.net *.split]
parus has quit [*.net *.split]
Jakee` has quit [*.net *.split]
eliasp has quit [*.net *.split]
fuzzyfuzz has quit [*.net *.split]
fbernier has quit [*.net *.split]
sweeper has quit [*.net *.split]
machuga has quit [*.net *.split]
keen____ has quit [*.net *.split]
patronus has quit [*.net *.split]
rtl has quit [*.net *.split]
go|dfish has quit [*.net *.split]
monsieurp has quit [*.net *.split]
brjannc has quit [*.net *.split]
nw has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
xsdg_ has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
apeiros has quit [*.net *.split]
threesome has quit [*.net *.split]
trolling has quit [*.net *.split]
m0use_ has quit [*.net *.split]
Styles_ has quit [*.net *.split]
Soulcutter has quit [*.net *.split]
Akuma0n3 has quit [*.net *.split]
nettoweb has quit [*.net *.split]
peterhu_ has quit [*.net *.split]
fysaen_ has quit [*.net *.split]
yjmsf20_ has quit [*.net *.split]
Rennex has quit [*.net *.split]
jhaals_ has quit [*.net *.split]
mjc_ has quit [*.net *.split]
pothibo has quit [*.net *.split]
g3orge has quit [*.net *.split]
gja has quit [*.net *.split]
zeeraw has quit [*.net *.split]
mikepack has quit [*.net *.split]
bakedb has quit [*.net *.split]
lkba has quit [*.net *.split]
lsoa has quit [*.net *.split]
brianpWins has quit [*.net *.split]
dominikh has quit [*.net *.split]
zaargy_ has quit [*.net *.split]
Rydekull_ has quit [*.net *.split]
marr has quit [*.net *.split]
g0bl1n has quit [*.net *.split]
relix has quit [*.net *.split]
DanKnox has quit [*.net *.split]
the_mentat has quit [*.net *.split]
heftig has quit [*.net *.split]
R33C3_ has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
yo61 has quit [*.net *.split]
TheShaun has quit [*.net *.split]
jinxD_ has quit [*.net *.split]
weeb1e has quit [*.net *.split]
iaj has quit [*.net *.split]
jalcine has quit [*.net *.split]
joast has quit [*.net *.split]
sarlalian has quit [*.net *.split]
icedp has quit [*.net *.split]
mburns has quit [*.net *.split]
wudofyr has quit [*.net *.split]
fivethreeo has quit [*.net *.split]
gwb3 has quit [*.net *.split]
patteh has quit [*.net *.split]
rikas has quit [*.net *.split]
wereHamster has quit [*.net *.split]
strax has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
sindork_ has quit [*.net *.split]
three18ti has quit [*.net *.split]
Mohan has quit [*.net *.split]
dubios has quit [*.net *.split]
daveops has quit [*.net *.split]
Senjai`work has quit [*.net *.split]
telling has quit [*.net *.split]
ww26 has quit [*.net *.split]
maloik_ has quit [*.net *.split]
verto has quit [*.net *.split]
Nuck has quit [*.net *.split]
rgoodwin has quit [*.net *.split]
jimeh has quit [*.net *.split]
TheNumb has quit [*.net *.split]
mikemar10 has quit [*.net *.split]
rdevilla has quit [*.net *.split]
ffio has quit [Max SendQ exceeded]
nanashiReii is now known as nanashiRei
danman_ is now known as danman
sn0wb1rdz is now known as sn0wb1rd
MrZYX|off is now known as MrZYX
nanashiRei has quit [Changing host]
nanashiRei has joined #ruby
TheSpect1e has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
wiak_ is now known as wiak
<s2013> they are floats in the db but for some reason it converts to string
<s2013> when i retrieve it :\
mary5030 has joined #ruby
Brolen_ is now known as Brolen
sailias has joined #ruby
xk_id has joined #ruby
<s2013> its a very odd issue but atleast its working for now. i will need to fix up the code for sure
olivier_bK has joined #ruby
Advocation has joined #ruby
<bgy_> I'm not able to clone a Matrix, any ideas? the elements inside the matrix points to the same reference
ffio has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
petey has quit [Remote host closed the connection]
maoko has joined #ruby
shaunbaker has joined #ruby
speakingcode-wor has quit [Quit: leaving]
Speed has joined #ruby
jerius has quit [Ping timeout: 246 seconds]
polaco_zZz is now known as polaco
decoponio is now known as 18WAFC3QW
brugidou has joined #ruby
Monie has joined #ruby
xiphias has joined #ruby
Elfix_113 has joined #ruby
Alina-malina has joined #ruby
orolo has joined #ruby
_br_ has joined #ruby
23LAAPK3A has joined #ruby
aef has joined #ruby
deepy has joined #ruby
SecretAgent has joined #ruby
mupkoo has joined #ruby
Bish has joined #ruby
robustus|Off has joined #ruby
sharms has joined #ruby
mgorbach has joined #ruby
Kruppe has joined #ruby
marwinism has joined #ruby
nwertman has joined #ruby
koalalla1a has joined #ruby
gtc has joined #ruby
parshap_ has joined #ruby
wc- has joined #ruby
Mattias has joined #ruby
fridim_ has joined #ruby
threesome has joined #ruby
trolling has joined #ruby
Apocalypse has joined #ruby
marr has joined #ruby
kitak_ has joined #ruby
zeeraw has joined #ruby
DarkFoxDK has joined #ruby
mikepack has joined #ruby
three18ti has joined #ruby
closer has joined #ruby
flagg0204 has joined #ruby
AntelopeSalad has joined #ruby
Nightmare has joined #ruby
kitak has joined #ruby
gja has joined #ruby
lsoa has joined #ruby
Sthebig has joined #ruby
joast has joined #ruby
Mohan has joined #ruby
dominikh has joined #ruby
fivethreeo has joined #ruby
rurban has joined #ruby
DrOwl has joined #ruby
R33C3_ has joined #ruby
fysaen_ has joined #ruby
mburns has joined #ruby
mjmac has joined #ruby
peterhu_ has joined #ruby
Jakee` has joined #ruby
RTG` has joined #ruby
zz_jrhorn424 has joined #ruby
ww26 has joined #ruby
ggherdov has joined #ruby
cescalante has joined #ruby
TheShaun has joined #ruby
dubios has joined #ruby
anomaly_ has joined #ruby
zz_karupanerura has joined #ruby
eliasp has joined #ruby
gwb3 has joined #ruby
jchristi has joined #ruby
idoru has joined #ruby
bakedb has joined #ruby
yjmsf20_ has joined #ruby
Soulcutter has joined #ruby
strax has joined #ruby
icedp has joined #ruby
rgoodwin has joined #ruby
the_mentat has joined #ruby
dandrade has joined #ruby
freakazoid0223 has joined #ruby
bobdobbs has joined #ruby
relix has joined #ruby
Rennex has joined #ruby
iaj has joined #ruby
hoelzro has joined #ruby
wlanboy_ has joined #ruby
cusco_ has joined #ruby
dmoe has joined #ruby
DeProdigy has joined #ruby
sophomorical has joined #ruby
DuoSRX has joined #ruby
DanKnox has joined #ruby
jhaals_ has joined #ruby
Nuck has joined #ruby
mikemar10 has joined #ruby
Dwarf has joined #ruby
thejoecarroll has joined #ruby
utkarsh has joined #ruby
m0use_ has joined #ruby
maloik_ has joined #ruby
shaileshg__ has joined #ruby
monsieurp has joined #ruby
psyprus has joined #ruby
rikas has joined #ruby
Akuma0n3 has joined #ruby
uxp has joined #ruby
Rydekull_ has joined #ruby
parus has joined #ruby
mbff_ has joined #ruby
nomadic_ has joined #ruby
clint_s has joined #ruby
Paradox has joined #ruby
jalcine has joined #ruby
wereHamster has joined #ruby
jeekl has joined #ruby
mostlybadfly has joined #ruby
moeSeth_ has joined #ruby
patteh has joined #ruby
rdevilla has joined #ruby
qubit has joined #ruby
tommyvyo has joined #ruby
jpinnix_ has joined #ruby
pothibo has joined #ruby
sarlalian has joined #ruby
gstamp has joined #ruby
weeb1e has joined #ruby
zaargy_ has joined #ruby
verto has joined #ruby
devyn has joined #ruby
antonishen_ has joined #ruby
kenichi has joined #ruby
g3orge has joined #ruby
neoice has joined #ruby
blo has joined #ruby
yo61 has joined #ruby
ahuman has joined #ruby
keen____ has joined #ruby
machuga has joined #ruby
Styles_ has joined #ruby
fumduq has joined #ruby
sweeper has joined #ruby
aetaric has joined #ruby
fuzzyfuzz has joined #ruby
BeanDip has joined #ruby
eshy has joined #ruby
jimeh has joined #ruby
daveops has joined #ruby
bw_ has joined #ruby
heftig has joined #ruby
TheNumb has joined #ruby
jinxD_ has joined #ruby
nettoweb has joined #ruby
lkba has joined #ruby
fbernier has joined #ruby
sindork_ has joined #ruby
wudofyr has joined #ruby
mjc_ has joined #ruby
brianpWins has joined #ruby
danshultz has joined #ruby
telling has joined #ruby
Senjai`work has joined #ruby
go|dfish has joined #ruby
rtl has joined #ruby
jayne has joined #ruby
patronus has joined #ruby
clocKwize has joined #ruby
camt has joined #ruby
cjk101010 has joined #ruby
headius has joined #ruby
WanderingGlitch has joined #ruby
brjannc has joined #ruby
cout has joined #ruby
crazedpsyc has joined #ruby
tonini has joined #ruby
peteyg__ has joined #ruby
nw has joined #ruby
wuest has joined #ruby
juo has joined #ruby
xsdg_ has joined #ruby
samuelkadolph has joined #ruby
cibs has joined #ruby
Monie has quit [Max SendQ exceeded]
phreax has joined #ruby
jkamenik has quit [Ping timeout: 265 seconds]
bruticus has quit [Write error: Broken pipe]
Hanmac has quit [Ping timeout: 249 seconds]
decoponio has joined #ruby
digital-ghost has joined #ruby
IceDragon has joined #ruby
Olipro has quit [Max SendQ exceeded]
Hanmac has joined #ruby
Bish has quit [Max SendQ exceeded]
_br_ has quit [Max SendQ exceeded]
deepy has quit [Max SendQ exceeded]
rootshift has quit [Quit: rootshift]
alup has quit [Quit: Leaving]
mary5030 has quit [Remote host closed the connection]
framling has joined #ruby
yxhuvvd has joined #ruby
thelamest has quit [Ping timeout: 272 seconds]
Alina-malina has quit [Max SendQ exceeded]
Monie has joined #ruby
petey_ has joined #ruby
18WAFC3QW has quit [Ping timeout: 246 seconds]
deepy has joined #ruby
Advocation_ has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
xybre has joined #ruby
brisbin has joined #ruby
lsmola_ has quit [Ping timeout: 246 seconds]
gtc is now known as Guest93560
jerius has joined #ruby
xiphias has quit [Ping timeout: 254 seconds]
Apocalypse has quit [Ping timeout: 254 seconds]
wildharvest has quit [Ping timeout: 245 seconds]
deepy is now known as Guest37702
soukihei has joined #ruby
DeProdigy has quit [Ping timeout: 240 seconds]
drag00n has joined #ruby
anderson has joined #ruby
jkamenik has joined #ruby
tjbiddle has joined #ruby
Alina-malina has joined #ruby
wildharvest_ has joined #ruby
matheuscaceres has joined #ruby
bgy_ is now known as bgy
bgy has quit [Changing host]
bgy has joined #ruby
senj has joined #ruby
1JTABHC7R has joined #ruby
madb055 has joined #ruby
bradhe has joined #ruby
kristianpaul has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Advocation has quit [Ping timeout: 264 seconds]
ckrailo has quit [Ping timeout: 264 seconds]
Cork has quit [Ping timeout: 264 seconds]
b00stfr3ak has quit [Ping timeout: 264 seconds]
grn has quit [Ping timeout: 264 seconds]
oddalot has quit [Ping timeout: 264 seconds]
Rylee has quit [Ping timeout: 264 seconds]
Myk267 has quit [Ping timeout: 264 seconds]
Hien has quit [Ping timeout: 264 seconds]
Hamburglr has quit [Ping timeout: 264 seconds]
bluehavana__ has quit [Ping timeout: 264 seconds]
braoru has quit [Ping timeout: 264 seconds]
thesheff17 has quit [Ping timeout: 264 seconds]
Spleeze has quit [Ping timeout: 264 seconds]
mnemon2 has quit [Ping timeout: 264 seconds]
araujo has quit [Ping timeout: 264 seconds]
UForgotten has quit [Ping timeout: 264 seconds]
Advocation_ is now known as Advocation
RicFlair is now known as ArchBeOS-work
SpleezeDos has joined #ruby
dukz has joined #ruby
Hien has joined #ruby
dev1x has quit [Ping timeout: 264 seconds]
moppersmurf has quit [Ping timeout: 264 seconds]
Rylee_ has joined #ruby
dhruvasagar has joined #ruby
thelamest has joined #ruby
rootshift has joined #ruby
apeiros has joined #ruby
ckrailo_ has joined #ruby
ghatak has quit [Quit: leaving]
d45h has joined #ruby
Bish has joined #ruby
grn has joined #ruby
Hanmac1 has joined #ruby
Myk267 has joined #ruby
dev1x has joined #ruby
oddalot has joined #ruby
_br_ has joined #ruby
bluehavana___ has joined #ruby
Kruppe is now known as Guest93319
pipopopo has quit [Ping timeout: 264 seconds]
Olipro has joined #ruby
UForgotten has joined #ruby
Apocalypse has joined #ruby
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
digital-_ has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
sivoais has joined #ruby
shedd has joined #ruby
mary5030 has joined #ruby
braoru has joined #ruby
pipopopo has joined #ruby
araujo has joined #ruby
thesheff17 has joined #ruby
moppersmurf has joined #ruby
decoponyo has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
mnemon has joined #ruby
RaCx has quit [Ping timeout: 265 seconds]
tvw has joined #ruby
mstksg is now known as jle`
tvw has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 240 seconds]
xybre has quit [Ping timeout: 240 seconds]
braoru has quit [Remote host closed the connection]
Guest93319 has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
Cork has joined #ruby
dukz has quit [Remote host closed the connection]
psyprus has quit [Ping timeout: 240 seconds]
user258467_ has quit [Quit: Quitte]
brisbin_ has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
ckrailo_ has quit [Ping timeout: 240 seconds]
jcp has joined #ruby
psyprus has joined #ruby
jcp is now known as Guest51108
typicalbender has quit [Disconnected by services]
typicalbender1 has joined #ruby
typicalbender has joined #ruby
_br_ has quit [Ping timeout: 240 seconds]
mary5030_ has joined #ruby
shaunbaker has quit [Remote host closed the connection]
IcyDragon has joined #ruby
mojjojo has quit [Quit: mojjojo]
jerius_ has joined #ruby
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon
preller has joined #ruby
mojjojo has joined #ruby
cpruitt has joined #ruby
mklappst_ has quit [Remote host closed the connection]
RaCx has joined #ruby
typicalbender has quit [Disconnected by services]
tonni has joined #ruby
AlSquire has joined #ruby
whysobad has joined #ruby
typicalbender1 is now known as typicalbender
_br_ has joined #ruby
burlyscudd has joined #ruby
brisbin has quit [Ping timeout: 250 seconds]
digital-ghost has quit [Ping timeout: 250 seconds]
anderson has quit [Ping timeout: 250 seconds]
jerius has quit [Ping timeout: 250 seconds]
decoponio has quit [Ping timeout: 250 seconds]
d45h has quit [Ping timeout: 250 seconds]
dash__ has joined #ruby
typicalbender1 has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
SpleezeDos has quit [Ping timeout: 240 seconds]
|jemc| has joined #ruby
anderson has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
colonolGron has joined #ruby
mojjojo has quit [Client Quit]
Spleeze has joined #ruby
psyprus has joined #ruby
ikawnoclast has quit [Quit: ikawnoclast]
Guest72562 has quit [Read error: Connection reset by peer]
dukz has joined #ruby
Guest72562 has joined #ruby
whysomad has quit [Ping timeout: 260 seconds]
xk_id has quit [Quit:
Czupa has joined #ruby
cameronbarton has joined #ruby
1JTABHC7R has quit [Quit: leaving]
Rylee_ has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
<sec^nd> anyone here have experience with ruby cucumber?
ckrailo_ has joined #ruby
<slash_nick> sec^nd: ask
shuvarek is now known as shuvarek|away
Rylee_ has joined #ruby
b00stfr3ak has joined #ruby
lethjakman has joined #ruby
guilund has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
shuvarek|away is now known as shuvarek
aryaching_ has quit [Ping timeout: 252 seconds]
Spleeze has quit [Quit: QUIT]
mojjojo has joined #ruby
renklaf has joined #ruby
Spleeze has joined #ruby
maletor has joined #ruby
punkzio has joined #ruby
troessner has joined #ruby
yfeldblum has joined #ruby
petey_ has quit [Remote host closed the connection]
shuvarek has left #ruby ["Leaving"]
Alina-malina has quit [Quit: Leaving]
xiphias has joined #ruby
petey has joined #ruby
xiphias has quit [Changing host]
xiphias has joined #ruby
troessner has quit [Client Quit]
geekbri has quit []
petey has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Alina-malina has joined #ruby
dash__ has quit [Ping timeout: 248 seconds]
petey has joined #ruby
prakriti has quit [Ping timeout: 265 seconds]
Spami has quit [Quit: This computer has gone to sleep]
jmeeuwen has quit [Ping timeout: 245 seconds]
VTLob has joined #ruby
Guest51108 is now known as Kruppe
sharms has quit [Ping timeout: 240 seconds]
fijimunkii has quit [Ping timeout: 265 seconds]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
hogeo has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
cameronbarton has quit [Remote host closed the connection]
<sec^nd> slash_nick: how do I correctly assert something in a stepdef? I want to check if the page has an error element and if it does I'd like the test to fail and output a custom error message
jle` has quit [Ping timeout: 246 seconds]
fijimunkii has joined #ruby
mikecmpbll has joined #ruby
jle` has joined #ruby
<slash_nick> sec^nd: sounds bad to me. why not have one test to say that under X conditions no error, under Y conditions you expect an error
mupkoo has quit [Ping timeout: 240 seconds]
<slash_nick> i guess that makes two tests.
user258467 has joined #ruby
sharms has joined #ruby
zoo-zed has joined #ruby
mupkoo has joined #ruby
<sec^nd> slash_nick: I'm basically posting to a page, I want to check if it was a success or not
<sec^nd> If it has errors the test should fail
larissa has joined #ruby
<slash_nick> have you looked at capybara's docs?
ambushsabre has joined #ruby
ghostfaceskrilla has joined #ruby
okinomo has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
<sec^nd> slash_nick: I'm using watir
fijimunk1i has joined #ruby
<slash_nick> so watir then... your question is about watir, not spinach.
<sec^nd> I'd still like to know why a test failed with a nice error message as there are many reasons a test could fail
fijimunkii has quit [Ping timeout: 264 seconds]
invsblduck_ has quit [Quit: ZNC - http://znc.in]
zipper has quit [Quit: Lost terminal]
RaCx has quit [Quit: Computer has gone to sleep.]
dagobah has quit [Remote host closed the connection]
brain_shim has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
jhaals_ has quit [Ping timeout: 245 seconds]
okinomo has quit [Ping timeout: 248 seconds]
Bish has quit [Ping timeout: 240 seconds]
mmealling has joined #ruby
jkhwan has joined #ruby
Asher has quit [Quit: Leaving.]
jmeeuwen has joined #ruby
<mmealling> If you're interested in a big Rails OAuth project where audience is other developers let me know at mmealling@gmail.com. Good rates, benefits, very little travel. Need 3 ppl. Thanks!
rootshift has quit [Quit: rootshift]
geekbri has joined #ruby
Bish has joined #ruby
RaCx has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
wc- has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
Xeago has quit [Remote host closed the connection]
DeProdigy has joined #ruby
sharms has joined #ruby
maletor has quit [Read error: Connection reset by peer]
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
QbY has quit [Remote host closed the connection]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
MattStratton has quit [Read error: Operation timed out]
<platzhirsch> t
troyready has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
icedp has quit [Quit: _]
freerobby has joined #ruby
anomaly_ has quit [Ping timeout: 256 seconds]
ghostfaceskrilla has quit [Remote host closed the connection]
<s2013> i have multiple apps that uses the same database. i need to be use the devise login thats setup, whats the best way of going baout it?
timonv has quit [Remote host closed the connection]
alekst has joined #ruby
<s2013> i thought about doing it in a crappy way where i generate the devise model with the same name and dont do a migration
gja has quit [Quit: This computer has gone to sleep]
<s2013> not sure if it will work but im pretty sure its a bad idea
<s2013> damn wrong chanenl
olivier_bK has quit [Ping timeout: 246 seconds]
<zoo-zed> sigh… ok… we'll switch channels. :-)
Heskie has quit []
brtdv has quit []
d2dchat has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
shaunbaker has joined #ruby
<s2013> heh
icedp has joined #ruby
icedp has quit [Changing host]
icedp has joined #ruby
yfeldblum has joined #ruby
Asher has joined #ruby
whysobad has quit [Ping timeout: 272 seconds]
pel_daniel has joined #ruby
maletor has joined #ruby
preller has quit [Ping timeout: 260 seconds]
wc- has joined #ruby
RoryHughes has quit []
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
orolo has quit [Quit: Leaving]
Spami has joined #ruby
flubba has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
Bira has quit [Remote host closed the connection]
blaxter has joined #ruby
soulcake has joined #ruby
Bira has joined #ruby
Asher has quit [Ping timeout: 264 seconds]
signers has joined #ruby
choobie has quit [Ping timeout: 260 seconds]
TMM has quit [Quit: Ex-Chat]
zeade has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
burlyscudd has quit [Quit: Leaving.]
aryaching has joined #ruby
dukz has quit [Ping timeout: 264 seconds]
zeropx has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 260 seconds]
mbff_ has quit [Ping timeout: 240 seconds]
tharindu has quit [Quit: Leaving...]
ewnd9 has quit [Ping timeout: 245 seconds]
flubba has quit [Remote host closed the connection]
Authenticator has joined #ruby
flubba has joined #ruby
wallerdev has joined #ruby
signers has quit [Remote host closed the connection]
Brolen has quit [Quit: Brolen]
bradhe has joined #ruby
zeropx has joined #ruby
dangerousdave has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
nvrch has quit [Quit: nvrch]
psyprus has quit [Read error: Connection reset by peer]
psyprus has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Tarential has quit [Excess Flood]
flubba has quit [Ping timeout: 272 seconds]
Tarential has joined #ruby
Hanmac1 is now known as Hanmac
mojjojo has quit [Quit: mojjojo]
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
avril14th has quit []
ghr has quit [Quit: Computer has gone to sleep.]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dukz has joined #ruby
aganov has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
RoryHughes has joined #ruby
mojjojo has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
sambao21 has joined #ruby
DeProdigy has quit [Ping timeout: 246 seconds]
bradhe has quit [Remote host closed the connection]
psyprus has joined #ruby
Bira has quit [Remote host closed the connection]
Bira has joined #ruby
ssvo has joined #ruby
A124 has joined #ruby
mbff_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
tomaw_ is now known as tomaw
mojjojo has quit [Quit: mojjojo]
RaCx has joined #ruby
banister has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
SmileyKeith has joined #ruby
dukz has quit [Remote host closed the connection]
gja has joined #ruby
barratt has quit [Ping timeout: 245 seconds]
preller has quit [Ping timeout: 250 seconds]
Aserpent10 has joined #ruby
elton has joined #ruby
khismetix has joined #ruby
elux has quit [Quit: Leaving...]
tkuchiki has quit [Remote host closed the connection]
<khismetix> which operator is being used in the h.store arguments in this snippet ?
<khismetix> *kv ?
<elton> Does upgrading from 2.0.0-p247 to 2.0.0-p353, using rbenv, require re-installing all gems?
jonathanwallace1 has quit [Quit: WeeChat 0.4.1]
<elton> What about form 2.0.0 to 2.1.0?
[yalue] has quit [Quit: Leaving]
noop has joined #ruby
hogeo has joined #ruby
jonathanwallace has joined #ruby
pushpak has joined #ruby
havenwood has quit [Remote host closed the connection]
goleldar has joined #ruby
anomaly_ has joined #ruby
zombiebit has joined #ruby
RoryHughes has quit []
<Hanmac> elton: i would aways reinstall all gems
havenwood has joined #ruby
klaut has quit [Remote host closed the connection]
LiohAu has joined #ruby
jkhwan has quit [Remote host closed the connection]
iliketur_ has joined #ruby
<elton> Hanmac - form minor point release upgrades?
iliketur_ has quit [Remote host closed the connection]
lewix_ has joined #ruby
<elton> Considering local mirror with rubygems-mirror but how many GB these days?
<Hanmac> i have seeen breaks between teeny versions ... like 1.8.6 -> 1.8.7 breaks, and somewhere between 2.0<->2.1 are also breaks
<elton> I can understand 2.0 to 2.1 but patch-level increments?
<elton> I'm coming from Perl/CPAN, you see
goleldar has quit [Client Quit]
hogeo has quit [Ping timeout: 250 seconds]
angusiguess has joined #ruby
dukz has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
jkhwan has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
thedudez0r_ has joined #ruby
g3orge has quit [Quit: WeeChat 0.4.2]
<thedudez0r_> why ruby?
KillerFox has joined #ruby
falten has joined #ruby
petey has quit [Remote host closed the connection]
jan1337z has joined #ruby
metallisto has joined #ruby
khismetix has joined #ruby
petey has joined #ruby
<terrellt> thedudez0r_: Happiness.
khismetix has quit [Max SendQ exceeded]
CaptainJet has joined #ruby
khismetix has joined #ruby
mame0 has joined #ruby
caveat- has joined #ruby
clamstar has joined #ruby
ikawnoclast has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
Czupa has quit [Quit: Wychodzi]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elton> thedudez0r_ Wanted to learn Rails
RoryHughes has joined #ruby
<LiohAu> guys, does this "rubyzip (~> 1.0)" exclude the 1.0 version ?
bluOxigen has joined #ruby
roolo__ has quit [Remote host closed the connection]
banghouse has joined #ruby
joshmyers has joined #ruby
spider-mario has joined #ruby
drumusician has quit [Ping timeout: 265 seconds]
Bira has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
subbyyy_ has joined #ruby
joshmyers is now known as bubu
banghouse is now known as Guest10090
Bira has joined #ruby
<elton> OK then, which Ruby upgrades do not require a complete gem update?
vpretzel has quit [Remote host closed the connection]
petey has quit [Ping timeout: 250 seconds]
zombiebit has quit [Quit: go go power rangers...]
<thedudez0r_> elton, how long have you been skating?
mojjojo has joined #ruby
<elton> skating?
<thedudez0r_> jk. I didn't know rails was another language you could learn. I thught it was more of an extension of ruby?
<bubu> Guys, am being dumb here, https://gist.github.com/anonymous/7991445 . I want to end up with an array of 5 hashes, one for each trip_type...? instead trips is an array of just the last element
shime has quit [Read error: Operation timed out]
<lupine> it's an application framework. not another language. not an extension of ruby.
gja has quit [Quit: This computer has gone to sleep]
jtgiri_ has joined #ruby
atno has joined #ruby
petey has joined #ruby
petey has quit [Remote host closed the connection]
vpretzel has joined #ruby
timonv has joined #ruby
petey has joined #ruby
threesome has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
Al__ has quit [Quit: Al__]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
Guest10090 has quit [Ping timeout: 250 seconds]
RoryHughes has quit []
<shevy> bubu this is such an awful data structure you have to begin with
camilasan has quit []
<shevy> what for do you have 'score' at all
mojjojo has quit [Client Quit]
rf has joined #ruby
<bubu> shevy: what would be a better data structure? Eventually I will need to add more attributes than just score
Virtualize has quit [Quit: Leaving...]
<bubu> and unfortunately I can't change the trip hash, it's a big nasty hash :(
<shevy> yeah that sucks then
<shevy> there is no better way
RoryHughes has joined #ruby
RaCx_ has joined #ruby
<bubu> hmm
noop has quit [Ping timeout: 272 seconds]
<shevy> you basically have hashes inside of a hash
anderson has quit [Ping timeout: 246 seconds]
<bubu> ja
atno has quit [Ping timeout: 240 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
DouweM has quit [Ping timeout: 245 seconds]
<bubu> we call it the abitary hash of shit
RaCx has quit [Read error: Connection reset by peer]
RaCx_ is now known as RaCx
<shevy> shuffling it towards an array won't make it have less info or that info better structured
gregoriokusowski has quit [Quit: gregoriokusowski]
<bubu> hmm
lewix_ has quit [Remote host closed the connection]
<shevy> if it would have been only one attribute, it would be so much cleaner
<shevy> >> trip_type = { terrible: 1, low: 3, average: 5, high: 7, excellent: 9 }
<eval-in> shevy => {:terrible=>1, :low=>3, :average=>5, :high=>7, :excellent=>9} (https://eval.in/79985)
<bubu> shevy: indeed
<bubu> but wtf does the trips array end up with only 1 element in it and not 5, one for each trip_type?
petey has quit [Ping timeout: 272 seconds]
browndawg has left #ruby [#ruby]
mojjojo has joined #ruby
mr_red has quit [Ping timeout: 246 seconds]
<shevy> what do you mean
<shevy> >> {:terrible=>1, :low=>3, :average=>5, :high=>7, :excellent=>9}.to_a.size
<eval-in> shevy => 5 (https://eval.in/79986)
<shevy> >> {:terrible=>1, :low=>3, :average=>5, :high=>7, :excellent=>9}.to_a
<eval-in> shevy => [[:terrible, 1], [:low, 3], [:average, 5], [:high, 7], [:excellent, 9]] (https://eval.in/79987)
psyl0n has quit [Remote host closed the connection]
flubba has joined #ruby
<bubu> shevy: line 31
adam- is now known as adam12
DeProdigy has joined #ruby
cbetta is now known as cbetta_afk
Guest72562 has quit [Read error: Connection reset by peer]
<bubu> I would expect trips to be an array of 5 trip hashes
rubyracer has joined #ruby
<bubu> but instead it's just a one element array of what would be the last hash..
elton has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
<bgy> is there any way to load a an array from a file? let's say I've a matrix like "[[1, 2, 3], [4, 5, 6]]" in a file, how could I "load" it as an actual array?
psyprus has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
<bgy> like an eval in a way..
<bubu> shevy: Am I making sense? :P
Monie has quit [Ping timeout: 246 seconds]
<Aserpent10> What the reason to bundle install --without production gems?
Zai00 has joined #ruby
<shevy> I guess you refer to that crazy paste you showed bub
<shevy> *bubu
Zai00 has quit [Client Quit]
psyprus has joined #ruby
michaeldeol has joined #ruby
<bubu> yup
<shevy> my eyes were bleeding when I looked at it. my brain cursed and instantly changed the data structure you had in that pastie into {:terrible=>1, :low=>3, :average=>5, :high=>7, :excellent=>9} which has the same information content
<bubu> haha
<shevy> when you then run #to_a on it, you get 5 members of the array
<bubu> I know but simplified it for the paste, unfortunately I can't change the data structure
wc- has left #ruby [#ruby]
khismetix has quit [Quit: Computer has gone to sleep.]
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
<shevy> there is an old adage - simplicity often starts with the better data structures
mojjojo has quit [Quit: mojjojo]
<shevy> what happens when you run #to_a bubu
<shevy> bgy assigning it to a constant would be one way
<bubu> to_a on what? I'm not trying to get the trip_type as an array...
afhammad has joined #ruby
<shevy> ARRAY = [[1, 2, 3], [4, 5, 6]]
<shevy> I thought you needed arrays:
<shevy> ubu> Guys, am being dumb here, https://gist.github.com/anonymous/7991445 . I want to end up with an array of 5 hashes
<shevy> you could put 5 hashes into your array
petey has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<bgy> shevy, then requiring it?
<bubu> shevy: line 31, trips, which is an empty array, I want to populate the empty array with 5 trip hashes that come from my trip_type each loop...
<bgy> I'm totally new to ruby :) (but used to other programming languages)
iamjarvo has joined #ruby
preller has quit [Ping timeout: 248 seconds]
anderson has joined #ruby
banghouse has joined #ruby
<shevy> >> Array.new(5).map {Hash.new}
<eval-in> shevy => [{}, {}, {}, {}, {}] (https://eval.in/79988)
<shevy> now just fill it up bubu
<bubu> huh?
banghouse is now known as Guest57724
<Mage_Dude> Any idea roughly how long it should take to configure-make-make install for 2.0.0-p353? Single core, 3Ghz, 2GB RAM? Minutes? Hours?
bradhe has quit [Remote host closed the connection]
mr_red has joined #ruby
<popl> both
<terrellt> Decades
Guest57724 is now known as banghouse
voland_ has quit [Remote host closed the connection]
brtdv has joined #ruby
<shevy> bgy you have an array right?
ikawnoclast has quit [Quit: ikawnoclast]
Hanmac1 has joined #ruby
dukz has quit [Remote host closed the connection]
phansch has joined #ruby
<shevy> Mage_Dude 12 minutes
<shevy> but 2GB is really sad
<bgy> shevy, well the idea is to allow to pass a file as an argument to cli tool, in this file there is a matrix which follows ruby array syntax, and I'd like to it as an actual array to start work witgh
<Mage_Dude> shevy: Seems about right. Just failed on 'make install'
dukz has joined #ruby
<shevy> bgy so you can not make changes to the file?
mojjojo has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
<bgy> shevy, well I want to something like $ script --pattern-file=block where block is a matrix representing a block pattern, so anyone can define a pattern within the file
laphlaw has joined #ruby
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
<shevy> that's cool
OdNairy has joined #ruby
<shevy> but you didn't answer my question :(
mojjojo has quit [Client Quit]
nanoyak has joined #ruby
preller has joined #ruby
thedudez0r_ has left #ruby ["Leaving"]
<shevy> I think the answer that you should have given was a no
<bgy> then I'm not sure to understand it right :)
<shevy> well, see
Monie has joined #ruby
<shevy> if you can make changes to the file in question
<bgy> what I mean is I've no control on the file being loaded
<shevy> then the solution is super simple
<shevy> k then the answer would have been no
<shevy> so you basically want to arbitrarily load a file in which the content can any arbitrary syntax
RoryHughes has quit []
<bgy> likely
<shevy> and you assume it to be ruby code
<workmad3> woo! command injection ftw!
dukz has quit [Ping timeout: 250 seconds]
<shevy> in that case there are only two options I see - eval and simply reading the file on your own and parsing it into proper ruby code
<shevy> eval stinks
<workmad3> shevy: ripper
<bgy> shevy, yeah
<shevy> bgy as you can see, workmad3 recommends ripper. you should ask him how to use it
<workmad3> hehe :P
rdark has quit [Quit: leaving]
xsdg_ has quit [Quit: Reconnecting]
xsdg has joined #ruby
<bgy> some sort of rubber duck debugging but I'm thinking to use json as input syntax
A124 has quit [Ping timeout: 240 seconds]
<bgy> I should be able to get the file content, load it as json, right and convert it back to ruby rightN
<bgy> ?
<workmad3> I'm only suggesting ripper because it's part of stdlib
bradhe has joined #ruby
xybre has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
Xeago has joined #ruby
<bgy> is ripper some sort of lexeR?
<workmad3> pretty much, yeah
petey has quit [Remote host closed the connection]
<bgy> damn, there are no json in stdlib?
<bubu> shevy: is this any clearer? https://gist.github.com/anonymous/1c708e1f787ad568245d < I would expect the trips array to be [{"score"=>9}, {"score"=>1}, {"score"=>5}], {"score"=>3}, {"score"=>7}
<bubu> ]
<workmad3> bgy: there's a json parser in stdlib too
<bgy> ah ok, I find it as a gem
petey has joined #ruby
<workmad3> bgy: there's plenty of json gems too :)
<bubu> but instead the trips array is only {"score"=>9}
sserikov has joined #ruby
xk_id has joined #ruby
<bubu> [{"score"=>9}] rather
<bgy> yeah ok, I'm discovering the ruby ecosystem : )
iliketur_ has joined #ruby
jkhwan has quit [Remote host closed the connection]
peregrine81 has quit []
standyro has joined #ruby
<shevy> bgy here is a manual parse:
<shevy> >> "[[1, 2, 3], [4, 5, 6]]".split('[').reject(&:empty?).map(&:strip).map {|_| _.delete(']')}.map {|_| _.gsub(/ /,'').split(',').map(&:to_i)}
<eval-in> shevy => [[1, 2, 3], [4, 5, 6]] (https://eval.in/79989)
sserikov has quit [Remote host closed the connection]
LiohAu has quit [Ping timeout: 272 seconds]
<shevy> bubu I looked at it and you still only have 'score' there
preller has quit [Ping timeout: 260 seconds]
iliketur_ has quit [Client Quit]
<shevy> bubu btw why do you create the array inside the each loop
<bubu> yes but there is more attributes to go in there, I'm just trying to simplify my example
<shevy> you don't want it to persist?
Monie has quit [Ping timeout: 240 seconds]
Bira has quit [Remote host closed the connection]
<bubu> ahhh thats F*cking why
<bubu> there's my answer!
<bubu> sorry am being an idiot :)
<workmad3> bubu: did you mean to .map instead of .each? :)
Advocation has quit [Quit: Advocation]
<shevy> you were not seeing it because your brain kept you busy with awful data to begin with bubu
<Hanmac1> shevy & bgy: what about that? JSON.parse("[[1, 2, 3], [4, 5, 6]]") #=> [[1, 2, 3], [4, 5, 6]]
lewix_ has joined #ruby
<shevy> yeah I guess that is what this method does
<bubu> lol shevy maybe :)
<bgy> Hanmac1, that's what I'm trying :)
<bgy> and that's what I need actually
<shevy> but bgy did not say "hey, I will use JSON"
<shevy> I mean, if he would have said it!
jkhwan has joined #ruby
<workmad3> bubu: trips = trip_type.map{|k,v| {"score" => v['score']} }
<bgy> yeah I had no idea at first
<shevy> but he didn't!!!
heidi has joined #ruby
<shevy> it could even have been yaml too
peregrine81 has joined #ruby
<shevy> but he did not say that either!!!!!!!!
<bgy> for example, in php it is possible to do <?php return [[1,2,3], [4,5,6]]; and then $matrix = require "file.php";
<workmad3> >> require 'json'; JSON.parse("[[1, 2, 3], [4, 5, 6]]")
<eval-in> workmad3 => (https://eval.in/79990)
peregrine81 has quit [Max SendQ exceeded]
lewix_ has quit [Remote host closed the connection]
<shevy> that is an example of how php asskicks ruby
<workmad3> hehe, can't do that for some reason :)
petey has quit [Ping timeout: 272 seconds]
peregrine81 has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
<shevy> that works in php because require returns something, right?
khismetix has joined #ruby
RaCx has quit [Ping timeout: 264 seconds]
wiwo has joined #ruby
wiwo has left #ruby [#ruby]
RoryHughes has joined #ruby
RaCx has joined #ruby
preller has joined #ruby
xybre has quit [Ping timeout: 240 seconds]
xybre has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
cpruitt has quit [Quit: cpruitt]
saarinen has joined #ruby
kke has quit [Remote host closed the connection]
psyl0n has quit [Remote host closed the connection]
laphlaw has quit [Ping timeout: 240 seconds]
eka has joined #ruby
iliketur_ has joined #ruby
anonymuse has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
bricker has joined #ruby
laphlaw has joined #ruby
colonolG1on has joined #ruby
lidkin has joined #ruby
aspires has joined #ruby
eka has quit [Ping timeout: 240 seconds]
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
cpruitt has joined #ruby
peregrine81 has quit []
colonolGron has quit [Ping timeout: 250 seconds]
peregrine81 has joined #ruby
lidkin has quit [Remote host closed the connection]
eka has joined #ruby
peregrine81 has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
hogeo has joined #ruby
skaflem2 has quit [Quit: Leaving]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
yaffil has joined #ruby
soulcake has quit [Quit: ZNC - http://znc.in]
jkhwan has quit [Remote host closed the connection]
w4pm has joined #ruby
<xibalba> yaff
<xibalba> yaffil,
Nahra has quit [Quit: Lost terminal]
tekacs has quit [Quit: Disappearing... *poof*]
Aserpent10 has quit [Remote host closed the connection]
g0bl1n has joined #ruby
jkhwan has joined #ruby
hogeo has quit [Ping timeout: 250 seconds]
Brolen has joined #ruby
Jb___ has quit [Ping timeout: 272 seconds]
Aserpent10 has joined #ruby
okinomo has joined #ruby
tekacs has joined #ruby
g0bl1n has quit [Max SendQ exceeded]
g0bl1n has joined #ruby
cpruitt has quit [Quit: cpruitt]
timonv has joined #ruby
_5kg_ has joined #ruby
Jb___ has joined #ruby
waxjar has quit [Quit: ZNC - http://znc.in]
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
<deryl> hey hey workmad3
yaffil has quit [Ping timeout: 252 seconds]
cpruitt has joined #ruby
okinomo has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
obs has quit [Remote host closed the connection]
sepp2k has joined #ruby
A124 has joined #ruby
sepp2k1 has joined #ruby
Aserpent10 has quit [Remote host closed the connection]
<shevy> Deprecated: Assigning the return value of new by reference is deprecated in /var/www/web129/html/ds/system/wp-united/cache/core-38f870cc85c198c7891c48e3862f8b74.php on line 2899
<shevy> php errors are so pretty
Monie has joined #ruby
Virtualize has joined #ruby
sepp2k has quit [Client Quit]
sepp2k1 has quit [Client Quit]
petey has joined #ruby
iamjarvo has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
iamjarvo has joined #ruby
_5kg_ has quit [Ping timeout: 240 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
anomaly_ has quit [Ping timeout: 256 seconds]
matti has quit [Quit: Oh dear...]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
intuxicated has joined #ruby
whysosad has joined #ruby
peterhu_ is now known as peterhu
RoryHughes has quit []
Virtualize|away has joined #ruby
Virtualize has quit [Ping timeout: 272 seconds]
mikepack_ has joined #ruby
nowthatsamatt has joined #ruby
nowthatsamatt has quit [Remote host closed the connection]
codezomb has joined #ruby
yfeldblum has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
peterhu has quit [Quit: leaving]
peterhu has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
nomadicoder has joined #ruby
jkhwan has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
andredie` is now known as andredieb
kpshek has joined #ruby
andredieb is now known as Guest9102
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
preller has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
Txandy has joined #ruby
preller has joined #ruby
_5kg_ has joined #ruby
waxjar has joined #ruby
Guest9102 is now known as andredieb
andredieb has quit [Changing host]
andredieb has joined #ruby
tbrock has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
jkhwan has joined #ruby
chiel_ is now known as chiel
khismetix has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dfranciosi has quit [Remote host closed the connection]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
<zeade> there is nothing pretty about php
petey_ has joined #ruby
carraroj has joined #ruby
voland has joined #ruby
colonolGron has joined #ruby
jkhwan_ has joined #ruby
alvaro_o has joined #ruby
cescalante is now known as ce_afk
petey has quit [Read error: Connection reset by peer]
zeade has quit [Quit: Leaving.]
jkhwan has quit [Read error: Connection reset by peer]
tonni has quit [Quit: Leaving...]
tonni has joined #ruby
zeade has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
banister has joined #ruby
colonolG1on has quit [Ping timeout: 250 seconds]
iamjarvo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
abra has joined #ruby
kenrick has joined #ruby
Xeago has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sumark_ is now known as sumark
iliketur_ has quit [Quit: zzzzz…..]
banister has quit [Ping timeout: 240 seconds]
spyderma_ has quit []
chomskiii has quit [Ping timeout: 245 seconds]
LadyRainicorn has joined #ruby
petey_ has quit [Remote host closed the connection]
Buck has joined #ruby
ce_afk is now known as cescalante
<Buck> how can I convert an array to a set ?
petey has joined #ruby
jonahR has joined #ruby
<LadyRainicorn> Set.new(*array)
<LadyRainicorn> There may be an actual operator for that
<MrZYX> depends on why you need a set
<MrZYX> if it's just for removing duplicates there's Array#uniq
<Buck> thanks MrZYX
<Buck> LadyRainicorn: I thought it was .to_set (it is, but apparently you have to require set first)
anonymuse has quit [Quit: Leaving...]
bogeyd6 has quit [Quit: Leaving]
<LadyRainicorn> ahh, yes. I am on android and too lazy to google docs, so only memory ;p
aspires has quit []
jibi has quit [Read error: Connection reset by peer]
iliketur_ has joined #ruby
petey has quit [Ping timeout: 245 seconds]
carraroj has quit [Ping timeout: 248 seconds]
CaptainJet has quit []
lewix_ has joined #ruby
bogeyd6 has joined #ruby
carraroj has joined #ruby
mikepack has quit [Remote host closed the connection]
Brolen has quit [Quit: Brolen]
DeProdigy has quit [Ping timeout: 250 seconds]
rootshift has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
guiocavalcanti has joined #ruby
RaCx has joined #ruby
Es0teric has joined #ruby
Brolen has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blaxter has quit [Ping timeout: 250 seconds]
decoponyo has quit [Quit: Leaving...]
maycon has quit [Ping timeout: 252 seconds]
preller has quit [Ping timeout: 245 seconds]
dzan_ is now known as dzan
vpretzel has left #ruby ["Adios!"]
jerius_ has quit []
Kilobyte|StupidC is now known as Kilo`byte
hogeo has joined #ruby
esing has quit [Remote host closed the connection]
bean__ has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
dik_dak has joined #ruby
anomaly_ has joined #ruby
RoryHughes has joined #ruby
abra has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030_ has quit [Remote host closed the connection]
lewix_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
wchun has joined #ruby
<shevy> you are a ponicorn android
lewix_ has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
cescalante is now known as ce_afk
<LadyRainicorn> No I am 20 now!
<LadyRainicorn> Totes not a ponicorn anymore.
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
* LadyRainicorn prances.
<LadyRainicorn> Err, flies.
<LadyRainicorn> BECAUSE I CAN FLY.
* Hanmac1 wonders if LadyRainicorn did watch recent AdventureTime episodes
Hanmac1 is now known as Hanmac
vt102 has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 248 seconds]
vt102 has joined #ruby
eka has joined #ruby
<LadyRainicorn> no because my internet sucjs and bkockstorrents
<LadyRainicorn> ;-;
joshcookfair has joined #ruby
<LadyRainicorn> And I have been lazy and nit got avpn
<LadyRainicorn> :x
preller has joined #ruby
<LadyRainicorn> which is kind of embarassing after months haha
soulcake has joined #ruby
mary5030_ has joined #ruby
clamstar has quit [Quit: Computer has gone to sleep.]
mary5030 has quit [Ping timeout: 245 seconds]
lewix_ has quit [Ping timeout: 272 seconds]
xk_id is now known as KingDoge
vlad_starkov has joined #ruby
kiesse_ has joined #ruby
aspires has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
petey has joined #ruby
mary5030_ has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
mary5030 has joined #ruby
colonolGron has quit [Ping timeout: 260 seconds]
madmike has joined #ruby
rootshift has quit [Quit: rootshift]
Bofu2U has quit [Ping timeout: 245 seconds]
help has joined #ruby
saarinen has quit [Quit: saarinen]
TomRone has quit [Ping timeout: 252 seconds]
zoo-zed has quit [Quit: Leaving.]
help is now known as Guest34718
atno has joined #ruby
m0use_ has quit [Ping timeout: 245 seconds]
jerius has joined #ruby
clamstar has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
nwertman has quit [Remote host closed the connection]
<Eiam> dunno what it is about adventure time, I absolutely love that show and I'm not even high
Guest34718 is now known as m0use_
nanoyak has joined #ruby
cpruitt has quit [Quit: cpruitt]
mklappst_ has joined #ruby
shadoi has joined #ruby
caveat- has quit [Ping timeout: 252 seconds]
MetaCosm_ has quit [Quit: ZNC - http://znc.in]
Asher has joined #ruby
<LadyRainicorn> It is me.
<LadyRainicorn> Definitely.
nwertman has joined #ruby
<LadyRainicorn> Everyone who sees me falls in love at first sight.
wendell_ has quit [Quit: This computer has gone to sleep]
preller has quit [Ping timeout: 250 seconds]
DouweM has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
<shevy> I am glad to not even know that adventure time is
<shevy> *what rather
jtgiri_ has quit [Quit: jtgiri_]
caveat- has joined #ruby
TomRone has joined #ruby
<LadyRainicorn> shevy: Look it up on Wikipedia.
<LadyRainicorn> Even reading abour me is enough to engender antifragile infatuation
<LadyRainicorn> :3
Txandy has quit [Quit: Leaving...]
Hanmac has quit [Read error: Connection reset by peer]
guiocava_ has joined #ruby
<shevy> I just had a flashback
iliketur_ has quit [Quit: zzzzz…..]
<LadyRainicorn> o?
mklappst_ has quit [Remote host closed the connection]
<shevy> emocakes and LadyRainicorn - if these would ever be active at the same time on IRC, the channel would explode
<Eiam> LadyRainicorn: I dunno, lady rainicorn is kinda weird =) and my least favorite story arc =)
<LadyRainicorn> omgwtf.
<LadyRainicorn> I am weird but sooooooo adorable.
Hanmac1 has joined #ruby
<LadyRainicorn> Who is emocakes?
mklappstuhl has joined #ruby
<Eiam> also after an apocalypse and 1000 years into the future I highly doubt that *korean* would be spoken!
Stevo123 has joined #ruby
Duckily has joined #ruby
<Eiam> Firefly taught is that Mandarin wins out.
<LadyRainicorn> I am actually immortal and quite old.
nwertman has quit [Ping timeout: 240 seconds]
<LadyRainicorn> So it is not like I am speaking it 1000 years later.
<LadyRainicorn> I'm like 1 generation removed from the Mushroom War
guiocavalcanti has quit [Ping timeout: 272 seconds]
nwertman has joined #ruby
Brolen has quit [Quit: Brolen]
<LadyRainicorn> Also AT > FF
jkhwan_ has quit [Remote host closed the connection]
<Eiam> I don't know that her age has ever been explored right? I mean her parents fought in the dog/rainicorn war
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
<Eiam> lol, poor #ruby, we should stop.
<LadyRainicorn> Yeah but I am probably old given my parents being like 1000 years old
<LadyRainicorn> or more
<LadyRainicorn> because they are hippies
<LadyRainicorn> so probably from before
laphlaw has quit [Quit: Computer has gone to sleep.]
tjbiddle_ has joined #ruby
<Eiam> (But yeah if you have not seen adventure time, Season 1 is on netflix so one night if you are bored and not feeling like coding, highly recommend checking it out.. its a show about whats good and right and having fun)
laphlaw has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle_ is now known as tjbiddle
yfeldblum has quit [Remote host closed the connection]
mikepack has joined #ruby
drumusician has joined #ruby
mklappstuhl has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
deception has joined #ruby
bradhe has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SmileyKeith has left #ruby [#ruby]
cpruitt has joined #ruby
jcolechanged has joined #ruby
DeProdigy has joined #ruby
<jcolechanged> I'm coming to Ruby from Python, Lisp, and C++. Does anyone have any book recommendations for me?
yalue has joined #ruby
Txandy has joined #ruby
preller has quit [Ping timeout: 252 seconds]
peregrine81 has joined #ruby
kindjal has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<LadyRainicorn> Ruby is close to Python, and Lisp is helpful if you remember Rubt is nothing like it.
tvw has quit []
<LadyRainicorn> Totally forget the C++ unless you're writing an extension.
iamjarvo has joined #ruby
RoryHughes has quit []
<jle`> Ruby is close to python?
<jle`> what?
DouweM has quit [Ping timeout: 264 seconds]
Hanmac1 is now known as Hanmac
<jle`> aside from some superficial syntax similarities they are completely different languages, semantically
<LadyRainicorn> They are pretty similar tbh.
<LadyRainicorn> err, no?
<Hanmac> jle`: ruby is pythons evil twin sister ;P
<LadyRainicorn> haha pretty much
sharms has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
<LadyRainicorn> Ruby is Python sluttified.
<jle`> the scoping, the prototyping, the way reflection works, the oop system completely
<jle`> i guess they are both dynamically typed and interpreted
<jle`> but i don't really see any deeper similarities between ruby and python
clamstar has quit [Quit: Computer has gone to sleep.]
* Hanmac sings "everything you can do in python, you can do in ruby better" ;P
<Eiam> jcolechanged: eloquent ruby
<LadyRainicorn> Python is quite OOP really
<Eiam> Hanmac: "everything you can do in Python, you can do more simply in Ruby" =)
<jle`> it's OOP, but oop structured very differently than ruby's oop
<waxjar> have a look at a functional language jle`
<LadyRainicorn> Python has nicer functions
<LadyRainicorn> And it's pretty similar really
<Eiam> LadyRainicorn: I dunno.. __self is pretty obtuse
<Hanmac> ruby has nicer blocks (Enumerators)
<Eiam> and classes in Python aren't that hot to setup..
sharms has joined #ruby
<jle`> the way scoping works within instance methods, etc.
<Eiam> ruby feels a lot more clean there
<LadyRainicorn> Yes, Ruby is nicer in general I think.
bluOxigen has quit [Ping timeout: 248 seconds]
<LadyRainicorn> Python has some awkward stuff, like self.
<Eiam> ofc we are bias, this is #ruby and we are here
<Eiam> ergo we like ruby =)
<jle`> i just feel like they are different languages from the ground up, just with similar syntax. no statement here about which is cleaner/better
weems has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
<yfeldblum> Eiam: that doesn't cover those who are in both #ruby and #python
burlyscudd has joined #ruby
DouweM has joined #ruby
<Eiam> jcolechanged: and I'm pretty happy with Confident Ruby, but its less about "Ruby" as a language
<LadyRainicorn> They'ee really very very similar
johnmlocklear_ has quit [Quit: Leaving]
zphds has quit [Quit: zphds]
<Eiam> yfeldblum: sure, I used to be in #python and #twisted, till I started using Ruby ;)
<LadyRainicorn> Imo, Ruby's main advantage is the conmubity
utkarsh has quit [Changing host]
utkarsh has joined #ruby
<jcolechanged> Eiam: thanks
<terrellt> Eiam: How was the book? Talk was pretty great.
<jle`> maybe i'm speaking more from a language design/semantics perspective and less on a practical learn-how-to-use perspective
<Eiam> I had no problems with either
vlad_starkov has quit [Read error: Connection reset by peer]
<LadyRainicorn> Do you know languages from many paradaigms jle`?
<Eiam> terrellt: I like it, but I also wish it was structured a bit differently. I mean its intentionally setup that way, but when reading through it I have a lot of questions about "well what about this" or trying to figure out how to apply it to my specific use cases
<Eiam> terrellt: I'm going to compile them all into an email and just ask avdi as I'm sure he will answer =)
<LadyRainicorn> Python and Ruby are like English and Fresian tbh
<Eiam> terrellt: the talk is what made me buy the book
<LadyRainicorn> Pretty much directly translatable with a few different words
<Eiam> I recommend Python to new programmers
<Eiam> Ruby to everyone else =)
<terrellt> ...Why?
rootshift has joined #ruby
jkhwan has joined #ruby
bradhe has joined #ruby
iamjarvo has joined #ruby
RoryHughes has joined #ruby
<Eiam> terrellt: Ruby has a lot of unspoken, implicitly magic
<Eiam> and Python is all about explicit
<Eiam> when you are new to programming, I think explicit is important.
<Eiam> it helps (me) understand how things fit together.
preller has joined #ruby
<terrellt> C for all new developers, I demand they understand how nice default pointers are.
<LadyRainicorn> Yes, I wouldn't recommend Ruby to learn coding.
laphlaw has quit [Quit: Computer has gone to sleep.]
<Eiam> Ruby is all about "I know how the system works, so I'm okay with magic removing the less important details from me because its just cumbersome to write"
<LadyRainicorn> haha is that a joke terrelltm
<LadyRainicorn> ?
<Eiam> terrellt: I guess that depends on what kind of dev you want to be.
<terrellt> 80% joke.
<jle`> idk, their scoping differences might bite you. also you have a lot of different idioms as well that make things difficult to translate, such as python's class decorators
<terrellt> Respect for how easy you have it is important.
<DouweM> Eiam: what kinds of magic are you referring to?
<Eiam> terrellt: If you want to be a professional world class developer that doesn't do web apps, foundational C for sure
<LadyRainicorn> Decorators are used *a lot* in rails.
<LadyRainicorn> It is basically a bit nicer alias.
<Eiam> terrellt: if you want to knock out some scripts and do some web stuff, I don't think C is important to get the ball rolling.
Guest6559 has quit [Read error: Operation timed out]
<Eiam> (my first language was C++ so..)
petey has quit [Remote host closed the connection]
Megtastique has quit []
egypt has joined #ruby
<LadyRainicorn> C is basically useful if you do OS development, want to write extensions, or want to coee on an existing C prokect.
lewix_ has joined #ruby
<Eiam> I disagree there but *shrug* thats okay =)
petey has joined #ruby
<LadyRainicorn> Not much else is really in its use case anyniee.
<jle`> hmmmmmm C is nice on embedded systems
<jle`> and microcontrollers
<LadyRainicorn> That is true.
<DouweM> yeah, embedded systems is where's its at
bobdobbs` has joined #ruby
<LadyRainicorn> But I think it will get supplanted there soon as well
<jle`> hopefully by fortran!
<waxjar> but soon you'll do that in ruby, too :p
* jle` crosses fingers
<LadyRainicorn> haha no
<LadyRainicorn> Ruby can never go embedded
lewix_ has quit [Remote host closed the connection]
psyprus has quit [Ping timeout: 240 seconds]
<DouweM> LadyRainicorn: what do you think Matz is working on right now?
<Eiam> DouweM: little things, like how the syntax can always change, spaces vs parans, commas semicolons, lots of "if you want" structures in Ruby. Python is "this is how you do it" and I think for new people, thats good.
<LadyRainicorn> (R)Python might, but Julia will still beat it.
<DouweM> LadyRainicorn: whatwhat: https://github.com/mruby/mruby
jkhwan has quit [Ping timeout: 272 seconds]
<jle`> why don't we just use Java for everything >.>
<DouweM> Eiam: all right, I was just curious what you meant. agreed!
banghouse has quit [Quit: What if the hokey pokey really is what it's all about?]
<jle`> :P
raphaelivan has joined #ruby
preller has quit [Ping timeout: 250 seconds]
psyprus has joined #ruby
<egypt> is there an easy way to get a list of gems that have a particular dependency?
<Eiam> DouweM: its even worse if your first experience with ruby is Rails, because Rails is ruby magic compounded 10x ovr
<DouweM> Eiam: ha, yeah for sure
<toroidalcode> jle`: there are microcontrollers that run java.... (AVR32)
<DouweM> Eiam: although that's exactly how I was first exposed to Ruby
<egypt> the rubygems api page doesn't seem to have it (http://guides.rubygems.org/rubygems-org-api/)
<jle`> well...to be fair Rails is probably as magical as Apache/PHP
<Eiam> DouweM: sure, me too. dropped into an existing Rails app =) (I was using django & python & twisted before)
<Eiam> DouweM: it was a ... frustrating experience =) and Ruby was my.. 5th? language
<DouweM> Eiam: I came from iOS/Mac development. Had done a lot of PHP web dev before though
<egypt> what i want is a list of all remote gems that have a given gem as a runtime dep.
<DouweM> Eiam: Ruby was like a breath of fresh air
* LadyRainicorn is unimpressed by mruby 's benchmarks.
nanoyak has quit [Quit: Computer has gone to sleep.]
petey has quit [Ping timeout: 245 seconds]
<platzhirsch> Ruby smells like freedom
bobdobbs has quit [Ping timeout: 240 seconds]
<LadyRainicorn> egypt try downloading the rubygens db and parsing yourself.
<platzhirsch> it's just so open
petey has joined #ruby
<LadyRainicorn> Ruby is easy.
<alpha123> platzhirsch: If you like how free Ruby is, check out Io.
<platzhirsch> like a wound... receptive for poison
<Hanmac> LadyRainicorn: i use C for evil macros to bind C++ to ruby ;P
<platzhirsch> and with poison I mean for instance Hanmac's comment
<platzhirsch> :P
preller has joined #ruby
RaCx has quit [Ping timeout: 250 seconds]
RaCx_ has joined #ruby
dr_bob has joined #ruby
<egypt> LadyRainicorn: i don't see anything on the site about where i can get a copy of the whole db. any ideas where i might find that?
Delobox has joined #ruby
<platzhirsch> alpha123: sorry, I think the syntax looks gross
tommylom1ykins is now known as otmmylommykins
otmmylommykins is now known as tommylommykins
<alpha123> platzhirsch: That's just because there isn't much syntax.
<alpha123> (Most of the syntax can be overridden anyway---it's just a chain of messages.)
g0bl1n has quit [Ping timeout: 248 seconds]
kindjal has quit [Quit: Computer has gone to sleep.]
<Hanmac> platzhirsch https://github.com/Hanmac/rwx/blob/master/ext/wxStaticBitmapBase.cpp#L21 try to resolve this C macro ;P ( LadyRainicorn you can try to solv it too ;P )
<Delobox> In ruby, are static methods simply method calls that are not prefixed with self.?
niop has quit [Remote host closed the connection]
<egypt> hmm, i guess 'gem list --remote' might work in conjuction with the dependency api
<platzhirsch> Hanmac: I am sure you are doing great ^^
<slash_nick> Delobox: no, the self. methods are class methods, the ones without are instance methods
<alpha123> platzhirsch: The really cool part of Io is that you can traverse *and rewrite* the entire message tree at runtime.
<alpha123> It's like Lisp except cooler and actually readable.
<alpha123> And more runtime-y
<Delobox> "class SourceDocument < ActiveRecord::Base\ndef self.migrate\nall.each" How does one interpret all.?
sarlalian has quit [Quit: WeeChat 0.4.0]
<toroidalcode> alpha123: io looks very smalltalk. but without the huge developer environment overhead
kindjal has joined #ruby
<slash_nick> Delobox: there's an implicit self.all ... it's SourceDocument.all.each
jkhwan has joined #ruby
<alpha123> toroidalcode: Yes, it's very much like SmallTalk, except with prototype-based OO and even more dynamic possibilities.
bogeyd6 has quit [Quit: Leaving]
<LadyRainicorn> egypt: gem mirror
<alpha123> _why wrote some stuff about Io a while back
<Hanmac> platzhirsch: come on try to resolv that macro and try to understand what it does ;P
Delobox has quit [Remote host closed the connection]
mikepack_ has joined #ruby
blackmes1 is now known as blackmesa
Delobox has joined #ruby
<platzhirsch> I cannot get myself very fascinated for that kind of niche languages
sarlalian has joined #ruby
Megtastique has joined #ruby
<platzhirsch> Hanmac: No, I'd rather write my own C extensions... ^^
<platzhirsch> though no idea yet for what project..
TomRone has quit [Ping timeout: 240 seconds]
mikepack has quit [Read error: Connection reset by peer]
laphlaw has joined #ruby
<LadyRainicorn> Delobox: No, see the staticmethod method.
<Hanmac> platzhirsch: this macro generate (static) get/set methods, inclusive type converting of input and output objects, and also (recently added) frozen check ... just image how many lines you would need in your own extension
hogeo has joined #ruby
<LadyRainicorn> self.x are usually instance methods, but they can be other things too
jkhwan has quit [Ping timeout: 272 seconds]
<platzhirsch> Well,... isn't there a template language to do that :P
TomRone has joined #ruby
iliketur_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
w4pm has quit [Ping timeout: 272 seconds]
cpruitt has quit [Quit: cpruitt]
kiesse_ has quit [Ping timeout: 248 seconds]
<LadyRainicorn> Where is that defined?
timonv has quit [Remote host closed the connection]
<LadyRainicorn> I don't feel like cloning the repi and Github is being unhelpful
<LadyRainicorn> ugh fuck my nose feels like vomit
<LadyRainicorn> ;-;
<DouweM> LadyRainicorn: it's on the last page of the github search results for that macro :P
<LadyRainicorn> There were like a dozen
jamesaanderson has joined #ruby
<LadyRainicorn> link plx
michaeldeol has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 246 seconds]
<LadyRainicorn> Why can't Github do an actual grep?
<LadyRainicorn> It is a lot more helpful than their seatch
Jetchisel has joined #ruby
vlad_starkov has joined #ruby
timonv has joined #ruby
momomomomo has joined #ruby
<jxport> Is there some sort of bitmap in stdlib?
<momomomomo> that's TK though
clamstar has joined #ruby
okinomo has joined #ruby
<jxport> I want to set something which may be: COVERED and FLAGGED/NOTFLAGGED or UNCOVERED and GREEN/RED
postmodern has joined #ruby
<jxport> It would be invalid to be COVERED and GREEN/RED
<jxport> Or UNCOVERED and FLAGGED/NOTFLAGGED
yfeldblum has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Ping timeout: 248 seconds]
drumusician has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
kitak has joined #ruby
<platzhirsch> ._.
maycon has joined #ruby
maycon has quit [Changing host]
maycon has joined #ruby
<momomomomo> jxport: neato
<momomomomo> jxport: Do you have an actual question, or just statements?
burlyscudd has joined #ruby
timonv has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
<jxport> My question is - what data structure/construct/class would support such state
guiocava_ has quit [Remote host closed the connection]
klaut has joined #ruby
yfeldblu_ has joined #ruby
okinomo has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
barratt has joined #ruby
RoryHughes has quit []
threesome has joined #ruby
tvw has joined #ruby
kindjal_ has joined #ruby
dr_bob has quit [Quit: Leaving.]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kindjal has quit [Ping timeout: 248 seconds]
kindjal_ is now known as kindjal
bean__ has joined #ruby
Txandy has quit [Quit: Leaving...]
Brolen has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
agjacome has joined #ruby
funburn has joined #ruby
koalalla1a is now known as koalallama
cpruitt has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
obs has joined #ruby
laphlaw has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
lewix_ has joined #ruby
maycon has quit [Ping timeout: 252 seconds]
petey has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
petey has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
rootshift has quit [Quit: rootshift]
yfeldblu_ has quit [Read error: Connection reset by peer]
Nahra has joined #ruby
phipes has joined #ruby
yfeldblum has joined #ruby
nanoyak has joined #ruby
petey has quit [Read error: Connection reset by peer]
lfox has joined #ruby
TomRone has joined #ruby
werdnativ has joined #ruby
petey has joined #ruby
ninegrid_ has quit [Quit: brb]
maycon has joined #ruby
jibi has joined #ruby
m0use_ has quit [Remote host closed the connection]
Guest34718 has joined #ruby
maycon has left #ruby [#ruby]
vpretzel has joined #ruby
asobrasil has left #ruby [#ruby]
dangerousdave has joined #ruby
rootshift has joined #ruby
mengu has quit [Remote host closed the connection]
erasmus has joined #ruby
RoryHughes has joined #ruby
joshcookfair has left #ruby [#ruby]
RoryHughes has quit [Client Quit]
yalue has quit [Read error: Connection reset by peer]
nwertman has quit [Ping timeout: 260 seconds]
momomomomo has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
popl has quit [Ping timeout: 245 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matheuscaceres has joined #ruby
bean__ has joined #ruby
mikepack_ has quit [Read error: No route to host]
mikepack has joined #ruby
loving_ruby has joined #ruby
<loving_ruby> hi guys
<erasmus> hi
jkhwan has joined #ruby
<loving_ruby> I'm new to ruby, finally managed to get on this irc
<erasmus> we are so glad you came.
<loving_ruby> I come from a Java background and am loving the language so far
<erasmus> wonderful.
<loving_ruby> thank you
<erasmus> I'm so exicted.
lkba has quit [Ping timeout: 245 seconds]
nwertman has joined #ruby
rootshift has quit [Quit: rootshift]
barratt has quit [Ping timeout: 250 seconds]
<LadyRainicorn> \o/
<platzhirsch> Speak friend and enter :)
jfelchner has joined #ruby
<LadyRainicorn> \r\n
<loving_ruby> I've been going through tutorials and am picking up a lot, what kind of projects would you recommend for someone wanting to progress with the language.
matheuscaceres has quit [Client Quit]
<loving_ruby> Yeh i've read that, thanks anyway
<erasmus> buy a Pi
* LadyRainicorn wants to buy pi!
preller has quit [Ping timeout: 260 seconds]
TomRone has quit [Ping timeout: 240 seconds]
<LadyRainicorn> Can I buy tau for the same price?
Txandy has joined #ruby
<erasmus> or a beagle box
securitycrush has quit [Quit: Leaving]
mikepack has quit [Remote host closed the connection]
typicalbender has quit [Quit: Leaving.]
barratt has joined #ruby
TomRone has joined #ruby
simoz has joined #ruby
deception has quit [Quit: Goodbye]
<loving_ruby> What kind of projects is Ruby mostly used for as Java tends to be used for Gui's.
<Delobox> scientific computing and webapps?
<loving_ruby> interesting
<Delobox> that's a theory, i'm pretty new to it myself
<Delobox> but in my limited (1 month) experience, that is where i have seen it
<loving_ruby> ok
<waxjar> python's the popular scientific computing language
<LadyRainicorn> Ruby is mostly web apps in practice, but it's good for anything where performance isn't critical
<LadyRainicorn> It's quire easy to code pretty much anything
<LadyRainicorn> (Well, you would probably prefer Haskell for its use cases, but if you need to know those you would.)
<loving_ruby> For web apps I suppose people tend to learn Rails
typicalbender has joined #ruby
23LAAPK3A has quit [Ping timeout: 272 seconds]
p0wn3d has quit [Quit: ChatZilla 0.9.90.1 [Firefox 17.0.11/20131119163834]]
colonolGron has joined #ruby
nowthatsamatt has joined #ruby
<platzhirsch> Since GUIs are today all in HTML it does not matter much :P
jkhwan has quit [Remote host closed the connection]
<loving_ruby> oh ok
carraroj has joined #ruby
phipes has quit []
jkhwan has joined #ruby
robbyoconnor has joined #ruby
pwestlund_ has joined #ruby
<loving_ruby> What was the first real project you guys did in Ruby?
madmike has quit [Quit: Saliendo]
<platzhirsch> Real project?
culturel_ has joined #ruby
g0bl1n has joined #ruby
carraroj has quit [Client Quit]
mikepack has joined #ruby
phansch has quit [Quit: Leaving]
mikepack has quit [Read error: No route to host]
<loving_ruby> a project which took time and effort after you had learnt basic syntax in Ruby
phipes has joined #ruby
pwestlund has quit [Ping timeout: 272 seconds]
pwestlund_ is now known as pwestlund
mikepack has joined #ruby
w4pm has joined #ruby
<jle`> gee i really don't remember
<jle`> must have been a sinatra app
benlieb has joined #ruby
<jle`> oh, i remember. i learned ruby while joining a project
preller has joined #ruby
<jle`> and it was a modular regression testing framework
<jle`> so i scripted tests
TomRone has quit [Ping timeout: 240 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<loving_ruby> cool
claymore_ has quit [Quit: Leaving]
TomRone has joined #ruby
benlieb has quit [Client Quit]
<platzhirsch> But also keep in mind that Ruby is a dying language
punkzio has quit [Quit: Leaving]
lewix_ has quit [Remote host closed the connection]
brtdv has quit []
acrussell has quit [Quit: Leaving.]
<loving_ruby> why is that/
gregoriokusowski has joined #ruby
lewix_ has joined #ruby
g0bl1n has quit [Ping timeout: 246 seconds]
<LadyRainicorn> No it's not
<loving_ruby> Is this due to competition from Python?
<LadyRainicorn> Ruby is going well.
<LadyRainicorn> We just got past the Rails bubble.
<platzhirsch> Just google it
<LadyRainicorn> That doesn't mean death.
<terrellt> It should be noted platzhirsch is trolling.
<platzhirsch> What I really meant is dyeing
geekbri has quit []
<platzhirsch> because it's so pretty
funburn has quit [Quit: funburn]
momomomomo has joined #ruby
<LadyRainicorn> That is a meme, yes.
<jle`> he means dying as in coloring
hogeo has joined #ruby
petey has quit [Remote host closed the connection]
<LadyRainicorn> Google "Ruby is not dying" for a better perspective than the positive version.
<terrellt> platzhirsch: Yes, I've read them.
<platzhirsch> Well all know that certain languages will only last for some years, right? Like C... \o/
psyprus has quit [Changing host]
psyprus has joined #ruby
jibi has quit [Quit: .]
lewix_ has quit [Ping timeout: 252 seconds]
mudmaste_ has quit [Quit: Leaving...]
preller has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
lagweezle has joined #ruby
lagweezle is now known as Guest68990
<wmoxam> meh, if Ruby dies it'll be because something else has captured Rubyists hearts and minds
<wmoxam> which isn't a bad thing
<platzhirsch> "since we're Rails developers, we want to build things, not maintain them" that's for sure a nice quote ^^
w4pm has quit [Ping timeout: 240 seconds]
<wmoxam> platzhirsch: who said that?
drumusician has joined #ruby
<platzhirsch> wmoxam: someone in the reddit thread
<wmoxam> heh
w4pm has joined #ruby
<wmoxam> proggit is a ghetto
Guest68990 has quit [Read error: Connection reset by peer]
<Hanmac> platzhirsch: thats the reason why some rails libs has secrutiy holes each week ,P
hogeo has quit [Ping timeout: 264 seconds]
petey has joined #ruby
<platzhirsch> I hope I never start with reddit, especially IT related stuff is the last I would look out there
danshultz has quit [Remote host closed the connection]
<wmoxam> Hanmac: is that really why?
iamjarvo has quit [Ping timeout: 250 seconds]
petey has quit [Remote host closed the connection]
brtdv has joined #ruby
<wmoxam> or is it because the lib authors are unaware of certain security concerns?
<wmoxam> :p
danshultz has joined #ruby
vlad_starkov has joined #ruby
lagweezl1 has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
<terrellt> Or it's possible most public open source libraries have some security hole which goes unseen because of lack of popularity.
lagweezl1 is now known as lagweezle
<Hanmac> wmoxam: "There were 10 Ruby vulnerability reports in the last 14 days. 1 high, 9 medium. Most recent: CVE-2013-6421. See details." http://web.nvd.nist.gov/view/vuln/search-results?query=Ruby&search_type=all&cves=on
<wmoxam> yup
<platzhirsch> Someone said that Ruby libraries get better and better and that's true... in Python I see more and more ports of certain libraries from Ruby to Python ^^
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
<wmoxam> Hanmac: yes, and?
<platzhirsch> It's like the Days without Injury Sign
<LadyRainicorn> Python's stdlib is necrotic due to their focus on stability.
sharms has joined #ruby
Virtualize|away has quit [Quit: Leaving...]
<LadyRainicorn> And they fractured their community on the same issuem
robbyoconnor has quit [Max SendQ exceeded]
<platzhirsch> I always feel like Caveman
<LadyRainicorn> It's by far the biggest drawback of using that language.
brtdv has quit [Ping timeout: 248 seconds]
<momomomomo> Hanmac: That vuln list includes things like Sup, an email client
<momomomomo> actually, two from Sup
robbyoconnor has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
<platzhirsch> LadyRainicorn: so you know when Python 2 will be deprecated?
danshultz has quit [Ping timeout: 250 seconds]
Aserpent10 has joined #ruby
<LadyRainicorn> It's already sort of been
benlieb has joined #ruby
<LadyRainicorn> But it's going to be the primary one irl for years.
emocakes has joined #ruby
mikepack has quit [Remote host closed the connection]
petey has joined #ruby
<LadyRainicorn> And they still have the issues internally in Python 3
<platzhirsch> It's not done until Debian or Ubuntu link it as default version through the python binary
<LadyRainicorn> Not quite as bad, but the stdlib just needs to get tossed.
jkamenik has quit [Quit: Leaving.]
<LadyRainicorn> Err, no, they don't decide when Python versions get deprecated.
<LadyRainicorn> But still, de facto usage.
<LadyRainicorn> so ;-;
burlyscudd has joined #ruby
prc has joined #ruby
simoz2 has joined #ruby
<platzhirsch> I feel sorry for them
jtgiri_ has joined #ruby
bean__ has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
simoz3 has joined #ruby
Spleeze has quit [Ping timeout: 240 seconds]
kaldrenon has quit [Remote host closed the connection]
TomRone has joined #ruby
<Delobox> I am having the hardest time understanding the use of the << operator here http://pastebin.com/8A9HSMzF , i beg you, what the hell is going on
havenwood has joined #ruby
simoz has quit [Ping timeout: 245 seconds]
Spleeze has joined #ruby
kaldrenon has joined #ruby
<LadyRainicorn> Delobox: It is the same array.
<LadyRainicorn> You want Hash.new{[]}
Txandy has quit [Quit: Leaving...]
MvDevNull has joined #ruby
<Delobox> LadyRainicorn: i think this example is there to teach me about this case
<Delobox> i'm working through a book of ruby examples
preller has quit [Ping timeout: 246 seconds]
Guest80658 is now known as ixx
<Delobox> Hash.new(__) specifies a default parameter correct?
<DouweM> Delobox: << pushes onto an array
shadoi has quit [Quit: Leaving.]
<LadyRainicorn> So basically [] is instantiated and then set as the default.
mlpinit_ has quit [Remote host closed the connection]
<Delobox> a default value
<Delobox> ah, so because hash[:one] and hash[:two] have never been explicitly set, they are the default value
<Delobox> of []
<LadyRainicorn> So h[x].id == h[y].id
<Delobox> but most importantly, they are the SAME array
<LadyRainicorn> Get it?
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM> Delobox: yes1
<DouweM> !
simoz2 has quit [Ping timeout: 252 seconds]
<Delobox> wow, that's deep
<loving_ruby> How different is Ruby to RubyOnRails?
<DouweM> Delobox: you're not setting the default to "an empty array", you're setting it to "this specific empty array", which won't be empty for long
<LadyRainicorn> Rails is a web framework wtitten eith Ruby
<DouweM> loving_ruby: the one is a language, the other's a framework
<MvDevNull> hello, i'm trying to launch snorby on my apache vhost, but i've got this passanger error http://pastebin.com/EzPrW77U any tips
breakingthings has quit []
<Delobox> Thanks LadyRainicorn and DouweM for helping me understand this subtle point
klaut has quit [Remote host closed the connection]
<DouweM> Delobox: I think this is one of those examples that every Ruby dev has been bitten in the ass by at some point. I know I have.
TomRone has quit [Ping timeout: 240 seconds]
atno has quit [Ping timeout: 272 seconds]
kaldrenon has quit [Ping timeout: 245 seconds]
* jle` raises hand
<waxjar> yup :D
AMcP has joined #ruby
<Delobox> I'm working through this, http://rubykoans.com/
<DouweM> Delobox: the koans are great
<Delobox> this example is one of the things you must work past
obs has quit [Remote host closed the connection]
TheLastGargoyle has joined #ruby
Monie has joined #ruby
<TheLastGargoyle> Hey all. Is it possible to get rspec to list all the tests that are being run, along with the pass/fail status?
<Hanmac> loving_ruby: comparing ruby with rails is like comparing a brick with a house
Monie has quit [Max SendQ exceeded]
<DouweM> TheLastGargoyle: add -f d
TomRone has joined #ruby
Monie has joined #ruby
RoryHughes has joined #ruby
psyl0n has joined #ruby
<Hanmac> Delobox: also maybe important for you, Hash that uses Hash.new{} (thema: default_proc) cant be serialized with Marshal anymore if you need that
renklaf has quit [Read error: Operation timed out]
<platzhirsch> Rails is often seen as a domain-specific language
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
nobitanobi has joined #ruby
<Delobox> DouweM: okay, fresh off the high of understanding the previous koan, the next one broke my spirit
<loving_ruby> interesting
<Delobox> the { } is called a block correct?
<DouweM> Delobox: yes
<DouweM> Delobox: and |hash, key| are its parameters
brisbin_ is now known as brisbin
mudmaster has joined #ruby
<Delobox> i've seen blocks used with .map, but not as default values for a hash
<DouweM> Delobox: so the way Hash.new uses its block, is calling it for every accessed key that hasn't been accessed before
culturel_ has joined #ruby
nettoweb has quit [Quit: nettoweb]
psyl0n_ has joined #ruby
<DouweM> Delobox: passing the hash itself, and the key. the block can then decide what to do (set the key on the hash to [], in this case) and what to return to the code that called for the hash access
kirun has quit [Quit: Client exiting]
gregoriokusowski has quit [Quit: gregoriokusowski]
psyl0n has quit [Ping timeout: 246 seconds]
mudmaste_ has joined #ruby
<Delobox> so it both manipulates a parameter, and returns a value
juarlex has joined #ruby
<DouweM> Delobox: because the block is called anew for every previously unseen key, the [] will be a new array
<DouweM> Delobox: correct
<DouweM> Delobox: `hash[key] = []` evaluates to that same `[]`, and in Ruby, methods (and blocks) return the last expression in them, so in this case that same `[]`
<Delobox> in this koan, a unique array is created for each access
lewix_ has joined #ruby
<DouweM> Delobox: "unique" isn't the right word, but you seem to understand it
<MvDevNull> is it normal to have - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0)
<MvDevNull> - INSTALLATION DIRECTORY: /var/lib/gems/1.9.1? both aren't in the same number of version
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
rootshift has joined #ruby
<MvDevNull> sorry for my dumm question, i'm a ruby n00b
<xibalba> MvDevNull, dont say sorry. Just dont ask the same thing twice.
<Delobox> hash[:one] will equal hash[:two] but if i change hash[:one], hash[:two] will remain the same
digifiv5e has joined #ruby
<Hanmac> MvDevNull: compare API vs ABI version
Al__ has joined #ruby
Aserpent10 has quit [Remote host closed the connection]
digifiv5e is now known as Guest24995
mudmaster has quit [Ping timeout: 260 seconds]
<MvDevNull> lol my second question is different, xibalba, just trying to debug alone.. but it's hard.. ;)
<Delobox> Are blocks like lamdas?
<Delobox> lambda?
<DouweM> Delobox: equal as in == ? that checks the array contents, not their identity
<DouweM> Delobox: basicallt
<DouweM> *y
<Delobox> i think this is starting to gel, much thanks
mdpatrick has joined #ruby
burlyscudd1 has joined #ruby
burlyscudd1 has quit [Client Quit]
loving_ruby has quit [Ping timeout: 245 seconds]
jcolechanged has left #ruby [#ruby]
RoryHughes has quit []
<LadyRainicorn> Blocks are like functions.
m8 has quit [Quit: Sto andando via]
<LadyRainicorn> lambdas are much more limited.
<bnagy> not much like them
lewix_ has quit [Ping timeout: 250 seconds]
<bnagy> also, methods is probably clearer than functions, but it's really pedantic
<DouweM> bnagy: not much like them? how so?
burlyscudd has quit [Ping timeout: 250 seconds]
Mon_Ouie has quit [Read error: Operation timed out]
<bnagy> most notably blocks are closures, so you get the binding
<LadyRainicorn> I think he's referencing Python.
erasmus has quit [Quit: Ciao a tutti!]
<LadyRainicorn> So lambdas would be limited to a single statement.
<bnagy> I have 0 idea about python
baordog_ has joined #ruby
<DouweM> LadyRainicorn: not in most languages I know
<bnagy> but ruby blocks and lambdas are almost the same
<DouweM> which is why I said "basically" :)
<bnagy> much closer than blocks and methods, anyway
<DouweM> but yeah, it's good to know the differences
Megtastique has quit []
bradhe has quit [Remote host closed the connection]
<bnagy> DouweM: and 'not much like them' is re blocks are like functions, if that wasn't clear
<DouweM> bnagy: ah, right. I didn't get that
vlad_starkov has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
AMcP has quit [Remote host closed the connection]
g0bl1n has joined #ruby
RoryHughes has joined #ruby
polaco is now known as polaco_zZz
robbyoconnor has quit [Ping timeout: 245 seconds]
rootshift has quit [Quit: rootshift]
typicalbender has quit [Quit: Leaving.]
MvDevNull has quit []
jtgiri_ has quit [Quit: jtgiri_]
MvDevNull has joined #ruby
saarinen has joined #ruby
anomaly_ has quit [Ping timeout: 252 seconds]
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
RoryHughes has quit [Client Quit]
<Delobox> these koans are really a much better way to learn ruby
<xibalba> koans?
jtgiri_ has joined #ruby
<DouweM> koans <3
<Delobox> they are forcing me through the minefield
<xibalba> show me koans
<deryl> rubykoans.com
<Delobox> xibalba: it sounds vaguely like a dirty comment
<xibalba> ty
<Delobox> xibalba: like something from coneheads
<xibalba> no dirty, you're dirty
<deryl> np
<Delobox> Dan Akroyd is reallly a genius
wallerdev has quit [Quit: wallerdev]
<platzhirsch> Is freenode also lagging so much for you?
shedd has quit [Remote host closed the connection]
<xibalba> no lag here
<xibalba> using an EU box too it seems, tohugh in i'm california
<DouweM> platzhirsch: yeah
Guest24995 has quit [Changing host]
Guest24995 has joined #ruby
<DouweM> platzhirsch: or rather, it was. seems to be fine now.
petey has quit [Remote host closed the connection]
petey has joined #ruby
bricker has quit [Ping timeout: 260 seconds]
Guest24995 is now known as guyz
<platzhirsch> I get 5-10 messages at once, all have the same timestamp
<DouweM> platzhirsch: not seeing anything like that
nwertman has quit [Remote host closed the connection]
<DouweM> platzhirsch: tried reconnecting?
<platzhirsch> DouweM: I should do that
preller has quit [Ping timeout: 246 seconds]
d2dchat has quit [Remote host closed the connection]
<platzhirsch> brb
<platzhirsch> \quit
platzhirsch has quit [Quit: Leaving.]
peregrine81 has quit []
charliesome has joined #ruby
Monie has joined #ruby
robbyoconnor has joined #ruby
platzhirsch has joined #ruby
<platzhirsch> alright
aapzak_ has joined #ruby
jibi has joined #ruby
<DouweM> all right
<platzhirsch> looks good to me
Aserpent10 has joined #ruby
<platzhirsch> discuss something
<wmoxam> NO U
<DouweM> why is your username platzhirsch?
<Aserpent10> lol
<platzhirsch> DouweM: because a good friend of mine gave me a cup for Christmas '09 with that name
<platzhirsch> platzhirsch!
<platzhirsch> that's the one
aapzak has quit [Quit: leaving]
<Delobox> The koans sure are showing me the pitfalls of << and += with strings
<Delobox> i could see a million ways to mess up here
AMcP has joined #ruby
<platzhirsch> my Wacom Bamboo is screwing up again, random clicks while just hovering the pen... that's really fun...
morenoh149 has joined #ruby
<DouweM> Delobox: :)
<DouweM> Delobox: do you have any prior experience with
<DouweM> ...Ruby?
timonv has joined #ruby
afhammad has quit [Remote host closed the connection]
Monie has quit [Ping timeout: 250 seconds]
aapzak_ has quit [Client Quit]
aapzak has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Aserpent10> can anyone tell me some strategies they used to get better at ruby besides the obvious practice makes perfect. Did anyone dive into source code as a beginner?
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
<LadyRainicorn> rubykoans.com
<DouweM> Aserpent10: yes. I learned most of what I know about Ruby from reading through source
<morenoh149> is there anyway to do "one".somemethod(%w[one two three]) returns true?
<DouweM> Aserpent10: most of what I know about conventions as well
barratt has quit [Quit: Leaving...]
<DouweM> morenoh149: activesupport gives you #in?, but there's no method like that in Ruby stdlib
<DouweM> morenoh149: just use Array#include?
jlast_ has quit [Remote host closed the connection]
tannerburson has quit [Quit: tannerburson]
dankieless has joined #ruby
<dankieless> hello. would anyone in here happen to have some insight on datamapper?
juarlex has quit [Read error: Connection reset by peer]
<LadyRainicorn> morenoh149: You nay like refine.
juarlex has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
jchristi has quit [Ping timeout: 240 seconds]
<Aserpent10> @ DouweM Did you learn Rails the same way?
fedesilva has quit [Ping timeout: 260 seconds]
juarlex has quit [Remote host closed the connection]
<DouweM> Aserpent10: I used the great railstutorial.org
bradhe has joined #ruby
juarlex has joined #ruby
<DouweM> Aserpent10: that just teaches you the basics though, for everything else: practice makes perfect, and indeed reading through existing source code
lewix_ has joined #ruby
hogeo has joined #ruby
mudmaste_ has quit [Ping timeout: 246 seconds]
Al__ has quit [Quit: Al__]
culturel_ has joined #ruby
Nilium_ is now known as Nilium
Nilium is now known as Nilium_
Nilium_ is now known as Nilium
<Aserpent10> DOUWEM Just finished that tutorial not too long ago so I think diving into source is my best option. Thanks
afhammad has joined #ruby
AMcP has quit []
<DouweM> Aserpent10: good luck, and visit us in #RubyOnRails if you get stuck
volty has joined #ruby
emocakes has quit [Quit: Leaving...]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
juarlex has quit [Ping timeout: 246 seconds]
dankieless has left #ruby [#ruby]
<Aserpent10> will do
ninegrid has joined #ruby
lewix_ has quit [Ping timeout: 252 seconds]
shime has joined #ruby
shadoi has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
emocakes has joined #ruby
sailias has quit [Quit: Leaving.]
baordog_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
hogeo has quit [Ping timeout: 264 seconds]
threesome has quit [Ping timeout: 264 seconds]
mudmaster has joined #ruby
vlad_starkov has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby
anomaly_ has joined #ruby
Aserpent10 has quit [Read error: Connection reset by peer]
okinomo has joined #ruby
<Delobox> DouweM: I converted a script called bz2redmine for use in converting a test track (another bug tracking system) to redmine
<Delobox> DouweM: that is my prior experience. It was a bit difficult having no prior ruby experience
Stevo123 has quit [Quit: Stevo123]
<DouweM> Delobox: :)
spider-mario has quit [Read error: Connection reset by peer]
<Delobox> DouweM: i'm now going back and trying to understand the areas I had issues with
aapzak has quit [Quit: leaving]
aapzak has joined #ruby
aapzak has quit [Client Quit]
shime has quit [Ping timeout: 240 seconds]
sergicles has joined #ruby
Bira has joined #ruby
<Delobox> DouweM: also, i was asked to merge two redmine instances recently, so i'm working to understand a 4 year old script that purports to do that
shime has joined #ruby
aapzak has joined #ruby
<Delobox> DouweM: said 4 year old script of course has minor bugs now that redmine has changed
<DouweM> Delobox: hah, nice.
TheLastGargoyle has quit [Quit: Page closed]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
okinomo has quit [Ping timeout: 250 seconds]
Al__ has joined #ruby
peregrine81 has joined #ruby
DeadlyKitty has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
petey has quit [Remote host closed the connection]
RoryHughes has joined #ruby
petey has joined #ruby
ckrailo_ is now known as ckrailo
petey has quit [Remote host closed the connection]
Bira has quit [Remote host closed the connection]
RoryHughes has quit [Client Quit]
browndawg has joined #ruby
nanoyak has joined #ruby
danman has quit [Quit: danman]
samsonasu has joined #ruby
cbetta_afk is now known as cbetta
drumusician has quit [Ping timeout: 246 seconds]
barratt has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
browndawg has quit [Client Quit]
benlieb has quit [Quit: benlieb]
loving_ruby has joined #ruby
Speed has joined #ruby
robbyoconnor has quit [Ping timeout: 248 seconds]
coldmethod1 has joined #ruby
coldmethod has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
erasmus has joined #ruby
sergicles has quit [Quit: sergicles]
loving_ruby has left #ruby [#ruby]
robbyoconnor has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
jtgiri_ has quit [Quit: jtgiri_]
fedesilva has joined #ruby
morenoh149 has left #ruby [#ruby]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freakazoid0223 has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
kpshek has quit []
funburn has joined #ruby
robbyoconnor has quit [Excess Flood]
fedesilva has quit [Remote host closed the connection]
guilund has joined #ruby
<Delobox> The ! syntax is wierd
coda23 has joined #ruby
<Delobox> select!, and such
<guilund> hey guys, whats the best workaround to avoid divide by zero error?
<waxjar> not deviding by zero? :p
<Delobox> a check before the expression
<guilund> lol
robbyoconnor has joined #ruby
<LadyRainicorn> Divide by 2^-64
<Delobox> it depends on what its for
<guilund> i mean, theres a character, i dont know, something to escape errors?
<LadyRainicorn> rescue
jamesaanderson has joined #ruby
<guilund> yep, i know about rescue
<DouweM> Delobox: the ! is not syntax, it's just valid character to end a method name in
<guilund> but i'm on a view, tehres a massive table with a lot of calculations
<LadyRainicorn> 5/y rescue 7
<guilund> :P
jamesaanderson has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
<guilund> i guess i will have to check before, i was looking for some solution more elegant
mudmaster has quit [Ping timeout: 264 seconds]
<guilund> a solution with a monocle and a very distinct moustache
<Delobox> guilund: wouldnt a divide by zero throw an exception?
<LadyRainicorn> y.zero? ? 0 : x/y
<DouweM> Delobox: convention says it should be used as a counterpart to the !-less version when the version with ! modifies in place, or as a counterpart to the !-less version when the version with ! would raise an exception where the version without would simply return false, or, finally, even without a !-less counterpart, a method can end in ! when it has destructive behaviour
<Delobox> you could catch that
<LadyRainicorn> or don't divide by zero
<toroidalcode> I like the ternary solution
<guilund> LadyRainicorn: thats a good solution
<DouweM> Delobox: i.e. in general the ! indicates destructive behavior, at least relative to the version without it
kitak has quit [Remote host closed the connection]
<guilund> LadyRainicorn: let me try
viod has quit [Ping timeout: 245 seconds]
madb055 has quit [Read error: Connection reset by peer]
bbloom has joined #ruby
ddd has quit [Ping timeout: 260 seconds]
<guilund> my problem is this: @tabela_planejado.map {|k,v| v[m].nil? ? 0 : v[m][c] }.inject(0, :+))
<guilund> i finally learn how to map things :P
<guilund> but it gets very busy on the code
tvw has quit [Read error: Connection reset by peer]
<Delobox> i like that phrase, "it gets very busy on the code"
<guilund> man, im sorry
<Delobox> it sounds cool
<guilund> i dont speak english very well :O
<guilund> hahaha
<bnagy> you can just inject :+
<LadyRainicorn> You know 0.nil? is false right?
<Delobox> guilund: its okay, i mean to say that while it is an unusual phrase, it is pleasing to hear
<Delobox> I also have no mastery of commas
<bnagy> also how does that line ever divzero?
mudmaster has joined #ruby
cpruitt has quit [Quit: cpruitt]
Alina-malina has quit [Ping timeout: 246 seconds]
<LadyRainicorn> because + is aliased to / in Fixnum
<guilund> hey bnagy, because an empty item on database
Alina-malina has joined #ruby
<shevy> LadyRainicorn you are the wisest of all ponicorns
<DouweM> LadyRainicorn: lol
<LadyRainicorn> true that :3
vlad_starkov has quit [Read error: Connection reset by peer]
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
agjacome has quit [Ping timeout: 250 seconds]
<shevy> @tabela_planejado.muchos_gatos
<bnagy> guilund: you should look for lines more likely to be the actual problem, using the cunning static analysis technique of looking for '/'
<guilund> shevy: here we call it gambiarra
Brolen has quit [Quit: Brolen]
<shevy> sonds like guitar :>
<guilund> lol
<shevy> btw it gets to me that :+ reads like a smiley
freakazoid0223 has joined #ruby
<DeadlyKitty> Hello
<guilund> bnagy: i dont got it :(
<LadyRainicorn> Hi
rjhunter has joined #ruby
<LadyRainicorn> You are a kitty@
<bnagy> guilund: that line is not why you are dividing by zero, because it doesn't do any division
<shevy> kitties and ponicorns
<waxjar> rainicorns, deadly kitty's. what's going on?!
<LadyRainicorn> it is a funfest.
braincrash has quit [Ping timeout: 246 seconds]
jamesaanderson has joined #ruby
<shevy> waxjar I think it's a world revolution
<LadyRainicorn> we are funfesting
jamesaanderson has quit [Max SendQ exceeded]
aspires has quit []
<guilund> bnagy: yep, i was showing because i was looking for a elegant solution, and i paste the line because it gets THE ODE VERY BUSY
<guilund> :D
<LadyRainicorn> The ode is busy.
<LadyRainicorn> Busy ode.
jamesaanderson has joined #ruby
<guilund> lol
L8D has joined #ruby
<LadyRainicorn> DeadlyKitty: In what fashion are you deadly?
<DeadlyKitty> I dont know
<bnagy> guilund: yeah, ok, but you're not going to get an elegant solution when you didn't actually show us the problem
<guilund> hey guys, why you americans are so into unicorns?
<LadyRainicorn> Ah I see how that xould be lethal
<bnagy> having said that, avoid the ternary, and don't inject(0, :+) just inject :+
<LadyRainicorn> Why do you think we're American?
<guilund> bnagy: the ladyincorn gave me a solution, thanks
<guilund> bnagy: ok, i will strip the zero
<waxjar> because you like unicorns :p
<bnagy> 07:15 < LadyRainicorn> y.zero? ? 0 : x/y
<bnagy> that is not a good solution
<LadyRainicorn> In seeiousness, that sokution makes no swnsw with context
<guilund> bnagy: what do you suggest?
<bnagy> representing divzero as 0 is really bad
jamesaanderson has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
<bnagy> if you're going to use a value, use infinity
<bnagy> which is still pretty bad
<guilund> oh, yep, i will write a "Err"
<guilund> instead of 0
bradhe has joined #ruby
crashx has joined #ruby
<guilund> actually this error will not even happen, its just for safety
bricker has joined #ruby
<LadyRainicorn> If it shouldn't occur, wouldn't it be better to except?
<bnagy> then fail or raise
<Delobox> DeadlyKitty.run!
<LadyRainicorn> kitty!
<bnagy> imho 'this should never happen' should always be at least an exception
<LadyRainicorn> relevant xkcd: http://xkcd.com/231/
mmealling has quit [Remote host closed the connection]
culturel_ has quit [Ping timeout: 252 seconds]
AMcP has joined #ruby
<guilund> bnagy: im sorry, im like self-taught programmer, im not used to some terms, whats an exception?
<bnagy> >> raise "All is lost"
<eval-in> bnagy => All is lost (RuntimeError) ... (https://eval.in/80075)
MetaCosm has joined #ruby
ssvo has quit [Ping timeout: 240 seconds]
<guilund> bnagy: thanks
Flashmasterson has joined #ruby
ghr has joined #ruby
ssvo has joined #ruby
osvico has joined #ruby
Flashmasterson has left #ruby [#ruby]
felipe has joined #ruby
<guilund> LadyRainicorn: oh, you are from finland, i saw a show here about your country, i like the fact that everybody is death metal fan
<guilund> lol
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
Guest37702 has quit [Changing host]
Guest37702 has joined #ruby
Guest37702 is now known as deepy
<guilund> LadyRainicorn: thanks for the solution http://imgur.com/OlCvxJb look how pretty it is Err%
<guilund> :D
<LadyRainicorn> Err, how do you get Finland,
<LadyRainicorn> ?
<DouweM> LadyRainicorn: you're connected to the Helsinki Freenode server
<guilund> LadyRainicorn: /whois
<DouweM> And I'm connected to Washington DC, even though I'm in the Netherlands.
<DouweM> guilund: that doesn't mean anything ;)
<LadyRainicorn> ahhhh, I'm from Thailand
<guilund> DouweM: hahahaha
<LadyRainicorn> You have to check the IP.
<guilund> im a total newbie
<LadyRainicorn> I guess mine doesn't have a reverse DNS entry
<LadyRainicorn> Or they fsiled to check it.
DeadlyKitty has left #ruby [#ruby]
rubyracer has quit [Quit: Konversation terminated!]
Speed has quit [Ping timeout: 260 seconds]
tom39291_ has joined #ruby
nari has joined #ruby
Liothen has joined #ruby
jgrevich has joined #ruby
danman has joined #ruby
afhammad has quit []
it_tard has quit [Quit: yawn]
barratt has quit [Ping timeout: 260 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
danman has quit [Client Quit]
bricker has quit [Ping timeout: 245 seconds]
mudmaste_ has joined #ruby
hogeo has joined #ruby
mudmaster has quit [Read error: Connection reset by peer]
bricker has joined #ruby
sheap has joined #ruby
jerius has joined #ruby
mercwithamouth has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
cbetta is now known as cbetta_afk
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
hogeo has quit [Ping timeout: 246 seconds]
Speed has joined #ruby
jamesaanderson has joined #ruby
sethen has joined #ruby
vlad_starkov has joined #ruby
simoz3 has quit [Ping timeout: 250 seconds]
geggam has quit [Remote host closed the connection]
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
g0bl1n has quit [Ping timeout: 245 seconds]