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/
justfielding [justfielding!~justfield@ip70-178-131-208.ks.ks.cox.net] has quit [#ruby]
jlogsdon_ [jlogsdon_!~jlogsdon@50.0.84.226] has joined #ruby
xiaotian [xiaotian!~guoxiaoti@4.30.138.134] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
stkowski [stkowski!~stkowski@ns25.8x8.com] has joined #ruby
pantsman- [pantsman-!~pantsman@2.25.187.234] has joined #ruby
rodasc [rodasc!~crodas@git.crodas.org] has joined #ruby
blueadept` [blueadept`!~blueadept@pool-96-251-83-184.lsanca.dsl-w.verizon.net] has joined #ruby
cableray [cableray!~cableray@wl-dhcp158-180.Mines.EDU] has joined #ruby
cola_zero [cola_zero!~cola_zero@www5054u.sakura.ne.jp] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
nari [nari!~nari@2001:268:306:1:50e1:daff:fe36:8a33] has joined #ruby
frerich2 [frerich2!~frerich@mail.froglogic.com] has joined #ruby
thomasfedb_ [thomasfedb_!~thomasfed@2607:f358:1:fed5:11:0:1399:1] has joined #ruby
mgolisch_ [mgolisch_!~michi@85.93.11.18] has joined #ruby
crazed [crazed!~crazed@unaffiliated/cr4z3d] has joined #ruby
Tamjuk [Tamjuk!~fox@178-26-92-180-dynip.superkabel.de] has joined #ruby
ping_pong [ping_pong!~qwerty@212-30-218-200.static.simnet.is] has joined #ruby
cola_zero [cola_zero!~cola_zero@www5054u.sakura.ne.jp] has joined #ruby
d-best [d-best!~d-snp@smurfer.student.utwente.nl] has joined #ruby
DefV [DefV!~Jan@node-hahmcop4no4a1ruk1w.ipv6.as30961.net] has joined #ruby
moeSeth [moeSeth!u1029@gateway/web/irccloud.com/x-dbuwzlhrtbzwfnbm] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-98-246-229-6.hsd1.or.comcast.net] has joined #ruby
ex0a [ex0a!~high@unaffiliated/ex0a] has joined #ruby
shennyg_ [shennyg_!~shennyg@puppis.dreamhost.com] has joined #ruby
s_segawa [s_segawa!~s_segawa@221x251x236x110.ap221.ftth.ucom.ne.jp] has joined #ruby
sixteneighty [sixteneighty!~buk@eridanus.uberspace.de] has joined #ruby
vitoravelino [vitoravelino!~vitor@dev.vitoravelino.net] has joined #ruby
vitoravelino [vitoravelino!~vitor@unaffiliated/vtr] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
mrmist_ [mrmist_!~mrmist@freenode/staff/pdpc.active.mrmist] has joined #ruby
DefV [DefV!~Jan@node-hahmcop4no4a1ruk1w.ipv6.as30961.net] has joined #ruby
SegFault1X [SegFault1X!~SegFaultA@c-98-248-241-85.hsd1.ca.comcast.net] has joined #ruby
icrazyhack [icrazyhack!~horieyui@183.60.100.168] has joined #ruby
Drakevr [Drakevr!~null@unaffiliated/drakevr] has joined #ruby
iamjarvo1 [iamjarvo1!~Adium@pool-71-162-141-201.phlapa.fios.verizon.net] has joined #ruby
cyri__ [cyri__!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@ool-4571cba8.dyn.optonline.net] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
techhelp [techhelp!~Dan@ip70-162-10-229.ph.ph.cox.net] has joined #ruby
xiaotian [xiaotian!~guoxiaoti@4.30.138.134] has joined #ruby
centipedefarmer [centipedefarmer!~centipede@71-34-164-159.desm.qwest.net] has joined #ruby
xiaotian [xiaotian!~guoxiaoti@4.30.138.134] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@205.233.81.153] has joined #ruby
looopy_ [looopy_!~looopy@pool-141-156-50-197.washdc.btas.verizon.net] has joined #ruby
looopy__ [looopy__!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
dnyy [dnyy!~dnyy@c-98-237-138-38.hsd1.wa.comcast.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@67.139.75.158] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@46-64-51-175.zone15.bethere.co.uk] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
v0n [v0n!~v4n@bas1-montreal43-2925257405.dsl.bell.ca] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
cobragoat [cobragoat!~cobragoat@69.37.118.64] has joined #ruby
alindeman_ [alindeman_!~adml@freenode/senior-staff-emeritus/alindeman] has joined #ruby
<newbold>
yay it's alindeman :)
<alindeman_>
Heh, hi
nyuszika7h [nyuszika7h!nyuszika7h@unaffiliated/nyuszika7h] has joined #ruby
cobragoat [cobragoat!~cobragoat@69.37.118.64] has joined #ruby
cobragoat [cobragoat!~cobragoat@69.37.118.64] has joined #ruby
<newbold>
alindeman_: every single day, I check to see if you've released the nick "a" yet
<newbold>
alindeman_: ok not really but that's one awesome nick :)
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
wroathe [wroathe!~wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
fabianhjr [fabianhjr!~fabianhjr@fixed-203-69-42.iusacell.net] has joined #ruby
<fabianhjr>
Hey, I need to teach programming basics to some 4th grade kids. I remember a very beautiful implementation of Ruby for Kids similar to sractch(Wasn't graphic)
<fabianhjr>
It was something like Hatchet, can anyone help?
<fabianhjr>
Though now I am not too sure which one should I use.
<banister`gone>
fabianhjr: i was told hackethack was kid of buggy and crashed all the time
<fabianhjr>
Well, lets try kidsruby.
dasfugufish [dasfugufish!~Adium@64-184-237-212.mammothnetworks.com] has joined #ruby
<fabianhjr>
Thanks, you saved me some trouble. :)
cmasseraf [cmasseraf!~ColdFusio@187.106.195.233] has joined #ruby
<jesser>
my problem is miniruby can't locate my libgcc_s.so.1 despite configure being called with LDFLAGS="-L/opt/csw/lib -I/opt/csw/lib -R/opt/csw/lib"
<jesser>
and even setting LD_LIBRARY_PATH=/opt/csw/lib doesn't seem to work. (libgcc_s.so.1 is under /opt/csw/lib/ )
ben_alman [ben_alman!~cowboy@awesome.benalman.com] has joined #ruby
aBound [aBound!~levy@cpe-76-169-9-64.socal.res.rr.com] has quit ["Leaving"]
iamjarvo [iamjarvo!~Adium@pool-71-162-141-201.phlapa.fios.verizon.net] has joined #ruby
finnomenon [finnomenon!finn@2a01:488:abcd:c::105] has joined #ruby
<finnomenon>
can somebody explain me unless !!ENV["string"] and !!ENV["string"] ?
oxez [oxez!~teppei@oxez.net] has joined #ruby
elighthero [elighthero!~chatzilla@2602:306:ccd3:6f50:85d8:694:a4e1:df9a] has joined #ruby
tomzx [tomzx!~tomzx@dsl-136-35.aei.ca] has joined #ruby
user__ [user__!~akem@253.195.84.79.rev.sfr.net] has joined #ruby
gen0cide_ [gen0cide_!~TigerBloo@67-207-96-206.static.wiline.com] has joined #ruby
v0n [v0n!~v4n@bas1-montreal43-2925257405.dsl.bell.ca] has joined #ruby
jbpros [jbpros!~jbpros@39-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
Evixion [Evixion!Evixion@tn-67-236-5-224.dhcp.embarqhsd.net] has joined #ruby
bigkm [bigkm!~bigkm@60-241-223-44.static.tpgi.com.au] has joined #ruby
amacgregor [amacgregor!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
thomasdebenning [thomasdebenning!~thomasdeb@c-69-181-139-137.hsd1.ca.comcast.net] has joined #ruby
amacgregor_ [amacgregor_!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
fabianhjr [fabianhjr!~fabianhjr@fixed-203-69-42.iusacell.net] has quit [#ruby]
amacgregor_osx [amacgregor_osx!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
<amacgregor_osx>
I'm looking for a way to convert a DateTime object to mileseconds
xiaotian [xiaotian!~guoxiaoti@4.30.138.134] has joined #ruby
samsonjs_ [samsonjs_!~samsonjs@S01060026f31b8198.gv.shawcable.net] has joined #ruby
havenn [havenn!~skipper@pool-108-0-191-60.lsanca.fios.verizon.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<dagnachewa>
hey
<amacgregor_osx>
hey'
dwon [dwon!~dwon@75-119-251-37.dsl.teksavvy.com] has joined #ruby
tomzx [tomzx!~tomzx@dsl-136-35.aei.ca] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
dwon [dwon!~dwon@75-119-251-37.dsl.teksavvy.com] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@ool-4571cba8.dyn.optonline.net] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
jaemin-kr [jaemin-kr!~jaemin-kr@c-98-202-220-135.hsd1.ut.comcast.net] has joined #ruby
jaemin-kr [jaemin-kr!~jaemin-kr@c-98-202-220-135.hsd1.ut.comcast.net] has quit [#ruby]
CreativeEmbassy [CreativeEmbassy!~CreativeE@h142.127.232.68.dynamic.ip.windstream.net] has joined #ruby
dcl2 [dcl2!~user@186.214.75.76] has joined #ruby
acadavid [acadavid!~acadavid@190.250.226.7] has joined #ruby
zakwilson [zakwilson!~quassel@ip01.rinconwestrv.simplybits.net] has joined #ruby
PIPES [PIPES!~PIPES@bas5-stcatharines10-1279491361.dsl.bell.ca] has joined #ruby
<PIPES>
anyone here?
<amacgregor_osx>
seems there is no one
Andrew131 [Andrew131!~tera@CCID165.uncc.edu] has joined #ruby
akem [akem!~akem@253.195.84.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<amacgregor_osx>
I'm trying to figure out how to convert a ruby datetime object to a javascript date
PaciFisT1 [PaciFisT1!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
mztriz [mztriz!~mztriz@nkugateway.nku.edu] has quit [#ruby]
juarlex_alt [juarlex_alt!~juarlex@201.124.160.19] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@rrcs-71-43-23-18.se.biz.rr.com] has joined #ruby
bitops [bitops!~user@ac.playsecond.com] has joined #ruby
h4mz1d [h4mz1d!~hamfz@130.160.182.188] has joined #ruby
samsonjs [samsonjs!~samsonjs@184.66.154.246] has joined #ruby
tomzx [tomzx!~tomzx@dsl-136-35.aei.ca] has joined #ruby
cobragoat [cobragoat!~cobragoat@69.37.118.64] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
PaciFisT1 [PaciFisT1!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
Draco_ [Draco_!~draco@bas5-kingston08-1242523232.dsl.bell.ca] has joined #ruby
[[thufir]] [[[thufir]]!~thufir@184.65.42.92] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-237-212.mammothnetworks.com] has joined #ruby
seb_ [seb_!~seb@lns-bzn-55-82-255-149-237.adsl.proxad.net] has joined #ruby
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
ada2358 [ada2358!~ada2358@login.ccs.neu.edu] has joined #ruby
`brendan [`brendan!~b@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
headius [headius!~headius@71-37-230-236.mpls.qwest.net] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
Gekz [Gekz!~brendan@unaffiliated/gekz] has joined #ruby
<Gekz>
vim users!
<Gekz>
I am wondering how I can change my tabs to two spaces only for ruby files
wroathe [wroathe!~wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
<jesser>
Gekz: au FileType ruby set ts=2 sw=2 tw=100 sts=2 expandtab
<jesser>
(in your ~/.vimrc ... plus you might need some other things to go with that)
nari [nari!~nari@p62e58e.totrnt01.ap.so-net.ne.jp] has joined #ruby
<Gekz>
jesser: a good starting point, thanks :D
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
jsonperl [jsonperl!~Adium@c-67-175-4-137.hsd1.il.comcast.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-237-212.mammothnetworks.com] has joined #ruby
justfielding [justfielding!~justfield@ip70-178-131-208.ks.ks.cox.net] has joined #ruby
davidcelis [davidcelis!~david@c-76-115-58-79.hsd1.or.comcast.net] has joined #ruby
Targen [Targen!~iguana@190.39.181.108] has joined #ruby
adamkittelson [adamkittelson!~adamkitte@c-24-23-252-19.hsd1.ca.comcast.net] has joined #ruby
mengu [mengu!~mengu@78.182.67.120] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
nari_ [nari_!~nari@p62e58e.totrnt01.ap.so-net.ne.jp] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
acadavid [acadavid!~acadavid@190.250.226.7] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
enherit [enherit!~enherit@216.3.99.206] has joined #ruby
banister`gone [banister`gone!~baniseter@122.63.245.44] has joined #ruby
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
optikalmouse [optikalmouse!~user@bas1-toronto07-1176324225.dsl.bell.ca] has joined #ruby
<optikalmouse>
what are ppl using in emacs for ruby development?
<optikalmouse>
and for rails stuff? ;p
btanaka_ [btanaka_!~textual@173-228-34-51.dsl.dynamic.sonic.net] has joined #ruby
<banister`gone>
.
<optikalmouse>
.
<optikalmouse>
...
sixteneighty [sixteneighty!~buk@eridanus.uberspace.de] has joined #ruby
<davidcelis>
.....
<shevy>
......
t0mmyvyo [t0mmyvyo!~tommyvyo@c-68-83-3-164.hsd1.nj.comcast.net] has joined #ruby
<davidcelis>
hi shevy!
josefig [josefig!~josef@unaffiliated/josefig] has joined #ruby
t0mmyvyo [t0mmyvyo!~tommyvyo@c-68-83-3-164.hsd1.nj.comcast.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<shevy>
hi caviddelis!
<davidcelis>
:(
<shevy>
hmmm
<shevy>
I am trying to come up with a way...
<shevy>
- store something in a file, that has a specific timer, and an associated action
<shevy>
for instance. in 10 hours, start alarm clock
<shevy>
what I know is that I will not use cron
<shevy>
now I am thinking... how to solve this hmm
daed [daed!~daed@daed.org] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
zodiak [zodiak!~stef@cpe-75-84-218-68.socal.res.rr.com] has joined #ruby
jlogsdon [jlogsdon!~jlogsdon@c-98-207-251-182.hsd1.ca.comcast.net] has joined #ruby
kevinbond [kevinbond!~kevinbond@112.50.204.68.cfl.res.rr.com] has joined #ruby
genivf [genivf!~museun@c-98-252-146-102.hsd1.ga.comcast.net] has joined #ruby
Hanmac [Hanmac!~hanmac@p50844F07.dip0.t-ipconnect.de] has joined #ruby
<optikalmouse>
so there's no good ruby dev stuff for emacs?
techhelp [techhelp!~Dan@ip70-162-10-229.ph.ph.cox.net] has joined #ruby
<davidcelis>
vim
<optikalmouse>
davidcelis: that's not an acceptable answer ;)
<davidcelis>
oh well, i tried
alx- [alx-!~Alex@108.162.180.72] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
dotnull [dotnull!~dot_null@173-31-158-182.client.mchsi.com] has joined #ruby
<optikalmouse>
what's the difference between a single and double-quoted string?
<optikalmouse>
does it affect variable interpolation?
<davidcelis>
you cant interpolate in single quoted strings
<davidcelis>
at all
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
cmasseraf [cmasseraf!~ColdFusio@187.106.195.233] has joined #ruby
bigkm [bigkm!~bigkm@60-241-223-44.static.tpgi.com.au] has joined #ruby
<optikalmouse>
davidcelis: oh. I see, so it has the same idiotic rules as BASH or PERL and isn't like Python? awesomee ;/
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
<davidcelis>
lolwut?
<davidcelis>
if you want to interpolate, use double quoted strings
<davidcelis>
what is so difficult about that?
<optikalmouse>
it's not difficult, it's just dumb :D
<justfielding>
why is that?
<justfielding>
what would be the "smarter alternative"
xiaotian [xiaotian!~guoxiaoti@mobile-198-228-222-189.mycingular.net] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
Bardosity [Bardosity!~john@202-89-189-137.static.dsl.amnet.net.au] has joined #ruby
<optikalmouse>
so how do I look up docs? ri --search?
t0mmyvyo [t0mmyvyo!~tommyvyo@c-68-83-3-164.hsd1.nj.comcast.net] has joined #ruby
radic_ [radic_!~radic@dslb-178-002-209-078.pools.arcor-ip.net] has joined #ruby
<dwon>
optikalmouse: You can do things like %q{\n} and %Q{\n}. The former behaves like r"\n" in Python, and the latter behaves like "\n" in Python.
<dwon>
optikalmouse: So if you need to put double-quotes inside an interpolated string, you don't necessarily have to backslash.
<dwon>
optikalmouse: %q|\n|, %q#\n# %q(\n) all work, too
<dwon>
optikalmouse: so yeah, it's a bit like perl
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
Gekz [Gekz!~brendan@115-64-60-202.static.tpgi.com.au] has joined #ruby
headius [headius!~headius@71-37-230-236.mpls.qwest.net] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
<[[thufir]]>
why is 'text' an undefined method? login_page = agent.click(base_page.links.text(/Reader/)) read the API I suppose.
bigkm [bigkm!~bigkm@60-241-223-44.static.tpgi.com.au] has joined #ruby
rexbutler [rexbutler!~rex@c-24-10-196-81.hsd1.ut.comcast.net] has joined #ruby
<optikalmouse>
so are most Ruby programmers former users of PHP or Perl or what?
<November>
C and assembly prior, here.
<jesser>
perl and java mostly I think?
banister`gone [banister`gone!~baniseter@118.82.185.158] has joined #ruby
acadavid_ [acadavid_!~acadavid@190.250.226.7] has joined #ruby
<davidcelis>
optikalmouse: I unfortunately began with Java, because that's what my college taught first. Then some C and a bit of ASSEMBLY
<davidcelis>
though I taught myself Python on the side, and then finally came to Ruby during my junior/senior year
blueadept` [blueadept`!~blueadept@72.21.137.199] has joined #ruby
<optikalmouse>
...I'm trying to learn Ruby for my new job, I can't wrap my head around it.
baroquebobcat [baroquebobcat!~nick@c-67-176-80-121.hsd1.co.comcast.net] has joined #ruby
<banister`gone>
optikalmouse: what do u find difficult
<optikalmouse>
ri for one thing.
<davidcelis>
ruby, when it comes down to it, is just another OOP language
<davidcelis>
if you're coming from python, it shouldn't be all that difficult
<banister`gone>
optikalmouse: ri is weird, try pry as a learning environment: http://pry.github.com
<optikalmouse>
do none of these tools have manpages?
<banister`gone>
optikalmouse: ri has a manpage on my system
<optikalmouse>
ok, so how do I list methods in Class or Object classes?
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<optikalmouse>
can I do that with ri or do I use something else?
<davidcelis>
object.methods or Class.methods
<davidcelis>
or read the doc
<banister`gone>
optikalmouse: in pry, it's a matter of: ls -Mv Class
jlogsdon [jlogsdon!~jlogsdon@c-98-207-251-182.hsd1.ca.comcast.net] has joined #ruby
<davidcelis>
oh, pry/ri
linopolus [linopolus!~linopolus@hektor.lnpls.de] has joined #ruby
baroquebobcat_ [baroquebobcat_!~nick@c-67-176-80-121.hsd1.co.comcast.net] has joined #ruby
gigamonkey [gigamonkey!~user@adsl-76-254-17-226.dsl.pltn13.sbcglobal.net] has joined #ruby
Araxia_ [Araxia_!~Araxia@c-24-22-63-1.hsd1.or.comcast.net] has joined #ruby
aBionic [aBionic!~abhishekk@14.140.107.130] has joined #ruby
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
p1d [p1d!~p1d@dslb-088-064-143-094.pools.arcor-ip.net] has joined #ruby
wallerdev [wallerdev!~wallerdev@72.44.102.30] has joined #ruby
jcromartie [jcromartie!~jcromarti@c-69-140-238-182.hsd1.md.comcast.net] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby
d2dchat [d2dchat!~d2dchat@c-68-42-68-174.hsd1.mi.comcast.net] has joined #ruby
jergason [jergason!~jergason@c-67-182-209-164.hsd1.ut.comcast.net] has joined #ruby
invsblduck [invsblduck!~brett@250-46.adsl1.netlojix.net] has joined #ruby
zakwilson [zakwilson!~quassel@ip01.rinconwestrv.simplybits.net] has joined #ruby
havenn [havenn!~skipper@pool-108-0-191-60.lsanca.fios.verizon.net] has joined #ruby
optikalmouse [optikalmouse!~user@bas1-toronto07-1176324225.dsl.bell.ca] has quit ["ERC Version 5.3 (IRC client for Emacs)"]
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
suma [suma!62f5b04d@gateway/web/freenode/ip.98.245.176.77] has joined #ruby
bastilian [bastilian!~bastilian@chello213047077012.23.11.vie.surfer.at] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
scribbles [scribbles!scribbles@addictedto.info] has joined #ruby
S1kx [S1kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
ksinkar [ksinkar!~ksinkar@123.201.117.198] has joined #ruby
nd_____ [nd_____!~nd@mnhm-5f74f958.pool.mediaWays.net] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
scribbles [scribbles!scribbles@addictedto.info] has joined #ruby
vladyn [vladyn!~Adium@78.83.241.70] has joined #ruby
p0y_ [p0y_!~p0y@122.52.126.66] has joined #ruby
dazoakley [dazoakley!~dazoakley@hocuspokus.vm.bytemark.co.uk] has joined #ruby
patjoh [patjoh!~patjoh@94-247-168-163-static.serverhotell.net] has joined #ruby
ephemerian [ephemerian!~ian@82-69-1-248.dsl.in-addr.zen.co.uk] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
symb0l [symb0l!~symb0l@c-50-131-187-183.hsd1.ca.comcast.net] has joined #ruby
shevy [shevy!~shevy@178-190-75-144.adsl.highway.telekom.at] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
faber [faber!~faber@adsl-ull-69-202.50-151.net24.it] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
kreantos [kreantos!~kreantos@clnet-kmu02-090.ikbnet.co.at] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
burgestrand [burgestrand!~burgestra@dhcp-189083.eduroam.chalmers.se] has joined #ruby
dekroning [dekroning!~dekroning@217.166.122.42] has joined #ruby
c0rn [c0rn!~c0rn@50-0-142-2.dsl.dynamic.sonic.net] has joined #ruby
jlebrech [jlebrech!~textual@host86-135-203-241.range86-135.btcentralplus.com] has joined #ruby
headius [headius!~headius@71-37-230-236.mpls.qwest.net] has joined #ruby
MaskRay_ [MaskRay_!~ray@unaffiliated/maskray] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@213.152.255.138] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
krz [krz!~foobar@2002:3a45:c93c:0:999c:2b17:4264:ad4e] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
trivol [trivol!~aurelien@gra94-1-81-57-175-179.fbx.proxad.net] has joined #ruby
canton7 [canton7!~canton7@87-194-161-58.bethere.co.uk] has joined #ruby
jesser [jesser!~jesser@ppp19-136.static.internode.on.net] has joined #ruby
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
<shevy>
dumdedum
<shevy>
I am bored
<banister`gone>
shevy: watch some GGG
Nss [Nss!~nss@93-41-190-28.ip82.fastwebnet.it] has joined #ruby
Faris [Faris!~faris@41.140.99.201] has joined #ruby
<shevy>
hmm
<shevy>
I wanna be productive but also do something useful...
<banister`gone>
shevy: test the newest version of pry
<banister`gone>
im about to release any day and need someone to verify there's no buggywugs
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
workmad3 [workmad3!~workmad3@vpn174.its.manchester.ac.uk] has joined #ruby
Shrink [Shrink!sgupta@redhat/shrink] has joined #ruby
nerdy [nerdy!~textual@66-44-118-195.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com] has joined #ruby
Liothen [Liothen!~liothen@pdpc/supporter/professional/liothen] has joined #ruby
ChampS666 [ChampS666!~ChampS@wlan1-33.zw.fh-zwickau.de] has joined #ruby
ikaros [ikaros!~ikaros@dslb-094-219-214-087.pools.arcor-ip.net] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.185.158] has joined #ruby
ph^ [ph^!~ph^@79.135.7.171] has joined #ruby
<waxjar>
make a decent epub reader with macruby
<waxjar>
without that stupid shelf shit
tk__ [tk__!~tk@p083005.doubleroute.jp] has joined #ruby
ping_pong [ping_pong!~qwerty@212-30-218-200.static.simnet.is] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
t0mmyvyo [t0mmyvyo!~tommyvyo@c-68-83-3-164.hsd1.nj.comcast.net] has joined #ruby
catphish [catphish!~catphish@2001:9d8:2005:11:222:15ff:fe88:aae2] has joined #ruby
ping_pong [ping_pong!~qwerty@212-30-218-200.static.simnet.is] has joined #ruby
<catphish>
does ruby have something like mktime that supports out-of-bounds data?
<catphish>
for example Time.mktime(2012,0) => "2011-12-01 00:00:00"
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
Azure|dc [Azure|dc!~azt@unaffiliated/azure] has joined #ruby
<Hanmac>
you mean this?: Time.new(2012,1) => "=> 2012-01-01 00:00:00 +0100"
<catphish>
no, Time.new(2011,13) => "=> 2012-01-01 00:00:00 +0100"
azbarcea__ [azbarcea__!~quassel@79.114.90.133] has joined #ruby
josephwilk [josephwilk!~josephwil@109.231.237.58] has joined #ruby
<shevy>
what
<shevy>
what is out of bounds bonding
<shevy>
cool
<shevy>
Time.mktime(2012,6032326)
<shevy>
ArgumentError: argument out of range
<catphish>
indeed
<catphish>
but in PHP, that works
<catphish>
"() is useful for doing date arithmetic and validation, as it will automatically calculate the correct value for out-of-range input"
<catphish>
* "mktime() is useful for doing date arithmetic and validation, as it will automatically calculate the correct value for out-of-range input. For example, each of the following lines produces the string "Jan-01-1998".
<catphish>
for example <?php echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1997));
<catphish>
32nd December == 1st Jan
pen [pen!~pen@223-143-204-133.dynamic.hinet.net] has joined #ruby
<catphish>
but Ruby just raises "ArgumentError: argument out of range"
RORgasm [RORgasm!~rorgasm@nyv-exweb.iac.com] has joined #ruby
bbttxu [bbttxu!~adam@pool-96-226-122-92.dllstx.fios.verizon.net] has joined #ruby
a_a_g [a_a_g!~aag@203.123.164.34] has quit [#ruby]
jmuniz [jmuniz!~jmuniz@pool-173-77-30-218.nycmny.east.verizon.net] has joined #ruby
awake1162 [awake1162!~s@cpe-76-171-199-3.socal.res.rr.com] has joined #ruby
dross [dross!~dross@unaffiliated/dross] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.242.23.131] has joined #ruby
dhunter [dhunter!c8378cb5@gateway/web/freenode/ip.200.55.140.181] has joined #ruby
cousine [cousine!~cousine@41.32.101.235] has joined #ruby
Barakas [Barakas!~v@77.242.201.52] has joined #ruby
dhunter [dhunter!c8378cb5@gateway/web/freenode/ip.200.55.140.181] has quit [#ruby]
freelanceful_ [freelanceful_!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
resting [resting!ca41f50a@gateway/web/freenode/ip.202.65.245.10] has joined #ruby
imsplitbit [imsplitbit!~imsplitbi@64.39.5.119] has joined #ruby
tomzx [tomzx!~tomzx@dsl-136-35.aei.ca] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
robotmay [robotmay!~robotmay@94.30.13.228] has joined #ruby
wroathe [wroathe!~wroathe@75-146-189-233-Minnesota.hfc.comcastbusiness.net] has joined #ruby
<resting>
hi guys..shld i learn rails or ruby to do web developments??
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
<shevy>
resting rails uses ruby
<shevy>
you can ignore ruby and try to stick within the framework of rails
<oddmunds>
don't learn ruby
<shevy>
but you will always be limited to a zombie
<shevy>
so the question should be - do you want to be a zombie or not
<oddmunds>
:)
<resting>
shevy: yup...so i could do web developments with ruby alone?
Targen [Targen!~iguana@159.90.11.250] has joined #ruby
<oddmunds>
yes
<resting>
oddmunds: y not?
<oddmunds>
i was just joking
<shevy>
well yeah. it depends on what you want to do ... there is plain ruby-cgi ... old, but still usable... you can connect all your ruby scripts... you can use sinatra, ramaze rack etc... or you can build an alternative to rails
<resting>
oddmunds: haa...
Shrink [Shrink!~sgupta@redhat/shrink] has joined #ruby
<resting>
shevy: ahh...too much big words haa..
crodas [crodas!~crodas@git.crodas.org] has joined #ruby
<shevy>
well, it's ruby man
<shevy>
you can build everything on your own too
<shevy>
remember how PHP started
<resting>
shevy: hmm...so its like core c++ language?
Synthead [Synthead!~max@50-76-231-54-static.hfc.comcastbusiness.net] has joined #ruby
<resting>
shevy: not really
<shevy>
man
<shevy>
ruby is written in C
<shevy>
you can't compare ruby to C or C++ !!!!!
<resting>
shevy: lol...sorri..i'm noob
<shevy>
we all were but it's not a valid excuse either!
Nss [Nss!~nss@93-41-190-28.ip82.fastwebnet.it] has joined #ruby
<shevy>
ruby is within the family of perl python php ...
<shevy>
and then there is the family of C C++ D C# Java and so on
<shevy>
imagine if ruby would be as fast as C
<resting>
hmm...so ruby is more like web scripting languge family?
<provideal>
resting: I think a lot of people started learning ruby implicitly when learning rails. You don't need to know everything about ruby when starting to play with rails -- but you should definitely try to understand what you do...
<provideal>
resting: I'd rather not consider ruby a "web scripting" language...
<shevy>
resting well. scripting family. not "web scripting". Ruby isn't limited to the web-only.
<shevy>
I am lucky to have started without ruby when rails did not exist at all
<shevy>
I mean
<shevy>
to have started *with* ruby when rails did not exist :P
<resting>
provideal: ic...i'm trying to see for myself wats the hype abt all these rails thing..ok..probably i'll go in depth to ruby too
<shevy>
hype is bad
<resting>
shevy: ic...they could be used as desktop programs too? like in windows perhaps?
<provideal>
You can use ruby to write cli- or gui apps, yeah.
<resting>
icic..cool...
Karmaon [Karmaon!~john@gateway/tor-sasl/karmaon] has joined #ruby
<shevy>
resting: you can use the ruby bindings to gtk, ruby-gtk, and use it in GTK apps
<shevy>
on windows as well
<provideal>
There's a ruby binding to Cocoa...
<shevy>
but traditional GUI can be more work than web-stuff, keep that in mind
<shevy>
unless you just want a hello world button
<shevy>
that is trivial
linoj_ [linoj_!~linoj@199.21.101.219] has joined #ruby
<resting>
haaa...yup...am aware of that...juz good to know what i'm learning could be used as desktop programs as well
<resting>
ok...juz i had a jump start to wats is ruby...tkz guys
yekta [yekta!~yekta@c-24-1-182-219.hsd1.il.comcast.net] has joined #ruby
djanatyn [djanatyn!~djanatyn@mail.digitalkingdom.org] has joined #ruby
<baniseterfiend`>
resting: y r u tkg lyk dz
<shevy>
lol
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@216.199.155.226.nw.nuvox.net] has joined #ruby
Shrink [Shrink!~sgupta@redhat/shrink] has joined #ruby
<resting>
baniseterfiend`: ?? wat do u mean?
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
<resting>
ok..is there any tell tale sign is a web is developed by ruby? say tis site? https://trello.com
<shevy>
"Trello started out as a pure JavaScript project on both client and server, and stayed that way until May, when we experimentally ported a couple of files to CoffeeScript to see how we liked it. We loved it, and soon converted the rest of the code over and started coding CoffeeScript exclusively."
<shevy>
"How would you turn a single ruby file into a gem? Name the steps."
<shevy>
"You inherit a code base consisting of 10 different classes from someone else. The classes are not documented. You are tasked to maintain them from now on - how do you proceed foremost?"
<shevy>
and some simple things!
<shevy>
"Create a dynamic class that can respond to any method call."
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
centipedefarmer [centipedefarmer!~centipede@71-34-164-159.desm.qwest.net] has joined #ruby
d2dchat [d2dchat!~d2dchat@c-68-42-68-174.hsd1.mi.comcast.net] has joined #ruby
pencilcheck [pencilcheck!~pen@223-140-129-47.dynamic.hinet.net] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
<provideal>
yekta: include some &block and inject magic.
stringoO [stringoO!~JLstring@bas1-toronto42-1279598654.dsl.bell.ca] has joined #ruby
<provideal>
yekta: depending on what the guy is applying for ;)
<yekta>
They are coming with more of a python background and are interested in rails.
<yekta>
python/django
<provideal>
Well, then you can hardly ask them anything about ruby, can you?
<yekta>
I guess I'm asking for ideas at a more general level.
TheDeadSerious [TheDeadSerious!u2116@gateway/web/irccloud.com/x-ftbmqrdvjylmpznv] has joined #ruby
Shrink [Shrink!~sgupta@redhat/shrink] has joined #ruby
dhs227 [dhs227!~dhs227@124.77.5.230] has joined #ruby
<catphish>
shevy: i am a fairy experienced ruby developer and those are not things i do daily
<catphish>
and would not be able to quote in an interview
<catphish>
more sane interview questions are ones that demonstrate an ability to actually write code
<shevy>
what
<catphish>
i just think making a gem is not something a developer needs to remember how to do
<catphish>
i prefer questions about code itself
<shevy>
like!
<catphish>
well, not ruby specific but asking someone to form a simple regex is always a good idea
<shevy>
well if they come from python, you could tease them with things python-coders find confusing :)
mgolisch_ [mgolisch_!~michi@85.93.11.18] has quit [#ruby]
<shevy>
a moment, lemme find a piece of code ...
<provideal>
shevy: And ask them to identify common patterns that can be factored out, let them suggest a DSL (usage, not implementation) for some task and the like.
<shevy>
hmm I would totally fail on patterns
<shevy>
and everything math and algorithm related.
<catphish>
these things are very abstract
<shevy>
yekta, shock them a little bit with alogrithms!
theRoUS [theRoUS!KenCoar@apache/committer/coar] has joined #ruby
<provideal>
shevy: my last message was meant to be adressed to yekta ;)
<shevy>
provideal: hey!!! what if I want to take that interview!
<provideal>
yekta: It very much depends on their job profile
<shevy>
yekta, test me!
<provideal>
shevy: ^^
<shevy>
ah well. I can't find the thing I was looking for
<shevy>
something like ...
<shevy>
def foo
<shevy>
$foo ||= SomeModule::SomeClass.new
<shevy>
end
<shevy>
alias f foo
<shevy>
f.hi
si14 [si14!u2619@gateway/web/irccloud.com/x-aflrpgzfgmvnbome] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-mcbbiajpogeputtr] has joined #ruby
asobrasil [asobrasil!~asantioli@palpatine.privatedns.com] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@213.152.255.138] has joined #ruby
<shevy>
f.test = 'something something'
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
punkrawkR [punkrawkR!~freddiebo@h-9-122.a328.priv.bahnhof.se] has joined #ruby
<provideal>
yekta: Do some closure-magic, I LOVE closure magic. Let them write statefull functions (w/o backing class/object)...
Ammar01 [Ammar01!~hassaa10@gatej.thls.bbc.co.uk] has joined #ruby
mahesh [mahesh!~mahesh@117.196.152.174] has joined #ruby
bwlang [bwlang!~anonymous@70-91-134-14-ma-ne.hfc.comcastbusiness.net] has joined #ruby
acadavid [acadavid!~acadavid@190.250.226.7] has joined #ruby
kpshek [kpshek!~kpshek@159.140.254.97] has joined #ruby
mahesh [mahesh!~mahesh@117.196.152.174] has quit [#ruby]
mahesh [mahesh!~mahesh@117.196.152.174] has joined #ruby
JonnieCache [JonnieCache!~jonnie@87.252.60.35] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
mahesh [mahesh!~mahesh@117.196.152.174] has joined #ruby
mengu [mengu!~mengu@78.188.203.234] has joined #ruby
strife25 [strife25!strife25@nat/ibm/x-pgcufctbszpbmbjd] has joined #ruby
jgarvey [jgarvey!~jgarvey@cpe-174-097-248-211.nc.res.rr.com] has joined #ruby
rippa [rippa!~rippa@93-181-232-162.adsl.yaroslavl.ru] has joined #ruby
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
alx- [alx-!~Alex@108.162.180.72] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
jergason [jergason!~jergason@c-67-182-209-164.hsd1.ut.comcast.net] has joined #ruby
luxurymo_ [luxurymo_!~luxurymod@rrcs-184-75-21-21.nyc.biz.rr.com] has joined #ruby
philcrissman [philcrissman!~philcriss@206.57.45.116] has joined #ruby
mahesh [mahesh!~mahesh@117.196.152.174] has joined #ruby
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
mahesh [mahesh!~mahesh@117.196.152.174] has quit [#ruby]
mahesh [mahesh!~mahesh@117.196.152.174] has joined #ruby
mahesh [mahesh!~mahesh@117.196.152.174] has quit [#ruby]
csavola [csavola!~csavola@76-10-149-67.dsl.teksavvy.com] has joined #ruby
fayimora [fayimora!~fayimora@95.175.159.48] has joined #ruby
enherit [enherit!~enherit@216.3.99.206] has joined #ruby
Sailias [Sailias!~jonathan@206-248-172-164.dsl.teksavvy.com] has joined #ruby
mk03 [mk03!~mk03@61.245.119.34.er.eaccess.ne.jp] has joined #ruby
bbttxu [bbttxu!~adam@dynamic-129-120-52-214.dynamic.unt.edu] has joined #ruby
Nss [Nss!~nss@93-41-190-28.ip82.fastwebnet.it] has joined #ruby
wenbert [wenbert!~wenbert@120.28.231.65] has joined #ruby
luckman212 [luckman212!~irc@pool-108-41-8-176.nycmny.fios.verizon.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
palcu [palcu!~alex@89.122.187.223] has joined #ruby
tobym [tobym!~tobym@pool-173-56-80-136.nycmny.fios.verizon.net] has joined #ruby
pootpoot [pootpoot!~pootpoot@38.108.250.130] has joined #ruby
andyl [andyl!~andy@c-98-207-232-251.hsd1.ca.comcast.net] has joined #ruby
<jcromartie>
does newgem not work with 1.8.7?
[[thufir]] [[[thufir]]!~thufir@184.65.42.92] has joined #ruby
Skaag [Skaag!~Skaag@fl-184-7-81-54.dhcp.embarqhsd.net] has joined #ruby
<jcromartie>
I get /usr/lib/ruby/gems/1.8/gems/rubigen-1.5.7/lib/rubigen/base.rb:96: undefined method `class_attribute' for RubiGen::Base:Class (NoMethodError)
c9s [c9s!~c9s@li336-155.members.linode.com] has quit [#ruby]
phantomfake [phantomfake!~whats_in_@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
spanner [spanner!~quassel@128.249.96.10] has joined #ruby
techhelp [techhelp!~Dan@firebox.rsmart.com] has joined #ruby
<shevy>
real men write their gemspec on their own
phantomfake [phantomfake!~phantomfa@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
phantomfake [phantomfake!~i@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
fayimora [fayimora!~fayimora@lt38-201.eecs.qmul.ac.uk] has joined #ruby
jtgiri_ [jtgiri_!~jtgiri_@c-24-130-160-31.hsd1.ca.comcast.net] has joined #ruby
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby
a_a_g [a_a_g!~aag@115.109.10.216] has joined #ruby
alex__c2022 [alex__c2022!~alex@207.239.64.154] has joined #ruby
Targen [Targen!~iguana@159.90.11.250] has joined #ruby
RORgasm [RORgasm!~rorgasm@nyv-exweb.iac.com] has joined #ruby
pusewicz_ [pusewicz_!u2036@gateway/web/irccloud.com/x-ewzeqfusecvswjrx] has joined #ruby
techhelp2 [techhelp2!~Dan@firebox.rsmart.com] has joined #ruby
aswxzd [aswxzd!~root@188.72.230.115] has joined #ruby
headius [headius!~headius@71-37-230-236.mpls.qwest.net] has joined #ruby
<pusewicz_>
Hi
d2dchat [d2dchat!~d2dchat@173-167-20-129-michigan.hfc.comcastbusiness.net] has joined #ruby
<pusewicz_>
What is the best way to profile load/require time in a Ruby application?
WanderingGlitch [WanderingGlitch!~Wandering@unaffiliated/wanderingglitch] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
ghanima [ghanima!~ghanima@alexander.nat.trb.com] has joined #ruby
samsonjs [samsonjs!~samsonjs@184.66.154.246] has joined #ruby
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby
aswxzd [aswxzd!~root@188.72.230.115] has quit [#ruby]
phantomfake [phantomfake!~i@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
madmax_ [madmax_!~madmax@87-206-108-5.dynamic.chello.pl] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
thomasdebenning [thomasdebenning!~thomasdeb@c-69-181-139-137.hsd1.ca.comcast.net] has joined #ruby
madmax__ [madmax__!~madmax@87-206-108-5.dynamic.chello.pl] has joined #ruby
ewag [ewag!~ewagner@office-gw.cmh.aotech.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@174-27-233-214.slkc.qwest.net] has joined #ruby
colossal7 [colossal7!~colossal7@174-27-216-191.slkc.qwest.net] has joined #ruby
modder [modder!modder@79.133.201.85] has joined #ruby
Nss [Nss!~nss@93-41-190-28.ip82.fastwebnet.it] has joined #ruby
baroquebobcat [baroquebobcat!~nick@70-90-113-174-co.denver.hfc.comcastbusiness.net] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
jackerran [jackerran!~jackerran@fw.luckie.net] has joined #ruby
adamkittelson [adamkittelson!~adamkitte@c-24-23-252-19.hsd1.ca.comcast.net] has joined #ruby
baroquebobcat [baroquebobcat!~nick@70-90-113-174-co.denver.hfc.comcastbusiness.net] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
vraa [vraa!~vraa@c-76-30-135-64.hsd1.tx.comcast.net] has joined #ruby
jergason [jergason!~jergason@208.97.56.66] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-71-205-218-131.hsd1.mi.comcast.net] has joined #ruby
arkadyan [arkadyan!~shanley@74-94-185-249-NewEngland.hfc.comcastbusiness.net] has joined #ruby
blueadept` [blueadept`!~blueadept@pool-96-251-83-184.lsanca.dsl-w.verizon.net] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
Ankhers [Ankhers!~user@76-10-149-67.dsl.teksavvy.com] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-117-93.albq.qwest.net] has joined #ruby
soulcutter [soulcutter!~soulcutte@unaffiliated/soulcutter] has joined #ruby
arkadyan [arkadyan!~shanley@74-94-185-249-NewEngland.hfc.comcastbusiness.net] has quit [#ruby]
Shrink [Shrink!~sgupta@redhat/shrink] has joined #ruby
v0n [v0n!~v4n@2607:fad8:4:0:21e:8cff:fe4d:2f7d] has joined #ruby
Pathou [Pathou!~androirc@80.214.0.216] has joined #ruby
ank [ank!~ank@c-67-172-16-188.hsd1.pa.comcast.net] has joined #ruby
jsonperl1 [jsonperl1!~Adium@74.8.8.206] has joined #ruby
<jsonperl1>
i'm trying to include multiple source files in an extension, but it doesn't find them when running extconf.rb
kevinbond [kevinbond!~kevinbond@68.204.50.112] has joined #ruby
kevinbond [kevinbond!~kevinbond@68.204.50.112] has quit [#ruby]
<jsonperl1>
do i need to manually copy the files?
techhelp2 [techhelp2!~Dan@firebox.rsmart.com] has quit ["Leaving"]
techhelp2 [techhelp2!~Dan@firebox.rsmart.com] has joined #ruby
<techhelp2>
how do I find out ruby's module path?
<theRoUS>
anyone here ever use Net::HTTP with ssl and client certs?
adamkittelson [adamkittelson!~adamkitte@c-24-23-252-19.hsd1.ca.comcast.net] has joined #ruby
lkba [lkba!~AndChat@afsu200.neoplus.adsl.tpnet.pl] has joined #ruby
<theRoUS>
techhelp2: 'module path'? you mean the include path?
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
<jsonperl1>
the problematic line in my extconf.rb is:
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby
thepix [thepix!~pix@static-81-219-160-123.devs.futuro.pl] has joined #ruby
parraline5750 [parraline5750!~haakd@nat/hp/x-rkajpkhqpfqkhtkb] has joined #ruby
<techhelp2>
theRoUS: yes, that's what I mean. How does ruby know where they are?
<parraline5750>
Has anyone here used the zoneedit.com API?
<theRoUS>
techhelp2: try this: ruby -e 'puts($:)'
<techhelp2>
perfect! Thank you!!
TomJ [TomJ!~TomJ@host-78-147-97-126.as13285.net] has joined #ruby
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
Shrink [Shrink!~sgupta@redhat/shrink] has joined #ruby
Pathou [Pathou!~androirc@80.214.0.110] has joined #ruby
ziggles [ziggles!~ziggles@173-11-100-54-SFBA.hfc.comcastbusiness.net] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
alx- [alx-!~Alex@108.162.180.72] has joined #ruby
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby
taii [taii!~tai@85-127-73-70.dynamic.xdsl-line.inode.at] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has quit [#ruby]
eldariof [eldariof!~CLD@81.200.24.186] has joined #ruby
adeponte [adeponte!~adeponte@67.110.253.162.ptr.us.xo.net] has joined #ruby
savage- [savage-!~savage-@istep.static.monkeybrains.net] has joined #ruby
badabim [badabim!~badabim@17.212.166.202] has joined #ruby
[ttn]jimmy [[ttn]jimmy!~jimmy@87.252.60.35] has joined #ruby
SegFaultAX|work [SegFaultAX|work!~mkbernard@173.228.45.162] has joined #ruby
josefig [josefig!~josef@189.154.66.64] has joined #ruby
josefig [josefig!~josef@unaffiliated/josefig] has joined #ruby
maletor [maletor!~maletor@74.115.25.139] has joined #ruby
axl_ [axl_!~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@109.53.189.57] has joined #ruby
atmosx [atmosx!~atmosx@191.116.broadband5.iol.cz] has joined #ruby
zulax [zulax!~radarwork@199.8.13.249] has joined #ruby
wallerdev [wallerdev!~wallerdev@72.44.102.30] has joined #ruby
jaysern [jaysern!~jaysern@108-90-40-248.lightspeed.sntcca.sbcglobal.net] has joined #ruby
axl_ [axl_!~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net] has joined #ruby
saidin [saidin!u5324@gateway/web/irccloud.com/x-zbcmdulfwqdeezrr] has joined #ruby
jmuniz [jmuniz!~jmuniz@pool-173-77-30-218.nycmny.east.verizon.net] has joined #ruby
danheberden_ [danheberden_!~danheberd@li225-35.members.linode.com] has joined #ruby
duey [duey!~duey@duey-2-pt.tunnel.tserv3.fmt2.ipv6.he.net] has joined #ruby
theRoUS [theRoUS!KenCoar@apache/committer/coar] has joined #ruby
Apocalypse [Apocalypse!~Apocalyps@apocalypse.darkvoltage.net] has joined #ruby
Apocalypse [Apocalypse!~Apocalyps@unaffiliated/apocalypse] has joined #ruby
vandemar [vandemar!nonserviam@2001:470:1f10:56b::4] has joined #ruby
joedeso [joedeso!~joedeso@82-69-100-73.dsl.in-addr.zen.co.uk] has joined #ruby
catphish [catphish!~catphish@2001:9d8:2005:11:222:15ff:fe88:aae2] has joined #ruby
michaelh_ [michaelh_!~Michael@c-98-213-112-209.hsd1.il.comcast.net] has joined #ruby
thorncp [thorncp!thorncp@2600:3c01::f03c:91ff:fe93:d182] has joined #ruby
ChampS666 [ChampS666!~ChampS@wlan1-33.zw.fh-zwickau.de] has joined #ruby
SirFunk [SirFunk!SirFunk@2600:3c03::f03c:91ff:fe93:11b3] has joined #ruby
thomasfedb [thomasfedb!~thomasfed@2607:f358:1:fed5:11:0:1399:1] has joined #ruby
Tick-Tock [Tick-Tock!~Tick-Tock@2607:f358:1:fed5:22:0:b683:4295] has joined #ruby
Bonkers [Bonkers!~matt@pool-108-27-21-239.nycmny.fios.verizon.net] has joined #ruby
andrewpthorp [andrewpthorp!~andrewpth@c-98-244-88-92.hsd1.va.comcast.net] has joined #ruby
<atmosx>
oh
<atmosx>
hmm
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
niklasb [niklasb!~codeslay0@p5B310A89.dip0.t-ipconnect.de] has joined #ruby
joedeso [joedeso!~joedeso@82-69-100-73.dsl.in-addr.zen.co.uk] has quit [#ruby]
nacengineer [nacengineer!~dsoutha@165.219.88.72] has joined #ruby
spinagon [spinagon!~rippa@87-253-25-211.pppoe.yaroslavl.ru] has joined #ruby
<Gate>
hm?
alfism [alfism!~alfism@2620:149:4:1201:84dd:bea4:bd87:dcd7] has joined #ruby
bier [bier!~bier@p54A5AA04.dip.t-dialin.net] has joined #ruby
Faris [Faris!~faris@41.140.99.201] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.240.93.138] has joined #ruby
rippa [rippa!~rippa@93-181-222-153.adsl.yaroslavl.ru] has joined #ruby
<theRoUS>
techhelp2: $: is like any other array, in that you can manipulate it; $:.unshift('foo') to put 'foo' at the front, etc.
<theRoUS>
Gate: indeed.
symb0l [symb0l!~symb0l@c-50-131-187-183.hsd1.ca.comcast.net] has joined #ruby
Pathou [Pathou!~androirc@156.30-224-89.dsl.completel.net] has joined #ruby
rippa [rippa!~rippa@93-181-222-153.adsl.yaroslavl.ru] has joined #ruby
bennett [bennett!~bennett@75-101-96-184.dsl.static.sonic.net] has joined #ruby
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby
bennett [bennett!~bennett@75-101-96-184.dsl.static.sonic.net] has quit [#ruby]
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
rippa [rippa!~rippa@93-181-222-153.adsl.yaroslavl.ru] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
veronatii [veronatii!~citrus@ip68-6-95-91.sb.sd.cox.net] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
hydrozen [hydrozen!~textual@modemcable110.38-37-24.static.videotron.ca] has joined #ruby
Mechanimal [Mechanimal!~kyle@69-165-150-69.dsl.teksavvy.com] has joined #ruby
badabim_ [badabim_!~badabim@17.245.89.92] has joined #ruby
invsblduck [invsblduck!~brett@173.227.0.2] has joined #ruby
adamkittelson [adamkittelson!~adamkitte@50.0.132.2] has joined #ruby
shadoi [shadoi!~Adium@c-71-202-122-8.hsd1.ca.comcast.net] has joined #ruby
<waxjar>
can i do something like new random_class, where `random_class = 'RandomClass'` ?
<Buck>
you mean extend an existing class?
<Buck>
or extend a random class?
<waxjar>
i mean instantiate a new object from a variable, i guess
<heftig>
sure
<heftig>
a = String
<heftig>
b = a.new
<rippa>
a = "String"
<rippa>
b = Object.const_get(a).new
<heftig>
b = Object.const_get(a).new
<waxjar>
cheers, thanks guys
<Buck>
there's a pretty clear echo in here
seanp2k [seanp2k!~likwid@208.69.120.120] has joined #ruby
Araxia_ [Araxia_!~Araxia@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #ruby
<seanp2k>
I know a big website (35TB/month traffic) looking for a RoR programmer. They're not corporate-y at all. They're in the media/entertainment space. Where should they post a job?
adamkittelson [adamkittelson!~adamkitte@50.0.132.2] has joined #ruby
ronniemlr [ronniemlr!~Ronnie@c-98-255-5-80.hsd1.ca.comcast.net] has joined #ruby
<Buck>
craigslist
josh_ [josh_!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
<seanp2k>
I told them about the 37 Signals job board. Where else do you all look for jobs?
llaskin [llaskin!~Leo@c-24-128-198-93.hsd1.ma.comcast.net] has joined #ruby
<llaskin>
neone here use jenkins? what do you have to have a ruby program send to STDout to cause jenkins to return a failure?
akem [akem!~akem@unaffiliated/akem] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
samsonjs [samsonjs!~samsonjs@S01060026f31b8198.gv.shawcable.net] has joined #ruby
parraline5750 [parraline5750!~haakd@nat/hp/x-rkajpkhqpfqkhtkb] has quit [#ruby]
<burgestrand>
llaskin: I believe all you need is to exit with a non-zero exit status
<zaargy>
isn't it configurable to check the build output?
<zaargy>
it's FAIL or something by default
iband [iband!~iband@111.104-54-92.telenet.ru] has joined #ruby
akem [akem!~akem@253.195.84.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
x77686d [x77686d!~whm@ip68-226-23-207.tc.ph.cox.net] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
Kavu [Kavu!~Kavu@ppp85-141-187-113.pppoe.mtu-net.ru] has joined #ruby
nd___ [nd___!~nd@mnhm-5f74d8b8.pool.mediaWays.net] has joined #ruby
<theRoUS>
anyone here ever use Net::HTTP with ssl and client certs?
mrsolo [mrsolo!~mrsolo@64.125.181.73] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@180.241.155.205] has joined #ruby
test_ [test_!~test@124-144-193-86.rev.home.ne.jp] has joined #ruby
xiaotian [xiaotian!~guoxiaoti@50.46.242.212] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
stephans [stephans!~stephans@76-217-209-24.lightspeed.sntcca.sbcglobal.net] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
llaskin [llaskin!~Leo@c-24-128-198-93.hsd1.ma.comcast.net] has quit [#ruby]
apeiros_ [apeiros_!~apeiros@77-58-113-31.dclient.hispeed.ch] has joined #ruby
Sailias [Sailias!~jonathan@206-248-172-164.dsl.teksavvy.com] has joined #ruby
<elliottcable>
Hey all.
czacha_ [czacha_!~czacha@bph159.neoplus.adsl.tpnet.pl] has joined #ruby
<apeiros_>
hi battlecollie
dasfugufish [dasfugufish!~Adium@174-27-233-214.slkc.qwest.net] has joined #ruby
czacha_ [czacha_!~czacha@bph159.neoplus.adsl.tpnet.pl] has quit [#ruby]
kreantos [kreantos!~kreantos@clnet-kmu02-090.ikbnet.co.at] has joined #ruby
czacha [czacha!~czacha@bph159.neoplus.adsl.tpnet.pl] has joined #ruby
czacha [czacha!~czacha@bph159.neoplus.adsl.tpnet.pl] has quit [#ruby]
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
minijupe [minijupe!~benlieb@75-136-116-109.dhcp.spbg.sc.charter.com] has joined #ruby
apok [apok!~apok@c-107-3-149-167.hsd1.ca.comcast.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
phantomfake [phantomfake!~i@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
stkowski [stkowski!~stkowski@ns25.8x8.com] has joined #ruby
bwright [bwright!~bwright@c122-106-254-100.belrs3.nsw.optusnet.com.au] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
<pdtpatrick>
In something like rib or pry .. how can one do the equivalent of say help(Dir.new) in iPython ?
<rippa>
what should that do?
paissad [paissad!~paissad@89-92-16-151.hfc.dyn.abo.bbox.fr] has joined #ruby
<pdtpatrick>
i just want a document showing how to use it
<pdtpatrick>
the module that is
<pdtpatrick>
and what the method does
<pdtpatrick>
btw -- rib == irb :(
<apeiros_>
I think pry has built in stuff to show help docs
<apeiros_>
but in general: ri Dir
<burgestrand>
pdtpatrick: pry allows you to do “? Dir.new”, thing is, not all methods are documented properly
<rippa>
try ri
phantomfake [phantomfake!~i@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
<apeiros_>
(ri is outside pry/irb, it's a command line tool too)
<pdtpatrick>
ahh looks like ri is close to what I'm looking for :) Thanks
<burgestrand>
ri is sometimes better, because pry goes on the source for the actual method
<burgestrand>
in pry you’d probably want Dir#initialize ^^
jbpros [jbpros!~jbpros@174-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
paissad [paissad!~paissad@89-92-16-151.hfc.dyn.abo.bbox.fr] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby
colossal7 [colossal7!~colossal7@174-27-216-191.slkc.qwest.net] has joined #ruby
shadoi [shadoi!~Adium@2001:5a8:4:68e0:8886:fedd:eae3:6254] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
nassosdim [nassosdim!~nassosdim@ppp-94-67-101-62.home.otenet.gr] has joined #ruby
vietnaam [vietnaam!~victor@187.174.205.9] has joined #ruby
n3m [n3m!~bla@91-115-37-198.adsl.highway.telekom.at] has joined #ruby
QKO_ [QKO_!~reaVer@83.98.249.142] has joined #ruby
voodoofish430 [voodoofish430!~mtorres@208.76.2.200] has joined #ruby
nassosdim [nassosdim!~nassosdim@ppp-94-67-101-62.home.otenet.gr] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
kreantos [kreantos!~kreantos@178.113.48.85.wireless.dyn.drei.com] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
kuzushi [kuzushi!~kuzushi@ip72-201-117-166.ph.ph.cox.net] has joined #ruby
prefque [prefque!599c4fa3@gateway/web/freenode/ip.89.156.79.163] has joined #ruby
<prefque>
guys, is there any tricks/tips about managing his own work office ?
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
btanaka [btanaka!~textual@17.245.90.210] has joined #ruby
PhilK [PhilK!~PhilK@108-94-166-51.lightspeed.sntcca.sbcglobal.net] has joined #ruby
nassosdim [nassosdim!~nassosdim@ppp-94-67-101-62.home.otenet.gr] has joined #ruby
rudyl313 [rudyl313!4c4f51a2@gateway/web/freenode/ip.76.79.81.162] has joined #ruby
jds [jds!~jds@188-220-60-85.zone11.bethere.co.uk] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
nonotza [nonotza!~nonotza@50-57-234-249.static.cloud-ips.com] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
davidpk [davidpk!~r00t@91.85.73.250] has joined #ruby
macmartine [macmartine!~macmartin@069-064-227-254.pdx.net] has joined #ruby
crankycoder [crankycoder!~crankycod@out-on-143.wireless.telus.com] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
strife25 [strife25!strife25@nat/ibm/x-dlykqockizapgcla] has joined #ruby
zwevans [zwevans!~zwevans@99-127-40-79.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
zulax [zulax!~radarwork@199.8.13.153] has joined #ruby
TheTFEF [TheTFEF!~JS@unaffiliated/thetfef] has joined #ruby
<fred>
if I have do_foo { do_bar } # is there a way for do_bar to tell it was called from inside do_foo, rather than top-level or do_baz ?
adeponte [adeponte!~adeponte@67.110.253.162.ptr.us.xo.net] has joined #ruby
<fred>
* a way that doesn't involve parsing 'caller' or similar
mikewags [mikewags!~mwagner@node0002.follett.com] has joined #ruby
* fred
has a hack involving callcc { |cc| throw :foo, cc } but I'd idaelly like to support jruby and rbx too
<headius>
I was going to say caller until I saw your second statement :)
<headius>
there is not
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
mikewags [mikewags!~mwagner@node0002.follett.com] has quit [#ruby]
<headius>
you could instance_eval the do_foo block on something that hooks do_bar
<headius>
do_bar will be called on your instance_eval self then
<pdtpatrick>
File.absolute_path was replaces by File.expand_path ? Sorry for the questions - coming from python. I did File.methods and didn't see absolute_path
crankycoder [crankycoder!~crankycod@out-on-143.wireless.telus.com] has joined #ruby
<apeiros_>
20'798 projects to choose from… which should I continue? :(
<yxhuvud>
rand
hooper [hooper!~hooper@204.28.122.20] has joined #ruby
<apeiros_>
I think I need more booze…
<headius>
I've argued that :: should be used as a shortcut for #method
<headius>
e.g. object::foo == object.method(:foo)
<apeiros_>
headius: oooh
nbjoerg [nbjoerg!~joerg@netbsd/developer/joerg] has joined #ruby
<apeiros_>
neat… missing that…
<nbjoerg>
can I interest someone in committing four small patches for the man pages?
MasterIdler [MasterIdler!~MasterIdl@75-119-246-223.dsl.teksavvy.com] has joined #ruby
<headius>
the fact that it invokes is kinda incidental and not typically used
<headius>
and unnecessary
<headius>
nbjoerg: you can submit patches at redmine.ruby-lang.org
<nbjoerg>
let me guess. I need to create yet another bug tracking account for that? :)
<apeiros_>
nbjoerg: wait a year and you can log in with facebook!
<apeiros_>
or so…
davidcelis [davidcelis!~david@70-89-180-6-smc-or.hfc.comcastbusiness.net] has joined #ruby
<nbjoerg>
apeiros_: that doesn't decrease the amount of work :)
<davidcelis>
Can you do `module << self` to enter multpile self attributes/methods as you would `class << self`?
<apeiros_>
davidcelis: you use class << self
<apeiros_>
modules have an singleton_class too
<davidcelis>
Ah, okay. Makes sense. Thanks!
<apeiros_>
davidcelis: also take a look at module_function
<apeiros_>
if you're making pseudo-functions, that's the way to go. it works like public/private/protected, in that you write it once, and all methods below it will be considered module_functions
cantbecool [cantbecool!~cantbecoo@38.98.246.130] has joined #ruby
luckyruby [luckyruby!~luckyruby@rrcs-24-129-162-10.se.biz.rr.com] has joined #ruby
<davidcelis>
I think class << self will end up being what I want. I'm essentially just trying to define a couple class methods on the module for an engine I am writing
<davidcelis>
I'm new to making gems/engines, though, so not entirely sure I'm doing this right: https://gist.github.com/1672173
luxurymo_ [luxurymo_!~luxurymod@rrcs-184-75-21-21.nyc.biz.rr.com] has joined #ruby
<apeiros_>
class-vars… if they were sane…
<davidcelis>
I'm pretty much learning by looking at other libraries on github :P
boodle [boodle!~boodle@174.46.129.34] has joined #ruby
zleslie [zleslie!~zleslie@puppetlabs/operations/zleslie] has quit ["WeeChat 0.3.6"]
slimjim [slimjim!~hatcher@cpe-76-183-99-6.tx.res.rr.com] has joined #ruby
pointyhat [pointyhat!~david@pool-96-233-74-49.bstnma.fios.verizon.net] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
__main__ [__main__!~main@adsl-99-173-15-158.dsl.pltn13.sbcglobal.net] has joined #ruby
strevat_ [strevat_!~strevat@c-24-128-190-16.hsd1.ma.comcast.net] has joined #ruby
<davidcelis>
I had started by requiring a gem called App that lets you keep app-wide configuration consolidated and not have to use global variables
<davidcelis>
then realized I should probably just be doing that myself, as it essentially does this same thing (class variables on the module)
<apeiros_>
davidcelis: just don't take stuff you see as to be granted to be "the right way"™
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
<apeiros_>
even (or especially?) rails source code has tons of hideous monstrosities in it
<davidcelis>
apeiros_: I'm usually pretty good at noticing when code is bullshit; this stuff seems okay with me
|PiP|` [|PiP|`!PiP@CPE68efbdb817c9-CM0011aea71a92.cpe.net.cable.rogers.com] has joined #ruby
<davidcelis>
But yeah, if something seems even a little weird I tend to go off and do more research on it
jlogsdon [jlogsdon!~jlogsdon@50.0.84.226] has joined #ruby
optikalmouse [optikalmouse!~user@bas1-toronto42-1279599710.dsl.bell.ca] has joined #ruby
<optikalmouse>
b
<davidcelis>
b?
scribbles [scribbles!~scribbles@addictedto.info] has joined #ruby
<optikalmouse>
davidcelis: messed up my ctrl key, meant to do C-x C-b in emacs ;p
<davidcelis>
haha
fayimora [fayimora!~fayimora@109.175.187.141] has joined #ruby
theRoUS [theRoUS!KenCoar@apache/committer/coar] has joined #ruby
<optikalmouse>
I don't understand why #ruby is dead compared to ##php, #emacs, #lisp, etc.
<apeiros_>
optikalmouse: so much less problems!
pantsman [pantsman!~pantsman@2.25.187.234] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
<apeiros_>
funny, ##php doesn't even have more people… it even has less? wow, that surprises me…
<rippa>
also #ruby-lang
<optikalmouse>
wow
<optikalmouse>
why the diff channels?
<apeiros_>
because we love diversity
<apeiros_>
also, we want to annoy people
optikalmouse [optikalmouse!~user@bas1-toronto42-1279599710.dsl.bell.ca] has quit ["ERC Version 5.3 (IRC client for Emacs)"]
<Phrogz>
Also, we want to feel elite and have the n00bs languish in here for a while. :p
<Hanmac>
and we play "go to the other channel"
<rippa>
it's like
<Phrogz>
AKA "Go ask your father."
<rippa>
#map and #collect
<rippa>
#find and #detect
<apeiros_>
I #reduce #inject
<rippa>
#find_all and #select
<rippa>
just because
<Hanmac>
"... we can"
<apeiros_>
we're such a helpful bunch of people :)
<rippa>
what's with all the /ect$/
<rippa>
#reject too
<apeiros_>
latin
<apeiros_>
the hidden conspiracy of languages…
GreaseMonkey [GreaseMonkey!~gm@121-73-182-130.dsl.telstraclear.net] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
jaysern [jaysern!~jaysern@108-90-40-248.lightspeed.sntcca.sbcglobal.net] has joined #ruby
adamjleonard [adamjleonard!~adamjleon@pool-108-9-169-222.tampfl.fios.verizon.net] has joined #ruby
|PiP| [|PiP|!~PiP@CPE68efbdb817c9-CM0011aea71a92.cpe.net.cable.rogers.com] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
jergason [jergason!~jergason@128.187.141.49] has joined #ruby
sand1 [sand1!sandpy@derp.ogtroll.com] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@46-64-51-175.zone15.bethere.co.uk] has joined #ruby
dross [dross!~dross@unaffiliated/dross] has joined #ruby
xiaotian [xiaotian!~guoxiaoti@4.30.138.134] has joined #ruby
Asher [Asher!~asher@98.158.127.150] has joined #ruby
<wroathe>
With Ruby 1.9 is there any reason to NOT to move from ASCII to UTF-8 for source file encoding?
LMolr [LMolr!~quassel@adsl-ull-242-226.42-151.net24.it] has joined #ruby
<burgestrand>
wroathe: yeah, if your source files are not UTF-8 :p
<dross>
Don't think it matters
nbjoerg [nbjoerg!~joerg@netbsd/developer/joerg] has quit [#ruby]
<dross>
unless you're working with unicode strings
<wroathe>
Hmm. Thanks.
dnyy [dnyy!~dnyy@c-98-237-138-38.hsd1.wa.comcast.net] has joined #ruby
<apeiros_>
wroathe: IMO no, there's no reason not to.
<dross>
if you're native language uses UTF-8, use UTF-8
<apeiros_>
languages usually don't care about encodings :)
<burgestrand>
use UTF-8 and never care again
<atmosx>
wroathe: just use the encoding: utf-8 line
<burgestrand>
unless you’re japanese
<atmosx>
or chinese
<dross>
apeiros_: clearly
<burgestrand>
but if you’re a predator you’re okay because UTF-8 has support for klingon
<burgestrand>
sorry, not predator, wrong universe
<atmosx>
hahah
<atmosx>
you got a bid mixed up
<atmosx>
omg
<atmosx>
bit/bid/s
* dross
yawns
* dross
goes back to his devops work
<dross>
apeiros_: 10 years later, I still don't see any need to attend an IT conference :)
<apeiros_>
?
* dross
started using ruby and visiting #ruby-lang since he was about 17
<dross>
apeiros_: tsume desu ;)
* mdmdm
loves the confreaks
<dross>
apeiros_: you must be getting old if you don't remember me
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby
<apeiros_>
I am getting old
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
<apeiros_>
I think you haven't been on for ages…
<apeiros_>
ah, wolfe
shadoi [shadoi!~Adium@2001:5a8:4:68e1:95a0:c843:81a6:756f] has joined #ruby
<apeiros_>
you rarely used dross back then
redgetan [redgetan!~redgetan@CPE0023bee17c0e-CM0023bee17c0b.cpe.net.cable.rogers.com] has joined #ruby
colint_ [colint_!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<mdmdm>
apeiros_: dont feel bad for getting old, its a good thing
<apeiros_>
I do feel bad for it. but probably not for the reasons you think.
* mdmdm
has been on irc since 97
<mdmdm>
not continuously of course
<apeiros_>
I think I beat you by a couple of years then
kpshek [kpshek!~kpshek@159.140.254.97] has joined #ruby
<shadoi>
wow, now I really feel old.
<dross>
apeiros_: I know ^^
<apeiros_>
shadoi: why? you remember gopher?
ChampS666 [ChampS666!~ChampS@p54B4DC62.dip.t-dialin.net] has joined #ruby
<shadoi>
unfondly.
<dross>
apeiros_: yes, wolfe, I can't remember my IRC pass to my old nickname :P
<dross>
dross is older anyway
<apeiros_>
dross: haha
<dross>
tsume was even older, but I pissed off Lorez and he deleted it
<dross>
Lorez is a real asshat
<apeiros_>
lorez?
<dross>
a Freenode op
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby
colossal7 [colossal7!~colossal7@174-27-216-191.slkc.qwest.net] has joined #ruby
minijupe [minijupe!~benlieb@75-136-116-109.dhcp.spbg.sc.charter.com] has joined #ruby
wedgeV [wedgeV!~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has joined #ruby
tectonic [tectonic!~tectonic@c-67-164-98-164.hsd1.ca.comcast.net] has joined #ruby
madmax__ [madmax__!~madmax@87-206-108-5.dynamic.chello.pl] has joined #ruby
<Keva161>
hi all, orry to be a noob but im trying to put a simple program together that will read a list of urls from a txt file and then test their uptime one by one and then output that status to another text file... first thing first though... need to find a way for Ruby to read the url.txt file... any help? im a n00b....
bafilius [bafilius!~lee@64.134.230.170] has joined #ruby
n8ji [n8ji!~n8ji@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
ilyam [ilyam!~ilyam@eng.nat.mtv.ooyala.com] has joined #ruby
z2fyza_ [z2fyza_!~gard@cm-84.215.22.0.getinternet.no] has joined #ruby
adeponte [adeponte!~adeponte@67.110.253.162.ptr.us.xo.net] has joined #ruby
gen0cide_ [gen0cide_!~TigerBloo@67-207-96-206.static.wiline.com] has joined #ruby
tectonic [tectonic!~tectonic@c-67-164-98-164.hsd1.ca.comcast.net] has quit [#ruby]
rushed [rushed!~rushed@cpe-70-116-11-35.austin.res.rr.com] has joined #ruby
BSaboia__ [BSaboia__!~brunosabo@187.58.93.236] has joined #ruby
adamkitt_ [adamkitt_!~adamkitte@50.0.132.2] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
BSaboia [BSaboia!~brunosabo@187.58.93.236] has joined #ruby
axl_ [axl_!~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net] has joined #ruby
crankyco_ [crankyco_!~crankycod@out-on-225.wireless.telus.com] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
LMolr [LMolr!~quassel@adsl-ull-242-226.42-151.net24.it] has joined #ruby
thepix [thepix!~pix@178-37-132-222.adsl.inetia.pl] has joined #ruby
alex__c2022 [alex__c2022!~alex@207.239.64.154] has joined #ruby
axl__ [axl__!~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net] has joined #ruby
bbttxu [bbttxu!~adam@pool-71-96-208-205.dfw.dsl-w.verizon.net] has joined #ruby
axl__ [axl__!~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net] has joined #ruby
indstry [indstry!~apple@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby
axl__ [axl__!~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
mengu_ [mengu_!~mengu@78.191.105.229] has joined #ruby
mengu_ [mengu_!~mengu@unaffiliated/mengu] has joined #ruby
axl__ [axl__!~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net] has joined #ruby
kpshek [kpshek!~kpshek@159.140.254.97] has joined #ruby
senj [senj!~senj@S01060026f323bcdf.ed.shawcable.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
indstry [indstry!~apple@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby
berkes [berkes!~ber@a83-163-58-51.adsl.xs4all.nl] has joined #ruby
kreantos [kreantos!~kreantos@77.117.224.81.wireless.dyn.drei.com] has joined #ruby
jbpros [jbpros!~jbpros@174-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
skaczor [skaczor!~quassel@mail.prognosoft.biz] has joined #ruby
macmartine [macmartine!~macmartin@069-064-227-254.pdx.net] has joined #ruby
tbrock [tbrock!~tbrock@74.113.160.178] has joined #ruby
bafilius [bafilius!~lee@64.134.230.170] has joined #ruby
thridchoice [thridchoice!~user@pool-96-233-74-49.bstnma.fios.verizon.net] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
danielpunt [danielpunt!~danielpun@ip120-238-211-87.adsl2.static.versatel.nl] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
minijupe [minijupe!~benlieb@75-136-116-109.dhcp.spbg.sc.charter.com] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
OnResolve [OnResolve!~OnResolve@204.238.128.100] has joined #ruby
bwlang [bwlang!~anonymous@70-91-134-14-ma-ne.hfc.comcastbusiness.net] has joined #ruby
stephans [stephans!~stephans@209.66.114.6] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
p1d [p1d!~p1d@dslb-088-064-143-094.pools.arcor-ip.net] has joined #ruby
vandemar [vandemar!nonserviam@2001:470:1f10:56b::4] has joined #ruby
mutewinter [mutewinter!~mutewinte@cpe-184-58-10-202.woh.res.rr.com] has joined #ruby
<davidcelis>
Keva161: check out File and IO on the ruby doc
badabim [badabim!~badabim@17.245.89.92] has joined #ruby
mutewint_ [mutewint_!~mutewinte@cpe-184-58-10-202.woh.res.rr.com] has joined #ruby
cobragoat [cobragoat!~cobragoat@69.37.118.64] has joined #ruby
cantbecool [cantbecool!~cantbecoo@38.98.246.130] has joined #ruby
madmax__ [madmax__!~madmax@87-206-108-5.dynamic.chello.pl] has quit ["Wychodzi"]
wroathe [wroathe!~wroathe@75-146-189-233-Minnesota.hfc.comcastbusiness.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-134-155.tukw.qwest.net] has joined #ruby
kpshek [kpshek!~kpshek@159.140.254.97] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@76-10-149-67.dsl.teksavvy.com] has joined #ruby
jackerran [jackerran!~jackerran@fw.luckie.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@168-103-234-144.ptld.qwest.net] has joined #ruby
davidpk [davidpk!~r00t@91.85.73.250] has joined #ruby
fayimora_ [fayimora_!~fayimora@2a01:388:201:3721:95db:a28:8e8b:3228] has joined #ruby
acadavid [acadavid!~acadavid@190.250.226.7] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-18-145.dsl.pltn13.pacbell.net] has joined #ruby
Jakee` [Jakee`!~Jakee`@5ad317fe.bb.sky.com] has joined #ruby
n3m [n3m!~bla@91-115-37-198.adsl.highway.telekom.at] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
asobrasil [asobrasil!~asantioli@palpatine.privatedns.com] has quit [#ruby]
ilyam_ [ilyam_!~ilyam@eng.nat.mtv.ooyala.com] has joined #ruby
jergason [jergason!~jergason@128.187.141.49] has joined #ruby
PhilK [PhilK!~PhilK@108-94-166-51.lightspeed.sntcca.sbcglobal.net] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
adeponte_ [adeponte_!~adeponte@67.110.253.162.ptr.us.xo.net] has joined #ruby
Gekz [Gekz!~brendan@115-64-60-202.static.tpgi.com.au] has joined #ruby
iDs [iDs!~YourNick@5e0e912d.bb.sky.com] has joined #ruby
cwd1 [cwd1!~cwd1@cpe-76-176-105-158.san.res.rr.com] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
<pdtpatrick>
Question -- why would one need to use data mapper vs the regular mysql/postgres module? require 'mysql' .. and just query the DB? Seems like data mapper is more towards if you are designing your database and then start adding data to it
baniseterfiend` [baniseterfiend`!~baniseter@118.82.185.158] has joined #ruby
strife25 [strife25!~strife25@cpe-098-026-018-050.nc.res.rr.com] has joined #ruby
nonotza_ [nonotza_!~nonotza@66.246.94.130] has joined #ruby
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
kpshek [kpshek!~kpshek@159.140.254.97] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-35-225-92.dsl.pltn13.sbcglobal.net] has joined #ruby
<examancer>
I am trying to use a command line utility (encfs) to mount encrypted directories programatically, read some files from them, and then close them. encfs prompts for a password. how would I go about sending the password to the password prompt?
<examancer>
there is no way to pass the password as a command line argument
<examancer>
I guess i'd have to write to STDIN somehow? not sure how to go about doing that
stepitime [stepitime!~stepitime@66.7.121.170] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
cousine [cousine!~cousine@196.221.245.118] has joined #ruby
bigkm [bigkm!~bigkm@60-241-223-44.static.tpgi.com.au] has joined #ruby
minijupe [minijupe!~benlieb@adsl-74-243-183-66.ard.bellsouth.net] has joined #ruby
<jcromartie>
examancer: are you sure encfs doesn't take a password as a command-line option?
<jcromartie>
examancer: anyway, you can access the STDIN of a process using popen3
<jcromartie>
looks like you need to pass -S to encfs too
<jcromartie>
encfs goes to some lengths to make sure you don't store passwords in files or scripts… although you could just echo password | encfs -S
<jcromartie>
:P
danielpunt [danielpunt!~danielpun@ip120-238-211-87.adsl2.static.versatel.nl] has joined #ruby
max_ [max_!~max@c-71-204-121-215.hsd1.ga.comcast.net] has joined #ruby
Hanmac [Hanmac!~hanmac@p50844F07.dip0.t-ipconnect.de] has joined #ruby
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@67.139.75.158] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
stepitime [stepitime!~stepitime@66.7.121.170] has joined #ruby
<examancer>
jcromartie: thanks a ton. getting better at unix, but redirection still confuses me sometimes. should have done `man encfs` and found the -S option
dkannan [dkannan!u480@gateway/web/irccloud.com/x-ulhyrsrvprierpaz] has joined #ruby
shaatar [shaatar!u648@gateway/web/irccloud.com/x-kgypbimkhctupwtw] has joined #ruby
xiaotian [xiaotian!~guoxiaoti@4.30.138.134] has joined #ruby
moeSeth [moeSeth!u1029@gateway/web/irccloud.com/x-mcdsphxcvkdnpeiq] has joined #ruby
Amnesia [Amnesia!~Amnesia@unaffiliated/amnesia] has joined #ruby
<Amnesia>
how would I be able to have some value in my terminal to be reprinted every time
<Amnesia>
for example
Chinois8 [Chinois8!~greg@s15769874.onlinehome-server.info] has joined #ruby
MoMo [MoMo!u1590@gateway/web/irccloud.com/x-vhbltrcxzdjwngjl] has joined #ruby
<Amnesia>
(which also is a dirty hack)
<statix>
I have an array of arrays like this [[1, "a"], [4, "b"], [2, "g"], [3, "z"]] -- I want to join the inner arrays by tabs ("\t") and the outer array with newlines ("\n") .. how could I go about that?
Chinois8 [Chinois8!~greg@s15769874.onlinehome-server.info] has quit [#ruby]
kapowaz [kapowaz!u546@gateway/web/irccloud.com/x-cxyyqepxfskkozgl] has joined #ruby
relix [relix!u2146@gateway/web/irccloud.com/x-ekvhhhbkpnlwfpgs] has joined #ruby
spanner [spanner!~quassel@128.249.96.10] has joined #ruby
ilyam [ilyam!~ilyam@eng.nat.mtv.ooyala.com] has joined #ruby
<Amnesia>
anyone on printing stuff and updating just one part?
stepitime [stepitime!~stepitime@66.7.121.170] has joined #ruby
<statix>
I think just this did it: puts arr.map { |line| line.join("\t") }
pusewicz_ [pusewicz_!u2036@gateway/web/irccloud.com/x-radclzdofubkmclo] has joined #ruby
<statix>
This rather: arr.map { |line| line.join("\t") }.join("\n")
<examancer>
yes, that works too since puts accepts an array inputs and outputs one-element-per-line
<statix>
Thanks examancer
<statix>
I was trying with each, but I guess map does it
stepitime [stepitime!~stepitime@66.7.121.170] has joined #ruby
srid [srid!u3297@gateway/web/irccloud.com/x-zpngrmbrmqmfigdm] has joined #ruby
srid [srid!u3297@unaffiliated/srid] has joined #ruby
srid [srid!u3297@gateway/web/irccloud.com/x-zpngrmbrmqmfigdm] has joined #ruby
<examancer>
Amnesia: I'm sure there is a way, but I don't know the proper escape characters... not very familiar with that level of console coding, unfortunately
davidboy [davidboy!u3228@gateway/web/irccloud.com/x-bkhywpkxlipbdwve] has joined #ruby
<Amnesia>
hmkay
<examancer>
guess you're looking for control characters, not escape characters... either way i'm not very familiar
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-aoeyowuoajfktdus] has joined #ruby
<Amnesia>
hm \r maby..
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-xfsfmbhpkwugdxch] has joined #ruby
T-Gunn [T-Gunn!T-Gunn@ip72-220-193-4.sd.sd.cox.net] has joined #ruby
<reggal>
answer me
<reggal>
damn assholes, I SAID ANSER ME!
<reggal>
damn assholes, I SAID ANSWER ME!
ckrailo [ckrailo!~ckrailo@208.86.167.247] has joined #ruby
<reggal>
Slaggy mc pit street. Hustler hova heeva Chickova heeva ova heeva. Braxalarian blalalxrals. snuggity rab rab rabbits. Snuggies aren't selling anymore. most people don't know what a "snuggie" is. Halla micka wheel wyaujtkchtpt.
<T-Gunn>
i have ruby 1.8.7 on centOS on my VPS.. i want to upgrade to the latest.. do i have to uninstall the current version?
<reggal>
Spagga miffa liffa leggin. Terry baloris trickaleggal. Sequester mlajjap eastro diz hamta wan ta licka holmus preed. Scatty picka loon dunes. Hoakalin McGregoar. Roddy McFlyer. Hillie Midge Millik! Arfie McChaffer Chickababy
<reggal>
Milla jalaoft jitch breakfast Peef pond pallooleol babble. I had to have sex in diapers! I HAD TO HAVE SEX IN DIAPERS! diaper sniper days, everyone knows about sex. it pays when my nickname used to be snake.
<reggal>
Puritalin baggy of gunk. my name's not tristan it's rastan. rallin for null like a holdy hook black ann. Tiny tim, dick ass whim. Shaloody shlock braze made. Pullilcoch dravinarial balactal guarns.
<reggal>
Albatross doog ee rook rack egg. Wanny manilnorf traggat muh hilli hole back street pormande usft vadinal deena. sex with a shoogie look laygie. Zellamanorf worf wallow. isn't that up the street?
<reggal>
Shlagg lagg McNellanorf. I'm a jalooch jooch jeggal jalalicker. Tricky ass jillickers. Dev dev developers and wheat. /jalack a mic taxle\ juki al juba nas wat eerie fun, jest maleel oo had, lala in mackmod. Fifty tramps.
<reggal>
Mister Doofie's diapers. Pahole hell wack pahole hell paiper. jegga rilla ma jorf. plack a pleek meladromic mezzistove tricky the band needs a tan no one cares about care bears eatch mizzle tag the mazer milojprafft malidge praft
<reggal>
Mahole hack mellow the wiper. Milla janil. plex kuying flying trev plegs. Jaloffin Jalillobie. I'm in your cement. Parudgy rij jelellolebob. blanky rich fandestriovon. Galaxio trabble. Hef a heavy hompfrin pole. Jalooshitty scrooch
<reggal>
I've got more track ass gangsta shit than you could ever come up with.
<reggal>
Calej loft ridge muh gorrie mack. Citaldroff metahynoon rickardo Pren pen parillo. nargofio gaxal fargothik well wheaty exiliant the meeky Pargrether the doplin underniner jockliship striffy Pallatoonie prudence palaxoiriot. Putty cad adt red et snooper dooper
<reggal>
Margy mixalef a lig dwarf. We're talking about real life gellairio sects here. Rang brang brelladge maneer. Turtikle jellejej galaxial protowaxial blove ass ween thiggle mannella muh norf. Partruzhion kopuxtin here we work at emeny bes baas tookany benna bastard bookanees.
<reggal>
Maluj slij jalilahole. Kanga tilla to pleck. Hajjamellion morph clepicon. Giffy maga drellapator texel. Angellico padge prella rarian plarian reggal baddle. Pash pa helican, padge wathfond wallow maneel. Midge muh jih murathum.
<reggal>
Isopolavial interface. Four times the square root of the intermix ratio. Uglefrin. No comment. Throat a pelly rouch a pellax. Belchers bonans Pledge pledgy teddeliton. Fusing petons with jekeley hoe whip. Prellej whip masty snacker. Prestige rella hoe with buffo whoops.
<reggal>
Duvida tess miss ravakajeerion. Parjoonie a gone rufita snaftal. Hasons honishers pargonial vell of the whip Puck a toony twayster. Hella mikcrest of a momajamish yearns to the mucky twayster ess pee ain ein prepare for launch rut dat gat mabah marron. Pargosy man jellots maran. Deemed honshman
<reggal>
Mella mic toadis. Jempy karbozilajz. Packrestial poolio payil. Pug giga ran, pugogga rist, pagegga wreth. Ant beyond my cheeves. I'm the son of god, I'm the son of man. Parhexial reggal martillago meg regs. Shlug shluh liggeran rapsh nazh. Chunnif mahayver Sonic shaffer
<Seventoes>
wat
<reggal>
Hom jaref shpoot like a shpanker. Drelek meek mekhomie hahnalillalie hej magellomie moog scriggat the rotch def fohkood. Helledge ah-rood! Helladge hick death Twiddle ee lit amamo ahamo. Ledgy pledge ih ma thelicroth. So king haneez, praise kinga knees. Seminole. Sermon off.
<reggal>
Hump dip a dub, I've got the force you're a scrub... Hump dip a dub, you're being forced as a scrub. Get some cum from sex and make pancakes. Haffa jarem powder mixed in with semen. Haffa jarem like a shpoodie shpoot spanker
<reggal>
Scrella malorf wheel wall. Canethnical skrothaj. Partans ass wheel. Partent mohzhoost. Pins jumps with knifer knaves. Ruv div dah vompfin hompfin! Ruv duvivida momfin homfin.
<reggal>
Rella cavity mah heel hole. 0helej mah heel hole. Scrak a cracky MC Mellej Geeky a man smellej. Sniggity up dagger waath. Poh tain master peen hole. Pagamarian spagamagelleck. The micro ween. Hogalagarin meffrin.
<reggal>
Huv divva hompfin stompfin. Naw Knawl squezzel lezzel lah doo dee dooooooooooo. Commander McJelleker. Jeckalie jooch. Naw squezzel naw dee dway knoth! I'm thinking about partankiyan.
<reggal>
Hub dave dellavonathzhal seeky selliky non vohanssen. Shmellik o daggal. rarny trastalarian po tranamonathal. Tranamoe lathah mo miggaliggal. Larry plellamonathal.
<reggal>
Tego plellio plaxal. The paxans. The Betazed. The piss on a ween ward. The megropack. Poluka maxan high chefner. Picard to Gamma Aridon! Gamma Arridon here!
<reggal>
Jello scrap baroom of hushkin Glorily al thrushin Reen ron pliggita plaggity. Munchala cleek a hogrin meffrin. Trallawin trillicker. Tellamarial threlliol threck. 0
<reggal>
Am an schillibolist a fillibolist ba wack. Wrench a doof a deef a dumpfing. Put down the pacifier. Put a pin cushion under someone's foot. Bam ban can't ban cannablist baleivar.
Firebolt [Firebolt!sactage@countervandalism/staff/Sactage] has joined #ruby
<reggal>
Sammy slick as lots of pep I'm feeding on my dumper daves. Krempy mella kamek Hippa tra la the to pump all weevil. Wavity Indenture the adventure char plaggy o maxal
<reggal>
Pitin footmahoun meglal parry pleggalomrek wrel dukith rallah rallakef rallaketh my na't is keih keith juba dooki dooki layber lumber boned dry
<dubellz>
reggal: hey could you shut up?
<reggal>
Soemtimes I eat sometimes I trives? &doesn't work& clally megalomaxel randolph jukes rarry plellage o-rellage-o-ram Crary mella crolaftrin Baft a trolley tumbloup al a poloron beam Mellacrometh Shifty Mudge-eh-muhrathal sexworks
<reggal>
Slick a la rig. Rillie ma rej relleketh chumpin up to sars I wonder what it would be like to go up thayer, Pouin dub meebilow mobs. Baleent ass blub. Mego meerio mibs.
<reggal>
Allergic to wheat bread! Chigga loah dee cheagy Konifiable plunkin. Exipalgial marplaxal proodin without a preen gog a romy a reffrin trexxaleck elprher oxrimorinder. mining for marria muns.
<reggal>
Fleg a deggy a nefran. Ikaolapu bressnog. Tivit xix toag plix. chapter of relekesh Ralph a billy blaylee! Renna puh taah tee twixter. Rezamaloo salt, jedda ma loo salt school. Skant skade.
<reggal>
Ralla glooky glarg mech. Trec Trek Trellaleck! Maggithied pie. Plaxy jallab ro gallicher. Jallacrith joe jallallicker. Fram from a vellon piece. Plaxie plarillaralobe chaser.
<reggal>
There aren't many worlds left to explore. We all get hooked on World of Warcraft, but then we're bored! Better off playing Phantasy Star Universe or Runes of Magic I'd say
<reggal>
Repalep tep tarep. Pruda pila peran palmus pran. Pruda pila perin palmus pran. Squeej rellaj. Breath width
<reggal>
Traglamarian brexwith. It's just another day without meatballs. Scrary o chasms doaper dave. Reen lin huh rin holy have. Maloo polaty plegidteftytedddleton. Billy knalavolitz i survived hershowicz. Goan gearing my groon. Groan rearing my grouch nards.
<reggal>
Trexel mairio babble. Boon daddy booty blalocks. Aren't going to quit? Tralalelly oh gregs! Truck ack paragontquin. Tranx gralallellian grouping. Berry berry narry nas, barry hoo, barry bas. AH AH AH AH rah rah rah rah rudda deh nah doo doo, boom bood a boot dood.
<reggal>
Trally glally jrehr lallaf. Married berry berry nas, harry boon, nanner bas. Ahf! Ahf! Ahf! Ahf! Layer praxool! So many back to schools. I'm rapier. I'm gonna rape her. Some artsy fartsy kind of stuff. You should write a book about preventing farting. A guide to avoiding farting.
<reggal>
Gore gearning my krans. Feela fool lo expanse. Til my bed med hende Mars. Shink a dink of dozens. Larly ballellacraft. Rump raiders, ass bandits, and cheese nitwits.
<reggal>
Trarly clookly bagel! Maneerial map. Rar gooky gookky barg ak! Ralph billy balf billy Larly laprejlarin. Ralph billy balf billy Larly laprejlarin. Rellamalloo trej nords. I'm picking my needles.
<reggal>
Olegvranseef van vrans a la lan. Rugga reg trella la meck. Plood a luck a loody loody poon. Plood a luck a lady. Ifterty toujolity dzhamellegsh.
<reggal>
Olegvranseef van vrans a la lan. Rugga reg trella la meck. Plood a luck a loody loody poon. Ifterty toujolity dzhamellegsh.
<reggal>
To the black man watching well it isn't true! Nice rice big and black, jail times a jookie rhymer black is black. A JOOKIE MIMER!
<reggal>
I can't siffy siffy splain it. Siffy siffy xplain it! Jal jol jalah lalah larry smith johnson! Hickalikaliggal to the marrionoddal. Hickapleekaploggy marriodettal. Shlagalarry-o dettal.
<reggal>
Flagalary difty david. Chikapleekaplocky puararan blocky bag of bunk. Aurstralian frost. Huff puff ruff uff. Eerie hire playmus gay. STOP THAT ROACH! Roachalarian thregnargs
<reggal>
Chixaplerean tarood duelis. Hunk and dunk of dignorgs. throtaparry lellabrass. Throwtaparallelly roachapralaxx
<reggal>
Shlallie a loon to the hep t3p poons. Ragularian Beetle snuff. Rump tastin teddy grahams.
<reggal>
Chag a lelly awl praxal. Ragrahrary ro jub. Huck a lick a loon, baby tunes. Huck a lick a boon toon. Zhar blaly ograxal. Traritectorial blecx. Shlollie-o laxal.
<reggal>
Just like the ragulariabuub It's the sintani of tantani tatit tatus We look like satanus plaxuis presiduous praxans gralaxion bhratchan
<reggal>
Boom bam badda bing bog bonk. Harsha trashian helegor skrapple. Shlitty shaddy shpageddi in a street cart. Virtual dampers throw with trouble. 1 MHz chips bust your bubble.
<reggal>
Megamarian magapaxle. Pickalicka loon. Potato juice. Pebble jitch transplanckyourism Upper vica vundowns. Don't you jelelly jallaaf my terrified tellers. One of those tellarian elvhorns.
<reggal>
Crab rab jalilickers Shoopha faily blocx nix Qasat Treggy a laxel terroritollimus racx doawn. Black down tround.
<reggal>
Picka licka loon picka tradey toons. I'm almost there. Ee buff DAY I'd say! I'm a mmr mmr I'm a ellise viel tpvice.
<reggal>
The baffy hoes where I don't know. The thunder wear it's called ballow boe. Pecka chicka tragalah laah tic pam pic beetle bum
<reggal>
Shuckin like a jack ass, my proto's baister I'm feelin clean, some jello whip and some chick'n cream. Another scene release by CHiCNCREAM. McShleggegg
<reggal>
Canker pegger. Pluck a loon paddy poon prunes. Rum biddy bada boom, boom! Rum biddy bada boom, boom!
<reggal>
Ruggity dugging. I'm thinkin' about rump damns, tricka licka lay-day! Hold up, wait a minute, let guy smiley come to rump roast. While we playin' it's totally not toast. Come on everyone, it's on Friday's news!
<reggal>
A Romulan Praetor, a masterbator, rih dih deh doo! Super guy! Aarfie McShmelegg to the rescue! Paddy poon prunes. han wantifinuhl scroons. Arthur McGreggegg
Asebolka [Asebolka!~Asebolka@c-174-59-146-170.hsd1.pa.comcast.net] has joined #ruby
<reggal>
Rep trep tricka-lork to the rup tup tays. Shiddy daddy ding bag. Ron terrier rat! Rond badaag rig. Ron a trary ole meh! Rum baddad rig.
<reggal>
Aah well, hep tep rains again. Sara tara tolmus preed. With or without meatballs. Does anyone helpa with a floot bot? Tragalarian plexels. Tricker Protractor.
<Seventoes>
I see no channel ops logged in -_-
<reggal>
Abis tripolis helmis -- What am I thinking decka dig nork!
<reggal>
I'm thinkin' about reggity diggal... I'm thinking about reggity dickhole! I'm thinkin' about reggity diggal... I'm thinking about reggity dickhole! I'm thinking about jeggity jibbers
<reggal>
Shnebbity shnub up bam bam. Ar cor you insufferable menace, ar cor waal wheel woal. Ee buff day I'd say.
<reggal>
\\\\\\\\\\I come up with more original material in 30 minutes than this entire channel does in a week.//////////
<reggal>
When I'm thinkin about the greg nargs, I'm thinkin about you! I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you!
<reggal>
I'm thinkin' about the greg nargs
<cantbecool>
Great, someone wrote a irc bot.
<reggal>
You're thinking about the greg nargs
<reggal>
I'm thinking about the greg nargs
<reggal>
I'm thinkin' about you!
KindOne [KindOne!KindOne@colchester-lug/silly-fool/donut] has joined #ruby
<shevy>
thanks marienz
<Seventoes>
tyvm
<Boohbah>
thanks marienz
redgetan [redgetan!~redgetan@user134-111.wireless.utoronto.ca] has joined #ruby
<banisterfiend>
never heard of marienz before
<banisterfiend>
;)
nari [nari!~nari@2001:268:306:1:18f0:a3ff:fee8:4d96] has joined #ruby
<Firebolt>
he's a staffer
<marienz>
no problem, but the ops for this channel really should add freenode staff to the acl here, or add more ops
<banisterfiend>
yeah, never seen him
kloeri [kloeri!~kloeri@freenode/staff/exherbo.kloeri] has joined #ruby
<Boohbah>
marienz: i don't see many ops around here usually
<marienz>
using my cheatcodes for this kind of thing isn't really supposed to happen
* jrist
hugs marienz
<banisterfiend>
oh, a freenode staff
<banisterfiend>
cool
<banisterfiend>
marienz: feel free to add me as op :P
<marienz>
banisterfiend: ask the existing actual ops :)
<T-Gunn>
i have ruby 1.8.7 on centOS on my VPS.. i want to upgrade to the latest.. do i have to uninstall the current version?
<Boohbah>
sepp2k fflush apeiros, are our ops
elliottcable [elliottcable!~me@ell.io] has joined #ruby
<Boohbah>
T-Gunn: uninstall 1.8.7 and build latest source
redgetan [redgetan!~redgetan@user134-111.wireless.utoronto.ca] has joined #ruby
KindOne [KindOne!KindOne@colchester-lug/silly-fool/donut] has quit [#ruby]
<T-Gunn>
how do i uninstall ? yum erase ruby ? that didnt work for some reason
adamjleonard [adamjleonard!~adamjleon@pool-108-9-169-222.tampfl.fios.verizon.net] has joined #ruby
<jaysern>
after i set rvm --default use 1.9.3, which ruby shows /usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby. but when i open a new terminal window, it goes back to /opt/local/bin/ruby (and they're different binaries, not symlinks). how do i make this change permanent? trying rvm use 1.9.3 as root tells me "RVM is not a function, selecting rubies with 'rvm use ...' will not work."
<Boohbah>
banisterfiend: i think you would make a fine channel operator, we just need to find fflush :)
<Gate>
Ah, script kiddies. Incompetent and demanding.
<banisterfiend>
Boohbah: hehe
sdferfx [sdferfx!~jeff@gateway/tor-sasl/sdferfx] has joined #ruby
<sdferfx>
what does it mean when a variable si prefixed with @?
Firebolt [Firebolt!sactage@countervandalism/staff/Sactage] has quit ["My friend, do you fly away now? To a world that abhors you and I? All that awaits you is a somber morrow."]
<michaelh_>
i want to generalize an overridden ActiveRecord setter i wrote. i'm having trouble understanding how to decouple it from the specific column name (e.g., right now it is date=(_date) but i'd like it to work with whatever column name the user's chosen.)
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
BSaboia__ [BSaboia__!~brunosabo@187.58.93.236] has joined #ruby
<Boohbah>
sdferfx: there are also class variables, prefixed with @@
<banisterfiend>
sdferfx: if not prefixed by an @ it could either be a local variable, or a method invoked without parantheses
<sdferfx>
I am just used to calsses being instance variables by default, I'm not sure how they could be a typical "local" variable if they are defined as part of a class outside of a method
<banisterfiend>
parentheses
<banisterfiend>
sdferfx: because class body can contain any executable code in ruby, so you can invoke methods in there, define locals, etc, anything you awnt
<banisterfiend>
want*
<Boohbah>
for static variables you want a constant