Topic for #ruby is now Ruby programming language || ruby-lang.org || RUBY SUMMER OF CODE! rubysoc.org/ || Paste >3 lines of text in http://pastie.org || Para a nossa audiencia em portugues http://ruby-br.org/
amerine [amerine!~mturner@c-24-22-64-72.hsd1.or.comcast.net] has joined #ruby
<shevy> hey ca_bud from where did you get your regex knowledge? perl?
<ca_bud> shevy: what knowledge!! haha the answer would be jensn :) or playing with http://rubular.com/
<shevy> hmm
<shevy> (.{6}\S*)(.*) is quite complex
<shevy> for a newcomer
jahuca [jahuca!~joon_ch@f050072228.adsl.alicedsl.de] has joined #ruby
<shevy> it took me MONTHS to understand that back when I read a perl book! :(
<ca_bud> jensn: gave me the result, but now that he did, I do understand it because rubular explains it all
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
<Zal> String#match matches at the beginning of the string only? Is there a method to search the string for a pattern instead? Or do I need to use a pattern that starts with .* ?
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
<Zal> hm, never mind, matching seems to work anywhere in the string
<shevy> ok
<ca_bud> Zal: I actually removed the (.*) because (.{6}\S*) seemed to work well.
<bulavard> Can someone tell me the difference between '|' and '||' (pipes)?
<ca_bud> Zal: I wanted to insert a "|" into every space after every 6 characters.
io_syl [io_syl!~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net] has joined #ruby
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
<Zal> ca_bud, yep, I see. Thanks
Animawish [Animawish!~Adium@71-36-72-7.slkc.qwest.net] has joined #ruby
<ca_bud> Zal: insert a "|" in the first space after 6 characters? example "bla bla bla" would be "bla bla | bla"
<ca_bud> however, I can't seem to loop through the regex results with .each. any recommendation?
Animawish [Animawish!~Adium@71-36-72-7.slkc.qwest.net] has quit [#ruby]
bastilian [bastilian!~bastilian@mk084020162249.a1.net] has joined #ruby
<savage-> hmm
<ca_bud> oMethodError: undefined method `each' for #<MatchData "one two" 1:"one two">
dhruvasagar [dhruvasagar!~dhruvasag@65.98.79.137] has joined #ruby
<canton7> You can use match.to_a.each or match.captures.each iirc
<ca_bud> canton7: thanks! works great, but now just learned the rubular returns differing results. :( IRB only returns the first catch, while rubular find all the repeating ones. strange
Animawish [Animawish!~Adium@71-36-72-7.slkc.qwest.net] has joined #ruby
Tuxi [Tuxi!~quassel@dyndsl-085-016-193-149.ewe-ip-backbone.de] has joined #ruby
<Animawish> I don't understand .inspect
<ca_bud> Animawish: it's great for debugging.
jahuca [jahuca!~joon_ch@f050072228.adsl.alicedsl.de] has quit [#ruby]
cyri_ [cyri_!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby
vandemar [vandemar!syndicate@2001:470:1f10:56b::4] has joined #ruby
<Animawish> are there any uses for it other than debugging?
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-031-150-023-099.ewe-ip-backbone.de] has joined #ruby
<burgestrand> bulavard: || is a logical OR operator, | is a mathematical operator, most often bitwise OR (between numbers), but you can define it yourself as well if you want to
<ca_bud> Animawish: I've only used it for debugging. but prob..
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby
<Zal> hey canton7, I rewrote my class. Care to see if it throws any syntax errors in 1.8.7 for me?
<bulavard> burgestrand: thanks! I also thought that one of them evaluated both sides of the operator, whereas the other one only evaluates the second one if the first one evaluates to false. Any insight into this?
<burgestrand> bulavard: you’re probably thinking of ||= which is conditional assignment
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
<canton7> Zal, sure
<burgestrand> bulavard: x ||= y — it will *only* assign y to x if x is false or nil; otherwise nothing will happen (not even an assignment to the same value as it already was)
<Zal> canton7, here's my class: http://pastie.org/3064791 (I threw in the last two lines for testing, hope I did that right)
<canton7> burgestrand, you might be thinking of the fact that "a || b" evaluates b if and only if a is false. Similarly, "a && b" evaluates b iff a is true
Araxia [Araxia!~Araxia@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #ruby
philcrissman [philcrissman!~philcriss@65.42.208.133] has joined #ruby
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
<bulavard> burgestrand: thanks for the help!
<canton7> Zal, 1.8.7 output: "foobarbaz,bingfin". 1.9.3 output: ["foo", "bar", "baz", ",bing", "fin"]
<burgestrand> canton7: no, I’m thinking of x ||= y means x || x = y, and not x = x || y
<canton7> righty, cool
<burgestrand> (for one special case this is not entirely true but I forgot about which that is ^^)
ipsifendus [ipsifendus!~pump@c-67-169-223-202.hsd1.or.comcast.net] has joined #ruby
<Zal> canton7, eh, darn. thank you for testing
NStojan [NStojan!~NStojan@ppp-94-65-56-196.home.otenet.gr] has joined #ruby
<canton7> Zal, I think it's a different behaviour of "puts". Replaing it with "p" gives "[\"foo\", \"bar\", \"baz\", \",bing\", \"fin\"]"
<canton7> Zal, ignore me. I was using the wrong ruby version there
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
Animawish [Animawish!~Adium@71-36-72-7.slkc.qwest.net] has quit [#ruby]
<canton7> Zal, aha! No my hunch was right. Removing the to_s gives ["foo", "bar", "baz", ",bing", "fin"]
<Zal> in 1.8.7?
<canton7> yeah
<Zal> awesome, thank you
<canton7> :)
<Zal> pita writing for old versions ;-)
<savage-> I'm using more Enumerable#flat_map and Enumerable#each_cons these days.
eignerchris [eignerchris!~eignerchr@71-222-114-71.ptld.qwest.net] has joined #ruby
josh___ [josh___!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
<ca_bud> why would a="one two three four five six seven eight nine, ten, eleven, tweleve, thrirteen, fourteen, fifiteen, sixteen" insert=/(.{6}\S*)/.match(a) not find find the repeating pattern?
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<canton7> ca_dub, I might be misunderstanding you, but string.match only finds the first match. You might want string.scan
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
<ca_bud> ruby-1.9.2-p136 :057 > a.scan(/(.{6}\S*)/) works great, thanks!
<canton7> also you can strip those brackets to get rid of the subarrays -- a.scan(/.{6}\S*/)
<canton7> (the two array elements you were getting from string.match were the match for the entire regex, and the match for your bracketed bit of the regex. In your case, they were the same :P )
sh1nji [sh1nji!~sh1nji@c-69-181-222-6.hsd1.ca.comcast.net] has joined #ruby
<ca_bud> canton7: you are great, I was just about to ask that!
<ca_bud> how do I strip them? the code you provided looks the same?
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<canton7> a.scan(/(.{6}\S*)/) vs a.scan(/.{6}\S*/) ?
Nisstyre [Nisstyre!~yours@infocalypse-net.info] has joined #ruby
<ca_bud> got it
<canton7> :)
<brownies> hi, noob question
<brownies> can i define/override the way a method behaves for just one particular instance of an class?
<brownies> my_array_instance.find = specialized_find_function
<brownies> or something?
ipsifendus [ipsifendus!~edward@c-67-169-223-202.hsd1.or.comcast.net] has joined #ruby
<brownies> hm, see, i don't want to do it for the Class ... just rather that one object/instance of the class
<brownies> so all other arrays would work just fine, but this special array would be special.
<canton7> brownies, http://pastie.org/3064859
<brownies> oh, fascinating. thanks, canton7.
DjScOrPiOn [DjScOrPiOn!~Dj@host188.190-136-235.telecom.net.ar] has joined #ruby
DjScOrPiOn [DjScOrPiOn!~Dj@host188.190-136-235.telecom.net.ar] has quit [#ruby]
<canton7> :)
tobym [tobym!~tobym@pool-96-244-84-13.bltmmd.fios.verizon.net] has joined #ruby
<ca_bud> strange, I just tried to rvm install ruby 1.9.3 and got this message.. /Users/username/.rvm/rubies/ruby-1.9.2-p290/bin/ruby: No such file or directory -- 1.9.3 (LoadError), any idea on how to fix?
<ca_bud> it looks like its pointing to the wrong directory, but I'm not sure how to fix.
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<canton7> rvm doesn't work on windows iirc
<ca_bud> it's mac OSX
trend [trend!~craigslis@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
<ca_bud> 10.5.8
<ca_bud> I'm running 1.9.2 right now
<canton7> ah, fair play
<ca_bud> could it be something in my bash file
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby
<ca_bud> maybe try a complete reinstall?
<ca_bud> tried to reinstall, now got a different error.
<ca_bud> got this now "/Users/username/.rvm/scripts/manage: line 13: /base: No such file or director"
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
philcrissman [philcrissman!~philcriss@65.42.208.133] has joined #ruby
bamboozle [bamboozle!~david@cpc7-chap8-2-0-cust11.aztw.cable.virginmedia.com] has joined #ruby
<draginx> How much does a typical webapp in ruby take?
chagroy [chagroy!~chagroy@114.94.81.40] has joined #ruby
<canton7> I think you accidentally a word
TheMoonMaster [TheMoonMaster!~TMM@reddit/operator/themoonmaster] has joined #ruby
dhruvasagar [dhruvasagar!~dhruvasag@65.98.79.137] has joined #ruby
<shevy> draginx depends on how many custom libraries you use
<shevy> and how much it should be able to do
<draginx> whoops did forget a word :S I meant in terms of memory
<draginx> I only have 207mb of free memory.. was wondering if ruby would eat that up
<shevy> ah
<shevy> hmm that's not a lot of memory
<shevy> try lua perhaps :D
<draginx> lol
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
tehgeekmeister [tehgeekmeister!~tehgeekme@c-24-17-8-151.hsd1.wa.comcast.net] has joined #ruby
tobym [tobym!~tobym@pool-96-244-84-13.bltmmd.fios.verizon.net] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
io_syl [io_syl!~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net] has joined #ruby
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
levity_island [levity_island!~lawrence@216.156.82.154.ptr.us.xo.net] has joined #ruby
<levity_island> is it possible, from within a method, to list the name of the file from which the method was called, if the caller is in a different file?
<ryanf> yes
<ryanf> use "caller"
<ryanf> you can try it in irb
<levity_island> ryanf: sweet, thanks
<ryanf> np
ramusara [ramusara!~ramusara@220.156.210.236.user.e-catv.ne.jp] has joined #ruby
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
Animawish [Animawish!~Adium@71-36-72-7.slkc.qwest.net] has joined #ruby
raincole [raincole!~raincole@113-61-196-57.veetime.com] has joined #ruby
<Animawish> is it just me or is puts <<BLAH buggy
<Animawish> it doesn't work with indenting
<Animawish> I get this error if it's indented: can't find string "PARAGRAPH" anywhere before EOF
draginx [draginx!~Adium@unaffiliated/draginx] has quit [#ruby]
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
aero_ [aero_!~david@pool-173-48-127-244.bstnma.fios.verizon.net] has joined #ruby
<ryanf> did you look at any docs about it
<ryanf> that's how it's supposed to work
<ryanf> use <<-BLAH
stepnem [stepnem!~stepnem@176.119.broadband10.iol.cz] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
tornodo [tornodo!~tornodo@183.188.17.238] has joined #ruby
thelifelessone [thelifelessone!~thelifele@boshi.inimino.org] has joined #ruby
<thelifelessone> I have some questions.
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
<thelifelessone> First, how can I, and is it a good idea, to run Ruby from Apache in a way similiar to how PHP runs?
HNDavid [HNDavid!~david@pool-173-48-127-244.bstnma.fios.verizon.net] has joined #ruby
Hanmac [Hanmac!~hanmac@p508447DC.dip0.t-ipconnect.de] has joined #ruby
thelifelessone [thelifelessone!~thelifele@boshi.inimino.org] has quit [#ruby]
<ryanf> you can, using Phusion Passenger
<ryanf> I think it's less common than running a separate ruby app server and putting something like nginx in front of it
banistergalaxy [banistergalaxy!~baniseter@118.82.185.158] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
tobym [tobym!~tobym@pool-96-244-84-13.bltmmd.fios.verizon.net] has joined #ruby
bwlang_ [bwlang_!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
tornodo [tornodo!~tornodo@183.188.17.238] has quit ["Leaving"]
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
Skaag [Skaag!~Skaag@207-172-174-232.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
trend_ [trend_!~craigslis@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
dbgster [dbgster!~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com] has joined #ruby
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
snuglepuss [snuglepuss!~falk@c-67-173-166-235.hsd1.il.comcast.net] has joined #ruby
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
jl_2 [jl_2!~jl_2@184-96-250-167.hlrn.qwest.net] has joined #ruby
Clooth [Clooth!~Clooth@GGYMMMCCCXLIII.gprs.sl-laajakaista.fi] has joined #ruby
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby
dql [dql!~anonymous@58.38.92.224] has joined #ruby
Kanolesi_ [Kanolesi_!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
gabrtv [gabrtv!~gabrtv@box.techverity.com] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
<gabrtv> is there an easy way to have non-standard variable names evaluated in ERB? for example: <%= my/var_name %>
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
straind [straind!~stupidper@n127s244.bbr1.shentel.net] has joined #ruby
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
falk_ [falk_!~falk@c-67-173-166-235.hsd1.il.comcast.net] has joined #ruby
NinoScript [NinoScript!~NinoScrip@pc-55-124-83-200.cm.vtr.net] has joined #ruby
cgkades [cgkades!~brett@cpe-76-176-150-213.san.res.rr.com] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.176.245] has joined #ruby
<RubyPanther> a,b = cond ? [...] : [...] # <3 Ruby
rpowell [rpowell!~rpowell@CPE-121-212-143-4.lns10.ken.bigpond.net.au] has joined #ruby
radic [radic!~radic@dslb-178-002-239-008.pools.arcor-ip.net] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
jefflembeck_ [jefflembeck_!~jeffreyle@c-24-18-224-239.hsd1.wa.comcast.net] has joined #ruby
robacarp_ [robacarp_!robacarp@nat/sparkfun/x-hshjnfvbnajheryd] has joined #ruby
nilmethod_ [nilmethod_!~nilmethod@ip70-178-48-198.ks.ks.cox.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
fcoury [fcoury!u2238@gateway/web/irccloud.com/x-amkldqywblorftpd] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has quit [#ruby]
Mon_Ouie [Mon_Ouie!~Mon_Ouie@subtle/user/MonOuie] has joined #ruby
wassy121_ [wassy121_!~quassel@pool-96-244-18-74.bltmmd.fios.verizon.net] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
sparc_ [sparc_!sparc@68.186.35.162] has joined #ruby
d-best [d-best!~d-snp@smurfer.student.utwente.nl] has joined #ruby
srid_ [srid_!u3297@gateway/web/irccloud.com/x-qpjvfedmvwwzmyib] has joined #ruby
srid_ [srid_!u3297@unaffiliated/srid] has joined #ruby
srid_ [srid_!u3297@gateway/web/irccloud.com/x-qpjvfedmvwwzmyib] has joined #ruby
My_Hearing [My_Hearing!~Mon_Ouie@subtle/user/MonOuie] has joined #ruby
jhunter_ [jhunter_!jfigga@c-67-169-75-5.hsd1.ca.comcast.net] has joined #ruby
Elfix [Elfix!elfix@wikipedia/pdpc.21for7.elfix] has joined #ruby
sejo [sejo!~SeJo@exherbo/developer/sejo] has joined #ruby
bier|tp [bier|tp!~bier@p54A5B009.dip.t-dialin.net] has joined #ruby
ben_alman [ben_alman!~cowboy@184-106-134-167.static.cloud-ips.com] has joined #ruby
Nanuq_ [Nanuq_!~nanuq@cave45.ecks.ca] has joined #ruby
gabrtv [gabrtv!~gabrtv@box.techverity.com] has joined #ruby
ramusara_ [ramusara_!~ramusara@220.156.210.236.user.e-catv.ne.jp] has joined #ruby
hackeron_ [hackeron_!~hackeron@cpc11-seve19-2-0-cust423.13-3.cable.virginmedia.com] has joined #ruby
kstephens_ [kstephens_!~kstephens@173-15-46-105-Illinois.hfc.comcastbusiness.net] has joined #ruby
macgregor [macgregor!~macgregor@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
phantomfake [phantomfake!~whats_in_@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
linduxed [linduxed!~linduxed@194-14-0-85.serioustubes.org] has joined #ruby
Clooth [Clooth!~Clooth@GGYMMMCCCXLIII.gprs.sl-laajakaista.fi] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
p0y [p0y!~p0y@121.97.55.99] has joined #ruby
CottageOnRails [CottageOnRails!bc5294a4@gateway/web/freenode/ip.188.82.148.164] has joined #ruby
<CottageOnRails> Hi guys
<CottageOnRails> Hi guys. Quick question. After installing rvm every time I start my terminal I get the following message: -bash: is_a_function: command not found
<CottageOnRails> Any ideas why?
io_syl [io_syl!~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net] has joined #ruby
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
WiiW [WiiW!~SEVKZH@unaffiliated/sevkme] has joined #ruby
vandemar [vandemar!holy@2001:470:1f10:56b::4] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.32.130] has joined #ruby
envygeeks [envygeeks!~envygeeks@pdpc/supporter/professional/envygeeks] has joined #ruby
amacgregor [amacgregor!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
mindgame [mindgame!~nfxgosu@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
C|S [C|S!~C|S@c-75-70-4-221.hsd1.co.comcast.net] has joined #ruby
<WiiW> how to protect ruby source code ?
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
<any-key> obfuscation
<any-key> but overall, I'd say don't do that
DarkXPheno [DarkXPheno!~DarkXPhen@117.211.85.123] has joined #ruby
incluye [incluye!~Adium@74.215.187.208] has joined #ruby
<WiiW> any-key: how to obfuscation ruby code ? def all my methods to a1() a2() a3() ?
<any-key> ruby isn't meant for this
<any-key> why are you trying to protect the code?
<WiiW> any-key: for business application , give end user
esparkman [esparkman!~esparkman@unaffiliated/esparkman] has joined #ruby
<brownies> what?
<any-key> it's not a good idea
<brownies> i already name all my methods a1 a2 a3
<any-key> you can't do much to "protect" the source code of a scripting language...
<any-key> they're meant for automation of tasks and server-side work mostly
<WiiW> oh , it must have some way
DarkXPheno [DarkXPheno!~DarkXPhen@117.211.85.123] has quit [#ruby]
<any-key> WiiW: no, it doesn't
<any-key> it doesn't work like that
<any-key> you can obfuscate but that's it
<any-key> notice the word "silly" in the article you linked to?
<any-key> it's silly
<cgkades> if you don't want your code to be seen by other people.. don't give it to them
<cgkades> you could probably write some crazy encryption decryption program in c that loads an encrypted ruby file and decrypts it on the fly, then runs it
<cgkades> but that would be dumb
<any-key> you
<any-key> oops
<any-key> if you want to hand them a binary and say "run this", ruby is not the language for it
<WiiW> encode a.rb , than decode a.rb to /tmp/a.rb , then run it .
<any-key> is your client evil?
<any-key> what are they going to do with the source?
<WiiW> I use: exec('ruby /tmp/a.rb')
<any-key> why are you doing this
tatsuya_o [tatsuya_o!~tatsuya_o@h221036.dynamic.ppp.asahi-net.or.jp] has joined #ruby
<WiiW> for obfuscate my code
<any-key> you ignored my questions
<any-key> why does your client having the source pose a threat?
<any-key> because if the client wants it that bad they'll be able to get what they need
<any-key> sure, it'll be a bit trickier to read, but not very hard compared to reverse engineering most things...
beilabs [beilabs!~jonathan@ppp59-167-171-134.static.internode.on.net] has joined #ruby
<WiiW> I'll def all my methods to a1 a2 a3 , and write a hash tab to restore method names
<any-key> why does your client having the source code pose a threat?
<any-key> answer that question please
lesyork [lesyork!~textual@87-194-105-117.bethere.co.uk] has joined #ruby
<brownies> this is hilarious
<any-key> he can't answer the question, so I'll let him go fuck up his source
<WiiW> Jshrink is a Java obfuscator that extracts the minimal set of class files for an application, removes unused code and data, obfuscates symbolic names, finalizes code for optimized execution, and stores the results in a Java jar file.
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
<any-key> WiiW: unless you can tell me *why* the client having the source code is a threat, you have no business going through all this trouble
<cgkades> cause he wants to haxor a b0x
<WiiW> Zelix KlassMaster is the heavy duty Java bytecode obfuscator ... Java Bytecode Obfuscator Features A Java bytecode obfuscator changes Java bytecode to make the source code generated by reverse engineering much less useful to hackers and competitors.
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
<any-key> WiiW: answer my goddamned question
<any-key> stop pasting random shit
<cgkades> lol
<any-key> this is ridiculous
<cgkades> but funny
<WiiW> JODE - Java Optimize and Decompile Environment. ... JODE is a java package containing a decompiler and an optimizer for java. This package is freely available under the GNU GPL
<cgkades> lol
<any-key> surely this is a joke
<any-key> WiiW: nobody cares
<cgkades> trollin Mc Trollerson
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
maek [maek!~Adium@ip68-227-57-23.lv.lv.cox.net] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@h221036.dynamic.ppp.asahi-net.or.jp] has joined #ruby
<maek> so im messing with sinatra trying to use datamapper (im ruby noob) and I get this error https://gist.github.com/1516490 when trying require 'datamapper' I have the datamapper gem installed. any ideas? thanks
eignerchris [eignerchris!~eignerchr@71-222-114-71.ptld.qwest.net] has joined #ruby
flip_digits [flip_digits!~textual@c-71-199-243-97.hsd1.fl.comcast.net] has joined #ruby
rpowell [rpowell!~rpowell@CPE-121-216-24-167.lnse1.ken.bigpond.net.au] has joined #ruby
dql [dql!~anonymous@58.38.92.224] has joined #ruby
arthurlockhart [arthurlockhart!~cinch@60-242-128-8.static.tpgi.com.au] has joined #ruby
mc_ [mc_!~jessemc@d198-166-30-77.abhsia.telus.net] has joined #ruby
TheTFEF [TheTFEF!~JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
incluye [incluye!~Adium@208.102.195.210] has joined #ruby
yxhuvud [yxhuvud!mongo@h-85-57.a212.priv.bahnhof.se] has joined #ruby
ryanf [ryanf!~revfitz@adsl-67-122-211-128.dsl.snfc21.pacbell.net] has joined #ruby
kennethr_ [kennethr_!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
incluye [incluye!~Adium@208.102.195.210] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
otters [otters!~incluye@208.102.195.210] has joined #ruby
wedtm [wedtm!~wedtm@173-12-163-78-oregon.hfc.comcastbusiness.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
QaDeS [QaDeS!~mklaus@frbg-5d84e9d3.pool.mediaWays.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod_ [Rod_!~Rod@71.74.190.108] has joined #ruby
Rod_ [Rod_!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
io_syl [io_syl!~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net] has joined #ruby
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Kambus [Kambus!~kambus@62-77-250-200.pool.invitel.hu] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
pusewicz_ [pusewicz_!u2036@gateway/web/irccloud.com/x-kazwqqhecpavgovw] has joined #ruby
TheMoonMaster [TheMoonMaster!~TMM@reddit/operator/themoonmaster] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
kapowaz [kapowaz!u546@gateway/web/irccloud.com/x-athwewaalxjutgif] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
wilmoore_ [wilmoore_!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
GSpotAssassin [GSpotAssassin!u4086@gateway/web/irccloud.com/x-wepsryaxcwatqqqj] has joined #ruby
rippa [rippa!~rippa@109-161-123-117.pppoe.yaroslavl.ru] has joined #ruby
srid [srid!u3297@gateway/web/irccloud.com/x-eslsgkkxbpstszzu] has joined #ruby
srid [srid!u3297@unaffiliated/srid] has joined #ruby
srid [srid!u3297@gateway/web/irccloud.com/x-eslsgkkxbpstszzu] has joined #ruby
eldariof [eldariof!~CLD@81.200.24.167] has joined #ruby
shevy [shevy!~shevy@178-190-66-47.adsl.highway.telekom.at] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
cesario [cesario!u2444@gateway/web/irccloud.com/x-dymbtupxdfoaqonb] has joined #ruby
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-kwiuzrndvmnrpgcs] has joined #ruby
relix [relix!u2146@gateway/web/irccloud.com/x-luhficgscexiubtk] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
dql [dql!~anonymous@58.38.92.224] has joined #ruby
spinagon [spinagon!~rippa@109-161-123-117.pppoe.yaroslavl.ru] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
deweysmith [deweysmith!u3113@gateway/web/irccloud.com/x-pywugvvdlibdiqbj] has joined #ruby
eignerchris [eignerchris!~eignerchr@71-222-114-71.ptld.qwest.net] has joined #ruby
<aces1up> i have a uri created by addressable.. how do i get the full url including any variables or query options included after site and path?
<banisterfiend> aces1up: is that a rails question?
daniel_hinojosa [daniel_hinojosa!~danno@c-68-35-182-153.hsd1.nm.comcast.net] has joined #ruby
<aces1up> na i figured it out.. nevermind.. but I do have a ruby questions.
<aces1up> what is the different between a unit test and a specification?
<aces1up> i would like to start writing them, but they seem very complicated.. and good docs to get me started?
shaatar [shaatar!u648@gateway/web/irccloud.com/x-jhjvgvjxhfhgeimt] has joined #ruby
pkondzior [pkondzior!u768@gateway/web/irccloud.com/x-pphddicbekiktgjk] has joined #ruby
<banisterfiend> aces1up: they're kind of the same thing though the emphasis is differnet i guess
pvh [pvh!u717@gateway/web/irccloud.com/x-skdangmgzqykxpmv] has joined #ruby
<envygeeks> unit testing tests pieces of pieces where specifications normally test for the piece itself
<aces1up> envygeeks well a specification then is what i might need, for instance i have a whole system of objects i need to test various circumstances, and then test the output... but then i know i have to mock all these objects somehow, seems very complicated to reproduce / test the whole system.
<envygeeks> that would be more like unit-testing
<envygeeks> think of specifications like cucumber and unit-testing like minitest
<envygeeks> though you can do both with both normally you don't
Bhavesh_A_P [Bhavesh_A_P!~Bhavesh_A@49.213.40.56] has joined #ruby
<aces1up> envygeeks do you do alot of unit testing?
<aces1up> i've always flown by the seat of my pants.
<banisterfiend> testing is hard IMO
<envygeeks> aces1up: yes, I do heavy heavy heavy unit-testing down to really specific specifics, I also do specifications for BDD style programming just so I can lay out what I want ahead of time
<banisterfiend> getting the right level of abstraction for testing is hard
<aces1up> banisterfiend yes from what i have been reading looking into seems complicated.
<envygeeks> but truth be told though, I don't do my unit-tests until the first draft is done
<banisterfiend> so that u dont have to refactor your tests when you refactor your code
<aces1up> envygeeks hrmm i was more thinking like i would write a test so that when i do refactor i will know what breaks.
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
<aces1up> banisterfiend sorry meant that for you.
<aces1up> what is BDD?
<envygeeks> aces1up: yeah you can do that with specifications IMO cucumber can handle that
<banisterfiend> aces1up: my point was that you can shuffle about internals without having to also shuffle about tests. Of course if you make a BUG while refactoring your tests should reflect this, but i was referring to a successful refactor that doesnt generate bugs
<aces1up> envygeeks cool thanks.
<banisterfiend> aces1up: you're just talking about regression tests
<envygeeks> yeah regression tests are more specifications IMO, unit testing is more for deep refactors where you need to drill down a specific case
<envygeeks> exp: I would do a unit-test to check a Hash output down to the keys and values but for a specification I would just test that it successfully put out a hash
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
<aces1up> k i will lean towards specs then, and you said cucumber can handle that?
<envygeeks> yessum, I prefer cucumber for my specs/features but others might disagree
dotemacs [dotemacs!u801@gateway/web/irccloud.com/x-slxoxndnimhulwbs] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-sdarqffzrotemxwp] has joined #ruby
naftilos76 [naftilos76!~quassel@212.50.117.236] has joined #ruby
fcoury [fcoury!u2238@gateway/web/irccloud.com/x-ehriygnigdvtesre] has joined #ruby
Helius [Helius!~Adium@93-35-252-22.ip57.fastwebnet.it] has joined #ruby
pen [pen!~pen@dhcp1.csie.ntu.edu.tw] has joined #ruby
brownies [brownies!~brownies@216.38.150.34] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
rpowell [rpowell!~rpowell@CPE-121-216-24-167.lnse1.ken.bigpond.net.au] has joined #ruby
manizzle_ [manizzle_!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
amerine [amerine!~mturner@c-24-22-64-72.hsd1.or.comcast.net] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
Jrz [Jrz!~jrz@d152222.upc-d.chello.nl] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
kassien [kassien!~kassien@218.240.145.56] has joined #ruby
lkba [lkba!~AndChat@aaqm103.neoplus.adsl.tpnet.pl] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@2001:5c0:1000:a::b7b] has joined #ruby
ynonperek [ynonperek!~ynonperek@CBL217-132-150-163.bb.netvision.net.il] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-031-150-023-099.ewe-ip-backbone.de] has joined #ruby
bastilian [bastilian!~bastilian@mk084020163110.a1.net] has joined #ruby
jbpros [jbpros!~jbpros@203-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
j3r0m3__ [j3r0m3__!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
pantsman [pantsman!~pantsman@2.25.208.143] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
jbpros [jbpros!~jbpros@203-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
demian`_ [demian`_!~demian_@80.149.254.49] has joined #ruby
jbpros [jbpros!~jbpros@203-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
awesome [awesome!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
jbpros [jbpros!~jbpros@203-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
cantonic [cantonic!~cantonic@p5DDFF571.dip.t-dialin.net] has joined #ruby
LouisJB [LouisJB!~Louis@louisb.gotadsl.co.uk] has joined #ruby
<cantonic> hey guys. does anyone know watir? i need to use a proxy with watir-webdriver but the proxy needs authentication
<cantonic> and i don't know wheather watir-webdriver can handle that
apeiros_ [apeiros_!~apeiros@77-58-115-24.dclient.hispeed.ch] has joined #ruby
p0y [p0y!~p0y@121.97.55.99] has joined #ruby
tvo [tvo!~tvo@5354CF57.cm-6-5d.dynamic.ziggo.nl] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
demian`_ [demian`_!~demian_@80.149.254.49] has joined #ruby
tomobrien [tomobrien!~tomobrien@host-92-19-100-183.as13285.net] has joined #ruby
t-mart [t-mart!~t-mart@c-76-108-173-224.hsd1.fl.comcast.net] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
Pip [Pip!~Pip@host-193-146-66-217.spbmts.ru] has joined #ruby
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby
canton7 [canton7!~canton7@95.150.107.113] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
dekroning [dekroning!~dekroning@541B931D.cm-5-4c.dynamic.ziggo.nl] has joined #ruby
ixti [ixti!~ixti@56.Red-83-34-153.dynamicIP.rima-tde.net] has joined #ruby
negaduck [negaduck!~negaduck@213.141.130.13] has joined #ruby
negaduck [negaduck!~negaduck@213.141.130.13] has quit [#ruby]
pen [pen!~pen@140.112.30.141] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
lkba [lkba!~AndChat@aaqm103.neoplus.adsl.tpnet.pl] has joined #ruby
crexx [crexx!aod@078088239019.lubin.vectranet.pl] has quit [#ruby]
nassosdim [nassosdim!~NStojan@ppp-94-65-56-196.home.otenet.gr] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@EM114-48-221-181.pool.e-mobile.ne.jp] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
grumbl [grumbl!~ralf@p54995B6C.dip.t-dialin.net] has joined #ruby
grumbl [grumbl!~ralf@p54995B6C.dip.t-dialin.net] has quit [#ruby]
jbpros [jbpros!~jbpros@203-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
skaczor [skaczor!~quassel@mail.prognosoft.biz] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
bastilian [bastilian!~bastilian@mk084020180020.a1.net] has joined #ruby
dql [dql!~anonymous@58.38.92.224] has joined #ruby
mikey [mikey!~mikey@unaffiliated/mikey] has quit [#ruby]
tcurdt [tcurdt!~tcurdt@p5B03CB6B.dip.t-dialin.net] has joined #ruby
tomasantonj [tomasantonj!~Adium@host-95-199-14-149.mobileonline.telia.com] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
_2easy [_2easy!~nofuture@mtn.pl] has joined #ruby
_2easy [_2easy!~nofuture@mtn.pl] has joined #ruby
tomasantonj [tomasantonj!~Adium@host-95-199-14-149.mobileonline.telia.com] has joined #ruby
buharin [buharin!~Daniel@78.9.38.3] has joined #ruby
<buharin> hello :)
ChampS_ [ChampS_!~ChampS@p54B4D293.dip.t-dialin.net] has joined #ruby
eregon [eregon!~eregon@eregon.me] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
eregon [eregon!~eregon@eregon.me] has joined #ruby
cousine [cousine!~cousine@196.221.61.89] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
mindgame [mindgame!~nfxgosu@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby
p0y [p0y!~p0y@112.210.104.200] has joined #ruby
atmosx [atmosx!~textual@79.103.90.84.dsl.dyn.forthnet.gr] has joined #ruby
p0y_ [p0y_!~p0y@121.97.55.99] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@EM114-48-164-243.pool.e-mobile.ne.jp] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
Rikkie [Rikkie!~Rikkie@e110227.upc-e.chello.nl] has joined #ruby
amnay [amnay!~amnay@41.140.45.242] has joined #ruby
altivec [altivec!~altivec@94.41.35.6.dynamic.ufanet.ru] has joined #ruby
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby
conor_ireland [conor_ireland!~conor_ire@89.100.121.49] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
ynonperek [ynonperek!~ynonperek@CBL217-132-99-152.bb.netvision.net.il] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.177.46] has joined #ruby
unda7V7erse [unda7V7erse!~unda7V7er@sto95-5-78-237-254-52.fbx.proxad.net] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
bastilian [bastilian!~bastilian@mk084020180020.a1.net] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.177.46] has quit [#ruby]
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
giulio [giulio!~giulio@ppp-191-6.26-151.libero.it] has joined #ruby
bastilian [bastilian!~bastilian@mk084020168109.a1.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
p0y [p0y!~p0y@121.97.55.99] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby
jensn [jensn!~Jens@90-229-211-15-no150.tbcn.telia.com] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
norex [norex!~quassel@41-133-102-86.dsl.mweb.co.za] has joined #ruby
norex [norex!~quassel@41-133-102-86.dsl.mweb.co.za] has joined #ruby
bastilian [bastilian!~bastilian@mk084020168109.a1.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
ynonperek_ [ynonperek_!~ynonperek@89-138-103-61.bb.netvision.net.il] has joined #ruby
Silker [Silker!~ponies@87.115.65.85] has joined #ruby
Adman65 [Adman65!~Adman65@cs181188119.pp.htv.fi] has joined #ruby
pickels_ [pickels_!~fs@d54C5B2D7.access.telenet.be] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
Brandonn [Brandonn!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
moshef [moshef!~moshef@bzq-109-66-184-154.red.bezeqint.net] has joined #ruby
<moshef> hi guys. whats the best way to remove a key from hash and create a new hash with that key?
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
<Asher> Hash.new[ key ] = old_hash.delete( key )
<Asher> if that's what you want
Kambus` [Kambus`!~kambus@62-77-251-162.pool.invitel.hu] has joined #ruby
malkomalko [malkomalko!~malkomalk@adsl-074-232-128-034.sip.asm.bellsouth.net] has joined #ruby
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
Jake232 [Jake232!~textual@5e025306.bb.sky.com] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
<moshef> let me try Asher
<moshef> Asher: whats the name of the name hash?
<moshef> or should i do something like hash_name = (Hash.new[ key ] = old_hash.delete( key ))
<Mon_Ouie> No
<Asher> create your hash first then assign the key to the result of what you delete
<Mon_Ouie> hash_name = {}
<Mon_Ouie> actually no
<Mon_Ouie> hash_name = {key => old_hash.delete(key)}
<moshef> but im only getting back the result of the deleted key, not as key > hash structure
<moshef> yeah Mon_Ouie , thats what i looked for
<moshef> thanks
scr1bbles [scr1bbles!~scribbles@babel.sn0wcrash.info] has joined #ruby
Knodi [Knodi!~Knodi@c-68-43-246-216.hsd1.mi.comcast.net] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.177.46] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.177.46] has quit [#ruby]
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
TeYo9N [TeYo9N!~wolf@vpn-ei1.unidsl.de] has joined #ruby
<TeYo9N> hi
Russell^^ [Russell^^!~Russell^^@88.97.51.87] has joined #ruby
Sliker [Sliker!~ponies@87.113.134.82] has joined #ruby
nicoulaj [nicoulaj!~nicoulaj@122.158.13.109.rev.sfr.net] has joined #ruby
<TeYo9N> I am trying to require redcarpet in irb, but it fails. if I execute 'ruby -e "redcarpet"' in the shell, it works. I am using ruby 1.9.3 installed via rvm and the irb is the one which belongs to the ruby executable. I am fairly new to ruby so my debugging knowledge is exhausted.
<apeiros_> TeYo9N: define 'fails'
<TeYo9N> LoadError: cannot load such file -- redcarpet
<apeiros_> hm
<apeiros_> how did you ensure that your ruby and your irb correlate?
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has joined #ruby
<apeiros_> oh, btw, ruby -e "redcarpet" - did you mean: ruby -e 'require "redcarpet"'?
<TeYo9N> which ruby and which irb point to the same bin directory
<TeYo9N> yes, sorry.
<apeiros_> that's odd. should work on both then.
<TeYo9N> even stranger:
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
<TeYo9N> require 'redcarpet'
<TeYo9N> RedCarpet.new
<TeYo9N> results in: red.rb:3:in `<main>': uninitialized constant RedCarpet (NameError)
<TeYo9N> if I execute it with the ruby binary. - So, as far as I understand after requiring redcarpet the constant should be declared?
<TeYo9N> and to make the things even stranger, the redcarpet - command line tool works
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
<TeYo9N> oh, my fault: 'redcarpet' defines 'Redcarpet' and it works from within the ruby-script.
<TeYo9N> so it only fails in irb.
tomasantonj [tomasantonj!~Adium@host-95-199-26-105.mobileonline.telia.com] has joined #ruby
Connas [Connas!~IceChat9@host86-160-125-45.range86-160.btcentralplus.com] has joined #ruby
<Connas> does anyone know how to clear a 2nd OpenGL viewport with animation without it deleting the contents of the first OpenGL viewport ?
_2easy [_2easy!~nofuture@89-79-244-137.dynamic.chello.pl] has joined #ruby
_2easy [_2easy!~nofuture@89-79-244-137.dynamic.chello.pl] has joined #ruby
macgregor [macgregor!~macgregor@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
Connas [Connas!~IceChat9@host86-160-125-45.range86-160.btcentralplus.com] has quit [#ruby]
fayimora [fayimora!~fayimora@109.175.187.145] has joined #ruby
gen0cid__ [gen0cid__!~Security@Wilkins3.static.monkeybrains.net] has joined #ruby
TeYo9N [TeYo9N!~wolf@vpn-ei1.unidsl.de] has quit [#ruby]
TeYo9N [TeYo9N!~wolf@vpn-ei1.unidsl.de] has joined #ruby
p0y [p0y!~p0y@112.210.104.200] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
waxjar [waxjar!~Brozilla@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
p0y_ [p0y_!~p0y@121.97.55.99] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
gabrtv [gabrtv!~gabrtv@box.techverity.com] has joined #ruby
Silker [Silker!~ponies@31.185.187.68] has joined #ruby
tomasantonj1 [tomasantonj1!~Adium@host-95-199-25-103.mobileonline.telia.com] has joined #ruby
_md [_md!~mduarte@cpc4-finc13-2-0-cust568.4-2.cable.virginmedia.com] has joined #ruby
dbgster [dbgster!~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
MHD0 [MHD0!~MHD@80-71-135-7.u.parknet.dk] has joined #ruby
cantonic_ [cantonic_!~cantonic@p57941568.dip.t-dialin.net] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
LouisJB [LouisJB!~Louis@louisb.gotadsl.co.uk] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
Nisstyre [Nisstyre!~yours@infocalypse-net.info] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
CannedCorn [CannedCorn!~textual@cpe-66-65-102-78.nyc.res.rr.com] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
Sliker [Sliker!~ponies@87.115.176.215] has joined #ruby
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has joined #ruby
p0y [p0y!~p0y@112.210.104.200] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
gabrtv [gabrtv!~gabrtv@box.techverity.com] has quit [#ruby]
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has joined #ruby
ZombieBiT [ZombieBiT!~ZombieBiT@212.253.236.186] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
ZombieBiT [ZombieBiT!~ZombieBiT@212.253.236.186] has quit [#ruby]
bastilian [bastilian!~bastilian@mk084020165054.a1.net] has joined #ruby
me345 [me345!~me345@adsl-71-131-129-120.dsl.sntc01.pacbell.net] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
petercoulton [petercoulton!~petercoul@cpc1-midd16-2-0-cust160.11-1.cable.virginmedia.com] has joined #ruby
jw [jw!~j@cpc11-orpi3-2-0-cust53.2-3.cable.virginmedia.com] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
tilde[afk] [tilde[afk]!~tilde@host238-192-dynamic.12-79-r.retail.telecomitalia.it] has joined #ruby
bier [bier!~bier@p54A5BCD5.dip.t-dialin.net] has joined #ruby
bier|tp [bier|tp!~bier@p54A5BCD5.dip.t-dialin.net] has joined #ruby
thone_ [thone_!~thone@e177083047.adsl.alicedsl.de] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
skmidry [skmidry!~skmidry@c-50-132-95-135.hsd1.wa.comcast.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
klaas [klaas!klaas@simply.kla.as] has joined #ruby
tobym [tobym!~tobym@pool-96-244-84-13.bltmmd.fios.verizon.net] has joined #ruby
TheMoonMaster [TheMoonMaster!~TMM@reddit/operator/themoonmaster] has joined #ruby
jbpros [jbpros!~jbpros@203-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
eywu [eywu!~Adium@97-93-99-217.static.mtpk.ca.charter.com] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
franz_ [franz_!5b3f6760@gateway/web/freenode/ip.91.63.103.96] has joined #ruby
maletor [maletor!~maletor@pool-71-184-106-226.bstnma.fios.verizon.net] has joined #ruby
t-mart [t-mart!~t-mart@c-76-108-173-224.hsd1.fl.comcast.net] has joined #ruby
maletor_ [maletor_!~maletor@pool-71-184-106-226.bstnma.fios.verizon.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
<franz1> Hello, I have a quick REXML question
<franz1> Can I do something like doc.root.elements.each {|elem| doc.root.elements.delete(elem) if some_condition(elem)}? Will it process all original child elements? Or can't I delete children while iterating?
<franz1> It works in my test, but I don't know if that's by design or accidental.
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has quit ["Leaving"]
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
p1d [p1d!~p1d@dslb-088-064-142-144.pools.arcor-ip.net] has joined #ruby
dotnull [dotnull!~dot_null@173-31-158-182.client.mchsi.com] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
letuboy [letuboy!~paul@adsl-74-249-60-244.gsp.bellsouth.net] has joined #ruby
Rod_ [Rod_!~Rod@71.74.190.108] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
pcboy [pcboy!~pcboy@y233083.dynamic.ppp.asahi-net.or.jp] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
NinoScript_ [NinoScript_!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
NinoScript [NinoScript!~anonymous@pc-55-124-83-200.cm.vtr.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
tobym [tobym!~tobym@pool-96-244-84-13.bltmmd.fios.verizon.net] has joined #ruby
Manhose [Manhose!~Manhose@bl15-137-8.dsl.telepac.pt] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
rippa [rippa!~rippa@109-161-123-117.pppoe.yaroslavl.ru] has joined #ruby
blueadept [blueadept!~blueadept@174.47.44.30] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
nonotza [nonotza!~nonotza@adsl-65-8-161-194.mia.bellsouth.net] has joined #ruby
lkba [lkba!~AndChat@dwe251.neoplus.adsl.tpnet.pl] has joined #ruby
p0y [p0y!~p0y@112.210.104.200] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
letuboy [letuboy!~paul@adsl-74-249-60-244.gsp.bellsouth.net] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
havenn [havenn!~skipper@pool-108-0-191-210.lsanca.fios.verizon.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
havenn [havenn!~skipper@pool-108-0-191-210.lsanca.fios.verizon.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
nonotza [nonotza!~nonotza@adsl-65-8-161-194.mia.bellsouth.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
Manhose [Manhose!~Manhose@bl15-137-8.dsl.telepac.pt] has joined #ruby
Araxia [Araxia!~Araxia@c-24-22-63-1.hsd1.or.comcast.net] has joined #ruby
letuboy [letuboy!~paul@adsl-74-249-60-244.gsp.bellsouth.net] has joined #ruby
Tachyon [Tachyon!~tach@81.200.61.23] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
malkomalko [malkomalko!~malkomalk@adsl-074-232-128-034.sip.asm.bellsouth.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
MHD0 [MHD0!~MHD@80-71-135-7.u.parknet.dk] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.40] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
Girll^19 [Girll^19!~mihaela-m@146.255.76.210] has joined #ruby
Girll^19 [Girll^19!~mihaela-m@146.255.76.210] has quit [#ruby]
blueadept` [blueadept`!~blueadept@174.47.44.30] has joined #ruby
MHD0 [MHD0!~MHD@80-71-135-7.u.parknet.dk] has quit [#ruby]
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
jensn [jensn!~Jens@90-229-211-15-no150.tbcn.telia.com] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Skaag [Skaag!~Skaag@207-172-174-232.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com] has joined #ruby
Manhose [Manhose!~Manhose@bl15-137-8.dsl.telepac.pt] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl15-137-8.dsl.telepac.pt] has joined #ruby
lolsuper_ [lolsuper_!~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has joined #ruby
lolsuper_ [lolsuper_!~super_@unaffiliated/lolsuper-/x-9881387] has joined #ruby
s0ber [s0ber!~s0ber@114-36-234-205.dynamic.hinet.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-234-205.dynamic.hinet.net] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-234-205.dynamic.hinet.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-234-205.dynamic.hinet.net] has joined #ruby
tomasantonj [tomasantonj!~Adium@c213-89-112-209.bredband.comhem.se] has joined #ruby
Rod_ [Rod_!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
sczizzo [sczizzo!~sczizzo@99-94-128-224.lightspeed.mmphtn.sbcglobal.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Ogion [Ogion!~Ogion@5ED5F47E.cm-7-6d.dynamic.ziggo.nl] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Jake232 [Jake232!~textual@5e025306.bb.sky.com] has joined #ruby
cyri_ [cyri_!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
jergason [jergason!~jergason@dsl-69-172-107-179.acanac.net] has joined #ruby
apeiros_ [apeiros_!~apeiros@77-58-115-24.dclient.hispeed.ch] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@c-68-35-182-153.hsd1.nm.comcast.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
Brandonn [Brandonn!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
amacgregor_ [amacgregor_!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
rothsa [rothsa!~rothsa@c-67-189-97-22.hsd1.wa.comcast.net] has joined #ruby
_catch [_catch!~AndChat@2600:1004:b004:be79:5e26:59c7:8c9b:65d5] has joined #ruby
<nonotza> I want to run a shell script through ruby. the script asks for feedback but I don't know how to respond with the feedback required
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
G [G!~njones@torea.jnet.net.nz] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
AxonetBE [AxonetBE!~Adium@d51A4E944.access.telenet.be] has joined #ruby
vinculum [vinculum!~vinculum@h50.25.19.98.dynamic.ip.windstream.net] has joined #ruby
apeiros [apeiros!~apeiros@77-58-115-24.dclient.hispeed.ch] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
cartomen [cartomen!~giorgio@78-134-82-147.dynamic.eolo.it] has joined #ruby
<cartomen> !list
<cartomen> list!
<shevy> lol
<shevy> !list!
<shevy> nonotza usually it's easier to just write it in ruby
<shevy> I think you may be able to input data to that script... if you use popen. but I am not sure, I stopped using shell scripts some years ago
<nonotza> I see
<nonotza> thanks
ejf [ejf!~edwardf@176-35-184-161.xdsl.murphx.net] has joined #ruby
malkomalko [malkomalko!~malkomalk@adsl-074-232-128-034.sip.asm.bellsouth.net] has joined #ruby
canton7 [canton7!~antony@dmale.plus.com] has joined #ruby
Skaag [Skaag!~Skaag@207-172-174-232.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod_ [Rod_!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
<zi> How to require a file so that it would be required into a module. Like it's in a module statement?
<cartomen> ciao scusate come fziona per snu
<cartomen> scusate come funziona per scaricare
<apeiros> zi: can't do that with require. load can do it, though. but the module is anonymous
<samuelkadolph> zigidias: Module.new.class_eval(File.read(f), f, 1)
<samuelkadolph> zi ^^
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
<apeiros> samuelkadolph: I think you can omit the 1
<apeiros> (it's the default)
<apeiros> if you need a randomly named module (some libs don't like to be put inside anonymous modules): Object.const_set("MyPrefix%08x"%rand(0xffffffff), Module.new.class_eval…)
Autumn_ [Autumn_!~Autumn@60-240-7-245.tpgi.com.au] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
D4T-Away [D4T-Away!~d4t@94.228.41.108] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has quit [#ruby]
Tick-Tock [Tick-Tock!~Tick-Tock@2607:f358:1:fed5:22:0:b683:4295] has joined #ruby
yellow5 [yellow5!~yellow5@levicole.xen.prgmr.com] has joined #ruby
Ilithya [Ilithya!Ilithya@2a02:1610:1:0:20c:29ff:feb3:d0ff] has joined #ruby
duey [duey!~duey@duey-2-pt.tunnel.tserv3.fmt2.ipv6.he.net] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
darkskiez [darkskiez!~darkskiez@2001:470:9278:1:a6ba:dbff:fefd:c51b] has joined #ruby
MekkisFreenode_ [MekkisFreenode_!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
toxteth [toxteth!~toxteth@5ac38858.bb.sky.com] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
thomasfedb [thomasfedb!~thomasfed@2607:f358:1:fed5:11:0:1399:1] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
jergason [jergason!~jergason@dsl-69-172-107-179.acanac.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
SpitfireWP [SpitfireWP!~spitfire@wikipedia/spitfire] has joined #ruby
norex [norex!~quassel@41-133-238-15.dsl.mweb.co.za] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
vandemar [vandemar!rings@2001:470:1f10:56b::4] has joined #ruby
Autumn_ [Autumn_!~Autumn@nat/cisco/x-iwiibwbazlnndmti] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
Ttech [Ttech!ttech@botters/staff/ttech] has joined #ruby
CannedCorn [CannedCorn!~textual@cpe-66-65-102-78.nyc.res.rr.com] has joined #ruby
nonotza [nonotza!~nonotza@adsl-65-8-161-194.mia.bellsouth.net] has joined #ruby
bastilian [bastilian!~bastilian@mk084020185197.a1.net] has joined #ruby
jergason [jergason!~jergason@dsl-69-172-107-179.acanac.net] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
ryanf [ryanf!~revfitz@adsl-66-127-53-157.dsl.snfc21.pacbell.net] has joined #ruby
nonotza [nonotza!~nonotza@adsl-65-8-164-251.mia.bellsouth.net] has joined #ruby
rpowell [rpowell!~rpowell@CPE-121-216-24-167.lnse1.ken.bigpond.net.au] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
ynonperek_ [ynonperek_!~ynonperek@89-138-103-61.bb.netvision.net.il] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Jrz [Jrz!~jrz@d152222.upc-d.chello.nl] has joined #ruby
InfiniteJest [InfiniteJest!~InfiniteJ@dynamic-adsl-78-12-96-142.clienti.tiscali.it] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
d2dchat [d2dchat!~d2dchat@64.20.154.57.dyn-e-pool27.pool.hargray.net] has joined #ruby
zastaph [zastaph!~uid@unaffiliated/zastaph] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
sgaedu [sgaedu!~ar@masq61.gtn.ru] has joined #ruby
rothsa [rothsa!~rothsa@c-67-189-97-22.hsd1.wa.comcast.net] has joined #ruby
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
mindgame [mindgame!~nfxgosu@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
josh9 [josh9!~oren@cpe-76-172-9-207.socal.res.rr.com] has joined #ruby
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
LouisJB [LouisJB!~Louis@louisb.gotadsl.co.uk] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<josh9> guys, why are u here and not on #ruby
<josh9> i mean #ruby-lang
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has quit [#ruby]
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
<waxjar> the sex here is free
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
bastilian [bastilian!~bastilian@mk084020185197.a1.net] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
josh9 [josh9!~oren@cpe-76-172-9-207.socal.res.rr.com] has quit ["WeeChat 0.3.2"]
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
ejf [ejf!~edwardf@176-35-184-161.xdsl.murphx.net] has joined #ruby
latentflip [latentflip!~latentfli@host86-141-87-36.range86-141.btcentralplus.com] has joined #ruby
unda7V7erse [unda7V7erse!~unda7V7er@sto95-5-78-237-254-52.fbx.proxad.net] has joined #ruby
SeanTAllen [SeanTAllen!u4855@gateway/web/irccloud.com/x-juwfcrhubfxcxrdz] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
<shevy> lol
davidcelis [davidcelis!~david@108-64-212-213.lightspeed.sndgca.sbcglobal.net] has joined #ruby
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
kervin [kervin!~kevin@62-249-16-190.fibertel.com.ar] has joined #ruby
malkomalko [malkomalko!~malkomalk@adsl-074-232-128-034.sip.asm.bellsouth.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
bamboozle [bamboozle!~david@cpc7-chap8-2-0-cust11.aztw.cable.virginmedia.com] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
bulavard [bulavard!~bulavard@50.46.100.11] has joined #ruby
jackhammer2022 [jackhammer2022!~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby
Rod [Rod!~Rod@71.74.190.108] has joined #ruby