Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
Jake232 [Jake232!~textual@5e0ecfc2.bb.sky.com] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
<ryanf> I feel like round is kind of cheating, but you could use (+ 0.5).floor too
<ryanf> btw i is a confusing name for that param, since i is almost always a loop index
<shevy> thanks
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
<josh9> is there a convention for naming my test files? activerecord uses the model name, like car.rb, activesupport and sinatra uses *_test.rb
brianpWins [brianpWins!~brianpWin@hlfxns0169w-142068026252.dhcp-dynamic.FibreOp.ns.bellaliant.net] has joined #ruby-lang
dejongge1 [dejongge1!~jonke@pD9E0DFFD.dip0.t-ipconnect.de] has joined #ruby-lang
<andrewvos> josh9: use the same name with either _test or _spec added the filename
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
<andrewvos> josh9: sinatra doesn't use test file names
<andrewvos> josh9: if you get what I mean
<josh9> andrewvos: ok
<andrewvos> josh9: So if you're using test::unit or minitest or whatever, use class_name_test.rb and if you're using rspec use class_name_spec.rb
ryanf [ryanf!~revfitz@118.sub-174-253-248.myvzw.com] has joined #ruby-lang
<zenspider> rawr
<samuelkadolph> Meow
zzak [zzak!~zzak@ec2-107-20-68-16.compute-1.amazonaws.com] has joined #ruby-lang
<zenspider> I use test_*.rb, but I'm old skool
<samuelkadolph> *_test.rb is the best! Death to all unbelievers!
<samuelkadolph> ...
<samuelkadolph> I just saw a commerical for Chunk Norris approved Tide
<andrewvos> Aww man using a vpn and getting netflix/hulu in the uk is awesome.
<andrewvos> zenspider: You're a freak of nature.
elux [elux!~peter@67.70.37.175] has joined #ruby-lang
<samuelkadolph> Isn't everyone?
<andrewvos> samuelkadolph: Everyone I know
<andrewvos> samuelkadolph: Oh wait, you meant on a deeper level? haha
<andrewvos> samuelkadolph: I would disagree. We are the only possible outcome.
<samuelkadolph> I rest my case. Just look at andrewvos.
jthomas_ [jthomas_!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby-lang
<andrewvos> :)
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby-lang
towski [towski!~towski@65.14.229.26] has joined #ruby-lang
lake [lake!lake@bbis.us] has joined #ruby-lang
diegoviola [diegoviola!~viola@host-1-211.b15.cvc.com.py] has joined #ruby-lang
cynosure [cynosure!~cynosure@centrumnet.hu] has joined #ruby-lang
lake1 [lake1!~lake@li71-228.members.linode.com] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
jmontross [jmontross!~Adium@75-35-173-1.lightspeed.dllstx.sbcglobal.net] has joined #ruby-lang
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
<cartercheng> Hello, I was wondering if I could get some help with something. How is it possible to setup of the ./configure script to compile with an alternate compiler say clang?
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
<andrewvos> cartercheng: I assume you can just change the script
<andrewvos> cartercheng: But I would first have to ask why
<andrewvos> ?
jaisoares [jaisoares!~jsoares@bl5-203-93.dsl.telepac.pt] has joined #ruby-lang
<cartercheng> well the script provides a number of options
<cartercheng> i was wondering rather than modifying the $CC var
<erikh> look at the CC environment variable
<cartercheng> if there was an option for it via the configure arguments
<erikh> CC=foo ./configure --blahablah
jaisoares [jaisoares!~jsoares@bl5-203-93.dsl.telepac.pt] has quit [#ruby-lang]
<erikh> that's the idiomatic way
<cartercheng> i did notice the standard one for ruby 1.9.3 p0 does not work for os x lion
<erikh> xcode 4.2?
<cartercheng> ./configure; make
<cartercheng> = cannot find gcc-4.2
<erikh> yeah, that's probably xcode 4.2
<cartercheng> so the configure script wont override shell vars I toss in?
<erikh> not if you define them at ./configure time
<cartercheng> so shell var1, 2 3 ./configure will work?
<erikh> just like I stated above
<cartercheng> thanks
<erikh> keep in mind though that -- and I'm not authoritative on this -- I don't think ruby builds cleanly wtih clang yet
<erikh> you need to roll back your version of xcode if you're serious about building ruby
<erikh> .. which is easier said than done
<cartercheng> so similarly with CFLAGS?
<cartercheng> i guess it's one of those things that changes on a daily basis
<cartercheng> (clang ruby)
<erikh> yes correct.
<erikh> although expect the build system to append all it likes to those
<cartercheng> well looking at the script i think it sets primarily -O2
<cartercheng> i would suspect the options are different under clang
<cartercheng> thanks for the help
<dFire> What the hell? CentOS has Ruby 1.8.5 as default
<shevy> hehe
<shevy> old but still works!
<andrewvos> dFire: AWESOME RIGHT??
<shevy> :)
wimplash [wimplash!~Adium@wireless.sit-co.net] has joined #ruby-lang
dreinull [dreinull!dreieins@217.18.70.225] has joined #ruby-lang
<queequeg1> I'm learning to use doctest. I want to test a simple prompt function but how do I simulate a response to gets?
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
<andrewvos> queequeg1: Aruba is useful for this if I recall correctly
<andrewvos> queequeg1: try github.com/cucumber/aruba
Jade [Jade!~jade@unaffiliated/jade] has joined #ruby-lang
<queequeg1> thanks :-)
<andrewvos> queequeg1: Wait, you mean python?
mkscrg [mkscrg!~mkscrg@76.218.100.21] has joined #ruby-lang
<queequeg1> No, I'm using ruby.
<andrewvos> Wow. If I had known doctest had existed I might not have written docu
<queequeg1> So it looks like I have to learn cucumber before I can use aruba?
<andrewvos> queequeg1: Nope
<andrewvos> queequeg1: Disclaimer: you may be right
<queequeg1> I'm thinking that there might not be a simple way to test gets inside my prompt function.
<andrewvos> queequeg1: There is
<andrewvos> queequeg1: Wait, I misunderstood what you want to do.
<andrewvos> queequeg1: What does doctest have to do with this/
<queequeg1> Doctest runs your function in irb and tests the output.
<queequeg1> But my function asks for input.
<queequeg1> So right now I can only test the prompt.
<queequeg1> I mean, I can only test that my function is printing the right string before it asks for input.
<queequeg1> Ah, I see.
<queequeg1> gets takes a test file.
<queequeg1> or can take a test file.
<queequeg1> That is what I need.
<queequeg1> I assumed. And that made an ass out of me.
<queequeg1> So now I will modify my prompt function to accept a second parameter and give that parameter a default nil. If the second parameter is present it will be the test file.
<andrewvos> queequeg1: Did you just say "test code in production code"?
<queequeg1> No, I'm just a learner. No such thing as production for me yet.
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<queequeg1> I have a basic understanding of ruby, now I want to get a basic understanding of TDD.
mndoci [mndoci!~mndoci@216.9.28.154] has joined #ruby-lang
<andrewvos> In general, or in Ruby?
<queequeg1> In Ruby.
Tick-Tock [Tick-Tock!~Tick-Tock@2607:f358:1:fed5:22:0:b683:4295] has joined #ruby-lang
hangingclowns [hangingclowns!~Adium@58.247.100.206] has joined #ruby-lang
twittard [twittard!~twittard@cpe-76-169-74-39.socal.res.rr.com] has joined #ruby-lang
<hangingclowns> does anyone know if there's a way to hook up so if all tests pass on rspec to build the gem?
<hangingclowns> or even call a rake task?
<lsegal> hangingclowns i assume you can use exit codes
<lsegal> you know, like, rspec spec && gem build mygem.gemspec
neoesque [neoesque!~neoesque@210.59.147.232] has joined #ruby-lang
<hangingclowns> mmm
<hangingclowns> something like that?
<lsegal> the above should work verbatim iirc
<hangingclowns> lsegal: I'm using guard, and I was thinking as I'm building the gem, I can rebuild it whenever I finished adding a feature so I can pass it to a coworker
<hangingclowns> but, I see what you're saying
<hangingclowns> the exit code
me345 [me345!~me345@75.15.180.69] has joined #ruby-lang
<hangingclowns> another question, anything I can use to make fixtures and/or factory-girl like models I can reuse?
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
slaytanic [slaytanic!~slaytanic@host226.190-31-167.telecom.net.ar] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@FLA1Aam052.hrs.mesh.ad.jp] has joined #ruby-lang
<andrewvos> hangingclowns: If one rake task fails the next rake task will *not* be invoked
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby-lang
<andrewvos> task :default => [:spec, :build]
<andrewvos> hangingclowns: ^
<queequeg1> gets only takes a limit and a line separator. No test file. I got my hopes up because I misread the example code.
gnufied1 [gnufied1!~gnufied@122.167.91.153] has joined #ruby-lang
<hangingclowns> oh
<hangingclowns> i see
<hangingclowns> hmm
<hangingclowns> i'm using guard, though
<hangingclowns> so I wonder if that can be used to call the build or not?
<andrewvos> so?
<hangingclowns> i'm trying to think of how guard works
<hangingclowns> i think it works by using the binaries and not the rake tasks
<andrewvos> hangingclowns: You can change that
<andrewvos> hangingclowns: And I don't know from experience, but I'm pretty sure you can.
<hangingclowns> yeah, i think I can
<hangingclowns> i'm just thinking about it in my head
<andrewvos> hangingclowns: Sounds like you're inventing your own yaks to shave though.
<hangingclowns> what do you mean?
<andrewvos> hangingclowns: Well, why would you want to build the gem when rspec succeeds?
Defusal_ [Defusal_!DeFi@196-209-19-202.dynamic.isadsl.co.za] has joined #ruby-lang
Defusal_ [Defusal_!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
<hangingclowns> well, what's going on, is when i was buildling this gem, like an idiot, I built it without BDD or even tests
<hangingclowns> and we're discovering problems later
<hangingclowns> so now i"m using rspec to test all of the problems after we find them
<andrewvos> hangingclowns: rewrite?
<hangingclowns> so building up my BDD during use
<hangingclowns> just changes, here and there
<hangingclowns> so all I 'm doing is, writing a test that fails on our production end, and then fixing the gem to make it pass the test, then giving them the updated gem
<andrewvos> hangingclowns: Ok well, regardless of what you're doing, building the gem after rspec succeeds == slow test runs.
<andrewvos> hangingclowns: So just build it manually after you commit or whatever
<hangingclowns> yeah, that's what I'm doing
<hangingclowns> wanted to include it after it passes
<hangingclowns> yeah it's "slow" but also requires me to do less
<andrewvos> Not really
<andrewvos> "rake build" after writing some code isn't exactly any work
<hangingclowns> any work?
<hangingclowns> yeah, but, like I said, I've got guard running in one terminal
<hangingclowns> so gotta switch terminal, invoke the task by hand
<andrewvos> hangingclowns: So after a successful build, you send someone a .gem file?
perryh [perryh!~perryh@unaffiliated/perry753] has joined #ruby-lang
<hangingclowns> kind of
<hangingclowns> not necesarily, a successful build
<hangingclowns> it's, I find a problem
<hangingclowns> or someone else does
<hangingclowns> i write a test, make the test pass
<hangingclowns> then rebuild the gem and reissue it to everyone
<andrewvos> hangingclowns: Why don't you bump the version and release?
<hangingclowns> wether I bump the version and release, still need to rebuild the gem
<hangingclowns> you know what I mean?
<hangingclowns> either way, wanted to know if there was something inside of rspec that can trigger an acction
<hangingclowns> such as a commit to a repo, a build of the gem, an email to someone
<hangingclowns> you know what I mean?
<andrewvos> hangingclowns: Yeah
<andrewvos> hangingclowns: Just make your own rake task
<hangingclowns> i ahve that, already
<hangingclowns> you mean, the thing you just said?
<hangingclowns> where you order it?
<andrewvos> yea you could
<andrewvos> Or does guard try and only execute tests that have changed?
<andrewvos> Like autotest
<hangingclowns> guard 'rspec', :version => 2, :cli => "--color --format nested --drb" do
<hangingclowns> it looks lilke it is using the binary
spuk [spuk!~spuk@186.222.1.205] has joined #ruby-lang
Austin__ [Austin__!~austin@CPE0016cbc30e9c-CM001ceacff6ba.cpe.net.cable.rogers.com] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
xatltb [xatltb!~me345@adsl-75-15-180-69.dsl.bkfd14.sbcglobal.net] has joined #ruby-lang
DRCALKIN [DRCALKIN!~DROOL_AND@cpe-66-69-208-144.austin.res.rr.com] has joined #ruby-lang
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
Manhose_ [Manhose_!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby-lang
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.167.91.153] has joined #ruby-lang
hangingclowns [hangingclowns!~Adium@58.247.100.206] has quit [#ruby-lang]
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
bryno [bryno!~b@unaffiliated/bryno] has joined #ruby-lang
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
me345 [me345!~me345@adsl-75-15-180-69.dsl.bkfd14.sbcglobal.net] has joined #ruby-lang
JosephRuby [JosephRuby!~joseph@46.33.34.42] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
mndoci [mndoci!~mndoci@216.9.28.154] has joined #ruby-lang
<postmodern> is there a method for the previous ancestor of a Module/Class?
<postmodern> i guess ancestors[0..-2][0] works
<erikh> ... isn't that equivalent to just ancestors.first ?
<postmodern> erikh, not in the case of a Module without any other includes
<raggi_> postmodern: array[0..-2][0] is always equivalent to array.first :-P
<raggi_> maybe you just mean array[-2]
<postmodern> raggi_, nope it's not :P, http://pastie.org/3094135
<postmodern> since we're talking about Module#ancestors
<postmodern> or when an array has one element
<raggi_> oh, you're inverting the range
<postmodern> and you don't want the first element to be the last element
<raggi_> that's a total hack
<raggi_> :-p
<raggi_> but fair enough
<postmodern> yeah, exactly why i wonder if there's a more elegant way
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
<postmodern> there's no superclass for Modules
<raggi_> still, you can just do what i suggested originally i thikn
<raggi_> hmm, no
<raggi_> eugh
<raggi_> that's horrible
<savage-> what was the question? sorry, just joined. :-/
<raggi_> just use array.size
<postmodern> raggi_, ah no that will work
<postmodern> raggi_, basically im trying to do something like superclass for included Modules
<raggi_> ancestors[1]
<postmodern> excellent
<raggi_> postmodern: https://gist.github.com/1538033
<postmodern> raggi_, thanks! that got me around the edge-case
<raggi_> the inverted range trick is interesting, but i've not found a good use for it
<erikh> maybe I have the dumb; how is that inverted?
<raggi_> [][0..-2]
<raggi_> range.end comes before range.begin
<erikh> oh I have my perl hat on I think
<erikh> sorry.
<erikh> -2 in perl is "the second to last element" fwiw
<raggi_> yes
<raggi_> the second to last element in a 0 lenght array is, in theoretical indexes, less than the first element
<rippa> in ruby too
<erikh> ah, point
srbaker [srbaker!~srbaker@70.28.245.63] has joined #ruby-lang
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
RORgasm [RORgasm!~rorgasm@pool-71-127-136-103.rcmdva.east.verizon.net] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.167.91.153] has joined #ruby-lang
elux [elux!~peter@67.70.37.175] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
<rue> Hmm
ryanf [ryanf!~revfitz@adsl-71-141-89-169.dsl.snfc21.sbcglobal.net] has joined #ruby-lang
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
pinage404 [pinage404!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has joined #ruby-lang
thone_ [thone_!~thone@g230185238.adsl.alicedsl.de] has joined #ruby-lang
<lake> /join #ubuntu
yango [yango!~yango@85.48.193.157] has joined #ruby-lang
<erikh> rue: my C is getting better, or so I'm being told
pinage404 [pinage404!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has joined #ruby-lang
solars [solars!~solars@mk089144206030.a1.net] has joined #ruby-lang
pinage404 [pinage404!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has joined #ruby-lang
pinage404 [pinage404!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has quit [#ruby-lang]
shevy [shevy!~shevy@188-23-93-216.adsl.highway.telekom.at] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.167.91.153] has joined #ruby-lang
jredville [jredville!~james@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
phaedrix [phaedrix!~phaedrix@c-24-22-86-235.hsd1.or.comcast.net] has joined #ruby-lang
nibbo [nibbo!nibbo@gateway/shell/blinkenshell.org/x-mfzuhcizbfsuzkko] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
giaohuyen007 [giaohuyen007!~giau-x1@222.253.94.97] has joined #ruby-lang
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
giaohuyen007 [giaohuyen007!~giau-x1@222.253.94.97] has quit [#ruby-lang]
kyrylo [kyrylo!~kyrylo@46.118.222.153] has joined #ruby-lang
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby-lang
jbsan [jbsan!~jbsan@m83-188-244-236.cust.tele2.se] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
banisterfiend [banisterfiend!~baniseter@122.63.231.172] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
path[l] [path[l]!~path@115.114.59.182] has joined #ruby-lang
chrismcg_ [chrismcg_!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby-lang
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby-lang
<yakkof> hello? I'm trying to convert a 64-bit integer to binary with pack("Q")... and read it back with Java on the other end. not getting the same result there. is pack("Q") appropriate here?
<rue> Could be an endianness problem?
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
<rue> You can use Q> for big-endian or Q< for little-endian
<rue> Also, Q is uint, q is int
<rue> yakkof: Er, ^
<yakkof> rue: if I pack("Q"), and unpack("l") I get the same as lsb conversion - 1 on the java side
<yakkof> have to double check my conversion...
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
ltd [ltd!~z@zx.io] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
<rue> Does the JVM assure 64-bit longs?
<rue> Ensure
<zvrba> yes
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.167.229.3] has joined #ruby-lang
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
benanne [benanne!~rijdier@ip-213-49-107-198.dsl.scarlet.be] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.44] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
dustin__ [dustin__!~ddeyoung@99-7-24-156.lightspeed.iplsin.sbcglobal.net] has joined #ruby-lang
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby-lang
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has quit [#ruby-lang]
dr_bob [dr_bob!~dr_bob@p549E7E45.dip.t-dialin.net] has joined #ruby-lang
rippa [rippa!~rippa@109-161-78-129.pppoe.yaroslavl.ru] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.167.126.245] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.167.126.245] has joined #ruby-lang
gnufied1 [gnufied1!~gnufied@122.178.197.11] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.178.197.11] has joined #ruby-lang
imperator [imperator!~djberg96@c-98-224-203-221.hsd1.mi.comcast.net] has joined #ruby-lang
Manhose [Manhose!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby-lang
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
Foxmaster [Foxmaster!~root@c-83-219-199-232.cust.bredband2.com] has joined #ruby-lang
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby-lang
lianj [lianj!~lianj@17.145.34.193.static.giga-dns.com] has joined #ruby-lang
lianj [lianj!~lianj@subtle/user/lianj] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
kain [kain!~kain@151.64.211.61] has joined #ruby-lang
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
RickHull [RickHull!~rhull@pool-96-246-22-58.nycmny.fios.verizon.net] has joined #ruby-lang
RickHull [RickHull!~rhull@pdpc/supporter/active/rickhull] has joined #ruby-lang
sodani [sodani!~cmiso@user-387hpcb.cable.mindspring.com] has joined #ruby-lang
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby-lang
enebo [enebo!~enebo@75-168-44-241.mpls.qwest.net] has joined #ruby-lang
terrence [terrence!~terrence@112.254.75.76] has joined #ruby-lang
sodani [sodani!~cmiso@user-387hpcb.cable.mindspring.com] has quit [#ruby-lang]
<terrence> hi
<rue> HI THERE
<shevy> DIE THERE
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby-lang
Manhose_ [Manhose_!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby-lang
Manhose__ [Manhose__!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby-lang
<rue> Why so hostile?
<shevy> rue because I can!
<rue> N-uh
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby-lang
<zzak> roooooo
<kalleth> ruh roh roo?
<rue> Zazzles?
rayners [rayners!~rayners@pool-141-157-43-32.balt.east.verizon.net] has joined #ruby-lang
RickHull [RickHull!~rhull@pool-96-246-22-58.nycmny.fios.verizon.net] has joined #ruby-lang
terrence [terrence!~terrence@112.254.75.76] has joined #ruby-lang
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby-lang
RickHull [RickHull!~rhull@pool-96-246-22-58.nycmny.fios.verizon.net] has joined #ruby-lang
<dr0id> row
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby-lang
RickHull [RickHull!~rhull@pool-96-246-22-58.nycmny.fios.verizon.net] has joined #ruby-lang
rayners [rayners!~rayners@pool-141-157-43-32.balt.east.verizon.net] has joined #ruby-lang
RickHull [RickHull!~rhull@209.119.14.25] has joined #ruby-lang
RickHull [RickHull!~rhull@pdpc/supporter/active/rickhull] has joined #ruby-lang
Jake232 [Jake232!~textual@5e04eaa6.bb.sky.com] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
goshakkk [goshakkk!~goshakkk@46.28.101.224] has joined #ruby-lang
<goshakkk> Guys what do you think about my feature suggestion for Ruby 2.0? http://bugs.ruby-lang.org/issues/5825
<Harzilein> it's not exactly orthogonal, don't you think?
<robgleeson> goshakkk: Hmmm, I'm not sure.
<heftig> Harzilein: what do you mean?
<robgleeson> it seems okay
<heftig> something similar used to work in ruby 1.8, but only in blocks, not methods
<heftig> it got removed in 1.9
<goshakkk> well, I'm talking about objects initializers. it would really save some time/LOC I think. On object initialization often all the params just go to instance vars w/o any modification
<robgleeson> goshakkk: not a whole lot of time, though
<robgleeson> you're talking seconds :)
<robgleeson> benefits are small, and im not sure if i like the syntax a lot
takaokouji [takaokouji!~takaokouj@FLA1Aam052.hrs.mesh.ad.jp] has joined #ruby-lang
<petercooper> dave thomas suggested the same idea in 2001 btw :-) http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/11633
<robgleeson> what came of it?
<robgleeson> I can't seem to find any replies to the thread
<petercooper> matz concluded..
<petercooper> << I personally feel like that method paremeters are names to the values passed, not hidden assignment, regardless of how implementation works. >>
<petercooper> and that was that
<goshakkk> petercooper: oh interesting.
<petercooper> if you ever hit a direct link on the ruby-talk archives, click the "_|_" link at the top to get a tree
<robgleeson> oh nice, thanks =)
<petercooper> Personally, I quite like the idea, but, well, matz :)
<petercooper> I don't see the harm in it being batted around again though since that's what Ruby 2.0 is mostly about and it doesn't break backwards compatibility from my POV.
<robgleeson> I don't. I feel it makes the meaning of method arguments ambiguous.
<robgleeson> (plus it's ugly.)
<robgleeson> I agree ^
<robgleeson> its ugly in that form
<robgleeson> IMO
<petercooper> Maybe it's the wrong approach but I tend to look at what other languages are doing when presented with something like that.
<petercooper> And I think Python and Java, at least, do it much like Ruby does it now.
<robgleeson> its definitely a nice-to-have if anything, though
<robgleeson> i don't see it as that important to DRY up something like that
<petercooper> I'd prefer it to some sort of ActiveSupport "AwesomeClass" metaprogramming bastardized solution though ;-)
<petercooper> (unless it were in the stdlib)
<robgleeson> not sure how AS would do that, they'd need to hook into the parser and assign everything to nil in the arg list
<robgleeson> seems Ruby even got guard against it: "SyntaxError: (irb):8: formal argument cannot be an instance variable"
<RickHull> it seems "hacky" to me. inconsistent and inexplicable in terms of ruby's basic behavior
<petercooper> That doesn't bother me quite so much given a lot of Ruby's existing bizarreness
<petercooper> but maybe that's the broken window theory coming into play :-)
<RickHull> heh
jthomas__ [jthomas__!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby-lang
<Harzilein> heftig: what i mean with lack of orthogonality is that when you see initialize work that way, you expect it would become a replacement to attr_writer
<Harzilein> for*
<Harzilein> (and if you would go that way that would certainly be ugly)
<Harzilein> s/would/would also/
<Harzilein> so you'd write class Me def age(@age) ; end end
<Harzilein> uhm
<Harzilein> i mean
<Harzilein> so you'd write class Me def age=(@age) ; end end
<shevy> what is age= doing on its inside
<petercooper> Another issue is that passing in a big bundle o attributes in some specific order is a little unattractive too.
<Harzilein> that's part of the uglyness, it would imply the result of
<Harzilein> class Me def age=(age) ; @age = age ; end end
<petercooper> Although I guess at least it would sit OK with named parameters..
gnufied [gnufied!~gnufied@122.178.197.11] has joined #ruby-lang
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby-lang
<robgleeson> It could get really weird with named arguments.
<robgleeson> Foo.new bar: @bar ?
<shevy> smalltalk!
<petercooper> on the receiving end ;-)
<erikh> not enough punctuation
<erikh> @+bar
<RickHull> doubleplus ungood
<erikh> yes
<erikh> I think you could do this pretty trivially with a small dsl-like method
<erikh> auto_attr :setter, [:one, :two, :three]
<erikh> or something.
<erikh> without changing the language structure
<erikh> I guess what my complaint is, @foo changes context between the class definition and the method definition -- which one is it for def foo(@bar) and def self.foo(@bar), is it different and how so?
<erikh> also, is it obvious? I'm not sure.
<erikh> it could get more fun with default variables.
<erikh> .. and by fun I mean "confusing"
<robgleeson> and to gain so little as well...
jarrod__ [jarrod__!~jarrod@rrcs-24-153-217-133.sw.biz.rr.com] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
path[l] [path[l]!~path@115.114.59.182] has quit [#ruby-lang]
voker57 [voker57!~voker57@128-70-103-103.broadband.corbina.ru] has joined #ruby-lang
voker57 [voker57!~voker57@kvirc/developer/Voker57] has joined #ruby-lang
jarrod__ [jarrod__!~jarrod@rrcs-24-153-217-133.sw.biz.rr.com] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby-lang
<Jay_Levitt> Is there a way to do something like "next 2" in a loop, to end the current iteration and skip the next one, too?
JoelMcCracken [JoelMcCracken!~user@c-71-60-19-216.hsd1.pa.comcast.net] has joined #ruby-lang
<injekt> Jay_Levitt: why would you want that?
<Jay_Levitt> injekt: Probably because I'm thinking about something the wrong way ☺ I want to write a wrapper for ssh that (a) actually ssh's through a gateway and then does the original ssh, and (b) rewrites the hostname to add our site domain name (as if it were in the DNS search path)
<Jay_Levitt> So.. how do I figure out which ssh argument is the hostname? I decided it's the first string that isn't an option itself, and that isn't the parameter value for an option (e.g. "-f filename").
<injekt> Jay_Levitt: im confused you're telling me too much at once ;) simplify your problem
<Jay_Levitt> yeah.. lemme gist it
<injekt> Jay_Levitt: also, use an option parser if you're.. parsing options
<injekt> there's this cool gem i heard of
<Jay_Levitt> no way
<injekt> called slop, which is pretty awesome
<Jay_Levitt> I hear it doesn't handle completions at ALL
<injekt> oh
<injekt> OH SIR
<injekt> it is you!
<injekt> haha
<Jay_Levitt> :)
<injekt> nice issue btw
<injekt> thumbs up
<Jay_Levitt> Yeah, I thought about slop but do I really want to specify each ssh option in the wrapper?
<injekt> heh
<injekt> you can use slops auto complete feature
<injekt> if you dont want to write them
<injekt> anyway I'm getting ahead of it
<injekt> er auto create feature*
<Jay_Levitt> well, so essentially, the tool is "gwssh". If invoked like "gwssh -p 22 db.production -A", I want it to actually execute "ssh -t gate.tiptap.com 'ssh -p 22 db.production.tiptap.com -A'"
benanne [benanne!~rijdier@ip-213-49-107-198.dsl.scarlet.be] has joined #ruby-lang
zzak [zzak!~zzak@ec2-107-20-68-16.compute-1.amazonaws.com] has joined #ruby-lang
andrewhl [andrewhl!~andrew@66.78.101.2] has joined #ruby-lang
<rue> Is anyone using **-args?
<jarib> **-args?
<injekt> rue: na
spuk [spuk!~spuk@186.222.1.205] has joined #ruby-lang
<Jay_Levitt> rue: what's **-args?
<Jay_Levitt> injekt: ok, here's my code-smelly version: https://gist.github.com/1540691
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
looopy [looopy!~looopy@64.134.67.155] has joined #ruby-lang
<rue> Ignore me
butchanton [butchanton!~butchanto@vpn-sanfran.exacttarget.com] has joined #ruby-lang
diegoviola [diegoviola!~viola@host-1-211.b15.cvc.com.py] has joined #ruby-lang
<shevy> Kiss me
<rue> *smooooooooooch*
dejongge [dejongge!~jonke@pD9E0CB7E.dip0.t-ipconnect.de] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
amerine [amerine!~mturner@67.204.184.82] has joined #ruby-lang
andrewhl [andrewhl!~andrew@66.78.101.2] has joined #ruby-lang
* shevy ignores rue
mangojuice [mangojuice!~mangojuic@117.203.55.171] has joined #ruby-lang
dfr|mac [dfr|mac!~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #ruby-lang
SuperTaz_work [SuperTaz_work!~supertaz_@38.99.52.59] has joined #ruby-lang
butchanton [butchanton!~butchanto@vpn-sanfran.exacttarget.com] has joined #ruby-lang
jcrocetta [jcrocetta!~joe@ool-435501b5.dyn.optonline.net] has joined #ruby-lang
jcrocetta [jcrocetta!~joe@ool-435501b5.dyn.optonline.net] has quit [#ruby-lang]
<injekt> Jay_Levitt: why not just delete anything you find in ARGV which is an option or argument, then whatever is left in ARGV is your host
<Jay_Levitt> injekt: yeah, that's a good idea, just iterate over a copy of ARGV
<injekt> yup
<Jay_Levitt> BUT OMG MEMORY!
<injekt> memory is cheap!
<Jay_Levitt> oh yeah!
<Jay_Levitt> Does that mean I don't have to order my IF statements so the "else" is the more frequent branch, either?
butchanton [butchanton!~butchanto@vpn-sanfran.exacttarget.com] has quit [#ruby-lang]
<Jay_Levitt> That saves a CPU cycle, you know.
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
solars [solars!~solars@194.208.132.118] has joined #ruby-lang
<Jay_Levitt> oh, but hah: you can't delete while iterating either
scampbell [scampbell!~scampbell@mail.scampbell.net] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
billturner [billturner!~textual@99-107-72-248.lightspeed.rcsntx.sbcglobal.net] has joined #ruby-lang
<Jay_Levitt> ah, back to indexes! yeah, that still looks cleaner, thanks
Jake232 [Jake232!~textual@5e04eaa6.bb.sky.com] has joined #ruby-lang
<Jay_Levitt> injekt: _ is just "I don't care about this block argument, call it underscore for all I care"?
<injekt> Jay_Levitt: yeah, and it stops warnings in 1.9.3
<injekt> unused variable warnings
<rippa> * works too
<injekt> they do different things
<injekt> but in that situation (my code) yeah they'll work the same
<Jay_Levitt> speaking of, is there a way to get ruby to output all warnings -except- unused variable?
<injekt> * is greedy
<injekt> Jay_Levitt: why would you want that? :P
<Jay_Levitt> SublimeLinter
<Jay_Levitt> I know it's unused! I just typed it in!
<Jay_Levitt> I'm getting to it!
<injekt> do you run with warnings on then?
<Jay_Levitt> well, thinking about turning that off, but some warnings are awful handy
<injekt> :)
<Jay_Levitt> especially (the new?) mismatched indentation on end
<injekt> no idea my editor doesn't let me mismatch indentation
<Jay_Levitt> I might have to learn enough Python to exclude arbitrary regexes from the linter output, but that's another project
<Jay_Levitt> What editor?
<injekt> vim
<Jay_Levitt> Ah :)
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby-lang
Weems [Weems!~frodo@unaffiliated/weems] has joined #ruby-lang
<rue> Veeeeeeeeemmm
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby-lang
<shevy> how much % percent of code worldwide is written in vim?
<rippa> percent percent
<shevy> hmm going to ask in #vim
<manveru> lol
<injekt> funny, when I google 'code editor usage' the first hit is a vim website
<manveru> that's like asking americans who invented the telephone :)
<injekt> hehe
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
<injekt> yeah, ask in #emacs after
<shevy> yeah
<rue> Realistically, it's like 0.5%
<shevy> I think I got some pretty solid numbers by now
<rue> Because we all write nice, concise programs. Some douchebag using Eclipse probably produces 5x the amount of code.
<shevy> vim:
<shevy> ddv> I think about 23.4923923%
<shevy> emacs:
<shevy> <mavr> shevy, 100%
<shevy> <mavr> shevy, code written not in emacs is not a real code
<rue> Well, 15x if you include the XML
<shevy> hehe
<Jake232> How can I check, what fields a database table has
<Jake232> eg: can I go user.fields
<Jake232> or something?
<Jake232> wrong chat, meant for rails
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
<hagabaka> Jake232, could also use ARGV.each_cons(2).reject {|arg, _| arg[0,1] == '-' && OPTIONS_WITH_ARGUMENTS.include?(arg[1,1])}.map(&:first)
<Jake232> hagabaka: o.O
<manveru> wut?
<hagabaka> oops
<injekt> no
<injekt> :P
<hagabaka> Jay_Levitt
<Jake232> haha
andrewhl [andrewhl!~andrew@66.78.101.2] has joined #ruby-lang
<Jay_Levitt> that hurts!
<Jay_Levitt> and man, I missed an emacs debate.
<Jay_Levitt> MY first editor was called "emacs", but it was not emacs. It was a thing that was shaped vaguely LIKE emacs, and the only macros it had were keystroke-playback.
<hagabaka> hmm maybe not
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby-lang
<shevy> back to the roots wasn't that Jay_Levitt
<Jay_Levitt> So I wrote a CRM app that used the screen as a buffer and made self-modifying macros.
<Jay_Levitt> So nyah.
<shevy> self modifying ruby code
<shevy> now that would be neat
<shevy> objects that evolve on their own
<Jay_Levitt> Isn't that just called "ruby"?
<manveru> indeed
RickHull1 [RickHull1!~rhull@209.119.14.25] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-193-157.lsanca.fios.verizon.net] has joined #ruby-lang
RickHull1 [RickHull1!~rhull@209.119.14.25] has quit [#ruby-lang]
<Jay_Levitt> Is there really nothing like Array#sub or Enumerable#sub? I really have to do a.map{|i| i == old_value ? new_value : i }
<Jay_Levitt> I feel like I'm forgetting something basic
<manveru> ?
<rue> What would #sub do?
<andrewvos> WWSD
<Jay_Levitt> :)
<rue> How would it know? array.sub old, new or something?
<manveru> .replace(new)
<Jay_Levitt> [1,2,3,4].sub(2,'b') # => [1,'b', 3, 4]
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby-lang
<manveru> uhm
<manveru> so you want to replace stuff at the beginning?
<Jay_Levitt> no, I want to replace an old value with a new value in an array
<manveru> replace then?
<Jay_Levitt> oh, yeah, if it's the same type, which it is. duh.
<Jay_Levitt> (not in that example, but in my code they're both strings.)
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
<manveru> how's that related to types?
<JoelMcCracken> yeah
<JoelMcCracken> confusedd
<Jay_Levitt> '1'.replace(2)
<Jay_Levitt> TypeError: can't convert Fixnum into String
<manveru> you just said you have an array
<Jay_Levitt> Right, but I don't want to replace the whole array, just an element of it
<Jay_Levitt> maybe I'm missing something
<manveru> >> a = [5,6,7,8]; a[a.index(7)] = 'b'; a
<manveru> => [5, 6, "b", 8]
<Jay_Levitt> Ah! [a.index()].
<JoelMcCracken> oh yais
<Jay_Levitt> Thanks, that's what I was forgetting.
nignaztic [nignaztic!~msit@70.44.2.190.res-cmts.bus.ptd.net] has joined #ruby-lang
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby-lang
x0F__ [x0F__!~x0F@p4FEE3B71.dip.t-dialin.net] has joined #ruby-lang
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby-lang
nignaztic [nignaztic!~msit@70.44.2.190.res-cmts.bus.ptd.net] has joined #ruby-lang
savage-_ [savage-_!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
Guest13151 [Guest13151!~nfxgosu@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby-lang
matled [matled!~matled@85.131.246.184] has joined #ruby-lang
topaz [topaz!~twp@wikipedia/twp] has joined #ruby-lang
robgough [robgough!~robgough@li184-32.members.linode.com] has joined #ruby-lang
andrewvos [andrewvos!~andrewvos@ec2-50-17-160-197.compute-1.amazonaws.com] has joined #ruby-lang
kalleth [kalleth!~trussell@intranet.cishub.co.uk] has joined #ruby-lang
stderr- [stderr-!~stderr@truedat.org] has joined #ruby-lang
babinho [babinho!~babinho@babinho.net] has joined #ruby-lang
erenrich [erenrich!erenrich@thalia.ugcs.caltech.edu] has joined #ruby-lang
jarib [jarib!~jarib@unaffiliated/jarib] has joined #ruby-lang
znz_jp [znz_jp!~znz@ns5.n-z.jp] has joined #ruby-lang
ohsix [ohsix!ohsix@208.100.175.111] has joined #ruby-lang
Eising [Eising!~allan@0x52b41d06.static.bcbnet.dk] has joined #ruby-lang
tdmackey [tdmackey!~tdmackey@booleanhaiku.com] has joined #ruby-lang
FiXato [FiXato!~FiXato@fixato.net] has joined #ruby-lang
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-pyhzzspgbaxakeuw] has joined #ruby-lang
Asher [Asher!~asher@98.158.127.150] has joined #ruby-lang
dave_miles [dave_miles!~davemiles@gatek.mh.bbc.co.uk] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
Foxmaster [Foxmaster!~root@c-83-219-199-232.cust.bredband2.com] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
diegoviola [diegoviola!~viola@host-1-211.b15.cvc.com.py] has joined #ruby-lang
dhoss [dhoss!~dhoss@bruticus.dhoss.net] has joined #ruby-lang
neilc_ [neilc_!~neilc@216.45.48.18] has joined #ruby-lang
SuperTaz [SuperTaz!~supertaz@c-24-130-115-179.hsd1.ca.comcast.net] has joined #ruby-lang
threeday1onk [threeday1onk!~threedaym@surimi.vm.bytemark.co.uk] has joined #ruby-lang
jayne [jayne!~jayne@freenode/staff/jayne] has joined #ruby-lang
gregmoreno [gregmoreno!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
Harzilein [Harzilein!~harzi@harzilein.eu.org] has joined #ruby-lang
jaimef [jaimef!jaimef@dns.mauthesis.com] has joined #ruby-lang
countskm [countskm!~countskm@pool-108-9-189-75.tampfl.fios.verizon.net] has joined #ruby-lang
any-key [any-key!~eric_wood@tacs.cs.tamu.edu] has joined #ruby-lang
alexkane [alexkane!~alexkane@38.117.157.141] has joined #ruby-lang
mksm_ [mksm_!Guest68249@201.20.236.65] has joined #ruby-lang
yellow5 [yellow5!~yellow5@levicole.xen.prgmr.com] has joined #ruby-lang
setmeaway [setmeaway!stemearay@119.201.52.190] has joined #ruby-lang
JosephRuby [JosephRuby!~joseph@46.33.34.42] has joined #ruby-lang
mitchty_ [mitchty_!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby-lang
yango [yango!~yango@85.48.193.157] has joined #ruby-lang
seii [seii!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby-lang
DefV [DefV!~Jan@2a02:d08:1002:100:881:5124:6028:4] has joined #ruby-lang
eban [eban!~eban@www2371u.sakura.ne.jp] has joined #ruby-lang
joast [joast!~rick@76.178.187.164] has joined #ruby-lang
mqt [mqt!m@pheasant.nirv.net] has joined #ruby-lang
conceal_rs [conceal_rs!~conceal_r@www9237u.sakura.ne.jp] has joined #ruby-lang
flori [flori!flori@irc.ping.de] has joined #ruby-lang
duckinator [duckinator!nick@botters/staff/duckinator] has joined #ruby-lang
Ttech [Ttech!ttech@botters/staff/ttech] has joined #ruby-lang
slyphon|away [slyphon|away!~weechat@unaffiliated/slyphon] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.222.153] has joined #ruby-lang
spuk [spuk!~spuk@186.222.1.205] has joined #ruby-lang
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby-lang
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby-lang
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-193-157.lsanca.fios.verizon.net] has joined #ruby-lang
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
Weems [Weems!~frodo@unaffiliated/weems] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
solars [solars!~solars@194.208.132.118] has joined #ruby-lang
SuperTaz_work [SuperTaz_work!~supertaz_@38.99.52.59] has joined #ruby-lang
mangojuice [mangojuice!~mangojuic@117.203.55.171] has joined #ruby-lang
amerine [amerine!~mturner@67.204.184.82] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
benanne [benanne!~rijdier@ip-213-49-107-198.dsl.scarlet.be] has joined #ruby-lang
JoelMcCracken [JoelMcCracken!~user@c-71-60-19-216.hsd1.pa.comcast.net] has joined #ruby-lang
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby-lang
jthomas__ [jthomas__!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby-lang
Manhose__ [Manhose__!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby-lang
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby-lang
kain [kain!~kain@151.64.211.61] has joined #ruby-lang
lianj [lianj!~lianj@subtle/user/lianj] has joined #ruby-lang
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
rippa [rippa!~rippa@109-161-78-129.pppoe.yaroslavl.ru] has joined #ruby-lang
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby-lang
dustin__ [dustin__!~ddeyoung@99-7-24-156.lightspeed.iplsin.sbcglobal.net] has joined #ruby-lang
ltd [ltd!~z@zx.io] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby-lang
nibbo [nibbo!nibbo@gateway/shell/blinkenshell.org/x-mfzuhcizbfsuzkko] has joined #ruby-lang
thone_ [thone_!~thone@g230185238.adsl.alicedsl.de] has joined #ruby-lang
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
Defusal_ [Defusal_!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
Tick-Tock [Tick-Tock!~Tick-Tock@2607:f358:1:fed5:22:0:b683:4295] has joined #ruby-lang
Jade [Jade!~jade@unaffiliated/jade] has joined #ruby-lang
cynosure [cynosure!~cynosure@centrumnet.hu] has joined #ruby-lang
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
arthurlockhart [arthurlockhart!~cinch@60-242-128-8.static.tpgi.com.au] has joined #ruby-lang
sora_h [sora_h!~sora_h@mayfield.privs.net] has joined #ruby-lang
yakkof [yakkof!~yakkof@ip68-6-125-21.sb.sd.cox.net] has joined #ruby-lang
theconartist [theconartist!~tca@thewired.me] has joined #ruby-lang
uniqanomaly_ [uniqanomaly_!~ua@dynamic-78-8-214-159.ssp.dialog.net.pl] has joined #ruby-lang
yorickpeterse [yorickpeterse!~yorickpet@pdpc/supporter/professional/yorickpeterse] has joined #ruby-lang
felipe [felipe!~felipe@unaffiliated/felipe] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
tris [tris!tristan@2001:1868:a00a::4] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
singpolyma [singpolyma!~singpolym@69.171.154.34] has joined #ruby-lang
jjp [jjp!~jjp@info-1.adm.espci.fr] has joined #ruby-lang
thebastl [thebastl!bastl@vserve.bastl.org] has joined #ruby-lang
Mchl [Mchl!~Mchl@h1881165560.rev.rootvps.pl] has joined #ruby-lang
ioga_wrk [ioga_wrk!~ioga@92.255.125.251] has joined #ruby-lang
tarcieri [tarcieri!~bascule@cryptosphere.org] has joined #ruby-lang
dbussink [dbussink!dirkjan@elle.fallingsnow.net] has joined #ruby-lang
The_prospector [The_prospector!MILLYBAYS@unaffiliated/cornman] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby-lang
queeway [queeway!~queequeg@c-71-202-152-67.hsd1.ca.comcast.net] has joined #ruby-lang
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
cyndis [cyndis!cyndis@lakka.kapsi.fi] has joined #ruby-lang
whoops [whoops!u549@gateway/web/irccloud.com/x-juttpexuuwxeohyi] has joined #ruby-lang
cldwalker [cldwalker!u2984@gateway/web/irccloud.com/x-sqttqxlnyjpqsnfr] has joined #ruby-lang
lele|w [lele|w!~Lele@2a01:2d8:0:cafe:218:f3ff:fece:a48] has joined #ruby-lang
kith [kith!~kith@unaffiliated/kith] has joined #ruby-lang
DEac- [DEac-!~deac@81.16.104.86] has joined #ruby-lang
segy [segy!~segfault@pdpc/supporter/active/segy] has joined #ruby-lang
curtism [curtism!~curtis@bas11-montreal02-1128531121.dsl.bell.ca] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-228-191.dynamic.hinet.net] has joined #ruby-lang
SubSpawn [SubSpawn!~spawn@sin.khk.be] has joined #ruby-lang
Kwanasolis [Kwanasolis!~ebrodeur@ujami.net] has joined #ruby-lang
abuiles [abuiles!u1641@gateway/web/irccloud.com/x-zalyojtyvbufxylf] has joined #ruby-lang
Aengus [Aengus!~Aengus@cloudysunday.com] has joined #ruby-lang
br1an [br1an!u440@gateway/web/irccloud.com/x-avwlpxohvdinuchk] has joined #ruby-lang
mrchrisadams [mrchrisadams!u1367@gateway/web/irccloud.com/x-ruwbnbogrspwunzr] has joined #ruby-lang
bryanl [bryanl!u1690@gateway/web/irccloud.com/x-uiylgppqujwzslan] has joined #ruby-lang
necromancer [necromancer!u4538@gateway/web/irccloud.com/x-gwhscehzsythinab] has joined #ruby-lang
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-bhfqnjmlewimthfk] has joined #ruby-lang
dhruvasagar [dhruvasagar!~dhruvasag@65.98.79.137] has joined #ruby-lang
cola_zero [cola_zero!~cola_zero@www5054u.sakura.ne.jp] has joined #ruby-lang
zenspider [zenspider!~user@envy.zenspider.com] has joined #ruby-lang
akahn [akahn!u2243@gateway/web/irccloud.com/x-ogambnwxoubbvjie] has joined #ruby-lang
pvh [pvh!u717@gateway/web/irccloud.com/x-dnsafbpxhxgcjiat] has joined #ruby-lang
agib [agib!u781@gateway/web/irccloud.com/x-tmwbzogfhcpxmnsb] has joined #ruby-lang
tylergillies [tylergillies!u3033@gateway/web/irccloud.com/x-wloppbecjdpbaujj] has joined #ruby-lang
kitallis-cloud [kitallis-cloud!u358@gateway/web/irccloud.com/x-hdhjeigbvopmdsge] has joined #ruby-lang
simon_weber [simon_weber!u4119@gateway/web/irccloud.com/x-zslxhxfkkvmwqrzw] has joined #ruby-lang
locks [locks!u130@gateway/web/irccloud.com/x-twycghtwllwgaeam] has joined #ruby-lang
timbleck [timbleck!u3835@gateway/web/irccloud.com/x-oybyssbzzfscjtrc] has joined #ruby-lang
tobiasvl [tobiasvl!~tvl@arrakis.uio.no] has joined #ruby-lang
stamina [stamina!~stamina@ip5452a9bc.speed.planet.nl] has joined #ruby-lang
Nisstyre [Nisstyre!~yours@c-208-90-102-250.netflash.net] has joined #ruby-lang
Tasser [Tasser!~freak@subtle/contributor/Tass] has joined #ruby-lang
jsaak [jsaak!~jsaak@catv-89-134-200-70.catv.broadband.hu] has joined #ruby-lang
piglop [piglop!~piglop@del63-1-82-243-95-115.fbx.proxad.net] has joined #ruby-lang
Bwild [Bwild!~irc@netblock-75-79-22-130.dslextreme.com] has joined #ruby-lang
jaska [jaska!jaska@f948.ip11.netikka.fi] has joined #ruby-lang
josh9 [josh9!~oren@cpe-76-172-9-207.socal.res.rr.com] has joined #ruby-lang
youngin [youngin!youngblood@avtomat.probsd.net] has joined #ruby-lang
fahadsadah [fahadsadah!fahad@unaffiliated/fahadsadah] has joined #ruby-lang
blowmage [blowmage!~blowmage@humanecode.new.xen.prgmr.com] has joined #ruby-lang
hexo [hexo!hexo@hackerspace.base48.tk] has joined #ruby-lang
corundum [corundum!~rbot@drbrain-2-pt.tunnel.tserv8.dal1.ipv6.he.net] has joined #ruby-lang
benwoody [benwoody!~ben@ln.benwoodall.com] has joined #ruby-lang
adgar [adgar!~adgar@carbonica.xen.prgmr.com] has joined #ruby-lang
knu [knu!chuck@v055125.ppp.asahi-net.or.jp] has joined #ruby-lang
freedrull [freedrull!~freedrull@freedrull.xen.prgmr.com] has joined #ruby-lang
drbrain [drbrain!~drbrain@drbrain-1-pt.tunnel.tserv14.sea1.ipv6.he.net] has joined #ruby-lang
SpitfireWP [SpitfireWP!~spitfire@wikipedia/spitfire] has joined #ruby-lang
spectra [spectra!~spectra@debian/developer/spectra] has joined #ruby-lang
whitequark [whitequark!~whitequar@2a00:ab00:1::4464:5550] has joined #ruby-lang
ammar [ammar!~ammar@li269-36.members.linode.com] has joined #ruby-lang
hackeron_ [hackeron_!~hackeron@cpc11-seve19-2-0-cust423.13-3.cable.virginmedia.com] has joined #ruby-lang
basicxman [basicxman!~basicxman@unaffiliated/secrece] has joined #ruby-lang
dRbiG [dRbiG!drbig@unhallowed.pl] has joined #ruby-lang
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby-lang
lele [lele!~lele@fangorn.windmill.it] has joined #ruby-lang
shajith [shajith!~shajith@chat.zende.sk] has joined #ruby-lang
corecode [corecode!~2@0x2c.org] has joined #ruby-lang
werwolf [werwolf!~llakey@174-127-47-94.static-ip.telepacific.net] has joined #ruby-lang
hibariya [hibariya!~quassel@www9204u.sakura.ne.jp] has joined #ruby-lang
RegEchse [RegEchse!regechse@crdl.eu] has joined #ruby-lang
crankharder [crankharder!~crankhard@ip68-100-194-214.dc.dc.cox.net] has joined #ruby-lang
jwollert [jwollert!~jwollert@rkh.im] has joined #ruby-lang
jstemmer [jstemmer!~cheetah@mrpwn.stemmertech.com] has joined #ruby-lang
a3li [a3li!~alex@gentoo/developer/a3li] has joined #ruby-lang
gregf [gregf!~gregf@2a01:7e00::f03c:91ff:fe96:dd74] has joined #ruby-lang
[dmp] [[dmp]!~dennis@unaffiliated/dmp/x-546784] has joined #ruby-lang
dabradley [dabradley!~bradley@office.vivisimo.com] has joined #ruby-lang
jhchabran [jhchabran!~jh@bne75-11-88-189-148-57.fbx.proxad.net] has joined #ruby-lang
tekin [tekin!~tekin@ranshop.co.uk] has joined #ruby-lang
aef [aef!~root@neoschlageter.raxys.net] has joined #ruby-lang
oddmunds [oddmunds!~oddmunds@s21-04214.dsl.no.powertech.net] has joined #ruby-lang
andman [andman!~andman@minorshadows.net] has joined #ruby-lang
wilkie [wilkie!wilkie@nat/xomb/x-qykphwlbbuwscgws] has joined #ruby-lang
deryl [deryl!deryl@perfecting.rubyists.com] has joined #ruby-lang
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby-lang
znz_v [znz_v!~znz_v@ns3.n-z.jp] has joined #ruby-lang
thepugautomatic [thepugautomatic!~thepugaut@li265-91.members.linode.com] has joined #ruby-lang
dominikh [dominikh!~dominikh@subtle/contributor/dominikh] has joined #ruby-lang
ozzloy [ozzloy!~ozzloy@unaffiliated/ozzloy] has joined #ruby-lang
zumbi [zumbi!~zumbi@77.230.237.25] has joined #ruby-lang
jbwiv [jbwiv!~wellsj@world.timcogso.com] has joined #ruby-lang
imajes [imajes!~imajes@is.imaj.es] has joined #ruby-lang
matti [matti!matti@madwifi/support/matti] has joined #ruby-lang
EvilJStoker [EvilJStoker!jstoker@unaffiliated/jstoker] has joined #ruby-lang
JoL1hAHN [JoL1hAHN!~nrk@unaffiliated/jol1hahn] has joined #ruby-lang
hrnt [hrnt!hrnt@wintermute.hrnt.net] has joined #ruby-lang
t0h [t0h!thelineva@nikita.tnnet.fi] has joined #ruby-lang
Cope [Cope!~stephen@91.194.75.218] has joined #ruby-lang
bmaland [bmaland!~bjorn@li273-13.members.linode.com] has joined #ruby-lang
ironcamel [ironcamel!~ironcamel@67.23.35.158] has joined #ruby-lang
VGoff [VGoff!~kotp@li272-234.members.linode.com] has joined #ruby-lang
ixx [ixx!~ixx@64.20.241.94] has joined #ruby-lang
_br_ [_br_!~bjoern_fr@221x255x118x242.ap221.ftth.ucom.ne.jp] has joined #ruby-lang
wasnotrice [wasnotrice!~wasnotric@174-143-152-175.static.cloud-ips.com] has joined #ruby-lang
mtkd [mtkd!znc@209-20-90-74.slicehost.net] has joined #ruby-lang
lantins [lantins!~lantins@mx0.lividpenguin.com] has joined #ruby-lang
JackNorris [JackNorris!~JackNorri@92.48.86.35] has joined #ruby-lang
ruskie [ruskie!ruskie@sourcemage/mage/ruskie] has joined #ruby-lang
ReinH [ReinH!~reinh@li14-106.members.linode.com] has joined #ruby-lang
devn [devn!~devn@rot13.pbqr.org] has joined #ruby-lang
jordan`` [jordan``!~gromit@2001:660:3302:2826:225:90ff:fe20:d9a8] has joined #ruby-lang
Kuukunen [Kuukunen!aki@kuukunen.net] has joined #ruby-lang
Kero [Kero!~kero@31-151-127-178.dynamic.upc.nl] has joined #ruby-lang
erikh [erikh!~erikh@69.30.53.43] has joined #ruby-lang
zerokarmaleft [zerokarmaleft!zkl@morpheus.net] has joined #ruby-lang
meise [meise!~dm@3st.be] has joined #ruby-lang
valeri_ufo [valeri_ufo!~valeri_uf@februality.com] has joined #ruby-lang
companybot [companybot!martins@login1.powertech.no] has joined #ruby-lang
Caius [Caius!~Caius@about/apple/macbookpro/Caius] has joined #ruby-lang
musl [musl!~mike@li44-23.members.linode.com] has joined #ruby-lang
sj26 [sj26!sj26@sj26.com] has joined #ruby-lang
Netfeed [Netfeed!~netfeed@li346-193.members.linode.com] has joined #ruby-lang
troubleman [troubleman!~torbjorn@84-16-208.227.3p.ntebredband.no] has joined #ruby-lang
muzone [muzone!~holla@84-16-208.227.3p.ntebredband.no] has joined #ruby-lang
schroedinbug [schroedinbug!~schroedin@71-212-191-172.hlrn.qwest.net] has joined #ruby-lang
flatliner [flatliner!~flatlline@cshpc.rrze.uni-erlangen.de] has joined #ruby-lang
bougyman [bougyman!bougyman@pdpc/supporter/gold/bougyman] has joined #ruby-lang
tjgillies [tjgillies!~tyler@204-232-205-180.static.cloud-ips.com] has joined #ruby-lang
lzhz [lzhz!~lars@shell.tindetech.no] has joined #ruby-lang
samuelk|away [samuelk|away!~samuelkad@unaffiliated/samuelkadolph] has joined #ruby-lang
anekos [anekos!~anekos@mail.anekos.info] has joined #ruby-lang
tty234 [tty234!telex@gateway/shell/anapnea.net/x-fvlfjgbhsvenzion] has joined #ruby-lang
masterkorp [masterkorp!~masterkor@static.34.107.46.78.clients.your-server.de] has joined #ruby-lang
rtl [rtl!~rtl@monothorpe.com] has joined #ruby-lang
ange [ange!~poloop@sd-27524.dedibox.fr] has joined #ruby-lang
bnagy [bnagy!~ben@27.54.42.187] has joined #ruby-lang
LanceHaig [LanceHaig!35057f3ffb@foresight/member/lhaig] has joined #ruby-lang
yeltzooo [yeltzooo!~yeltzooo@ec2-50-18-131-205.us-west-1.compute.amazonaws.com] has joined #ruby-lang
ged [ged!~ged@deveiate.org] has joined #ruby-lang
KillerFox [KillerFox!~rn@home.protection-fault.ch] has joined #ruby-lang
mephux [mephux!~mephux@unaffiliated/mephux] has joined #ruby-lang
hachiya [hachiya!~hachiya@encyclical.net] has joined #ruby-lang
lucas [lucas!~lucas@ubuntu/member/lucas] has joined #ruby-lang
iwamatsu [iwamatsu!~iwamatsu@v-183-181-22-108.ub-freebit.net] has joined #ruby-lang
theoros [theoros!~user@unaffiliated/theoros] has joined #ruby-lang
cout [cout!~cout@li2-82.members.linode.com] has joined #ruby-lang
joschi [joschi!~joschi@zuse.schalanda.name] has joined #ruby-lang
ChloeD [ChloeD!~chloe@88-190-26-89.rev.dedibox.fr] has joined #ruby-lang
jasiek [jasiek!~jps@sanepid.org] has joined #ruby-lang
TTilus [TTilus!terotil@idan.ihme.org] has joined #ruby-lang
hipe [hipe!~hipe@botnoise.org] has joined #ruby-lang
manveru [manveru!~manveru@64.85.172.162] has joined #ruby-lang
zigidias [zigidias!~zigidias@unaffiliated/zigidias] has joined #ruby-lang
href [href!~self@ec2-176-34-206-227.eu-west-1.compute.amazonaws.com] has joined #ruby-lang
kmmndr [kmmndr!~tomtom@bro67-2-82-227-110-8.fbx.proxad.net] has joined #ruby-lang
csmrfx [csmrfx!~Casimir@81.90.72.4] has joined #ruby-lang
fish_ [fish_!~fish@2a01:238:42b5:f700:dead:cafe:beef:babe] has joined #ruby-lang
fvollero [fvollero!fvollero@nat/redhat/x-mokabwunjuqqeuad] has joined #ruby-lang
dju [dju!~dju@fsf/member/dju] has joined #ruby-lang
FastJack [FastJack!~fastjack@dumpstr.net] has joined #ruby-lang
thorncp [thorncp!~thorncp@2600:3c01::f03c:91ff:fe93:d182] has joined #ruby-lang
lupine_85 [lupine_85!~lupine_85@unaffiliated/lupine-85/x-7392152] has joined #ruby-lang
kvs [kvs!~kvs@2a02:108:107:2001::1] has joined #ruby-lang
sinuc [sinuc!~sinuc@unaffiliated/sinuc] has joined #ruby-lang
darix [darix!darix@irssi/staff/darix] has joined #ruby-lang
shyouhei [shyouhei!~shyouhei@2001:380:17a:1:0:ff:fee1:5afe] has joined #ruby-lang
dagobah [dagobah!~dagobah@84.45.53.200] has joined #ruby-lang
pabs [pabs!~pabs@ip68-98-175-235.dc.dc.cox.net] has joined #ruby-lang
Keltia [Keltia!roberto@aran.keltia.net] has joined #ruby-lang
epitron [epitron!~epitron@unaffiliated/epitron] has joined #ruby-lang
soahccc` [soahccc`!chaos@d2-1.debian-02.ppps.hosts.project-production.de] has joined #ruby-lang
_rane [_rane!rane@theorycraft.org] has joined #ruby-lang
yugui_zzz [yugui_zzz!~yugui@yugui.jp] has joined #ruby-lang
ahf [ahf!ahf@irssi/staff/ahf] has joined #ruby-lang
ddfreyne [ddfreyne!~denisdefr@stoneship.org] has joined #ruby-lang
alip [alip!~alip@exherbo/developer/alip] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
yxhuvud [yxhuvud!~jag@h-17-181.a149.priv.bahnhof.se] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
jmontross [jmontross!~Adium@75-35-173-1.lightspeed.dllstx.sbcglobal.net] has joined #ruby-lang
necromancer [necromancer!u4538@gateway/web/irccloud.com/x-ciorxexmsflwnbce] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby-lang]
qipiqipi [qipiqipi!~qipiqipi@46.99.251.113] has joined #ruby-lang
jarrod__ [jarrod__!~jarrod@rrcs-24-153-217-133.sw.biz.rr.com] has joined #ruby-lang
<Tasser> Jay_Levitt, wtf @ main
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby-lang
<Jay_Levitt> Tasser: because I want to see the main code first and the subroutines later
<Tasser> Jay_Levitt, looks good, except you need some ruby coding style ;-)
<Jay_Levitt> hehe, tips accepted - what would you change?
<Tasser> and there's $VERBOSE
<Jay_Levitt> I grew up on PL/I... you should see how far I've come
<Tasser> instead of $DEBUG
<Tasser> ehh DEBUG
<Tasser> Jay_Levitt, and I got told to never use 'get' in a method name if possible
<Jay_Levitt> Yeah, I like that
<Jay_Levitt> I can see that (no "get").. it's redundant?
<rue> Tis
<Jay_Levitt> I've been keeping up with https://github.com/bbatsov/ruby-style-guide, but should re-read it once in a while
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
Bwild [Bwild!~irc@netblock-75-79-22-130.dslextreme.com] has joined #ruby-lang
<shevy> pffft
<shevy> "Use UTF-8 as the source file encoding."
<shevy> never!
<shevy> # bad
<shevy> e = M * c ** 2
<shevy> # good
<shevy> e = M * c**2
<shevy> don't really think that's good
<shevy> "Indent when as deep as case." true
Pip [Pip!~Pip@host-87-156-66-217.spbmts.ru] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
<hagabaka> Jay_Levitt, I think this works if you're trying to get the first argument that isn't option or option value http://eugeneciurana.com/pastebin/pastebin.php?show=44781
<Jay_Levitt> hagabaka: Yeah, that feels closer to where I started though, with a state machine
<hagabaka> what was wrong with it?
<Jay_Levitt> Just feels wrong somehow!
<Jay_Levitt> injekt's feels better, couldn't say why
<Jay_Levitt> It feels like what I'd write in PL/I I guess
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.47] has joined #ruby-lang
<Jay_Levitt> (the state machine feels like what I'd write in PL/I)
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
<hagabaka> I think indexes makes it a little harder to understand
<Jay_Levitt> that's true
<Jay_Levitt> what I really want is a way to increment the iterator! Anything else feels like a hack anyway
<burgestrand> I just got here, but increment the iterator? ”next”
<Jay_Levitt> burgestrand: yes, but I want "next 2"
datanoise [datanoise!~datanoise@24-145-66-018-dhcp.mia.fl.atlanticbb.net] has joined #ruby-lang
<burgestrand> Jay_Levitt: next takes a parameter, but I guess you want next… and then next again?
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby-lang
<Jay_Levitt> yep
<Jay_Levitt> next takes a parameter? what is it?
<Jay_Levitt> ah, "next can take a value, which will be the value returned for the current iteration of the block."
<rue> If you want to do two nexts, you're probably doing it wrong
<rue> In this case, your data is likely structured wrong, or you're using the wrong iterator (possibly earlier)
gnufied [gnufied!~gnufied@122.178.197.11] has joined #ruby-lang
askurihin [askurihin!~askurihin@91.202.47.68] has joined #ruby-lang
<Jay_Levitt> rue: would love your thoughts.. look at gethostname in https://gist.github.com/1541080, and hagabaka's alternate in http://eugeneciurana.com/pastebin/pastebin.php?show=44781
<hagabaka> Jay_Levitt, the parameter for next is whatever you want the block to return in that iteration
<rue> Why are we not using an option parser again?
<Jay_Levitt> rue: because it seems weird to define an option parser for a wrapper script.. maybe that's my mistake tho
<rue> Being that you're *parsing options*, yeah
<Jay_Levitt> yeah, but I don't know what those options are
<Jay_Levitt> I have no idea of their syntax.. though I guess I've broken the veil in knowing OPTIONS_WITH_ARGUMENTS in the first place
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.45] has joined #ruby-lang
<rue> Follow convention: $ mywrapperscript -p yay param -- these are not my params
<hagabaka> hmm
<Jay_Levitt> that doesn't fit the goal, though, which is "just type gwssh instead of ssh"
<rue> Why are you doing *any* parsing, then?
<rue> If that's all, then you'd be passing ARGV directly to ssh
<Jay_Levitt> Welllllll.. and this is silly....
<Jay_Levitt> because I want to add our domain so I don't have to type it
<Jay_Levitt> (and I want it to work from both office and home, so I can't just add it to DNS search path)
<Jay_Levitt> I also want to special-case the gateway itself, because I *know* I will type gwssh gate.example.com
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
<Jay_Levitt> though I guess at worst that'd just be an extra local ssh connection
<Jay_Levitt> OH
<Jay_Levitt> the gateway will have its search path set correctly.
<Jay_Levitt> I don't have to do any of that in gwssh!
<Jay_Levitt> ...which I think brings gwssh right back to 'alias gwssh="ssh -t -A gate.example.com ssh"
<Jay_Levitt> Well, that was a fun trip.
<rue> Hooray
AndChat| [AndChat|!~AndChat@222.153.223.45] has joined #ruby-lang
<rue> The Power of Programming (that others have already done)!
<Jay_Levitt> See, if I was doing TDD, I would have discovered that the alias already DID everything I wanted it to do.
<Guest13151> how do you maximize a window
<shevy> scream at it
<Jay_Levitt> No, that minimizes it
<Guest13151> or maximize all again
<shevy> in ruby-gtk it would be via window.maximize
<Guest13151> window + m = minimize all
<Guest13151> my bad, wrong channel
<shevy> I have that key combination aliased in fluxbox... but only to minimize the current window
<Guest13151> on win 7 it minimizes all
scampbell [scampbell!~scampbell@mail.scampbell.net] has joined #ruby-lang
<hagabaka> Jay_Levitt, looks like you don't need it any more, but how about this? http://eugeneciurana.com/pastebin/pastebin.php?show=44782
<Jay_Levitt> hagabaka: now THAT I like
<Jay_Levitt> hagabaka: I will use it in my new masterpiece, a program that prints a character to STDOUT
<Jay_Levitt> I think everyone will find it useful.
<hagabaka> eh
<rue> Slybuddy!
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
hzlocky [hzlocky!~me@dynamic-vpdn-93-125-13-64.telecom.by] has joined #ruby-lang
SuperTaz_work [SuperTaz_work!~supertaz_@vpn.lax.truecarcorp.com] has joined #ruby-lang
jmontross [jmontross!~Adium@75-35-173-1.lightspeed.dllstx.sbcglobal.net] has joined #ruby-lang
<nekid> oh rippa
<nekid> you ahk too?
beiter [beiter!~beiter@manz-590f0663.pool.mediaWays.net] has joined #ruby-lang
Austin__ [Austin__!~austin@96.45.197.22] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby-lang]
s0ber [s0ber!~s0ber@114-36-237-144.dynamic.hinet.net] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-237-144.dynamic.hinet.net] has joined #ruby-lang
beiter [beiter!~beiter@manz-590efb5c.pool.mediaWays.net] has joined #ruby-lang
andrewhl [andrewhl!~andrew@75.98.19.132] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-237-144.dynamic.hinet.net] has joined #ruby-lang
scampbell [scampbell!~scampbell@mail.scampbell.net] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-237-144.dynamic.hinet.net] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
<andrewvos> nekid: What's ahk?
<nekid> autohotkey
<andrewvos> Oh ok
<nekid> its a lang & a legit hotket program
pet_r [pet_r!~petr@85.132.143.21] has quit [#ruby-lang]
banaan [banaan!~rijdier@ip-213-49-105-132.dsl.scarlet.be] has joined #ruby-lang
Austin__ [Austin__!~austin@96.45.197.22] has quit [#ruby-lang]
<andrewvos> yeah I know
<andrewvos> Not a windows user
<andrewvos> (anymore)
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has quit [#ruby-lang]
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has quit [#ruby-lang]
hans__ [hans__!~hans@HSI-KBW-078-043-035-048.hsi4.kabel-badenwuerttemberg.de] has joined #ruby-lang
rolfb [rolfb!~rolfb@ti0168a340-0442.bb.online.no] has joined #ruby-lang
billturner [billturner!~textual@99-107-72-248.lightspeed.rcsntx.sbcglobal.net] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
hans__ [hans__!~hans@HSI-KBW-078-043-035-048.hsi4.kabel-badenwuerttemberg.de] has joined #ruby-lang
t0h [t0h!thelineva@nikita.tnnet.fi] has joined #ruby-lang
<JoelMcCracken> dsofij
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
jredville [jredville!~james@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
Asher [Asher!~asher@98.158.127.150] has joined #ruby-lang
amerine [amerine!~mturner@67.204.184.82] has joined #ruby-lang
Jake232 [Jake232!~textual@5e04eaa6.bb.sky.com] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby-lang
srbaker_ [srbaker_!~srbaker@70.28.245.120] has joined #ruby-lang
shachaf [shachaf!~shachaf@ip24.67-202-82.static.steadfastdns.net] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
<andrewhl> is there a method for converting a unix time to a date string?
<andrewhl> all the articles I'm finding online are for going the other way
<jredville> andrewhl: `Time.at 1234` will return the time from a unix timestamp, is that what you need?
<andrewhl> let me try it
<andrewhl> jredville: that returns something like this: 2011-12-25 14:03:03 -0500. I'm looking for something like "December 25th, 2011"
<mitchty> Time.at(1234567890).strftime("%B %d %Y")
<mitchty> => "February 13 2009"
<mitchty> that closer?
<jredville> so, Time.at returns a Ruby Time object, so you can use anything from the Time class http://rubydoc.info/stdlib/core/1.9.2/Time
<andrewhl> that's perfect, thanks
<mitchty> andrewhl: http://ruby-doc.org/core-1.9.3/Time.html#method-i-strftime look at the rest of the modifiers, also don't reinvent time formats iso 8601 forever!
mitchty_ [mitchty_!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby-lang
<andrewhl> :)
diegoviola [diegoviola!~viola@host-1-211.b15.cvc.com.py] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
queeway [queeway!~queequeg@c-71-202-152-67.hsd1.ca.comcast.net] has joined #ruby-lang
mitchty- [mitchty-!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby-lang
kain_ [kain_!~kain@151.64.233.209] has joined #ruby-lang
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
jredville [jredville!~james@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
terrence [terrence!~terrence@123.234.184.57] has joined #ruby-lang
<zenspider> andrewhl: to clarify, `Time.at 1234` is not returning "something like this: 2011-12-25"
<zenspider> it returns an instance of the Time class
<zenspider> huge difference.
<andrewhl> ok
<zenspider> then you have all the time (and ancestors) methods available to you
<zenspider> I agree with mitchty... don't reinvent. use 8601
<zenspider> there are a LOT of advantages to using it
dkannan [dkannan!u480@gateway/web/irccloud.com/x-zhhkdcsvdxfyxmxt] has joined #ruby-lang
<andrewhl> will do:)
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby-lang
Defusal [Defusal!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
<Harzilein> gah
<Harzilein> i hate when features are clearly advertised in the docs, but suspiciously omitted from the tests, then turn out to not be implemented
<Harzilein> in this case: unordered lists below definition lists in ronn
<burgestrand> Or all of the above, except it doesn’t work.
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby-lang