apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
anonym00se is now known as dfoolz
ta_ has quit [Ping timeout: 252 seconds]
dc has quit [Read error: Connection reset by peer]
dc has joined #ruby
juanpablo_ has quit [Ping timeout: 264 seconds]
platzhirsch has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
shime_ has joined #ruby
roshanavand has joined #ruby
kalusn has quit [Remote host closed the connection]
jrvlima has quit [Ping timeout: 244 seconds]
kalusn has joined #ruby
deepu has quit [Ping timeout: 246 seconds]
stunder has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
_djbkd has quit [Remote host closed the connection]
zachrab_ has quit [Remote host closed the connection]
zachrab has joined #ruby
shime has quit [Ping timeout: 264 seconds]
revoohc has quit [Ping timeout: 245 seconds]
zachrab has quit [Remote host closed the connection]
AlexRussia has joined #ruby
zachrab has joined #ruby
_djbkd has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
kalusn has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: ciao.]
iwishiwerearobot has quit [Ping timeout: 265 seconds]
revoohc has joined #ruby
babykosh has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
zachrab has joined #ruby
sent1nel has quit [Remote host closed the connection]
sent1nel has joined #ruby
Pupeno has quit [Remote host closed the connection]
shadoi has joined #ruby
_djbkd has quit [Remote host closed the connection]
pika_pika has joined #ruby
Pupeno has joined #ruby
Aova has quit [Read error: Connection reset by peer]
revoohc has quit [Ping timeout: 256 seconds]
LudicrousMango has quit [Remote host closed the connection]
revoohc has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
Joufflu has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
DadoCe has quit [Remote host closed the connection]
zacstewart has quit [Remote host closed the connection]
multi_io has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
blackoperat has quit [Remote host closed the connection]
Aova has joined #ruby
<d10n-work> Is there a way to get top-level Sinatra DSL with a module-style application in a way shorter than this? http://pastebin.mozilla.org/8548689
zacstewart has joined #ruby
multi_io_ has quit [Ping timeout: 265 seconds]
AlexRussia has joined #ruby
<Diabolik> havenwood i have one final query if you're still around
bMalum has quit [Quit: bMalum]
<havenwood> Diabolik: just ask, and if i'm around i'll answer
<shadoi> d10n-work: you need it to be a module?
<havenwood> Diabolik: or someone else will
<shevy> I insist that havenwood shall
<shevy> if he is sleeping, someone has to run over and wake him up
<d10n-work> shadoi: yes
<Diabolik> im trying incredibly hard and im doing a challenge, but im convinced im doing an incredibly inefficient job
<shadoi> d10n-work: guess not then, it's pretty unusual to make it be a module
<havenwood> Diabolik: Have a Gist of the challenge and your code so far?
sent1nel has quit [Remote host closed the connection]
<Diabolik> interpolating each array number must be the wrong way
<Diabolik> im supposed to use map
ghr has quit [Ping timeout: 264 seconds]
<havenwood> BeLucid_: the extra " at the end of line 24
<zenspider> you're misunderstanding map
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider> you're using map as each and doing a map manually
<havenwood> and that ^
<d10n-work> shadoi: to clarify, I need to avoid using just require 'sinatra' - I need to use my own option parser. I think a module-style Sinatra application is the only way to do this.
<Diabolik> ok
momomomomo has joined #ruby
<Diabolik> how do i do the interpolation to record what im doing effectively?
pu22l3r has joined #ruby
<zenspider> a = []; ary.each do |x| a << x.meth; end; a IS ary.map { |x| x.meth }
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest5532 is now known as ixx
bMalum has joined #ruby
<zenspider> (which IS ary.map(&:meth); but that doesn't apply in your case
<Diabolik> what is meth?
<zenspider> also, use "+ 2" instead of ".next.next". don't be clever.
<zenspider> whatever method you want to call
Aswebb_ has quit [Remote host closed the connection]
<zenspider> ie, whatever calculation you want for the result of the map
<squar1sm> does anyone know of a quick ruby proxy debug thing for http? I'm about to write something in sinatra but I feel like I've seen this. I just want to redirect a JS client to a temp place and see the traffic.
DadoCe has joined #ruby
<squar1sm> I see it in chrome but want another view.
<leafybasil> squar1sm: you mean like requestb.in
<leafybasil> Or something more advanced
<Diabolik> zenspider i don't understand the a IS ary.map
momomomomo has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
<squar1sm> just the requests coming in, yeah
<leafybasil> Diabolik: a.map is a function that does the same work as a << x.meth
<squar1sm> it doesn't need to proxy out
<squar1sm> although that'd be cool
<squar1sm> I know there's fiddler ...
<leafybasil> squar1sm: then requestb.in should do the job
<squar1sm> oh i see.
<squar1sm> thx
<zenspider> Diabolik: I said it doesn't apply. so don't understand it for now
mikepack has joined #ruby
<zenspider> Diabolik: do you have irb up? or tryruby or something interactive?
<zenspider> >> (1..5).map { |n| n * 2 }
<eval-in__> zenspider => [2, 4, 6, 8, 10] (https://eval.in/278208)
<zenspider> try something like that. experiment. you'll get it
<Diabolik> where does the interporlation fit into this
<Diabolik> that's what's confusing me
oo_ has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Diabolik> my hint was: def add_two(map_this_array)
<Diabolik> # Call map on the map_this_array array.
<Diabolik> # The logic of what to do with each element goes inside a block.
<Diabolik> # HINT: Remember to interpolate
<Diabolik> end
mikepack has quit [Ping timeout: 245 seconds]
<wallerdev> maybe you'er supposed to display the result like
<wallerdev> "5 + 8 = 10"
<wallerdev> so you'd do "#{num1} + #{num2} = #{num1 + num2}"
<Diabolik> the example is Create an add_two method that takes an array of numbers and returns an array of strings. For example:
<Diabolik> add_two([1,3])
<Diabolik> #=> ["1 + 2 = 3", "3 + 2 = 5"]
<wallerdev> yeah
<Diabolik> .
* Diabolik facedesks
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
goodenough has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
<zenspider> Diabolik: we're NOT going to do it for you... we'll help you get in the right direction
<zenspider> so look at my notes about map. look at wallerdev's hint about interpolation. put them together. and you should be done
<epitron> yeah Diabolik!
roshanavand has quit [Read error: Connection reset by peer]
* epitron shakes his fist
omosoj has joined #ruby
<Diabolik> zenspider im not asking you to do it for me
* squar1sm hears a rattle of chains on a wrist
<Diabolik> i apologise if it came across like that
<eam> >> def add_two(a,b) s="#{a} + #{b}"; s += " = " + eval(s).to_s; end; add_two(1,3)
<eval-in__> eam => "1 + 3 = 4" (https://eval.in/278220)
triple_b has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has quit []
tunaCanBruh has joined #ruby
<zenspider> Diabolik: just understand the purpose and meaning of map and the rest should fall out exactly as you described it above
oo_ has quit [Quit: Leaving...]
gfawcettpq has joined #ruby
bMalum has joined #ruby
li0ninawhat has joined #ruby
freerobby has joined #ruby
<zenspider> Diabolik: you should start with my suggestion above of experimenting with it in irb
rbennacer has joined #ruby
_djbkd has joined #ruby
x1337807x has joined #ruby
lioninawhat has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
Musashi007 has joined #ruby
kirun has quit [Remote host closed the connection]
CpuID2 has joined #ruby
<epitron> >> Module.send(*(%i|alias_method|*3))
<eval-in__> epitron => Module (https://eval.in/278226)
atomical has joined #ruby
nobitanobi has quit [Remote host closed the connection]
babykosh has quit [Quit: babykosh]
joshbamboo1 has joined #ruby
<wallerdev> %i haha
goshdarnyou has joined #ruby
<wallerdev> make everyone pull out zenspider's quickref
centrx has joined #ruby
pu22l3r has quit [Remote host closed the connection]
Musashi007 has quit [Client Quit]
sdwrage has quit [Quit: Leaving]
s_e has quit [Ping timeout: 240 seconds]
<epitron> :D
nobitanobi has joined #ruby
lynxman has quit [Ping timeout: 240 seconds]
Rennex has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Quit: Leaving...]
Rennex has joined #ruby
WildBamboo-Josh has quit [Ping timeout: 245 seconds]
lynxman has joined #ruby
swgillespie has joined #ruby
oo_ has joined #ruby
josephndenton has joined #ruby
drkyro has joined #ruby
s_e has joined #ruby
byprdct has joined #ruby
<havenwood> Diabolik: consider the following, try it in a REPL: https://gist.github.com/havenwood/9768cd7f1d75e88903ed
CpuID2 has quit [Quit: This computer has gone to sleep]
it0a has joined #ruby
<Diabolik> thank you havenwood
danmanstx has quit [Ping timeout: 255 seconds]
Megtastique has joined #ruby
Ellypse has joined #ruby
<epitron> "let me repl that for you"
josephndenton has quit [Ping timeout: 245 seconds]
drkyro has quit [Client Quit]
blizzy is now known as FoxPolice
CpuID2 has joined #ruby
<havenwood> epitron: repl me this, repl me that... who's afraid of a decomposed splat?
FoxPolice is now known as CatPolice
CatPolice is now known as blizzy
Pharaoh2 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus has quit [Ping timeout: 255 seconds]
_djbkd has quit [Remote host closed the connection]
Bira has quit []
basichash has joined #ruby
<basichash> What is a block?
Lemur has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
<epitron> havenwood: :D
_djbkd has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<epitron> oh! i almost finished my card game
robustus has joined #ruby
<epitron> <=> for poker hands is going to be messy :)
<zenspider> epitron: that's not nice
<zenspider> (the Module.send above)
squar1sm has quit [Ping timeout: 264 seconds]
<basichash> ????
<epitron> zenspider: it's the sound of one hand clapping
<epitron> i thought you would appreciate it
platzhirsch has left #ruby [#ruby]
flubby_nanabo has joined #ruby
Musashi007 has joined #ruby
Hijiri has joined #ruby
mrmargolis has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
<basichash> ??????
<flubby_nanabo> I'm getting a undefined method with this method: http://ruby-doc.org/stdlib-2.1.2/libdoc/tmpdir/rdoc/Dir.html#method-c-mktmpdir, what am I doing wrong?
bMalum has quit [Quit: bMalum]
CpuID2 has quit [Quit: This computer has gone to sleep]
kaspertidemann has quit []
<shevy> what is the code you use flubby_nanabo ?
<flubby_nanabo> shevy, Just trying to run Dir.mktmpdir on irb
<Diabolik> right
<flubby_nanabo> haven't even written the code yet =/
<shevy> Dir.mktmpdir 'test' # => "/Depot/Temp/test20150205-15587-68bkuv"
<Diabolik> since i'm sure you've all been on the edge of your seats
<shevy> works fine for me
<Diabolik> i've got map working fine
pdoherty has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<Diabolik> interpolation isn't accepting num or any other paramater
<shevy> congrats Diabolik
<shevy> you have passed the first of the 36 chambers of Ruby
<Diabolik> i will buy all of you your own weight in beer if you come to lonond
<Diabolik> *london
<shevy> I'll come EXTRA HEAVY then
<havenwood> basichash: "It's like one of those little Hello Kitty boxes they sell at the mall that's stuffed with tiny pencils and microscopic paper, all crammed into a glittery transparent case that can be concealed in your palm for covert stationery operations. Except that blocks don't require so much squinting." ~_why
<zenspider> Diabolik: isn't accepting num or any other parameter?? don't think so
<Diabolik> im just doing map! then interpolating
josephndenton has joined #ruby
zachrab has joined #ruby
<zenspider> Diabolik: don't use map!. use map. like they hinted. and there is no "then"
<havenwood> basichash: Here's a little example of blocks in the docs: http://www.ruby-doc.org/core-2.2.0/Kernel.html#method-i-block_given-3F
<flubby_nanabo> shevy, a friend on twitter helped me, I had to do require 'tmpdir'
nii236|irssi has joined #ruby
<shevy> \o/
flubby_nanabo has left #ruby ["Leaving"]
<Diabolik> just using map i get expected: ["1 + 2 = 3", "2 + 2 = 4", "3 + 2 = 5"]
<Diabolik> got: [3, 4, 5]
<Diabolik> now to the interpolation
<epitron> require this, and you'll never have to require a stdlib file again: https://github.com/epitron/epitools/blob/master/lib/epitools/autoloads.rb
uptownhr has quit [Quit: uptownhr]
<havenwood> basichash: There's a discussion of blocks in this chapter: http://mislav.uniqpath.com/poignant-guide/book/chapter-3.html
<havenwood> basichash: with accompanying soundtrack here: http://mislav.uniqpath.com/poignant-guide/soundtrack/
Aova has quit [Read error: Connection reset by peer]
<havenwood> basichash: or lots of search material on the web for blocks in Ruby
pdoherty has quit [Ping timeout: 265 seconds]
<basichash> havenwood: is a block basically a lambda function?
dimaursu16 has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
<zenspider> Diabolik: again: no "and then interpolating"
<Diabolik> i have to interpolate to pass the rspec?
tokik has joined #ruby
<epitron> basichash: very similar
<zenspider> Diabolik: no "then"
<havenwood> basichash: similar to an anonymous lambda, a one-off sugar
<zenspider> Diabolik: you're still not getting the point of map
<zenspider> play with map. a lot
dimaursu16 has joined #ruby
<epitron> map isn't very complicated. the hard part is thinking about problems in terms of transforming arrays into other arrays
<zenspider> exactly
<Diabolik> ok
livingstn has quit []
Aova has joined #ruby
ghr has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
<basichash> havenwood, epitron: what's the delta that makes it 'similar' and not 'the same'
kristian-aalborg has quit [Quit: Leaving]
totimkopf has joined #ruby
andy___ has joined #ruby
<havenwood> basichash: for example, lambdas have a strict arity and blocks, like procs, do not. but blocks share locality of return with lambdas not procs.
<epitron> nonlocal returns! \o/
<zenspider> it's a mess. I wish we only had one
dabrorius has quit [Remote host closed the connection]
andy___ has quit [Client Quit]
<havenwood> Tennent's Correspondence Principle \o/
andy___ has joined #ruby
<Hijiri> can you curry blocks?
<epitron> i don't really use lambdas much
<zenspider> or at least, they were named / made in such a way to make it obvious
andy___ is now known as StreetlampSalad
ghr has quit [Ping timeout: 252 seconds]
<zenspider> >> def x &b; b; end; x { 2 + 2 } # Hijiri
<eval-in__> zenspider => #<Proc:0x417e72c8@/tmp/execpad-8f5bdae969a6/source-8f5bdae969a6:2> (https://eval.in/278234)
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<zenspider> Hijiri: ^^
<Hijiri> thanks
jenrzzz has joined #ruby
<basichash> havenwood: and a block is basically a proc that needs a method to run?
<basichash> havenwood: whereas a proc can be run with the .call method?
totimkopf has quit [Client Quit]
CpuID2 has quit [Quit: This computer has gone to sleep]
Troy^ has joined #ruby
<epitron> >> proc{}.methods.grep /curry/
<eval-in__> epitron => [:curry] (https://eval.in/278235)
<zenspider> a block is really just syntactic sugar for passing a block to a method
<zenspider> err. passing a proc to a method. sorry.
<zenspider> maybe I need more coffee
uptownhr has joined #ruby
<Diabolik> zenspider i've been fucking around with irb
coderhs has joined #ruby
<epitron> >> proc{|a,b| p [a,b] }.curry.call(1).call(2)
<eval-in__> epitron => [1, 2] ... (https://eval.in/278236)
coderhs has quit [Client Quit]
<Diabolik> i understand map
<Diabolik> the maths is checking out
<basichash> zenspider: ah ok
<basichash> what's this curry business?
mary5030 has joined #ruby
<zenspider> Diabolik: I'm still not sure you do. show me what you got
<epitron> basichash: it's something from functional programming
<zenspider> epitron: yeah. but they asked about blocks
DadoCe has quit [Remote host closed the connection]
<pipework> zenspider: Aren't blocks also more efficient than procs?
<pipework> At least until they're turned into procs.
nii236|irssi is now known as nii236
<zenspider> pipework: hrm? maybe... in that yield is a keyword and not a method send.
* Diabolik prepares for zenspider to shout at him
<zenspider> Diabolik: yeah. you still don't get it.
<Diabolik> ok
<pipework> zenspider: Yeah, and I think blocks aren't objects and don't have the overhead until they turn into procs.
<zenspider> Diabolik: AGAIN: it isn't map THEN interpolate. what is that function supposed to return?
marr has quit [Ping timeout: 245 seconds]
<epitron> pipework: benched them... they're identical
<epitron> probably because a block IS a proc :)
<Diabolik> its expected to return r = ["1 + 2 = 3", "2 + 2 = 4", "3 + 2 = 5"]
<zenspider> pipework: I'm not sure about the not object part... you can test with the newer GC/object profiling stuff
<epitron> >> def whatisit?(&b); b.class; end; whatisit?
<eval-in__> epitron => NilClass (https://eval.in/278240)
<epitron> lol
<Diabolik> with an arugment of 1,2,3
<Diabolik> *argument
<epitron> >> def whatisit?(&b); b.class; end; whatisit? { :yay }
<eval-in__> epitron => Proc (https://eval.in/278241)
<zenspider> Diabolik: so why isn't it?
blackmesa has quit [Ping timeout: 245 seconds]
<Diabolik> because it's just returning the results of the map
DadoCe has joined #ruby
<Diabolik> so 3, 4 and 5
<Diabolik> not nice concise strings of the sums to get there
<havenwood> >> def add a, b; a + b end; five_plus = public_method(:add).curry[5]; five_plus[3]
<eval-in__> havenwood => method `add' for class `Object' is private (NameError) ... (https://eval.in/278242)
<zenspider> no, you're returning a string
<havenwood> hrm
<Diabolik> im genuinely not trying to annoy you
startupality has joined #ruby
<havenwood> oh, right
<epitron> hah what
<zenspider> >> def add_two(array); array.map{ |a| a + 2 }; "#{a} + 2 = #{a + 2}"; end; add_two [1, 2, 3]
<eval-in__> zenspider => undefined local variable or method `a' for main:Object (NameError) ... (https://eval.in/278243)
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Diabolik> that's what i got
<Diabolik> when i tried using a
<zenspider> ah. you're not even handing me code that works
<havenwood> >> def add a, b; a + b end; five_plus = method(:add).curry[5]; five_plus[3]
<eval-in__> havenwood => 8 (https://eval.in/278244)
<zenspider> so, no. I don't think you understand map yet.
<epitron> >> plusifier = proc { |*things| things.reduce(:+) }.curry.call(1).call(2)
<eval-in__> epitron => undefined method `call' for 1:Fixnum (NoMethodError) ... (https://eval.in/278245)
<zenspider> epitron: pls stop. you're not helping
<epitron> lolol
Lemur has joined #ruby
<epitron> i'm just playing
<epitron> playing is good for learning
<Diabolik> thanks for the help guys
GaryOak_ has quit [Remote host closed the connection]
<epitron> lol i segfaulted ruby
<havenwood> Diabolik: practice and meditate on map, it'll click after a while
<epitron> >> me = proc { me.call }.call
<eval-in__> epitron => undefined method `call' for nil:NilClass (NoMethodError) ... (https://eval.in/278246)
w2 has joined #ruby
<epitron> aww
DadoCe has quit [Ping timeout: 246 seconds]
Diabolik has left #ruby ["Textual IRC Client: www.textualapp.com"]
<epitron> >> me = proc { me.call }; me.call
<eval-in__> epitron => stack level too deep (SystemStackError) ... (https://eval.in/278247)
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> i wonder why that segfaults for me
rbennacer has quit [Remote host closed the connection]
<havenwood> epitron: doesn't segfault for me
<havenwood> epitron: on 1.8, 1.9, 2.0, 2.1 or 2.2
<epitron> fascinating
<epitron> what OS?
uptownhr has quit [Quit: uptownhr]
<havenwood> epitron: OS X
<epitron> oic
p3ery has joined #ruby
<havenwood> epitron: same so far on linux
<epitron> how curious
<pipework> epitron: Have fun with Hash.new with a block. I gave it a default proc and then called that default proc from within the block that passes you the hash with the default proc.
<pipework> It's fun.
w2 has quit [Client Quit]
rbennacer has joined #ruby
Joufflu is now known as derp
derp is now known as joufflu
<epitron> :D
<epitron> can you show me in >> ?
razieliyo has quit [Ping timeout: 264 seconds]
zachrab has quit [Remote host closed the connection]
hmsimha has quit [Ping timeout: 252 seconds]
<pipework> >>h = Hash.new{|hash, key| hash[key] = Hash.new(&hash.default_proc)}; h[:lol][:wat][:miaow] = :epitron; h
<eval-in__> pipework => {:lol=>{:wat=>{:miaow=>:epitron}}} (https://eval.in/278248)
<pipework> It's like deep assignment.
shum has quit [Quit: WeeChat 1.1.1]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
triple_b has joined #ruby
<epitron> ohhh yes
<epitron> i had to do that once
shum has joined #ruby
greenbagels has joined #ruby
<pipework> I was thinking of implementing something like deep_fetch but for assignment, where the block is yielded if the key already exists or something.
hmsimha has joined #ruby
jerematic has quit [Remote host closed the connection]
p3ery has quit [Ping timeout: 256 seconds]
arescorpio has joined #ruby
<epitron> lol
<epitron> i can't parse that one either
<epitron> h[:existing_key] = :value yields default_proc?
ta_ has quit [Ping timeout: 252 seconds]
<epitron> *yields to
<pipework> epitron: More like just checking the last hash if key?(key) yield else assign
ta_ has joined #ruby
<pipework> But you know, it wouldn't be called using Hash.new anyways, because it doesn't call the proc unless the key is missing anyway.
<pipework> So that idea doesn't work.
<epitron> i am also not understanding what you'd use that for
graydot has quit [Quit: graydot]
<pipework> epitron: Not overriding existing values if they're present. Else, get a block with the key and value passed into them and call that.
<epitron> oh, i guess you could make a history of values :)
<zenspider> I'm not sure we actually helped Diabolik... :/
<epitron> like, every time you assign it, it pushes it into a history
<epitron> so you can undo
<zenspider> there's only so much clue...
<pipework> zenspider: I'm fresh out of clue by fours.
<basichash> why does this code throw an error? http://paste.ubuntu.com/10063865/
<havenwood> my submission to the procfest: https://gist.github.com/havenwood/cab7ba801d991cbb1307
<zenspider> yeah. my shoulders sore from swinging mine.
<basichash> presuming the ruby spec has changed
<epitron> havenwood: :D
<zenspider> basichash: ":" -> "then"
fenzil has joined #ruby
<zenspider> old syntax
<zenspider> basichash: presumably you've found some really old doco
<epitron> havenwood: that might be better as *... + should just call one after another
<zenspider> basichash: also, idiomatic ruby would be indented the same for case and whens
<basichash> zenspider: yeah 2007
<basichash> thanks
<zenspider> ":" died w/ 1.8
mrmargolis has quit [Remote host closed the connection]
p3ery has joined #ruby
<epitron> havenwood: orrr maybeee... proc[proc[proc]]?
recurrence has quit [Quit: recurrence]
<pipework> havenwood: that's pretty cute.
ta_ has quit [Ping timeout: 252 seconds]
<epitron> proc | proc | proc
<zenspider> alias bork proc
<basichash> bit of a long shot, but how many users could a rails app support running a single dyno on heroku?
<epitron> basichash: depends on how much they hammer your site
<pipework> proc | proc |= proc | proc # Where | is 'run concurrently' and |= is 'run serially'?
<zenspider> nonsensical question
StreetlampSalad has quit [Remote host closed the connection]
<pipework> basichash: Only as many as you can serve.
tkuchiki has joined #ruby
iwishiwerearobot has joined #ruby
<basichash> i know it's a difficult question to answer, just trying to get a feel for how many users i can serve before i have to start paying
ebbflowgo has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<pipework> basichash: How many people can you serve if you were a waiter?
<zenspider> were the only waiter
<zenspider> nonsensical question
<basichash> ok, i'll shutup
<pipework> zenspider: I don't see how that changes the number assuming an unlimited number of patrons.
<zenspider> but a GOOD nonsensical question in this context
nateberkopec has quit [Quit: Leaving...]
<zenspider> just more analogous
<pipework> basichash: It depends on what you're serving them and how fast you serve it.
<havenwood> epitron: what would one after the other be like?
<epitron> basichash: try running "siege" on your heroku instance
<epitron> havenwood: just: a.call; b.call
<basichash> siege?
<zenspider> will they shut you down or just bill you ?
<havenwood> epitron: ahh
<pipework> basichash: It's a tool for besieging your web server with requests, though it's not a great tool for measuring the real world.
<basichash> thnaks, i'll check it out
<havenwood> epitron: right
<epitron> oops, i messed up the docs
<havenwood> epitron: gotcha
<havenwood> epitron: i didn't read the grey stuff so i wasn't mislead!
<pipework> epitron: Weak, does not implement #respond_to?
iwishiwerearobot has quit [Ping timeout: 245 seconds]
Lemur has quit [Remote host closed the connection]
<epitron> havenwood: it's not a huge mistake. :) i should've said "join" instead of "chain" for the first word of one of them
<zenspider> epitron: epitools looks like the facets of 2010s
ta_ has joined #ruby
iwishiwerearobot has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
<epitron> zenspider: it's my activesupport
bricker has quit [Ping timeout: 250 seconds]
<epitron> i use it in all my shell scripts
<epitron> it's all lazily loaded so it doesn't bog down startup time
mloveless has quit [Remote host closed the connection]
robustus has joined #ruby
nateberkopec has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
startupality has quit [Quit: startupality]
nateberkopec has quit [Client Quit]
<epitron> havenwood: weird. i rebuilt ruby, and it blows up still
n80 has joined #ruby
oleo__ has joined #ruby
<pipework> epitron: Your computer is broken, throw it in the trash.
oleo is now known as Guest62867
<havenwood> epitron: hrm
<havenwood> pipework: :O
tyfighter has quit [Quit: tyfighter]
<havenwood> pipework: i have a bad habit of hoarding my old computers away
Guest62867 has quit [Ping timeout: 244 seconds]
<epitron> pipework: NOOOOOOOOO
<pipework> epitron: You're broken, throw epitron into the trash.
* epitron throws epitron into the trash
* epitron starts spinning in mid-air
LudicrousMango has joined #ruby
russt_ has quit [Ping timeout: 246 seconds]
<banister> epitron hi sweet eppy, what's up
Aova has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
Hijiri has quit [Quit: 移動中]
ta_ has joined #ruby
Aswebb_ has joined #ruby
crazydiamond has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
shime_ has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
pu22l3r has quit [Remote host closed the connection]
sent1nel has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
Robr3rd has joined #ruby
hamakn has joined #ruby
Aova has joined #ruby
<Robr3rd> Following the Arch Wiki for installing multi-user RVM (https://wiki.archlinux.org/index.php/RVM), I get to the "$ rvmsudo rvm get head" part and Bash complains that the command "rvmsudo" cannot be found. Any ideas?
jottr has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
Aswebb_ has quit [Ping timeout: 252 seconds]
hamakn has quit [Read error: Connection reset by peer]
ghr has joined #ruby
hamakn has joined #ruby
<havenwood> Robr3rd: Is RVM not yet installed?
<epitron> havenwood: doesn't blow up using ruby head.. guess they fixed whatever it was! :D
<havenwood> epitron: nice
Troy^ has joined #ruby
<havenwood> Robr3rd: There's a helpful #rvm channel or here are the RVM install docs: https://rvm.io/rvm/install
rbennacer has quit [Remote host closed the connection]
tobago has joined #ruby
tobago has quit [Client Quit]
iamninja has quit [Quit: ZZZzzz…]
StreetlampSalad has joined #ruby
caustic has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
<Robr3rd> havenwood, Thanks, I'll take a look at those.
Robr3rd has left #ruby ["Leaving"]
rbennacer has joined #ruby
Musashi007 has joined #ruby
Lewix has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
StreetlampSalad has quit [Ping timeout: 264 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has quit []
<epitron> i would've told him not to use rvm :(
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caustic has quit []
DadoCe has joined #ruby
tunaCanBruh has joined #ruby
krz has joined #ruby
DadoCe has quit [Ping timeout: 255 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Troy^ has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
bronson has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
StreetlampSalad has joined #ruby
kapil__ has joined #ruby
vlad_starkov has joined #ruby
danjordan has joined #ruby
<epitron> wow, how do they get it to stay on that branch for so long
<omosoj> how do you guys store login or authentication information in projects you open source? i'm reading something that say u should use a variable defined in your bash profile. is that the best way?
CpuID2 has joined #ruby
CpuID2 has joined #ruby
<wallerdev> yeah environment variables work for deploying things
<wallerdev> other options are just to store it locally but add it to gitignore
<omosoj> k, define it in config.ru?
<wallerdev> or just use local authentication
<omosoj> (i'm working on a sinatra app now)
StreetlampSalad has quit [Ping timeout: 264 seconds]
rsty1 has joined #ruby
<epitron> omosoj: config.ru would be in your git repo
<epitron> put it in config.yml or something
<omosoj> k, thanks
<epitron> i think environment variables make the most sense though
<epitron> that would disallow hackers from accessing the file on the filesystem if they found a bug
<epitron> well, they could access any file they wanted, but they couldn't get the environment as easily
<rsty1> how would i access the values inside the [ ] here? http://pastebin.com/1eWgCk3W
<epitron> rsty1: it's an array of arrays, so you can go: array[1][5]
<rsty1> i can use variable.at() to view the groups of 3, but what about each avlue
<rsty1> oh
<epitron> (array[1])[5]
<rsty1> works very well, thank you epitron :)
<epitron> oh sorry, 5 would be too big
<epitron> but 0..2 :)
<rsty1> hehe, yes, it works! thanks
<epitron> np
<epitron> if .at() works, you could do .at() twice
<epitron> array.at(1).at(0)
IrishGringo has quit [Ping timeout: 245 seconds]
<rsty1> yes, my mistake was trying (0,0)
<rsty1> but (0)(0) works
<epitron> :O
<rsty1> learning :)
x1337807x has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
<omosoj> hm, i guess i should have gitignore ignore itself, right?
<Nilium> No.
IrishGringo has joined #ruby
<omosoj> doesn't it say 'hey i'm hiding stuff here!'?
CpuID2 has joined #ruby
dc has quit [Remote host closed the connection]
danjordan has quit [Quit: danjordan]
wallerdev has quit [Quit: wallerdev]
rgs has quit [Ping timeout: 246 seconds]
<Troy^> so i can use in_file = open(from_file).read does that mean i can write to a file with those read lines as such out_file = open(to_file, 'w').write(in_file)
CpuID2 has quit [Client Quit]
rgs has joined #ruby
StreetlampSalad has joined #ruby
goodenough has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tmtwd has joined #ruby
zacstewart has quit [Remote host closed the connection]
commmmodo has joined #ruby
StreetlampSalad has quit [Ping timeout: 244 seconds]
beneggett has joined #ruby
x1337807x has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
Musashi007 has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 250 seconds]
zacstewart has joined #ruby
ta_ has joined #ruby
Brando753 has joined #ruby
mrmargolis has joined #ruby
StreetlampSalad has joined #ruby
_djbkd has quit [Remote host closed the connection]
_ixti_ has quit [Ping timeout: 252 seconds]
amystephen has quit [Quit: amystephen]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
selaruvich has quit [Ping timeout: 245 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snath has joined #ruby
atomical has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
adriancb has joined #ruby
JBreit has joined #ruby
Aova has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
atomical has joined #ruby
rbennacer has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
Pharaoh2 has joined #ruby
pengin_ has joined #ruby
jottr has joined #ruby
swgillespie has joined #ruby
bronson has joined #ruby
ta_ has joined #ruby
cjim has joined #ruby
duncannz has joined #ruby
Aova has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
lordsday has joined #ruby
mikedugan has joined #ruby
echevemaster has quit [Remote host closed the connection]
omosoj has quit [Ping timeout: 264 seconds]
recurrence has joined #ruby
mikedugan has left #ruby ["Palaver http://palaverapp.com/"]
Musashi007 has quit [Quit: Musashi007]
lordsday has quit [Client Quit]
scripore has joined #ruby
davedev24_ has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
pengin_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 255 seconds]
omosoj has joined #ruby
davedev24_ has joined #ruby
wallerdev has joined #ruby
n80 has quit [Quit: n80]
d10n-work has quit [Quit: Connection closed for inactivity]
<scripore> !p returns true. what exactly is this used for though? is it just shorthand for true?
havenwood has quit []
ta_ has quit [Ping timeout: 245 seconds]
DadoCe has joined #ruby
tunaCanBruh has joined #ruby
bronson has quit [Remote host closed the connection]
<centrx> >> !p
<eval-in__> centrx => true (https://eval.in/278294)
<centrx> >> p
<eval-in__> centrx => nil (https://eval.in/278295)
<centrx> scripore, So p is a method that can be run with no arguments (normally it's: p "some string")
<centrx> scripore, methods in Ruby alreadys return something, when run with no arguments, p returns nil
<centrx> >> !nil
maletor has quit [Quit: Computer has gone to sleep.]
<eval-in__> centrx => true (https://eval.in/278296)
<scripore> ooh, I see. p just returns nil because there's no string declared.
<scripore> thanks, that makes sense now
bricker has joined #ruby
deric_skibotn has quit [Ping timeout: 264 seconds]
DadoCe has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 252 seconds]
yeticry has joined #ruby
<omosoj> i'm trying to define environmental variables in my app, then access them in another file. not working :(
ta_ has joined #ruby
<omosoj> (sinatra app)
astrobunny has joined #ruby
chrishough has joined #ruby
<omosoj> guess i should use dotenv
Megtastique has quit []
ta_ has quit [Ping timeout: 256 seconds]
li0ninawhat has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
Hijiri has quit [Quit: bye]
zacstewart has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
Renich has joined #ruby
tyfighter has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pontiki has joined #ruby
pontiki has quit [Remote host closed the connection]
pontiki has joined #ruby
amystephen has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
JBreit has left #ruby ["Leaving"]
jobewan has joined #ruby
oo_ has quit [Remote host closed the connection]
Lemur has joined #ruby
rkgudboy has joined #ruby
Hijiri has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
gsd has joined #ruby
amystephen has quit [Quit: amystephen]
pu22l3r has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
Zamyatin has joined #ruby
Trynemjoel2 has quit [Quit: Quitting]
Zamyatin has quit [Max SendQ exceeded]
Zamyatin has joined #ruby
nanoyak has joined #ruby
Trynemjoel has joined #ruby
Zamyatin has quit [Max SendQ exceeded]
Zamyatin has joined #ruby
sent1nel has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 245 seconds]
nolic has joined #ruby
dc has joined #ruby
pu22l3r has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
Aswebb_ has joined #ruby
dkphenom has quit [Quit: Textual IRC Client: www.textualapp.com]
pu22l3r has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
braincrash has joined #ruby
Aswebb_ has quit [Ping timeout: 246 seconds]
apurcell has quit [Quit: Be back later ...]
pu22l3r has quit [Remote host closed the connection]
selaruvich has joined #ruby
TripTastic has joined #ruby
mary5030 has quit [Remote host closed the connection]
TripTastic is now known as JBreit
Kache4 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pu22l3r has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iwishiwerearobot has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
Lucky___ has joined #ruby
ta_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
selaruvich has quit [Ping timeout: 252 seconds]
jack_rabbit has joined #ruby
rkgudboy has quit [Ping timeout: 245 seconds]
StreetlampSalad has quit [Remote host closed the connection]
Aova has joined #ruby
pu22l3r has quit [Remote host closed the connection]
JBreit has left #ruby ["Leaving"]
tus has quit []
StreetlampSalad has joined #ruby
pragmatism has joined #ruby
ghr has joined #ruby
Channel6 has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
gfawcettpq has quit [Ping timeout: 256 seconds]
DEA7TH has quit [Ping timeout: 265 seconds]
shum has quit [Quit: WeeChat 1.1.1]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 250 seconds]
serendipitySnail has joined #ruby
x1337807x has joined #ruby
checkit has joined #ruby
checkit has quit [Excess Flood]
checkit has joined #ruby
sent1nel has joined #ruby
sent1nel_ has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpt_yossarian has quit [Quit: And then he took off.]
sent1nel has quit [Ping timeout: 245 seconds]
sent1nel_ has quit [Ping timeout: 245 seconds]
cpt_yossarian has joined #ruby
iwishiwerearobot has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
Megtastique has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
Hijiri has quit [Quit: abcdefg]
lethjakman has joined #ruby
<lethjakman> Anyone know why that doesn't match?
<lethjakman> seems like it should to me...just beginning to end (I know it's a bad example.)
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
Musashi007 has joined #ruby
<centrx> lethjakman, if you add /m for multi-line regex it works
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis has quit [Remote host closed the connection]
brixen_ is now known as brixen
mrmargolis has joined #ruby
ta_ has joined #ruby
zwer has joined #ruby
<lethjakman> centrx: I thought the \A\z were supposed to work for multi line as well, no?
<centrx> >> /\A.*/.match("hey\nhow are you?")
<eval-in__> centrx => #<MatchData "hey"> (https://eval.in/278317)
<centrx> lethjakman, it looks like the \z matches the true end of string, but the lack of /m means the regex evaluation stops at the first \n
<centrx> that would be my guess
zwer_g has quit [Ping timeout: 250 seconds]
<lethjakman> hmmm...weird.
<lethjakman> thanks centrx :)
towski___ has quit [Remote host closed the connection]
oo_ has joined #ruby
mrmargolis has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
swgillespie has joined #ruby
freerobby has quit [Quit: Leaving.]
ta_ has quit [Ping timeout: 252 seconds]
zacstewart has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
swgillespie has quit [Client Quit]
Lemur has quit [Read error: Connection reset by peer]
swgillespie has joined #ruby
Lemur has joined #ruby
ta_ has joined #ruby
timmmaaaayyy has quit [Ping timeout: 264 seconds]
lioninawhat has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby
timmmaaaayyy has joined #ruby
lioninawhat has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
ta_ has quit [Ping timeout: 265 seconds]
timmmaaaayyy has quit [Read error: Connection reset by peer]
shadoi has quit [Quit: Leaving.]
raphaelss has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
phutchins has joined #ruby
tkuchiki_ has joined #ruby
oo_ has quit [Remote host closed the connection]
nuck has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
scripore has joined #ruby
ponga has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
timmmaaaayyy has joined #ruby
ARCADIVS has joined #ruby
zacstewart has quit [Ping timeout: 245 seconds]
commmmodo has quit [Quit: commmmodo]
pragmatism has quit [Ping timeout: 265 seconds]
pragmatism has joined #ruby
mikepack has joined #ruby
The_Phoenix has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
anaeem1_ has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Megtastique has quit []
kyb3r_ has joined #ruby
pdoherty has joined #ruby
longfeet has quit [Ping timeout: 244 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
chrishough has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
_maes_ has joined #ruby
ChoiKyuSang has joined #ruby
Aova has quit [Read error: Connection reset by peer]
duncannz has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 244 seconds]
adriancb has quit [Remote host closed the connection]
ta_ has joined #ruby
astrobunny has quit [Remote host closed the connection]
oo_ has joined #ruby
sent1nel has joined #ruby
Aova has joined #ruby
bricker has quit [Ping timeout: 255 seconds]
jack_rabbit has quit [Ping timeout: 250 seconds]
sent1nel has quit [Remote host closed the connection]
Deele has joined #ruby
Musashi007 has joined #ruby
sent1nel has joined #ruby
timmmaaaayyy has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
serendipitySnail has left #ruby ["WeeChat 0.4.2"]
swgillespie has joined #ruby
Renich has quit [Quit: leaving]
timmmaaaayyy has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
tunaCanBruh has quit [Ping timeout: 256 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
scripore has quit [Quit: This computer has gone to sleep]
jack_rabbit has joined #ruby
tyfighter has quit [Quit: tyfighter]
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
it0a has quit [Ping timeout: 245 seconds]
jack_rabbit has quit [Ping timeout: 252 seconds]
ohaibbq has joined #ruby
Lucky___ has joined #ruby
oo_ has quit [Remote host closed the connection]
Xiti` has joined #ruby
oo_ has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
Xiti` has quit [Quit: Xiti`]
sigurding has joined #ruby
Musashi007 has quit [Quit: Musashi007]
iliketurtles has quit [Quit: zzzzz…..]
danjordan has joined #ruby
jack_rabbit has joined #ruby
helpa has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
bronson has joined #ruby
helpa has joined #ruby
Lewix has quit [Remote host closed the connection]
siso has joined #ruby
ahuman has quit [Quit: No Ping reply in 180 seconds.]
ahuman has joined #ruby
iliketurtles has joined #ruby
lethjakm1 has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
ta_ has joined #ruby
arescorpio has quit [Excess Flood]
Aswebb_ has quit [Ping timeout: 252 seconds]
apurcell has joined #ruby
arup_r has joined #ruby
havenwood has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
pu22l3r has joined #ruby
oleo__ has quit [Quit: Verlassend]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jack_rabbit has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Remote host closed the connection]
nolic has quit [Remote host closed the connection]
sent1nel has quit [Remote host closed the connection]
beneggett has joined #ruby
pontiki has quit [Quit: mah]
apurcell has quit [Ping timeout: 244 seconds]
tkuchiki has joined #ruby
danjordan has quit [Quit: danjordan]
jusmyth has joined #ruby
tkuchiki_ has quit [Ping timeout: 250 seconds]
_djbkd has quit [Quit: My people need me...]
lxsameer has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
jerematic has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Remote host closed the connection]
krz has joined #ruby
cjim has quit [Quit: (null)]
The_Phoenix has joined #ruby
psy_ has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
jerematic has quit [Ping timeout: 265 seconds]
ta_ has joined #ruby
goodenough has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
Aova has joined #ruby
tyfighter has joined #ruby
sigurding has quit [Quit: sigurding]
davedev24_ has quit [Ping timeout: 245 seconds]
penzur has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
iwishiwerearobot has quit [Ping timeout: 245 seconds]
penzur has joined #ruby
ghr has joined #ruby
ponga has quit [Remote host closed the connection]
tyfighter has joined #ruby
Channel6 has quit [Quit: Leaving]
beevalee has joined #ruby
davedev24_ has joined #ruby
beevalee has quit [Client Quit]
ghr has quit [Ping timeout: 250 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
himsin has joined #ruby
lethjakm1 has quit [Ping timeout: 250 seconds]
himsin has quit [Client Quit]
ta_ has joined #ruby
tyfighter has quit [Quit: tyfighter]
arup_r has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
Morkel has joined #ruby
sigurding has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
ta_ has quit [Ping timeout: 252 seconds]
Kilo`byte has quit [Ping timeout: 246 seconds]
prasselpikachu has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
jobewan has quit [Quit: Leaving]
beevalee has joined #ruby
jobewan has joined #ruby
ta_ has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
prasselpikachu has joined #ruby
hvxgr has quit [Ping timeout: 244 seconds]
apeiros_ has joined #ruby
astrobunny has quit [Remote host closed the connection]
checkit has quit [Quit: (null)]
astrobunny has joined #ruby
tagrudev has joined #ruby
jobewan has quit [Quit: Leaving]
aganov has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
noop has joined #ruby
ajaiswal has joined #ruby
astrobunny has quit [Ping timeout: 265 seconds]
rbennacer has joined #ruby
astrobunny has joined #ruby
DissonantGuile[A has joined #ruby
Kilo`byte has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
arup_r has joined #ruby
tyfighter has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
jottr has joined #ruby
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CpuID2 has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
iliketurtles has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
dsfargeg has joined #ruby
apeiros_ has joined #ruby
joufflu has quit [Read error: Connection reset by peer]
mikepack_ has quit [Remote host closed the connection]
Cache_Money has joined #ruby
ta_ has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
ponga has joined #ruby
apeiros_ has quit [Ping timeout: 245 seconds]
atomi has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
wallerdev has quit [Quit: wallerdev]
agit0 has quit [Quit: This computer has gone to sleep]
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
kamilc__ has joined #ruby
psy_ has joined #ruby
ta_ has joined #ruby
tunaCanBruh has joined #ruby
iliketurtles has joined #ruby
penzur has quit [Quit: dc]
pdoherty has joined #ruby
hvxgr has joined #ruby
SOLDIERz has joined #ruby
<certainty> moin rubyier and rubyesses
Aova has quit [Read error: Connection reset by peer]
nuck has quit [Read error: Connection reset by peer]
iliketurtles has quit [Max SendQ exceeded]
<arup_r> moin certainty:
ta_ has quit [Ping timeout: 252 seconds]
nuck has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
tunaCanBruh has quit [Ping timeout: 264 seconds]
goodenough has joined #ruby
wallerdev has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
<arup_r> shevy: May be sleeping...
nuck has quit [Max SendQ exceeded]
nuck has joined #ruby
Aova has joined #ruby
Pharaoh2 has joined #ruby
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
dsfargeg has quit [Ping timeout: 264 seconds]
iliketurtles has joined #ruby
red_horned_rihno has joined #ruby
bMalum has joined #ruby
omosoj has quit [Quit: leaving]
kwd has joined #ruby
Hijiri has joined #ruby
ghr has joined #ruby
sandelius has joined #ruby
penzur has joined #ruby
codecop has joined #ruby
Morkel has quit [Quit: Morkel]
testcore has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 244 seconds]
ekem has joined #ruby
tyfighter has quit [Quit: tyfighter]
atomi has quit [Quit: Error response from daemon: The database file is locked: database is locked]
kyb3r_ has joined #ruby
<certainty> shevy: resolved your issues?
<certainty> i mean your computer related issues xD
ta_ has joined #ruby
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
blizzy has quit [Ping timeout: 244 seconds]
chishiki has quit [Ping timeout: 255 seconds]
iliketurtles has quit [Max SendQ exceeded]
pragmatism has quit [Quit: Textual IRC Client: www.textualapp.com]
recurrence has quit [Quit: recurrence]
tokik has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
Cache_Money has quit [Quit: Cache_Money]
Xeago has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby
jgt has joined #ruby
iliketurtles has quit [Remote host closed the connection]
marcdel has quit []
ebbflowgo has quit [Quit: ebbflowgo]
parduse has quit []
chishiki has joined #ruby
Aswebb_ has joined #ruby
lyuben_ has joined #ruby
parduse has joined #ruby
wallerdev has quit [Quit: wallerdev]
cjim has joined #ruby
apurcell has joined #ruby
Aswebb_ has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
oo_ has quit [Remote host closed the connection]
Macaveli has joined #ruby
Macaveli_ has joined #ruby
thatslifeson has joined #ruby
Macaveli_ has quit [Max SendQ exceeded]
Macaveli_ has joined #ruby
psy_ has quit [Quit: Leaving]
apurcell has quit [Ping timeout: 252 seconds]
shime has joined #ruby
DissonantGuile[A has left #ruby [#ruby]
zacstewart has joined #ruby
rkgudboy has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
ta_ has joined #ruby
oo_ has joined #ruby
anaeem___ has joined #ruby
mLF has joined #ruby
lolmaus has joined #ruby
ta has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
red_horned_rihno has quit [Read error: Connection reset by peer]
zacstewart has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 252 seconds]
anaeem1_ has quit [Ping timeout: 250 seconds]
Lucky___ has joined #ruby
yfeldblum has joined #ruby
jerematic has joined #ruby
nuck has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has joined #ruby
terlar has joined #ruby
razieliyo has joined #ruby
CpuID2 has joined #ruby
CpuID2 has joined #ruby
Lemur has quit [Remote host closed the connection]
iliketurtles has joined #ruby
CpuID2 has quit [Client Quit]
diegoviola has quit [Remote host closed the connection]
commmmodo has joined #ruby
jerematic has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Client Quit]
lsmola has quit [Remote host closed the connection]
Xeago has joined #ruby
surs has quit [Ping timeout: 255 seconds]
LudicrousMango has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
<StreetlampSalad> what's the difference between :: and . ?
<arup_r> Search StackOverflow.comm StreetlampSalad
<StreetlampSalad> alright
<arup_r> Lots of answers are there
ta has quit [Ping timeout: 252 seconds]
<arup_r> :)
LudicrousMango has joined #ruby
ponga has joined #ruby
dc has quit [Remote host closed the connection]
<StreetlampSalad> :P
<arup_r> StreetlampSalad: Your name is very funny!
<StreetlampSalad> thanks hahaha :)
<arup_r> How a Street Lamp can be connected to a Salad..
<StreetlampSalad> there was a story about a guy who was going to name his newborn daughter based on an internet poll
* arup_r blinking his eyes...
<StreetlampSalad> and Streetlamp Salad was one of the options
Xeago_ has joined #ruby
<StreetlampSalad> that's where the name comes from haha
<arup_r> ohh!
<arup_r> Thanks for the pointer..
<StreetlampSalad> ^^
beneggett has joined #ruby
work_op has joined #ruby
<arup_r> I found one interesting name in other channel... StreetlampSalad: Would you like to know the name?
<StreetlampSalad> sure!
<arup_r> Cache_Money is the name...
<arup_r> How can people cache their money..
amil has joined #ruby
<StreetlampSalad> ahhhh hahahaha that's a good one
<StreetlampSalad> it sounds like Cash Money haha
<arup_r> We are human beings, neither a browser nor a server at all..
dc has joined #ruby
dc has quit [Remote host closed the connection]
<arup_r> No.. that user wrote Cache... I looked into the word carefully..
<arup_r> :)
konsolebox has joined #ruby
raphaelss has quit [Ping timeout: 255 seconds]
kamilc__ has quit [Ping timeout: 245 seconds]
<StreetlampSalad> yeah but it's a pun, so it sounds like cash_money when it's actually cache_money
<StreetlampSalad> just a little joke I think haha
Xeago has quit [Ping timeout: 264 seconds]
dabrorius has joined #ruby
<arup_r> humm
Fractional has joined #ruby
Aova has quit [Read error: Connection reset by peer]
bayed has joined #ruby
wldcordeiro_ has quit [Ping timeout: 250 seconds]
dabroriu_ has joined #ruby
aswen has joined #ruby
<arup_r> StreetlampSalad: How long are you in Ruby ?
bricker has joined #ruby
<ponga> h-i
<StreetlampSalad> about 2 weeks now I think
apeiros_ has joined #ruby
<StreetlampSalad> I've been following The Odin Project's ruby course
ta has joined #ruby
<StreetlampSalad> what about you arup_r?
sudog has quit [Ping timeout: 265 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wldcordeiro_ has joined #ruby
<arup_r> ponga: is a sweet name... I had ever seen..
<ponga> what's up arup_r
<arup_r> StreetlampSalad: I heard that's a good site which you are following..
<arup_r> ponga: Nice here.. and there?
<ponga> arup_r: my nose is itching
adriancb has joined #ruby
<ponga> due to China micro dust
* arup_r thinking how people can create a meaningful name by typing randomly like ponga:
<ponga> it landed in korea
dabrorius has quit [Ping timeout: 245 seconds]
<StreetlampSalad> ponga are you from China?
<arup_r> ponga: I see...
<ponga> StreetlampSalad: no and that's why im angry
<arup_r> seems Korea..
<ponga> im not even from china and im breathing their dust
Aova has joined #ruby
<StreetlampSalad> yeahhhh that makes sense
<arup_r> lol
<StreetlampSalad> arup_r: where are you from?
<arup_r> India
<StreetlampSalad> ohhhh
<StreetlampSalad> cool
<arup_r> :)
<ponga> fyi i love indian food very very much arup_r
bricker has quit [Ping timeout: 264 seconds]
<ponga> its my second favourite cuisine
lsmola has joined #ruby
* arup_r jumped into his kitchen to prepare something for ponga:
<certainty> cousin?
<ponga> yeah
<crome> :D
<arup_r> ponga: After china? ;)
<ponga> lol arup_r you know me too well
<ponga> no doubt they make the best meal
<ponga> cantonese cuisine no 1
<crome> china is neither a cousin nor a cuisine, it's not even a cosine
<crome> it's a country
<arup_r> hehehehe
adriancb has quit [Ping timeout: 240 seconds]
ta has quit [Remote host closed the connection]
<ponga> i have spices and ingredients for vindaloo, but i always fail
<ponga> :(
byprdct has quit [Ping timeout: 252 seconds]
ramortegui has joined #ruby
* certainty read: i have species and ingredients ...
dc has joined #ruby
dc has quit [Remote host closed the connection]
ta has joined #ruby
govg has quit [Quit: leaving]
danman has quit [Quit: danman]
blackmesa has joined #ruby
ghr has joined #ruby
msgodf has joined #ruby
dc has joined #ruby
dc has quit [Remote host closed the connection]
jimms has joined #ruby
<Fractional> Ohio
<tacotaco_> ohio
Xeago has joined #ruby
ta has quit [Ping timeout: 250 seconds]
spider-mario has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
* arup_r running away from Ohio:
* Fractional Heartbroken
tjohnson has quit [Quit: Connection closed for inactivity]
Xeago_ has quit [Ping timeout: 256 seconds]
* arup_r wanted to know if he is responsible for that...
dc has joined #ruby
dc has quit [Remote host closed the connection]
antgel has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
ponga has quit [Remote host closed the connection]
danjordan has joined #ruby
siso has quit [Read error: Connection reset by peer]
lsmola has quit [Remote host closed the connection]
duncannz has joined #ruby
lsmola has joined #ruby
phutchins has joined #ruby
apurcell has joined #ruby
ponga has joined #ruby
atomi has joined #ruby
ta has joined #ruby
livathinos has joined #ruby
lidaaa has quit [Ping timeout: 245 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
StreetlampSalad has quit [Remote host closed the connection]
ARCADIVS has quit [Quit: ARCADIVS]
dc has joined #ruby
dc has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
ghr has joined #ruby
dc has joined #ruby
CustosL1men has joined #ruby
dc has quit [Remote host closed the connection]
ohaibbq has quit [Remote host closed the connection]
apurcell has quit [Ping timeout: 252 seconds]
josephcs has joined #ruby
ta has quit [Ping timeout: 252 seconds]
jottr has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
chrishough has quit [Client Quit]
RDash has quit [Ping timeout: 245 seconds]
RDash has joined #ruby
ramortegui has quit [Ping timeout: 255 seconds]
elaptics is now known as elaptics`away
cjim has quit [Quit: (null)]
yfeldblu_ has joined #ruby
aapole has joined #ruby
Obfuscate has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 246 seconds]
Obfuscate has joined #ruby
surs has joined #ruby
dumdedum has joined #ruby
apurcell has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
dc has joined #ruby
dc has quit [Remote host closed the connection]
mloveless has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
LouisRoR has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
alex88 has joined #ruby
aapole has quit [Ping timeout: 265 seconds]
ta has joined #ruby
arup_r has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
kalusn has joined #ruby
rkgudboy has quit [Ping timeout: 245 seconds]
LouisRoR has quit [Ping timeout: 245 seconds]
<shevy> certainty I just woke up!
dc has joined #ruby
anaeem___ has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
anaeem1_ has joined #ruby
ta_ has joined #ruby
Pupeno has quit [Ping timeout: 250 seconds]
drkush has quit [Ping timeout: 245 seconds]
arup_r has quit [Remote host closed the connection]
drkush has joined #ruby
mikecmpbll has joined #ruby
Pharaoh2 has joined #ruby
penzur has quit [Quit: dc]
arup_r has joined #ruby
Aswebb_ has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
systemd0wn_ has joined #ruby
sent1nel has joined #ruby
apurcell has joined #ruby
jenrzzz has joined #ruby
rdark has joined #ruby
apurcell has quit [Read error: Connection reset by peer]
siso has joined #ruby
CustosL1men has quit [Ping timeout: 264 seconds]
apurcell has joined #ruby
gkra has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 245 seconds]
Morkel has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
Ellypse has quit [Quit: Ellypse]
Fractional has quit [Remote host closed the connection]
shime has quit [Ping timeout: 250 seconds]
systemd0wn has quit [Ping timeout: 250 seconds]
sent1nel has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
psy_ has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
iamninja has joined #ruby
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ruby
malcolmva has quit [Ping timeout: 245 seconds]
Hobogrammer has quit [Ping timeout: 250 seconds]
arup_r_ has joined #ruby
blackmesa has joined #ruby
codecop has quit [Remote host closed the connection]
AFKGeek has joined #ruby
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ruby
pabloh has joined #ruby
arup_r has quit [Ping timeout: 252 seconds]
nii236 has quit [Quit: leaving]
pandaant has joined #ruby
Xeago has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
pdoherty has joined #ruby
Aova has quit [Read error: Connection reset by peer]
testcore has quit [Ping timeout: 250 seconds]
ta has joined #ruby
testcore has joined #ruby
pabloh has quit [Remote host closed the connection]
pabloh has joined #ruby
pabloh has quit [Remote host closed the connection]
Takle has joined #ruby
cassianoleal has joined #ruby
chipotle has joined #ruby
selaruvich has joined #ruby
Pupeno has quit [Quit: Leaving...]
pdoherty has quit [Ping timeout: 264 seconds]
towski_ has joined #ruby
shredding has joined #ruby
aapole has joined #ruby
chipotle has quit [Remote host closed the connection]
kapil__ has quit [Quit: Connection closed for inactivity]
LudicrousMango has quit [Remote host closed the connection]
LouisRoR has joined #ruby
chipotle has joined #ruby
chinmay_dd has joined #ruby
Aova has joined #ruby
arup_r has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r_ has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
ta has quit [Ping timeout: 252 seconds]
systemd0wn has joined #ruby
ta has joined #ruby
beneggett has joined #ruby
timonv has joined #ruby
CustosL1men has joined #ruby
systemd0wn_ has quit [Ping timeout: 250 seconds]
marr has joined #ruby
neoxquick has joined #ruby
malcolmva has joined #ruby
arup_r_ has joined #ruby
ta has quit [Ping timeout: 250 seconds]
nanashiRei has quit [Quit: It really works!]
arup_r has quit [Read error: Connection reset by peer]
Grumelo has joined #ruby
schickung has joined #ruby
arup_r has joined #ruby
jgt has quit [Ping timeout: 245 seconds]
Hobogrammer has joined #ruby
Zai00 has joined #ruby
selaruvich has quit [Ping timeout: 245 seconds]
arup_r_ has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
piotrj has joined #ruby
einarj has quit [Client Quit]
Spami has joined #ruby
selaruvich has joined #ruby
georgesmith has joined #ruby
MasterPiece has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
einarj has joined #ruby
ta has joined #ruby
pico-pete has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has quit [Ping timeout: 244 seconds]
codecop has joined #ruby
jgt has joined #ruby
colli5ion has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
siso has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
apurcell has joined #ruby
bMalum has quit [Quit: bMalum]
basichash has quit [Ping timeout: 250 seconds]
ta has quit [Ping timeout: 245 seconds]
jerematic has joined #ruby
systemd0wn_ has joined #ruby
siso has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
troulouliou_dev has joined #ruby
<avril14th> morning
CustosL1men has quit [Ping timeout: 250 seconds]
systemd0wn has quit [Ping timeout: 264 seconds]
bMalum has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
zr has joined #ruby
selaruvich has quit [Ping timeout: 252 seconds]
sinkensabe has joined #ruby
sevenseacat has joined #ruby
zr has quit [Client Quit]
DaniG2k has joined #ruby
ta has joined #ruby
cassianoleal has quit [Ping timeout: 264 seconds]
stef204 has joined #ruby
qba73 has joined #ruby
leafybasil has quit [Remote host closed the connection]
jottr has joined #ruby
Hobogrammer has quit [Ping timeout: 250 seconds]
rodfersou has joined #ruby
ta has quit [Ping timeout: 250 seconds]
qba73 has quit [Read error: Connection reset by peer]
qba73 has joined #ruby
CustosL1men has joined #ruby
systemd0wn has joined #ruby
Hydrosine has quit [Quit: ZNC - http://znc.in]
jottr has quit [Ping timeout: 264 seconds]
systemd0wn_ has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
workmad3 has quit [Client Quit]
sigurding has quit [Ping timeout: 240 seconds]
withnale_ has joined #ruby
AFKGeek has quit [Quit: Fades into the shadows]
josephndenton has joined #ruby
workmad3 has joined #ruby
arup_r has joined #ruby
p3ery has quit [Quit: (null)]
Aova has quit [Read error: Connection reset by peer]
<certainty> workmad3: o/
* certainty plays semaphore again
<workmad3> ;o
<workmad3> err... \o even
<certainty> :)
leafybasil has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
quimrstorres has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
quimrstorres has quit [Remote host closed the connection]
Grumelo has quit [Read error: Connection reset by peer]
Aova has joined #ruby
CpuID2 has joined #ruby
ta has joined #ruby
MasterPiece has quit [Quit: Leaving]
robustus has joined #ruby
quimrstorres has joined #ruby
gkra has joined #ruby
arup_r has quit [Remote host closed the connection]
ta has quit [Ping timeout: 256 seconds]
codecop has quit [Remote host closed the connection]
basichash has joined #ruby
blizzy has joined #ruby
arup_r has joined #ruby
lrocknrolmarc has joined #ruby
rocknrollmarc has joined #ruby
tmtwd has quit [Remote host closed the connection]
<shevy> ~o~
krz has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 250 seconds]
AlSquire has joined #ruby
blizzy has quit [Ping timeout: 244 seconds]
ta has joined #ruby
nii236|irssi has joined #ruby
bronson has quit [Remote host closed the connection]
<arup_r> Ahem! Ahem!!!!!
ghostpl has joined #ruby
LudicrousMango has joined #ruby
zacstewart has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
piotrj has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
ta has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
piotrj has joined #ruby
lrocknrolmarc has quit [Ping timeout: 264 seconds]
nolic has joined #ruby
piotrj has quit [Read error: Connection reset by peer]
rocknrollmarc has quit [Ping timeout: 250 seconds]
lrocknrolmarc has joined #ruby
solars has joined #ruby
rocknrollmarc has joined #ruby
<solars> hi, can anyone tell me how to use benchmark inline? e.g. not wrap around the complete script but around a particular section that is run within the whole?
zacstewart has quit [Ping timeout: 250 seconds]
piotrj has joined #ruby
<avril14th> well, put the code in the block? :)
piotrj has quit [Client Quit]
piotrj has joined #ruby
decoponio has joined #ruby
lrocknrolmarc has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby
bMalum has quit [Quit: bMalum]
jenrzzz has quit [Ping timeout: 245 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
rocknrollmarc has quit [Ping timeout: 252 seconds]
nii236|irssi has quit [Quit: leaving]
tunaCanBruh has quit [Ping timeout: 264 seconds]
kyb3r_ has joined #ruby
CpuID2 has joined #ruby
piotrj has quit [Ping timeout: 255 seconds]
selaruvich has joined #ruby
reinaldob has joined #ruby
CpuID2 has quit [Client Quit]
St1gma has quit [Ping timeout: 250 seconds]
Macaveli_ has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has joined #ruby
piotrj has joined #ruby
ionull has joined #ruby
hmnhf has joined #ruby
jhebden has quit [Ping timeout: 265 seconds]
bMalum has joined #ruby
rocknrollmarc has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
dabroriu_ has quit []
St1gma has joined #ruby
ta has quit [Ping timeout: 252 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
startupality has joined #ruby
bMalum has quit [Quit: bMalum]
paradoja has joined #ruby
ta has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
konsolebox has quit [Read error: Connection reset by peer]
hfor has quit [Remote host closed the connection]
<shevy> put this code into prison!
hfor has joined #ruby
thatslifeson has quit [Ping timeout: 240 seconds]
paradoja has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
rocknrollmarc has quit [Ping timeout: 255 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
ta has quit [Ping timeout: 252 seconds]
mloveless has quit [Remote host closed the connection]
tmtwd has joined #ruby
rkgudboy has joined #ruby
Aova has quit [Read error: Connection reset by peer]
pdoherty has joined #ruby
davidhq has joined #ruby
ghostpl has quit [Remote host closed the connection]
schickung has quit [Quit: schickung]
sigurding has quit [Read error: Connection reset by peer]
ponga has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 264 seconds]
CpuID2 has joined #ruby
pdoherty has quit [Ping timeout: 250 seconds]
Aova has joined #ruby
astrobunny has quit [Remote host closed the connection]
AlexRussia has joined #ruby
rkgudboy has quit [Remote host closed the connection]
nfk has joined #ruby
astrobunny has joined #ruby
Troy^ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arup_r> shevy: got some free time..
AlexRussia has quit [Excess Flood]
blackmesa has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
AlexRussia has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
towski_ has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
<shevy> never
<shevy> :-)
quimrstorres has quit [Remote host closed the connection]
eka has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
ta has joined #ruby
greenbagels has quit [Ping timeout: 252 seconds]
ionull has quit [Read error: Connection reset by peer]
piotrj has quit []
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CpuID2 has joined #ruby
arup_r has quit [Remote host closed the connection]
selaruvich has quit [Ping timeout: 252 seconds]
quimrstorres has joined #ruby
schickung has joined #ruby
ionull has joined #ruby
RDash has quit [Changing host]
RDash has joined #ruby
ta has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
Troy^ has joined #ruby
jerematic has joined #ruby
blackmesa has joined #ruby
sigurding has joined #ruby
bronson has joined #ruby
scripore has joined #ruby
apeiros_ has quit []
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
krz has joined #ruby
bMalum has joined #ruby
jerematic has quit [Ping timeout: 265 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
bronson has quit [Ping timeout: 246 seconds]
towski_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
keen__________53 has quit [Read error: Connection reset by peer]
eka has joined #ruby
Timgauthier has joined #ruby
konsolebox has joined #ruby
Lildirt|alted has quit [Read error: Connection reset by peer]
wottam has joined #ruby
ta has joined #ruby
keen__________53 has joined #ruby
sudog has joined #ruby
cjim has joined #ruby
Lildirt has joined #ruby
jottr has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
startupality has joined #ruby
ta has quit [Ping timeout: 252 seconds]
cjim has quit [Ping timeout: 252 seconds]
josephcs has quit [Quit: (null)]
abuzze has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 264 seconds]
tmtwd has quit [Remote host closed the connection]
abuzze has joined #ruby
arup_r has joined #ruby
ta has joined #ruby
startupality has quit [Quit: startupality]
alex88 has quit []
ajaiswal has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeekl has quit [Quit: jeekl]
colli5ion has quit [Read error: Connection reset by peer]
n1lo has joined #ruby
colli5io_ has joined #ruby
ta has quit [Ping timeout: 252 seconds]
shum has joined #ruby
sigurding has quit [Ping timeout: 244 seconds]
Vile` has quit [Ping timeout: 265 seconds]
zacstewart has joined #ruby
Meeh_ is now known as Meeh
apeiros_ has joined #ruby
tkuchiki has joined #ruby
shredding has quit [Quit: shredding]
Vile` has joined #ruby
bMalum has quit [Quit: bMalum]
charliesome has joined #ruby
shum has quit [Client Quit]
shum has joined #ruby
bMalum has joined #ruby
fantazo has joined #ruby
SOLDIERz has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ta has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Timgauthier has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
n1lo has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
n1lo has joined #ruby
mloveless has joined #ruby
arup_r has quit [Remote host closed the connection]
ta has quit [Ping timeout: 240 seconds]
jusmyth has quit [Quit: Leaving.]
Aova has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
phutchins has joined #ruby
Xeago has joined #ruby
Takle has quit [Remote host closed the connection]
ghostpl has joined #ruby
govg has joined #ruby
nolic has quit [Ping timeout: 252 seconds]
livathin_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
fantazo has quit [Ping timeout: 250 seconds]
nolic has joined #ruby
nateberkopec has joined #ruby
mloveless has quit [Ping timeout: 256 seconds]
Aova has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
livathinos has quit [Ping timeout: 252 seconds]
paradoja has joined #ruby
ghostpl has quit [Ping timeout: 240 seconds]
Lewix has joined #ruby
paradoja has left #ruby [#ruby]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has quit [Remote host closed the connection]
goodenough has quit [Remote host closed the connection]
stef204 has joined #ruby
mikedugan has joined #ruby
mikedugan has left #ruby ["Textual IRC Client: www.textualapp.com"]
Peppuz has joined #ruby
<Peppuz> hello
<Peppuz> how can I create relationships between posts in wordpress?
sevenseacat has quit [Remote host closed the connection]
arup_r has joined #ruby
<Peppuz> I'm talking about 'has_one' and 'has_many' relations
jonr22 has quit [Quit: WeeChat 0.4.2]
<apeiros_> Peppuz: wrong channel?
<Peppuz> in a book-author scenario
<tobiasvl> #php ?
<Peppuz> omg
<apeiros_> wordpress is php, no?
bMalum_ has joined #ruby
<Peppuz> xD
<Peppuz> sorry guys
anaeem1 has joined #ruby
<Peppuz> I hope that it din't offend you
<tobiasvl> haha
<apeiros_> totally
Timgauthier has quit [Read error: Connection reset by peer]
jottr has joined #ruby
<apeiros_> kickban won't suffice. therefore I won't do it.
<workmad3> Peppuz: w*******s is a dirty word
<workmad3> deserves censorship
<Peppuz> I'm forced to use that crap
Timgauthier has joined #ruby
<workmad3> my brother-in-law runs a WP-based company... I try to avoid association :P
ponga has joined #ruby
<Peppuz> stupid masses want wordpress
bMalum has quit [Ping timeout: 246 seconds]
bMalum_ is now known as bMalum
<Timgauthier> yeah thats because its popular
<Timgauthier> i'm going to try really hard not to get into that again :(
<Timgauthier> but if you want to build a nice site and need a cms, and are okay using php, i recommend kirbycms, getkirby.com
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
Ellypse_ has joined #ruby
nolic has quit [Remote host closed the connection]
<Peppuz> I'm not ok using php, but I'll check that out anyway, thanks Timgauthier
<apeiros_> odd, I thought wordpress was one of the better php cms'es?
<Timgauthier> wordpress is not a cms
shime has joined #ruby
<apeiros_> well, website lego toolkits
<apeiros_> or whatever this stuff is called
<Timgauthier> its not that either
<Timgauthier> its a blog platform
Takle has joined #ruby
<apeiros_> I thought it had grown beyond that?
<Timgauthier> but it has lots and lots of layers of tech
<Timgauthier> and so its easy for someone to break
<Timgauthier> no its still just a blog platform, people just use it and think of it as a CMS
oo_ has quit [Remote host closed the connection]
<Timgauthier> you log in and want to add content, it is still a post
<apeiros_> ok
ponga has quit [Ping timeout: 246 seconds]
* apeiros_ obviously never used it
<workmad3> the central system metaphor is still 'blog'
<Timgauthier> want to make a static page, cool, you don't really get to use a template for that, unless the template your using for your site has a sub template system for static pages
<Timgauthier> you want to make a part of the site that has the ability for people to update easily in the back end, sure, you rig up a sub blog for it, and then fuck around with it so it only ever shows the newest post
<Timgauthier> its a mess
<Timgauthier> don't ever use it ;)
Ellypse_ has quit [Read error: Connection reset by peer]
Ellypse_ has joined #ruby
<workmad3> Timgauthier: I know a site that uses wordpress to publish 'packages' for price comparison... the guy running it wanted to sort packages by price and asked my wife (who was being paid piece-work to fill in content) to sort all the prices and rank them numerically
<workmad3> Timgauthier: I told her 'don't do that... just put the price in as the ordering...'
<Timgauthier> that seems so convoluted my mind doesn't even follow
Takle has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
<Peppuz> workmad3, you need a plugin for that
<Timgauthier> you can't
<Peppuz> $129
<workmad3> 129
<Timgauthier> or you can, but you gotta write shit up for that no ?
<workmad3> works fine :P
<workmad3> or 12900
<workmad3> (if you include pence)
<Timgauthier> lol
jerematic has joined #ruby
<Peppuz> workmad3, don't worry, it's gonna break up your other plugins on the next update
<workmad3> Peppuz: not my site :)
tunaCanBruh has joined #ruby
<workmad3> and it's still better than re-ordering every single post every time a new 'package' needs to be added halfway through the list
thiagovsk has joined #ruby
rdark has quit [Read error: Connection reset by peer]
<Peppuz> no one knows how to answer my question btw, looks like it's actually a product for bloggers
rdark has joined #ruby
kristofferR has joined #ruby
jerematic has quit [Ping timeout: 264 seconds]
mkaesz has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
basichash has quit [Ping timeout: 250 seconds]
raphaelss has joined #ruby
yfeldblum has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba has joined #ruby
raphaelss has quit [Client Quit]
kristofferR has quit [Client Quit]
jottr has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
shum1 has quit [Quit: WeeChat 1.1.1]
shum1 has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
Ellypse_ has quit [Quit: Ellypse_]
cpt_yossarian has quit [Ping timeout: 245 seconds]
max96at|off is now known as max96at
<arup_r> >> { "0":[0,14,0,14] }
<eval-in__> arup_r => {:"0"=>[0, 14, 0, 14]} (https://eval.in/278592)
<arup_r> WoW
<arup_r> This is new.. How many of us aware of ?
Xeago has quit [Ping timeout: 250 seconds]
<tobiasvl> what's new?
<tobiasvl> I guess I was aware of it then, I can't see anything weird…
<arup_r> Try in your IRB... ofcourse below 2.2.0
<arup_r> and let me know
* apeiros_ knew
<arup_r> You are Rubyist we knew
pika_pika has joined #ruby
<arup_r> apeiros_: ^^
<apeiros_> how many are aware? probably very few.
<arup_r> It seems from tobiasvl: reaction ;)
tkuchiki has joined #ruby
ta has joined #ruby
n80 has joined #ruby
<tobiasvl> I wasn't aware it was added that recently, but I've known about it for years ;)
blackmes1 has joined #ruby
Morkel has quit [Quit: Morkel]
shredding has joined #ruby
ta has quit [Ping timeout: 252 seconds]
lethjakm1 has joined #ruby
ta has joined #ruby
Pharaoh2 has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
Pharaoh2 has quit [Client Quit]
livathin_ has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
ghostpl has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 246 seconds]
siso has quit [Quit: siso]
workmad3 is now known as wm3|away
n80 has quit [Quit: n80]
Troy^ has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
<railis> hey guys
sigurding has joined #ruby
jottr has joined #ruby
<railis> I'm trying to prepare some fancy test with ruby questions
<railis> can you imagine any syntax puzzles or something like that to be included?
astrobunny has quit [Remote host closed the connection]
<railis> ie: what's the difference between super, and super()
psy_ has quit [Quit: Leaving]
<railis> this kind of questions
Takle has joined #ruby
metadave has joined #ruby
<apeiros_> railis: precedence (and/or vs. && ||)
<apeiros_> railis: Proc.new sans block
revoohc has quit [Ping timeout: 255 seconds]
metadave has quit [Client Quit]
Aova has quit [Read error: Connection reset by peer]
<apeiros_> railis: scope of rhs of argument defaults (def foo(bar=@baz))
<apeiros_> empty splat: def foo(*)
<apeiros_> decomposition: a,(b,(c,d)) = 1,[2,[3,4]]
pdoherty has joined #ruby
<apeiros_> flip-flop, always good
<apeiros_> do/end vs. {} precedence
seal has joined #ruby
<railis> good good :)
blizzy has joined #ruby
selaruvich has joined #ruby
blackmes1 has quit [Ping timeout: 252 seconds]
Aova has joined #ruby
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CustosL1men has quit [Ping timeout: 250 seconds]
pdoherty has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
Peppuz has quit [Quit: This computer has gone to sleep]
bigeast has joined #ruby
Peppuz has joined #ruby
<shevy> hehe
spyderman4g63 has joined #ruby
<shevy> railis I got more. How do you query if a block was passed, and how to pass the block to another normal method
jerematic has joined #ruby
spyderma_ has joined #ruby
astrobunny has joined #ruby
DaniG2k has quit [Ping timeout: 245 seconds]
lioninawhat has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
commmmodo has quit [Quit: commmmodo]
sambao21 has joined #ruby
charliesome has quit [Quit: zzz]
spyderman4g63 has quit [Ping timeout: 250 seconds]
metadave has joined #ruby
metadave has quit [Client Quit]
ta has joined #ruby
<railis> shevy: that's good
<railis> 80% applicants doesn't know that
<shevy> oh and another one: what is the difference between @foo vs. @@foo
shellfu is now known as shellfu_afk
<shevy> well, that's just knowledge per se
quimrstorres has joined #ruby
<shevy> if they can solve things on their own then that should be worth more than just be a knowledge wiki
<tobiasvl> applicants!
<tobiasvl> is this a hiring quiz?
<tobiasvl> so evil
spyderma_ has quit [Ping timeout: 245 seconds]
<railis> tobiasvl: nope
<railis> this is rather creative day puzzle
scripore has joined #ruby
<railis> such questions I ask rather as additional thing
<railis> on interview
ta has quit [Ping timeout: 252 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<railis> knowing how to write software with separated concerns, is more important for me than knowing syntastic sugar
lrocknrolmarc has joined #ruby
livathinos has joined #ruby
quimrstorres has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
Pharaoh2 has joined #ruby
drkyro has joined #ruby
drkyro has quit [Client Quit]
Pharaoh2 has quit [Max SendQ exceeded]
silkfox has joined #ruby
hiyosi has joined #ruby
Pharaoh2 has joined #ruby
jimms has quit [Remote host closed the connection]
CustosL1men has joined #ruby
paulfm has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<shevy> synthetic sugar?
ghostpl has quit [Remote host closed the connection]
<arup_r> Humm
lrocknrolmarc has quit [Ping timeout: 245 seconds]
<arup_r> shevy: Just I discovered and didn't allow any other to use it before me... :-) http://stackoverflow.com/questions/28058336/how-to-call-super-super-method-in-ruby/28345176#28345176
<shevy> ruby is pretty complex
<arup_r> :(
<arup_r> I know
* arup_r thinking to learn simple PhP again.
<tobiasvl> PHP is pretty complex
lrocknrolmarc has joined #ruby
DaniG2k has joined #ruby
<arup_r> Aww!
DukeJames has quit [Ping timeout: 245 seconds]
<shevy> omg
blackmes1 has joined #ruby
<shevy> 16 years old and he has 20x as much karma than I have :(
<arup_r> Ok.. then shevy: wait,, another omg I'll show you
<tobiasvl> wunderkind
DukeJames has joined #ruby
<shevy> omg
<arup_r> hehee...
<shevy> arup_r he is half your age!!!
pandaant has quit [Remote host closed the connection]
* arup_r feeling shy
* arup_r thinking why he didn't ask his Dad to get a white box when he was *
<arup_r> 8
<arup_r> shevy: I am 27
<arup_r> how can he be half..
<arup_r> :(
spyderman4g63 has joined #ruby
<shevy> arup_r well he is 15
<arup_r> humm..
<shevy> when he is 16 you'll be almost 32!
spyderma_ has joined #ruby
<shevy> when he is 17, and you 34
<shevy> :-)
<arup_r> Arithmetic progression
<shevy> well he'll have you in 4 years
<shevy> almost
<shevy> hahaha
* arup_r always got average marks in Math
livathinos has quit [Remote host closed the connection]
<shevy> I almost flunked in math
apurcell has joined #ruby
<shevy> I am only somewhat good in head calculations
amil has quit [Quit: Leaving...]
ta has joined #ruby
revoohc has joined #ruby
<arup_r> That's a mature calculation..
lrocknrolmarc has quit [Ping timeout: 264 seconds]
<arup_r> It needs in our day-to-day life
CustosL1men has quit [Ping timeout: 265 seconds]
livathin_ has joined #ruby
livathin_ has quit [Remote host closed the connection]
livathinos has joined #ruby
tunaCanBruh has joined #ruby
<shevy> "Python-2.7.9 is used by many scripts. Ruby-2.2.0 is used by some scripts, mostly within mtx_context which is part of conTeXt, but also for one or two others, such as match_parens, which are generally useful."
<shevy> wow
<shevy> someone is using ruby
spyderman4g63 has quit [Ping timeout: 245 seconds]
brb3 has joined #ruby
<arup_r> Yes.. Just 15 days back.. I got free Ruby 2.0 version as a patch in my openSUSE
<arup_r> they accepted but so late
<arup_r> :)
apurcell has quit [Ping timeout: 246 seconds]
<arup_r> That's a system Ruby
<arup_r> But I use Rvm..
<shevy> distribution ruby's are often so outdated
ta has quit [Ping timeout: 250 seconds]
<arup_r> humm,
tier has joined #ruby
zacstewa_ has joined #ruby
marr has quit [Read error: Connection reset by peer]
seal has quit [Quit: Ex-Chat]
blackmes1 has quit [Ping timeout: 252 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
ta_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
triple_b has joined #ruby
sankaber has joined #ruby
piotrj has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sigurding has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
Stany has joined #ruby
alex88 has joined #ruby
Xeago has joined #ruby
LudicrousMango has quit [Ping timeout: 245 seconds]
last_staff has quit [Quit: last_staff]
sigurding has joined #ruby
DaniG2k has quit [Ping timeout: 240 seconds]
tier_ has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
rocknrollmarc has joined #ruby
Tamae has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Ping timeout: 245 seconds]
adriancb has joined #ruby
astrobunny has quit [Remote host closed the connection]
arup_r has quit []
GreatSUN has joined #ruby
<GreatSUN> re
tier has quit [Ping timeout: 264 seconds]
n80 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
Aswebb__ has joined #ruby
sinkensabe has joined #ruby
schickung_ has joined #ruby
n80 has quit [Client Quit]
paradoja has joined #ruby
shredding has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
n80 has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
Aswebb_ has quit [Ping timeout: 265 seconds]
lkba_ has joined #ruby
aep_ has quit [Ping timeout: 265 seconds]
shredding has joined #ruby
tus has joined #ruby
Sid05 has joined #ruby
Timgauthier has quit [Ping timeout: 265 seconds]
fredsir has quit [Ping timeout: 265 seconds]
crome has quit [Ping timeout: 265 seconds]
crome has joined #ruby
fredsir has joined #ruby
ta has joined #ruby
aep has joined #ruby
schickung has quit [Ping timeout: 265 seconds]
Gonzih has quit [Ping timeout: 265 seconds]
schickung_ is now known as schickung
Fraeon has quit [Ping timeout: 246 seconds]
Gonzih has joined #ruby
CustosL1men has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
Fraeon has joined #ruby
lioninawhat has joined #ruby
shime has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
livathinos has quit []
DaniG2k has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
d10n-work has joined #ruby
jgt has joined #ruby
p0wn3d_mhs has quit [Remote host closed the connection]
St1gma has quit [Remote host closed the connection]
<d10n-work> Is there a shorter way to do this? http://pastebin.mozilla.org/8561800
St1gma has joined #ruby
Aova has quit [Read error: Connection reset by peer]
p0wn3d_mhs has joined #ruby
zenith_ has joined #ruby
mloveless has joined #ruby
<mikecmpbll> d10n-work: probably not.
phutchins has joined #ruby
jerius has joined #ruby
juanpablo_ has joined #ruby
ghostpl has joined #ruby
penzur has joined #ruby
mrmargolis has joined #ruby
anaeem1 has quit [Remote host closed the connection]
jerius has quit [Client Quit]
zenith_ has quit [Ping timeout: 245 seconds]
anaeem1_ has joined #ruby
Aova has joined #ruby
cpruitt has joined #ruby
dblessing has joined #ruby
mloveless has quit [Ping timeout: 246 seconds]
DaniG2k has quit [Quit: leaving]
ta has quit [Ping timeout: 252 seconds]
sigurding has quit [Read error: Connection reset by peer]
phutchins has quit [Ping timeout: 245 seconds]
seal has joined #ruby
ta has joined #ruby
sigurding has joined #ruby
nolic has joined #ruby
amystephen has joined #ruby
DEA7TH has joined #ruby
livingstn has joined #ruby
freerobby has quit [Quit: Leaving.]
AFKGeek has joined #ruby
allcentury has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
Xeago has quit [Remote host closed the connection]
momomomomo has joined #ruby
avril14th has quit [Ping timeout: 255 seconds]
wm3|away is now known as workmad3
lioninawhat has quit [Remote host closed the connection]
jerius has joined #ruby
cpruitt has quit [Quit: cpruitt]
triple_b_ has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jobewan has joined #ruby
fryguy9 has joined #ruby
Kruppe has quit [Quit: ZNC - http://znc.in]
scripore has quit [Quit: This computer has gone to sleep]
avril14th has joined #ruby
jerius has quit [Client Quit]
triple_b has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
seal has quit [Quit: Ex-Chat]
fantazo has joined #ruby
lxsameer has quit [Quit: Leaving]
Kruppe has joined #ruby
<shevy> d10n-work I guess you can't make this shorter because you need to tap into those methods
josephndenton has joined #ruby
jerius has joined #ruby
marr has joined #ruby
oo_ has joined #ruby
mischief has quit [Ping timeout: 265 seconds]
danman has joined #ruby
werelivinginthef has joined #ruby
devdazed has joined #ruby
bronson has joined #ruby
rbennacer has joined #ruby
Takle has quit [Remote host closed the connection]
n1lo has quit [Quit: Leaving]
noop has quit [Ping timeout: 245 seconds]
oleo has joined #ruby
Takle has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
psy_ has joined #ruby
sent1nel has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
timonv has quit [Ping timeout: 255 seconds]
timonv has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krz has quit [Quit: WeeChat 1.0.1]
codecop has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
pu22l3r has joined #ruby
trufflesnout has joined #ruby
shredding has quit [Quit: shredding]
BTRE has quit [Quit: back in two shakes]
roshanavand has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
lethjakm1 has joined #ruby
enebo has joined #ruby
mloveless has joined #ruby
rbennacer has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
piotrj has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
piotrj has joined #ruby
scripore has joined #ruby
bigeast has left #ruby [#ruby]
shay- has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
waynerade has joined #ruby
mloveless has quit [Ping timeout: 245 seconds]
noop has joined #ruby
Pharaoh2_ has joined #ruby
<shay-> hi, I have an array a with hashes and I want to check if the key "installed" is not null or empty in all hashes. how to to that?
sankaber has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 255 seconds]
sankaber has joined #ruby
<apeiros_> shay-: use Array#all? and in the block .nil? and .empty?
<apeiros_> note: it's nil in ruby, not null.
<shay-> ok thanks i will give it a try
zenith_ has joined #ruby
<apeiros_> alternatively .none? with inversed condition in the block
<apeiros_> *inverted
Pharaoh2 has quit [Ping timeout: 256 seconds]
EvanFreeman has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
SOLDIERz has quit [Quit: Be back later ...]
oleo is now known as Guest11037
oleo__ has joined #ruby
krisquigley has joined #ruby
Takle has quit [Remote host closed the connection]
Guest11037 has quit [Ping timeout: 240 seconds]
oleo__ has quit [Read error: Connection reset by peer]
Zamyatin has joined #ruby
mloveless has joined #ruby
piotrj has quit [Read error: Connection reset by peer]
oleo__ has joined #ruby
ta has quit [Read error: Connection timed out]
spider-mario has joined #ruby
lolmaus has joined #ruby
top4o has joined #ruby
mdw has joined #ruby
<YamakasY> anyone seeing an issue in this script why having to nics it´s all putted in one file ? http://pastebin.com/9HXzxSKz
tjohnson has joined #ruby
ta has joined #ruby
<tobiasvl> what?
Trynemjoel has quit [Ping timeout: 272 seconds]
lmickh has joined #ruby
<YamakasY> tobiasvl, when I have one interface it´s all fine, all needed stuff is in there, but when I have two, both are placed in one file and the second one as the cat lines above it
<YamakasY> so it does not loop
<YamakasY> as it shoud
<YamakasY> should
<YamakasY> maybe the EOL should be lower
<YamakasY> EOF
<IceDragon> Its the same template isn't it...
Trynemjoel has joined #ruby
Aova has quit [Read error: Connection reset by peer]
Takle has joined #ruby
cphrmky has joined #ruby
jobewan has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
momomomomo has quit [Quit: momomomomo]
<YamakasY> yap
sinkensabe has joined #ruby
<YamakasY> I include this as ¨snippet¨
<IceDragon> YamakasY: From what I see, it should work correctly, assuming the elements in the @name.interfaces Array is "correct"
<IceDragon> @root*
<YamakasY> yap it should be like that
<YamakasY> let me see
aapole has quit [Ping timeout: 250 seconds]
<IceDragon> what does an interface.name look like?
<YamakasY> IceDragon, wrong :) I see it
einarj has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
<IceDragon> K
freerobby has joined #ruby
Aova has joined #ruby
top4o has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
momomomomo has joined #ruby
aryaching has joined #ruby
<YamakasY> IceDragon, thanks for pointing me out :D
PanzerModern has joined #ruby
krz has joined #ruby
<IceDragon> YamakasY: I find that querying is nice debugging method, so you're welcome
livathinos has joined #ruby
sinkensabe has quit [Remote host closed the connection]
lethjakm1 has joined #ruby
Xeago has joined #ruby
marr has quit [Ping timeout: 265 seconds]
<YamakasY> IceDragon, you mean asking ?
snath has quit [Ping timeout: 245 seconds]
* YamakasY gives IceDragon a new frigde :)
<IceDragon> 3: I don't need a fridge, but thanks
kamilc__ has joined #ruby
<YamakasY> but you will melt down
jrvlima has joined #ruby
banister has joined #ruby
neoxquick has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
jobewan has joined #ruby
<shevy> wait until his nemesis shows up
<shevy> the FireDragon
<IceDragon> no problem, shevy will just make another clone :P
<shevy> no, you are a singleton IceDragon
tagrudev has quit [Remote host closed the connection]
<IceDragon> o_____O Who's been tampering with my source code then!?
<shevy> you are the last of your kind
delianides has joined #ruby
<IceDragon> orz
<shevy> if you wanna mate you have to find a female green or blue dragon
<shevy> or even a fiery red one
it0a has joined #ruby
crueber has joined #ruby
Xeago_ has joined #ruby
lethjakm1 has quit [Ping timeout: 250 seconds]
<IceDragon> (⌐■_■)
<IceDragon> Challenge accepted
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> I am trying to compilex latex :(
<shevy> erm, *compile
phutchins has joined #ruby
blizzy has quit [Ping timeout: 244 seconds]
nickjj has quit [Quit: Leaving]
blackmes1 has joined #ruby
sambao21 has joined #ruby
<IceDragon> Is compilex a new compilation method?
<IceDragon> Sounds interesting, how does it work!?
<wasamasa> shevy: `pdflatex document.tex`
blizzy has joined #ruby
<wasamasa> shevy: or if you're super-edgy, replace pdflatex with xelated or lualatex
Xeago has quit [Ping timeout: 264 seconds]
jerematic has quit [Remote host closed the connection]
sigurding has quit [Ping timeout: 264 seconds]
sigurding has joined #ruby
Pharaoh2_ is now known as Pharaoh2
jerematic has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
codecop has joined #ruby
rbennacer has quit [Remote host closed the connection]
<shevy> IceDragon :P right now I am working through texlive
AFKGeek has quit [Quit: Fades into the shadows]
<IceDragon> P:
rbennacer has joined #ruby
<IceDragon> I've never used latex so I have no idea what half of this stuff is
DukeJames has quit [Ping timeout: 244 seconds]
lolmaus has quit [Quit: Konversation terminated!]
aganov has quit [Remote host closed the connection]
<shevy> yeah
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> I would not want to have to learn it either but I'll have to write scientific papers sooner or later
freerobby has quit [Quit: Leaving.]
apurcell has joined #ruby
livathinos has quit []
freerobby has joined #ruby
<wasamasa> shevy: texlive is just a tex distribution
<shevy> I want it all!
<wasamasa> shevy: it doesn't impose the choice of how to compile your document on you
zzzbra has joined #ruby
nanoyak has joined #ruby
Channel6 has joined #ruby
<workmad3> shevy: why not hire someone to write the papers for you? :P
<shevy> nah
nanoyak has quit [Remote host closed the connection]
Ankhers has joined #ruby
<shevy> that would be like renting a lamborghini!
nanoyak has joined #ruby
jobewan has quit [Quit: Leaving]
jobewan has joined #ruby
<workmad3> shevy: heh :) I know someone in a CS department who has a team of RAs, and one of them has basically the full-time job of writing up results into publishable papers for the rest of them :)
apurcell has quit [Ping timeout: 245 seconds]
noop has quit [Ping timeout: 245 seconds]
commmmodo has joined #ruby
Soda has joined #ruby
nickjj has joined #ruby
noop has joined #ruby
dreinull75 has quit [Remote host closed the connection]
havenwood has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
dreinull75 has joined #ruby
rippa has joined #ruby
danman has quit [Quit: danman]
gheegh has joined #ruby
Diabolik has joined #ruby
GaryOak_ has joined #ruby
riotjone_ has quit [Remote host closed the connection]
amundj has quit [Ping timeout: 245 seconds]
einarj has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
noop has quit [Quit: Leaving]
beneggett has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
pasv_ has quit [Ping timeout: 244 seconds]
snath has joined #ruby
anaeem1 has joined #ruby
lethjakm1 has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
momomomomo has joined #ruby
beneggett has quit [Client Quit]
cicloid has quit [Ping timeout: 245 seconds]
anaeem1 has quit [Remote host closed the connection]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
shay- has left #ruby [#ruby]
Channel6 has quit [Quit: Leaving]
mengu has quit []
anaeem1 has joined #ruby
davedev2_ has joined #ruby
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev2_ has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 250 seconds]
anaeem1 has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 246 seconds]
Macaveli has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
mitchellhenke has joined #ruby
anaeem1_ has joined #ruby
sambao21 has quit [Client Quit]
beneggett has joined #ruby
beneggett has quit [Client Quit]
kwd has quit [Quit: kwd]
paulfm has quit [Ping timeout: 252 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
wallerdev has joined #ruby
_maes_ has joined #ruby
asmodlol has joined #ruby
doobi-sham-95717 has joined #ruby
shum1 has quit [Quit: WeeChat 1.1.1]
pasv_ has joined #ruby
mdw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CustosL1men has quit [Ping timeout: 245 seconds]
ghostpl has quit [Remote host closed the connection]
dfinninger has joined #ruby
sambao21 has joined #ruby
skrite has joined #ruby
skrite has quit [Remote host closed the connection]
shum1 has joined #ruby
Alayde has joined #ruby
<Alayde> On redhat based distributions, if a gem is installed as an RPM (e.g. rubygem-net-ssh)..is there any kind of magic I need to require it? Just doing 'require rubygems' and 'require net-ssh' in my script don't seem to be working
lethjakm1 has joined #ruby
jrvlima has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
<apeiros_> Alayde: require is a method, the argument is a string. so you can't just have a bare word. i.e. `require "rubygems"`, not `require rubygems`
Aova has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
<apeiros_> and net-ssh is required as net/ssh
x77686d has joined #ruby
<apeiros_> but maybe you want to elaborate your "not working" (as that's a rather useless problem description)
<Alayde> apeiros_: It was kind of useless wasn't it
piotrj has joined #ruby
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Alayde> apeiros_: LoadError: no such file to load -- net/ssh
<Alayde> or any gem installed as an RPM for that matter
<apeiros_> and you're using the ruby installed via rpm?
sent1nel has quit [Remote host closed the connection]
<Alayde> Correct
mikepack has joined #ruby
momomomomo has quit [Quit: momomomomo]
<apeiros_> then IMO it should work. certainly does in non-RPM ecosystem.
i0n_ has joined #ruby
i0n_ is now known as i0n
<apeiros_> (just verified)
lethjakm1 has quit [Ping timeout: 245 seconds]
oleo__ is now known as oleo
i0n was kicked from #ruby by apeiros_ [you're not welcome here]
<Alayde> apeiros_: Yeah I've a sneaking suspicion there's some other bullshit going on on this server. Apparently my predacessors didn't believe in RVM
tyfighter has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
_mynameis has joined #ruby
jrvlima has joined #ruby
<shevy> well you wont need rvm if you have only one version :)
<apeiros_> Alayde: I have no direct experience with rpm, but second hand experience was rather troublesome. might stem from me not understanding rpm idioms, though.
<apeiros_> that is, ruby + rpm
jusmyth has joined #ruby
Aova has joined #ruby
jusmyth has quit [Client Quit]
piotrj has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
<apeiros_> not sure, does suse use rpm? if so, try asking darix over in #ruby-lang. he should have good knowledge.
<Alayde> apeiros_: Roger that. Appreciate the help
kaspertidemann has quit []
mkaesz has quit [Remote host closed the connection]
<apeiros_> oh, wait, apt was the trouble maker, not rpm. I don't even have second hand experience with rpm. sorry :D
<Alayde> lol it's all good
yfeldblum has joined #ruby
gsd has joined #ruby
RitterJack has joined #ruby
Kricir has joined #ruby
<Alayde> Ah fuck
<Alayde> I think I figured it out
<Alayde> The gem path on the VM is a bit fucked. Well at least it makes sense now
sigurding has quit [Quit: sigurding]
bronson has joined #ruby
hamakn has quit [Remote host closed the connection]
droidburgundy has joined #ruby
jimms has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
__chris has joined #ruby
triple_b has joined #ruby
sinkensabe has joined #ruby
triple_b has quit [Client Quit]
bronson has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
schickung has quit [Quit: schickung]
lethjakm1 has joined #ruby
zenith_ has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
<IceDragon> shevy: I just shot myself in the foot with this switch case in C o_O I have no idea how it works anymore
arup_r has joined #ruby
<havenwood> IceDragon: Write it in mruby and embed it in your C.
<shevy> switch case?
cpt_yossarian has joined #ruby
<IceDragon> havenwood: Thats exactly what it is!
<havenwood> IceDragon: Ha, nice!
tyfighter has quit [Quit: tyfighter]
apeiros_ has quit [Ping timeout: 264 seconds]
<IceDragon> shevy: in ruby terms, its a "case when"
lethjakm1 has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
nb_bez___ has joined #ruby
Zai00 has quit [Quit: Zai00]
<IceDragon> shevy: I'm trying to handle method overloading for a Vector3 (see how this is getting bad already), you can pass in a Vector3, 3 Numeric, or a combination of: Vector1, Vector2, or Numeric
<IceDragon> Its the scariest shit ever written
greenarrow has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
chrishough has joined #ruby
<YamakasY> IceDragon, mhh stille same issue, I get this: http://pastebin.com/KjzH7EJx
startupality has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
<workmad3> IceDragon: mmm, linear algebra library
nolic has quit [Remote host closed the connection]
<workmad3> IceDragon: how about multiplication with matrices too? :D
<IceDragon> workmad3: DONT YOU DARE PUSH IT
<workmad3> IceDragon: too late
* workmad3 pushes
* IceDragon explodes
<workmad3> woo!!!
* workmad3 make smores
<IceDragon> YamakasY: looks like your template didn't print out the "cat >" stuff before the first interface (eth2)
<workmad3> *makes
<Xeago_> Alayde: I've done ruby installs with both rpm and debian, both were painful enough to not use their respective packages
<YamakasY> IceDragon, indeed, but why
<IceDragon> YamakasY: can you link me the template again?
AlexRussia has quit [Ping timeout: 265 seconds]
<YamakasY> IceDragon, ^^
momomomomo has joined #ruby
<IceDragon> I'll try it locally and get back to you
mdw has joined #ruby
ixti has joined #ruby
<workmad3> IceDragon: what would be really awesome is if you could support dirac's bra-ket notation ;)
alex88 has quit []
* IceDragon picks up the pickaxe book and proceeds to chop self with it
wallerdev has quit [Quit: wallerdev]
<YamakasY> IceDragon, kewl thanks
sambao21 has quit [Quit: Computer has gone to sleep.]
Zamyatin has joined #ruby
Takle has quit [Remote host closed the connection]
commmmodo has quit [Quit: commmmodo]
Sp4rKy has quit [Changing host]
Sp4rKy has joined #ruby
lethjakm1 has joined #ruby
<workmad3> IceDragon: would you explode again if I asked about co-vectors, inner and outer product spaces, vector fields and what-not? :D
<Diabolik> lol havenwood im still struggling with this
pengin has joined #ruby
<Diabolik> i've read a chapter of a book on array#map
<IceDragon> workmad3: I'd pretty much implode, and then there wouldn't be anything left to explode
<workmad3> IceDragon: hmm... considering you already exploded, you may need to implode before you can explode again ;)
<IceDragon> replode
<IceDragon> YamakasY: What erb library are you using?
<IceDragon> The stdlib one or erubis?
<YamakasY> IceDragon, whoops, it´s foreman..
jrvlima has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<YamakasY> need to check
spyderma_ has quit [Ping timeout: 252 seconds]
scripore has joined #ruby
<YamakasY> IceDragon, can´t say... I think erubis
<IceDragon> ok
<YamakasY> I think!
Takle has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
<YamakasY> Asked, noone answers in the channel
shum has quit [Quit: WeeChat 1.1.1]
jrvlima has joined #ruby
shum has joined #ruby
ta has quit [Ping timeout: 252 seconds]
momomomomo has quit [Ping timeout: 250 seconds]
jrvlima has quit [Client Quit]
<Alayde> Xeago_: Yeah it's shit. A combination of RVM/gem is how it should be done, alas I don't get to call the shots here :(
<Xeago_> RVM, yuck!
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JohnBat26 has joined #ruby
hmnhf has quit [Quit: Konversation terminated!]
Hobogrammer has joined #ruby
<IceDragon> YamakasY: well, it rendered correctly for me, I'll post a gist with my test program
<Alayde> Xeago_: Really? Do you prefer rbenv?
baroquebobcat has joined #ruby
dumdedum has quit [Quit: foo]
msgodf has quit [Ping timeout: 255 seconds]
Zamyatin has joined #ruby
riotjones has joined #ruby
Zamyatin has quit [Client Quit]
<Xeago_> Alayde: no
<havenwood> Diabolik: Try replacing the `__`s to make each of these statements return `true`: https://gist.github.com/anonymous/fb723016dc441628ec67
<Xeago_> currently use essentially chruby but written to integrate with our other infrastructure with dynamic paths
<havenwood> Diabolik: Try then in irb/pry.
<havenwood> chruby \o/
<Diabolik> havenwood i got the map function working fine
<YamakasY> IceDragon, thanks man! pasted it into foreman :)
<Alayde> Huh, didn't even know chruby was a thing
<Diabolik> its getting the interpolation
<Alayde> havenwood: aye, just google searched it
<Xeago_> and whenever we're trying new things, we just ruby-install and chruby
<Alayde> looks pretty neat
<havenwood> Diabolik: Ah, well good to practice mapping anyways. :) Sec, phone.
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_ixti_ has joined #ruby
<Xeago_> So we bundle ruby with our packages nowadays as a dependent package, and the environment for each application is set up to just know of that ruby and no other
<Xeago_> and gems are bundled with the build as well
sigurding has joined #ruby
<Xeago_> we haven't really used chgems yet though
ixti has quit [Ping timeout: 245 seconds]
B1n4r10 has joined #ruby
mary5030 has quit [Remote host closed the connection]
tier has joined #ruby
jrvlima has joined #ruby
<IceDragon> YamakasY: I made a few minor changes and updated the gist, now I must do my daily walk, I hope things go fine for you :)
<workmad3> Xeago_: I cut chruby out of the mix with my chef stuff :) only use ruby-install and use chef resources to expose the environment for a specific ruby to other parts of the automation
<YamakasY> IceDragon, ok thanks mate!
riotjones has quit [Ping timeout: 245 seconds]
Sid05_ has joined #ruby
<Xeago_> workmad3: yea that's essentially how we do it too :)
<Xeago_> we don't chef, we're a puppetshop
mitchell_ has joined #ruby
<workmad3> Xeago_: if you're doing that, why bother installing chruby? or do you only install that on dev machines? :)
zenith_ has joined #ruby
tier_ has quit [Ping timeout: 250 seconds]
<Xeago_> for trying out new versions, custom patches, things like that
SOLDIERz has joined #ruby
<Xeago_> we have a ruby-install puppet resource to set things up, but we also have it as a dh_ruby-install directive
penzur has quit [Ping timeout: 252 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<Xeago_> which will read .ruby-version or Gemfile
Sid05 has quit [Ping timeout: 245 seconds]
Sid05_ is now known as Sid05
ghr has quit [Ping timeout: 250 seconds]
lethjakm1 has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
timonv has quit [Ping timeout: 245 seconds]
stunder has joined #ruby
mitchellhenke has quit [Ping timeout: 245 seconds]
<workmad3> Xeago_: ah, I set up my chef deploy to read .ruby-version from the git checkout and install that version of ruby if it's present
shum has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<workmad3> Xeago_: it also stamps out a script to set up the environment if I need to test something out on the console :)
tjbiddle has joined #ruby
Peppuz has quit [Quit: Leaving]
apeiros_ has joined #ruby
Alayde has left #ruby ["WeeChat 1.0"]
jottr has quit [Ping timeout: 240 seconds]
lethjakm1 has quit [Ping timeout: 244 seconds]
pdoherty has quit [Remote host closed the connection]
AlexRussia has joined #ruby
banister has joined #ruby
momomomomo has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
catsoup has joined #ruby
IrishGringo has joined #ruby
sambao21 has joined #ruby
n80 has quit [Quit: n80]
sigurding has quit [Quit: sigurding]
triple_b has joined #ruby
moted has joined #ruby
livathinos has joined #ruby
livathinos has quit [Client Quit]
n80 has joined #ruby
ta has joined #ruby
lyuben_ has joined #ruby
Sid05 has quit [Quit: Sid05]
maximski has joined #ruby
Aova has quit [Read error: Connection reset by peer]
wldcordeiro_ has quit [Quit: Leaving]
wldcordeiro_ has joined #ruby
fryguy9 has quit [Quit: Leaving.]
rbennacer has quit [Remote host closed the connection]
bricker has joined #ruby
Sid05 has joined #ruby
Sid05 has quit [Client Quit]
rylev has joined #ruby
ta has quit [Ping timeout: 245 seconds]
checkit has joined #ruby
ldnunes has quit [Ping timeout: 244 seconds]
kobain has joined #ruby
Timgauthier has quit [Quit: Cities XXL is go!]
Sid05 has joined #ruby
ldnunes has joined #ruby
<Diabolik> havenwood here?
lethjakm1 has joined #ruby
Aova has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Lemur has joined #ruby
pdoherty has joined #ruby
deric_skibotn has joined #ruby
momomomomo_ has joined #ruby
shum has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
thisirs has joined #ruby
spyderman4g63 has joined #ruby
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
uptownhr has joined #ruby
avahey has joined #ruby
Sid05 has quit [Ping timeout: 252 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lethjakm1 has quit [Ping timeout: 245 seconds]
aswen has quit [Ping timeout: 245 seconds]
davidhq has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
krisquigley has quit [Ping timeout: 265 seconds]
swgillespie has joined #ruby
tier has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
swgillespie has quit [Client Quit]
apurcell has joined #ruby
apurcell has quit [Read error: Connection reset by peer]
apurcell has joined #ruby
Takle has quit [Remote host closed the connection]
colli5io_ has quit []
antgel has quit [Ping timeout: 252 seconds]
scripore has joined #ruby
anaeem1_ has quit [Quit: Leaving...]
anaeem1 has joined #ruby
zenith__ has joined #ruby
Lemur has quit [Remote host closed the connection]
sambao21 has joined #ruby
hemanth has joined #ruby
mikecmpbll has quit [Ping timeout: 245 seconds]
<havenwood> Diabolik: So you're stuck on interpolation?
patrick99e99 has quit [Read error: Connection reset by peer]
apurcell has quit [Ping timeout: 240 seconds]
pengin has quit [Remote host closed the connection]
Jackneill has joined #ruby
freerobby has quit [Quit: Leaving.]
ohaibbq has joined #ruby
pengin has joined #ruby
freerobby has joined #ruby
zenith_ has quit [Ping timeout: 245 seconds]
drkyro has joined #ruby
yfeldblum has joined #ruby
maximski has quit []
bronson has joined #ruby
selaruvich has quit [Quit: Leaving]
ohaibbq_ has joined #ruby
<havenwood> Diabolik: Or just the test isn't passing?
drkyro has quit [Client Quit]
<havenwood> Diabolik: Show us your code!
zenith__ has quit [Ping timeout: 245 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackoperat has joined #ruby
pengin has quit [Ping timeout: 250 seconds]
ohaibbq has quit [Ping timeout: 245 seconds]
<Diabolik> sorry havenwood
<Diabolik> was working
<Diabolik> def add_two(array)
<Diabolik> a = array.map { |n| n + 2 }
<Diabolik> "#{}"
<Diabolik> end
<Diabolik> my map function is now correct
yfeldblum has quit [Ping timeout: 264 seconds]
ohaibbq_ has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Quit: tjbiddle]
shum has quit [Quit: WeeChat 1.1.1]
<havenwood> Diabolik: That method always returns an empty String.
<havenwood> >> "#{}"
<eval-in__> havenwood => "" (https://eval.in/278747)
shum has joined #ruby
<Diabolik> yeah that's my
pdoherty has quit [Remote host closed the connection]
<Diabolik> problem
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Diabolik> it needs to print a string of 1 + 2 = 3
<Diabolik> if the array its taking as an argument is [1,2, 3]
<havenwood> Diabolik: Go through this Gist in irb or pry and replace `__` to make them all return `true`: https://gist.github.com/anonymous/fb723016dc441628ec67
squar1sm has joined #ruby
allcentury has joined #ruby
withnale_ has quit [Quit: Be back later ...]
<havenwood> Diabolik: If you get confused on a particular part just ask in this channel.
nanoyak has joined #ruby
<havenwood> Diabolik: Do all six of them. It should help you understand.
momomomomo has quit [Quit: momomomomo]
<Diabolik> on line 7
<Diabolik> i get
<Diabolik> 2.2.0 :004 > [1, 2, 3].map { |n| n * 1.to_s } == ['1', '2', '3']
<Diabolik> TypeError: String can't be coerced into Fixnum
<Diabolik> from (irb):4:in `*'
<Diabolik> from (irb):4:in `block in irb_binding'
<Diabolik> from (irb):4:in `map'
<Diabolik> from (irb):4
<Diabolik> from /Users/Andrew/.rvm/rubies/ruby-2.2.0/bin/irb:11:in `<main>'
pengin has joined #ruby
blackoperat has quit [Quit: Leaving]
krz has quit [Quit: WeeChat 1.0.1]
<havenwood> >> 1 * 1.to_s
<eval-in__> havenwood => String can't be coerced into Fixnum (TypeError) ... (https://eval.in/278760)
<havenwood> >> 1.to_s
<eval-in__> havenwood => "1" (https://eval.in/278761)
shum has quit [Quit: WeeChat 1.1.1]
<havenwood> >> "1 * 1 == #{1 * 1}"
<eval-in__> havenwood => "1 * 1 == 1" (https://eval.in/278762)
deol has joined #ruby
<havenwood> Diabolik: Get just that inner part working.
x77686d has quit [Quit: x77686d]
zachrab has joined #ruby
shum has joined #ruby
recurrence has joined #ruby
maletor has joined #ruby
<jhass> >> 1 * "1"
<eval-in__> jhass => String can't be coerced into Fixnum (TypeError) ... (https://eval.in/278763)
<arup_r> I am actually refactoring a huge method body to a new class XmlParser.. But not able to understand how can I refactor this part https://gist.github.com/aruprakshit/885f9fe35321001366ee#file-builder-rb-L12-L28
<havenwood> >> (1 * 1).to_s
<eval-in__> havenwood => "1" (https://eval.in/278764)
<arup_r> Idea please
skj3gg has joined #ruby
<Diabolik> havenwood
<Diabolik> [1, 2, 3].map { |n| (1*1).to_s } == ['1', '2', '3']
<Diabolik> returns false
<havenwood> Diabolik: Look at what it returns: [1, 2, 3].map { |n| (1*1).to_s
<havenwood> }
mdw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Diabolik> my irb just says false
<Diabolik> 2.2.0 :007 > [1, 2, 3].map { |n| (1*1).to_s } == ['1', '2', '3']
<Diabolik> => false
kyb3r_ has joined #ruby
<jhass> take away everything from the == to get what it returns
<havenwood> Diabolik: [1, 2, 3].map { |n| (1*1).to_s }
<havenwood> Diabolik: Where's the `n`?
<havenwood> Diabolik: Why times something by 1?
<Diabolik> because im trying to return ["1", "2", "3"]
<Diabolik> oh
jottr has joined #ruby
kristofferR has joined #ruby
<Diabolik> [1, 2, 3].map { |n| n.to_s } == ['1', '2', '3']
juanpablo_ has quit [Read error: Connection reset by peer]
knut has quit [Ping timeout: 244 seconds]
juanpablo_ has joined #ruby
<jhass> great! next one ;)
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<avril14th> Diabolik: [1,2,3].map(&:to_s)
<avril14th> >>[1,2,3].map(&:to_s)
<eval-in__> avril14th => ["1", "2", "3"] (https://eval.in/278766)
<havenwood> Diabolik: That's good, next!
<Diabolik> as soon as i try to do math though i get the fixnum error
kalusn has quit [Remote host closed the connection]
<jhass> avril14th: please, we're obviously far away from that ;)
<Diabolik> its my fourth day of learning ruby :*
<Diabolik> :(
towski_ has quit [Remote host closed the connection]
steveElsewhere has joined #ruby
B1n4r10 has joined #ruby
<jhass> doesn't mean unreachable!
sambao21 has quit [Quit: Computer has gone to sleep.]
<avril14th> Diabolik: you madethe hardest part
<havenwood> Diabolik: In irb try out `(2 * 2 * 2).to_s` and `"#{2 * 2 * 2}"`.
<arup_r> any help ?
qba73 has quit []
leafybasil has quit [Remote host closed the connection]
<Diabolik> ok havenwood
skj3gg has quit [Quit: ZZZzzz…]
<Diabolik> but i don't understand how to do math and get it to interpolate what i've done
<Diabolik> within the function
fryguy9 has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<jhass> I joined later, can you restate what your actual task is?
<steveElsewhere> why can I not find any scripted install method for ruby on windows?
Lewix has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
drkyro has joined #ruby
greenarrow has quit [Quit: 500]
wallerdev has joined #ruby
Ivision has joined #ruby
rocknrollmarc has joined #ruby
Lewix has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
<jhass> ah
<Ivision> hi
<havenwood> arup_r: you want to extract method? or what are you looking to do?
<jhass> Diabolik: yeah, you need map for that ;)
<Diabolik> jhass
<jhass> are you through all of havenwood's examples yet?
<Diabolik> no because i can't do math and then convert the result to a string
shum has quit [Client Quit]
<Diabolik> because i'm clearly missing something
shum has joined #ruby
<jhass> but you already did
<jhass> 1 * 1 is math
<havenwood> Diabolik: Did you try the `2 * 2 * 2`s I suggested in irb?
<jhass> to_s converts to a string
<Diabolik> yes havenwood
danjordan has quit [Quit: danjordan]
<Diabolik> jhass
<Diabolik> [1, 2, 3].map { |n| n.to_s } == ['1', '2', '3']
<Diabolik> that isn't math
<Diabolik> no?
<jhass> right
<havenwood> Diabolik: "#{2 * 2 * 2}" is math, yes?
<havenwood> >> "#{2 * 2 * 2}"
<eval-in__> havenwood => "8" (https://eval.in/278773)
danjordan has joined #ruby
<Diabolik> i agree havenwood
<Diabolik> but for my example
<Diabolik> i would need it to print out "2 * 2 *2 = 8
iliketurtles has joined #ruby
<Diabolik> for whatever sized array i have
ptrrr has joined #ruby
<jhass> Diabolik: let's reduce the problem
<jhass> can you compute the part that would go after the = in the string?
<Diabolik> yes
skj3gg has joined #ruby
LouisRoR has quit []
scripore has joined #ruby
<Diabolik> for example with an array of 1, 2, 3, i can return an array of 3, 4 and 5
<havenwood> >> two = 2; puts "I am a String. Inside a \#{} a two is a #{two}. So two plus two is #{two + two}."
<eval-in__> havenwood => I am a String. Inside a #{} a two is a 2. So two plus two is 4. ... (https://eval.in/278775)
lioninawhat has joined #ruby
<jhass> can you build a string like "1 + 2" where you don't know what 1 is, but have it in variable?
mikecmpbll has joined #ruby
lrocknrolmarc has joined #ruby
<jhass> like the last example in havenwood's gist
<Diabolik> im stuck on line 9 in his example
rocknrollmarc has quit [Ping timeout: 245 seconds]
<jhass> what did you try so far for it?
<Diabolik> [1, 2, 3].map { |n| n + 1(:&to_s) } == ['2', '3', '4']
<Diabolik> [1, 2, 3].map { |n| n + 1}(:&to_s) == ['2', '3', '4']
<jhass> avril14th: ^ see what you did there :P
<avril14th> holy cow
<avril14th> sorry about that
* Diabolik feels dumb
<jhass> Diabolik: forget that (&:to_s) exists for now, you don't need it for this
<Diabolik> ok
<jhass> okay, let's extract the body: n = 1; n + 1 gives us a number. How do we turn that number into a string?
lrocknrolmarc has quit [Ping timeout: 244 seconds]
Cadillactica has joined #ruby
<Diabolik> [1, 2, 3].map { |n| (n + 1).to_s} == ['2', '3', '4'
apurcell has joined #ruby
<Diabolik> ]
<jhass> ;)
rbennacer has joined #ruby
bronson has quit [Read error: Connection reset by peer]
bronson_ has joined #ruby
<jhass> awesome, next! ;)
<Diabolik> ok now for 11
<shevy> you are on your way to mastering ruby
paradoja has quit [Ping timeout: 245 seconds]
<Diabolik> shevy i detect a hint of sarcasm
apurcell has quit [Client Quit]
<shevy> no
<squar1sm> I think he was srs
<shevy> yeah
<Diabolik> oh i apologise
<Diabolik> at least zenspider isn't shouting at me today
<shevy> if I were sarcastic... hmm let me think what I would have written
mary5030 has joined #ruby
<shevy> he is always shouting ;)
apurcell has joined #ruby
_djbkd has joined #ruby
<squar1sm> Because ... this is important. You're learning lambdas and blocks which is beyond just ruby.
<Diabolik> problem is when i come to this channel im genuinely not looking for someone to give me the answers but people think i am
<squar1sm> You now could read Scala's map probably.
<shevy> can't think of sarcasm right now
<jhass> Diabolik: okay, so we can insert ruby code into a string using the #{} syntax: greeting = "Hi"; "#{greeting} world"
<shevy> you just haven't been using ruby for a sufficiently long time to be sarcastic!
<jhass> => "Hi world"
spyderman4g63 has quit [Read error: Connection reset by peer]
<shevy> yes I won't give you answers, jhass is
Takle has joined #ruby
corg has joined #ruby
spyderman4g63 has joined #ruby
<squar1sm> Diabolik: is this your first programming language (yes is ok)
<shevy> he is even evaluating his own code :)
ghr has joined #ruby
spyderman4g63 has quit [Client Quit]
<Diabolik> yes Sp4rKy
<Diabolik> squar1sm
Aova has quit [Read error: Connection reset by peer]
<shevy> cool
<shevy> always keep things simple
rylev has quit [Remote host closed the connection]
Ivision has left #ruby [#ruby]
<Diabolik> im doing a full stack course at bloc.io
<Diabolik> im on day 4
<Diabolik> of 12 weeks
scripore has quit [Quit: This computer has gone to sleep]
mostlybadfly has joined #ruby
<Diabolik> as i said to shevy last night i will buy you all your own weight in beer if you're ever in london
ta has joined #ruby
<Diabolik> jhass i understand the string interpolation syntax
scripore has joined #ruby
<jhass> okay, then 11 should be easy
BTRE has joined #ruby
<Diabolik> not how it incorporates into a map block
AlexRussia has quit [Ping timeout: 256 seconds]
<jhass> just the same way
GreatSUN has quit [Ping timeout: 246 seconds]
<jhass> you have a variable, you want to put it into a string and that string should be the result of the map block
<jhass> which it is by being the only expression inside it, so don't care too much about the last part for now
<Diabolik> [1, 2, 3].map { |n| n.to_s, "#{n.to_w}-thousand"} == ['1 one-thousand', '2 one-thousand', '3 one-thousand']
<Diabolik> that?
<Diabolik> holy shit no
<Diabolik> my irb just shat itself
<shevy> .map just applies something onto your data structure there. like: [1,2,3].map(&:to_s) # => ["1", "2", "3"]
fmcgeough has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
<jhass> shevy: please, no shortcuts here
<shevy> :)
<jhass> we can do them once the notions of expressions, statements etc. are cemented
x77686d has joined #ruby
<shevy> he learns fast!
<Diabolik> i know my code wasn't right
<Diabolik> but what's wrong with it
sanguisdex has joined #ruby
<shevy> Diabolik you must return something useful to .map
<jhass> Diabolik: but close, look at the desired output again
<jhass> Diabolik: is there something that's always the same that you missed maybe?
<shevy> Diabolik here is a longer explanation if you want it: http://stackoverflow.com/questions/12084507/what-does-the-map-method-do-in-ruby
pdoherty has joined #ruby
Aova has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
<shevy> Diabolik in your example, you should have the block return just one element ideally
workmad3 has quit [Ping timeout: 256 seconds]
<shevy> the n.to_s, there is confusing
ta has quit [Ping timeout: 255 seconds]
<shevy> not sure why you did that
<shevy> why did you do it?
<jhass> shevy: patience ;)
freerobby has quit [Quit: Leaving.]
Xiti has joined #ruby
<Diabolik> so [1, 2, 3].map { |n| puts "#{n + n.to_w}-thousand"} == ['1 one-thousand', '2 one-thousand', '3 one-thousand']
skj3gg has joined #ruby
<Diabolik> still makes irb go nutw
<Diabolik> *nuts
<shevy> now you puts it
<jhass> yes, probably with the same error
freerobby has joined #ruby
<shevy> where did you pick up the == there Diabolik?
<jhass> Diabolik: what is the n.to_w supposed to do?
<Diabolik> number to word?
<shevy> :)
<jhass> Diabolik: and why do you want to do that?
zachrab has quit [Remote host closed the connection]
<Diabolik> to get the n to go to one, two, three
<Diabolik> oh
<Diabolik> im a fucking retard
kyb3r_ has quit [Read error: Connection reset by peer]
bMalum has quit [Quit: bMalum]
zachrab has joined #ruby
zachrab has quit [Read error: Connection reset by peer]
tvw has quit [Remote host closed the connection]
<Diabolik> [1, 2, 3].map { |n| "#{n} one-thousand"} == ['1 one-thousand', '2 one-thousand', '3 one-thousand']
<jhass> easy, right? ;)
<wallerdev> lol
* Diabolik facedesks
zachrab has joined #ruby
nickjj has quit [Quit: Leaving]
<jhass> okay, now we have the building blocks for your original task, we just need to put them together
<Diabolik> question
<Diabolik> should my whole function be on one lne
<Diabolik> *ine
<Diabolik> **line
<Diabolik> within the map function
<wallerdev> doesnt have to be
<jhass> it's enough to solve it, yes
<Diabolik> ok il brb going to look at the rspec again
<jhass> little terminology aside: Ruby has no functions, only methods
x1337807x has joined #ruby
Xeago_ has quit [Remote host closed the connection]
dsh80 has joined #ruby
wottam has joined #ruby
<jhass> epitron: how disappointing
dsh80 has left #ruby [#ruby]
<epitron> :D
shum has quit [Quit: WeeChat 1.1.1]
_djbkd has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
uxp_ is now known as uxp
corg has left #ruby [#ruby]
shum has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
davidhq has joined #ruby
lidaaa has joined #ruby
<jhass> 7 commits
<bronson_> Dangit, I removed a runtime dependency from my gem but Rubygems and Bundler still claim it's required.
<Diabolik> so jhass
<Diabolik> a = array.map { |n| n + 2 }
sent1nel has joined #ruby
<Diabolik> do i put the interpolation within the {
<Diabolik> }
<jhass> yes
<bronson_> Does anyone know how I can get rubygems.org and bundler to forget that my gem ever required Nokogiri?
towski_ has joined #ruby
bronson_ is now known as bronson
arietis has joined #ruby
<bronson> grrrrrrRRRRRrrrr, I'm getting ready to just delete my gem and re-upload it.
<Diabolik> so jhass def add_two(array)
<Diabolik> a = array.map { |n| "#{n} + 2 = #{n + 2} " }
<Diabolik> end
<Diabolik> ?
<jhass> bronson: you didn't remove it
<jhass> bronson: it's still in the gemspec if you donwnload the gem and extract it
thisirs has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
Ivision has joined #ruby
<bronson> jhass: ah, thanks. that's bizarre.
<jhass> Diabolik: extra space at the end there, but lgtm
_djbkd has joined #ruby
sent1nel has quit [Client Quit]
scripore has joined #ruby
spyderman4g63 has joined #ruby
scripore has quit [Remote host closed the connection]
krisquigley has joined #ruby
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has joined #ruby
cpt_yossarian has quit [Ping timeout: 265 seconds]
scripore has joined #ruby
pu22l3r_ has joined #ruby
juicer2 has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
fandi has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
ghr has quit []
paulfm has joined #ruby
pragmatism has joined #ruby
<shevy> Diabolik ah your fingers love that extra space!
fantazo has quit [Quit: Verlassend]
pu22l3r has quit [Ping timeout: 256 seconds]
Ivision has quit [Ping timeout: 244 seconds]
tyfighter has joined #ruby
steveElsewhere has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
corg has joined #ruby
nomadic has quit [Ping timeout: 264 seconds]
<juicer2> Hi, wondering how to dump all keys/values in an array,
werelivinginthef has quit [Remote host closed the connection]
<juicer2> mappings = ec2.instances["#{instance}"].block_device_mappings
<juicer2> mappings.each do |m,b|
<juicer2> I'd like to see all possible keys/values that m and b have
<juicer2> for testing/debugging
<juicer2> since I don't have the api reference
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
bMalum has joined #ruby
nomadic has joined #ruby
chrishough has joined #ruby
werelivinginthef has joined #ruby
chrishough has quit [Client Quit]
<Diabolik> how does yield know what block method to apply
<jhass> Diabolik: there's only one or none
<arup_r> Any more refactoring possible ? https://gist.github.com/aruprakshit/885f9fe35321001366ee
<arup_r> That's how I came up with
<arup_r> jhass: :)
zachrab has quit [Remote host closed the connection]
riotjones has joined #ruby
<jhass> juicer2: look up the API docs for whatever you're using. When you can call each on it there's a good chance it includes Enumerable and you get Enumerable#to_a
<jhass> arup_r: that requires a decent amount of staring at and since I use that capacity for gobject atm... ;P
rdark has quit [Quit: leaving]
graydot has joined #ruby
tier has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devdazed_ has joined #ruby
Kache4 has joined #ruby
zachrab has joined #ruby
<arup_r> ok
<juicer2> jhass: thanks, wish I could find the right api reference, there's like 12 different ones for ruby and aws
<arup_r> ignore it ;)
nickjj has joined #ruby
havenwood has quit []
<jhass> juicer2: I usually use ruby-doc.org for MRI and rubydoc.info for everything else
JBreit has joined #ruby
zenith_ has joined #ruby
mitchell_ has quit [Quit: Computer has gone to sleep.]
<jhass> there's omniref.com, but I find that horrible to use
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
riotjones has quit [Ping timeout: 264 seconds]
devdazed has quit [Ping timeout: 256 seconds]
lioninawhat has quit [Remote host closed the connection]
<shevy> Diabolik yield will access the whole block
<shevy> Diabolik so you have: Foo.new { method_one; method_two; method_three } <--- all three methods are invoked if you call yield()
JBreit has left #ruby [#ruby]
nb_bez___ has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
<Diabolik> ok shevy
shum has joined #ruby
<Diabolik> thanks
elaptics is now known as elaptics`away
<shevy> \o/
<shevy> Diabolik you can copy paste this into irb http://pastie.org/9889845
silkfox has quit [Ping timeout: 252 seconds]
<Diabolik> yield is a hard concept to learn?
<Diabolik> or rather blocks in general
<shevy> no it is simple
<shevy> you can pass a block in ruby to any method, all times
<shevy> so all methods have an optional block
<shevy> it is like an extra argument to your methods
razieliyo has quit [Read error: No route to host]
<shevy> and you don't have to use it if you don't want to
iamninja has joined #ruby
<shevy> foo() <--- here we don't use a block
tier has quit [Remote host closed the connection]
<shevy> foo() { 'hey there' } <--- here we pass a string into that block; it won't matter until you use yield in your code
dfinninger has quit [Remote host closed the connection]
<shevy> in other words, blocks can give you additional flexibility
<Diabolik> ok
thebastl has joined #ruby
<pragmatism> yo Diabolik
tier has joined #ruby
thebastl has quit [Client Quit]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
<Diabolik> hello pragmatism
<Diabolik> how are you
thebastl has joined #ruby
quimrstorres has joined #ruby
thebastl has quit [Remote host closed the connection]
<pragmatism> worky work
davedev2_ has quit [Ping timeout: 244 seconds]
thebastl has joined #ruby
<pragmatism> You?
Lemur has joined #ruby
arietis has quit [Quit: Textual IRC Client: www.textualapp.com]
paulfm_ has joined #ruby
athan has joined #ruby
devdazed has joined #ruby
Xeago has joined #ruby
devdazed_ has quit [Ping timeout: 250 seconds]
silkfox has joined #ruby
zenith_ has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
zachrab has quit [Remote host closed the connection]
paulfm has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
jimms has quit [Remote host closed the connection]
<Diabolik> pragmatism strugging on
shadoi has joined #ruby
<Diabolik> jhass one of my example exercises is
<Diabolik> def new_each_with_index(array)
<Diabolik> 0.upto(array.length - 1) do |index|
<Diabolik> yield(array[index], index)
<Diabolik> end
<Diabolik> end
<Diabolik> can you explain to me how the yield works within this
athan has quit [Ping timeout: 252 seconds]
jgt has quit [Ping timeout: 252 seconds]
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<jhass> do you also have an example given on how to call this method?
anaeem1 has quit [Remote host closed the connection]
ghostpl has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
<jhass> do |e, i|
<jhass> p "The element at location #{i} is '#{e}'"
<jhass> end
<jhass> this is the block
<jhass> it's the part that yield calls
<Diabolik> ok
<jhass> do |e, i| here you can see that the block expects two arguments
nanoyak has joined #ruby
<jhass> similarly you can see how two values are passed to yield
nanoyak has quit [Read error: Connection reset by peer]
<Diabolik> ok
<Diabolik> let me work on this then get back to you
nanoyak has joined #ruby
momomomomo has joined #ruby
nanoyak has quit [Client Quit]
chrishough has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
mitchellhenke has joined #ruby
ghostpl has quit [Ping timeout: 265 seconds]
Aova has quit [Read error: Connection reset by peer]
commmmodo has joined #ruby
shadoi1 has joined #ruby
<squar1sm> I've used yield in like two cases in my life. I don't think it's super critical. But I guess to understand blocks it's useful?
<squar1sm> I mean, you can use it for DSLs and templates. But this is something someone can correct me on please. :)
<squar1sm> I think I use block.call more ...
<squar1sm> that's pretty handy
<jhass> squar1sm: so you capture the block even though you don't pass it around?
shadoi has quit [Ping timeout: 240 seconds]
paulfm_ has quit [Remote host closed the connection]
n4l has quit [Quit: leaving]
paulfm has joined #ruby
craigp has joined #ruby
Aova has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
quimrstorres has quit [Ping timeout: 246 seconds]
<GaryOak_> so call should be used when you need to modify the result from the call, while with yield it doesn't?
ChoiKyuSang has quit [Quit: AdiIRC is updating to v1.9.6 Beta Build (2015/02/05-1) 32 Bit]
<jhass> nah
<jhass> I'd say only capture the block if you intend to pass it on or store it somewhere
<jhass> else use yield
telling has joined #ruby
telling has joined #ruby
ChoiKyuSang has joined #ruby
<GaryOak_> gotcha, I was looking at stackoverflow question and yield is faster than Proc.call
yfeldblum has joined #ruby
<jhass> not in any relevant category for a real world application, but yeah
mitchellhenke has quit [Quit: Computer has gone to sleep.]
tvw has joined #ruby
<GaryOak_> sure
pengin has quit [Ping timeout: 252 seconds]
jottr has joined #ruby
ellisTAA has joined #ruby
scripore has joined #ruby
paulfm has quit [Quit: Zzzzz...]
athan has joined #ruby
mitchellhenke has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
d10n-work has quit [Quit: Connection closed for inactivity]
dfinninger has joined #ruby
<ellisTAA> constructors intialize variables for a new instances of a class, right?
<jhass> that's a common thing they do, yes
allcentury has quit [Ping timeout: 240 seconds]
aapole has joined #ruby
<jhass> not meaning it's their only purpose though
yfeldblum has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
<ellisTAA> what other purpose could they serve?
<jhass> whatever you want to happen when a new instance of your class is instantiated really
jottr has quit [Ping timeout: 252 seconds]
<jhass> the code they can run is in no way limited
stunder has quit [Quit: Leaving]
commmmodo has quit [Quit: commmmodo]
pengin has joined #ruby
anaeem1 has joined #ruby
skj3gg has joined #ruby
zenith_ has joined #ruby
stunder has joined #ruby
<apeiros_> though in ruby you usually have the initializer, not a constructor. and you can create class methods which act somewhat like a constructor but funnel through initialize in the end.
sandelius has joined #ruby
sandelius has quit [Max SendQ exceeded]
duncannz has joined #ruby
<jhass> dunno, I feel like initialize is pretty close to what other languages call constructor
icarus has joined #ruby
<jhass> you have pretty much the same environment, an object that's allocated but not initialized
duncannz has quit [Max SendQ exceeded]
sandelius has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
duncannz has joined #ruby
drkyro has joined #ruby
sandelius has quit [Max SendQ exceeded]
drkyro has quit [Client Quit]
duncannz has quit [Max SendQ exceeded]
sandelius has joined #ruby
mLF has quit [Ping timeout: 250 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
duncannz has joined #ruby
ta has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
telling has quit [Quit: leaving]
ChoiKyuSang has joined #ruby
basichash has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<apeiros_> jhass: I think there was a conceptual difference between constructor and initializer
<jhass> educate me!
<apeiros_> maybe a constructor's return value is the constructed object? not sure. been a while.
<jhass> I know it's not true for Java and Java definitely calls it constructor
<apeiros_> hm, tho, not the case in some languages I know
<jhass> my C++ is very faint but I think it's the same there
<apeiros_> yeah
zachrab has joined #ruby
<jhass> I think they're synonyms and initializer is maybe just a little more descriptive about the purpose
ta has quit [Ping timeout: 264 seconds]
jobewan has quit [Ping timeout: 255 seconds]
<apeiros_> mhm, or it's another case of "diluted" language.
pmarreck_ is now known as pmarreck
mikecmpbll has quit [Quit: ciao.]
paulfm has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
spyderman4g63 has quit []
Xeago has quit [Remote host closed the connection]
goodenough has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
shellfu_afk is now known as shellfu
Lemur has quit [Remote host closed the connection]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has joined #ruby
mLF has joined #ruby
mitchellhenke has joined #ruby
tier has quit [Remote host closed the connection]
paulfm has quit [Quit: Zzzzz...]
ta has quit [Ping timeout: 252 seconds]
pengin has quit [Remote host closed the connection]
Sid05 has joined #ruby
pengin has joined #ruby
JimmyNeutron has quit [Ping timeout: 246 seconds]
BeLucid_ has quit [Ping timeout: 252 seconds]
ta has joined #ruby
paulfm has joined #ruby
recurrence has quit [Quit: recurrence]
shadoi1 has quit [Quit: Leaving.]
zenith_ has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
jenrzzz has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
Hijiri has quit [Quit: soku]
havenwood has joined #ruby
sinkensabe has joined #ruby
tyfighter has quit [Quit: tyfighter]
pengin has quit [Ping timeout: 245 seconds]
jrvlima has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
siso has joined #ruby
jrvlima has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
p7r has joined #ruby
terlar has quit [Ping timeout: 256 seconds]
scripore has quit [Client Quit]
soxet has joined #ruby
jrvlima has quit [Max SendQ exceeded]
stunder has quit [Read error: Connection reset by peer]
rodfersou has quit [Quit: leaving]
scripore has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
soxet has quit [Client Quit]
soxet has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
_mynameis has quit [Quit: Leaving]
juicer2 has left #ruby [#ruby]
ta has quit [Ping timeout: 264 seconds]
BeLucid has joined #ruby
mikecmpbll has joined #ruby
quimrstorres has joined #ruby
JimmyNeutron has joined #ruby
Sid05 has quit [Quit: Sid05]
rocknrollmarc has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shum has joined #ruby
Sid05 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<basichash> what's the quickest way of generating a string of characters "0123..9"?
<basichash> thought it would be 0.upto(9) { |i| s << i }, but that gives me utf values,which i don't want
recurrence has joined #ruby
<momomomomo> >> 0..9.to_a.join(“”)
Cadillactica has quit [Quit: Cadillactica]
fryguy9 has quit [Quit: Leaving.]
scripore has joined #ruby
<basichash> momomomomo: thanks
<basichash> momomomomo: hmm it says to_a is undefined for some strange eason
Sid05 has quit [Client Quit]
<basichash> can't do it inline?
ldnunes has quit [Quit: Leaving]
<basichash> binding 0..9 to a variable and then calling to_a works, but not inline
rocknrollmarc has quit [Ping timeout: 265 seconds]
Aova has quit [Read error: Connection reset by peer]
<basichash> is that just me?
scripore has quit [Client Quit]
<havenwood> >> '0'.upto('9').to_a.join
<eval-in__> havenwood => "0123456789" (https://eval.in/278859)
<basichash> have to wrap it in brackets
<basichash> havenwood: ah thanks
<momomomomo> (0..9)
mary5030 has quit [Remote host closed the connection]
<momomomomo> >> (0..9).to_a.join
<eval-in__> momomomomo => "0123456789" (https://eval.in/278861)
Takle has quit [Remote host closed the connection]
scripore has joined #ruby
Megtastique has quit []
<apeiros_> >> [*0..9]*''
<eval-in__> apeiros_ => "0123456789" (https://eval.in/278862)
<havenwood> >> 10.times.to_a.join
<eval-in__> havenwood => "0123456789" (https://eval.in/278863)
<apeiros_> hurray for obscure code! :)
thumpba has quit [Remote host closed the connection]
<apeiros_> hm, still no Enumerable#join
<havenwood> >> '0'.upto('9').inject '', :<<
<eval-in__> havenwood => "0123456789" (https://eval.in/278864)
<havenwood> >> '0'.upto('9').inject :<<
<eval-in__> havenwood => "0123456789" (https://eval.in/278865)
davedev2_ has joined #ruby
Aova has joined #ruby
jlast has joined #ruby
startupality has quit [Quit: startupality]
iliketurtles has quit [Quit: zzzzz…..]
davedev24_ has quit [Ping timeout: 252 seconds]
<apeiros_> anyway, generating that string is silly. just write it literally.
tier has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Renich has joined #ruby
krisquigley has joined #ruby
zenith_ has joined #ruby
<havenwood> >> [*%w[0 9].inject(:upto)]*''
<eval-in__> havenwood => "0123456789" (https://eval.in/278867)
Takle has joined #ruby
bMalum has quit [Quit: bMalum]
dotix has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
fryguy9 has joined #ruby
vdamewood has joined #ruby
scripore has joined #ruby
anaeem1 has quit [Remote host closed the connection]
tier_ has joined #ruby
bMalum has joined #ruby
reinaldob has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 252 seconds]
<Diabolik> jhass
<Diabolik> why doesn't this code work?
Takle has quit [Ping timeout: 265 seconds]
<jhass> Diabolik: yeah, why? what do you get, what do you expect?
scripore has quit [Client Quit]
tier has quit [Ping timeout: 240 seconds]
<Diabolik> well with those specs
<Diabolik> it should carry out the code block
<Diabolik> and since i put object into the yield it should accept any object
scripore has joined #ruby
<jhass> what do you get? surely some kind of error message
<jhass> let's read it together
<Diabolik> for the first test
<Diabolik> no implicit conversion of Fixnum into Array
<Diabolik> for the second
<Diabolik> expected: [Fixnum, String, Symbol]
<Diabolik> got: [1, "two", :three]
<Diabolik> i understand the code and i understand what yield does
<havenwood> >> [*[false.object_id, 2.0000000000000004.object_id.pred].public_send(:inject,:upto)]*''
<eval-in__> havenwood => failed to allocate memory (NoMemoryError) ... (https://eval.in/278879)
blackmes1 has joined #ruby
scripore has quit [Client Quit]
<havenwood> '0123456789' it is...
<jhass> Diabolik: mmh, I'm surprised that using object is not giving your an undefined local variable or object
<jhass> Diabolik: because that's what it is, a regular variable, nothing special
Musashi007 has joined #ruby
Megtastique has joined #ruby
<jhass> and you never set it
zachrab has quit [Remote host closed the connection]
<Diabolik> so i should set it to receive an array?
<havenwood> >> object
<eval-in__> havenwood => undefined local variable or method `object' for main:Object (NameError) ... (https://eval.in/278884)
scripore has joined #ruby
CpuID2 has joined #ruby
razieliyo has joined #ruby
<havenwood> Diabolik: Look through the Gist I showed you yesterday: https://gist.github.com/havenwood/9768cd7f1d75e88903ed
<havenwood> Diabolik: Try those ^ in irb.
cjim has joined #ruby
allcentury has joined #ruby
paulfm has quit [Quit: Zzzzz...]
riotjones has joined #ruby
<Diabolik> lots of them return errors havenwood
<havenwood> Diabolik: They are in order. The first sets `array` for the rest.
scripore has quit [Client Quit]
james_ has joined #ruby
james_ is now known as DukeJames
SOLDIERz has joined #ruby
<havenwood> Diabolik: If you do `array = [1, 2, 3]` and `new_array = []` then the rest should work out of order.
asmodlol has quit [Ping timeout: 245 seconds]
<Diabolik> i did them
<Diabolik> but havenwood
Jackneill has quit [Ping timeout: 256 seconds]
<Diabolik> how does this pertain to yield
CpuID2 has quit [Client Quit]
scripore has joined #ruby
Megtastique has quit []
scripore has quit [Remote host closed the connection]
zenith_ has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 250 seconds]
paulfm has joined #ruby
scripore has joined #ruby
mkaesz has joined #ruby
davedev2_ has quit [Ping timeout: 264 seconds]
scripore has quit [Client Quit]
sambao21 has joined #ruby
<havenwood> Diabolik: It shows you how #each can append to a new Array to emulate #map. You're not doing anything with the value you're yielding, and it shows you how you might.
Narzew has joined #ruby
jgt has joined #ruby
yfeldblum has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
_djbkd has quit [Remote host closed the connection]
davedev24_ has joined #ruby
Takle has joined #ruby
<Diabolik> but havenwood i thought the codeblock being fed into yield does that
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 244 seconds]
momomomomo_ is now known as momomomomo
SOLDIERz has quit [Ping timeout: 255 seconds]
<Diabolik> rather than me adding something to yield itself
paulfm has quit [Remote host closed the connection]
paulfm has joined #ruby
scripore has joined #ruby
n80 has quit [Quit: n80]
hooper has joined #ruby
Sid05 has joined #ruby
terabyte has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Hijiri has joined #ruby
zacstewa_ has quit [Remote host closed the connection]
skj3gg has quit [Quit: ZZZzzz…]
lolmaus has joined #ruby
<havenwood> Diabolik: Consider the following solution, which violates the rules and uses #map: def new_map array; array.map { |item|; yield(item) } end; new_map([1, 2, 3]) { |n| n + 2 }
Sid05 has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
mitchellhenke has joined #ruby
<havenwood> Diabolik: Replace `yield(item)` with just `item` in the above and see the difference?
n80 has joined #ruby
<havenwood> Diabolik: What is the block that yield is calling?
rocknrollmarc has joined #ruby
lrocknrolmarc has joined #ruby
<havenwood> Diabolik: Once you understand this part, yesterday's gist pertains to replacing #map with `new_array` and #each.
<Diabolik> the first one expect( new_map(a) { |i| i + 1 } ).to eq([2, 3, 4])
<Diabolik> second one expect( new_map(a) { |i| i.class } ).to eq([Fixnum, String, Symbol])
tyfighter has joined #ruby
greenbagels has joined #ruby
zacstewart has joined #ruby
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
blackmesa has joined #ruby
dorei has joined #ruby
iliketurtles has joined #ruby
thisirs has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
zenith_ has joined #ruby
davedev24_ has joined #ruby
Pumukel has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
pika_pika has joined #ruby
pengin has joined #ruby
jobewan has joined #ruby
jobewan has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 252 seconds]
lrocknrolmarc has quit [Ping timeout: 252 seconds]
jobewan has joined #ruby
siso has quit [Quit: siso]
claw has joined #ruby
<Diabolik> done havenwood
<Diabolik> thanks
cpt_yossarian has joined #ruby
rocknrollmarc has joined #ruby
lrocknrolmarc has joined #ruby
dc has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
zenith_ has quit [Ping timeout: 252 seconds]
Hijiri has quit [Ping timeout: 245 seconds]
claw___ has quit [Ping timeout: 244 seconds]
alex88 has joined #ruby
chrishough has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Takle has quit [Read error: Connection reset by peer]
n80 has joined #ruby
cpt_yossarian has quit [Client Quit]
Takle has joined #ruby
cpt_yossarian has joined #ruby
rocknrollmarc has quit [Ping timeout: 244 seconds]
momomomomo has joined #ruby
mkaesz has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
Megtastique has joined #ruby
CpuID2 has joined #ruby
CpuID2 has joined #ruby
lrocknrolmarc has quit [Ping timeout: 244 seconds]
skj3gg has joined #ruby
postmodern has joined #ruby
decoponio has quit [Quit: Leaving...]
davedev24_ has quit [Ping timeout: 245 seconds]
startupality has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
totimkopf has joined #ruby
tyfighter has quit [Quit: tyfighter]
max96at is now known as max96at|off
crdpink has quit [Quit: q term]
commmmodo has joined #ruby
diegoviola has joined #ruby
_djbkd has joined #ruby
<basichash> How do I make inline changes to the elements of an array?
x1337807x has joined #ruby
<basichash> without referencing the array in a block
Soda has quit [Remote host closed the connection]
<basichash> e.g. array.each do { |e| e.capitalize } where each element of my array is capitalized
russt1 has joined #ruby
commmmodo has quit [Client Quit]
<hoelzro> basichash: array = array.map(&:capitalize) # ?
crdpink has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<basichash> hoelzro: what exactly does the &: do?
<hoelzro> :capitalize is a Symbol
<hoelzro> & calls to_proc on its argument
dotix has quit [Ping timeout: 265 seconds]
russt_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<hoelzro> Symbol.to_proc creates a Proc that invokes the method denoted by the symbol in question on the argument to the proc
<hoelzro> in short, &:sym is short for proc { |arg| arg.sym }
oetjenj has joined #ruby
<jhass> basichash: it's a shortcut to doing .map {|e| e.capitalize }
Megtastique has quit []
<basichash> ah, ok thanks
Cadillactica has joined #ruby
StreetlampSalad has joined #ruby
<hoelzro> well, I guess what I said is not *technically* true
Ankhers` has joined #ruby
<jhass> it pretty much is
<hoelzro> &arg associates arg.to_proc as the block with the method it's an argument to
<jhass> yeah, that part was missing
<hoelzro> I'm just being overly pedantic =)
<basichash> so if i had an array called months with elements nil, "january", "february", etc, how would i map it to upcase each month?
<basichash> array.map(&:capitalize unless & == nil)?
sambao21 has joined #ruby
_djbkd has quit [Ping timeout: 245 seconds]
<hoelzro> that, unfortunately, would not work
<hoelzro> now, do you want the nil in the resulting array, or do you want to prune it?
sambao21 has quit [Client Quit]
<hoelzro> if the latter, you can do array.reject(&:nil?).map(&:capitalize)
<jhass> eh, that's compact
* hoelzro .oO( I think you can just do .map(:capitalize) too )
qba73 has joined #ruby
<jhass> nah
<jhass> >> [nil].map(&:capitalize)
<eval-in__> jhass => undefined method `capitalize' for nil:NilClass (NoMethodError) ... (https://eval.in/278913)
<havenwood> if the former, array.map(&:to_s).map(&:capitalize)
Ankhers has quit [Ping timeout: 250 seconds]
Lemur has joined #ruby
<havenwood> or compact
metadave_ has joined #ruby
<hoelzro> sure enough
<havenwood> if that's the desired behavior
Aova has joined #ruby
<basichash> i'd like to keep nil there if possible
<havenwood> basichash: as a nil or as an empty string?
<jhass> basichash: then just use the long form
CpuID2 has quit [Quit: This computer has gone to sleep]
<basichash> havenwood: nil
<jhass> .map {|month| month.capitalize if month }
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 245 seconds]
<havenwood> ^
Morkel has quit [Quit: Morkel]
emdub has quit [Quit: Changing server]
<basichash> jhass: that doesn't make the change inplace though, does it?
<basichash> it would return a new array
<jhass> no, for that you would need the .map! variant
wallerdev has quit [Quit: wallerdev]
<basichash> ah ok cheers
CpuID2 has joined #ruby
CpuID2 has quit [Changing host]
CpuID2 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<ellisTAA> i’ve got the basics of ruby down i think. now i’m looking for the next book to help me level up while i simultaneously learn rails. any recommendations? i’ve got two avdi grimm books and sandi metz book on object oriented programming
ta has joined #ruby
Troy^ has joined #ruby
<havenwood> ellisTAA: What have you already read?
wallerdev has joined #ruby
<ellisTAA> havenwood: i’m about to finish peter cooper’s beginning ruby
<havenwood> ellisTAA: The Ruby Programming Language or the Well-Grounded Rubyist, Second Edition are foundational.
<ellisTAA> havenwood: if i have to choose 1 which do u recommend, or do u recommend both?
oetjenj has joined #ruby
<havenwood> hmm
<havenwood> either or both, I'd have to reread them both with it in mind
Megtastique has joined #ruby
<havenwood> I think pick one.
<havenwood> Or both sure wouldn't hurt.
<havenwood> More the merrier.
commmmodo has joined #ruby
delianides has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
delianides has joined #ruby
tyfighter has joined #ruby
<havenwood> ellisTAA: Well-Grounded Second Edition is more up-to-date.
<havenwood> I think.
<ellisTAA> havenwood: thy i think ill get that one
sambao21 has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> ellisTAA: speaking of Avdi, have you looked at his Ruby Tapas?: http://www.rubytapas.com/
_djbkd has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
<ellisTAA> yeah, i think ill buy a subscription after i finish an introduction book to rails
<havenwood> ellisTAA: Sign up for at least one month do get all back episodes.
luksaur has quit [Quit: gone]
<ellisTAA> havenwood: thanks for sharing
dc has joined #ruby
zachrab has joined #ruby
testcore has quit [Ping timeout: 250 seconds]
tejas-manohar has joined #ruby
davedev24_ has joined #ruby
jack_rabbit has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
SOLDIERz has joined #ruby
Lemur has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
leat has quit [Ping timeout: 252 seconds]
momomomomo has quit [Ping timeout: 245 seconds]
russt1 has quit [Remote host closed the connection]
jobewan has quit [Ping timeout: 244 seconds]
linoespinoza has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
delianides has quit [Remote host closed the connection]
Lemur has joined #ruby
Megtastique has quit []
Glitch has joined #ruby
dtscode- has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
CpuID2 has quit [Quit: This computer has gone to sleep]
testcore has joined #ruby
graydot has quit [Quit: graydot]
SOLDIERz has quit [Ping timeout: 240 seconds]
pu22l3r_ has quit [Ping timeout: 244 seconds]
mLF has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
jack_rabbit has quit [Ping timeout: 246 seconds]
thebastl has quit [Quit: Leaving...]
allcentury has quit [Ping timeout: 264 seconds]
cjim has quit [Quit: (null)]
Glitch has quit []
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
crdpink has quit [Quit: q term]
<Diabolik> havenwood how often is monkey patching used in day to day ruby
paulfm has quit [Read error: Connection reset by peer]
kalusn has joined #ruby
graydot has joined #ruby
jerematic has quit [Remote host closed the connection]
<havenwood> ahem, freedom patching
jobewan has joined #ruby
<Senjai> Diabolik: Err day
alex88 has quit []
thisirs has quit [Ping timeout: 255 seconds]
paulfm has joined #ruby
<havenwood> Diabolik: it's rare to monkey patch core classes
<jhass> Diabolik: generally you should do it when you need it, not when it's just convenient
Tuxero has quit [Ping timeout: 240 seconds]
mkevin has joined #ruby
<workmad3> ^^ sometimes you can do a small monkey-patch and work around an otherwise project-crippling bug, or make something massively simpler... but it's a tool of last resort, not first choice, IMO
<mkevin> join/#oracle
tunaCanBruh has quit [Ping timeout: 255 seconds]
<mkevin> join/ #oracle
<crome> try /join #oracle
<havenwood> #oracle /join
cjim has joined #ruby
graydot has quit [Quit: graydot]
<crome> /oracle #join ?
iliketurtles has quit [Quit: zzzzz…..]
tunaCanBruh has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cjim_ has joined #ruby
cjim has quit [Read error: Connection reset by peer]
Lemur has quit [Remote host closed the connection]
tier_ has quit [Remote host closed the connection]
kobain has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
gdhaworth has joined #ruby
basichash has quit [Quit: WeeChat 1.2-dev]
davedev24_ has joined #ruby
user___ has joined #ruby
commmmodo has quit [Quit: commmmodo]
user___ is now known as basichash
iliketurtles has joined #ruby
Soda has joined #ruby
pragmati_ has joined #ruby
<GaryOak_> haha
paulfm has quit [Ping timeout: 256 seconds]
<mkevin> haha
<GaryOak_> did you make it there?
<mkevin> haha yea
<mkevin> thanks
<GaryOak_> ok good
revoohc has quit [Quit: revoohc]
pragmati_ has quit [Client Quit]
__chris has quit [Quit: Leaving]
EvanFreeman has quit [Remote host closed the connection]
triple_b_ has joined #ruby
brb3 has quit [Quit: <.<]
pragmatism has quit [Ping timeout: 264 seconds]
ARCADIVS has joined #ruby
DadoCe has joined #ruby
dsh80 has joined #ruby
dsh80 has left #ruby ["WeeChat 1.2-dev"]
triple_b_ has quit [Client Quit]
IrishGringo has quit [Ping timeout: 245 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
gdhaworth has quit [Remote host closed the connection]
triple_b has quit [Ping timeout: 245 seconds]
dc has quit [Remote host closed the connection]
axl_ has joined #ruby
krisquigley has joined #ruby
DadoCe has quit [Ping timeout: 250 seconds]
DadoCe has joined #ruby
dc has joined #ruby
zachrab has joined #ruby
graydot has joined #ruby
sinkensabe has quit [Remote host closed the connection]
hmsimha has joined #ruby
dc has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
Lemur has joined #ruby
Tuxero has joined #ruby
bronson has joined #ruby
LouisRoR has joined #ruby
krisquigley has quit [Ping timeout: 265 seconds]
bronson has quit [Remote host closed the connection]
pdoherty has quit [Remote host closed the connection]
kobain has joined #ruby
bronson has joined #ruby
kobain has quit [Max SendQ exceeded]
longfeet has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
pdoherty has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
josephndenton has quit [Ping timeout: 252 seconds]
StreetlampSalad has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
StevenNunez has joined #ruby
havenwood has quit []
Deithrian has joined #ruby
Aova has joined #ruby
parduse is now known as Guest50487
Ankhers` has quit [Ping timeout: 250 seconds]
Guest50487 has quit [Ping timeout: 252 seconds]
nunayerBeezwax has joined #ruby
pardusf has joined #ruby
nunayerB_ has joined #ruby
thumpba has joined #ruby
leafybasil has joined #ruby
ellisTAA has joined #ruby
LetErikTry has joined #ruby
<ellisTAA> when wikipedia says “…design patterns in the domain of modules and interconnections.” what exactly do they mean by domain?
gfawcettpq has joined #ruby
yfeldblum has joined #ruby
StevenNunez has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
nunayerBeezwax has quit [Ping timeout: 245 seconds]
skj3gg has quit [Quit: ZZZzzz…]
LetErikTry has quit [Changing host]
LetErikTry has joined #ruby
tyfighter has quit [Quit: tyfighter]
tier has joined #ruby
blackmes1 has joined #ruby
marr has joined #ruby
tier has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.1.1]
riotjones has quit [Ping timeout: 252 seconds]
athan has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
lioninawhat has joined #ruby
tyfighter has joined #ruby
russt_ has quit [Quit: russt_]
duncannz has quit [Read error: Connection timed out]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
allcentury has quit [Ping timeout: 250 seconds]
pauly_oc has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
codecop has quit [Remote host closed the connection]
duncannz has joined #ruby
wallerdev has joined #ruby
silkfox has quit [Ping timeout: 244 seconds]
livingstn has quit []
werelivinginthef has quit [Remote host closed the connection]
dorei has quit []
nfk has quit [Quit: yawn]
stunder has joined #ruby
jottr has joined #ruby
josephndenton has joined #ruby
SOLDIERz has joined #ruby
ptrrr has quit [Quit: ptrrr]
<ellisTAA> will studying design patterns make me write better ruby code?
<GaryOak_> nope
<GaryOak_> it will help you architect better software
iliketurtles has quit [Quit: zzzzz…..]
jgt has joined #ruby
<pipework> ellisTAA: Only as much as reading about a topic makes you better at actually doing whatever the topic covers.
waynerade has quit [Ping timeout: 256 seconds]
<ellisTAA> garyoak: so does that mean it would come in handy when building something using Ror?
<ellisTAA> PIPEWORK: but is it relevant?
<GaryOak_> maybe, it just depends on the situation
jottr has quit [Ping timeout: 256 seconds]
<pipework> ellisTAA: To what?
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
rbennace_ has joined #ruby
<ellisTAA> is there a topic that if i study it i can solve coding problems more efficiently? i thought design patterns would do that but i guess its more related to software
juanpablo_ has quit [Ping timeout: 245 seconds]
Megtastique has joined #ruby
<workmad3> ellisTAA: yes there is... it's called problem solving
<pipework> ellisTAA: Yeah, lots of them. It helps to study computers, programming, maths, bartending.
<GaryOak_> and algorithm design, and linear algebra
juanpablo_ has joined #ruby
<pipework> because the last two aren't maths, they're tools for getting laid.
<ellisTAA> workmad3: do u have a book on problem solving that you recommend? im looking for a good methodology
<workmad3> ellisTAA: basically, any subject that involves taking a problem and working out solutions to it will help you solve coding problems, because it'll train you in the thought processes involved in... well... solving problems :P
quimrstorres has joined #ruby
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
knut has joined #ruby
danzilio has joined #ruby
jerius has quit []
<ellisTAA> any good books on problem solving?
<pipework> ellisTAA: I'm a fan of the Bereinstain bears series.
<GaryOak_> haha
rbennacer has quit [Ping timeout: 244 seconds]
iliketurtles has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
iliketurtles has quit [Remote host closed the connection]
Lemur has quit [Remote host closed the connection]
iliketurtles has joined #ruby
<wasamasa> workmad3: why no hello kitty sudoku
rbennace_ has quit [Ping timeout: 252 seconds]
Hijiri has joined #ruby
<workmad3> wasamasa: very quick search :P
<wasamasa> ok
devdazed has quit [Quit: Computer has gone to sleep.]
<wasamasa> ellisTAA: the best way to get better at solving problems is... solving more problems
<wasamasa> ellisTAA: I know, anticlimatic
<workmad3> wasamasa: although I'm now tempted to see if there's a book "Problem solving with My Little Pony"...
SOLDIERz has quit [Ping timeout: 252 seconds]
tyfighter has quit [Quit: tyfighter]
<wasamasa> ellisTAA: there are actually books about algorithms, data structures, program design, etc.
<wasamasa> ellisTAA: but even these need to be figured out by you
<pipework> There are also books about adorable bears that have some pretty fun and silly adventures while running into and eventually solving problems.
josephndenton has quit [Ping timeout: 246 seconds]
agjacome has quit [Quit: leaving]
lioninawhat has quit [Remote host closed the connection]
ferr has joined #ruby
<workmad3> http://www.shotdeadinthehead.com/explain-t-shirt.html is my favourite slogan atm
<workmad3> ellisTAA: I've also heard good things about this book btw: http://www.amazon.co.uk/Thinking-Physics-Lewis-Carroll-Epstein/dp/0935218084
jerematic has joined #ruby
mrmargolis has quit [Remote host closed the connection]
fryguy9 has joined #ruby
<workmad3> ellisTAA: but I'm sure you get the idea by now... problem solving skills are multi-discipline, studying them in one area helps with solving problems in other areas (books on specific subject-area knowledge give you a boost in an area as it makes you more aware of potential solutions... but without that base of problem-solving, you'll just be grasping at straws)
jhebden has joined #ruby
jenrzzz_ has joined #ruby
LouisRoR has quit [Ping timeout: 250 seconds]
triple_b has joined #ruby
dfinninger has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 264 seconds]
axl_ has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 264 seconds]
mloveless has quit []
_ixti_ has quit [Ping timeout: 264 seconds]
mkevin has quit [Quit: mkevin]
jenrzzz has joined #ruby
Lemur has joined #ruby
RitterJack has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 250 seconds]
pdoherty has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 244 seconds]
maletor has quit [Ping timeout: 240 seconds]
jgt has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
zzzbra has quit [Ping timeout: 245 seconds]
maximski has quit [Max SendQ exceeded]
athan has joined #ruby
knut has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
metadave_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quimrstorres has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
n80 has quit [Quit: n80]
zzzbra has joined #ruby
DadoCe has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
quimrsto_ has joined #ruby
jottr has joined #ruby
Takle has joined #ruby
LouisRoR has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
blizzy has quit [Ping timeout: 244 seconds]
ellisTAA has quit [Quit: ellisTAA]
dotix has joined #ruby
Musashi007 has quit [Quit: Musashi007]
athan has quit [Ping timeout: 252 seconds]
sn0wb1rd has quit [Ping timeout: 245 seconds]
DadoCe has joined #ruby
Aova has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
lele has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 245 seconds]
sn0wb1rd has joined #ruby
maximski has quit []
zacstewart has quit [Remote host closed the connection]
quimrsto_ has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby
dotix has quit [Ping timeout: 264 seconds]
_ixti_ has joined #ruby
juanpablo_ has joined #ruby
quimrstorres has joined #ruby
echevemaster has joined #ruby
tejas-manohar has quit [Quit: Page closed]
ghr has joined #ruby
Aova has joined #ruby
sinkensabe has quit [Ping timeout: 245 seconds]
Lemur has quit [Remote host closed the connection]
corg has quit [Ping timeout: 246 seconds]
zachrab has quit [Remote host closed the connection]
systemd0wn has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
quimrstorres has quit [Remote host closed the connection]
terabyte has quit [Quit: Leaving]
scripore has joined #ruby
zzzbra has quit [Ping timeout: 252 seconds]
jhebden has quit [Ping timeout: 252 seconds]
quimrstorres has joined #ruby
zachrab has joined #ruby
revoohc has joined #ruby
enebo has quit [Quit: enebo]
ferr has quit [Remote host closed the connection]
Megtastique has quit []
quimrstorres has quit [Remote host closed the connection]
pu22l3r has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
fryguy9 has joined #ruby
freerobby has quit [Quit: Leaving.]
n_blownapart has joined #ruby
n80 has joined #ruby
kobain has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
Solnse has joined #ruby
thumpba has quit [Remote host closed the connection]
jhebden has joined #ruby
fryguy9 has quit [Quit: Leaving.]
solars has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
rbennacer has joined #ruby
stunder has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
apeiros_ has quit [Remote host closed the connection]
Deithrian has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
apeiros_ has joined #ruby
pauly_oc has quit [Ping timeout: 245 seconds]
n80 has joined #ruby
linoespinoza has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketurtles has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
Takle has quit [Read error: Connection reset by peer]
towski_ has quit [Read error: Connection reset by peer]
rbennacer has quit [Read error: Connection reset by peer]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
LouisRoR has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
tkuchiki has joined #ruby
helpa has quit [Remote host closed the connection]
deric_skibotn_ has joined #ruby
SOLDIERz has joined #ruby
helpa has joined #ruby
towski_ has joined #ruby
zzzbra has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 245 seconds]
deric_skibotn has quit [Ping timeout: 245 seconds]
avahey has joined #ruby
deric_skibotn_ is now known as deric_skibotn
tds5016 has joined #ruby
jenrzzz has joined #ruby
<tds5016> hi all. I was wondering if someone would be able to tell me how I'd use syslog instead of the default longer?
<tds5016> logger*
Deithrian has joined #ruby
stunder has joined #ruby
einarj has quit [Remote host closed the connection]
techsilo has joined #ruby
SOLDIERz has quit [Ping timeout: 265 seconds]
n80 has quit [Quit: n80]
iamninja has quit [Max SendQ exceeded]
iamninja has joined #ruby
n_blownapart has quit []
pu22l3r has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
Lemur has joined #ruby
Fusl has quit [Quit: Contact: http://hallowe.lt/]
Fusl has joined #ruby
Aswebb__ has quit [Remote host closed the connection]
lioninawhat has joined #ruby
hiyosi has joined #ruby