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/
Jake232 [Jake232!~textual@5e0ecfc2.bb.sky.com] has joined #ruby
pHcF [pHcF!~pedrofran@187.126.169.126] has joined #ruby
organic [organic!organic@ool-4a58d269.dyn.optonline.net] has joined #ruby
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
<CodeZombie> Azure: thanks, just got off the phone with the author of the server side, he seems to think that char encoding could be the issue, and maybe I should specify unicode.
Muz [Muz!~muz@last.fm/moose/Muz] has joined #ruby
<CodeZombie> blah, I hate not having access to the server code lol
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
aroman_ [aroman_!~Avi@pool-71-185-172-230.phlapa.fios.verizon.net] has joined #ruby
macgregor [macgregor!~macgregor@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
jrist [jrist!~jrist@71-212-208-163.hlrn.qwest.net] has joined #ruby
ryanf [ryanf!~revfitz@118.sub-174-253-248.myvzw.com] has joined #ruby
<pHcF> hi, i have a string that is being created using ["a string"].pack('H*').. then, I try to convert it to UTF-8 using Encoding::Converter, but I get the error "\x9D" on UTF-8 (Encoding::InvalidByteSequenceError)
<pHcF> how can i fix that?
<pHcF> i mean, not changing "a string"
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
jthomas_ [jthomas_!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
Schmidt [Schmidt!~lsc@h-11-69.a254.priv.bahnhof.se] has joined #ruby
xeno_ [xeno_!~xeno@rev-66-150-171-4.rhapsody.com] has joined #ruby
jthomas_ [jthomas_!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
<xcyclist> Still stuckout here in the cold trying to set up eruby on apache. Anyone care to make a suggestion?
<xcyclist> Latest I'm seeing is a protection problem, using apt-get installs for userdir, erubis, etc, and leaving out all gem installs.
<xcyclist> Running on Ubuntu.
jbhewitt [jbhewitt!~jbhewitt@c122-108-214-224.rochd4.qld.optusnet.com.au] has joined #ruby
<xcyclist> On my other machine, I tried to set up everything I could using gems, only resorting to apt-get with things like apache modules.
silky [silky!~silky@pool-74-108-142-22.nycmny.fios.verizon.net] has joined #ruby
<xcyclist> So now I get a protection failure: http://pastie.org/3093249
<samuelkadolph> You need read access to that fiel
<samuelkadolph> file*
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby
<xcyclist> Yes, I know that Samuel, but the problem is, I shouldn't . It should set up the protections properly. So, the question is, have I left something out. I installed userdir and suexec (I am using a UserDir public_html apache directive).
<samuelkadolph> The permissions aren't right. Make the read 7 to make sure that's the problem.
<samuelkadolph> Then figure out what user it's running as and why it's not got the permission
<xcyclist> I don't know what a "read 7" is.
<samuelkadolph> Set the read permission bit to 7 for all
<xcyclist> Ok.
<samuelkadolph> Err, anyone permission bit
<samuelkadolph> Hmm
<samuelkadolph> It might be trying to open the file for writing
<samuelkadolph> try chmod a+rw /home/me/public_html
audy [audy!~audy@heyaudy.com] has quit ["Leaving"]
<xcyclist> Yes, please look at the pastie. It shows you it is trying to write to the directory.
<xcyclist> Also, when I changed public_html to 777, it stopped writing to the error log, but now downloads the file instead of displaying to the browser.
<samuelkadolph> You can't tell what it's try to do from that error alone
<samuelkadolph> It's either trying to read that file and failing or trying to write it and failing
<xcyclist> But, it fails on the open, and the open is for write.
<samuelkadolph> And setting 777 to the directory means you are running as the wrong user
<xcyclist> The open is for a buffer write, which means it disappears when it is closed.
Rod_ [Rod_!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
<samuelkadolph> I don't know if suexec works with eruby, you'd have to ask in an apache channel
<samuelkadolph> And probably for the download as well
<xcyclist> Good point.
<samuelkadolph> But first check with curl to see if it is sending the download header
<samuelkadolph> If it isn't, it may be your browser doing it based on an extension or something
<xcyclist> Well, that's some steps. Thank you Samuel. If I can, I'll stop back andn tell of progress.
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
nirizr [nirizr!~nirizr@93-172-161-250.bb.netvision.net.il] has joined #ruby
<nirizr> hey
humanpipecleaner [humanpipecleaner!~chatzilla@wsip-24-234-202-219.lv.lv.cox.net] has joined #ruby
<nirizr> a friend told me ruby is not a real language. and i want to disprove him. does any one of you speak it?
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
<Nowaker> nirizr: :D
<nirizr> Nowaker: do you speak it?
<Nowaker> is latin not a real language because nobody speaks it? it's only written...
<samuelkadolph> Friend.new(idiot: true).balls.kick(:hard)
<Nowaker> samuelkadolph: bad! me.kick(:hard, Friend.new(idiot: true).balls)
<Nowaker> balls can't kick :|
<samuelkadolph> balls is the reciever
<nirizr> shuldnt it be ":idiot=>true"?
<samuelkadolph> 1.9 added a new hash syntax
<samuelkadolph> symbol_key: value
<samuelkadolph> Instead of :symbol_key => value
<pHcF> lol
<nirizr> ohhh. that seems so weird... how could they add such a syntax to latin?..
<_axx> can you guys give me some help on hashes? i have one hash (1) with 10 keys and want to crete a new hash(2), with only 3 of the keys from hash 1, i could assign them with a hash1.each do, but it fails if certain values of the hashes aren't set. :(
xea [xea!~iris@icts.hu] has joined #ruby
samxor [samxor!samxor@70.32.34.103] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
cynosure [cynosure!~cynosure@centrumnet.hu] has joined #ruby
<pHcF> i have a string that is being created using ["a string"].pack('H*'), then, I try to convert it to UTF-8 using Encoding::Converter, but I get the error "\x9D" on UTF-8 (Encoding::InvalidByteSequenceError). how can i fix that and not changing the value "a string" nor the final result?
<nirizr> my friend said ruby isnt a real language because japanese people invented it
<nirizr> and they have no souls
<nirizr> i looked in wikipedia and it didn't say anything about it
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.99.182] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
banister_ [banister_!~baniseter@122.63.243.32] has joined #ruby
ngng [ngng!~ng@c-98-210-117-31.hsd1.ca.comcast.net] has joined #ruby
kf8a [kf8a!~kf8a@dslfw4.mei.net] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
Ilithya [Ilithya!Ilithya@2a02:1610:1:0:20c:29ff:feb3:d0ff] has joined #ruby
freelanceful [freelanceful!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
<shevy> nirizr hmm
<nirizr> ?
tobym [tobym!~tobym@c-24-128-127-47.hsd1.vt.comcast.net] has joined #ruby
<shevy> nirizr a soul
<shevy> I never saw a soul in ruby
<shevy> I think your friend is right
<shevy> there are no souls in ruby
<freelanceful> Just how far should you test with Cucumber?
<nirizr> see? thats just what he said!
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
<shevy> he is a wise man
<shevy> give him a hug from me when you see him k?
<freelanceful> Only the parts with functionality? Like pages with input fields like edit and create new pages? What about the show pages, (like User profile) pages where it just displays what's in the database?
<nirizr> i think hell be disappointed with just a hug...
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
<brownies> test ALL the things
<shevy> TEST THE WORLD
<nirizr> *test ALL the world
<CodeZombie> does encode not support UTF-16?
<CodeZombie> I tried something like "foo".encode("UTF-16") and I got an error "code converter not found (UTF-8 to UTF-16)"
<brownies> i have a dumb question
<brownies> how do i fix this?
<brownies> You have already activated activesupport 3.2.0.rc1, but your Gemfile requires activesupport 3.1.0. Using bundle exec may solve this. (Gem::LoadError)
<banister_> d
<CodeZombie> nvm, I see LE is needed
<brownies> well, better question
<brownies> how do i fix it without having to type "bundle exec" everytime?
<_axx> brownies: you could create an alias in your bash_profile :)
<brownies> yea i just found that by googling
<brownies> think i'll do that
<_axx> i read about a fix lately, but i can't remember
<_axx> there is a better way to fix this
<freelanceful> brownies: can't you go overboard with tests?
<brownies> i don't know ... i'm just learning cucumber too
<brownies> i've been staring at the docs for the past day or so, want to start writing tests today
mattyohe [mattyohe!~mattyohe@2620:0:e50:3011:e808:9755:1b11:d7ef] has joined #ruby
<brownies> hence my issue, because i ran "cucumber" and "bundle exec cucumber" is a lot more typing.
jcblitz [jcblitz!~jared@c-68-63-145-109.hsd1.pa.comcast.net] has joined #ruby
<jcblitz> Can anyone recommend an easy to understand document on Ruby modules? I want to create a class named "Set" and I know that already exists
<samuelkadolph> jcblitz: You can't. You can create a Set class inside of a module/class. like class Foo::Set; end
<jcblitz> thanks guys
amacgregor_osx [amacgregor_osx!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
tectonic [tectonic!~tectonic@pool-72-78-244-216.phlapa.fios.verizon.net] has joined #ruby
Rod_ [Rod_!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-98-244-29-249.hsd1.ca.comcast.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
straind [straind!~stupidper@n127s244.bbr1.shentel.net] has joined #ruby
lewis1711 [lewis1711!~lewis@121-79-208-160.dsl.sta.inspire.net.nz] has joined #ruby
<lewis1711> is there something like RTEST in the C API, that returns a true or false rather than a Fixnum?
<banister_> lewis1711: a Qtrue / Qfalse u mean?
<banister_> RTEST(blah) ? Qtrue : Qfalse
<banister_> iirc
<Azure> What would be the best way to handle error messages that are returned by a method that would normally return strings?
<Azure> (and have a different behavior for when the error is returned)
simonista [simonista!~simonista@c-98-202-209-65.hsd1.ut.comcast.net] has joined #ruby
jbrokc [jbrokc!~jbrokc@c-98-228-139-230.hsd1.il.comcast.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
danblack [danblack!~dragonhea@gentoo/developer/dragonheart] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
finsdelosmundos [finsdelosmundos!~brunchole@110.64.103.97.cfl.res.rr.com] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
<jbrokc> hi - i'm curious how i'd implement something with dir.glob between a regexp and a filepath. that is, i want to load everything in the javascripts directory except for 'foo.js', so `Dir.glob('javascript/[^foo].js').each { |f| puts f }` doesn't work :(
<jbrokc> nevermind
Tick-Tock [Tick-Tock!~Tick-Tock@2607:f358:1:fed5:22:0:b683:4295] has joined #ruby
<finsdelosmundos> i'm trying to install the bdb gem and i get the following error: http://paste.pocoo.org/show/527582/
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
<wassy121_> looks like you are missing libdb-devel ?
<finsdelosmundos> oh
<wassy121_> What OS are you on?
<wassy121_> (ubuntu, RedHat?)
<finsdelosmundos> linux64bit
<finsdelosmundos> oh archlinux
<wassy121_> umm, I think that is yum/RPM as the package manager. Try "yum search libdb-devel"
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
<wassy121_> it might be libdb4-devel , or maybe just db4-devel, or db4-dev.
<wassy121_> Something like that. I don't know arch too well.
<finsdelosmundos> i'll look through the repo for it
<samuelkadolph> jbrokc: Dir.glob is not a regexp, it's using fnmatch which is the same kind of globbing that a shell could use.
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
lewis1711 [lewis1711!~lewis@121-79-208-160.dsl.sta.inspire.net.nz] has quit ["Leaving."]
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
me345 [me345!~me345@75.15.180.69] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
<jbrokc> is there a way to push a string into a new array in one line? like `foo = "blah blah".something # => ["blah blah"]` ?
<wassy121_> foo = "blah blah".to_a
<wassy121_> like that?
<jbrokc> sure
<wassy121_> Nope
<danblack> foo = ['blah blah']
<jbrokc> i tried foo.split('[^a-zA-Z0-9.]*')
<jbrokc> which works...
<mattyohe> why wouldn't what danblack said work, jbrokc?
<samuelkadolph> He probably wants ["blah", "blah"] which you can get with split(" ")
<samuelkadolph> s/wants/meant/
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
* danblack shrug - who know :)
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
<finsdelosmundos> wassy121: I have db installed, but it is still giving me the error
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
BrianJ [BrianJ!~textual@pool-108-18-204-94.washdc.fios.verizon.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
a|i [a|i!~ali@unaffiliated/ai/x-9091534] has joined #ruby
<a|i> how is it possible to have a git submdule in a ruby gem?
silky [silky!~silky@pool-74-108-142-22.nycmny.fios.verizon.net] has joined #ruby
ziggles [ziggles!~ziggles@c-24-6-247-92.hsd1.ca.comcast.net] has joined #ruby
mensch [mensch!~mensch@c-174-62-210-182.hsd1.ma.comcast.net] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
<pHcF> i have a string that is being created using ["a string"].pack('H*'), then, I try to convert it to UTF-8 using Encoding::Converter, but I get the error "\x9D" on UTF-8 (Encoding::InvalidByteSequenceError). how can i fix that and not changing the value "a string" nor the final result?
<Axsuul> In Rails, for the config, a config object seems to be available from the "config" variable in a block, yet it's not a piped local variable. How do they achieve this? http://codepad.org/UxgKWuqR
<samuelkadolph> pHcF: Why are you trying to convert a binary string into an UTF8 one?
<pHcF> TCP sockets
<pHcF> with binary data :/
<samuelkadolph> That makes no sense
<samuelkadolph> The point of pack is to convert data types into a binary stream to send to a socket
<samuelkadolph> Not to convert the binary data into a UTF-8 string when it may or may not be valid
<pHcF> sorry
<pHcF> I'm converting UTF-8 to binary.
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
<a|i> a|i: how is it possible to have a git submdule in a ruby gem?
<a|i> anyone?
<a|i> the git submodule is not automatically created, when the gem is installed.
<a|i> how to handle this?
<Axsuul> Is there a way to pass variables into a block from yield, but not have to put it between |pipe|
<a|i> hmm, :submodules => true.
<samuelkadolph> pHcF: You can send UTF-8 over a socket
<pHcF> well, the thing is a bit more complex
<pHcF> i'm dealing with apple's siri (from iPhone 4s) proxy
<pHcF> and i'm trying to change the audio that that is being sent in the socket
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
<pHcF> the problem is that the socket only accepts binary data
<pHcF> and I'm trying to convert all the data to binary
<samuelkadolph> UTF-8 is binary data
<samuelkadolph> It's how you read it that makes it binary
<samuelkadolph> ☃ is just \xE2\x98\x83
<samuelkadolph> If you read that as ASCII, it's just garbage (\xE2\x98\x83) but if you read it as UTF-8 it's a snowman
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
<mattyohe> ☕
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
xatltb [xatltb!~me345@adsl-75-15-180-69.dsl.bkfd14.sbcglobal.net] has joined #ruby
<pHcF> hmm botcha
<pHcF> gotcha
<samuelkadolph> And if ruby gives you conversion problems, you can just send "☕".bytes.to_a.pack("C*")
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-201-18.mcn.bellsouth.net] has joined #ruby
muse [muse!~musee@unaffiliated/musee] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.226.29] has joined #ruby
Crisco [Crisco!~Crisco@208-45-119-82.bois.qwest.net] has joined #ruby
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
radic [radic!~radic@dslb-094-216-224-225.pools.arcor-ip.net] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.226.29] has joined #ruby
<Axsuul> Is there any way to make a method available in a block? https://gist.github.com/7876eed4c1102d70a54a
<banisterfiend> Axsuul: instance_eval
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
quest88 [quest88!~quest88@adsl-75-23-35-7.dsl.lgvwtx.sbcglobal.net] has joined #ruby
<Axsuul> banisterfiend: like.. &block.instance_val ?
<banisterfiend> Axsuul: no...
<banisterfiend> Axsuul: def foo(&block); @obj.instance_eval(&block); end
<banisterfiend> where the object @obj defines the method some_method
<Axsuul> interesting.. thanks
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
xcyclist [xcyclist!~xeno@employeevpn.rhapsody.com] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
BrianJ [BrianJ!~textual@pool-108-18-204-94.washdc.fios.verizon.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
me345 [me345!~me345@adsl-75-15-180-69.dsl.bkfd14.sbcglobal.net] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
tyman [tyman!~tyman@173-12-219-189-Fresno.hfc.comcastbusiness.net] has joined #ruby
trivol [trivol!~aurelien@81.57.175.21] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
tk_ [tk_!~tk@p252198.doubleroute.jp] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
aantix [aantix!~jjones@70-36-141-115.dsl.dynamic.sonic.net] has joined #ruby
loocorez [loocorez!~stefan@208.43.144.32] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@207.204.238.95] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
abstrusenick_ [abstrusenick_!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
CodyLinux [CodyLinux!~cody@80.249.82.205] has joined #ruby
CodyLinux [CodyLinux!~cody@80.249.82.205] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
Kamoi [Kamoi!Kamoi@71-10-80-225.dhcp.roch.mn.charter.com] has joined #ruby
Kamoi [Kamoi!Kamoi@71-10-80-225.dhcp.roch.mn.charter.com] has quit [#ruby]
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
warmwaffles [warmwaffles!~warmwaffl@96.8.140.95] has joined #ruby
v0n [v0n!~v4n@bas1-montreal19-1177820429.dsl.bell.ca] has joined #ruby
grilix [grilix!~grilix@r190-64-68-128.dialup.adsl.anteldata.net.uy] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.253.81] has joined #ruby
RORgasm [RORgasm!~rorgasm@pool-71-127-136-103.rcmdva.east.verizon.net] has joined #ruby
<RORgasm> hey guys
<RORgasm> is there a way to add a class to the ancestor chain in another class ?
ReTFEF [ReTFEF!~JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
<yfeldblum> RORgasm, why do you want to do that?
<RORgasm> i want to add functionaltiy to another class that exists in another class
<RORgasm> and unfortunatley
<RORgasm> the ther class is not a module so i can't just extend that one class
<RORgasm> the class already exists
<RORgasm> i guess i could just open the class and add the inheritance myself
<RORgasm> class A < B;end
<yfeldblum> RORgasm, you could, but only if A does not already inherit another class
<RORgasm> that's the problem it already does
<RORgasm> hmm
<yfeldblum> you could write a small adapter module and include that module in A
<RORgasm> yfeldblum: that might be what i need
<RORgasm> yfeldblum: examples? link?
<yfeldblum> RORgasm, i was just thinking how i might do it; i don't have examples or links available
<RORgasm> sure
<RORgasm> think you've given me a coule ideas :)
<yfeldblum> RORgasm, if you solve it, write a blog post :P
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
<RORgasm> i might :)
<banisterfiend> RORgasm: if you're feeling cool, you could do it with a C ext
<RORgasm> lol
<RORgasm> don't think i need to do that at the momemnt
<banisterfiend> ive done it before and i felt pretty cool
<RORgasm> lol
<RORgasm> i'm sure it did
jasdeepjaitla [jasdeepjaitla!~jasdeepja@c-98-207-73-250.hsd1.ca.comcast.net] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
<rippa> >we can include a class into another class
<rippa> yo dawg
<banisterfiend> rippa: softly speak to me in cyrillic about the trials and tribulations of life in modern day russia
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
pinage_dodo_fail [pinage_dodo_fail!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
kingfishr [kingfishr!~caleb@c-98-207-87-183.hsd1.ca.comcast.net] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
<savage-> RORgasm: here's one way to take a class and turn it into a module that you can then extend/include, although it does assume a couple things: https://gist.github.com/1538187
<RORgasm> savage-: wow...hmm ... let me try that
<savage-> banisterfiend: btw, when you simple do something like this: module Foo; include Blah; end - are the wrapper/proxy classes created at that moment or only when Foo is included in a class?
apok [apok!~apok@96.24.67.22] has joined #ruby
<banisterfiend> savage-: the wrapper for Blah is created at that point in Foo's ancestor chain
<banisterfiend> savage-: and when Foo is included a wrapper is created for Foo too, as well as a new one for Blah
<savage-> banisterfiend: gotcha, but then that hierarchy is duplicated once Foo gets included in another class, right? since hierarchies aren't shared?
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
Cerales [Cerales!0ec89ef7@gateway/web/freenode/ip.14.200.158.247] has joined #ruby
<savage-> perfect
<savage-> gracias, amigo mío.
<Cerales> I'm wondering if someone can help me with a weird problem I'm having with RSpec and Rack::Test - doing _get '/'_ with rack:test, or _visit '/'_ with capybara, and then trying to look at last_response, outputs an endless loop of the response followed by a 'stack level too deep' error
<Cerales> i'm using ruby 1.9.1 and rack-test 0.6.1
warmwaffles [warmwaffles!~warmwaffl@96.8.140.95] has quit [#ruby]
<banisterfiend> savage-: those methods (in your gist) wont be able to set state though
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
<savage-> banisterfiend: https://gist.github.com/1538187
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<banisterfiend> let me have a play
<savage-> :-)
<savage-> but honestly I would never use this in production.
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
<savage-> /cc RORgasm
<banisterfiend> savage-: that's cos it's calling 'x' on the Foo object
<banisterfiend> not on the obj object
<banisterfiend> check the ivars on obj, and it doesnt have an @x
<savage-> hmmm
<savage-> ah yes, you're right!
<savage-> so doing &original_method created a proc whose binding for 'self' was the Foo.new instance :)
<savage-> clever!
wedtm [wedtm!~wedtm@173-12-163-78-oregon.hfc.comcastbusiness.net] has joined #ruby
<banisterfiend> Yeah
<banisterfiend> it just wraps it in a proc
<banisterfiend> but the method object is the same
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
<banisterfiend> the underlying 'self' of the method object*
<savage-> p original_method.to_proc.binding.eval('self')
<savage-> that is just the bound method object.
<savage-> gotcha
<savage-> I'm deleting the gist now. :)
<savage-> gone
<RORgasm> savage-: yeah...i'm thinking of something else...think i almost have a solution :)
<savage-> RORgasm: cool! do share.
<RORgasm> savage-: i will once i get it working...but its specific to my problem
<RORgasm> ah
<RORgasm> what the hell i'll tell u guys
<RORgasm> :0
<RORgasm> :)
<RORgasm> anyone use Kaminari in here?
<RORgasm> its a rails pagination gem
<RORgasm> well
<RORgasm> i added MongoMapper support to it early in the year
<RORgasm> a few months ago someone added pagination support for embedded documents
<RORgasm> for mongoid
<RORgasm> and i was going to do the same for the mongomapper engine
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
<RORgasm> so home for the holidays and thought i should finally get aroudn to it
<RORgasm> anyways...i will ping u guys once i make some progress :)
<savage-> cool
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
<banisterfiend> RORgasm: why dont you just use the strategy pattern
<RORgasm> banisterfiend: not sure i know what u mean?
<banisterfiend> RORgasm: many homies are against inheritance anyway, strategy pattern is alternative to inheritance it's pretty much just delegation
<RORgasm> banisterfiend: examples? links?
<banisterfiend> RORgasm: it's OOP 101
<banisterfiend> you'll find a tonne of stuff if you just google for delegation/composition/strategy pattern
<RORgasm> hmm
<RORgasm> banisterfiend: the thing is
<RORgasm> what i'm trying to do is this
<RORgasm> Kaminari already has a PaginatableArray class
<RORgasm> which can turn any array into a paginatable object
<RORgasm> basically it just makes sure that some methods for paignation are available
<banisterfiend> ok
<RORgasm> what i'm trying to make sure is that the MongoMapper association for embedded documents essentially returns a paginatable array if Kaminari is cinulcuded
<RORgasm> included
<RORgasm> now if PaginatableArray was a module i could just make EmbeddedDocument module include PaginatableArray
<RORgasm> but its not a module :)
<RORgasm> its a class
ryanf [ryanf!~revfitz@adsl-71-141-89-169.dsl.snfc21.sbcglobal.net] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
Rod_ [Rod_!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
otters [otters!~Adium@208.102.195.210] has quit [#ruby]
smgt [smgt!~simon@mmx.flattr.net] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
mafolz [mafolz!~mafolz@dhcp50-210.start.uni-saarland.de] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
pinage404 [pinage404!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has joined #ruby
robertjpayne [robertjpayne!~robertjpa@122.58.169.214] has joined #ruby
<robertjpayne> Is there any way to debug why $POSTMATCH might be nil after a successful matching?
jbhewitt [jbhewitt!~jbhewitt@c122-108-214-224.rochd4.qld.optusnet.com.au] has joined #ruby
thone_ [thone_!~thone@g230185238.adsl.alicedsl.de] has joined #ruby
<rippa> robertjpayne: use $'
d3c [d3c!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
cjs [cjs!~cjs@41.98.156.220.st.bbexcite.jp] has joined #ruby
<robertjpayne> rippa: No luck, is there anything wrong with this extremely simple example? http://pastie.org/3094543
pen [pen!~pen@2001:288:1001:28:25af:e6ea:f760:9578] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
<cjs> Anybody here know much about minitest? I've got custom code to run Test::Unit tests that I'd like to convert to use minitest instead, but I'm having difficulty building a minitest suite from my existing TestCases/Suites.
<cjs> I'll also happily accept hints on where else I should be looking for help.
<sj26> robertjpayne: puts $' if "Hello World" =~ /(Hello)/
<sj26> this works fine
<robertjpayne> sj26: ahh missed the '
pinage404 [pinage404!~pinage404@APuteaux-651-1-53-20.w81-249.abo.wanadoo.fr] has joined #ruby
<robertjpayne> Is $POSTMATCH deprecated? I've been referencing some other ruby code just wondering why it doesn't work
<sj26> robertjpayne: no, if you want to use the more verbose variables like $POSTMATCH then require "english"
fungoat [fungoat!~fungoat@184.91.163.230] has joined #ruby
<robertjpayne> sj26: thanks :)
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
gonglexin [gonglexin!~gonglexin@58.20.54.14] has joined #ruby
gonglexin [gonglexin!~gonglexin@58.20.54.14] has quit [#ruby]
TheTFEF [TheTFEF!~JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
<cjs> Hm, so I'm thinking I may have to write my own Suite class to aggregate my test suites?
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
shevy [shevy!~shevy@188-23-93-216.adsl.highway.telekom.at] has joined #ruby
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
kivi [kivi!~joni@ec2-79-125-13-112.eu-west-1.compute.amazonaws.com] has joined #ruby
<kivi> what means "i" at regexp /foo/i
<v2px> case insensitive
maquis [maquis!~maquis@c-67-168-18-46.hsd1.wa.comcast.net] has quit [#ruby]
jmuniz_ [jmuniz_!~jmuniz@pool-74-101-88-129.nycmny.east.verizon.net] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
pi3r [pi3r!~pi3r@LSt-Amand-152-32-39-189.w80-11.abo.wanadoo.fr] has joined #ruby
stoffus [stoffus!~stoffus@c-440fe353.016-150-7570701.cust.bredbandsbolaget.se] has joined #ruby
aetaric [aetaric!~aetaric@74-130-83-237.dhcp.insightbb.com] has joined #ruby
otakutomo [otakutomo!~otakutomo@zaq771a4b1b.zaq.ne.jp] has joined #ruby
jbpros [jbpros!~jbpros@199-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
Tachyon [Tachyon!~tach@81.200.61.23] has joined #ruby
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby
jetblack [jetblack!~jetblack@99-32-20-118.uvs.evtnil.sbcglobal.net] has joined #ruby
muse [muse!~musee@unaffiliated/musee] has joined #ruby
Cerales [Cerales!0ec89ef7@gateway/web/freenode/ip.14.200.158.247] has joined #ruby
eldariof [eldariof!~CLD@81.200.24.167] has joined #ruby
<Cerales> Does anyone have experience with an error in RSpec where a "`method_missing': wrong number of arguments (1 for 2) (ArgumentError)" error arises inside the rspec/core/metadata.rb file?
<Cerales> I'm just trying to do the simplest of assertions on an array - ary.length.should_not eql 0
vk [vk!~victor@122.167.215.163] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
banister_ [banister_!~baniseter@122.63.253.81] has joined #ruby
johanhsfy [johanhsfy!~johan@164.247.241.83.in-addr.dgcsystems.net] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
<robertjpayne> Is there any good reads about creating custom hashes for object equality? Or is it just easiest to add the hashes of attributes?
banisterfiend [banisterfiend!~baniseter@115.189.60.31] has joined #ruby
drith [drith!~deyan@62.73.95.46] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
<CodeZombie> recieving base64 encrypted data from a java server... I've decrypted, and decoded it, but response are coming out in this format "T\x00R\x00U\x00E\x00", if I run puts response, the format is fine.
<CodeZombie> any hints would be awesome
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
azbarcea_ [azbarcea_!~quassel@79.114.112.126] has joined #ruby
Jackneill [Jackneill!~Jackneill@82.131.231.204.pool.invitel.hu] has joined #ruby
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby
<mlue> does anyone know a way to emulate the javascript behavior or giving a declared method of an object the scope of the surrounding code
<mlue> I see articles hinting at it but I can't get it to work
hukl [hukl!~hukl@91-65-135-174-dynip.superkabel.de] has joined #ruby
hukl [hukl!~hukl@pdpc/supporter/professional/hukl] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
<ryanf> mlue: can you give a bit more context? (gist maybe?)
<ryanf> it sounds like you might want define_method
<ryanf> that lets you create methods that close over the local environment of the definition
Ammar01 [Ammar01!~hassaa10@gatej.mh.bbc.co.uk] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
Schmidt [Schmidt!~lsc@h-79-136-103-158.na.cust.bahnhof.se] has joined #ruby
jbhewitt [jbhewitt!~jbhewitt@c122-108-214-224.rochd4.qld.optusnet.com.au] has joined #ruby
hiroshi [hiroshi!~hiroshi@123.230.25.89.er.eaccess.ne.jp] has joined #ruby
becom33 [becom33!~becom33@112.135.229.58] has joined #ruby
<becom33> how can I make my script identify keystrokes I type?
<mlue> sorry ryanf, went away for a bit. Yeah, that is exactly what I'm looking for, but define_method didn't seem to nail it. I can't help but wonder if it is working and I'm just doing something else wrong.
<becom33> like when I press up arrow key
<CodeZombie> stupid encoding issues, I should've probably waited to start drinking
Jonah11_ [Jonah11_!~Jonah@173-30-163-4.client.mchsi.com] has joined #ruby
<Boohbah> !encoding
eeadc [eeadc!fritz@2a01:4f8:101:2a3:0:bc28:b2a8:4] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.231.172] has joined #ruby
<CodeZombie> Boohbah: was that supposed to give a link?
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
jarjar_prime [jarjar_prime!~mjarjoura@50-76-61-133-ip-static.hfc.comcastbusiness.net] has joined #ruby
[RHQme]stringo0 [[RHQme]stringo0!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
<Boohbah> CodeZombie: it does in another channel :)
<CodeZombie> I've looked at the encoding docs. The original issue I had was the java server side required UTF-16LE, that works fine now.. but decrypting returns that encoding.
<CodeZombie> I've probably been looking at the issue too much
<banisterfiend> instance_eval in ruby can be pretty confusing
<banisterfiend> i think instance_eval is a bad idea actually, there should simply be object_eval (equivalent to class_eval) and meta_eval instead
gregorg [gregorg!~Greg@unaffiliated/gregorg] has joined #ruby
<banisterfiend> that would be more consistent too IMO
<banisterfiend> do my homies on my left agree with me
<Boohbah> \o
benlangfeld [benlangfeld!~ben@unaffiliated/benlangfeld] has joined #ruby
chrismcg_ [chrismcg_!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
marcol [marcol!~marcol@adsl-ull-47-223.50-151.net24.it] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
<tommylommykins> hmm
* tommylommykins has a memory leak
<tommylommykins> What's the best way to go about attacking it
<yxhuvud> plug it!
<yxhuvud> not enough information given, really.
<tommylommykins> tbh, I've never really experienced a memory leak before
<tommylommykins> Although I do believe I have a (reasonable) understanding oh how GC works
james_co_ [james_co_!~james_cot@89.238.149.34] has joined #ruby
<tommylommykins> I can't see what's not going out of scope
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
samxor [samxor!samxor@70.32.34.103] has joined #ruby
marcol [marcol!~marcol@adsl-ull-47-223.50-151.net24.it] has joined #ruby
gregorg_taf [gregorg_taf!~Greg@78.155.152.6] has joined #ruby
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@2001:5c0:1000:a::7ed] has joined #ruby
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
cpruitt [cpruitt!~cpruitt@190-186.126-70.tampabay.res.rr.com] has joined #ruby
dekroning [dekroning!~dekroning@541B931D.cm-5-4c.dynamic.ziggo.nl] has joined #ruby
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby
raffivar [raffivar!raffivar@93-173-180-61.bb.netvision.net.il] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
james_cotterill [james_cotterill!~james_cot@host86-174-252-14.range86-174.btcentralplus.com] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.137] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.44] has joined #ruby
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
_root_ [_root_!~Scalable@li252-14.members.linode.com] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
netytan [netytan!~netytan@83-244-220-243.cust-83.exponential-e.net] has joined #ruby
paissad [paissad!~paissad@89-92-16-151.hfc.dyn.abo.bbox.fr] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
root_____ [root_____!~root@li390-130.members.linode.com] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
danblack [danblack!~dragonhea@gentoo/developer/dragonheart] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
_raffivar_ [_raffivar_!~raffivar@77.125.244.236] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
tilde` [tilde`!~tilde@adsl-ull-177-209.42-151.net24.it] has joined #ruby
<_raffivar_> hello
_root_ [_root_!~Scalable@li252-14.members.linode.com] has joined #ruby
dbgster [dbgster!~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
dr_bob [dr_bob!~dr_bob@p549E7E45.dip.t-dialin.net] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
albedoa [albedoa!~albedoa@ip68-108-106-30.lv.lv.cox.net] has joined #ruby
dql [dql!~dql@58.38.82.18] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
rippa [rippa!~rippa@109-161-78-129.pppoe.yaroslavl.ru] has joined #ruby
Beoran [Beoran!~beoran@ip-213-49-93-21.dsl.scarlet.be] has joined #ruby
jbpros [jbpros!~jbpros@199-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
mcpierce [mcpierce!~mcpierce@99-178-171-244.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
`brendan [`brendan!~b@66-208-246-34-ubr02b-waldlk01-mi.hfc.comcastbusiness.net] has joined #ruby
_root_ [_root_!~Scalable@li252-14.members.linode.com] has joined #ruby
Martiini [Martiini!~martin@88-196-141-145-dsl.rpl.estpak.ee] has joined #ruby
<`brendan> morning all
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
Guest2147 [Guest2147!~affix@184.164.138.250] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
Manhose [Manhose!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby
Affix [Affix!~affix@fedora/Affix] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-87-102-40-242.karoo.KCOM.COM] has joined #ruby
Drakx [Drakx!~dunno@madeofcode.jonnymoe.co.uk] has joined #ruby
<ebeard> mornin
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
v0n [v0n!~v4n@bas1-montreal19-1177820429.dsl.bell.ca] has joined #ruby
cpruitt [cpruitt!~cpruitt@190-186.126-70.tampabay.res.rr.com] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
<krz> I've got the following string: 'foo_bar_27' how do i return foo_bar?
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
<krz> the string can also look like: 'foo_bar_foo_27' which should return foo_bar_foo
<krz> 27 can be any number
<rippa> krz: string.match(/(.*)_\d+/)[0]
<krz> thanks rippa is there any way without using regex? just curious
<rippa> [1]
<rippa> I mean
<rippa> why without regex?
<rippa> that's what it's for
<krz> ok thats fine then
<krz> thanks again
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
enrox-the-kid [enrox-the-kid!~enroxorz@65-117-22-130.dia.static.qwest.net] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
Drakx [Drakx!~dunno@unaffiliated/drakx] has joined #ruby
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
magistr [magistr!~magistr@89.189.172.24] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
_root_ [_root_!~Scalable@li252-14.members.linode.com] has joined #ruby
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
devdazed [devdazed!~russ_nyc@static-96-239-59-191.nycmny.fios.verizon.net] has joined #ruby
tilde` [tilde`!~tilde@adsl-ull-177-209.42-151.net24.it] has joined #ruby
goodieboy [goodieboy!~goodieboy@c-68-57-35-79.hsd1.va.comcast.net] has joined #ruby
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby
Yingjie_Cui [Yingjie_Cui!~chatzilla@124.126.191.188] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
vraa [vraa!~vraa@h188.182.213.151.dynamic.ip.windstream.net] has joined #ruby
philcrissman [philcrissman!~philcriss@206.57.45.116] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
fixl [fixl!~fixl@124-170-40-48.dyn.iinet.net.au] has joined #ruby
TaTonka [TaTonka!~TaTonka@ip-178-201-72-32.unitymediagroup.de] has joined #ruby
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby
goodieboy [goodieboy!~goodieboy@c-68-57-35-79.hsd1.va.comcast.net] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby
Manhose__ [Manhose__!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby
<dr_bob> kzr: s[/\A(.*)_\d+\z/, 1]
<dr_bob> the regexp that rippa posted is not anchored. But you need to anchor to get the proper results
<dr_bob> err, krz that should be
_srp [_srp!~quassel@115.99.249.152] has joined #ruby
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
jbpros [jbpros!~jbpros@199-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
esparkman [esparkman!~esparkman@unaffiliated/esparkman] has joined #ruby
Rious [Rious!~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined #ruby
BrianJ [BrianJ!~textual@pool-108-18-204-94.washdc.fios.verizon.net] has joined #ruby
heeton [heeton!~alexheato@mail.bournston.co.uk] has joined #ruby
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby
v0n [v0n!~v4n@2607:fad8:4:0:21e:8cff:fe4d:2f7d] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
otters [otters!~Adium@208.102.195.210] has joined #ruby
otters [otters!~Adium@208.102.195.210] has quit [#ruby]
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
_root_ [_root_!~Scalable@li252-14.members.linode.com] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
Jake232 [Jake232!~textual@5e04eaa6.bb.sky.com] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
hukl [hukl!~hukl@pdpc/supporter/professional/hukl] has joined #ruby
yekta [yekta!~yekta@c-24-1-182-219.hsd1.il.comcast.net] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
ben_alman [ben_alman!~cowboy@184-106-134-167.static.cloud-ips.com] has joined #ruby
arvindravi [arvindravi!~arvind@115.242.205.7] has joined #ruby
Sliker [Sliker!~ponies@31.185.36.99] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
lwhalen-work [lwhalen-work!~law@63.116.56.194] has joined #ruby
kf8a [kf8a!~kf8a@user-33c730.user.msu.edu] has joined #ruby
quest88 [quest88!~quest88@adsl-75-23-35-7.dsl.lgvwtx.sbcglobal.net] has joined #ruby
<lwhalen-work> hey all, apologies if this is the wrong channel for this, but I'm trying to install a MySQL gem (via 'gem install mysql -v 2.8.1'), and am getting a "/usr/bin/ld: cannot find -lmysqlclient" error
<lwhalen-work> I do have the MySQL devel and mysql client packages installed
carlyle [carlyle!~carlyle@rrcs-96-10-255-203.midsouth.biz.rr.com] has joined #ruby
baroquebobcat [baroquebobcat!~nick@host-72-175-58-43.bln-mt.client.bresnan.net] has joined #ruby
arvindravi [arvindravi!~arvind@115.242.200.245] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
jthomas__ [jthomas__!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
ByteCrunch [ByteCrunch!bytecrunch@ich.schepper.dich.um.auf.dem.fuse-board.de] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
arvindravi [arvindravi!~arvind@115.241.15.137] has joined #ruby
gheegh [gheegh!~wflanagan@pool-71-191-146-170.washdc.fios.verizon.net] has joined #ruby
<gheegh> Hey all.. question. If I have 10 arrays ( or 100, number doesn't matter) that I need to find where there are 2 or more of something in them. Right now, I'm just iterating over all of them and putting them into a hash (essentially counting all the internal elements) to find the answer. Is there a better way?
lkba [lkba!~AndChat@aaqp107.neoplus.adsl.tpnet.pl] has joined #ruby
arvindravi [arvindravi!~arvind@115.241.5.194] has joined #ruby
<shevy> I think a hash is the way to go
nowthatsamatt [nowthatsamatt!~nowthatsa@rrcs-71-43-23-18.se.biz.rr.com] has joined #ruby
tilde` [tilde`!~tilde@adsl-ull-177-209.42-151.net24.it] has joined #ruby
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby
<savage-> shevy: check out this gist: https://gist.github.com/1371212
<mrapple> Hi, whenever i try to use carmen 0.2.9 I get WARNING: Invalid .gemspec format in '/Library/Ruby/Gems/1.8/specifications/carmen-0.2.9.gemspec'
<mrapple> any ideas why?
<Jay_Levitt> Quick poll: ___ is the superior notation to indicate return values, and all others are pretenders. (a) #=> (b) # =>
<Jay_Levitt> mrapple: what rubygems version?
<mrapple> 1.3.6
<Jay_Levitt> mrapple: has that gem worked before? i.e. is it possible that gem doesn't like older rubygems versions?
<mrapple> it has worked before
<mrapple> so i should upgrade?
<Jay_Levitt> that's a very loaded question :)
<Jay_Levitt> upgrading rubygems tends to be painful
* mrapple goes for it
<Jay_Levitt> to the point there was an entire fork of the 1.3 line
<shevy> be a man, don't be shy, upgrade now
<Jay_Levitt> I personally do the upgrade and bite the bullet everywhere but I'm stupid like that
hayon [hayon!~ethanhayo@static-98-109-201-82.nwrknj.fios.verizon.net] has joined #ruby
<shevy> you are a man
<mrapple> yikes lots of invalid things
<Jay_Levitt> What are you, McFly, chicken?
<shevy> we break steel walls with our heads
<mrapple> i have a ton of invalid gemspec now...
<Jay_Levitt> yep
<shevy> now comes the scared-phase
<Jay_Levitt> The good news is, most of them will be obsolete versions of gems that no longer have the problem
<mrapple> they're all invalid date format in specification: "2011-09-02 00:00:00.000000000Z"
<Jay_Levitt> So start with gem cleanup
enviable [enviable!~enviable@173-26-230-78.client.mchsi.com] has joined #ruby
<mrapple> cleaned up
<Jay_Levitt> Next try "gem pristine -all"
<mrapple> all the errors went away
<Jay_Levitt> oh, even better
josefig [josefig!~josefig@187.156.122.88] has joined #ruby
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
<mrapple> so i don't need pristine? :P
<Jay_Levitt> nope
<Jay_Levitt> that was only the next step in a series of steps that are the ruby equivalent of "... What version of windows are you on? Have you tried rebooting? Try disablin your anti-virus and clearing your cache"
<mrapple> ah
<mrapple> im on a mac
<mrapple> ignore that useless piece of information, missed the words "ruby equivilant" >.>
<mrapple> thanks for the help Jay_Levitt
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
<Jay_Levitt> I find it's always useful to ask what version of Windows people are running, even if they're having trouble with a lawnmower. Gets 'em in the tech support mindset.
RDSM_away [RDSM_away!~regismesq@187.45.255.64] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.58] has joined #ruby
<Jay_Levitt> Then they say "It's a John Deere", and you say "Oh, we don't support Linux."
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
azbarcea_ [azbarcea_!~quassel@79.114.112.126] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
BrianE [BrianE!~brian@87.115.115.247] has joined #ruby
hayon [hayon!~ethanhayo@static-98-109-201-82.nwrknj.fios.verizon.net] has quit [#ruby]
smgt [smgt!~simon@76.156.216.81.static.m-dp.siw.siwnet.net] has joined #ruby
jbpros [jbpros!~jbpros@199-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
kevincolyar [kevincolyar!~kevincoly@li204-166.members.linode.com] has joined #ruby
arvindravi [arvindravi!~arvind@115.242.183.154] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@173-30-163-4.client.mchsi.com] has joined #ruby
<Jonah11_> If I have a long array, and I access a portion of it like a[1000..5000], will that create a new array of 4000 elements, or will ruby just read those elements from the existing array?
<Jay_Levitt> Not sure if it creates a new array, per se, but the elements of those arrays won't get copied
<Jay_Levitt> so if you are wasting memory, it's only for the array object, not the element objects
<Jonah11_> Jay_Levitt, ty, that's all i wanted to know
<any-key> ruby doesn't really do deep copy very well
<any-key> iirc
<Jay_Levitt> yep
<Jay_Levitt> blessing and curse
<any-key> no kidding
<any-key> you can copy but it's just shallow
<any-key> like me :(
<Jay_Levitt> in fact, I think the recommended way to do a deep copy is Marshal.load(Marshal.dump(object))
<any-key> yep...it's kinda screwy
<Jay_Levitt> a = ['a','b','c'];b = a.first;b.replace("A");a # => ["A", "b", "c"]
th3g33k1 [th3g33k1!~Adium@121.54.54.58] has joined #ruby
<Jay_Levitt> When iterating with .each, I know "next" can skip to the next iteration; is there a way to skip to the one AFTER that?
<Jay_Levitt> a la "next 2"
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
<Jonah11_> in a similar vein if I create a range like (0..1000000).each..., will ruby allocate the memory for all the range elms, or does it know to just keep track of the start, end, and current index?
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
<rippa> Jonah11_: it only will allocate full memory for an array
<rippa> like in
<rippa> (0..1000000).to_a
<Jonah11_> rippa, thx
josefig_ [josefig_!~josefig@187.156.22.78] has joined #ruby
BrianE [BrianE!~brian@87.115.115.247] has joined #ruby
ziggles [ziggles!~ziggles@173-11-100-54-SFBA.hfc.comcastbusiness.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
bier [bier!~bier@p54A5ABAB.dip.t-dialin.net] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
andrewhl [andrewhl!~andrew@66.78.101.2] has joined #ruby
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
kenichi [kenichi!~kenichi@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
becom33 [becom33!~becom33@112.135.229.208] has joined #ruby
<becom33> http://pastebin.com/tXg31tNe why wont this work ?
becom33 [becom33!~becom33@112.135.229.208] has quit [#ruby]
becom33 [becom33!~becom33@112.135.229.208] has joined #ruby
<becom33> I'm doinf somthing very wrong here http://pastebin.com/tXg31tNe . any help ?
<rippa> @base
<becom33> still Im getting core/frame.rb:8:in `target': undefined local variable or method `base' for #<Frame:0xb783c874> (NameError)
<becom33> rippa
<rippa> @base
<becom33> I did @base
<rippa> in both places?
<becom33> now I Have . but now Im getting a new error core/frame.rb:8:in `target': undefined method `[]=' for nil:NilClass (NoMethodError)
<rippa> @base ||= {}
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
<becom33> core/frame.rb:8:in `target': undefined method `[]' for nil:NilClass (NoMethodError)
<becom33> oh wait I dont have to change both places right rippa
looopy [looopy!~looopy@64.134.67.155] has joined #ruby
<becom33> what if I $base ?
<rippa> oh wait
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
<rippa> should work as it is
<becom33> what do you mean ?
Tuxist [Tuxist!~quassel@dyndsl-085-016-109-112.ewe-ip-backbone.de] has joined #ruby
hobodave [hobodave!~hobodave@pdpc/supporter/professional/hobodave] has joined #ruby
<rippa> ah, damn
<rippa> am I blind or something
<becom33> O-O
<becom33> got it =) thanks
<becom33> rippa:
milkpost_ [milkpost_!~dec@38.108.146.145] has joined #ruby
Araxia [Araxia!~Araxia@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #ruby
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
Silker [Silker!~ponies@31.185.36.99] has joined #ruby
TheIronWolf [TheIronWolf!~theironwo@208.90.215.35] has joined #ruby
goodieboy [goodieboy!~goodieboy@64-203-178-119.dmt.ntelos.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
voodoofish430 [voodoofish430!~mtorres@208.76.2.200] has joined #ruby
andrewhl [andrewhl!~andrew@66.78.101.2] has joined #ruby
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
<raffivar> hello, guys
iaj [iaj!~iaj@euve20098.vserver.de] has joined #ruby
<shevy> die!
<shevy> oops
<iaj> hey there, can someone recommen me a good book 'bout ruby for someone who got some experience in programming languages already?
<shevy> I meant hi!
<shevy> iaj probably metaprogramming in ruby http://pragprog.com/book/ppmetr/metaprogramming-ruby as it also covers the basics
<shevy> but ultimately the only real way to learn ruby is to write ruby scripts
<shevy> iaj the pickaxe is also ok
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
<shevy> there are not that many good ruby books though (or even ruby books in general)
<raffivar> hey shevy, you're the one who helped me last time, with my error, right?
<raffivar> (you told me to install devkit)
nicoulaj [nicoulaj!~nicoulaj@pas38-5-82-244-59-208.fbx.proxad.net] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
jcrocetta [jcrocetta!~joe@ool-435501b5.dyn.optonline.net] has joined #ruby
eignerchris [eignerchris!~eignerchr@71-222-114-71.ptld.qwest.net] has joined #ruby
becom33 [becom33!~becom33@112.135.229.208] has quit [#ruby]
jay_zawrotny [jay_zawrotny!~Jay@50-77-200-126-static.hfc.comcastbusiness.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
billturner [billturner!~textual@99-107-72-248.lightspeed.rcsntx.sbcglobal.net] has joined #ruby
<shevy> raffivar nope
<shevy> I don't even know what is devkit
<shevy> <rippa> raffivar: are you sure you installed it?
<shevy> <benlangfeld> raffivar: Paste the entire output when doing gem install ffi
<shevy> I think one of these helped ya
Jake232 [Jake232!~textual@5e04eaa6.bb.sky.com] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
<raffivar> they both did, haha :)
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
yekta [yekta!~yekta@c-24-1-182-219.hsd1.il.comcast.net] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-231-6.mcn.bellsouth.net] has joined #ruby
josh [josh!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
PhilK [PhilK!~PhilK@2001:470:1f05:c99:21f:d0ff:fe84:e3ca] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
gener1c [gener1c!~gener1c@unaffiliated/gener1c] has joined #ruby
<gener1c> im editing a text file in the following way
<gener1c> str = File.read(filename).gsub(/regex/,'')
<gener1c> File.open(filename,'r+') {|f| f.write(str)}
<gener1c> is this the proper way to do it or am i doing something horribly wrong?
<gener1c> because the resulting file sometimes is empty...
oponder [oponder!~oponder@145.118.116.102] has joined #ruby
Clooth [Clooth!~Clooth@193-64-22-80-nat.elisa-mobile.fi] has joined #ruby
<gener1c> ok changed r+ to w+ now
andrewhl [andrewhl!~andrew@66.78.101.2] has joined #ruby
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby
ianbrandt [ianbrandt!~ianbrandt@99-111-99-153.uvs.sndgca.sbcglobal.net] has joined #ruby
havenn [havenn!~skipper@pool-71-189-193-157.lsanca.fios.verizon.net] has joined #ruby
shaatar [shaatar!u648@gateway/web/irccloud.com/x-xishjkkzyaurtewv] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
<jcrocetta> What do you guys use to create GUIs?
<gener1c> i dont use anything but i read adagtk is awesome
<gener1c> there is claw and jewl also
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
<Boohbah> qtruby
<gener1c> ah wait
BrianJ [BrianJ!~textual@pool-108-18-204-94.washdc.fios.verizon.net] has joined #ruby
<gener1c> wrong channel
yakko [yakko!~quassel@189-10-123-190.bsace702.dsl.brasiltelecom.net.br] has joined #ruby
<jcrocetta> so 1 vote for qtruby
tilde` [tilde`!~tilde@adsl-ull-177-209.42-151.net24.it] has joined #ruby
<jcrocetta> shoes seems too light
<gener1c> im trying to download an xml edit it and send it
<gener1c> the sending method is already done with
<gener1c> but but editing the file
alup_ [alup_!~alup@193.92.123.5] has joined #ruby
<gener1c> is there a way to edit a file without loading it all to the memory?
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
n8ji [n8ji!~n8ji@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
`gregorg` [`gregorg`!~Greg@78.155.152.6] has joined #ruby
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby
kennethr_ [kennethr_!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
x0F__ [x0F__!~x0F@p4FEE3B71.dip.t-dialin.net] has joined #ruby
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
Asebolka [Asebolka!~Asebolka@c-174-59-146-170.hsd1.pa.comcast.net] has joined #ruby
aetaric_ [aetaric_!~aetaric@74-130-83-237.dhcp.insightbb.com] has joined #ruby
savage-_ [savage-_!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
robert___ [robert___!~hellspawn@static-96-254-212-18.tampfl.fios.verizon.net] has joined #ruby
Synthead [Synthead!~max@173-165-179-126-atlanta.hfc.comcastbusiness.net] has joined #ruby
jbpros [jbpros!~jbpros@199-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-231-6.mcn.bellsouth.net] has joined #ruby
grieve[a] [grieve[a]!~grieve@zeus.risn.co.uk] has joined #ruby
mattp_ [mattp_!~mattp_@intma.in] has joined #ruby
matled [matled!~matled@85.131.246.184] has joined #ruby
syntaxritual [syntaxritual!~shiva@li115-146.members.linode.com] has joined #ruby
babinho [babinho!~babinho@babinho.net] has joined #ruby
mxweas [mxweas!~max@c-24-7-45-147.hsd1.ca.comcast.net] has joined #ruby
erenrich [erenrich!erenrich@thalia.ugcs.caltech.edu] has joined #ruby
pradeepto [pradeepto!~quassel@juno.xinh.org] has joined #ruby
monban [monban!~gatekeepe@awesome-opossum.com] has joined #ruby
Radar [Radar!~Radar@li96-112.members.linode.com] has joined #ruby
larsx [larsx!~larsx@85.19.221.250] has joined #ruby
xoebus [xoebus!~xoebus@vortis.xen.tardis.ed.ac.uk] has joined #ruby
lokkju [lokkju!~lokkju@unaffiliated/lokkju] has joined #ruby
meder_ [meder_!shogun@li131-142.members.linode.com] has joined #ruby
TheNumb [TheNumb!thenumb@gateway/shell/mydevil.net/x-wuuxaifwypfcqzac] has joined #ruby
voodoofish [voodoofish!~voodoowin@99.190.173.175] has joined #ruby
siksia [siksia!~siksia@209.119.255.4] has joined #ruby
kloeri [kloeri!~kloeri@freenode/staff/exherbo.kloeri] has joined #ruby
chilversc_ [chilversc_!~chris@about/csharp/regular/KeeperOfTheSoul] has joined #ruby
tdmackey [tdmackey!~tdmackey@booleanhaiku.com] has joined #ruby
gf3 [gf3!~gf3@unaffiliated/gf3] has joined #ruby
soycamo [soycamo!~camo@198.202.31.180] has joined #ruby
GSpotAssassin [GSpotAssassin!u4086@gateway/web/irccloud.com/x-njcesdainrkkcqex] has joined #ruby
deweysmith [deweysmith!u3113@gateway/web/irccloud.com/x-dlvpvdcjkpgwzbnw] has joined #ruby
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-pyhzzspgbaxakeuw] has joined #ruby
sapht [sapht!~sapht@83.233.30.24] has joined #ruby
sie [sie!sie@unaffiliated/sie] has joined #ruby
Asher [Asher!~asher@98.158.127.150] has joined #ruby
Okasu [Okasu!~okasu@s094127069016.m.truevds.ru] has joined #ruby
alanp_ [alanp_!~quassel@206-248-132-240.dsl.teksavvy.com] has joined #ruby
Jb__ [Jb__!~jb@ks364797.kimsufi.com] has joined #ruby
amacgregor_osx [amacgregor_osx!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
TheTFEF [TheTFEF!~JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
kivi [kivi!~joni@ec2-79-125-13-112.eu-west-1.compute.amazonaws.com] has joined #ruby
Guest85503 [Guest85503!samxor@70.32.34.103] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
smgt [smgt!~simon@76.156.216.81.static.m-dp.siw.siwnet.net] has joined #ruby
hyperboreean [hyperboreean!~none@unaffiliated/hyperboreean] has joined #ruby
crayfishx [crayfishx!~craig@78.129.240.7] has joined #ruby
raz [raz!~raz@unaffiliated/raz] has joined #ruby
keyvan [keyvan!~keyvan@li106-75.members.linode.com] has joined #ruby
FlyingFoX [FlyingFoX!~quassel@sanktwendel.weh.RWTH-Aachen.DE] has joined #ruby
jayne [jayne!~jayne@freenode/staff/jayne] has joined #ruby
Raboo [Raboo!~rabi@nikson.dataphone.se] has joined #ruby
preller [preller!~preller@unaffiliated/preller] has joined #ruby
any-key [any-key!~eric_wood@tacs.cs.tamu.edu] has joined #ruby
SecretAgent [SecretAgent!~sa@diablo.elhefe.org] has joined #ruby
sonkei [sonkei!~sonkei@d14-69-26-171.try.wideopenwest.com] has joined #ruby
mksm_ [mksm_!Guest68249@201.20.236.65] has joined #ruby
sgronblo [sgronblo!~sgronblom@61.121.210.2] has joined #ruby
yellow5 [yellow5!~yellow5@levicole.xen.prgmr.com] has joined #ruby
HNDavid [HNDavid!~david@pool-173-48-127-244.bstnma.fios.verizon.net] has joined #ruby
azbarcea_ [azbarcea_!~quassel@79.114.112.126] has joined #ruby
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
yakko [yakko!~quassel@189-10-123-190.bsace702.dsl.brasiltelecom.net.br] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
mitchty_ [mitchty_!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby
straind [straind!~stupidper@204.111.241.190] has joined #ruby
bier [bier!~bier@p54A5ABAB.dip.t-dialin.net] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@50-77-200-126-static.hfc.comcastbusiness.net] has joined #ruby
alup__ [alup__!~alup@193.92.123.5] has joined #ruby
josh_ [josh_!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
seii [seii!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby
n8ji [n8ji!~n8ji@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
DefV [DefV!~Jan@2a02:d08:1002:100:881:5124:6028:4] has joined #ruby
hrwath [hrwath!slonik@ruby.hell.edu.pl] has joined #ruby
mpereira [mpereira!~mpereira@ec2-50-16-8-218.compute-1.amazonaws.com] has joined #ruby
Quadlex [Quadlex!~quadlex@li23-6.members.linode.com] has joined #ruby
eighty4 [eighty4!~eighty4@unaffiliated/eighty4] has joined #ruby
joast [joast!~rick@76.178.187.164] has joined #ruby
momo- [momo-!~momo@2.60.138.210.bn.2iij.net] has joined #ruby
cratchit [cratchit!~cratchit_@li89-229.members.linode.com] has joined #ruby
conceal_rs [conceal_rs!~conceal_r@www9237u.sakura.ne.jp] has joined #ruby
KitsuneDrag0n [KitsuneDrag0n!~hats@biosshadow.com] has joined #ruby
Nowaker [Nowaker!~nowaker@geozone.pl] has joined #ruby
dpritchett [dpritchett!~quassel@dpritchett.xen.prgmr.com] has joined #ruby
Corey [Corey!~Corey@freenode/staff/corey] has joined #ruby
Guest64351 [Guest64351!~d_roge@97.107.137.179] has joined #ruby
Kiall [Kiall!~Kiall@kohana/developer/kiall] has joined #ruby
akl [akl!~akl@unaffiliated/akl-] has joined #ruby
jl_2 [jl_2!~jl_2@184-96-250-167.hlrn.qwest.net] has joined #ruby
Elfix [Elfix!elfix@wikipedia/pdpc.21for7.elfix] has joined #ruby
Ttech [Ttech!ttech@botters/staff/ttech] has joined #ruby
relix [relix!u2146@gateway/web/irccloud.com/x-xhugzjwtvusnfubp] has joined #ruby
Profit [Profit!~profit@c83-254-248-151.bredband.comhem.se] has joined #ruby
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
Seventoes [Seventoes!~Seventoes@2607:f7c0:1:df60:d056:fb00:0:34] has joined #ruby
sparc [sparc!sparc@68.186.35.162] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
ben_alman [ben_alman!~cowboy@184-106-134-167.static.cloud-ips.com] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
jarjar_prime [jarjar_prime!~mjarjoura@50-76-61-133-ip-static.hfc.comcastbusiness.net] has joined #ruby
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby
`gregorg` [`gregorg`!~Greg@78.155.152.6] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
shaatar [shaatar!u648@gateway/web/irccloud.com/x-xishjkkzyaurtewv] has joined #ruby
havenn [havenn!~skipper@pool-71-189-193-157.lsanca.fios.verizon.net] has joined #ruby
ianbrandt [ianbrandt!~ianbrandt@99-111-99-153.uvs.sndgca.sbcglobal.net] has joined #ruby
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby
Clooth [Clooth!~Clooth@193-64-22-80-nat.elisa-mobile.fi] has joined #ruby
oponder [oponder!~oponder@145.118.116.102] has joined #ruby
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
TheIronWolf [TheIronWolf!~theironwo@208.90.215.35] has joined #ruby
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
hobodave [hobodave!~hobodave@pdpc/supporter/professional/hobodave] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-085-016-109-112.ewe-ip-backbone.de] has joined #ruby
kenichi [kenichi!~kenichi@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
BrianE [BrianE!~brian@87.115.115.247] has joined #ruby
josefig_ [josefig_!~josefig@187.156.22.78] has joined #ruby
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@173-30-163-4.client.mchsi.com] has joined #ruby
arvindravi [arvindravi!~arvind@115.242.183.154] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby
lkba [lkba!~AndChat@aaqp107.neoplus.adsl.tpnet.pl] has joined #ruby
gheegh [gheegh!~wflanagan@pool-71-191-146-170.washdc.fios.verizon.net] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby
ByteCrunch [ByteCrunch!bytecrunch@ich.schepper.dich.um.auf.dem.fuse-board.de] has joined #ruby
jthomas__ [jthomas__!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
lwhalen-work [lwhalen-work!~law@63.116.56.194] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
_root_ [_root_!~Scalable@li252-14.members.linode.com] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
v0n [v0n!~v4n@2607:fad8:4:0:21e:8cff:fe4d:2f7d] has joined #ruby
heeton [heeton!~alexheato@mail.bournston.co.uk] has joined #ruby
Rious [Rious!~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined #ruby
esparkman [esparkman!~esparkman@unaffiliated/esparkman] has joined #ruby
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby
Manhose__ [Manhose__!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
philcrissman [philcrissman!~philcriss@206.57.45.116] has joined #ruby
vraa [vraa!~vraa@h188.182.213.151.dynamic.ip.windstream.net] has joined #ruby
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby
devdazed [devdazed!~russ_nyc@static-96-239-59-191.nycmny.fios.verizon.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
magistr [magistr!~magistr@89.189.172.24] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
cpruitt [cpruitt!~cpruitt@190-186.126-70.tampabay.res.rr.com] has joined #ruby
Drakx [Drakx!~dunno@unaffiliated/drakx] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-87-102-40-242.karoo.KCOM.COM] has joined #ruby
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
Affix [Affix!~affix@fedora/Affix] has joined #ruby
`brendan [`brendan!~b@66-208-246-34-ubr02b-waldlk01-mi.hfc.comcastbusiness.net] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
mcpierce [mcpierce!~mcpierce@99-178-171-244.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
Beoran [Beoran!~beoran@ip-213-49-93-21.dsl.scarlet.be] has joined #ruby
rippa [rippa!~rippa@109-161-78-129.pppoe.yaroslavl.ru] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
root_____ [root_____!~root@li390-130.members.linode.com] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
eeadc [eeadc!fritz@2a01:4f8:101:2a3:0:bc28:b2a8:4] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
jetblack [jetblack!~jetblack@99-32-20-118.uvs.evtnil.sbcglobal.net] has joined #ruby
Tachyon [Tachyon!~tach@81.200.61.23] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
thone_ [thone_!~thone@g230185238.adsl.alicedsl.de] has joined #ruby
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
kingfishr [kingfishr!~caleb@c-98-207-87-183.hsd1.ca.comcast.net] has joined #ruby
tyman [tyman!~tyman@173-12-219-189-Fresno.hfc.comcastbusiness.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
Crisco [Crisco!~Crisco@208-45-119-82.bois.qwest.net] has joined #ruby
silky [silky!~silky@pool-74-108-142-22.nycmny.fios.verizon.net] has joined #ruby
Tick-Tock [Tick-Tock!~Tick-Tock@2607:f358:1:fed5:22:0:b683:4295] has joined #ruby
mattyohe [mattyohe!~mattyohe@2620:0:e50:3011:e808:9755:1b11:d7ef] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
cynosure [cynosure!~cynosure@centrumnet.hu] has joined #ruby
xea [xea!~iris@icts.hu] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
jrist [jrist!~jrist@71-212-208-163.hlrn.qwest.net] has joined #ruby
amacgregor [amacgregor!~macgregor@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
Muz [Muz!~muz@last.fm/moose/Muz] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
arthurlockhart [arthurlockhart!~cinch@60-242-128-8.static.tpgi.com.au] has joined #ruby
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
lusory [lusory!~bart@bb115-66-195-54.singnet.com.sg] has joined #ruby
ebeard [ebeard!~ebeard@c-66-177-172-44.hsd1.fl.comcast.net] has joined #ruby
Shamgar [Shamgar!~mbainter@adsl-99-152-206-210.dsl.rcsntx.sbcglobal.net] has joined #ruby
jhunter [jhunter!~jtown@c-67-169-75-5.hsd1.ca.comcast.net] has joined #ruby
felipe [felipe!~felipe@unaffiliated/felipe] has joined #ruby
zbrown [zbrown!~zbrown@rufius.xen.prgmr.com] has joined #ruby
mikekelly [mikekelly!~mike@ks391369.kimsufi.com] has joined #ruby
ccooke [ccooke!~ccooke@spirit.gkhs.net] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
interopcop [interopcop!~jason@li295-197.members.linode.com] has joined #ruby
frist44 [frist44!~frist44@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
speggey [speggey!~speggey@62.95.122.142] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
peterhil [peterhil!~peterhil@xdsl-77-86-196-131.nebulazone.fi] has joined #ruby
thebastl [thebastl!bastl@vserve.bastl.org] has joined #ruby
Mchl [Mchl!~Mchl@h1881165560.rev.rootvps.pl] has joined #ruby
lobak [lobak!~quack@202.190.85.36] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby
lolsuper_ [lolsuper_!~super_@unaffiliated/lolsuper-/x-9881387] has joined #ruby
Bonkers [Bonkers!~matt@pool-108-27-21-239.nycmny.fios.verizon.net] has joined #ruby
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
ali_h [ali_h!staff@interflective.com] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
jbc22 [jbc22!~jbc22@li299-64.members.linode.com] has joined #ruby
QKO [QKO!~reaVer@banzai.speedxs.nl] has joined #ruby
mrapple [mrapple!~mrapple@bzflag/player/MrAppleComputer] has joined #ruby
flagg0204 [flagg0204!~ianderson@sea02-v600-nat.marchex.com] has joined #ruby
mlue [mlue!~mlue@unaffiliated/mlue] has joined #ruby
Paladin [Paladin!~paladin@p3m/member/Paladin] has joined #ruby
michaelh [michaelh!~Michael@c-98-213-112-209.hsd1.il.comcast.net] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
DeeJayTwo [DeeJayTwo!~deejay2@office.abi.ca] has joined #ruby
dfr|work [dfr|work!dfr|work@nat/google/x-aphtvwsysuvncccl] has joined #ruby
spyvsspy [spyvsspy!~nonenone@209.145.177.162] has joined #ruby
caveat- [caveat-!hoax@gateway/shell/bshellz.net/x-nwikggtqeuymkkme] has joined #ruby
bugz^ [bugz^!~bugz@mx01.skyalpha.net] has joined #ruby
spyvspy [spyvspy!~none@108-82-153-117.lightspeed.stlsmo.sbcglobal.net] has joined #ruby
alek_b [alek_b!~alek_b@99-10-120-63.lightspeed.sndgca.sbcglobal.net] has joined #ruby
mfridh [mfridh!~RokSteady@pdpc/supporter/active/roksteady] has joined #ruby
araujo [araujo!~araujo@gentoo/developer/araujo] has joined #ruby
dv_ [dv_!~quassel@chello080108009040.14.11.vie.surfer.at] has joined #ruby
linduxed [linduxed!~linduxed@194-14-0-85.serioustubes.org] has joined #ruby
phantomfake [phantomfake!~whats_in_@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
russfrank [russfrank!~asdf@ool-44c0b5f6.dyn.optonline.net] has joined #ruby
Guest26322 [Guest26322!~kaneda@5acb1c98.bb.sky.com] has joined #ruby
h4mz1d [h4mz1d!~hamfz@adsl-072-148-022-091.sip.bhm.bellsouth.net] has joined #ruby
Guest50754 [Guest50754!~kaneda@5acb1c98.bb.sky.com] has joined #ruby
davidcelis [davidcelis!~david@c-67-169-13-95.hsd1.ca.comcast.net] has joined #ruby
hoofman_ [hoofman_!~jamie@96-28-1-111.dhcp.insightbb.com] has joined #ruby
y3llow [y3llow!~y3llow@114-36-228-191.dynamic.hinet.net] has joined #ruby
telling [telling!grotta@unaffiliated/telling] has joined #ruby
rhett_ [rhett_!~rhett@cpe-70-124-81-93.austin.res.rr.com] has joined #ruby
bradleyprice [bradleyprice!~bradley@rrcs-67-78-239-162.se.biz.rr.com] has joined #ruby
SeanTAllen [SeanTAllen!u4855@gateway/web/irccloud.com/x-hlatkfqqhhponspb] has joined #ruby
marra [marra!marra@fly.srk.fer.hr] has joined #ruby
dkr [dkr!~dkr@67.132.255.16] has joined #ruby
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-fytadwknnslovbkq] has joined #ruby
fcoury [fcoury!u2238@gateway/web/irccloud.com/x-cesspfdwboivvqhj] has joined #ruby
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-bhfqnjmlewimthfk] has joined #ruby
dhruvasagar [dhruvasagar!~dhruvasag@65.98.79.137] has joined #ruby
cola_zero [cola_zero!~cola_zero@www5054u.sakura.ne.jp] has joined #ruby
danneu [danneu!~danneu@li370-225.members.linode.com] has joined #ruby
parus [parus!parus@gateway/shell/anapnea.net/x-tjykmcvkfjwvkogo] has joined #ruby
kapowaz [kapowaz!u546@gateway/web/irccloud.com/x-cinrldlckbnngkac] has joined #ruby
pusewicz_ [pusewicz_!u2036@gateway/web/irccloud.com/x-umayjluzckaxktig] has joined #ruby
srid [srid!u3297@gateway/web/irccloud.com/x-uinmfploxdbqpywe] has joined #ruby
moeSeth [moeSeth!u1029@gateway/web/irccloud.com/x-zcmdwzemtprseqrf] has joined #ruby
pvh [pvh!u717@gateway/web/irccloud.com/x-dnsafbpxhxgcjiat] has joined #ruby
davidboy [davidboy!u3228@gateway/web/irccloud.com/x-huiyptgtxhxtjpiy] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-ezpqrydidjbnqwfd] has joined #ruby
phrame [phrame!~phrame@linode.phra.me] has joined #ruby
moted [moted!~ryan@c-98-246-106-150.hsd1.or.comcast.net] has joined #ruby
Nisstyre [Nisstyre!~yours@c-208-90-102-250.netflash.net] has joined #ruby
adman65 [adman65!~Adman65@cs181188119.pp.htv.fi] has joined #ruby
Tasser [Tasser!~freak@subtle/contributor/Tass] has joined #ruby
jsaak [jsaak!~jsaak@catv-89-134-200-70.catv.broadband.hu] has joined #ruby
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
sejo [sejo!~SeJo@exherbo/developer/sejo] has joined #ruby
Pcboy___ [Pcboy___!~pcboy@y233083.dynamic.ppp.asahi-net.or.jp] has joined #ruby
vandemar [vandemar!rings@2001:470:1f10:56b::4] has joined #ruby
end3r- [end3r-!~ender@ec2-50-17-71-160.compute-1.amazonaws.com] has joined #ruby
omry [omry!~omry@DSL212-235-83-63.bb.netvision.net.il] has joined #ruby
fahadsadah [fahadsadah!fahad@unaffiliated/fahadsadah] has joined #ruby
__main__ [__main__!~main@adsl-99-173-15-158.dsl.pltn13.sbcglobal.net] has joined #ruby
alex__c2022 [alex__c2022!~alex@207.239.64.154] has joined #ruby
misc-- [misc--!~misc@202.171.160.4] has joined #ruby
patjoh [patjoh!~patjoh@94-247-168-163-static.serverhotell.net] has joined #ruby
benwoody [benwoody!~ben@ln.benwoodall.com] has joined #ruby
jhulten [jhulten!~jhulten@li219-193.members.linode.com] has joined #ruby
danheberden [danheberden!~danheberd@li225-35.members.linode.com] has joined #ruby
SpitfireWP [SpitfireWP!~spitfire@wikipedia/spitfire] has joined #ruby
thomasfedb [thomasfedb!~thomasfed@2607:f358:1:fed5:11:0:1399:1] has joined #ruby
darkskiez [darkskiez!~darkskiez@2001:470:9278:1:a6ba:dbff:fefd:c51b] has joined #ruby
duey [duey!~duey@duey-2-pt.tunnel.tserv3.fmt2.ipv6.he.net] has joined #ruby
G [G!~njones@torea.jnet.net.nz] has joined #ruby
amacgregor_ [amacgregor_!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
_2easy [_2easy!~nofuture@89-79-244-137.dynamic.chello.pl] has joined #ruby
scr1bbles [scr1bbles!~scribbles@babel.sn0wcrash.info] has joined #ruby
kstephens [kstephens!~kstephens@173-15-46-105-Illinois.hfc.comcastbusiness.net] has joined #ruby
hackeron_ [hackeron_!~hackeron@cpc11-seve19-2-0-cust423.13-3.cable.virginmedia.com] has joined #ruby
wassy121 [wassy121!~quassel@pool-96-244-18-74.bltmmd.fios.verizon.net] has joined #ruby
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
tdubellz [tdubellz!~tdubellz@freenode/staff/tdubellz] has joined #ruby
Shrink [Shrink!sgupta@redhat/shrink] has joined #ruby
RegEchse [RegEchse!regechse@crdl.eu] has joined #ruby
Emmanuel_Chanel [Emmanuel_Chanel!star2@ZQ128170.ppp.dion.ne.jp] has joined #ruby
Sigma00 [Sigma00!~freenode@thankyouforhelpingushelpyouhelpusall.net] has joined #ruby
mmercer [mmercer!~mmercer@ct-unlimited.com] has joined #ruby
CK_afk [CK_afk!~ckruse@painkiller.defunced.de] has joined #ruby
JStoker [JStoker!jstoker@unaffiliated/jstoker] has joined #ruby
tessi [tessi!~tessi@pdpc/supporter/student/tessi] has joined #ruby
niko [niko!~niko@freenode/staff/ubuntu.member.niko] has joined #ruby
benjick [benjick!benjick@dumfan.se] has joined #ruby
oddmunds [oddmunds!~oddmunds@s21-04214.dsl.no.powertech.net] has joined #ruby
j05h [j05h!~Adium@99-58-59-32.lightspeed.austtx.sbcglobal.net] has joined #ruby
hosiawak [hosiawak!~hosiawak@hogo.pl] has joined #ruby
__class__ [__class__!~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #ruby
shteyngart [shteyngart!thumper@i.dont.get.mad.i.get.stabby.net] has joined #ruby
thoughtfusion [thoughtfusion!~thoughtfu@pool-96-237-53-171.bstnma.fios.verizon.net] has joined #ruby
drizz [drizz!~drizz@pyre.nodes.cycle.io] has joined #ruby
aef [aef!~root@neoschlageter.raxys.net] has joined #ruby
Gekz [Gekz!~gekz@unaffiliated/gekz] has joined #ruby
Avi` [Avi`!~mine@unaffiliated/avi/x-8629955] has joined #ruby
benj_ [benj_!~benj@host238.lshift.net] has joined #ruby
andman [andman!~andman@minorshadows.net] has joined #ruby
thoraxe [thoraxe!~thoraxe@50-73-95-6-static.hfc.comcastbusiness.net] has joined #ruby
deryl [deryl!deryl@perfecting.rubyists.com] has joined #ruby
ElitestFX [ElitestFX!~ElitestFX@unaffiliated/elitestfx] has joined #ruby
tacco [tacco!teco@gateway/shell/c-base/x-yrsvpcamwuultmlf] has joined #ruby
RichGuk [RichGuk!~RichGuk@carina.27smiles.com] has joined #ruby
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby
elliottcable [elliottcable!~me@ell.io] has joined #ruby
Seppman [Seppman!~sepp@cpe90-146-41-35.liwest.at] has joined #ruby
dominikh [dominikh!~dominikh@subtle/contributor/dominikh] has joined #ruby
ozzloy [ozzloy!~ozzloy@unaffiliated/ozzloy] has joined #ruby
matti [matti!matti@madwifi/support/matti] has joined #ruby
rgs_ [rgs_!~rgs@serendipity.sugarlabs.org] has joined #ruby
kuzushi [kuzushi!~kuzushi@ip98-165-117-197.ph.ph.cox.net] has joined #ruby
pseud0cod3r [pseud0cod3r!pseudocode@gateway/shell/anapnea.net/x-jtkevxvvxnmlmaln] has joined #ruby
Veejay [Veejay!~carcajou@opcode.org] has joined #ruby
Gate [Gate!~gate@unaffiliated/gate] has joined #ruby
rcs [rcs!rcs@malkuth.secondcircle.org] has joined #ruby
ichilton [ichilton!~ichilton@zeniv.linux.org.uk] has joined #ruby
joelio [joelio!~Joel@m.etrono.me] has joined #ruby
nicksmith [nicksmith!~nick@173.214.173.94] has joined #ruby
mbreit [mbreit!~mbreit@devel.mobr.de] has joined #ruby
nate_h [nate_h!~husimon@c73-208.rim.net] has joined #ruby
wang_ [wang_!~wang@unaffiliated/wang] has joined #ruby
chilversc [chilversc!~chris@about/csharp/regular/KeeperOfTheSoul] has joined #ruby
wicketn01b [wicketn01b!~root@12.182.105.7] has joined #ruby
sixtenei1hty [sixtenei1hty!~buk@eridanus.uberspace.de] has joined #ruby
ixx [ixx!~ixx@64.20.241.94] has joined #ruby
tightwork [tightwork!~tightwork@50-57-89-237.static.cloud-ips.com] has joined #ruby
raddazong [raddazong!~madhatter@208.166.57.134] has joined #ruby
RevDrSpe1tre7 [RevDrSpe1tre7!~spectre@sticky.clownjuice.com] has joined #ruby
mtkd [mtkd!znc@209-20-90-74.slicehost.net] has joined #ruby
philips_ [philips_!~philips@shell.ifup.org] has joined #ruby
ReinH [ReinH!~reinh@li14-106.members.linode.com] has joined #ruby
swistak35_ [swistak35_!~rlasocha@s21.linuxpl.com] has joined #ruby
pygmalio1 [pygmalio1!~pygmalion@pyg8.com] has joined #ruby
k2iguvahetaja [k2iguvahetaja!~kv@edio.ee] has joined #ruby
drPoggs [drPoggs!~pwh@chalkfarm.man1.poggs.net] has joined #ruby
nuba [nuba!~nuba@pauleira.com] has joined #ruby
Utkarsh [Utkarsh!~quassel@li118-209.members.linode.com] has joined #ruby
er1c_ [er1c_!~eric@irontusk.net] has joined #ruby
prudhvi [prudhvi!~supr@look.ma.i.am.on.ipv6.at.prudhvi.de] has joined #ruby
Caius [Caius!~Caius@about/apple/macbookpro/Caius] has joined #ruby
andynu [andynu!~andynu@ich.thy.om.orpho.us] has joined #ruby
musl [musl!~mike@li44-23.members.linode.com] has joined #ruby
karinsofia [karinsofia!~s@signo.lha.sgsnet.se] has joined #ruby
sj26 [sj26!sj26@sj26.com] has joined #ruby
tsykoduk [tsykoduk!~tsykoduk@ec2-50-17-190-196.compute-1.amazonaws.com] has joined #ruby
mikalv [mikalv!~mikalv@login.11s.no] has joined #ruby
milkshakes [milkshakes!narf@milkshakes.org] has joined #ruby
ping-pong [ping-pong!~qwerty@212-30-218-200.static.simnet.is] has joined #ruby
Apocalypse [Apocalypse!~Apocalyps@unaffiliated/apocalypse] has joined #ruby
crazed [crazed!~crazed@unaffiliated/cr4z3d] has joined #ruby
cli162 [cli162!~cli162@unaffiliated/firippu] has joined #ruby
LowKey [LowKey!~rhel@unaffiliated/lowkey] has joined #ruby
SirFunk [SirFunk!~SirFunk@2600:3c03::f03c:91ff:fe93:11b3] has joined #ruby
samuelk|away [samuelk|away!~samuelkad@unaffiliated/samuelkadolph] has joined #ruby
deavid [deavid!~quassel@ns311218.ovh.net] has joined #ruby
lottadot [lottadot!~lottadot@38.101.67.253] has joined #ruby
mrmist [mrmist!~mrmist@freenode/staff/pdpc.active.mrmist] has joined #ruby
anekos [anekos!~anekos@mail.anekos.info] has joined #ruby
y_matsu [y_matsu!~y_matsu@www22388u.sakura.ne.jp] has joined #ruby
BradMc_ [BradMc_!brad@rs.n8qq.com] has joined #ruby
cinch [cinch!~cinch@78.46.138.149] has joined #ruby
omp [omp!~omp@unaffiliated/omp] has joined #ruby
rtl [rtl!~rtl@monothorpe.com] has joined #ruby
nlew [nlew!~nlew@li73-104.members.linode.com] has joined #ruby
UdontKnow [UdontKnow!~evaldo@freenode/staff-emeritus/udontknow] has joined #ruby
elektronaut [elektronaut!~inge@manualdesign.no] has joined #ruby
Espen-_- [Espen-_-!Espen@sjarken.org] has joined #ruby
marienz [marienz!marienz@freenode/staff/marienz] has joined #ruby
jeekl [jeekl!~crz@unaffiliated/jeekl] has joined #ruby
ntyp [ntyp!~derchille@94.75.228.23] has joined #ruby
WanderingGlitch [WanderingGlitch!~Wandering@unaffiliated/wanderingglitch] has joined #ruby
yeltzooo [yeltzooo!~yeltzooo@ec2-50-18-131-205.us-west-1.compute.amazonaws.com] has joined #ruby
ged [ged!~ged@deveiate.org] has joined #ruby
BBonifield [BBonifield!~BBonifiel@li107-227.members.linode.com] has joined #ruby
KillerFox [KillerFox!~rn@home.protection-fault.ch] has joined #ruby
gabriel [gabriel!~gabe@signup.gracescontactclub.com] has joined #ruby
tomaw [tomaw!tom@freenode/staff/tomaw] has joined #ruby
mephux [mephux!~mephux@unaffiliated/mephux] has joined #ruby
andyl [andyl!~andy@c-98-207-232-251.hsd1.ca.comcast.net] has joined #ruby
patronus_ [patronus_!~or@geekon.net] has joined #ruby
brian- [brian-!brian@xdcc.org] has joined #ruby
theoros [theoros!~user@unaffiliated/theoros] has joined #ruby
shikamaru [shikamaru!~shikamaru@mandriva/developer/shikamaru] has joined #ruby
nimred [nimred!~nimred@unaffiliated/nahra] has joined #ruby
Frantic [Frantic!~Frantic@unaffiliated/frantic225] has joined #ruby
marcin_m_ [marcin_m_!~marcinskl@u-o.be] has joined #ruby
warebec|1at [warebec|1at!~warebec@ell.io] has joined #ruby
epochwolf|vps [epochwolf|vps!~epoch@singleforest.com] has joined #ruby
joschi [joschi!~joschi@zuse.schalanda.name] has joined #ruby
ChloeD [ChloeD!~chloe@88-190-26-89.rev.dedibox.fr] has joined #ruby
asuka_ [asuka_!asuka@home.hadiko.uni-karlsruhe.de] has joined #ruby
stick_zz [stick_zz!~stick@neurosis.miscellaneous.net] has joined #ruby
spacebug [spacebug!~spacebug@jabberwocky.forty-two.be] has joined #ruby
snapcase [snapcase!~snapcase@shokushuzeme.me] has joined #ruby
wereHamster [wereHamster!~tomc@unaffiliated/werehamster] has joined #ruby
docwhat [docwhat!docwhat@gerf.org] has joined #ruby
ezra [ezra!~ezra@p3m/member/ezra] has joined #ruby
S0lign0c [S0lign0c!~S0lign0c@jeproteste.info] has joined #ruby
starburst [starburst!~aeufemio@ec2-174-129-88-213.compute-1.amazonaws.com] has joined #ruby
bob_f [bob_f!~bob@pangloss.vm.bytemark.co.uk] has joined #ruby
rtyler [rtyler!~tyler@63-246-20-94.contegix.com] has joined #ruby
lantins [lantins!~lantins@mx0.lividpenguin.com] has joined #ruby
zigidias [zigidias!~zigidias@unaffiliated/zigidias] has joined #ruby
uxp [uxp!~uxp@hplogsdon.net] has joined #ruby
kmmndr [kmmndr!~tomtom@bro67-2-82-227-110-8.fbx.proxad.net] has joined #ruby
tommylommykins [tommylommykins!~tg551@milan.cs.york.ac.uk] has joined #ruby
Martz [Martz!~Martz@unaffiliated/martz] has joined #ruby
Narcissus [Narcissus!~Narcissus@unaffiliated/narcissus] has joined #ruby
csmrfx [csmrfx!~Casimir@81.90.72.4] has joined #ruby
zumbi [zumbi!~zumbi@77.230.237.25] has joined #ruby
Drakevr [Drakevr!~null@unaffiliated/drakevr] has joined #ruby
majnun [majnun!~boner@unaffiliated/otherj] has joined #ruby
jeedey [jeedey!~quassel@109.169.47.96] has joined #ruby
orangejuice [orangejuice!~orangejui@66.96.251.117] has joined #ruby
dju [dju!~dju@fsf/member/dju] has joined #ruby
lupine_85 [lupine_85!~lupine_85@unaffiliated/lupine-85/x-7392152] has joined #ruby
thorncp [thorncp!~thorncp@2600:3c01::f03c:91ff:fe93:d182] has joined #ruby
sinuc [sinuc!~sinuc@unaffiliated/sinuc] has joined #ruby
majoh [majoh!~Sponge@antiklimax.se] has joined #ruby
dagobah [dagobah!~dagobah@84.45.53.200] has joined #ruby
ampex [ampex!~sterling@short.circu.it] has joined #ruby
jshsu [jshsu!~jshsu@li248-176.members.linode.com] has joined #ruby
hSATAC [hSATAC!~cat@221.169.252.14] has joined #ruby
epitron [epitron!~epitron@unaffiliated/epitron] has joined #ruby
welterde [welterde!welterde@thinkbase.srv.welterde.de] has joined #ruby
johnduhart [johnduhart!~quassel@46.105.138.12] has joined #ruby
yugui_zzz [yugui_zzz!~yugui@yugui.jp] has joined #ruby
doomviking [doomviking!~mluntzel@kopitar.atomicdoom.com] has joined #ruby
David_Miller [David_Miller!~dave@pretender.frop.net] has joined #ruby
pavelz [pavelz!~pavel@li353-150.members.linode.com] has joined #ruby
wayne[mobile] [wayne[mobile]!~ldrap@li239-23.members.linode.com] has joined #ruby
_axx [_axx!~x@apimp.de] has joined #ruby
hechien [hechien!~hechien@li329-125.members.linode.com] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
marcol [marcol!~marcol@adsl-ull-47-223.50-151.net24.it] has joined #ruby
Knodi [Knodi!~Knodi@c-68-43-246-216.hsd1.mi.comcast.net] has joined #ruby
yxhuvud [yxhuvud!~jag@h-17-181.a149.priv.bahnhof.se] has joined #ruby
johanhsfy [johanhsfy!~johan@81-225-127-57-no201.tbcn.telia.com] has joined #ruby
eignerchris [eignerchris!~eignerchr@71-222-114-71.ptld.qwest.net] has joined #ruby
kloeri [kloeri!~kloeri@freenode/staff/exherbo.kloeri] has joined #ruby
codecop [codecop!~codecop@78.61.251.3] has joined #ruby
qipiqipi [qipiqipi!~qipiqipi@46.99.251.113] has joined #ruby
jwmann [jwmann!~Adium@modemcable032.85-202-24.mc.videotron.ca] has joined #ruby
<shevy> gener1c doubt there is
<shevy> well
<shevy> you could load parts of it probably
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby]
<shevy> with seeking position and that shit
PhilK [PhilK!~PhilK@108-94-166-51.lightspeed.sntcca.sbcglobal.net] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
<gener1c> shevy: what about loading one row each time?
<gener1c> or maybe reading one char each time?
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-103-21.albq.qwest.net] has joined #ruby
<shevy> gener1c sure it is somehow possible... http://rubylearning.com/satishtalim/read_write_files.html look at the example at Random Access where they use f.seek(12, IO::SEEK_SET)
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
bgupta [bgupta!~bgupta@68.164.142.90] has joined #ruby
Pip [Pip!~Pip@host-87-156-66-217.spbmts.ru] has joined #ruby
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.47] has joined #ruby
alejandro [alejandro!~alejandro@109.128.143.163] has joined #ruby
<alejandro> hello everybody!
<alejandro> could someone help me to know why this code doesn't work?
<centipedefarmer> can try
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
milkpost_ [milkpost_!~dec@dpmlh051.divms.uiowa.edu] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
<alejandro> can't figure out why stack level too deep :-(
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
<centipedefarmer> because bold calls bold
<centipedefarmer> line 9
<centipedefarmer> i think you wanted "stylize(self, 'bold')"
<alejandro> hmm, lets see
<shevy> I hate eval
<alejandro> NoMethodError: undefined method `[]' for nil:NilClass
<alejandro> from (irb):4:in `stylize'
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.45] has joined #ruby
goodieboy [goodieboy!~goodieboy@c-68-57-35-79.hsd1.va.comcast.net] has joined #ruby
<centipedefarmer> my guess is the string "bold" still isn't what the "style" parameter is getting
<centipedefarmer> slap a "puts style.inspect" in there and make sure
apok [apok!~apok@96.24.67.22] has joined #ruby
<alejandro> now if I do this:
<alejandro> def stylize(str, style)
<alejandro> puts style
<alejandro> styles = { 'bold' => [1, 22] }
<alejandro> puts styles[style]
<alejandro>
<alejandro> "\033[" + styles[style][0] + "m" + str + "\033[" + styles[style][1] + "m"
<alejandro> end
<alejandro> I get the following:
<alejandro> bold
<alejandro> 1
<alejandro> 22
<centipedefarmer> i think the "1 22" is the array [1, 22]
<centipedefarmer> so that looks correct...
<alejandro> yeah, now it seems to work!
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
AndChat| [AndChat|!~AndChat@222.153.223.45] has joined #ruby
<alejandro> thanks!
<centipedefarmer> np
gheegh [gheegh!~wflanagan@pool-71-191-146-170.washdc.fios.verizon.net] has quit [#ruby]
<alejandro> though if I do a puts of the following: "\033[#{styles[style][0]}m#{str}\033[#{styles[style][1]}m"
<alejandro> I get: [1mtest[22m
<alejandro> But don't know if it's textmate's problem
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has joined #ruby
dootdoot [dootdoot!~dootdoot@static-50-53-52-25.bvtn.or.frontiernet.net] has joined #ruby
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has quit [#ruby]
<centipedefarmer> probably
<centipedefarmer> it looks like what you're asking for, except that you don't see the \033s
<alejandro> ok, it's textmate's problem. On the terminal it works alright.
colint [colint!~ColinT@71-17-98-228.regn.hsdb.sasknet.sk.ca] has joined #ruby
<alejandro> thanks
colint [colint!~ColinT@69.80.103.32] has joined #ruby
<Okasu> how can i detect negative integer in array?
<Okasu> oh, sorry
<Okasu> brain lag
akem [akem!~akem@164.15.85.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] 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
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
Cervajz_ [Cervajz_!~Cervajz@93.99.93.150] has joined #ruby
<gener1c> lol
akem [akem!~akem@unaffiliated/akem] has joined #ruby
palcu [palcu!~alex@89.122.187.223] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
hzlocky [hzlocky!~me@dynamic-vpdn-93-125-13-64.telecom.by] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
tvw [tvw!~tv@e176011236.adsl.alicedsl.de] has joined #ruby
k_89 [k_89!~k@182.68.178.6] has joined #ruby
k_89 [k_89!~k@182.68.178.6] has quit ["Leaving"]
zastaph [zastaph!zastaph@unaffiliated/zastaph] has joined #ruby
<arvindravi> hello all,what does "@" symbol denote in ruby?
<Okasu> instance var
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby]
Yingjie_Cui [Yingjie_Cui!~chatzilla@124.126.191.188] has joined #ruby
<arvindravi> Okasu: thanks!
s0ber [s0ber!~s0ber@114-36-237-144.dynamic.hinet.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-237-144.dynamic.hinet.net] has joined #ruby
andrewhl [andrewhl!~andrew@75.98.19.132] has joined #ruby
dootdoot [dootdoot!~dootdoot@static-50-53-52-25.bvtn.or.frontiernet.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-237-144.dynamic.hinet.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-237-144.dynamic.hinet.net] has joined #ruby
banister`sleep [banister`sleep!~baniseter@122.63.226.77] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
banister`sleep [banister`sleep!~baniseter@122.63.226.77] has joined #ruby
<CodeZombie> hey folks, could anyone give me some direction on why strings would show up like this, and maybe some info on how to clean it up? https://gist.github.com/67ba98fb924e19410081
<CodeZombie> I've tried encode, encode!, try_convert, and a few other methods, but nothing
<CodeZombie> the server gives it to me in UTF-16LE
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
banister`sleep [banister`sleep!~baniseter@122.63.158.90] has joined #ruby
jwmann [jwmann!~Adium@modemcable032.85-202-24.mc.videotron.ca] has joined #ruby
billturner [billturner!~textual@99-107-72-248.lightspeed.rcsntx.sbcglobal.net] has joined #ruby
azbarcea_ [azbarcea_!~quassel@79.114.112.126] has joined #ruby
<Boohbah> CodeZombie: # -*- coding: utf-8 -*-
rpowell [rpowell!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
<Boohbah> s/8/16/
<Boohbah> et cetera
jrist [jrist!~jrist@184-96-224-251.hlrn.qwest.net] has joined #ruby
<Okasu> rbot user detected
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
<jensn> CodeZombie: force_encoding or what it is called to the right encoding.
eignerchris [eignerchris!~eignerchr@71-222-114-71.ptld.qwest.net] has joined #ruby
<CodeZombie> jensn: I attempted force_encoding, it does change the string, but it's still encoded
<CodeZombie> the hex values are still present
<jensn> Then you're force_encoding to the wrong encoding.
<CodeZombie> this is an issue, only because I can't cant do proper find/replace, searching etc on the string
<CodeZombie> I've attempted US-ASCII, UTF-8, UTF-16BE, UTF-16LE
<Clooth> I'm drunk :( *sob*
<CodeZombie> I guess I can just wait to get ahold of the server side developer
<trend> why when calling this method: User.create_with_omniauth(params), do I have to add 'self' to def self.create_with_omniauth ?
dootdoot [dootdoot!~dootdoot@static-50-53-71-177.bvtn.or.frontiernet.net] has joined #ruby
<trend> nm, got the answer :)
Rod [Rod!~Rod@74.204.38.162] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
Rod__ [Rod__!~Rod@74.204.38.162] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
Rod [Rod!~Rod@74.204.38.162] has joined #ruby
banister_ [banister_!~baniseter@122.63.158.90] has joined #ruby
<CodeZombie> jensn: you were correct, when I tried UTF-16LE before I must have had a typo.
<CodeZombie> that's what I get for working late nights on my vacation
<jensn> Well, it happens everyone.
<CodeZombie> thanks for the tips jensn, and Boohbah
<CodeZombie> much appreciated
<jensn> you're welcome.
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
<Okasu> best indiana jones movie on your opinion?
flexd [flexd!~flexd@dev.flexd.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<flexd> Does anyone have any recommendations for anything like God? (i.e use god, use something else, eat pie..)
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
Fraeon [Fraeon!~kzer-za@virgo.dreamhost.com] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@173-30-163-4.client.mchsi.com] has quit ["Leaving"]
<shevy> Okasu the one with connery in it
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
Asher [Asher!~asher@98.158.127.150] has joined #ruby
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
wedtm [wedtm!~wedtm@173-12-163-78-oregon.hfc.comcastbusiness.net] has joined #ruby
Jake232 [Jake232!~textual@5e04eaa6.bb.sky.com] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
<Clooth> bbl getting drunk with stupid finnish people, hf guyz n galz
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
shachaf [shachaf!~shachaf@ip24.67-202-82.static.steadfastdns.net] has joined #ruby
flexd [flexd!~flexd@dev.flexd.net] has quit ["WeeChat 0.3.6"]
tilde` [tilde`!~tilde@adsl-ull-177-209.42-151.net24.it] has joined #ruby
jbhewitt [jbhewitt!~jbhewitt@c122-108-214-224.rochd4.qld.optusnet.com.au] has joined #ruby
kaneda [kaneda!~kaneda@5acb1c98.bb.sky.com] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
<CodeZombie> alright, another fun one from last night... using net/telnet to send commands to a server, the server sends back a response... I'm using waitfor, to ensure I have the entire response before moving on, however, trying to match a regex with anything other than /\n/ fails to finish waiting... here's the code, and a response https://gist.github.com/ce28df80866b0f6758a8
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
<CodeZombie> I've checked my regex, and it's valid
alphabitcity [alphabitcity!~Adium@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #ruby
<CodeZombie> nvm
<CodeZombie> encrypted data doesn't work well for regex ha!
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
mitchty_ [mitchty_!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
mitchty- [mitchty-!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
<trend> what gem do I need to install to get pp going?
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
<mitchty> require 'pp'
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
<trend> doh!
<mitchty> though if you want to install a gem, awesome_print is... awesome..er
<trend> hah, that's what I ended up installing :)
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby
kf8a [kf8a!~kf8a@dslfw4.mei.net] has joined #ruby
<mitchty> i just wish it wouldn't color stuff that goes to a non tty
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
_dink [_dink!~anonymous@c-68-52-194-205.hsd1.tn.comcast.net] has joined #ruby
alphabitcity [alphabitcity!~Adium@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #ruby
<shevy> trend pp is part of standard ruby anyway
dkannan [dkannan!u480@gateway/web/irccloud.com/x-zhhkdcsvdxfyxmxt] has joined #ruby
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby
danblack [danblack!~dragonhea@gentoo/developer/dragonheart] has joined #ruby
fantazo [fantazo!~fantazo@85-127-83-83.dynamic.xdsl-line.inode.at] has joined #ruby
milkpost_ [milkpost_!~dec@173-28-195-157.client.mchsi.com] has joined #ruby
ph^_ [ph^_!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@adsl-98-85-31-238.mco.bellsouth.net] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
CannedCorn [CannedCorn!~textual@adsl-108-132-112-41.mia.bellsouth.net] has joined #ruby
colint_ [colint_!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
otakutomo [otakutomo!~otakutomo@zaq771a4b1b.zaq.ne.jp] has joined #ruby
dootdoot [dootdoot!~dootdoot@static-50-53-52-25.bvtn.or.frontiernet.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby