Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
brushbox [brushbox!~brushbox@203-206-167-26.perm.iinet.net.au] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@2001:268:306:1:225:bcff:fedc:e1fe] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
virunga [virunga!~virunga@151.64.63.239] has joined #ruby-lang
gianlucadv [gianlucadv!~user@host78-84-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby-lang
dv310p3r [dv310p3r!~dv310p3r@nmd.sbx11041.miamifl.wayport.net] has joined #ruby-lang
cyri__ [cyri__!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby-lang
fserb [fserb!~fserb@178-83-225-18.dynamic.hispeed.ch] has joined #ruby-lang
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@186.220.217.229] has joined #ruby-lang
mantono [mantono!~mantono@c83-251-126-234.bredband.comhem.se] has joined #ruby-lang
replore_ [replore_!~replore@203.152.213.161.static.zoot.jp] has joined #ruby-lang
flip_digits [flip_digits!~textual@c-71-199-243-97.hsd1.fl.comcast.net] has joined #ruby-lang
jxie [jxie!~jxie@218.64.24.231] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
antinitro_ [antinitro_!~adam@cpc1-stap4-0-0-cust418.12-2.cable.virginmedia.com] has joined #ruby-lang
_inc [_inc!~inc@unaffiliated/-inc/x-0498339] has joined #ruby-lang
fragmachine [fragmachine!~fragmachi@1.124.135.48] has joined #ruby-lang
<fragmachine> Hello, I'm trying to install green_shoes and having problems. I've installed all the dependancies using homebrew according to the isntructions on the github site. THen I installed the gem no problem. Now whenever I try to use the gem I get a massive error - http://pastie.org/3234189
<fragmachine> any ideas what's going on?
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<erikh> fragmachine: I'd ping @steveklabnik on twitter.
<erikh> if nothing else, he can direct you to the right people that work on green shoes
<fragmachine> ok cool, I'll give it a try
<fragmachine> now I'm having an unrelated problem. Whenever I try and require 'my_library' I get a load error. It works with my system ruby (1.8.7) but not with the rvm 1.9.3 version.
<fragmachine> oops, spoke to soon. I gave it the full path and it worked!
rpowell [rpowell!~rpowell@CPE-121-216-141-190.lnse2.ken.bigpond.net.au] has joined #ruby-lang
mikeric [mikeric!~mike@96.49.104.175] has joined #ruby-lang
<erikh> avoid that and use ruby -I
<erikh> unless you're not planning to move that file, ever
<fragmachine> good point. what does ruby -I do?
uniqanomaly [uniqanomaly!~ua@dynamic-87-105-21-11.ssp.dialog.net.pl] has joined #ruby-lang
<ryanf> adds the given path to ruby's load path (where it looks for stuff you require)
<ryanf> so "ruby -I." or "irb -I." includes the current working directory, which will let you require "my_library" without specifying the whole path
<ryanf> 1.8.x has that behavior by default, which is why it worked for you before
<fragmachine> ok cool. I tried it and it just seems to hang for some reason
<raggi> my_library doesn't happen to have the same name as a gem that you're trying to load does it?
<fragmachine> no they all have different names
fayimora [fayimora!~fayimora@95.175.159.12] has joined #ruby-lang
<fragmachine> ok I did this and it worked - ruby -I "/Users/fragmachine/bin/last" WeatherScript.rb
<fragmachine> now just gotta get that green_shoes to work...
muzone [muzone!~holla@84-16-208.227.3p.ntebredband.no] has joined #ruby-lang
dfr|mac [dfr|mac!~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #ruby-lang
<erikh> yeah, I'd definitely ping steve; he's the champion of all things shoes
<erikh> raggi: new york pizza has the best gyros ever, if you like that sort of thing
<raggi> i'm not sure exactly what you mean when you say gyros
<erikh> fantastic creations made from pita, lamb and tzatziki
<erikh> I think souvlaki is probably the more proper term?
<erikh> aha! it's both
tomzx_ [tomzx_!~tomzx@dsl-136-35.aei.ca] has joined #ruby-lang
<raggi> man
<raggi> rails heads can be such assholes in tickets, makes me really tempted to just fuck off and let people suffer wiht no maintainers
<raggi> i have better shit to do with my weekend that deal with accusative tone from arrogant little fucks who dont' even write correct or meaningful patches, yet seem to think they have a right to come in and fuckup software used by thousands of people
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
muzone [muzone!~holla@84-16-208.227.3p.ntebredband.no] has joined #ruby-lang
<shevy> raggi hehehe
<erikh> yeah, I just said "fuck it" to patching other people's projects
<erikh> my blood pressure stays closer to normal that way.
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<raggi> the stupid thing is, these fuckers haven't even patched anything meaningful, they're just demanding a premature release
<raggi> chris2: ping
piglop [piglop!~piglop@del63-1-82-243-95-115.fbx.proxad.net] has joined #ruby-lang
Muz [Muz!~muz@last.fm/moose/Muz] has joined #ruby-lang
plusk [plusk!~plusk@201-40-12-226.gnace703.dsl.brasiltelecom.net.br] has joined #ruby-lang
qpingu [qpingu!~Adium@99-45-170-65.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
yakko [yakko!~quassel@177.17.219.167] has quit ["http://quassel-irc.org - Chat comfortably. Anywhere."]
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
piglop [piglop!~piglop@del63-1-82-243-95-115.fbx.proxad.net] has joined #ruby-lang
wmoxam [wmoxam!~wmoxam@184.175.15.252] has joined #ruby-lang
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@186.220.217.229] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby-lang
mztriz [mztriz!~mztriz@74-136-75-114.dhcp.insightbb.com] has quit [#ruby-lang]
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
neuro_damage [neuro_damage!~neuro@c-98-234-184-142.hsd1.ca.comcast.net] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-136-35.aei.ca] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
H4y4shi [H4y4shi!~H4y4shi@rrcs-67-79-54-130.sw.biz.rr.com] has joined #ruby-lang
<H4y4shi> Hey guys I like the Ruby Programming Language how about you all?
<H4y4shi> So do you guys wanna talk about Ruby or something?
wmoxam [wmoxam!~wmoxam@184.175.15.252] has joined #ruby-lang
H4y4shi [H4y4shi!~H4y4shi@rrcs-67-79-54-130.sw.biz.rr.com] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
<raggi> i like her red hair.
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
<H4y4shi> すみません
<H4y4shi> Is this in Japanese or English?
<raggi> english
<raggi> :)
<H4y4shi> Oh no one ever responded to me when I joined so I was starting to think it was in Japanese
<raggi> that kind of question doesn't tend to get any/good answers
<raggi> it's implied yes by people being here
<raggi> you might get a better response with something slightly more specific like "i don't like the idea of mix, because [x, y, z], what do you think?", but even then, open questions often don't work well on irc
<H4y4shi> So is this a good place to ask questions about Ruby?
<raggi> yes
<H4y4shi> This language is so interesting. I am glad to be learning it.
<H4y4shi> I heard there was a free version of Ruby in Steel, does it work with Visual studio 2010?
rpowell [rpowell!~rpowell@CPE-121-216-141-190.lnse2.ken.bigpond.net.au] has joined #ruby-lang
<raggi> i have no idea, sorry
<H4y4shi> Hello rpowell
<rpowell> hey
<H4y4shi> Do you heard of Ruby in Steel personal edition (the free version)
<raggi> most rubyists use a *nix shell and a unix-y editor
<H4y4shi> I use Windows because I am just learning I dont see any advantages in installing a whole new system for the kind of beginner stuff I am doing. BUt the Ruby in Steel Ide looks like it would help me practice.
<rpowell> yeah I'm on OS X
<rpowell> and I don't use an IDE
<rpowell> just Vim
<H4y4shi> Oh well I was looking for some advice on downloading and installing Ruby In Steel Personal edition.
<erikh> google seems to work
* erikh wastes no words
<erikh> back in a bit.
<erikh> he's talking about this http://www.sapphiresteel.com/
<erikh> I was just hoping he'd google it is all
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby-lang
<raggi> i know, i can just see that being a world of hurt if you don't know how to get past the oddities
<erikh> that's fair
<erikh> ok, off to the caffeine vendor
<erikh> bbiab
<bnagy> oh, that console thing looks cool, thx
<H4y4shi> Right now I am using Notepad++ and the CMD prompt but I dont really like the CMD prompt because it is not what I am used to. I am used to the Visual Studio environment.
<H4y4shi> Wow... Console looks cool
<nuclearsandwich> H4y4shi: However you feel about the command prompt, the great majority of the Ruby ecosystem is built around one.
<nuclearsandwich> Also raggi thanks for linking console. I can't believe I've never encountered it before.
<H4y4shi> Really? I didnt know that seeing as I have never talked to anyone about Ruby before. The only information I have is from the free Ebook ruby comes packaged with.
jaisoares [jaisoares!~jsoares@bl14-83-193.dsl.telepac.pt] has joined #ruby-lang
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
<nuclearsandwich> there's a ton of Ruby info out here.
<bnagy> nuclearsandwich: yeah ditto - sleectable text for cut paste? The luxury!
<raggi> noo, conundrum is awol
<raggi> drbrain!
<nuclearsandwich> H4y4shi: I'd recommend _why's Poignant Guide (http://mislav.uniqpath.com/poignant-guide/) if you like awesome but strange things.
<raggi> may be particularly challenging for non-native speakers
<nuclearsandwich> raggi: good point. I hadn't thought of that!
* nuclearsandwich files away for future recommendations.
<nuclearsandwich> I've not read any other beginning Ruby books. I don't think Ruby in a Nutshell is particularly handy for getting started.
<bnagy> what does it come with? The old Pickaxe? That's OK
<bnagy> you know, for kids.
<bnagy> poignant guide is a bit brain twisty if you are learning ruby and programming at the same time, maybe
<bnagy> anything but that ruby the hard way
<raggi> essential things when you're learning ruby: zenspiders quickref, gem-edit, irb, rdoc, rdoc-data, ri - in no particular order
<bnagy> tbh I like the web docs much more than ri, especially if you're on windows
<raggi> web docs are sooooooo slow
<cirwin> web docs are nicer as of recently
<bnagy> well depends how often you have to look stuff up I guess :)
<raggi> these days, rarely
<nuclearsandwich> is there no way to get the html formatted docs stored locally? Seems like the best of both worlds.
<raggi> nuclearsandwich: yes
<cirwin> wget -m :)
<bnagy> web docs also have click to toggle source, which is awesome
<raggi> ruby's makefile will install docs
<raggi> and gem server will serve up gem installed html rdocs
<raggi> but ri is still faster than switching to a browser
<raggi> :-P
<raggi> oh
<raggi> i guess these days
<raggi> pry
<raggi> is awesome for learning
<raggi> open source of methods etc
<nuclearsandwich> yeah I do like pry.
<raggi> i haven't really gotten into it
<bnagy> I should really install pry one day :/
<raggi> mostly because i already have most of that tooling in my irbrc already
<raggi> but for people that don't it's awesome
<raggi> also, my irb boots in 1/10th the time :)
<nuclearsandwich> cirwin: I can't tell if that was a vote for or against Learn Ruby the Hard Way
<cirwin> all good ways to learn are hard
<cirwin> if they were easy they would be dull :p
<nuclearsandwich> cirwin: agreed, or lying to you. But hard challenges are fun.
neuro_damage [neuro_damage!~neuro@c-98-234-184-142.hsd1.ca.comcast.net] has joined #ruby-lang
<raggi> erm
<bnagy> if I didn't work for a living I would do puzzlenode.com
<raggi> i guess the irony flew past you folks
<cirwin> yup?
<nuclearsandwich> I will claim, I missed irony. Where was it for next time?
<nuclearsandwich> The irony in "the hard way"?
<cirwin> as hard as iron
<erikh> I'm feeling particularly iron-y
<erikh> that's why I ate my vegetables
<nuclearsandwich> oh crap! this is my stop. Bye
<erikh> awesome.
<erikh> I am now chock full of candy-coated sugar and red bull
<raggi> you're gunan sleep well tonight
<raggi> o0
<erikh> haha
<erikh> I've actually been pretty regular for the last week
<erikh> getting sick was probably the best thing that could have happened re: that
<raggi> right, time for pinot
<raggi> and FOOD
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
dous_ [dous_!~dous@cm171.sigma67.maxonline.com.sg] has joined #ruby-lang
jjore [jjore!~jjore@c-24-18-236-106.hsd1.wa.comcast.net] has joined #ruby-lang
fayimora [fayimora!~fayimora@95.175.159.12] has joined #ruby-lang
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
ovnimancer [ovnimancer!~anton@212.59.96.38] has joined #ruby-lang
zmack [zmack!~zmack@78.97.143.6] has joined #ruby-lang
fragmachine [fragmachine!~fragmachi@1.124.135.48] has joined #ruby-lang
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
kitallis [kitallis!~kitallis@122.172.247.109] has joined #ruby-lang
ksinkar [ksinkar!~ksinkar@123.201.117.198] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@186.220.217.229] has joined #ruby-lang
csherin [csherin!~csherin@115.111.177.122] has joined #ruby-lang
fayimora [fayimora!~fayimora@2a01:388:201:3721:f47b:9e29:b338:6d80] has joined #ruby-lang
fayimora_ [fayimora_!~fayimora@2a01:388:201:3721:30dd:8855:90b:d837] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp_ [michael_mbp_!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp__ [michael_mbp__!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp_ [michael_mbp_!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp__ [michael_mbp__!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp__ [michael_mbp__!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp___ [michael_mbp___!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp_ [michael_mbp_!~Marin@62.215.214.4] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
Locke23rus [Locke23rus!~quassel@128-70-95-104.broadband.corbina.ru] has joined #ruby-lang
fullsailor [fullsailor!~fullsailo@ip24-250-174-76.ga.at.cox.net] has joined #ruby-lang
zmack [zmack!~zmack@78.97.143.6] has joined #ruby-lang
major_majors [major_majors!~matt@li119-50.members.linode.com] has joined #ruby-lang
yxhuvud [yxhuvud!mongo@h-5-47.a212.priv.bahnhof.se] has joined #ruby-lang
Modification [Modification!~IceChat77@75-171-97-44.phnx.qwest.net] has joined #ruby-lang
<Modification> Could I please get some assistance?
<Modification> I don't know how to fix this.. it connects just fine but when I try to do a simple h = hello it won't load or work right...
comel [comel!~cJ@125.164.91.154] has joined #ruby-lang
<bnagy> you never call your h function there
alexeyKolosov [alexeyKolosov!~quassel@mail.zbku.ru] has joined #ruby-lang
<Modification> huh?
<Modification> what happened?
<Modification> can someone help me please?
<bnagy> you define it but never call it. Does it output the messages it reads?
<Modification> I run it with cmd..
<Modification> (co)
<lsegal> what do you mean by "when I try to do a simple h = hello it won't load or work right"
<Modification> you know from the ruby in twenty
<Modification> "Hello World"
<Modification> def h
<Modification> puts "Hello World"
<Modification> end
<Modification> how do I make it work with http://pastie.org/private/xc8jj9qrcmnbzl2y1xmg9g
<lsegal> if h is a method, "h = hello" makes no sense
<lsegal> Modification calm down bro. you need to tell us what part doesn't work first.
<Modification> thats what it told me on the website..
<Modification> im noy hype..
<Modification> im calm..
<Modification> Okay.. the connecting part... A Ok.
<bnagy> well we saw the url the first two times
<Modification> the actually input and output Not Ok.
<lsegal> what "input and output" are you expecting?
<Modification> like I input !troll or something
<bnagy> the script you pasted should join the channel and just sit there outputting whatever it sees
<Modification> and it outputs trolololo or something for example..
<Modification> to the irc channel..
<lsegal> why would it do that? you didn't program it to do so
<Modification> thats the thing..
<lsegal> so make it do that.
<Modification> I read a lot of stuff.. Idk how to make it do it..
<Modification> -_-
<Modification> I did the tut on the site...
<lsegal> it sounds like you have some more reading to do then. you need to parse the msg you're reading from the server and take an action if ("if" is a keyword here) the right sentence is sent to your client
<bnagy> does it actually work? like does it stay connected and spit out the channel output?
<Modification> so the def thing dont work?
<Modification> it disconnects after a bit for some reason
<Modification> ^^
<lsegal> Modification the "def" thing works fine, but has nothing to do with the code you wrote
<Modification> Okay I undestand..
<lsegal> it disconnects because your client doesn't respond to ping requests from the server, probably
<Modification> i use cmd..
<lsegal> i don't know what that means
<Modification> command promt...
<lsegal> and i don't think it's relevant
<Modification> windows
<lsegal> first off
<Modification> yes?
<lsegal> you should probably not test your script in a large public channel if you know it's not yet working
<lsegal> that's a good way to get banned
<Modification> no
rpowell [rpowell!~rpowell@CPE-121-216-141-190.lnse2.ken.bigpond.net.au] has joined #ruby-lang
<Modification> I test it on my friends network I have my own channel
<Modification> oh yeah that script..
<Modification> not that one I meant when he said not to test publicly..
<lsegal> secondly, that
<bnagy> that will at least handle the pings, it still won't send anything though
<Modification> I usually test it on my friends server
<Modification> brb
<lsegal> thirdly you might want to practice handling input and output on something that is easier to test (locally) before moving onto something like dealing with the IRC protocol
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<Modification> yeah
<Modification> there was the probelm why I didnt use that one @bnagy
<Modification> it glitches or something..
<Modification> looks like a matrix...
<lsegal> did you see a black cat?
<Modification> uhh.. idk it dont look like anything but lines of code moving really fast
<bnagy> oh, wait, it does support input as well, nice
<Modification> -_-
<bnagy> I didn't see he has=d a select in there
<bnagy> damn lag :/
yxhuvud [yxhuvud!mongo@h-5-47.a212.priv.bahnhof.se] has joined #ruby-lang
<Modification> wait
<Modification> some guy
<Modification> he said it worked for him
<Modification> hes in #ruby
mytrile [mytrile!~mytrile@94.26.28.135] has joined #ruby-lang
ltd- [ltd-!~z@zx.io] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
szarubin [szarubin!~szarubin@188.163.31.32] has joined #ruby-lang
comel [comel!~cJ@125.164.91.154] has quit [#ruby-lang]
Modification [Modification!~IceChat77@75-171-97-44.phnx.qwest.net] has quit [#ruby-lang]
vesan_ [vesan_!vesan@maailmanlopun.modeemi.net] has joined #ruby-lang
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby-lang
ovnimancer [ovnimancer!~anton@212.59.96.38] has joined #ruby-lang
mikeric [mikeric!~mike@96.49.104.11] has joined #ruby-lang
thone_ [thone_!~thone@g225084100.adsl.alicedsl.de] has joined #ruby-lang
qpingu [qpingu!~Adium@99-45-170-65.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
<bnagy> what's the correct HTML parsing gem these days?
dr0id [dr0id!~andy@unaffiliated/dr0id] has quit [#ruby-lang]
<ryanf> bnagy: nokogiri
rpowell [rpowell!~rpowell@CPE-121-216-141-190.lnse2.ken.bigpond.net.au] has joined #ruby-lang
<bnagy> thanks
matled [matled!~matled@85.131.246.184] has joined #ruby-lang
<kke> of course i could check, but can i remove a method in the method itself and what happens?
thebastl [thebastl!bastl@ve621924175.ihrserver.de] has joined #ruby-lang
<kke> looks like the execution stops
<kke> so i'll just leave it there then
vladalive [vladalive!~vladalive@176.52.57.216] has joined #ruby-lang
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has joined #ruby-lang
<kke> there's a problem in the new hash syntax, { :foo.bar => 'works' }, { foo.bar: 'does not' }
<kke> ah but i think i can use ensure in the removing thing
<kke> nope, still gives me method not defined
Locke23rus_ [Locke23rus_!~quassel@128-70-125-206.broadband.corbina.ru] has joined #ruby-lang
<heftig> kke: . is not in the character set supported by bare symbol literals
zmack [zmack!~zmack@89.120.101.51] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
<kke> yes, i know, but some of the orm's do stuff like Folks.find(:conditions => { :age.lt => 60 }), this can't be done in the new syntax
<heftig> then you don't use it in those cases :p
solars [solars!~solars@clnet-kmu02-090.ikbnet.co.at] has joined #ruby-lang
<kke> surprising :) it's just inconsistent
<kke> ok, how do i get the super-method into a variable?
<kke> something like def foo; @bar = method(super); end
<heftig> alias the method before you redefine it
<heftig> er, before you override it
<kke> ok, let's try
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
cyri_ [cyri_!~cyri_@149.93.119.80.rev.sfr.net] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.172.224.153] has joined #ruby-lang
<kke> yeap, seems to work. https://gist.github.com/1661748
JohnBat26 [JohnBat26!~Eugene@89.175.77.79] has joined #ruby-lang
roadkith [roadkith!~kith@unaffiliated/kith] has joined #ruby-lang
senthil [senthil!~senthil@99-51-1-6.lightspeed.snjsca.sbcglobal.net] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
vladalive [vladalive!~vladalive@176.52.57.216] has joined #ruby-lang
brushbox [brushbox!~brushbox@174.24.233.220.static.exetel.com.au] has joined #ruby-lang
toretore [toretore!~toretore@crr06-3-82-231-12-81.fbx.proxad.net] has joined #ruby-lang
fragmachine [fragmachine!~fragmachi@101.172.141.58] has joined #ruby-lang
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.172.224.153] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@2001:268:306:3:226:8ff:fedd:31a3] has joined #ruby-lang
bl00dshooter [bl00dshooter!~bl00dshoo@201.76.213.131] has joined #ruby-lang
jaisoares [jaisoares!~jsoares@213.13.107.0] has joined #ruby-lang
shevy [shevy!~shevy@178-190-73-145.adsl.highway.telekom.at] has joined #ruby-lang
jmcphers [jmcphers!~jmcphers@61.14.141.35] has joined #ruby-lang
jaisoares [jaisoares!~jsoares@213.13.107.0] has quit [#ruby-lang]
futurechimp [futurechimp!~futurechi@109.239.86.106] has joined #ruby-lang
robotmay [robotmay!~robotmay@94.30.13.228] has joined #ruby-lang
zmack_ [zmack_!~zmack@89.120.101.51] has joined #ruby-lang
fayimora [fayimora!~fayimora@95.175.159.12] has joined #ruby-lang
brianpWins [brianpWins!~brianpWin@S01060014bf8930ea.vc.shawcable.net] has joined #ruby-lang
dous_ [dous_!~dous@203.116.251.236] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@host130-149-dynamic.51-79-r.retail.telecomitalia.it] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
fragmachine [fragmachine!~fragmachi@1.124.102.160] has joined #ruby-lang
antinitro_ [antinitro_!~adam@93-97-23-188.zone5.bethere.co.uk] has joined #ruby-lang
tekin [tekin!~tekin@cpc8-with5-2-0-cust208.1-4.cable.virginmedia.com] has joined #ruby-lang
matti [matti!matti@madwifi/support/matti] has joined #ruby-lang
zmack [zmack!~zmack@89.120.101.51] has joined #ruby-lang
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@host130-149-dynamic.51-79-r.retail.telecomitalia.it] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@62.215.214.4] has joined #ruby-lang
<michael_mbp> if I see .each{ |memo| …. } does that mean memorization ?
<heftig> no, that just means the variable is named memo
<michael_mbp> that's what I'd normally have thought
Spooner [Spooner!~Miranda@host-78-144-139-130.as13285.net] has joined #ruby-lang
<michael_mbp> but why on earth call it memo, when you can call it x, i, r ?
<michael_mbp> I'm obviously reading someone else's code…
<michael_mbp> missing = missing.inject({:ar => true, :fr => true}) {|memo, f| memo[f] = false; memo}
<ddfreyne> well, inject's arg is called memo because it remembers the value from the previous iteration of the inject loop
<heftig> michael_mbp: ri inject
<michael_mbp> ah there we go… thanks
<michael_mbp> will do
<heftig> in this case each_with_object would be more appropriate
<oddmunds> ddfreyne: do you know if memo is short for memorization or memoization?
<oddmunds> (or something else)
<heftig> memory
<oddmunds> i'll think of it as memories
<michael_mbp> hmm
<michael_mbp> do you guys do ri inject in your shell?
<michael_mbp> or use a local doc server?
<heftig> memoization is an optimization technique (caching function results)
<heftig> i use ri
<michael_mbp> .inject not found, maybe you meant:
<michael_mbp> for ri inject
<oddmunds> heftig: i know, but i thought perhaps that it was used about slightly different things, or that maybe inject somehow qualified
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby-lang
<michael_mbp> oddmunds: yeah same here.
<heftig> michael_mbp: where's your ruby from?
ksinkar [ksinkar!~ksinkar@123.201.117.198] has joined #ruby-lang
gianlucadv [gianlucadv!~user@st-dellaved.statistica.unimib.it] has joined #ruby-lang
<michael_mbp> what do you mean?
<michael_mbp> rvm installed.
<manveru> i don't think rvm makes the docs
<matti> Hi manveru
<manveru> matti: moin
<matti> :)
<manveru> thing is, generating the docs takes about three times as long as building ruby
<matti> Haha
<matti> manveru: Really?
niklasb [niklasb!~codeslay0@p5B310BD2.dip0.t-ipconnect.de] has joined #ruby-lang
csherin [csherin!~csherin@115.111.177.122] has joined #ruby-lang
<manveru> you try :P
<matti> :P
<matti> manveru: I have a compile farm with ccache and distcc, I would probably never noticed ;p
<manveru> i doubt it distributes rdoc/ri generation
<matti> manveru: I have to .deb everything, heh.
<matti> manveru: Probably not, it is more of a "they can go and compile, I don't care unless there is an error".
<manveru> aye
<manveru> i usually never generate docs
<manveru> waste of time and space
<shevy> yeah
<manveru> i just look at the source if i wanna know something
<matti> Heheh
<matti> Amen!
<matti> And usually, on-line documentation is more up to date.
<manveru> how so?
<matti> manveru: Some of the man pages for instance that Debian ships.
<matti> manveru: Look at the dates ;)
workmad3 [workmad3!~workmad3@vpn222.its.manchester.ac.uk] has joined #ruby-lang
<manveru> i don't have debian anymore
<matti> manveru: Then you go on-line and find out "oh, shit..."
<manveru> but i know what you mean...
<matti> manveru: I was just giving an exmaple.
<matti> ;]
<manveru> it's one of the reasons i left :P
<matti> Hehe
<matti> Software moves too fast nowadays.
<matti> Its not '70 and waterfall any more.
<matti> ;]
<matti> Thank God for that.
<manveru> aye
<manveru> OSS is moving way too fast for my taste
<manveru> but gotta keep up
<matti> Yep.
<matti> Hence "Read the source, Luke" is most often more than sufficient.
<matti> Unless you are an absolute lazy arse that can't be bothered.
<manveru> lol
<manveru> i used to rely on docs...
<manveru> but it was usually more trouble than it's worth
StevenRingo [StevenRingo!~nevets@ppp121-44-25-1.lns20.syd6.internode.on.net] has joined #ruby-lang
<matti> manveru: For what it should do I look at both source code and tests, and for what it should not do I look at tests.
<manveru> that's why i love rubinius :)
<matti> manveru: Sadly, I am guilty myself of sometimes not writing tests. I am still stucks in Systems as somebody who can code, and writing tests sometimes is overlooked, and then there is never teh time to retro-fit.
<matti> ;/
<manveru> testing some stuff is more trouble than it's worth as well :P
<manveru> i write tests for my libraries, but not so much for whole apps
<manveru> usually just some poking around to estimate overall soundness, otherwise the design becomes too rigid for my taste
<matti> manveru: I have a problem with tests.
<matti> manveru: When I go back to retro-fit, I got pulled into "this can be done better".
<manveru> well, that's deadly
<matti> manveru: And I end up improving upon myself, which invalidates the whole idea of retro-fitting tests.
<matti> manveru: Being a perfectionist is a pain :)
<manveru> agreed
<matti> :>
<matti> manveru: Hate Driven Development has its place too ;d
<michael_mbp> aha thanks!
<michael_mbp> thank you matti heftig
<Spooner> matti: Ironically, since tests allow refactors with confidence, they encourage me to go back and "fix" things that don't need fixing :)
<michael_mbp> and that just sent my CPU thru the roof
<michael_mbp> yay
<manveru> oh damnit
<manveru> now tmux won't start
<shevy> michael_mbp: chase your CPU! bring it back!!!
<manveru> let's see if beanstalkd builds with libevent2 now
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
<matti> Spooner: Hehe :)
<shevy> where is apeiros! http://www.loper-os.org/?p=568
<shevy> though, ruby could need something like that too
<michael_mbp> ddfreyne: memo is the previous iterations value, and obj is the current element from the enum?
<manveru> >> [42,1,2,3].inject{|s,v| s }
<shevy> quite reads like a flame against Steve Jobs too ;)
<manveru> => 42
<michael_mbp> memo is a carry variable
<michael_mbp> indeed thanks
futurechimp [futurechimp!~futurechi@109.239.86.106] has joined #ruby-lang
<manveru> die C, die! :P
<manveru> prot.c:806:9: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64’ [-Werror=format]
<manveru> when did that change?
gix [gix!~gix@e180027180.adsl.alicedsl.de] has joined #ruby-lang
<manveru> man 3 printf doesn't even mention llu
<manveru> that's in glibc, right?
<manveru> awesome... 10mb d/l for one function
<shevy> hehehe
<shevy> the C world eats manveru little by little
<matti> Hehe
<matti> He is falling for curly braces.
<matti> ;]
<shevy> they are everywhere! ruby blocks ... sometimes I even want to use them like ...
<shevy> class Foo {
<shevy> }
<shevy> but it's kinda ugly
<matti> That is so Java...
<shevy> I still want to be able to omit "end" though :(
<matti> shevy: Can't be helped.
Cope [Cope!~stephen@91.194.75.218] has joined #ruby-lang
<matti> shevy: Matz was doing Pascal long time ago ;p
<shevy> yeah
<manveru> go use python
<matti> Hehe...
<shevy> manveru nah it's not the same, that one has to use the ':' sucks
<matti> Imagine... class MyApplication implements View, Controller ; begin ... end
<matti> ;d
<rippa> I'd like to omit all code
<rippa> just write
<rippa> "do stuff"
<matti> Hahah
<shevy> "order pizza"
<injekt> could always use scala
<matti> shevy: Ordering pizza is a task for web ontology.
<matti> ;]
<shevy> the first time I saw a friend shout pizza into his mobile and have it call the local pizza guy, I was very impressed
<manveru> shevy: coffeescript?
<shevy> saw & heard that is hehe
<injekt> heh, I send a text with a certain string to my local pizza place
<injekt> and it orders a set meal
<matti> injekt: Like "Jose, the usual. Be there in 5."
<matti> ;d
<manveru> wtf is va_start
<shevy> perhaps manveru! I think it is quite nice visually ... though I am not sure where to use it
<matti> manveru: For variable length function arguments in C.
<manveru> the source of printf is cryptic as hell
<matti> Hehe
<shevy> lol matti nice video
<matti> shevy: :)
<shevy> isn't that all that is about C
<shevy> a little bit nicer syntax than assembly
<manveru> pretty much
<manveru> i just hate how they pretend to have typing
<matti> manveru: Don't look at Kernel source then :)
<shevy> hehehe
<shevy> but the kernel is kinda cool!
<matti> manveru: Teh abuse of pre-processor macros is teh next big thing there :)
<matti> shevy: It is rather impressive ;]
<shevy> I kill you for the teh!
<matti> shevy: I keel you!
<matti> ;d
<shevy> yeah
<matti> shevy: Sorry ;p
<manveru> matti: so where do i find out what format string handles uint64?
<shevy> I am watching how every kernel .tar.bz2 gets larger and larger from release to release
<shevy> and still is only 1/5 of the Qt sources
<shevy> :
<shevy> :P
<manveru> lol
<manveru> well, at least it's not written in C++
Cope [Cope!~stephen@91.194.75.219] has joined #ruby-lang
<matti> shevy: Haha
<shevy> hmm
<shevy> C++ is kinda scary... but I still like cout << ... and classes are somewhat okish
<shevy> know what would be cool!
judofyr [judofyr!~judofyr@195.159.219.65] has joined #ruby-lang
<judofyr> RUUUUUUUUBY
<shevy> a sexy language that can compete with C and C++
<manveru> i like go
<manveru> but people hate garbage collectors
<matti> manveru: You don't really have dedicated format string argument / option for these.
<judofyr> anyone tried Clojure?
<manveru> then why the fuck does the compiler care?
<matti> manveru: They are IEEE standardised types, which suppose to guarantee proper size and alignment.
<injekt> judofyr: only for about 3 weeks
Fullmoon [Fullmoon!~Fullmoon@TK212017097035.teleweb.at] has joined #ruby-lang
<judofyr> injekt: what do you think?
<matti> manveru: It is mainly to introduce portability and maintainability.
<manveru> :P
<judofyr> I discovered that MenTaLguY does mostly Clojure these days
<injekt> judofyr: I like it, and the only reason I stopped was because I kinda got fed up with lisp impls. I enjoyed it, though
<matti> manveru: And it became a "good practice" to use them for code that should be portable.
<manveru> judofyr: he jumped from ocaml already?
<judofyr> manveru: yeah
<manveru> pity, that
_inc [_inc!~inc@unaffiliated/-inc/x-0498339] has joined #ruby-lang
<judofyr> injekt: fed up with lisp impls?
<matti> manveru: Wait for C89 vs C99 madness :)
<matti> manveru: With POSIX being a cherry on the top ;d
<manveru> matti: so how do you write %llu instead?
<injekt> judofyr: I don't enjoy them, personally. But i felt it necessary to try and force myself to
<manveru> and why does this compile on other machines?
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
<manveru> and how did long long unsigned int become uint64?
<matti> manveru: %llu will be unfolded by implementation of printf into a proper underlying type on a particular architecture, I guess.
dave_miles [dave_miles!~davemiles@gatej.mh.bbc.co.uk] has joined #ruby-lang
<manveru> so it probably worked fine on 32bit?
<matti> manveru: Because C is also driven by a committee ;d
<manveru> gods, who has 32bit these days?
<matti> Hahah
<manveru> anw, where are those formats documented!?
<manveru> i can't even find the real implementation of printf
<matti> manveru: It explains %llu and %ju and others a little.
<shevy> hehe
<manveru> ok...
<manveru> that still doesn't explain who suddenly made my lluint into an uint64
<matti> manveru: That I am not sure about. Unless gcc / your-compiler-here is doing some optimisation.
<matti> Meh.
<matti> I remember doing a lot of C.
<matti> It was fun, but then I wanted it to be portable.
<matti> Since then I am mentally unstable and still feel abused in a very bad way.
<matti> Although, nice C code is pretty.
<matti> ;d
<manveru> lol
<manveru> i think the craziest code i've seen so far is the ruby tcl/tk binding in stdlib
<matti> Haha
<manveru> it tries to be compatible for the last 15 years of ruby and tcl/tk over all operating systems
<matti> Haha
<matti> Crazy.
<manveru> 11k LoC in one .c
<manveru> maybe vim source is close to that crazyness
hostify [hostify!~hostify@host217-34-40-52.in-addr.btopenworld.com] has joined #ruby-lang
<manveru> if you include gvim
sj26 [sj26!sj26@sj26.com] has joined #ruby-lang
<manveru> yay, got beanstalkd to build
<bougyman> with libevent2?
<manveru> all it took as using PRIu64, thanks matti
<manveru> bougyman: moin :)
<bougyman> mornin
<bougyman> you using clang or gcc?
<manveru> yeah
<manveru> dunno
<bougyman> i got it to work with clang.
<manveru> gcc i guess
<manveru> yeah, gcc
<manveru> why do you use clang?
<manveru> bougyman: the beanstalkd-git package?
<bougyman> cause that's the instructions i saw.
<bougyman> manveru: are you making that?
<manveru> yeah, fixed it
<bougyman> ok.
<manveru> just gotta make a pull request
seme [seme!~jrizzo@02d8ce98.bb.sky.com] has joined #ruby-lang
<seme> ?
jensn [jensn!~Jens@ip233-1.wireless.lu.se] has joined #ruby-lang
<bnagy> beanstalkd is awesome. manveru, are you making a cext based client with ffi binding for ruby?
<shevy> hehehe
<bnagy> -hint-hint-
<shevy> manveru make me spaghetti!
<seme> hi guys... can anyone give me a hand... I'm trying to get a random integer between 1 and 6 (inclusive)... It looks like Random.new.rand(1..6) should work but I get an errro "NameError: uninitialized constant Random" any help would be appreciated
<manveru> bnagy: no
<manveru> bnagy: the protocol is damn simple, no need for a cext
<bnagy> seme: rand(7)+1
<bnagy> manveru: yeah but string handling in ruby is slow :(
<manveru> ffi is slower
<bnagy> sorry rand(6)+1
ksinkar [ksinkar!~ksinkar@123.201.117.198] has quit ["Konversation terminated!"]
<seme> bnagy: thanks... any reason why I couldn't use Random though? just so I understand what I did wrong.
<rippa> rand(1..6)
<rippa> in 1.9.3
<seme> aah maybe I'm looking at the wrong docs... I'm on 1.8.7
<bnagy> rand takes a Range now? mind==blown
<seme> that was it... :)
<manveru> bnagy: the protocol is really just like "WATCH X" or "DELETE Y"
<bnagy> manveru: yeah I know :)
<bnagy> I just think multiple stats requests etc might be faster from ffi
zmack [zmack!~zmack@89.120.101.51] has joined #ruby-lang
<manveru> i don't care
<manveru> you usually don't put stats requests in your performance critical code
<bnagy> things like 'insert this until stats['current-jobs-ready']>=1000 etc
elux [elux!~peter@bas17-toronto63-1128670639.dsl.bell.ca] has joined #ruby-lang
<bnagy> we gave some brief thought to ditching beanstalk for 0mq, but it's a huge PITA
<manveru> i know
<bnagy> was trivial to replace amqp with 0mq though
<manveru> i tried implementing beanstalkd in go with 0mq
<bnagy> and I like the ffi-rzmq code
<manveru> but their lack of generics made me pull my hair out
<bnagy> beanstlkd doesn't have a high watermark or anything that I missed, right?
<manveru> a what?
<rue> Whaaaaaaat?
<bnagy> uh no
<rue> I think HWM in this case means some kind of a cutoff
<rue> If you've a slow consumer or summit
<bnagy> yeah like if you set it at 5k then put will start blocking
<bnagy> looks like it just buries stuff if it's using too much memory
<manveru> yeah
<manveru> it'll give you "BURIED %d"
<bnagy> means messing with ulimit etc though
<rue> That kinda high water mark would be handy for actual floods, amirite?
<bnagy> which I guess is not stupid
<bnagy> maybe I can just patch the ruby client a bit
<rue> “Sorry, water, Ima just ignore you if you try to come up any higher. Too bad.”
<bnagy> well it should block, not drop :)
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
<bnagy> otherwise it's like those things they have in baths
molgrew [molgrew!~bozo20@85.182.139.18] has joined #ruby-lang
<bnagy> to stop them overflowing on your downstairs neighbour
<bnagy> rue: apropos not much, turns out amazon supports any random ruby as for elastic mapreduce
<bnagy> a/as /app /
vladalive [vladalive!~vladalive@176.52.59.4] has joined #ruby-lang
<rue> Mm, theoretically M/R can use arbitrary executables
<bnagy> yeah or even bash
<rue> Shell scripts, too, if you like
<bnagy> btu I didn't know amazon AWS supported it
<bnagy> my life just got a hell of a lot easier
<rue> It IS a lot easier if there's explicit support for some of the externalities
<rue> Hadoop, for example, accepts any executable, but using MrToolkit does simplify it a little
<bnagy> ie I don't have to learn java
<rue> Or whatever the current version is
<rue> s/version/variant/
<bnagy> anyway that was today's happymaking discovery
futurechimp [futurechimp!~futurechi@109.239.86.106] has joined #ruby-lang
<matti> manveru: No worries, glad to help :)
futurechimp [futurechimp!~futurechi@109.239.86.106] has joined #ruby-lang
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
gianlucadv_ [gianlucadv_!~gianlucad@st-dellaved.statistica.unimib.it] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@st-dellaved.statistica.unimib.it] has joined #ruby-lang
mark_locklear [mark_locklear!~jlocklear@ab-tech-lan-to-ab-tech-gw.ncren.net] has joined #ruby-lang
publicvoid_ [publicvoid_!~publicvoi@p5DC15C59.dip.t-dialin.net] has joined #ruby-lang
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
jensn [jensn!~Jens@ip233-1.wireless.lu.se] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
ovnimancer [ovnimancer!~anton@212.59.96.38] has quit [#ruby-lang]
furbage [furbage!~james@213.246.135.171] has joined #ruby-lang
codewrangler [codewrangler!~codewrang@pool-72-66-12-100.washdc.fios.verizon.net] has joined #ruby-lang
sj26 [sj26!sj26@sj26.com] has joined #ruby-lang
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
gokulnath [gokulnath!~gokulnath@115.111.177.122] has joined #ruby-lang
diegoviola [diegoviola!~diego@host-1-211.b15.cvc.com.py] has joined #ruby-lang
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
zmack_ [zmack_!~zmack@89.120.101.51] has joined #ruby-lang
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
Stereokitsune [Stereokitsune!~mayoi@nessa.yuuzukiyo.net] has joined #ruby-lang
zmack [zmack!~zmack@89.120.101.51] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@nat35.mable.ne.jp] has joined #ruby-lang
Stereokitsune [Stereokitsune!~mayoi@nessa.yuuzukiyo.net] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
gnufied1 [gnufied1!~gnufied@122.172.224.153] has joined #ruby-lang
workmad3_ [workmad3_!~workmad3@vpn49.its.manchester.ac.uk] has joined #ruby-lang
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@186.220.217.229] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
bl00dshooter [bl00dshooter!~bl00dshoo@201.76.213.131] has joined #ruby-lang
SkramX [SkramX!~SkramX@pool-173-73-134-143.washdc.east.verizon.net] has joined #ruby-lang
zmack [zmack!~zmack@89.120.101.51] has joined #ruby-lang
plusk [plusk!~plusk@201-40-27-121.gnace703.dsl.brasiltelecom.net.br] has joined #ruby-lang
jjore [jjore!~jjore@c-24-18-236-106.hsd1.wa.comcast.net] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby-lang
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
Sailias [Sailias!~jonathan@s72-38-77-178.static.comm.cgocable.net] has joined #ruby-lang
dv310p3r [dv310p3r!~dv310p3r@host-208-68-238-122.biznesshosting.net] has joined #ruby-lang
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby-lang
bl00dshooter [bl00dshooter!~bl00dshoo@201.76.213.131] has joined #ruby-lang
llaskin [llaskin!~Leo@c-24-128-198-93.hsd1.ma.comcast.net] has joined #ruby-lang
<Dreamer3> is there a way to do module << self like you can with classes?
<shevy> hmm is there a way to get the system newline in use?
<llaskin> given that actions is an Array with 3 elements all of type WrappedWebElement why, when I run actions.each{|action|} does each action element become an array whcih has element[0] = Fixnum(0) and element[1] = WrappedWebElement?
<shevy> like \n on linux... not sure what it is on windows
<judofyr> Dreamer3: you can do "class << SomeModule"
<rue> Dreamer3: class << MyModule
takaokouji [takaokouji!~takaokouj@nat35.mable.ne.jp] has joined #ruby-lang
<Dreamer3> oh
<Dreamer3> it's the same? :)
<judofyr> yup
<rue> The general syntax is class << any_object_and_modules_are_objects_too
imajes [imajes!~imajes@is.imaj.es] has joined #ruby-lang
scampbell [scampbell!~scampbell@c-98-224-240-62.hsd1.mi.comcast.net] has joined #ruby-lang
MistyM [MistyM!~mistym@50.museumforhumanrights.com] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
Weems [Weems!~the@unaffiliated/weems] has joined #ruby-lang
rippa [rippa!~rippa@109-161-78-207.pppoe.yaroslavl.ru] has joined #ruby-lang
jxie [jxie!~jxie@218.64.28.81] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
<dkannan> shevy: $/
<dkannan> shevy: it is the quickref. http://www.zenspider.com/Languages/Ruby/QuickRef.html
takaokouji [takaokouji!~takaokouj@nat35.mable.ne.jp] has joined #ruby-lang
<dkannan> am creating a ruby project. have a problem with require and project strcuture
<molgrew> $/ is \n here, though
<molgrew> and I am on windows
<judofyr> dkannan: yeah, add lib to $LOAD_PATH
<dkannan> molgrew: mine as well
<dkannan> judofyr: i thought messing with the load_path was bad?
llaskin [llaskin!~Leo@c-24-128-198-93.hsd1.ma.comcast.net] has quit [#ruby-lang]
<rue> You shouldn't hardcode it
<judofyr> dkannan: messing with the load path is okay in the file that starts everything up (e.g. config.ru)
<dkannan> judofyr: ok. thx
<judofyr> dkannan: or actually, even better: set the RUBYLIB env
<dkannan> judofyr: i like load_path. it is self contained. do not want to mess with bash envs
<shevy> thanks dkannan
<rue> dkannan: env is self-contained, unless you export the variable.
<dkannan> rue: agreed. but it seems icky. writing RUBYLIB=... ruby file.rb everytime
<rue> Well, that reduces your options, then :)
<dkannan> rue: was uncertain about modifying load_path and like judofyr suggestion of changing it at the entry point ie config.ru
outoftime [outoftime!~mat@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby-lang
<dkannan> rue: not requiring rubygems :-) maybe i will write a wrapper script
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby-lang
aenimus [aenimus!~aenimus@46.147.3.28] has joined #ruby-lang
robbrit [robbrit!~rob@38.108.76.250] has joined #ruby-lang
fayimora [fayimora!~fayimora@lt38-201.eecs.qmul.ac.uk] has joined #ruby-lang
mytrile [mytrile!~mytrile@94.26.28.135] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
voker57 [voker57!~voker57@128-70-35-232.broadband.corbina.ru] has joined #ruby-lang
voker57 [voker57!~voker57@kvirc/developer/Voker57] has joined #ruby-lang
macmartine [macmartine!~macmartin@069-064-227-254.pdx.net] has joined #ruby-lang
jredville [jredville!~james.dev@173-160-211-253-Washington.hfc.comcastbusiness.net] has joined #ruby-lang
ltd- [ltd-!~z@zx.io] has joined #ruby-lang
Fullmoon [Fullmoon!~Fullmoon@dsl-stat-43-17.mmc.at] has joined #ruby-lang
voker57_ [voker57_!~voker57@2.93.225.79] has joined #ruby-lang
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
voker57_ [voker57_!~voker57@128-70-28-60.broadband.corbina.ru] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
imperator [imperator!~Daniel@184-96-109-96.hlrn.qwest.net] has joined #ruby-lang
voker57_ [voker57_!~voker57@128-70-32-82.broadband.corbina.ru] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
jaisoares [jaisoares!~jsoares@bl12-6-6.dsl.telepac.pt] has joined #ruby-lang
<imperator> good morning
mytrile [mytrile!~mytrile@94.26.28.135] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
voker57__ [voker57__!~voker57@2.93.252.78] has joined #ruby-lang
<erikh> imperator: hi!
<rue> HI THERE
<erikh> BILLY MAYS HERE WITH NEW OXYGREET
<rue> Billy Mays > Chuck Norris.
<erikh> agreed.
vladalive [vladalive!~vladalive@176.52.59.4] has joined #ruby-lang
futurechimp [futurechimp!~futurechi@109.239.86.106] has joined #ruby-lang
voker57__ [voker57__!~voker57@128-70-42-148.broadband.corbina.ru] has joined #ruby-lang
timbleck [timbleck!u3835@gateway/web/irccloud.com/x-oxlrwdmnqfuiaiwv] has joined #ruby-lang
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-wunfwobwbwbdqeia] has joined #ruby-lang
abuiles [abuiles!u1641@gateway/web/irccloud.com/x-llokrzdwjxhwlymp] has joined #ruby-lang
txus [txus!u2342@gateway/web/irccloud.com/x-lwetrfebkqadlnho] has joined #ruby-lang
scampbell [scampbell!~scampbell@c-98-224-240-62.hsd1.mi.comcast.net] has joined #ruby-lang
necromancer [necromancer!u4538@gateway/web/irccloud.com/x-rgdwccawopxegsgo] has joined #ruby-lang
JEG2 [JEG2!~JEG2@ip72-198-103-217.ok.ok.cox.net] has joined #ruby-lang
voker57 [voker57!~voker57@128-70-10-188.broadband.corbina.ru] has joined #ruby-lang
voker57 [voker57!~voker57@kvirc/developer/Voker57] has joined #ruby-lang
mrchrisadams [mrchrisadams!u1367@gateway/web/irccloud.com/x-guxyjconoszlfvgd] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
longtheta [longtheta!u4275@gateway/web/irccloud.com/x-nqxawfrdzlondpfd] has joined #ruby-lang
newbold [newbold!u5179@gateway/web/irccloud.com/x-kcydcgegrjsvvbgs] has joined #ruby-lang
SuperTaz_work [SuperTaz_work!~supertaz_@38.99.52.59] has joined #ruby-lang
boodle [boodle!~boodle@174.46.129.34] has joined #ruby-lang
RegEchse [RegEchse!~regechse@h1985974.stratoserver.net] has joined #ruby-lang
cesario [cesario!u2444@gateway/web/irccloud.com/x-pwhfzyhisvgojqzi] has joined #ruby-lang
cldwalker [cldwalker!~gabrielho@c-24-34-197-236.hsd1.ma.comcast.net] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-136-35.aei.ca] has joined #ruby-lang
savage- [savage-!~savage-@istep.static.monkeybrains.net] has joined #ruby-lang
apeiros_ [apeiros_!~apeiros@77-58-113-31.dclient.hispeed.ch] has joined #ruby-lang
dkannan [dkannan!u480@gateway/web/irccloud.com/x-oyyefzyubaymeieu] has joined #ruby-lang
darkf [darkf!~darkf_dix@adsl-69-154-228-180.dsl.wacotx.swbell.net] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
savage- [savage-!~savage-@istep.static.monkeybrains.net] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
SkramX [SkramX!~SkramX@pool-173-73-134-143.washdc.east.verizon.net] has joined #ruby-lang
macmartine [macmartine!~macmartin@069-064-227-254.pdx.net] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
mccraig [mccraig!u574@gateway/web/irccloud.com/x-xynfbwhjonaoobwj] has joined #ruby-lang
solars [solars!~solars@mk089144206060.a1.net] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
dous_ [dous_!~dous@cm171.sigma67.maxonline.com.sg] has joined #ruby-lang
zmack_ [zmack_!~zmack@109.99.235.103] has joined #ruby-lang
agib [agib!u781@gateway/web/irccloud.com/x-ndisfvsnxyygqozl] has joined #ruby-lang
JoelMcCracken [JoelMcCracken!~user@c-24-3-189-214.hsd1.pa.comcast.net] has joined #ruby-lang
pvh [pvh!u717@gateway/web/irccloud.com/x-cyqczsuqwnshtpym] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
virunga [virunga!~virunga@151.64.63.250] has joined #ruby-lang
RORgasm [RORgasm!~rorgasm@nyv-exweb.iac.com] has joined #ruby-lang
RORgasm [RORgasm!~rorgasm@nyv-exweb.iac.com] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@109.53.109.168] has joined #ruby-lang
frem [frem!WnaInmpYdo@irc.usealice.org] has joined #ruby-lang
cconstantine_ [cconstantine_!~cconstant@c-24-130-112-59.hsd1.ca.comcast.net] has joined #ruby-lang
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
cconstantine_ [cconstantine_!~cconstant@c-24-130-112-59.hsd1.ca.comcast.net] has joined #ruby-lang
michael_mbp [michael_mbp!~Marin@95.66.67.135] has joined #ruby-lang
cldwalker_ [cldwalker_!u2984@gateway/web/irccloud.com/x-mdedeiyciaxmrjjx] has joined #ruby-lang
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
RORgasm_ [RORgasm_!~rorgasm@nyv-exweb.iac.com] has joined #ruby-lang
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby-lang
godfrey999 [godfrey999!~godfrey99@1-168-130-33.dynamic.hinet.net] has joined #ruby-lang
Skif [Skif!~Skif@72.1.92.57] has joined #ruby-lang
akahn [akahn!u2243@gateway/web/irccloud.com/x-hqdrplvkgmceeeoe] has joined #ruby-lang
matled [matled!~matled@85.131.246.184] has joined #ruby-lang
crudson [crudson!~doug@static-96-227-79-15.phlapa.fios.verizon.net] has joined #ruby-lang
Spooner [Spooner!~Miranda@78.144.139.130] has joined #ruby-lang
godfrey999 [godfrey999!~godfrey99@1-168-130-33.dynamic.hinet.net] has quit [#ruby-lang]
sepp2k [sepp2k!~sexy@g230249118.adsl.alicedsl.de] has joined #ruby-lang
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby-lang
mrsolo [mrsolo!~mrsolo@64.125.181.73] has joined #ruby-lang
CoverSlide [CoverSlide!~richard@216.2.249.50] has joined #ruby-lang
gioele [gioele!~gioele@unaffiliated/gioele] has joined #ruby-lang
jmontross [jmontross!~Adium@68-233-216-82.static-ip.telepacific.net] has joined #ruby-lang
zzak [zzak!~zzak@ec2-107-20-68-16.compute-1.amazonaws.com] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
mrsolo [mrsolo!~mrsolo@64.125.181.73] has joined #ruby-lang
Defusal [Defusal!DeFi@196-209-55-227.dynamic.isadsl.co.za] has joined #ruby-lang
Defusal [Defusal!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby-lang
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has joined #ruby-lang
benanne [benanne!~rijdier@ip-213-49-84-133.dsl.scarlet.be] has joined #ruby-lang
rob___ [rob___!~rob@dust.cx] has quit [#ruby-lang]
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
livinded [livinded!~lolwut@s042n230.csun.edu] has joined #ruby-lang
krainboltgreene_ [krainboltgreene_!6143b472@gateway/web/freenode/ip.97.67.180.114] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
<krainboltgreene_> Hola.
rushed [rushed!~rushed@cpe-70-116-11-35.austin.res.rr.com] has joined #ruby-lang
uniqanomaly [uniqanomaly!~ua@dynamic-78-8-217-46.ssp.dialog.net.pl] has joined #ruby-lang
qpingu [qpingu!~Adium@67.218.117.238] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
abentspoon [abentspoon!~micah@173.247.201.130] has joined #ruby-lang
mytrile [mytrile!~mytrile@77.70.29.148] has joined #ruby-lang
zzak [zzak!~zzak@ec2-107-20-68-16.compute-1.amazonaws.com] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
janissary [janissary!625500e8@gateway/web/freenode/ip.98.85.0.232] has joined #ruby-lang
spleeze [spleeze!~Spleeze@173-15-131-114-BusName-Philadelphia.hfc.comcastbusiness.net] has joined #ruby-lang
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby-lang
krainboltgreene_ [krainboltgreene_!6143b472@gateway/web/freenode/ip.97.67.180.114] has quit [#ruby-lang]
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
headius [headius!~headius@71-37-230-236.mpls.qwest.net] has joined #ruby-lang
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
neuro_damage [neuro_damage!~neuro@c-98-234-184-142.hsd1.ca.comcast.net] has joined #ruby-lang
kylemcgill [kylemcgill!~kylemcgil@static-ip-202-90-56-14.watchdog.net.nz] has joined #ruby-lang
<andrewvos> Tor is not as slow as I had remembered
<erikh> probably a lot more exit nodes these days
<andrewvos> erikh: It's really quite usable
<erikh> also better consumer bandwidth, at least in the states
<andrewvos> erikh: I just streamed a hulu video with it
<erikh> nice
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
<erikh> wow
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has quit [#ruby-lang]
<andrewvos> erikh: Not that you can choose country IP though.
<andrewvos> erikh: (Which would be cool)
<erikh> yeah that would be a nice feature
<rue> andrewvos: It's about 3x as fast as a few years ago
<andrewvos> rue: Thinking of using it exclusively
<andrewvos> Don't appreciate the fact that ISPs are recording my internet usage.
<esufan> it'd increase productivity in my opinion
<andrewvos> esufan: How so?
<esufan> most flash things are just ads
<esufan> meant to distract & lure
<andrewvos> esufan: I think you're thinking of Adblock?
<esufan> no youtube..although there is an option
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
sepp2k [sepp2k!~sexy@g230249118.adsl.alicedsl.de] has joined #ruby-lang
<imperator> hm, it would be nice if i could abbreviate :pointer as :ptr and :string as :str in my ffi function declarations
* imperator hates going past 80 characters, but also hates making ffi function decs more than 1 line
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
<erikh> tor != privoxy
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<rue> ≠ hahaa
<erikh> ≠
<esufan> Ϩ
<esufan> ✐
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
ayoub [ayoub!~ayoub@41.251.36.192] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.251.41] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@subtle/user/kyrylo] has joined #ruby-lang
senj [senj!~senj@S01060026f323bcdf.ed.shawcable.net] has joined #ruby-lang
<andrewvos> _
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
mikeric [mikeric!~mike@96.53.33.22] has joined #ruby-lang
<lianj> imperator: typedef :string. :str
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby-lang
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
nofxx [nofxx!~nofxx@177.106.91.211] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
<erikh> ha
<erikh> the whole thought of a typedef in runtime code makes me want to vomit
<lianj> feel free
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
pigdude [pigdude!~tallen@li61-243.members.linode.com] has joined #ruby-lang
<pigdude> how to install a gem from local?
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
<pigdude> i'd rather use gem than just symlink
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
<apeiros_> gem install -l path/to/file.gem
<pigdude> thanks!
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
dnjaramba_ [dnjaramba_!~dnjaramba@41.72.193.86] has joined #ruby-lang
esufan [esufan!~nekid@117.193.254.90] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
curtism [curtism!~curtis@bas11-montreal02-1128531121.dsl.bell.ca] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
Mchl [Mchl!~Mchl@h1881165560.rev.rootvps.pl] has joined #ruby-lang
<pigdude> apeiros_, hm, i try gem install -l ../gems/class-extensions, i get invalid
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
<pigdude> it contains a .gemspec, but no setub.rb
<rue> pigdude: That's not what he gave you.
<pigdude> rue, there is no file.gem
<rue> Well… there should be?
<rue> Hop in there to build the gem
<pigdude> what cmd to issue for that?
<apeiros_> if you've got a gemspec, you can let rubygems build the .gem
<apeiros_> gem help build
<pigdude> oh gem build
<pigdude> i see
<apeiros_> also, gem help commands
<pigdude> there we go :^)
<pigdude> thanks again :^()
arooni-mobile [arooni-mobile!~arooni-mo@190.148.135.237] has joined #ruby-lang
longtheta [longtheta!u4275@gateway/web/irccloud.com/x-lkjpowwmewxgwpei] has joined #ruby-lang
dnjaramba_ [dnjaramba_!~dnjaramba@41.72.193.86] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
amishPa [amishPa!~x@pa-67-234-162-94.dhcp.embarqhsd.net] has joined #ruby-lang
ilyam [ilyam!~ilyam@2620:65:0:281:582f:26ee:b71d:cf41] has joined #ruby-lang
skipper [skipper!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
outoftime_ [outoftime_!~mat@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby-lang
robbrit [robbrit!~rob@38.108.76.250] has quit [#ruby-lang]
yadav [yadav!~quassel@dsl-173-248-230-235.acanac.net] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
amishPa [amishPa!~x@pa-67-234-162-94.dhcp.embarqhsd.net] has quit [#ruby-lang]
gregmoreno [gregmoreno!~gregmoren@24.86.235.74] has joined #ruby-lang
gregmoreno [gregmoreno!~gregmoren@24.86.235.74] has joined #ruby-lang
Heimidal_ [Heimidal_!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
melter [melter!~Melter@2001:4930:116:0:21c:c0ff:feef:eaf5] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
cyri_ [cyri_!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
bl00dshooter [bl00dshooter!~bl00dshoo@201.76.213.131] has joined #ruby-lang
Defusal_ [Defusal_!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
cored [cored!~homer@201.229.129.102] has joined #ruby-lang
cored [cored!~homer@unaffiliated/cored] has joined #ruby-lang
Filuren [Filuren!~Filuren@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
Filuren [Filuren!~Stalkr@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
SkramX [SkramX!~SkramX@128.164.20.23] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
Filuren [Filuren!~Stalkr@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-121-216-141-190.lnse2.ken.bigpond.net.au] has joined #ruby-lang
flori [flori!flori@irc.ping.de] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
ciac [ciac!~ciac@78-82-182-112.tn.glocalnet.net] has joined #ruby-lang
amerine [amerine!~mturner@67.204.184.82] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@202.146.7.239] has joined #ruby-lang
curtism [curtism!~curtis@bas11-montreal02-1128531121.dsl.bell.ca] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
spleeze [spleeze!~Spleeze@173-15-131-114-BusName-Philadelphia.hfc.comcastbusiness.net] has joined #ruby-lang
wyhaines_ [wyhaines_!~wyhaines@66.119.51.3] has joined #ruby-lang
burgestrand1 [burgestrand1!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
Stereokitsune [Stereokitsune!~mayoi@nessa.yuuzukiyo.net] has joined #ruby-lang
ciac [ciac!~ciac@78-82-182-112.tn.glocalnet.net] has quit [#ruby-lang]
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
_inc [_inc!~inc@unaffiliated/-inc/x-0498339] has joined #ruby-lang
scyrmion [scyrmion!~ubuntu@scyrmion.mooo.com] has joined #ruby-lang
Carnage\ [Carnage\!~carnage@84-75-163-211.dclient.hispeed.ch] has joined #ruby-lang
zumbi_ [zumbi_!~zumbi@77.224.206.23] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby-lang
ddfreyne [ddfreyne!~denisdefr@stoneship.org] has quit [#ruby-lang]
<postmodern> i have a string "COMMAND", and im trying to do rjust(22)
<postmodern> but it's not adding extra white-space
<apeiros_> no idea what you do, but: "COMMAND".rjust(22) # => " COMMAND"
<apeiros_> works here just fine
<postmodern> apeiros_, but not when i run the command
<apeiros_> then you do something wrong in a part you didn't specify.
<postmodern> apeiros_, does rjust take into account console col/row size?
<apeiros_> postmodern: no
<apeiros_> why should it?
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
<postmodern> ok that's not it
<apeiros_> rjust is plain old string manipulation. it has no idea about a console.
<apeiros_> postmodern: how about showing the code and how you figured it was rjust'ing that string that didn't work…
<vereteran> parameter prefixed with & (given as block) should be last, right?
<apeiros_> yes
<apeiros_> @ vereteran
<vereteran> thanks, somewhy i thought it could be any in arguments and ruby will figure out that its actually a block
SkramX [SkramX!~SkramX@pool-173-73-134-143.washdc.east.verizon.net] has joined #ruby-lang
<burgestrand> postmodern: if the description is long it won’t be modified
<postmodern> apeiros_, i put some p statements in there for param.description and desc, they end up being the same
<postmodern> burgestrand, param.description is "COMMAND" in this case
<burgestrand> then all I have to say is "COMMAND".rjust(22) # => " COMMAND"
<burgestrand> *shrug*
<postmodern> burgestrand, yeah that works in irb for me too
cynosure [cynosure!~cynosure@centrumnet.hu] has joined #ruby-lang
<postmodern> burgestrand, but not when this command is run
<burgestrand> postmodern: perhaps OptionParser is borked
<burgestrand> sounds unlikely, but who knows
fayimora [fayimora!~fayimora@2a01:388:201:3721:546f:4d9d:f091:8f6d] has joined #ruby-lang
<postmodern> burgestrand, very possible
<burgestrand> all i can think of is HTML that’s always friendly enough to just strip out multiple consecutive whitespace
<apeiros_> postmodern: I see nothing wrong with it. I'd have to run it to find the issue.
<postmodern> desc.method(:rjust).source_location returns nil
<postmodern> so i dont think anything is overriding it
rpowell [rpowell!~rpowell@CPE-121-216-141-190.lnse2.ken.bigpond.net.au] has joined #ruby-lang
<postmodern> well something is overriding String#rjust, but i cannot figure out where?
<postmodern> even pry cannot figure out where
<postmodern> but the behavior definitely changes when running the command
Defusal [Defusal!Defusal@dsl-240-239-38.telkomadsl.co.za] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
Tyau [Tyau!51dcc5fc@gateway/web/freenode/ip.81.220.197.252] has joined #ruby-lang
RickHull [RickHull!~rhull@209.119.14.25] has joined #ruby-lang
Defusal [Defusal!Defusal@unaffiliated/ecnerifed] has joined #ruby-lang
melter [melter!~Melter@2001:4930:116:0:21c:c0ff:feef:eaf5] has joined #ruby-lang
mztriz [mztriz!~mztriz@nkugateway.nku.edu] has joined #ruby-lang
gregf [gregf!~gregf@207.5.168.94] has joined #ruby-lang
RickHull [RickHull!~rhull@209.119.14.25] has quit [#ruby-lang]
Defusal [Defusal!Defusal@unaffiliated/ecnerifed] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby-lang
flowerpot [flowerpot!~flower@ec2-50-112-39-12.us-west-2.compute.amazonaws.com] has joined #ruby-lang
<rue> postmodern: Sounds meh
arooni-mobile [arooni-mobile!~arooni-mo@190.56.107.159] has joined #ruby-lang
<postmodern> rue, interestingly enough, ljust works
<postmodern> rue, so idk
<rue> ack?
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
Roujo [Roujo!~Roujo@modemcable186.146-70-69.static.videotron.ca] has joined #ruby-lang
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
havenn [havenn!~skipper@ip-64-32-152-30.dsl.lax.megapath.net] has joined #ruby-lang
WillMarshall [WillMarshall!~willmarsh@121-73-153-79.cable.telstraclear.net] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang