Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
arooni-mobile [arooni-mobile!~arooni-mo@189.149.99.182] has joined #ruby-lang
miker [miker!~qwester@72-165-229-187.dia.static.qwest.net] has joined #ruby-lang
sunredsky [sunredsky!sunredsky@76.206.24.126] has joined #ruby-lang
replore_ [replore_!~replore@203.152.213.161.static.zoot.jp] has joined #ruby-lang
Sailias_ [Sailias_!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
Sailias__ [Sailias__!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
Sailias__ [Sailias__!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
<shevy> what was the name of that "ruby grep" again?
Sailias__ [Sailias__!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
Sailias_ [Sailias_!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby-lang
<andrewvos> shevy: What does it do?
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<shevy> it greps through source files
<shevy> I know I downloaded it some weeks ago from github, but I forgot the name :(
<andrewvos> shevy: ack
<shevy> isn't that written in perl?
skiz [skiz!~skiz@c-69-181-211-4.hsd1.ca.comcast.net] has joined #ruby-lang
<shevy> ah well
<shevy> I can't remember the name anyway
<shevy> going to write my own
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby-lang
<andrewvos> shevy: What do you want to d?
<andrewvos> shevy: Try use the komainu gem if you want
<andrewvos> shevy: For searching text
srbaker [srbaker!~srbaker@70.28.245.60] has joined #ruby-lang
<andrewvos> Hey has anyone done a site that stores lists of what gems use other gems? So for example you can see that one gem is used in n other projects?
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
<andrewvos> Oh wait I see ruby-toolbox has that
<drbrain> andrewvos: I wrote http://segment7.net/projects/ruby/gem_dependencies.html which is similar
<drbrain> it only lists the first dependee, though
* erikh sighs
dv310p3r [dv310p3r!~dv310p3r@adsl-74-161-99-192.mia.bellsouth.net] has joined #ruby-lang
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
<andrewvos> drbrain: cool
<andrewvos> erikh: What's up?
<erikh> eh, not much!
<erikh> just a long day
takaokouji [takaokouji!~takaokouj@2001:268:306:1:225:bcff:fedc:e1fe] has joined #ruby-lang
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby-lang
zenspider [zenspider!~user@envy.zenspider.com] has joined #ruby-lang
<zenspider> rawr
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby-lang
SuperTaz_work [SuperTaz_work!~supertaz_@38.99.52.59] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
znz_v [znz_v!~znz_v@ns3.n-z.jp] has joined #ruby-lang
<zenspider> graph 2.3.1 released
Rakko [Rakko!~rakko@96-42-31-132.dhcp.mdsn.wi.charter.com] has joined #ruby-lang
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby-lang
<Rakko> why hello
<zenspider> hoe 2.15.5 released
<Rakko> hoe hoe!
srbartlett [srbartlett!~srbartlet@202.146.7.239] has joined #ruby-lang
<zenspider> ONE red task in omnifocus and I'm all caught up!
<zenspider> unfortunately it's to finish the last chapter of the seasoned schemer...
<Rakko> so?
<Rakko> get to it!
<zenspider> no you?
gix [gix!~gix@e180001097.adsl.alicedsl.de] has joined #ruby-lang
j`ey [j`ey!~jey@unaffiliated/jey/x-00002] has joined #ruby-lang
<j`ey> puts (Klass.new do some_stuff_wrong; end).hellow_world
<j`ey> is that not valid?!
<j`ey> (seems not)
woollyams [woollyams!~woollyams@203-206-165-21.perm.iinet.net.au] has joined #ruby-lang
jmontross [jmontross!~Adium@static-96-236-65-137.snfcca.dsl-w.verizon.net] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
<zenspider> j`ey: .new.hellow_world
<zenspider> (or define a class method)
ivanoats [ivanoats!~ivanoats@pdpc/supporter/active/ivanoats] has joined #ruby-lang
<j`ey> well, I wanted new to take a block
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
neoesque [neoesque!~neoesque@210.59.147.232] has joined #ruby-lang
yalper [yalper!~yalper@c-68-82-228-17.hsd1.nj.comcast.net] has joined #ruby-lang
yadav [yadav!~quassel@dsl-173-248-230-235.acanac.net] has joined #ruby-lang
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
Briareos1 [Briareos1!~quassel@202.58.198.84] has joined #ruby-lang
<drbrain> I'm wondering if I should release this as a gem: http://paste.segment7.net/pp.html
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
<zenspider> j`ey: Class.new (actually Module.new) takes a block. and Klass could have an initialize method that yields...
<zenspider> I dunno tho
brianpWins [brianpWins!~brianpWin@S01060014bf8930ea.vc.shawcable.net] has joined #ruby-lang
znz_jp [znz_jp!~znz@ns5.n-z.jp] has joined #ruby-lang
SuperTaz_ [SuperTaz_!~supertaz@38.99.52.59] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
arooni-mobile [arooni-mobile!~arooni-mo@189.149.99.182] has joined #ruby-lang
arooni-mobile__ [arooni-mobile__!~arooni-mo@189.149.99.182] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
<rue> Yeah, you can have #initialize yield if you don't mess with .new
<rue> class A; def initialize; yield; end; def foo; p :ho; end; end; A.new { p :hi }.foo # => :hi, :ho
<rue> Why must one log into BitBucket anyway?
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby-lang
heppy_ [heppy_!~heppy@fw.baysidebusinessplaza.com] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
cschneid [cschneid!~cschneid@c-76-120-122-74.hsd1.co.comcast.net] has joined #ruby-lang
Briareos1 [Briareos1!~quassel@202.58.198.84] has joined #ruby-lang
datanoise [datanoise!~datanoise@24-145-66-018-dhcp.mia.fl.atlanticbb.net] has joined #ruby-lang
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@174-27-218-195.slkc.qwest.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<kyrylo> What is the purpose of Manifest.txt file in Ruby projects?
<Asher> shows what files are included
<kyrylo> Why do we need to know what files are included?
<Asher> "supposed to be included" maybe would be better
<Asher> so you can compare what you have w/what you should have
<Asher> that's the theory
<erikh> drbrain: I just used setjmp and longjmp in the wild for the first time the other day!
<erikh> aren't you excited?
<erikh> (re: your gem)
<drbrain> erikh: haha
<kyrylo> Asher, so, in essence, the purpose is to help programmer to plan the structure of his program, isn't it?
<Asher> kyrylo - no it's for distributions of packages so if you get the package and suspect it's incomplete you can verify
<kyrylo> Ah, thank you.
<drbrain> Manifest.txt is for me to know I shipped a good gem
* drbrain eats
Meodo [Meodo!~Meodo@60-240-11-66.tpgi.com.au] has joined #ruby-lang
arooni-mobile [arooni-mobile!~arooni-mo@189.149.99.182] has joined #ruby-lang
arooni-mobile__ [arooni-mobile__!~arooni-mo@189.149.99.182] has joined #ruby-lang
srbaker [srbaker!~srbaker@70.28.245.34] has joined #ruby-lang
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby-lang
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby-lang
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby-lang
ioga_wrk [ioga_wrk!~ioga@92.255.125.251] has joined #ruby-lang
NinoScript [NinoScript!~Adium@pc-55-124-83-200.cm.vtr.net] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
RomyEatsDrupal [RomyEatsDrupal!~stickycak@64.134.97.98] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
<livinded> is capistrano still the best choice for deployment?
heppy [heppy!~heppy@75-101-31-55.dsl.dynamic.sonic.net] has joined #ruby-lang
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
jmontross [jmontross!~Adium@c-76-102-197-68.hsd1.ca.comcast.net] has joined #ruby-lang
<jmontross> bitbucket is poor man's github
<Rakko> bitbucket gives free private accounts
replore_ [replore_!~replore@203.152.213.161.static.zoot.jp] has joined #ruby-lang
woollyams [woollyams!~woollyams@203-206-165-21.perm.iinet.net.au] has joined #ruby-lang
<rue> I don't see how that requires logins :/
RomD [RomD!~Roman@nrbg-d9322fb3.pool.mediaWays.net] has joined #ruby-lang
JosephRuby [JosephRuby!~joseph@46.33.39.126] has joined #ruby-lang
<erikh> marketing
<erikh> that said, all of atlassian's products are like that except for confluence
<erikh> you pretty much need a login to do anything worthwhile on jira, etc.
<erikh> very bored
gianlucadv [gianlucadv!~gianlucad@host223-28-dynamic.248-95-r.retail.telecomitalia.it] has joined #ruby-lang
<rue> atlolssian
<rue> erikh: Play SWTOR
<erikh> played in the beta
<erikh> more of the same, not fo rme.
<rue> Play DDO
<erikh> I don't have time for a soul sucking trip down raid leader lane
<erikh> DDO?
<erikh> I got battlefield 3 but I've been mostly playing by myself, which is pretty boring
<erikh> and serious sam 3 is fun but haaarrd
<corn_man> DDO= dungeons and dragons online
<erikh> I think in my current save I have 16 health and am fighting a boss that has dual rocket turrets that fire very quickly with a shotgun
<erikh> corn_man: ah
<erikh> yeah, no more MMOs for me until fallout maybe
<corn_man> I'm not an mmo fan either
<erikh> played wow for too long and I still regret the time I put into it, years later
kitallis [kitallis!~kitallis@122.167.83.22] has joined #ruby-lang
<rue> DDO's nice in that it's got active combat. It's like a first-person… swordsman, rather than a point-and-click
<Rakko> that sounds cool
<TTilus> wish gt5 had a proper physical damage modeling
csherin [csherin!~csherin@115.111.177.122] has joined #ruby-lang
<rue> TTilus: Carmageddon II is still leader in that :)
<rue> Rakko: Free-to-play, too! ;)
<Rakko> wow
<rue> Well, it's “strongly encouraging” you to pay (in-game store helps there), but you *can* pay for free
<rue> It's the only MMO I've liked, though.
<TTilus> rue: flatouts do pretty good job too, to bad they are so shaky on wine
srbaker [srbaker!~srbaker@70.28.245.34] has joined #ruby-lang
<TTilus> wheel calibration was particularily bad
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<TTilus> had to patch wine to get "gamma correction" =D
<Rakko> flatouts?
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby-lang
<drbrain> slyphon: what do you have against callcc?
<slyphon> drbrain: holy cross protocols, batman!
<slyphon> drbrain: it makes me feel dumb
<drbrain> slyphon: it's also total overkill which makes it EXTRA AWESOME
<slyphon> drbrain: EM::Synchrony is a good use of it, but mehhhh
<slyphon> actually, i take that back
<slyphon> that's Fibers
<slyphon> yeah
<slyphon> drbrain: why not use a fiber?
<drbrain> Fiburs?
<erikh> heh
<slyphon> :)
<slyphon> drbrain: too new skool for ya?
<drbrain> yeah
<slyphon> ah, ok :)
<drbrain> and it's not quite the right way to troll people
* slyphon laughs
<drbrain> there was a guy on ruby-core asking why he couldn't do non-local returns
* slyphon blinks several times
<slyphon> because you'll wind up with your cock in /dev/null somehow
<drbrain> LOL
<slyphon> :D
<any-key> whaat
<drbrain> yeah, pretty much
<slyphon> it took me a while to understand when that would happen
<slyphon> i think it was trickier semantically w/ 1.8.x
<slyphon> what with Proc, proc, and lambda
<drbrain> return_bang's use of callcc is pretty tame
<slyphon> all being annoyingly different in subtle ways
<drbrain> yeah
<slyphon> honestly, though, i can't tell if i just incorporated that into "good style" that I don't notice, or if it actually got easier to not fuck that up
<slyphon> drbrain: i guess if you want to scar the poor boy for life, then sure
<slyphon> "hey son, here's a .45 magnum, show it to your sister!!"
<drbrain> slyphon: now you're getting the hang of it!
<slyphon> hahahah
<drbrain> slyphon: I also wrote a gem to reduce $SAFE...
* slyphon boggles
<slyphon> uh
<slyphon> 1) what?!@ how?! and 2) who the fuck actually *uses* that?
<drbrain> in 1.8 the C symbol for $SAFE was not static
<drbrain> so you could wrap it in a C extension and change the value
<slyphon> ok, ok, yeah, when running as a setuid, it's probably good to be extra paranoid *sometimes* except Linux doesn't run interpreted scripts as setuid, so that's not generally that helpful (to me), and writing 'untaint' over an over makes me giggle too much
<drbrain> I don't think the extension works anymore in 1.9
<slyphon> drbrain: oh wow
<slyphon> "uh, guys..."
<drbrain> now safe_level is stored on the thread
* slyphon nods
<slyphon> man, it's crazy to me, the NaCl project
<slyphon> "Sure, we'll implement a sandbox for C code"
<drbrain> I should see if I can get the extension to work on 1.9
<slyphon> i mean, what huge swinging balls
<drbrain> there's also tenderlove's neversaydie
<drbrain> yeah
<any-key> isn't an OS a sandbox for C code? ;)
<drbrain> it's a libsigsegv wrapper :D
<slyphon> HA!
<drbrain> any-key: not a very good one
<any-key> haha
<any-key> it's a sandbox filled with cat poop
<slyphon> yeah, Solaris ain't bad in that regard
<slyphon> linux...
<slyphon> ehhhhhhhh
<any-key> solaris has zones and whatnot
<any-key> how fucking badass is that
<drbrain> a FreeBSD jail, too
<any-key> and the internet is hooked together by tubes in solaris
<any-key> ;)
<slyphon> i miss zones
<slyphon> and solaris
<slyphon> shame it's DEAD TO ME NOW
* slyphon mails *another* flaming bag of poop to larry ellison's Lear Jet
<any-key> there's alwasy openindiana
<rue> The discerning billionaire flies a brown Lear
<slyphon> also: Oracle sucks
* slyphon shouts into the void
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
woollyams [woollyams!~woollyams@203-206-165-21.perm.iinet.net.au] has joined #ruby-lang
<any-key> have they killed virtualbox yet?
<slyphon> SHHHH
<slyphon> jeez!
<any-key> I may punch someone if that happens
<any-key> I HAVE A THEORY
<any-key> Oracle is being the bad guy to UNITE open source developers and push the open source movement farther
<any-key> so we can all hate them, and use that as a driving force to move forward
<any-key> so they're being nice
<slyphon> ok twitter, your suggestion engine blows. you're *actually* suggesting that i follow *Counting* *fucking* *Crows*
<slyphon> the Black Crows, maybe
<slyphon> Crowes
<slyphon> any-key: yyyyyyyyeah
<slyphon> any-key: "and monkeys might fly out of my butt"
<any-key> stranger thing have happened
<slyphon> hell "The Monkees" might fly out of my butt
<any-key> that'd be awesome
<slyphon> their movie was fucking awesome
<slyphon> and i say that in all seriousness
diegoviola [diegoviola!~viola@host-1-211.b15.cvc.com.py] has joined #ruby-lang
<slyphon> Frank Zappa had a walk-on, produced by Jack Nicholson
towski [towski!~towski@173-13-170-161-sfba.hfc.comcastbusiness.net] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
drewolson [drewolson!~drewolson@adsl-69-210-244-239.dsl.chcgil.sbcglobal.net] has joined #ruby-lang
benteaa [benteaa!3726@safir.ifi.uio.no] has joined #ruby-lang
<drbrain> hrm, how do I not pass a block in Ruby/C
<drbrain> ha! just found rb_enumeratorize()
<rue> rb_whatnow?
<rue> Same as #to_enum?
ivanoats [ivanoats!~ivanoats@pdpc/supporter/active/ivanoats] has joined #ruby-lang
<drbrain> yeah
kith [kith!~kith@unaffiliated/kith] has joined #ruby-lang
yxhuvud [yxhuvud!mongo@h-49-243.a212.priv.bahnhof.se] has joined #ruby-lang
<erikh> renoise is fun
AndChat- [AndChat-!~AndChat@222.153.223.45] has joined #ruby-lang
<rippa> ATTENTION: Please note that this keyboard has black labeling on dark gray plastic keycaps. In low lit environments, this keyboard will appear to be blank!
werwolf [werwolf!~llakey@174-127-47-94.static-ip.telepacific.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
r0bby_ [r0bby_!~wakawaka@guifications/user/r0bby] has joined #ruby-lang
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby-lang
crankharder [crankharder!~crankhard@ip68-100-194-214.dc.dc.cox.net] has joined #ruby-lang
jaafar [jaafar!~jet@adsl-76-200-166-49.dsl.pltn13.sbcglobal.net] has joined #ruby-lang
Banistertab [Banistertab!~Banistert@122.63.143.153] has joined #ruby-lang
RomyEatsDrupal [RomyEatsDrupal!~stickycak@cpe-74-64-122-182.nyc.res.rr.com] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@h-163-174.a155.priv.bahnhof.se] has joined #ruby-lang
werwolf [werwolf!~llakey@174-127-47-2.static-ip.telepacific.net] has joined #ruby-lang
jmontross [jmontross!~Adium@c-76-102-197-68.hsd1.ca.comcast.net] has joined #ruby-lang
ryanf [ryanf!~revfitz@adsl-69-111-194-237.dsl.snfc21.sbcglobal.net] has joined #ruby-lang
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.47] has joined #ruby-lang
werwolf [werwolf!~llakey@174-127-47-94.static-ip.telepacific.net] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
jaimef [jaimef!~jaimef@dns.mauthesis.com] has joined #ruby-lang
perryh [perryh!~perry@unaffiliated/perry753] has joined #ruby-lang
RomyEatsDrupal_ [RomyEatsDrupal_!~stickycak@cpe-74-64-122-182.nyc.res.rr.com] has joined #ruby-lang
banisterfiend [banisterfiend!~baniseter@115.189.196.244] has joined #ruby-lang
spuk [spuk!~spuk@187.65.178.172] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@174-27-218-195.slkc.qwest.net] has joined #ruby-lang
comboy [comboy!~quassel@static.7.66.9.176.clients.your-server.de] has joined #ruby-lang
solars [solars!~solars@clnet-kmu02-090.ikbnet.co.at] has joined #ruby-lang
werwolf [werwolf!~llakey@174-127-47-94.static-ip.telepacific.net] has joined #ruby-lang
Briareos1 [Briareos1!~quassel@202.58.198.84] has joined #ruby-lang
spuk [spuk!~spuk@187.65.178.172] has joined #ruby-lang
<matled> I have the following problem with optparse: if argv contains a string with an invalid encoding it raises an exception because a regexp is matched against the string
<matled> the string is marked as UTF-8 even though it is iso-8859-1 because the filename just has a filename in that encoding
<erikh> any-key: so basically Oracle is the new Microsoft, but what is the new slashdot? HN? Reddit?
<erikh> I mean it could be either of those
<matled> the workaround I came up with so far is ARGV.map! { |s| s.dup.force_encoding "ASCII-8BIT" }
<rue> If it's rare, perhaps you'd just rescue it?
<rue> Assuming you can't fix the name
<matled> well, it seems I have to make each item in ARGV have a valid encoding to work with optparse
<shevy> hmm
<rue> Ah, I missed the crucial word there
<shevy> one language to rule them
<shevy> one encoding to bind them
Briareos1 [Briareos1!~quassel@202.58.198.84] has joined #ruby-lang
dc5ala [dc5ala!~dc5ala@stgt-4d03ab9e.pool.mediaWays.net] has joined #ruby-lang
aroop [aroop!~Aroop@50.46.157.247] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
cyri_ [cyri_!~cyri_@236.200.72.86.rev.sfr.net] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
thrcka [thrcka!~thrcka@ip-89-102-34-33.net.upcbroadband.cz] has joined #ruby-lang
yorickpeterse [yorickpeterse!~yorickpet@pdpc/supporter/professional/yorickpeterse] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.221.38] has joined #ruby-lang
ksinkar [ksinkar!~ksinkar@117.195.109.45] has joined #ruby-lang
molgrew [molgrew!~bozo20@85.182.139.18] has joined #ruby-lang
<rue> ksinkar: Builder doesn't work for you/
<ksinkar> rue: is there no way around this?
<ksinkar> <MK-IP>foo</MK-IP>
<ksinkar> rue: ??
woollyams [woollyams!~woollyams@124-170-54-189.dyn.iinet.net.au] has joined #ruby-lang
<rue> I fail at reading today. I thought you were writing code to implement an XML markup builder
<rue> ksinkar: You can use #tag!
gnufied [gnufied!~gnufied@122.167.254.70] has joined #ruby-lang
JohnBat26|2 [JohnBat26|2!~Eugene@89.175.77.90] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@124-168-83-178.dyn.iinet.net.au] has joined #ruby-lang
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby-lang
thrcka [thrcka!thrcka@nat/redhat/x-gejyabyaavbvvifw] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby-lang
<ksinkar> rue: what do you mean my #tag! ? Can you please elaborate a bit?
<rue> ksinkar: The method #tag!, it lets you give a string such as "MK-IP". Check the doc for details
<ksinkar> rue: thanx
Fullmoon [Fullmoon!~Fullmoon@dsl-stat-43-17.mmc.at] has joined #ruby-lang
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby-lang
towski [towski!~towski@173-13-170-161-sfba.hfc.comcastbusiness.net] has joined #ruby-lang
lorenzo [lorenzo!~quassel@217.33.106.3] has joined #ruby-lang
dave_miles [dave_miles!~davemiles@gatek.thls.bbc.co.uk] has joined #ruby-lang
workmad3 [workmad3!~workmad3@vpn100.its.manchester.ac.uk] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0599.bb.online.no] has joined #ruby-lang
NinoScript [NinoScript!~Adium@pc-55-124-83-200.cm.vtr.net] has joined #ruby-lang
xsdg [xsdg!~xsdg@SIPB-VM-99.MIT.EDU] has joined #ruby-lang
jd [jd!~useless@unaffiliated/jade] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@124-168-83-178.dyn.iinet.net.au] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@naqasl.physik.hu-berlin.de] has joined #ruby-lang
sora_h [sora_h!~sora_h@tubusu.net] has joined #ruby-lang
Fullmoon [Fullmoon!~Fullmoon@TK212017097035.teleweb.at] has joined #ruby-lang
X99 [X99!~quassel@218.77.14.195] has joined #ruby-lang
leafac [leafac!~lfacchine@mail.daitanlabs.com] has joined #ruby-lang
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby-lang
<babinho> \o
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
stamina [stamina!~stamina@ip5452a9bc.speed.planet.nl] has joined #ruby-lang
<dr0id> o/
dave_miles [dave_miles!~davemiles@gatek.thls.bbc.co.uk] has joined #ruby-lang
woollyams [woollyams!~woollyams@124-170-54-189.dyn.iinet.net.au] has joined #ruby-lang
woollyams [woollyams!~woollyams@124-170-54-189.dyn.iinet.net.au] has joined #ruby-lang
woollyams [woollyams!~woollyams@124-170-54-189.dyn.iinet.net.au] has joined #ruby-lang
bjensen [bjensen!~brianj@2.110.166.0] has joined #ruby-lang
lenilson_dias [lenilson_dias!~lenilson_@c934d329.virtua.com.br] has joined #ruby-lang
<andrewvos> Hey is there another way of doing the #{} syntax in ruby strings?
<tobiasvl> do you mean ${} ?
<tobiasvl> interpolation
<rippa> ${}?
<rippa> what?
<tobiasvl> :o :D
<tobiasvl> wait ...
<manveru> andrewvos: using sprintf?
stamina [stamina!~stamina@ip5452a9bc.speed.planet.nl] has joined #ruby-lang
bjensen [bjensen!~brianj@2.104.27.138] has joined #ruby-lang
<j`ey> andrewvos: "hello %s" % "andrew" => "hello andrew"
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
<manveru> >> "1 + 1 = %{sum}" % {sum: 1 + 1}
<manveru> => "1 + 1 = 2"
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
Guest2489 [Guest2489!~mirmatto@dynamic-adsl-94-37-93-84.clienti.tiscali.it] has joined #ruby-lang
<j`ey> manveru: o_O
<andrewvos> wow
<erikh> tobiasvl: wrong language, JAPH
<erikh> :P
<tobiasvl> :)
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby-lang
beiter [beiter!~beiter@manz-590ee2f2.pool.mediaWays.net] has joined #ruby-lang
mindgame [mindgame!mindgame@115.241.62.34] has joined #ruby-lang
datanoise [datanoise!~datanoise@24-145-66-018-dhcp.mia.fl.atlanticbb.net] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
<rue> $hi = "ho"; p "${hi}"
<rue> Aww
<rue> I'm sure that used to work
AlHafoudh [AlHafoudh!~textual@178.143.119.6] has joined #ruby-lang
<manveru> "#$hi" works
<rue> Ah yes, that's the one
<rue> And #@hi
setmeaway [setmeaway!setmeaway3@119.201.52.190] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@host.62.65.124.23.bitcom.se] has joined #ruby-lang
judofyr [judofyr!~judofyr@195.159.219.65] has joined #ruby-lang
<rippa> "#$/"
<rippa> even
<rippa> %@#$/@
<rippa> minimum readability
<Mon_Ouie> "%#$"" # Use this to break syntax highlighting in your editor
<Mon_Ouie> without the % even
gnufied [gnufied!~gnufied@122.167.254.70] has joined #ruby-lang
<erikh> emacs users. pfft.
valcker [valcker!~valcker@228-7-190-109.dsl.ovh.fr] has joined #ruby-lang
<rippa> Mon_Ouie: didn't break in vim
<erikh> vim has always done a better job in this regard
<erikh> (and I was an emacs user for a long time)
<rippa> though breaks if you add text in places
Defusal_ [Defusal_!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
chakatz [chakatz!~chakatz@jerext.exlibris.co.il] has joined #ruby-lang
AlHafoudh [AlHafoudh!~textual@178.143.119.6] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
banister_ [banister_!~baniseter@122.63.252.253] has joined #ruby-lang
<banister_> anyone have experience debugging buld errors on travis-ci?
<banister_> i cant understand why this is failing http://travis-ci.org/#!/banister/pry-stack_explorer/jobs/427203
<banister_> is this a valid dependency specification? s.add_dependency("pry","~>0.9.8.0pre1")
<rue> I don't think you can use ~ with pre
<rue> It's somewhat pointless anyway
<Mon_Ouie> I think you can but it's just the same as = 0.9.8.0pre1
<banister_> rue: can i use >= ?
<rue> Also 0.9.8.0? :/
<banister_> rue: yeah, bad version number
<banister_> rue: but that's not enough to cause it to fail is it? how do i get travis-ci to do a --trace ?
<judofyr> banister_: can't you set the command in travis.yml?
<diegoviola> 0.9.8.0? lol
<judofyr> script: rake test --trace
<judofyr> banister_: ^
<banister_> judofyr: cool thanks
<banister_> diegoviola: i just got into the habit since i released a lot of patches to the last release, e.g: 0.9.7.4
<diegoviola> banister_: oh
<diegoviola> ok sorry :D
<rue> Use patchlevel for that, if you must
<rue> Generally teeny should already be for patches
<rue> I really should finish the SemInVer copy so you all wouldn't flail around with the versions
<banister_> hehe
<banister_> rue: what's patchlevel ?
<rue> 0.9.8p10 or whatever
<banister_> rue: that will be viewed as a --pre i think wont it?
<banister_> i thought any non-numeric chars automatically make it automatically a prerelease gem
<banister_> s/automatically//
<rue> Well, that's the SemVer recommendation
<rue> But like I said, the teeny should already be your patchlevel
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
<banister_> judofyr: thanks, that worked, but still cant really figure out what's going on :/
<banister_> i guess the bacon executable isnt found maybe
<judofyr> bundle exec bacon?
codefriar [codefriar!~codefriar@ip-200.it.rdu.bandwidth.com] has joined #ruby-lang
vikoren [vikoren!~Adium@24-176-191-118.static.reno.nv.charter.com] has joined #ruby-lang
kain [kain!~kain@151.64.233.57] has joined #ruby-lang
<banister_> judofyr: ill try
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<andrewvos> Anyone using rails+rvm+tmux+oh-my-zsh?
<oddmunds> almostt
<oddmunds> s/tmux/screen
<manveru> almost :)
<andrewvos> oddmunds: Wait, I don't know why I wrote rails. I think it was because I was looking at a rails site.
<andrewvos> - rails
<manveru> rvm+tmux+zsh
<andrewvos> rvm+tmux+zsh+oh-my-zsh anyone?
<oddmunds> well, it still counts as almost
<andrewvos> manveru: Where and how do you source rvm?
<manveru> we use .rvmrc
<oddmunds> andrewvos: what's your problem?
<andrewvos> zshenv?
<manveru> ah, yeah
<manveru> in .zshrc
<andrewvos> When I source rvm in my zshenv I can't run the correct project ruby udner vim
<andrewvos> When I source it in zshrc it's fine
<andrewvos> But not under vim obviously
<manveru> what's zshenv?
<ruskie> .zshenv
<manveru> what's that good for?
<ruskie> it's the stuff run for all instances of zsh iirc
<manveru> ah
<manveru> andrewvos: you sure it reads it from your home and not /etc ?
<manveru> ideally it reads both though
<andrewvos> manveru: If I put an echo in my zshenv it gets run twice :|
<manveru> but interesting nonetheless
<manveru> well, there's a reason they say you should put it at the END of your .zshrc
Defusal [Defusal!DeFi@dsl-241-1-53.telkomadsl.co.za] has joined #ruby-lang
Defusal [Defusal!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
<manveru> which is kinda the opposite of what you're doing
Manhose [Manhose!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby-lang
<andrewvos> manveru: I was putting at the end of my zshenv not zshrc
<manveru> first .zshenv is read, then .zprofile, and finally .zshrc
<manveru> depending on login shell, interactive, etc
<masterkorp> manveru: using you influence on ruby to bring people to zsh ? :p
uniqanomaly [uniqanomaly!~ua@dynamic-87-105-214-82.ssp.dialog.net.pl] has joined #ruby-lang
<manveru> what influence?
vesan [vesan!vesan@maailmanlopun.modeemi.net] has joined #ruby-lang
<manveru> people do whatever the hell they feel like anyway :)
<manveru> rails still exists? remember?
<judofyr> manveru: how's Ramaze these days?
<manveru> hasn't changed much
<manveru> it's still the way i like it :)
<banister_> ok htf do i specify a dependency on a prerelease gem? my current one fails to install teh gem
<banister_> s.add_dependency("pry",">=0.9.8.0pre1") <-- fail (just doesnt get installed)
<manveru> andrewvos: so yeah, i have it in .zshrc, and source rvm and the rvmrc manually for things like cron or runit
<rue> =?
<manveru> a prerelease gem that depends on a prerelease gem?
<manveru> you boggle my mind sir
<banister_> manveru: just for testing on travis hehe
<judofyr> manveru: http://ramaze.net/ is down?
<manveru> judofyr: no
<judofyr> ah, there
<manveru> just a new website built on zen
<andrewvos> manveru: So you don't source it for vim?
<manveru> andrewvos: not sure what you mean
<manveru> cd someproject; vim foo.rb
<manveru> it sources automatically
<andrewvos> manveru: What about gems installed globally? For example, you want 1.9.2 to be default and install gems into that right?
<manveru> i have a gemset for each project
<andrewvos> manveru: Always?
<manveru> yes
<rue> ALWAYS
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
<manveru> as soon as i call it "project" :)
<rue> In fact, I have gemsets that aren't even for projects!
<rue> They're EVERYWHERE
<manveru> lol
<andrewvos> manveru: Ok so you ever try to do a !bundle exec rspec from vim?
<manveru> no
<andrewvos> /ignore rue
<banister_> rue: that didnt work either hmm
<manveru> i don't use bundler
<manveru> lookie :)
<andrewvos> manveru: Yeah so I'm getting segfauls because ruby isn't the right version under vim shell
<manveru> yeah, that sucks
<andrewvos> Do I need to tell vim that it should use zsh?
<andrewvos> Wait... No I think vim isusing zsh
<manveru> the thing is, you should have the right ruby already when you start vim
<andrewvos> I get this heathen when I do a !ruby version ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
toretore [toretore!~toretore@ti0006a380-0599.bb.online.no] has joined #ruby-lang
Manhose_ [Manhose_!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
stephenp [stephenp!~stephenp@gatepost.hos.net] has joined #ruby-lang
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
<andrewvos> God damn rvm/zsh/ruby
<manveru> what does that have to do with zsh?
<andrewvos> Not sure. Nothing I suppose
<manveru> :! executes without the shell
<banister_> zenspider: is it possible to add a gem dependency on a prerelease gem?
<banister_> anyway i give up
X99 [X99!~quassel@218.77.14.195] has joined #ruby-lang
<rue> You can test it locally
<rue> What's it say with just "pry", "0.9.8.0pre1" ?
codefriar [codefriar!~codefriar@ip-200.it.rdu.bandwidth.com] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@client193-69.wlan.hu-berlin.de] has joined #ruby-lang
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
cjs226 [cjs226!~cjs226@rrcs-71-40-79-154.sw.biz.rr.com] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
corn_man [corn_man!kvirc@unaffiliated/cornman] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@client193-69.wlan.hu-berlin.de] has joined #ruby-lang
pigdude [pigdude!~tallen@li61-243.members.linode.com] has joined #ruby-lang
codewrangler [codewrangler!~codewrang@pool-108-28-240-83.washdc.fios.verizon.net] has joined #ruby-lang
codewrangler [codewrangler!~codewrang@pool-108-28-240-83.washdc.fios.verizon.net] has joined #ruby-lang
oddmunds_ [oddmunds_!~oddmunds@s21-04214.dsl.no.powertech.net] has joined #ruby-lang
Spooner [Spooner!~Miranda@host-92-23-158-179.as13285.net] has joined #ruby-lang
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
csherin [csherin!~csherin@61.17.18.22] has joined #ruby-lang
csherin_ [csherin_!~csherin@61.17.18.22] has joined #ruby-lang
voker57 [voker57!~voker57@2.93.236.37] has joined #ruby-lang
voker57 [voker57!~voker57@kvirc/developer/Voker57] has joined #ruby-lang
imperator [imperator!~Daniel@63-225-247-192.hlrn.qwest.net] has joined #ruby-lang
RomyEatsDrupal [RomyEatsDrupal!~stickycak@cpe-74-64-122-182.nyc.res.rr.com] has joined #ruby-lang
<Kuukunen> quick ruby golf of the day! find all factorizations of a number!
<Kuukunen> ->(n){(1..(n-1)).to_a.repeated_permutation(n).select{|i|i.reduce(:*)==n}.map{|i|i.sort.select{|i|i!=1}}.uniq}
saLOUt [saLOUt!~rriemann@client193-69.wlan.hu-berlin.de] has joined #ruby-lang
RomD [RomD!~Roman@nrbg-d9322fb3.pool.mediaWays.net] has joined #ruby-lang
pigdude [pigdude!~tallen@li61-243.members.linode.com] has quit [#ruby-lang]
Manhose_ [Manhose_!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby-lang
<rue> Ewk
benanne [benanne!~sander@b252h039.ugent.be] has joined #ruby-lang
Manhose [Manhose!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby-lang
<judofyr> Kuukunen: 1...n instead of 1..(n-1)
<Kuukunen> judofyr: true!
RickHull [RickHull!~rhull@209.119.14.25] has joined #ruby-lang
rayners [rayners!~rayners@pool-141-157-43-32.balt.east.verizon.net] has joined #ruby-lang
<judofyr> Kuukunen: why sort?
Sailias [Sailias!~jonathan@69.158.82.233] has joined #ruby-lang