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/
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
mdel_ [mdel_!~mdel@pool-173-49-56-94.phlapa.fios.verizon.net] has joined #ruby
austinbv [austinbv!~austinbv@29-133.127-70.tampabay.res.rr.com] has joined #ruby
xissburg [xissburg!~xissburg@187.3.1.32] has joined #ruby
apok [apok!~apok@adsl-99-24-220-190.dsl.pltn13.sbcglobal.net] has joined #ruby
<fgro>
Time wday method return Sunday as first day of week with index 0. Is there a way to change this to Monday?
<heftig>
fgro: that's fixed.
tomzx [tomzx!~tomzx@dsl-216-221-32-204.aei.ca] has joined #ruby
dcarper1 [dcarper1!~Adium@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
sarkis [sarkis!~sarkis@cpe-72-134-22-221.socal.res.rr.com] has joined #ruby
sarkis [sarkis!~sarkis@unaffiliated/sako] has joined #ruby
samuel02 [samuel02!~samuel02@90-229-146-118-no193.tbcn.telia.com] has joined #ruby
pabloh [pabloh!~pablo@186.22.82.39] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
TandemAdam [TandemAdam!~TandemAda@203-114-137-9.wir.sta.inspire.net.nz] has joined #ruby
apucacao [apucacao!~apucacao@S0106602ad075859e.vc.shawcable.net] has joined #ruby
wookiehangover [wookiehangover!~wookiehan@c-67-161-138-118.hsd1.co.comcast.net] has joined #ruby
austinbv [austinbv!~austinbv@235-187.96-97.tampabay.res.rr.com] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
canton8 [canton8!~canton7@87-194-161-58.bethere.co.uk] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
Skaag [Skaag!~Skaag@m872536d0.tmodns.net] has joined #ruby
LittleBill902_ [LittleBill902_!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
yfeldblum [yfeldblum!~Jay@c-71-206-30-119.hsd1.md.comcast.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
jarjar_prime [jarjar_prime!~mjarjoura@50-76-61-133-ip-static.hfc.comcastbusiness.net] has joined #ruby
marknyc [marknyc!~Grom@207-237-59-125.c3-0.elm-ubr1.qens-elm.ny.cable.rcn.com] has joined #ruby
jwinter [jwinter!~user@pool-71-188-107-196.cmdnnj.east.verizon.net] has joined #ruby
mikepack [mikepack!~mikepack@c-174-51-77-22.hsd1.co.comcast.net] has joined #ruby
Stormbytes [Stormbytes!~Stormbyte@ool-4572b631.dyn.optonline.net] has joined #ruby
colint_ [colint_!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
baroquebobcat [baroquebobcat!~nick@c-67-176-80-121.hsd1.co.comcast.net] has joined #ruby
Tachyon [Tachyon!tach@tachnb.kolej.mff.cuni.cz] has joined #ruby
rmoriz [rmoriz!~rmoriz@vm.io] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
adishanbhag [adishanbhag!~chatzilla@49.249.114.78] has joined #ruby
<adishanbhag>
So just started learning ruby and would like some guidance on how to best handle this in a erb.....
Jarred [Jarred!~Jarred@c-71-198-139-210.hsd1.ca.comcast.net] has joined #ruby
<adishanbhag>
i have a array with element a1, a2, a3,.....
<adishanbhag>
need to make a single string out of it .... value = hash:abc/a1 hash:abc/a2 .. so on
<adishanbhag>
any pointers
nanoyak [nanoyak!~nanoyak@adsl-69-110-31-236.dsl.pltn13.pacbell.net] has joined #ruby
LittleBill902_ [LittleBill902_!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
geekbri [geekbri!~geekbri@pool-173-48-214-2.bstnma.fios.verizon.net] has joined #ruby
crescendo [crescendo!~eric@cpe-065-190-084-025.nc.res.rr.com] has joined #ruby
crescendo [crescendo!~eric@unaffiliated/crescendo] has joined #ruby
<geekbri>
Is it possible to have an unlimited number of arguments with optparse? I want to do something like --tag key1:value1 key2:value2 key3:value3 and have them be stored in an array. I tried opts.on("-t","--tag keys",Array,"Filter by TagName:TagValue") do |tag| but it doesn't seem to be anywhere near correct :)
mc_mac [mc_mac!~chatzilla@98.156.61.61] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
mc_mac [mc_mac!~chatzilla@98.156.61.61] has joined #ruby
<Jarred>
Anyone here have experience with Zeroconf?
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
bwright [bwright!~bwright@c122-106-254-100.belrs3.nsw.optusnet.com.au] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@64.254.250.82] has joined #ruby
zalesz [zalesz!~zalesz@user-164-127-169-93.play-internet.pl] has joined #ruby
Monie [Monie!~Monie@unaffiliated/monie] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
Araxia_ [Araxia_!~Araxia@c-24-22-63-1.hsd1.or.comcast.net] has joined #ruby
Dysaniak [Dysaniak!~user@pfsense.hackerdojo.com] has joined #ruby
MetaCosm_ [MetaCosm_!u514@gateway/web/irccloud.com/x-rlnpgswamlckgwec] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-15-43.cable.teksavvy.com] has joined #ruby
Targen_ [Targen_!~iguana@190.39.181.108] has joined #ruby
<Dysaniak>
What's a good way to save a hash to file, then load that file into a hash again?
bigkm [bigkm!~bigkm@203-206-185-71.perm.iinet.net.au] has joined #ruby
<Dysaniak>
File.open('tribes.txt', 'w') {|f| f.write(tribes) } does what I expect it to,
<Dysaniak>
But tribes = IO.read('tribes.txt') comes back as a string.
<Dysaniak>
With all the " inside the hash getting escaped.
<Dysaniak>
Instead of {o=>{:name=>"Alpha", :status=>20}, 1=>{:name=>"Beta", :status=>-3500}}
daniel_hinojosa [daniel_hinojosa!~danno@c-68-35-182-153.hsd1.nm.comcast.net] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@174-27-218-195.slkc.qwest.net] has joined #ruby
p0y [p0y!~p0y@112.210.58.193] has joined #ruby
spike2251 [spike2251!~user@c-76-24-24-228.hsd1.ma.comcast.net] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
Mon_Ouie [Mon_Ouie!~Mon_Ouie@81.244.204.135] has joined #ruby
Mon_Ouie [Mon_Ouie!~Mon_Ouie@subtle/user/MonOuie] has joined #ruby
tomzx [tomzx!~tomzx@dsl-216-221-32-204.aei.ca] has joined #ruby
Natch| [Natch|!~natch@178.73.218.209] has joined #ruby
<robyurkowski>
Dysaniak: I like saving to yaml
<robyurkowski>
i.e. save is File.open('tribes.yml', 'w' {|f| f.puts(tribes.to_yaml) }
<robyurkowski>
and reload is tribes = YAML.load(File.open('tribes.yml'))
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
stephans [stephans!~stephans@76-217-209-24.lightspeed.sntcca.sbcglobal.net] has joined #ruby
LittleBill902_ [LittleBill902_!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
<Dysaniak>
robyurkowski: Thanks, I'll try that.
abstrakt [abstrakt!~abstrak1@gateway/tor-sasl/abstrak1] has quit ["Leaving"]
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
<Dysaniak>
robyurkowski: Is there a gem I've got to require in a script to run this?
<Dysaniak>
robyurkowsi: .to_yaml, I mean.
<Dysaniak>
Doesn't look like it.
nari [nari!~nari@raichu.netlab.jp] has joined #ruby
<davidcelis>
he left a while ago
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
<Dysaniak>
I just keep getting 'undefined method,' and I suspect that's some kind of library I haven't got, or I haven't pointed to...
cconstantine [cconstantine!~cconstant@c-24-130-112-59.hsd1.ca.comcast.net] has joined #ruby
<Dysaniak>
About 10 minutes, I guess, yeah.
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
Nisstyre [Nisstyre!~yours@infocalypse-net.info] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
<thoughtfusion>
require 'yaml'.. if you're still interested / haven't figured it out :)
adishanbhag [adishanbhag!~chatzilla@49.249.114.78] has quit [#ruby]
mikepack [mikepack!~mikepack@c-174-51-77-22.hsd1.co.comcast.net] has joined #ruby
nari [nari!~nari@2001:268:306:1:f2de:f1ff:fe55:2de0] has joined #ruby
Nanuq [Nanuq!~nanuq@cave45.ecks.ca] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@c-68-35-182-153.hsd1.nm.comcast.net] has joined #ruby
<Dysaniak>
thoughtfusion: Thanks. That got me another step further!
Natch| [Natch|!~natch@178.73.217.166] has joined #ruby
<Dysaniak>
thoughtfusion: aka, I'm writing succesfully .to_yaml, but I'm a bit confused loading that back into a hash.
<thoughtfusion>
Dysaniak: You should be able to do YAML.load(string) where string is the contents of your file
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
<thoughtfusion>
Dysaniak: so typically, you'd want YAML.load(File.open(filepath))
<thoughtfusion>
which should return some ruby data types :)
Tachyx [Tachyx!tach@tachnb.kolej.mff.cuni.cz] has joined #ruby
radic_ [radic_!~radic@dslb-094-216-233-064.pools.arcor-ip.net] has joined #ruby
syntaxx [syntaxx!~patvan@unaffiliated/syntaxx] has joined #ruby
<Dysaniak>
YAML.load(File.open(filepath)) is returning 'uninitialized constant YAML'
<Dysaniak>
5~WAIT.
<Dysaniak>
Nah it ain't.
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
<Dysaniak>
Holy hell, everything's working...
<Dysaniak>
Wow, those numbers get big fast.
<syntaxx>
I am creating a simple script like when i select a server name it execute ssh and connect. I wonder if its possible in ruby. If I am reading net/ssh right all it can do is just connect and execute?
dotnull [dotnull!~dot_null@173-31-158-182.client.mchsi.com] has joined #ruby
Behi [Behi!~Behi@203-206-227-95.perm.iinet.net.au] has joined #ruby
_gautam [_gautam!~gautam@203.97.147.94] has joined #ruby
iDespera` [iDespera`!~user@112.94.175.105] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
<mksm>
syntaxx, what else do you need?
<syntaxx>
mksm, thats it. just connect to the ssh.
<syntaxx>
mksm, like when using bash.. just ssh servername it connects to the server already
nanoyak [nanoyak!~nanoyak@c-67-188-228-94.hsd1.ca.comcast.net] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
<syntaxx>
i am wondering if its possible.
<mksm>
syntaxx, sure. it's describe in the docs.
<mksm>
*described
<syntaxx>
mksm, can you link me? can't seem to find it though
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb116-15-214-58.singnet.com.sg] has joined #ruby
shaatar [shaatar!u648@gateway/web/irccloud.com/x-rxrvkrlkiqolhzzd] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
aetaric [aetaric!~aetaric@74-130-83-237.dhcp.insightbb.com] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
rbr [rbr!~Unknown@71-88-53-31.dhcp.nwtn.ct.charter.com] has joined #ruby
<syntaxx>
mksm, yeah but i dunno which feature to use to make the socket connected til i logout
rbr [rbr!~Unknown@71-88-53-31.dhcp.nwtn.ct.charter.com] has quit ["Leaving"]
abstrusenick [abstrusenick!~abstrusen@bb116-15-214-58.singnet.com.sg] has joined #ruby
radic [radic!~radic@dslb-094-216-235-248.pools.arcor-ip.net] has joined #ruby
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
raincole [raincole!~raincole@140.112.239.113] has joined #ruby
lqgr00ve [lqgr00ve!~christoph@unaffiliated/lqgr00ve] has joined #ruby
mdel__ [mdel__!~mdel@pool-173-49-56-94.phlapa.fios.verizon.net] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
pencilcheck [pencilcheck!~pen@2001:288:1001:28:b886:69b0:f9a8:5a96] has joined #ruby
afex [afex!~kthornhil@ip68-99-181-44.oc.oc.cox.net] has joined #ruby
lqgr00ve [lqgr00ve!~christoph@unaffiliated/lqgr00ve] has quit [#ruby]
<thoughtfusion>
sytaxx: if your script is really that simple, and you're on unix/linux, you could always just use a system() call
<thoughtfusion>
(obviously it's not very secure)
afex [afex!~kthornhil@ip68-99-181-44.oc.oc.cox.net] has quit [#ruby]
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
ctp [ctp!~ctp@dslc-082-083-133-101.pools.arcor-ip.net] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
zommi [zommi!~quassel@HSI-KBW-078-042-009-093.hsi3.kabel-badenwuerttemberg.de] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
jarjar_prime [jarjar_prime!~mjarjoura@50-76-61-133-ip-static.hfc.comcastbusiness.net] has joined #ruby
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
mohits1 [mohits1!~ms@115.111.205.154] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
wookiehangover [wookiehangover!~wookiehan@c-67-161-138-118.hsd1.co.comcast.net] has joined #ruby
smooth_p [smooth_p!~smooth_p@115.240.39.146] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-35-47.telstraclear.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@222.151.223.114] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@222.151.223.114] has joined #ruby
raincole [raincole!~raincole@140.112.239.113] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
sunredsky [sunredsky!sunredsky@76.206.24.126] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
Cerales [Cerales!cbceefd3@gateway/web/freenode/ip.203.206.239.211] has joined #ruby
smooth_p [smooth_p!~smooth_p@115.241.162.192] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@2001:c08:3700:ffff::b85] has joined #ruby
<Cerales>
I'm trying to write some data to a file, and I'm defining its name by getting a folder path from a function and then appending a forward slash, followed by the filename. When I call file.new, it seems to just ignore the final forward slash, and put it at the same level as the directory i want the file to be in. anyone else experienced this?
<davidcelis>
Can you put up a gist of what you're doing?
<davidcelis>
That wasn't exactly the easiest thing to follow.
<Cerales>
will go
zehrizzatti [zehrizzatti!~zeh@189.103.80.39] has joined #ruby
kawa_xxx_ [kawa_xxx_!~kawa_xxx@222.151.223.114] has joined #ruby
s0ber [s0ber!~s0ber@114-36-229-64.dynamic.hinet.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-229-64.dynamic.hinet.net] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-33-172.telstraclear.net] has joined #ruby
psykoTRON [psykoTRON!~psykoTRON@c-67-166-148-128.hsd1.ca.comcast.net] has joined #ruby
Cervajz [Cervajz!~Cervajz@93.99.93.150] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
Faris [Faris!~amnay@41.249.8.68] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
moondiamond [moondiamond!~davec@li389-186.members.linode.com] has joined #ruby
QaDeS [QaDeS!~mklaus@frbg-4d028112.pool.mediaWays.net] has joined #ruby
creede [creede!~creede@2001:470:b:4a3:21f:16ff:fe4e:47a8] has joined #ruby
tayy [tayy!~tayy@208.59.93.230] has joined #ruby
<David_Miller>
anyone run more than one rails app, each with its own delayed_job daemon on a single server?
<David_Miller>
I can't start more than one delayed_job instance it seems
<any-key>
how are you running it?
<any-key>
I always ran them as rake jobs:work and would run multiple on one machine just fune
<David_Miller>
script/delayed_job start
yxhuvud [yxhuvud!mongo@h-49-243.a212.priv.bahnhof.se] has joined #ruby
<any-key>
give the rake one a go
<any-key>
just for shits and giggles
psykotron [psykotron!~psykoTRON@c-67-166-148-128.hsd1.ca.comcast.net] has joined #ruby
<David_Miller>
I am thinking that will not daemonize like I want it to
saschaheylik [saschaheylik!~sascha@80-121-63-217.adsl.highway.telekom.at] has joined #ruby
musee [musee!~musee@unaffiliated/musee] has joined #ruby
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
ikaros [ikaros!~ikaros@dslb-084-059-073-057.pools.arcor-ip.net] has joined #ruby
zenergi_ [zenergi_!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
ksinkar [ksinkar!~ksinkar@117.195.108.49] has joined #ruby
sandGorgon [sandGorgon!79f17182@gateway/web/freenode/ip.121.241.113.130] has joined #ruby
Clooth [Clooth!~Clooth@193-64-22-161-nat.elisa-mobile.fi] has joined #ruby
JohnBat26 [JohnBat26!~Eugene@89.175.77.90] has joined #ruby
psykotron [psykotron!~psykoTRON@c-67-166-148-128.hsd1.ca.comcast.net] has quit [#ruby]
abstrusenick [abstrusenick!~abstrusen@bb116-15-214-58.singnet.com.sg] has joined #ruby
randym [randym!~randym@EM114-48-177-164.pool.e-mobile.ne.jp] has joined #ruby
<David_Miller>
ok, it works fine with script/delayed_job, i was just having a permission issue with the log file :)
RyanV [RyanV!~anonymous@c-71-202-0-21.hsd1.ca.comcast.net] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
<RyanV>
hi all
p1d [p1d!~p1d@ns1.vonaffenfels.de] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.130] has joined #ruby
<RyanV>
just curious, is there a way to use methods like shift and pop inline? let me give you an example. a method like split on a string would return a copy of the array (rather than changing the original array), which makes it ideal for striking methods together. but there are times where Id like to pop off the last or beginning part of an array, then string another method onto it, but for an array ['a', 'b', 'c' ], using pop would return st
<RyanV>
rather than returning the array with 'c' removed.
ryanf [ryanf!~revfitz@adsl-69-111-194-237.dsl.snfc21.sbcglobal.net] has joined #ruby
<RyanV>
so what would i be using if arr = [ "a", "b", "c" ] and I want to pop off the last item, but want arr to then equal [ "a", "b" ], instead of [ "c" ]
randym [randym!~randym@EM111-191-255-107.pool.e-mobile.ne.jp] has joined #ruby
<rippa>
RyanV: arr = [ "a", "b", "c" ].tap(&:pop)
<ryanf>
well just arr.pop, he didn't say anything about the return value
<ryanf>
unless I missed some context
<rippa>
arr should be [a, b]
<rippa>
with #pop it would be c
<RyanV>
you were right rippa, thanks
Faris [Faris!~amnay@41.249.8.68] has quit [#ruby]
tk_ [tk_!~tk@p083061.doubleroute.jp] has joined #ruby
<RyanV>
i had been setting a trash array_var , to pop, then keep reusing the original array
<RyanV>
it was driving me nuts
<RyanV>
I'm still learning, so sometimes when I don't know how to do something, I'm able to get similar results by doing some work around, but usually theres like a single method that does it, hah
wedtm [wedtm!~wedtm@173-12-163-78-oregon.hfc.comcastbusiness.net] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
RyanV [RyanV!~anonymous@c-71-202-0-21.hsd1.ca.comcast.net] has quit [#ruby]
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
poppiez [poppiez!~unknown@0x5da1840a.cpe.ge-0-1-0-1104.henqu2.customer.tele.dk] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-60-6-112.dsl.pltn13.sbcglobal.net] has joined #ruby
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
sarkis [sarkis!~sarkis@unaffiliated/sako] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby
samuel02 [samuel02!~samuel02@62.101.57.99] has joined #ruby
GoBin [GoBin!~GoBin@193.175.11.148] has joined #ruby
mohits1 [mohits1!~ms@115.113.153.226] has joined #ruby
jmh6182 [jmh6182!~jmh6182@98.156.109.1] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
jmh6182 [jmh6182!~jmh6182@98.156.109.1] has quit [#ruby]
vjacob [vjacob!~vjacob@87.61.170.233] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
zommi [zommi!quassel@nat/ibm/x-ahemfhehzvkycris] has joined #ruby
jgrimes [jgrimes!~jg@cpe-071-070-140-012.nc.res.rr.com] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@222.151.223.114] has joined #ruby
negaduck [negaduck!~negaduck@91.206.116.254] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host223-28-dynamic.248-95-r.retail.telecomitalia.it] has joined #ruby
Stormbytes [Stormbytes!~Stormbyte@ool-4572b631.dyn.optonline.net] has joined #ruby
stoffus [stoffus!~stoffus@2001:9b0:1:dead:129a:ddff:fe58:6835] has joined #ruby
mafolz [mafolz!~mafolz@dhcp50-210.start.uni-saarland.de] has joined #ruby
jbpros [jbpros!~jbpros@195.75-66-87.adsl-dyn.isp.belgacom.be] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
GoBin [GoBin!~GoBin@193.175.11.148] has joined #ruby
ctp_ [ctp_!~ctp@port-87-234-196-250.static.qsc.de] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
wiickeed [wiickeed!58c85906@gateway/web/freenode/ip.88.200.89.6] has joined #ruby
andreime [andreime!~andrei-ci@82.79.96.20] has joined #ruby
Jrz [Jrz!~jrz@87.239.184.141] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
bosphorus [bosphorus!~bosphorus@81.214.127.71] has joined #ruby
kalusn [kalusn!~claus@2.111.18.26] has joined #ruby
vladyn [vladyn!~vlado@214-125.thezone.bg] has joined #ruby
cyri_ [cyri_!~cyri_@236.200.72.86.rev.sfr.net] has joined #ruby
ph^ [ph^!~ph^@79.135.7.162] has joined #ruby
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
<Time2303>
o_O
<Time2303>
Heya.
nilmethod [nilmethod!~nilmethod@173-11-193-123-houston.txt.hfc.comcastbusiness.net] has joined #ruby
<banisterfiend>
Time2303: why the bung eyes
<Time2303>
Oh, I wasn't sure whether or not there would be a channel for Ruby on here, then I noticed how many people there are
<Time2303>
I was around the library looking for a IT book and found a programming book with a bit about Ruby so I'm looking at the tryruby.org stuff lol trying to figure out what Ruby would be useful for
kalusn [kalusn!~claus@2.111.18.26] has joined #ruby
pi3r [pi3r!~pi3r@LSt-Amand-152-32-39-189.w80-11.abo.wanadoo.fr] has joined #ruby
kalusn [kalusn!~claus@2.111.18.26] has joined #ruby
<Time2303>
Ruby looks interesting, I've done a bit of visual basic / c++
kassien [kassien!~kassien@218.240.145.56] has joined #ruby
<wiickeed>
Ruby is wicked
<davidcelis>
lol
<wiickeed>
^^
<Time2303>
xD
<davidcelis>
"what Ruby would be useful for"
<davidcelis>
lol
<davidcelis>
most things, bro
<wiickeed>
web apps
<Time2303>
Never heard of it before, my brother said something about website programming
<wiickeed>
yup
<davidcelis>
Ruby on Rails is the most popular web development framework; built on Ruby
<davidcelis>
aside from that, it's a very strong OO scripting language in general
<wiickeed>
in my experience better than php and its frameworks
<wiickeed>
easier to code much more readable
<Time2303>
oh ok
<wiickeed>
it was developed to be a "fun" language to write as said by its author
<wiickeed>
: P
<Time2303>
xD it looks fun
moshef [moshef!~moshef@84.94.109.182.cable.012.net.il] has joined #ruby
<Time2303>
I'm enjoying myself on the tryruby.org stuff
<davidcelis>
It's designed to be a very readable language
<davidcelis>
It's supposed to be syntactically readable like english
<Time2303>
helps understanding it
<davidcelis>
tryruby...
<davidcelis>
i miss _why
<Quadlex>
We all do
<Time2303>
Anyway, my brother wants me to watch a doco so I'm going to go afk =p
LittleBill902_ [LittleBill902_!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
ryanf_ [ryanf_!~revfitz@adsl-69-111-194-237.dsl.snfc21.sbcglobal.net] has joined #ruby
giulio [giulio!~giulio@ppp-111-32.26-151.libero.it] has joined #ruby
burgestrand [burgestrand!~burgestra@62.65.124.23] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
<bbrandon>
How can I access data[:hello => 'world'] using a ruby symbol? :data[:hello]?
Ammar01 [Ammar01!~hassaa10@gatej.mh.bbc.co.uk] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
<ryanf_>
that is some pretty funky notation
<ryanf_>
do you mean data = {:hello => 'world'} ?
<ryanf_>
in that case, yes, data[:hello]
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
Helius [Helius!~Adium@212.31.227.18] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
bastilian [bastilian!~bastilian@chello213047077012.23.11.vie.surfer.at] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
Jippi [Jippi!~jippignu@109.202.139.50] has joined #ruby
xec [xec!~xec@2a00:10b0:1:1002:5ab0:35ff:fef8:6a01] has joined #ruby
burgestrand [burgestrand!~burgestra@62.65.124.23] has joined #ruby
rpowell [rpowell!~rpowell@CPE-121-212-168-183.lns13.ken.bigpond.net.au] has joined #ruby
ephemerian [ephemerian!~ian@82-69-1-248.dsl.in-addr.zen.co.uk] has joined #ruby
trivol [trivol!~aurelien@gra94-1-81-57-175-179.fbx.proxad.net] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@w0109-49-133-9-198.uqwimax.jp] has joined #ruby
mohits1 [mohits1!~ms@115.113.153.226] has joined #ruby
MAD [MAD!~MAD@mail.11labo.net] has joined #ruby
Jippi [Jippi!~jippignu@109.202.139.50] has joined #ruby
<banisterfiend>
burgestrand: hey
rpowell [rpowell!~rpowell@CPE-58-164-19-183.lnse5.ken.bigpond.net.au] has joined #ruby
Brandonn [Brandonn!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
Adman65 [Adman65!~Adman65@p509907f1.dip0.t-ipconnect.de] has joined #ruby
<burgestrand>
banisterfiend: 'lo
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
<Time2303>
Time2303: hi
<Time2303>
:<
<burgestrand>
i need a better irc client; the phone wont do
alup_ [alup_!~alup@193.92.123.5] has joined #ruby
erskingardner [erskingardner!~erskingar@93-32-154-170.ip34.fastwebnet.it] has joined #ruby
erskingardner [erskingardner!~erskingar@unaffiliated/erskingardner] has joined #ruby
EddieS [EddieS!~ed@212.59.167.161] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
burgestrand_ [burgestrand_!~burgestra@62.65.124.23] has joined #ruby
burgestrand [burgestrand!~burgestra@62.65.124.23] has quit [#ruby]
hurikhan|Work [hurikhan|Work!~kakra@82-198-195-142.briteline.de] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
fgro [fgro!~fgro@g225189237.adsl.alicedsl.de] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
nari [nari!~nari@2001:268:306:3:6680:99ff:fe23:576c] has joined #ruby
t-mart [t-mart!~t-mart@c-76-97-7-168.hsd1.ga.comcast.net] has joined #ruby
pestouille [pestouille!~adrien@LAubervilliers-151-13-7-1.w217-128.abo.wanadoo.fr] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
d-snp [d-snp!~d-snp@smurfer.student.utwente.nl] has joined #ruby
smooth_p [smooth_p!~smooth_p@59.162.86.164] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
DarkFoxDK [DarkFoxDK!~darkfox@62.116.219.97] has joined #ruby
Sigma00 [Sigma00!~freenode@thankyouforhelpingushelpyouhelpusall.net] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host223-28-dynamic.248-95-r.retail.telecomitalia.it] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
Shrink [Shrink!sgupta@nat/redhat/x-hilsatushsixcaqf] has joined #ruby
Shrink [Shrink!sgupta@redhat/shrink] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
Ammar_Frameworks [Ammar_Frameworks!~hassaa10@gatek.thls.bbc.co.uk] has joined #ruby
samuelnilsson [samuelnilsson!~samuel02@62.101.57.99] has joined #ruby
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
pestouille [pestouille!~adrien@LAubervilliers-151-13-7-1.w217-128.abo.wanadoo.fr] has joined #ruby
otakutomo [otakutomo!~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
sgaedu [sgaedu!~ar@masq61.gtn.ru] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
dr_bob [dr_bob!c100f615@gateway/web/freenode/ip.193.0.246.21] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
ramusara [ramusara!~ramusara@220.156.210.236.user.e-catv.ne.jp] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
Natch| [Natch|!~natch@178.73.217.166] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
Weddy [Weddy!~wedtm@173-12-163-78-oregon.hfc.comcastbusiness.net] has joined #ruby
josephwilk [josephwilk!~josephwil@109.231.237.58] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
awesome [awesome!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
Brozilla [Brozilla!~Brozilla@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
ni-ka [ni-ka!~Nils@i577BD75A.versanet.de] has joined #ruby
<ni-ka>
hey folks! for unit testing with rspec, is it good practice to have an array with parameters and loop to test a function with the different parameters? like https://gist.github.com/1496584
maletor [maletor!~maletor@c-69-181-28-195.hsd1.ca.comcast.net] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
raincole [raincole!~raincole@220-134-147-126.HINET-IP.hinet.net] has joined #ruby
punkrawkR [punkrawkR!~freddiebo@h-9-122.a328.priv.bahnhof.se] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
Freddie [Freddie!~freddiebo@h-9-122.a328.priv.bahnhof.se] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@w0109-49-133-9-198.uqwimax.jp] has joined #ruby
<banisterfiend>
burgestrand: you here?
<banisterfiend>
burgestrand: can you tell me what more needs to be done to that before i release, i want to close it off so i can work on the exception_explorer thing now
dazoakley [dazoakley!~dazoakley@hocuspokus.vm.bytemark.co.uk] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
tar_ [tar_!~tar@d118-75-81-132.try.wideopenwest.com] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
randym [randym!~randym@EM114-48-216-98.pool.e-mobile.ne.jp] has joined #ruby
burgestrand1 [burgestrand1!~burgestra@62.65.124.23] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@27-142-96-128.rev.home.ne.jp] has joined #ruby
linusoleander [linusoleander!~linus@banan.olf.sgsnet.se] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
misc-ke [misc-ke!~misc-ke@87-194-64-202.bethere.co.uk] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
xissburg [xissburg!~xissburg@189.102.48.152] has joined #ruby
sunredsky [sunredsky!sunredsky@adsl-76-206-24-126.dsl.covlil.sbcglobal.net] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-19-183.lnse5.ken.bigpond.net.au] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
omry_ [omry_!~omry@DSL212-235-83-63.bb.netvision.net.il] has quit ["Leaving"]
moshef [moshef!~moshef@84.94.109.182.cable.012.net.il] has joined #ruby
xissburg [xissburg!~xissburg@189.102.48.152] has joined #ruby
zalesz [zalesz!~zalesz@user-46-112-46-58.play-internet.pl] has joined #ruby
pen [pen!~pen@140.112.30.130] has joined #ruby
linduxed [linduxed!~linduxed@194-14-0-85.serioustubes.org] has joined #ruby
<Time2303>
o_O
<Time2303>
ha
<Time2303>
Telecom.
randym_ [randym_!~randym@EM114-48-225-22.pool.e-mobile.ne.jp] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
hinogi [hinogi!~Stefan@mnsr-d9bf3e1c.pool.mediaWays.net] has joined #ruby
hinogi [hinogi!~Stefan@facade/contributor/hinogi] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
saswata [saswata!~saswata@host-92-27-152-250.static.as13285.net] has joined #ruby
xissburg [xissburg!~xissburg@189.102.48.152] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
nari [nari!~nari@p62e324.totrnt01.ap.so-net.ne.jp] has joined #ruby
fgro [fgro!~fgro@client194-129.wlan.hu-berlin.de] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
dhruvasagar [dhruvasagar!~dhruvasag@65.98.79.137] has joined #ruby
zommi_ [zommi_!quassel@nat/ibm/x-snwrsfjsvbduoeec] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
geef [geef!~king@108-215-232-154.lightspeed.hstntx.sbcglobal.net] has joined #ruby
<geef>
is there a way to compile ruby to bytecode like in python??
<rippa>
jruby
kedare [kedare!~kedare@scuderia.internet-fr.net] has joined #ruby
<Mon_Ouie>
YARV already generates bytecode
<Mon_Ouie>
And so does about every implementation except Ruby 1.8.7
<Mon_Ouie>
YARV just doesn't store the bytecode on the disk
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
<geef>
is there anyway to store it on disk and execute later?
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
zommi [zommi!quassel@nat/ibm/x-qnlalbikqeswxahu] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
<Mon_Ouie>
Not with YARV, but Rubinius (and JRuby, I guess) allow you to store bytecode on the disk
senny [senny!~senny@edge.garaio.com] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-35-77.telstraclear.net] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby
kaspernj [kaspernj!~kaspernj@dslb-092-078-230-137.pools.arcor-ip.net] has joined #ruby
adac [adac!~adac@clnet-kmu02-090.ikbnet.co.at] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby
<adac>
hash1.keys-hash2.keys gives me all keys of hash1 that are not present in hash2. Is there a way to remove those keys from hash1 in an easy way?
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
<Mon_Ouie>
keys.each { |k| hash.delete k }
pickels_ [pickels_!~fs@d54C5B2D7.access.telenet.be] has joined #ruby
nari_ [nari_!~nari@p929512.totrnt01.ap.so-net.ne.jp] has joined #ruby
pen [pen!~pen@140.112.30.130] has joined #ruby
<adac>
Mon_Ouie, hash1.keys-hash2.keys.each { |k| hash1.delete k } is this correct?
Aaaarg [Aaaarg!~Arthur@121-74-44-74.telstraclear.net] has joined #ruby
linusoleander [linusoleander!~linus@banan.olf.sgsnet.se] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
<Mon_Ouie>
nO
<Mon_Ouie>
This will call each on hash2.keys
<Mon_Ouie>
Not on hash1.keys - hash2.keys; you need parens
tvw [tvw!~tv@212.79.9.150] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
stdcall [stdcall!~scriper@181.208.73.94.ip.orionnet.ru] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-45-81.telstraclear.net] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
fcser_ [fcser_!~fcser@173-28-82-238.client.mchsi.com] has joined #ruby
deryl_ [deryl_!deryl@perfecting.rubyists.com] has joined #ruby
andman_ [andman_!~andman@minorshadows.net] has joined #ruby
deweysmith_ [deweysmith_!u3113@gateway/web/irccloud.com/session] has joined #ruby
idle`_ [idle`_!~idle@jem75-5-82-244-52-176.fbx.proxad.net] has joined #ruby
xea_ [xea_!~iris@icts.hu] has joined #ruby
meder_ [meder_!shogun@li131-142.members.linode.com] has joined #ruby
tyler [tyler!~tyman@173-12-219-189-Fresno.hfc.comcastbusiness.net] has joined #ruby
IrishGringo_ [IrishGringo_!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
RevDrSpe1tre7 [RevDrSpe1tre7!~spectre@sticky.clownjuice.com] has joined #ruby
raddazong [raddazong!~madhatter@208.166.57.134] has joined #ruby
s0ber_ [s0ber_!~s0ber@114-36-229-64.dynamic.hinet.net] has joined #ruby
Spockz`` [Spockz``!~Spockz@21pc198.sshunet.nl] has joined #ruby
jetblack_ [jetblack_!~jetblack@99-32-20-118.uvs.evtnil.sbcglobal.net] has joined #ruby
krzkrzkrz [krzkrzkrz!~foobar@175.139.73.204] has joined #ruby
zakwilson_ [zakwilson_!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
hurikhan [hurikhan!~kakra@82-198-195-142.briteline.de] has joined #ruby
krzkrzkrz [krzkrzkrz!~foobar@unaffiliated/krz] has joined #ruby
<adac>
Mon_Ouie, did the trick, thank you!
tightwork_ [tightwork_!~tightwork@50-57-89-237.static.cloud-ips.com] has joined #ruby
xxi_ [xxi_!~ixx@64.20.241.94] has joined #ruby
andrewbl1ck [andrewbl1ck!~andrew@victoria.vm.bytemark.co.uk] has joined #ruby
sixtenei1hty [sixtenei1hty!~buk@eridanus.uberspace.de] has joined #ruby
wicketn01b [wicketn01b!~root@12.182.105.7] has joined #ruby
oddraisi1 [oddraisi1!~oddraisin@cactusgrove.net] has joined #ruby
KeeperOfTheSoul [KeeperOfTheSoul!~chris@94-193-221-187.zone7.bethere.co.uk] has joined #ruby
ephesius [ephesius!~ephesius@li364-121.members.linode.com] has joined #ruby
poppiez_ [poppiez_!~unknown@0x5da1840a.cpe.ge-0-1-0-1104.henqu2.customer.tele.dk] has joined #ruby
xsdg_ [xsdg_!~xsdg@SIPB-VM-99.MIT.EDU] has joined #ruby
wang_ [wang_!~wang@super.afroken.org] has joined #ruby
bgupta [bgupta!~bgupta@68.164.142.90] has joined #ruby
KeeperOfTheSoul [KeeperOfTheSoul!~chris@about/csharp/regular/KeeperOfTheSoul] has joined #ruby
wang_ [wang_!~wang@unaffiliated/wang] has joined #ruby
ozzloy_ [ozzloy_!~ozzloy@ozzloy.lifeafterking.org] has joined #ruby
Emmanuel_Chanel [Emmanuel_Chanel!star2@ZD132012.ppp.dion.ne.jp] has joined #ruby
Zal_ [Zal_!~zal@184-98-184-157.phnx.qwest.net] has joined #ruby
swi7ch_ [swi7ch_!~addamh@li204-188.members.linode.com] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
alindeman [alindeman!~adml@pudge.ithought.org] has joined #ruby
vbernetr [vbernetr!~vbernetr@vbr.nexen.net] has joined #ruby
nate_h [nate_h!~husimon@c73-208.rim.net] has joined #ruby
alindeman [alindeman!~adml@freenode/senior-staff-emeritus/alindeman] has joined #ruby
mbreit [mbreit!~mbreit@devel.mobr.de] has joined #ruby
<banisterfiend>
Mon_Ouie: is that you doing tht?
nicksmith [nicksmith!~nick@173.214.173.94] has joined #ruby
_bat [_bat!~bat@68-71-141-194.servers.zerigo.net] has joined #ruby
mahlon [mahlon!mahlon@martini.nu] has joined #ruby
shevy [shevy!~shevy@194-166-25-205.adsl.highway.telekom.at] has joined #ruby
araujo_ [araujo_!~araujo@190.73.44.29] has joined #ruby
joelio [joelio!~Joel@m.etrono.me] has joined #ruby
ichilton [ichilton!~ichilton@zeniv.linux.org.uk] has joined #ruby
stdcall [stdcall!~scriper@181.208.73.94.ip.orionnet.ru] has joined #ruby
rcs [rcs!rcs@malkuth.secondcircle.org] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
zaarg [zaarg!~zaargy@adriana.stillidream.org] has joined #ruby
Gate [Gate!~gate@devans.us] has joined #ruby
Gate [Gate!~gate@unaffiliated/gate] has joined #ruby
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-qeuxndkszrcmsyxc] has joined #ruby
p0y_ [p0y_!~p0y@122.52.126.66] has joined #ruby
jefflembeck_ [jefflembeck_!~jeffreyle@c-24-18-224-239.hsd1.wa.comcast.net] has joined #ruby
negative [negative!~Clooth@193-64-22-161-nat.elisa-mobile.fi] has joined #ruby
jhunter_ [jhunter_!jfigga@c-67-169-75-5.hsd1.ca.comcast.net] has joined #ruby
stepnem_ [stepnem_!~stepnem@176.119.broadband10.iol.cz] has joined #ruby
dr_bob [dr_bob!c100f615@gateway/web/freenode/session] has joined #ruby
dr_bob [dr_bob!c100f615@gateway/web/freenode/ip.193.0.246.21] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
jgrimes_ [jgrimes_!~jg@cpe-071-070-140-012.nc.res.rr.com] has joined #ruby
_2easy_ [_2easy_!peter@jasminek.net] has joined #ruby
crayfish1 [crayfish1!~craig@78.129.240.7] has joined #ruby
Veejay [Veejay!~carcajou@opcode.org] has joined #ruby
bluOxigen [bluOxigen!ssf@115.167.110.59] has joined #ruby
vereteran-x [vereteran-x!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-45-246.telstraclear.net] has joined #ruby
ilteris__ [ilteris__!~ilteris_@cpe-67-244-14-59.nyc.res.rr.com] has joined #ruby
rpgsimmaster_ [rpgsimmaster_!~rpgsimmas@system00.packetstability.com] has joined #ruby
ereslibre_laptop [ereslibre_laptop!~rafael@li346-8.members.linode.com] has joined #ruby
ereslibre_laptop [ereslibre_laptop!~rafael@kde/ereslibre] has joined #ruby
deweysmith [deweysmith!u3113@gateway/web/irccloud.com/x-jhiipawkbccnhrsr] has joined #ruby
<Mon_Ouie>
Doing what?
pseud0cod3r [pseud0cod3r!pseudocode@gateway/shell/anapnea.net/x-jtkevxvvxnmlmaln] has joined #ruby
jrist-afk [jrist-afk!~jrist@71-212-208-163.hlrn.qwest.net] has joined #ruby
kinderma1 [kinderma1!~kinderman@data.kinderman.net] has joined #ruby
Koshian__ [Koshian__!~koshian@lakshmi.foxking.org] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
dominikh1 [dominikh1!~dominikh@cinchrb.org] has joined #ruby
botam [botam!~zach@ec2-107-22-14-95.compute-1.amazonaws.com] has joined #ruby
willb [willb!~wibenton@willb-laptop.cs.wisc.edu] has joined #ruby
kuzushi [kuzushi!~kuzushi@ip98-165-117-197.ph.ph.cox.net] has joined #ruby
ksinkar_ [ksinkar_!~ksinkar@117.195.98.39] has joined #ruby
spridel [spridel!~spridel@unaffiliated/spridel] has joined #ruby
JStoker [JStoker!jstoker@unaffiliated/jstoker] has joined #ruby
<banisterfiend>
Mon_Ouie: disconnecting everyone
tar_ [tar_!~tar@d118-75-81-132.try.wideopenwest.com] has joined #ruby
dcarper1 [dcarper1!~Adium@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
ben_alman [ben_alman!~cowboy@184-106-134-167.static.cloud-ips.com] has joined #ruby
bastilian [bastilian!~bastilian@chello213047077012.23.11.vie.surfer.at] has joined #ruby
mitchty [mitchty!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
Nowaker [Nowaker!~nowaker@geozone.pl] has joined #ruby
KitsuneDrag0n [KitsuneDrag0n!~hats@biosshadow.com] has joined #ruby
conceal_rs [conceal_rs!~conceal_r@www9237u.sakura.ne.jp] has joined #ruby
Drakx [Drakx!~dunno@madeofcode.jonnymoe.co.uk] has joined #ruby
jwinter [jwinter!~user@pool-71-188-107-196.cmdnnj.east.verizon.net] has joined #ruby
cratchit [cratchit!~cratchit_@li89-229.members.linode.com] has joined #ruby
glacius [glacius!~glacius@remote.pba.edu] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
ramusara [ramusara!~ramusara@220.156.210.236.user.e-catv.ne.jp] has joined #ruby
kassien [kassien!~kassien@218.240.145.56] has joined #ruby
andreime [andreime!~andrei-ci@82.79.96.20] has joined #ruby
mc_mac [mc_mac!~chatzilla@98.156.61.61] has joined #ruby
thone [thone!~thone@e177081219.adsl.alicedsl.de] has joined #ruby
pusewicz_ [pusewicz_!u2036@gateway/web/irccloud.com/x-membcwyghvaapdqt] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-wpygztjdztynovus] has joined #ruby
momo- [momo-!~momo@2.60.138.210.bn.2iij.net] has joined #ruby
Seventoes [Seventoes!~Seventoes@2607:f7c0:1:df60:d056:fb00:0:34] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
joast [joast!~rick@76.178.187.164] has joined #ruby
jsaak [jsaak!~jsaak@catv-89-134-200-70.catv.broadband.hu] has joined #ruby
eighty4 [eighty4!~eighty4@unaffiliated/eighty4] has joined #ruby
lobak [lobak!~quack@202.190.85.36] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
Quadlex [Quadlex!~quadlex@li23-6.members.linode.com] has joined #ruby
Liothen [Liothen!~liothen@pdpc/supporter/professional/liothen] has joined #ruby
mpereira [mpereira!~mpereira@ec2-50-16-8-218.compute-1.amazonaws.com] has joined #ruby
hrwath [hrwath!slonik@ruby.hell.edu.pl] has joined #ruby
DefV [DefV!~Jan@2a02:d08:1002:100:881:5124:6028:4] has joined #ruby
anders_ [anders_!d4ae9405@gateway/web/freenode/ip.212.174.148.5] has joined #ruby
<anders_>
hi
<anders_>
anyone is interested in devise?
mitchty [mitchty!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
fractastical [fractastical!~jdietz@ppp-188-174-74-186.dynamic.mnet-online.de] has joined #ruby
Ttech [Ttech!ttech@botters/staff/ttech] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-64-33-251.dsl.pltn13.sbcglobal.net] has joined #ruby
rgs_ [rgs_!~rgs@serendipity.sugarlabs.org] has joined #ruby
Nowaker [Nowaker!~nowaker@geozone.pl] has joined #ruby
KitsuneDrag0n [KitsuneDrag0n!~hats@biosshadow.com] has joined #ruby
conceal_rs [conceal_rs!~conceal_r@www9237u.sakura.ne.jp] has joined #ruby
Drakx [Drakx!~dunno@madeofcode.jonnymoe.co.uk] has joined #ruby
jwinter [jwinter!~user@pool-71-188-107-196.cmdnnj.east.verizon.net] has joined #ruby
cratchit [cratchit!~cratchit_@li89-229.members.linode.com] has joined #ruby
Guest16038 [Guest16038!~glacius@remote.pba.edu] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
ramusara [ramusara!~ramusara@220.156.210.236.user.e-catv.ne.jp] has joined #ruby
kassien [kassien!~kassien@218.240.145.56] has joined #ruby
andreime [andreime!~andrei-ci@82.79.96.20] has joined #ruby
mc_mac [mc_mac!~chatzilla@98.156.61.61] has joined #ruby
thone [thone!~thone@e177081219.adsl.alicedsl.de] has joined #ruby
pusewicz_ [pusewicz_!u2036@gateway/web/irccloud.com/x-membcwyghvaapdqt] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-wpygztjdztynovus] has joined #ruby
momo- [momo-!~momo@2.60.138.210.bn.2iij.net] has joined #ruby
Seventoes [Seventoes!~Seventoes@2607:f7c0:1:df60:d056:fb00:0:34] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
joast [joast!~rick@76.178.187.164] has joined #ruby
jsaak [jsaak!~jsaak@catv-89-134-200-70.catv.broadband.hu] has joined #ruby
eighty4 [eighty4!~eighty4@unaffiliated/eighty4] has joined #ruby
lobak [lobak!~quack@202.190.85.36] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
Quadlex [Quadlex!~quadlex@li23-6.members.linode.com] has joined #ruby
Liothen [Liothen!~liothen@pdpc/supporter/professional/liothen] has joined #ruby
mpereira [mpereira!~mpereira@ec2-50-16-8-218.compute-1.amazonaws.com] has joined #ruby
hrwath [hrwath!slonik@ruby.hell.edu.pl] has joined #ruby
DefV [DefV!~Jan@2a02:d08:1002:100:881:5124:6028:4] has joined #ruby
mitchty [mitchty!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
fractastical [fractastical!~jdietz@ppp-188-174-74-186.dynamic.mnet-online.de] has quit [#ruby]
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
kysmith [kysmith!6312516a@gateway/web/freenode/ip.99.18.81.106] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-32-19.telstraclear.net] has joined #ruby
mxweas_ [mxweas_!~max@c-71-226-112-145.hsd1.az.comcast.net] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
Drakx [Drakx!~dunno@unaffiliated/drakx] has joined #ruby
rizzy [rizzy!~chatzilla@67.107.136.98.ptr.us.xo.net] has joined #ruby
`brendan [`brendan!~b@66-208-246-34-ubr02b-waldlk01-mi.hfc.comcastbusiness.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
ryh [ryh!~ryh@174.45.125.160] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
<kysmith>
since when does whitespace matter while defining hash? (removing some whitespace fixed some syntax errors I was getting)
araujo [araujo!~araujo@gentoo/developer/araujo] has joined #ruby
Jake232 [Jake232!~textual@5e0e111e.bb.sky.com] has joined #ruby
<Mon_Ouie>
Whitespaces matter in several cases
<Mon_Ouie>
e.g. foo (bar, baz) is not valid, foo(bar, baz) is
kuadrosx [kuadrosx!~quassel@186.87.191.80] has joined #ruby
RomD [RomD!~Roman@nrbg-4dbe24eb.pool.mediaWays.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
cjs226 [cjs226!~cjs226@rrcs-71-40-79-154.sw.biz.rr.com] has joined #ruby
matti [matti!matti@madwifi/support/matti] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
jbpros_ [jbpros_!~jbpros@195.75-66-87.adsl-dyn.isp.belgacom.be] has joined #ruby
burgestrand [burgestrand!~burgestra@62.65.124.23] has joined #ruby
<kapowaz>
anybody here familiar with sinatra_warden? I'm trying to use it with datamapper through dm-is-authenticatable, but not having much joy.
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
jensn [jensn!~Jens@165-244-96-87.cust.blixtvik.se] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
pen_isident [pen_isident!~chatzilla@113.106.166.99] has joined #ruby
jtrudeau [jtrudeau!~jeff@c-76-127-237-194.hsd1.ma.comcast.net] has joined #ruby
Brozilla [Brozilla!~Brozilla@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
moshef_ [moshef_!~moshef@84.94.109.182.cable.012.net.il] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-15-43.cable.teksavvy.com] has joined #ruby
dcarper1 [dcarper1!~Adium@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.130] has joined #ruby
ni-ka [ni-ka!~Nils@i577BD75A.versanet.de] has joined #ruby
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
jbpros [jbpros!~jbpros@233-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
dyer [dyer!~dyer@c-174-49-86-106.hsd1.ga.comcast.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
macabre [macabre!~macabre@63.133.215.18] has joined #ruby
dazoakley [dazoakley!~dazoakley@hocuspokus.vm.bytemark.co.uk] has quit [#ruby]
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Barakas [Barakas!~v@77.242.201.53] has joined #ruby
geekbri [geekbri!~geekbri@64.119.145.106] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-178-142-119-016.ewe-ip-backbone.de] has joined #ruby
<Tasser>
kapowaz, there's #datamapper
<Barakas>
hi all, I'm looking for a library to add records and check a Windows DNS (Active Directory). Does somebody have an idea ? Thanks for help :)
Sliker [Sliker!~ponies@31.185.225.248] has joined #ruby
bosphorus_ [bosphorus_!~bosphorus@81.214.127.71] has joined #ruby
mengu_ [mengu_!~mengu@78.188.203.234] has joined #ruby
macabre^ [macabre^!~macabre@63.133.215.18] has joined #ruby
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@27-142-96-128.rev.home.ne.jp] has joined #ruby
grekko [grekko!~grekko@HFUVPN110.HFU-VPN.FU.HS-Furtwangen.DE] has joined #ruby
giulio [giulio!~giulio@ppp-111-32.26-151.libero.it] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
Barakas_ [Barakas_!~v@77.242.201.52] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
mkscrg [mkscrg!~mkscrg@pool-108-41-134-165.nycmny.fios.verizon.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
lateau_ [lateau_!~lateau@KD125054233174.ppp-bb.dion.ne.jp] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
austinbv [austinbv!~austinbv@29-133.127-70.tampabay.res.rr.com] has joined #ruby
p0y [p0y!~p0y@112.210.58.193] has joined #ruby
<pencilcheck>
anyone using pg gem? how do you do nonblocking asynchronous execution?
<pencilcheck>
for a continuous stream of data
matth25 [matth25!~matthew@cgp.ctc.biz] has joined #ruby
matth25 [matth25!~matthew@cgp.ctc.biz] has quit [#ruby]
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@76-10-149-67.dsl.teksavvy.com] has joined #ruby
solars [solars!~solars@clnet-kmu02-090.ikbnet.co.at] has joined #ruby
<solars>
whats the nicest way of doing string.starts_with?(prefix)?
csavola [csavola!~csavola@CPE0021e9f7ea74-CM001404933e00.cpe.net.cable.rogers.com] has joined #ruby
airhorns [airhorns!~airhorns@76-10-166-126.dsl.teksavvy.com] has joined #ruby
<Afal>
just like that?
lateau_ [lateau_!~lateau@KD125054233174.ppp-bb.dion.ne.jp] has joined #ruby
<solars>
oh
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
<solars>
damn
<solars>
:)
dannybtran [dannybtran!~digisyndi@c-69-137-87-144.hsd1.tn.comcast.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
raincole [raincole!~raincole@140.112.239.113] has joined #ruby
bbttxu [bbttxu!~adam@nt8rsctf1.unt.ad.unt.edu] has joined #ruby
dpritchett [dpritchett!~quassel@dpritchett.xen.prgmr.com] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
bastilian [bastilian!~bastilian@chello213047077012.23.11.vie.surfer.at] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
tesmar [tesmar!~tesmar@adsl-070-154-097-089.sip.rmo.bellsouth.net] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
jasonjahaja [jasonjahaja!~androirc@114-24-85-64.dynamic.hinet.net] has joined #ruby
jensn_ [jensn_!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
jasonjiji [jasonjiji!~androirc@114-24-85-64.dynamic.hinet.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
tomzx [tomzx!~tomzx@dsl-62-6.aei.ca] has joined #ruby
shevy [shevy!~shevy@213-33-11-140.adsl.highway.telekom.at] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
rippa [rippa!~rippa@109-161-65-52.pppoe.yaroslavl.ru] has joined #ruby
linusoleander [linusoleander!~linus@banan.olf.sgsnet.se] has joined #ruby
BrianE [BrianE!~brian@188-220-10-235.zone11.bethere.co.uk] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
pestouille [pestouille!~adrien@LAubervilliers-151-13-7-1.w217-128.abo.wanadoo.fr] has joined #ruby
Jake232 [Jake232!~textual@5e0e111e.bb.sky.com] has joined #ruby
sunredsky [sunredsky!sunredsky@adsl-76-206-24-126.dsl.covlil.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
ilteris [ilteris!~ilteris_@cpe-67-243-58-215.nyc.res.rr.com] has joined #ruby
naftilos76 [naftilos76!~quassel@212.50.117.236] has joined #ruby
catphish [catphish!~catphish@2001:9d8:2005:11:222:15ff:fe88:aae2] has joined #ruby
v0n [v0n!~v4n@2607:fad8:4:0:224:d7ff:feb0:42e8] has joined #ruby
zi [zi!sie@unaffiliated/sie] has joined #ruby
<zi>
Is activerecord bound to rails?
dotnull [dotnull!~dot_null@office.t8webware.com] has joined #ruby
<catphish>
zi: you can use AR on its own
<zi>
Cool. :]
daniel_hinojosa [daniel_hinojosa!~danno@c-68-35-182-153.hsd1.nm.comcast.net] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
csavola [csavola!~csavola@76-10-149-67.dsl.teksavvy.com] has joined #ruby
p0y_ [p0y_!~p0y@125.212.56.84] has joined #ruby
deryl [deryl!deryl@perfecting.rubyists.com] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@27-142-96-128.rev.home.ne.jp] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
pen_isident [pen_isident!~chatzilla@58.251.85.236] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@177.32.0.62] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
nineteeneightd [nineteeneightd!~nineteene@209.41.118.2] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
mxweas_ [mxweas_!~max@c-71-226-112-145.hsd1.az.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
tobym [tobym!~tobym@pool-173-56-80-136.nycmny.fios.verizon.net] has joined #ruby
<kapowaz>
Tasser: yeah, it's not really a datamapper question per se.
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
fantazo [fantazo!~fantazo@178-190-233-246.adsl.highway.telekom.at] has joined #ruby
wyhaines_ [wyhaines_!~wyhaines@65.39.118.15] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
robacarp [robacarp!robacarp@nat/sparkfun/x-tduqyooftkeazgec] has joined #ruby
pestouille [pestouille!~adrien@LAubervilliers-151-13-7-1.w217-128.abo.wanadoo.fr] has joined #ruby
austinbv [austinbv!~austinbv@235-187.96-97.tampabay.res.rr.com] has joined #ruby
robe [robe!~bennyco@host154-206-static.24-87-b.business.telecomitalia.it] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
<robe>
hello
<robe>
!list
deryl [deryl!deryl@perfecting.rubyists.com] has joined #ruby
robe [robe!~bennyco@host154-206-static.24-87-b.business.telecomitalia.it] has quit [#ruby]
billy_ran_away [billy_ran_away!~billy_ran@173-167-194-14-ip-static.hfc.comcastbusiness.net] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
blueadept [blueadept!~blueadept@243-36.187-72.tampabay.res.rr.com] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
gearaholic [gearaholic!~gearaholi@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby
codefriar [codefriar!~codefriar@ip-200.it.rdu.bandwidth.com] has joined #ruby
seejohnrun [seejohnrun!~john@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
ozzloy [ozzloy!~ozzloy@unaffiliated/ozzloy] has joined #ruby
lateau_ [lateau_!~lateau@KD125054233174.ppp-bb.dion.ne.jp] has quit [#ruby]
SegFaultAX [SegFaultAX!~SegFaultA@c-98-248-241-85.hsd1.ca.comcast.net] has joined #ruby
kinderman [kinderman!~kinderman@74.201.7.111] has joined #ruby
steph021 [steph021!~steph021@unaffiliated/steph021] has joined #ruby
quest88 [quest88!~quest88@ppp-70-248-193-14.dsl.lgvwtx.swbell.net] has joined #ruby
ckrailo [ckrailo!~ckrailo@208.86.167.247] has joined #ruby
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
schnorrer [schnorrer!~levi@unaffiliated/schnorrer] has joined #ruby
andrewpthorp [andrewpthorp!~andrewpth@c-98-244-88-92.hsd1.va.comcast.net] has joined #ruby
demian`_ [demian`_!~demian_@80.149.254.69] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
phyllis [phyllis!84aa6546@gateway/web/freenode/ip.132.170.101.70] has joined #ruby
misc-ke [misc-ke!~misc-ke@87-194-64-202.bethere.co.uk] has joined #ruby
ycy [ycy!~mb@62.169.41.27] has joined #ruby
<ycy>
yo
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
<ycy>
i developed a small ruby program (that outputs some string examples using 'puts') - works in the command line. Now I'd like to see the output in a browser (e.g. http://localhost/program ) what do I have to look for? sinatra?
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
tobiassvn [tobiassvn!u4832@gateway/web/irccloud.com/x-rqbplobivfiahzye] has quit [#ruby]
robbyoconnor [robbyoconnor!~wakawaka@guifications/user/r0bby] has joined #ruby
quest88 [quest88!~quest88@70.42.255.242] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
robbyoconnor [robbyoconnor!~wakawaka@guifications/user/r0bby] has joined #ruby
<catphish>
sinarta is a nice simple way to start, yed
<catphish>
*yes
Ankhers [Ankhers!~user@76-10-149-67.dsl.teksavvy.com] has joined #ruby
spinagon [spinagon!~rippa@109-161-65-52.pppoe.yaroslavl.ru] has joined #ruby
pestouille [pestouille!~adrien@LAubervilliers-151-13-7-1.w217-128.abo.wanadoo.fr] has quit [#ruby]
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
mikeg [mikeg!~mglenney@nat-uh-admins.apollogrp.edu] has joined #ruby
tcurdt [tcurdt!~tcurdt@dslb-188-097-069-059.pools.arcor-ip.net] has joined #ruby
techhelp [techhelp!~Dan@firebox.rsmart.com] has joined #ruby
dfamorato [dfamorato!~dfamorato@host-67-23-71-110.biznesshosting.net] has joined #ruby
seejohnrun [seejohnrun!~john@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@host-208-68-238-122.biznesshosting.net] has joined #ruby
<Barakas_>
hi all, I'm looking for a library to add records and check a Windows DNS (Active Directory). Does somebody have an idea ? Thanks for help :)
ozzloy [ozzloy!~ozzloy@unaffiliated/ozzloy] has joined #ruby
frist44 [frist44!~frist44@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
friskd [friskd!~friskd@71-95-209-242.static.mtpk.ca.charter.com] has joined #ruby
ycy [ycy!~mb@62.169.41.27] has quit [#ruby]
dfamorato [dfamorato!~dfamorato@host-67-23-71-110.biznesshosting.net] has joined #ruby
nonotza [nonotza!~nonotza@66.246.94.130] has joined #ruby
fragrant [fragrant!~fragrant@unaffiliated/fragrant] has joined #ruby
<fragrant>
Hi, is there any good ruby forum?
<fragrant>
to ask questions
<fragrant>
Hi, is there any good active ruby forum to ask questions?
moonunitt [moonunitt!~zappa@c-71-233-130-148.hsd1.ma.comcast.net] has joined #ruby
moshef_ [moshef_!~moshef@84.94.109.182.cable.012.net.il] has joined #ruby
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
<moonunitt>
can anyone help explain this line to me
<moonunitt>
if next_move.include? "0" or next_move.include? "1"
<moonunitt>
its used in a rpg type text game. and trying to udnerstand HOW it works.
siezer [siezer!siezer@dtmf.org] has quit [#ruby]
io_syl [io_syl!~io_syl@unaffiliated/steph021] has joined #ruby
<spinagon>
moonunitt: what you don't understand?
<moonunitt>
varible.include?"0"/"1" i
<moonunitt>
um
<moonunitt>
im super new to codeing and ruby
<spinagon>
if (next_move.include?("0") or next_move.include?("1"))
<moonunitt>
so bare with me
<spinagon>
#include? is a method
<spinagon>
"0" and "1" are parameters
<moonunitt>
but does that line determin if its "true" or not,
<moonunitt>
the 0 and 1
<spinagon>
this expression returns true if either of subexpressions is true
<adac>
I have two arrays and i need to compare them and get back: differences between entries and entries that are only in one of the two arrays. any ideas what is the best way to do that?
negaduck [negaduck!~negaduck@217.26.0.107] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
pen_isident_ [pen_isident_!~chatzilla@58.251.80.40] has joined #ruby
<spinagon>
adac: a1 - a2; a2 - a1
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
ixti [ixti!~ixti@142.Red-88-25-54.staticIP.rima-tde.net] has joined #ruby
niklasb [niklasb!~codeslay0@p5B310B63.dip0.t-ipconnect.de] has joined #ruby
p0y [p0y!~p0y@112.210.58.193] has joined #ruby
asobrasil [asobrasil!~asantioli@palpatine.privatedns.com] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
crescendo [crescendo!~eric@unaffiliated/crescendo] has joined #ruby
<moonunitt>
also one more thing
<moonunitt>
how_much = next_move.to_i()
<moonunitt>
in the tut im using this guy uses "i" alot. does I mean anything in ruby or is he just using as a palce holder?
<moonunitt>
dont see it defined anywhere
<samuelkadolph>
moonunitt: to_i means convert to integer
<samuelkadolph>
ri String#to_i
<moonunitt>
that makes sense
<moonunitt>
ty
<shevy>
to_be means to be or not to be
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
<spinagon>
String#to_the_pain
<shevy>
that looks as if it would hurt
<shevy>
it's surely considered harmful
jay12 [jay12!~user@adsl-65-0-159-155.jan.bellsouth.net] has joined #ruby
lkba [lkba!~AndChat@afrr128.neoplus.adsl.tpnet.pl] has joined #ruby
Peter-W [Peter-W!user@brighton.ostc.com] has joined #ruby
Peter-W [Peter-W!user@brighton.ostc.com] has joined #ruby
Peter-W [Peter-W!user@brighton.ostc.com] has joined #ruby
Peter-W [Peter-W!user@brighton.ostc.com] has joined #ruby
LiquidInsect [LiquidInsect!~billabney@astound-66-234-215-186.ca.astound.net] has joined #ruby
sunredsky [sunredsky!sunredsky@adsl-76-206-24-126.dsl.covlil.sbcglobal.net] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Peter-W [Peter-W!user@brighton.ostc.com] has joined #ruby
tdelam [tdelam!~tdelam@216.223.125.162] has joined #ruby
negaduck [negaduck!~negaduck@217.26.0.107] has joined #ruby
dfamorato [dfamorato!~dfamorato@host-67-23-71-110.biznesshosting.net] has joined #ruby
tobym [tobym!~tobym@pool-173-56-80-136.nycmny.fios.verizon.net] has joined #ruby
fragrant [fragrant!~fragrant@unaffiliated/fragrant] has quit [#ruby]
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
billy_ran_away [billy_ran_away!~billy_ran@173-167-194-14-ip-static.hfc.comcastbusiness.net] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
burgestrand [burgestrand!~burgestra@host.62.65.124.23.bitcom.se] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
wilmoore [wilmoore!~wilmoore@70-89-165-49-ISTS-co.hfc.comcastbusiness.net] has joined #ruby
austinbv [austinbv!~austinbv@rrcs-24-73-203-202.se.biz.rr.com] has joined #ruby
emanu [emanu!~emanu@modemcable097.122-21-96.mc.videotron.ca] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
negaduck [negaduck!~negaduck@217.26.0.107] has joined #ruby
Jrz [Jrz!~jrz@d152222.upc-d.chello.nl] has joined #ruby
andrewpthorp [andrewpthorp!~andrewpth@c-98-244-88-92.hsd1.va.comcast.net] has joined #ruby
sarkis [sarkis!~sarkis@unaffiliated/sako] has joined #ruby
robbyoconnor [robbyoconnor!~wakawaka@guifications/user/r0bby] has joined #ruby
Jake232 [Jake232!~textual@5e0e111e.bb.sky.com] has joined #ruby
craigglennie [craigglennie!~craigglen@173-167-99-61-sfba.hfc.comcastbusiness.net] has joined #ruby
rushed [rushed!~rushed@99-73-225-9.lightspeed.austtx.sbcglobal.net] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
bafilius [bafilius!~lee@wsip-174-75-64-190.sb.sd.cox.net] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
<kapowaz>
is there a bundler command to uninstall all gems in a given gemset and then reinstall as if doing bundle install with a clean gemset?
p0y [p0y!~p0y@112.210.58.193] has joined #ruby
apeiros_ [apeiros_!~apeiros@77-58-115-24.dclient.hispeed.ch] has joined #ruby
bier [bier!~bier@p5799952E.dip.t-dialin.net] has joined #ruby
<burgestrand>
kapowaz: why don’t you empty the gemset and do a fresh bundle yourself?
<kapowaz>
well I suppose I could do that...
Pip [Pip!~Pip@unaffiliated/pip] has quit ["It's not your problem."]
<burgestrand>
I don’t expect bundler to know anything too much about my gemsets, but I do know there’s something that cleans off old gems but that might only be if you’re using gem caching
nanoyak [nanoyak!~nanoyak@173-228-119-246.dsl.dynamic.sonic.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
davidcelis [davidcelis!~david@70-89-180-6-smc-or.hfc.comcastbusiness.net] has joined #ruby
fragrant [fragrant!~fragrant@unaffiliated/fragrant] has joined #ruby
andrewhl [andrewhl!~andrew@75.98.19.132] has joined #ruby
pencilcheck [pencilcheck!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
flagg0204 [flagg0204!~ianderson@sea02-v600-nat.marchex.com] has joined #ruby
<kapowaz>
mm
thone_ [thone_!~thone@g229076163.adsl.alicedsl.de] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@64.254.250.82] has joined #ruby
quest88_ [quest88_!~quest88@ppp-70-248-193-14.dsl.lgvwtx.swbell.net] has joined #ruby
t-mart [t-mart!~t-mart@c-76-97-7-168.hsd1.ga.comcast.net] has joined #ruby
nonotza [nonotza!~nonotza@66.246.94.130] has joined #ruby
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
eldariof [eldariof!~CLD@81.200.24.169] has joined #ruby
<t-mart>
what's the motivation behind writing your own eql? it seems like other.hash == hash would be sufficient. i see the convention is to check things like instance_of?(self.class) or is_a?(Thing). maybe people are paranoid about hash collision?
Araxia [Araxia!~Araxia@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #ruby
tyman [tyman!~tyman@173-12-219-189-Fresno.hfc.comcastbusiness.net] has joined #ruby
<fragrant>
I can't confirm ruby mailing list confirmation
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
bosphorus [bosphorus!~bosphorus@85.96.236.190] has joined #ruby
<apeiros_>
t-mart: #hash and #eql? must be changed together, always
<apeiros_>
changing one will lead to broken behaviour when using the object as a hash key
<apeiros_>
(which happens in other places than just in Hashes too, e.g. Array#uniq makes use of it, or Array#- etc.)
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
<t-mart>
apeiros_, right, i get that but, wouldn't a "relatively" safe default for eql? be to ask other.hash == hash? what's all this type checking nonsense?
<apeiros_>
no, that wouldn't be sane at all.
<fragrant>
This is the mail i got, http://bpaste.net/show/21064/ , can anyone tell how to confirm mailing list subscribe?
hamfz_ [hamfz_!~hamfz@99-0-57-199.lightspeed.tsclal.sbcglobal.net] has joined #ruby
<apeiros_>
.hash returns a number with a limited upper end, meaning that you're bound to have collisions.
stand1357 [stand1357!~worker@l49-155-122.cn.ru] has joined #ruby
<t-mart>
yes! that's what im getting at.
<t-mart>
ok
<apeiros_>
you'd defeat the entire purpose of there being an eql? in the first place.
<apeiros_>
the purpose of eql? is *precisely* to check whether two objects which have the same hash really are the same object (or are to be considered equal)
kenichi [kenichi!~kenichi@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
<t-mart>
ok, and hash is just to get the right bucket?
<apeiros_>
hash is the short-cut, yes
<t-mart>
i see
<t-mart>
great. thanks, apeiros_ . that clears up a lot.
<savage->
i'd really like to create a spreecast for like a ruby show or something.
alfism [alfism!~alfism@2620:149:4:1201:f087:185d:c71f:4610] has joined #ruby
<savage->
take live questions, etc.
saschaheylik [saschaheylik!~sascha@80-121-47-1.adsl.highway.telekom.at] has joined #ruby
<t-mart>
hey, summer sanders
<t-mart>
she did that nickelodeon talent show thing
kenperkins [kenperkins!~textual@174-24-164-49.tukw.qwest.net] has joined #ruby
saschaheylik [saschaheylik!~sascha@80-121-47-1.adsl.highway.telekom.at] has quit [#ruby]
tesmar [tesmar!~tesmar@adsl-070-154-097-089.sip.rmo.bellsouth.net] has joined #ruby
amerine [amerine!~mturner@208-100-137-147.bendbroadband.com] has joined #ruby
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby
JohnBat26|2 [JohnBat26|2!~Eugene@95.84.189.147] has joined #ruby
<fragrant>
Ah, Now i'm added to mailing list, i'm going to send a welcome message to mailing list.
JohnBat26|3 [JohnBat26|3!~Eugene@89.175.77.90] has joined #ruby
<samuelkadolph>
Don't
<davidcelis>
lol, what. don't do that.
josh_ [josh_!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
<fragrant>
Why not?
axl_ [axl_!~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net] has joined #ruby
<davidcelis>
because that's spammy?
<davidcelis>
and nobody wants one of those emails?
Skaag [Skaag!~Skaag@static-155-212-109-50.nj.onecommunications.net] has joined #ruby
<fragrant>
Ok, then i'm going to ask a question there.
<t-mart>
well, you're here, aren't you?
<t-mart>
i'd say, irc comes before mailing list
<fragrant>
But i can't login in ruby-forum
<fragrant>
What's the password for ruby-forum? I didn't get any password from mailing list
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
radic [radic!~radic@dslb-094-216-235-248.pools.arcor-ip.net] has joined #ruby
<shevy>
you can login with your google account
<t-mart>
im saying, ask your question here. it's like you're using irc, to then use the mailing list, to then use the forum. what are you ultimately trying to know?
<fragrant>
I registered to mailing list with yahoo account.
<shevy>
t-mart I think he is up to something biiiiiiiiiiiig
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
dfamorato [dfamorato!~dfamorato@host-67-23-71-110.biznesshosting.net] has joined #ruby
<davidcelis>
lol this is the worst Ruby-related question
<shevy>
you can't
<davidcelis>
ever
<shevy>
you are doomed fragrant
<shevy>
get some beer
<i_am_fragrant>
fragrant I picked that nick already
<t-mart>
just missed it, fragrant
rms-ict [rms-ict!~rmmsr@pd95ce776.dip0.t-ipconnect.de] has joined #ruby
billy_ran_away [billy_ran_away!~billy_ran@173-167-194-14-ip-static.hfc.comcastbusiness.net] has joined #ruby
<davidcelis>
Maybe codepad just sucks
<moonunitt>
I dont just get why i cant get to my "first room" in that code, it just goes back to commandline
solars [solars!~solars@mk089144206081.a1.net] has joined #ruby
g0bl1n [g0bl1n!~prokter@unaffiliated/g0bl1n] has joined #ruby
<davidcelis>
I'll be honest man... I'm not even going to read through that. It's unreadable in its current state. If you want to reindent it and then come back, cool. But from conversations yesterday, you seem to know what the indentation conventions are for Ruby, so I'm not going to indent it for you
<apeiros_>
moonunitt: the one about indentation is serious
<moonunitt>
yea
maletor [maletor!~maletor@74.115.25.139] has joined #ruby
<apeiros_>
there's a lot of people who'll glance at your code and just think "unreadable" and not bother to say anything.
<moonunitt>
you guys are right
<moonunitt>
figured it out
* apeiros_
included
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby
sepp2k [sepp2k!~sexy@g224147036.adsl.alicedsl.de] has joined #ruby
fragrant [fragrant!~fragrant@unaffiliated/fragrant] has quit [#ruby]
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
dasfugufish [dasfugufish!~Adium@174-27-233-214.slkc.qwest.net] has joined #ruby
<gearaholic>
I've noticed when i quit a irb shell, a ruby process stays open, sometimes stuck at 100% cpu. I am on Mac OS X 10.7.2 and using 1.9.3-p0 (rvm). should i be clossing irb a certain way?
gearaholic [gearaholic!~gearaholi@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby
<shevy>
gearaholic how do you quit? i use exit (rather q, aliased to exit)
darkc0met [darkc0met!darkcomet@gateway/shell/trekweb.org/x-wxitqdaahdlrwurq] has joined #ruby
<gearaholic>
ctrl+z
<davidcelis>
use exit
<apeiros_>
ctrl-z doesn't quit
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
tyman [tyman!~tyman@216.64.184.67] has joined #ruby
<samuelkadolph>
^Z is stop, not term
<gearaholic>
ah ok
<samuelkadolph>
Use ^D to send an EOF character or type exit
<apeiros_>
or alias exit to q
ColloquyUser [ColloquyUser!~colloquyu@53528CBB.cm-6-3c.dynamic.ziggo.nl] has joined #ruby
ColloquyUser [ColloquyUser!~colloquyu@53528CBB.cm-6-3c.dynamic.ziggo.nl] has quit [#ruby]
<samuelkadolph>
I prefer ^D since it should work with any REPL
<catphish>
does anyone know how to set the maximum memory consumption of a ruby process in linux?
<catphish>
Process.setrlimit(:RSS, 1024*1024*100) appears not to work
tyman [tyman!~tyman@216.64.184.67] has joined #ruby
stkowski [stkowski!~stkowski@ns25.8x8.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@64.254.250.82] has joined #ruby
Tuxi [Tuxi!~quassel@dyndsl-031-150-017-221.ewe-ip-backbone.de] has joined #ruby
<srid>
anybody want to take this ruby challenge? nobody seem to be able to answer it: http://stackoverflow.com/questions/8539305 - or EventMachine.popen just poorly designed?
emanu [emanu!~emanu@modemcable097.122-21-96.mc.videotron.ca] has joined #ruby
tobago [tobago!~quassel@dslb-094-223-085-211.pools.arcor-ip.net] has joined #ruby
p1d_ [p1d_!~p1d@ns1.vonaffenfels.de] has joined #ruby
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
edwardsharp [edwardsharp!~chatzilla@173-8-205-65-Oregon.hfc.comcastbusiness.net] has joined #ruby
<samuelkadolph>
catphish: RLIMIT_RSS doesn't really do anything. It's only enforced via madvise(2)
<catphish>
is there a way to set a hard limit on allocated memory?
dcarper1 [dcarper1!~Adium@50-73-187-102-pennsylvania.hfc.comcastbusiness.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
<deryl>
catphish: iirc you can use ulimit on the host
<deryl>
man ulimit for more details
<catphish>
ok, i had hoped that would be available inside ruby, but i guess i can ulimit first then fork from bash
Russell^^ [Russell^^!~Russell^^@88.97.51.87] has joined #ruby
tobym_ [tobym_!~tobym@pool-173-56-80-136.nycmny.fios.verizon.net] has joined #ruby
<deryl>
it might be, that was the first thing that came to mind
voodoofish430 [voodoofish430!~mtorres@208.76.2.200] has joined #ruby
<catphish>
thanks
<deryl>
welcome
<deryl>
googling myself, i don't see a rubyrc capability
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
kf8a [kf8a!~kf8a@user-33c730.user.msu.edu] has joined #ruby
tar_ [tar_!~tar@d118-75-81-132.try.wideopenwest.com] has joined #ruby
kuranai [kuranai!~name@g231218253.adsl.alicedsl.de] has joined #ruby
runa [runa!~asd@190.210.67.161] has joined #ruby
<runa>
heyas. I'm using minitest against an external API that is rate-limiting my reqs. is it possible to add a pause between tests?
<davidcelis>
You could do a sleep in an after(:each)
Manhose [Manhose!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby
fennec [fennec!~ff@wikipedia/Fennec] has joined #ruby
Y_Ichiro [Y_Ichiro!~ichiro101@wikipedia/Yamamoto-Ichiro] has joined #ruby
<runa>
davidcelis: can you point me to an example?
<davidcelis>
like... in the documentation..?
<davidcelis>
first of all, is this a Unit testcase, or a spec?
pootpoot [pootpoot!~pootpoot@38.108.250.130] has joined #ruby
<runa>
davidcelis: thanks, that was exactly what I was looking for.
TheNumb [TheNumb!thenumb@gateway/shell/mydevil.net/x-wuuxaifwypfcqzac] has joined #ruby
dominikh [dominikh!~dominikh@subtle/contributor/dominikh] has joined #ruby
jeremy04 [jeremy04!~jeremy@70-89-224-81-BusName-panjde.hfc.comcastbusiness.net] has joined #ruby
dannybtran [dannybtran!~digisyndi@c-69-137-87-144.hsd1.tn.comcast.net] has joined #ruby
PhilK [PhilK!~PhilK@2001:470:1f05:c99:21f:d0ff:fe84:e3ca] has joined #ruby
RORgasm [RORgasm!~rorgasm@nyv-exweb.iac.com] has joined #ruby
<moonunitt>
can anyone point me to documentaitoin where i can learn about dice rolls in ruby?
<moonunitt>
or can anyone give me a quick walkthru
<apeiros_>
moonunitt: rand(6)+1
<apeiros_>
see Kernel#rand
<moonunitt>
in a month ill reward you all with the most epic goonies D&d style rpg
<apeiros_>
above would be a roll of a six sided die.
nowthatsamatt [nowthatsamatt!~nowthatsa@rrcs-71-43-23-18.se.biz.rr.com] has joined #ruby
<moonunitt>
+2 would be 2 die?
<apeiros_>
no
<apeiros_>
+2 would be a funny six sided die with numbers from 2 to 7
<apeiros_>
instead of 1 to 6
n8ji [n8ji!~n8ji@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
<nlew>
"ruby dice library" on google has some promising results
<moonunitt>
ah ok, the +1 just moves 0 to 1
<moonunitt>
ok ty
<apeiros_>
moonunitt: yes
tonini [tonini!~zastav@78-8.61-188.cust.bluewin.ch] has joined #ruby
billy_ran_away [billy_ran_away!~billy_ran@173-167-194-14-ip-static.hfc.comcastbusiness.net] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
trend [trend!~craigslis@rrcs-76-79-188-47.west.biz.rr.com] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby
<nlew>
So Ruby 1.9 changed the inherited callback on a class defined with Class.new(Super, &block) to fire before evaluating the block, which means the class has no name while evaluating the block.
<nlew>
Any way to get it a name during the call to inherited? :/
sepp2k [sepp2k!~sexy@g224151073.adsl.alicedsl.de] has joined #ruby
perturbedpanda [perturbedpanda!~perturbed@matthewabrown.com] has joined #ruby
<nlew>
Ooooor suppress the callback
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
SegFaultAX|work [SegFaultAX|work!~mkbernard@173.228.45.162] has joined #ruby
<shevy>
hmm
<shevy>
I must switch to ruby 1.9.3x
<samuelkadolph>
shevy: You haven't even switched to 1.9.2, so I doubt you will
<shevy>
1.9.2 is below my radar
RoUS [RoUS!KenCoar@nat/redhat/x-njwgqkesxahzmrfq] has joined #ruby
RoUS [RoUS!KenCoar@apache/committer/coar] has joined #ruby
Crisco [Crisco!~Crisco@71-209-43-93.bois.qwest.net] has joined #ruby
<samuelkadolph>
So you're vulnerable to RSM: Ruby to shevy missiles?
<shevy>
every 1.9.x iteration worked better than the one before so far
RoUS__ [RoUS__!~KenCoar@dsl093-240-159.ral1.dsl.speakeasy.net] has joined #ruby
<shevy>
I could perhaps wait for 1.9.4 :D
<fennec>
anyone here intimiately familiar with the 'bunny' gem?
<nlew>
no, but now I really, really want to be
<shevy>
what a name
<fennec>
it's a rabbitmq client
<samuelkadolph>
"A synchronous Ruby AMQP client that enables interaction with AMQP-compliant brokers."
<samuelkadolph>
Boournes
<shevy>
ruby programmers have this odd tendency to give their projects silly names
<fennec>
yeah, ampq
<fennec>
er, amqp
<samuelkadolph>
shevy: YOU CAN'T HAVE MY UNICORN
<fennec>
shevy - easier to remember than 'amqp'
<shevy>
samuelkadolph hmm what odd project names did you make up so far? :)
Helius [Helius!~Adium@93-35-231-75.ip57.fastwebnet.it] has joined #ruby
<shevy>
fennec yeah
albemuth [albemuth!~albemuth@201.201.215.27] has joined #ruby
<shevy>
"god" leads my personal hate list of silly names for a project
<shevy>
unicorn is somewhat quite up high on that list too
<shevy>
bunny, I'd put a bit below unicorn
<nlew>
Rainbows! is worse than Unicorn.
<fennec>
and anything is better than WebSphere Client Technologies Micro Edition (WCTME) </ibm>
<shevy>
there is a ruby project called rainbows?
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
<nlew>
no
<nlew>
Rainbows!
<shevy>
hmm that annoys me
<nlew>
it's a fork of unicorn, to handle high-latency apps/clients
<shevy>
argh
nanoyak [nanoyak!~nanoyak@50-0-164-69.dsl.dynamic.sonic.net] has joined #ruby
p1d [p1d!~p1d@dslb-088-067-028-156.pools.arcor-ip.net] has joined #ruby
SegFaultAX|work [SegFaultAX|work!~mkbernard@173.228.45.162] has joined #ruby
stand1357 [stand1357!~worker@l49-155-122.cn.ru] has joined #ruby
macabre^ [macabre^!~macabre@63.133.215.18] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
kuranai [kuranai!~name@g231218253.adsl.alicedsl.de] has joined #ruby
macabre [macabre!~macabre@63.133.215.18] has joined #ruby
axl_ [axl_!~axl@216-43-114-19.ip.mcleodusa.net] has joined #ruby
tar_ [tar_!~tar@d118-75-81-132.try.wideopenwest.com] has joined #ruby
axl_ [axl_!~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net] has joined #ruby
adeponte [adeponte!~adeponte@67.110.253.162.ptr.us.xo.net] has joined #ruby
albemuth [albemuth!~albemuth@201.201.215.47] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
Spaceghostc2c [Spaceghostc2c!~Spaceghos@unaffiliated/spaceghostc2c] has joined #ruby
ikaros [ikaros!~ikaros@studpool-wlan-75-120.fs.fbi.h-da.de] has joined #ruby
<Spaceghostc2c>
I need to dynamically define methods, and at first I reach for method_missing, but I'm not sure if I should just use that, or Delegate and possible Forwardable.
Jake232 [Jake232!~textual@5e0ed417.bb.sky.com] has joined #ruby
<Tasser>
Spaceghostc2c, what do you need the methods for?
<berserkr>
hello all. i've a virtual machine with apache, mod_fcgid, suexec, ruby, rails, etc... and all works correctly, but the use of memory of the cgi process is about 22% of the total (512MB). Anyone know what's up?? I have PHP with fcgid too and only use 2% of memory...
axl_ [axl_!~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net] has joined #ruby
<Tasser>
berserkr, #rubyonrails
<berserkr>
Tasser: thanks and sorry for the inconvenient
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby
axl_ [axl_!~axl@216-43-114-19.ip.mcleodusa.net] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@216.199.155.226.nw.nuvox.net] has joined #ruby
Spaceghostc2c [Spaceghostc2c!~Spaceghos@unaffiliated/spaceghostc2c] has joined #ruby
r0bby_ [r0bby_!~wakawaka@guifications/user/r0bby] has joined #ruby
grekko [grekko!~grekko@HSI-KBW-078-043-185-121.hsi4.kabel-badenwuerttemberg.de] has joined #ruby
<Spaceghostc2c>
Tasser… I'm defining methods for accessing a hash. Like find_for_billing_info
<Spaceghostc2c>
The hash is derived from a json response.
axl_ [axl_!~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net] has joined #ruby
<Spaceghostc2c>
Would delegate and forwardable be the stuff I should use?
<Tasser>
why even use it?
<csavola>
Spaceghostc2c: or create a model that represents what you are trying to write instead of exposing implementation (Hash)
<Spaceghostc2c>
csavola… This isn't for rails.
<Tasser>
Spaceghostc2c, don't overdo the abstraction
<csavola>
Spaceghostc2c: that suggestion isn't for rails :)
<Spaceghostc2c>
I suppose I'll just go read more manual.
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
siksia [siksia!~siksia@209.119.255.4] has joined #ruby
<Spaceghostc2c>
Because the amount of methods I'd have to write is pretty large. The hash is huge.
llaskin [llaskin!~zombie@unaffiliated/topchef] has joined #ruby
<Tasser>
Spaceghostc2c, why the heck do you want to write methods for each hash key?
<shevy>
when he wants to check user input against a method call for instance
austinbv [austinbv!~austinbv@rrcs-24-73-203-202.se.biz.rr.com] has joined #ruby
<Spaceghostc2c>
I'm working on some session querying.
<Tasser>
shevy, that's what blocks are for?
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
<Spaceghostc2c>
I need to query the hash for keys based on a status.
<llaskin>
if value = '$0.78', then why does value.strip.to_f == 0.0?
<samuelkadolph>
llaskin: Because of the $
<llaskin>
oh realllly?
<Tasser>
Spaceghostc2c, so create a huge hash for a mapping status => keys
<samuelkadolph>
$ isn't a digit
Seisatsu [Seisatsu!~seisatsu@2001:5c0:1000:a::3e3] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@76-10-149-67.dsl.teksavvy.com] has joined #ruby
<Spaceghostc2c>
Tasser… Create a second hash from the already huge first hash when I'm getting the first from a database based on a query?
<Spaceghostc2c>
I don't see how that helps me create methods to query it simply.
<Tasser>
Spaceghostc2c, gimme an example
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
<Spaceghostc2c>
I think the thing I actually have a question about is do people use delegate and maybe forwardable for creating dynamic methods for convenience?
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
<Spaceghostc2c>
Like, we store (for some reason I don't know) the user agent in the hash for each document, but when we query, we're querying all documents for the user agent.
<Tasser>
Spaceghostc2c, create your own indexes or use SQL.
<Spaceghostc2c>
So being able to build a query that'd return the hash from the queried documents by using a convenience method that gets defined at runtime instead of a class with what I think would be >150 methods would be considerably helpful.
r0bby_ [r0bby_!~wakawaka@guifications/user/r0bby] has joined #ruby
isaia [isaia!~isaia@host170-35-dynamic.7-87-r.retail.telecomitalia.it] has joined #ruby
<Spaceghostc2c>
Tasser… So about my actual question though. Defining dynamic methods with delegate?
<Tasser>
Spaceghostc2c, should work, delgate proxies method calls
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
<Tasser>
but I still question your approach
otters [otters!~incluye@LO1-ESR-74-215-187-208.fuse.net] has joined #ruby
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
<Spaceghostc2c>
I'm only one dev in the team of like, a bunch of people I haven't even met yet. I don't think I can go changing the database on them.
moshef [moshef!~moshef@bzq-79-177-185-128.red.bezeqint.net] has joined #ruby
<Spaceghostc2c>
I can refactor other parts later, but all I need to deal with is creating methods for other developers and for the query builder at the moment.
<Spaceghostc2c>
If I were to make some decisions, I'd actually just use orientdb and just use my sexy tinkerpop tools.
Jarred [Jarred!~Jarred@c-71-198-139-210.hsd1.ca.comcast.net] has joined #ruby
linoj [linoj!~linoj@sn1-pat-1.m2s.com] has joined #ruby
<Jarred>
Does anyone know of any speech to text libraries for Ruby?
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby
<Spaceghostc2c>
Forwardable is kind of cool, it seems to act closer to a symlink than alias, which is kind of hardlink-like?
bosphorus_ [bosphorus_!~bosphorus@85.96.236.190] has joined #ruby
<nlew>
alias is more akin to cp
<samuelkadolph>
Yes since if you change the original method the aliased one won't change
havenn [havenn!~skipper@pool-108-0-191-213.lsanca.fios.verizon.net] has joined #ruby
rbanffy [rbanffy!~rbanffy@187.31.77.7] has joined #ruby
orospakr [orospakr!~orospakr@mobotropolis.orospakr.ca] has joined #ruby
nvictor [nvictor!~victor@97.67.101.35] has joined #ruby
<nvictor>
hi all
<nvictor>
i'm having some issues with gem
<nvictor>
the command
<nvictor>
it won't let me install anything saying i dont have permission to install in
<orospakr>
Hi! I'm using the ruby-mode in emacs 23, but the hanging behaviour of array [] brackets is all wrong: it will hang right below, rather than merely during a normal indent on the next line. Hash {} brackets do the right thing.
<orospakr>
any recommendations? :)
<nvictor>
/opt/local/lib/ruby/gems/1.8
<nvictor>
the command is run without sudo on purpose
<nvictor>
because i'm not supposed to use the system wide ruby
eMyller [eMyller!~quassel@li75-95.members.linode.com] has joined #ruby
mkscrg [mkscrg!~mkscrg@pool-108-41-134-165.nycmny.fios.verizon.net] has joined #ruby
bwlang [bwlang!~anonymous@70-91-134-14-ma-ne.hfc.comcastbusiness.net] has joined #ruby
<orospakr>
s/during/by means of/
conor_ireland [conor_ireland!~conor_ire@89.100.121.49] has joined #ruby
Seppman [Seppman!~sepp@cpe90-146-41-35.liwest.at] has joined #ruby
<srid>
(via bundler)
eMyller [eMyller!~quassel@li75-95.members.linode.com] has quit ["http://quassel-irc.org - Chat comfortably. Anywhere."]
poppiez [poppiez!~unknown@002131155175.mbb.telenor.dk] has joined #ruby
<conor_ireland>
i have an array of strings that i want to change, which works fine if i use sub/gsub. but what would be a way to check a string for a letter in ruby and then replace it using each, collect or select?
<conor_ireland>
but it is just using gsub within the each
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
emanu [emanu!~emanu@modemcable097.122-21-96.mc.videotron.ca] has joined #ruby
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@108-202-113-212.lightspeed.frokca.sbcglobal.net] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
asQuirreL [asQuirreL!~amenon@93-96-10-147.zone4.bethere.co.uk] has joined #ruby
<asQuirreL>
marnin all
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
irocksu [irocksu!~mars@e179197005.adsl.alicedsl.de] has joined #ruby
<irocksu>
hi
manizzle [manizzle!~manizzle@dsl081-053-082.sfo1.dsl.speakeasy.net] has joined #ruby
<asQuirreL>
I've got a bit of an annoying problem...
<irocksu>
i know it is possible to install a gem with gem install somegem.gem
<asQuirreL>
in my code, errors seem to just be ignoring my begin..rescue block
<irocksu>
is it possible to put all my *.gem in a directory and install them with the normal gem -v 1.0.0 somegem command?
<irocksu>
so i do not have to download them again
thepix [thepix!~pix@91.193.160.246] has joined #ruby
bosphorus [bosphorus!~bosphorus@85.96.236.190] has joined #ruby
RichGuk [RichGuk!~RichGuk@carina.27smiles.com] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
havenn [havenn!~skipper@pool-108-0-191-213.lsanca.fios.verizon.net] has quit ["Leaving"]
havenn [havenn!~skipper@pool-108-0-191-213.lsanca.fios.verizon.net] has joined #ruby
nikkos07 [nikkos07!~nikkos@athedsl-4480245.home.otenet.gr] has joined #ruby
<asQuirreL>
cancel that, got it... it was a syntaxerror >.>
jbpros [jbpros!~jbpros@233-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
sunredsky [sunredsky!sunredsky@76.206.24.126] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
stephans [stephans!~stephans@209.66.114.6] has joined #ruby
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
eko [eko!~eko@unaffiliated/eko] has joined #ruby
mc_mac [mc_mac!~chatzilla@98.156.61.61] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-097-077-221.pools.arcor-ip.net] has joined #ruby
theRoUS [theRoUS!KenCoar@apache/committer/coar] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-19-183.lnse5.ken.bigpond.net.au] has joined #ruby
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
<moonunitt>
is there an online paste pad i can put my code in and run it
stephenjudkins_ [stephenjudkins_!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
<moonunitt>
other than code pad, i want to beable to interact with the code, as im getting an error once i get to a certin script
llaskin [llaskin!~zombie@unaffiliated/topchef] has quit [#ruby]
jamiejackson [jamiejackson!~jamie@unaffiliated/jamiejackson] has joined #ruby
<jamiejackson>
when should one do a "bundle install" versus a "gem install", and vice versa?
<samuelkadolph>
jamiejackson: bundle install is when you are using bundler (have a Gemfile) and want to install all gems in it
pantsman [pantsman!~pantsman@2.25.204.152] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@76-217-192-160.lightspeed.frokca.sbcglobal.net] has joined #ruby
Jarred [Jarred!~Jarred@c-71-198-139-210.hsd1.ca.comcast.net] has joined #ruby
kf8a [kf8a!~kf8a@72.37.242.11] has joined #ruby
badabim [badabim!~badabim@17.212.166.202] has joined #ruby
<jamiejackson>
thanks samuelkadolph . I'm new to the Ruby/Rails world. I have to deploy an inherited RoR application to a java server. Is Bundler recommended even when warbler is used? (all this stuff is new to me, sorry)
<samuelkadolph>
jamiejackson: warbler works with bundler if you are using it
<jamiejackson>
samuelkadolph, the reason i ask about bundler is because when i run warbler in the app root:
<jamiejackson>
Could not find coffee-rails-3.1.1 in any of the sources
<jamiejackson>
Run `bundle install` to install missing gems.
<samuelkadolph>
Then do as it says and install the gems you need
macabre [macabre!~macabre@63.133.215.18] has joined #ruby
<jamiejackson>
okay
<samuelkadolph>
Using bundle install
<jamiejackson>
okay, samuelkadolph
smeagle [smeagle!c242af52@gateway/web/freenode/ip.194.66.175.82] has joined #ruby
<smeagle>
is ruby as flexible as i think?
negaduck [negaduck!~negaduck@213.141.130.13] has joined #ruby
smeagle [smeagle!c242af52@gateway/web/freenode/ip.194.66.175.82] has quit [#ruby]
<tdmackey_>
how flexible do you think it is?
Knodi [Knodi!~Knodi@c-68-43-246-216.hsd1.mi.comcast.net] has joined #ruby
edwardsharp [edwardsharp!~chatzilla@173-8-205-65-Oregon.hfc.comcastbusiness.net] has joined #ruby
rms-ict [rms-ict!~rmmsr@89.204.155.72] has joined #ruby
<samuelkadolph>
So flexible it can touch its toes
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@50-77-200-126-static.hfc.comcastbusiness.net] has joined #ruby
theRoUS [theRoUS!KenCoar@nat/redhat/x-ltiusemtvyyjsrau] has joined #ruby
theRoUS [theRoUS!KenCoar@apache/committer/coar] has joined #ruby
<shevy>
man
<shevy>
ruby is so flexible, it makes the moebius strip gasp in awe
<shevy>
hmm I am staring at python code
<shevy>
i is the input
<shevy>
phrase_letters = [c for c in i.lower() if c.isalpha()]
<shevy>
what the heck does that all mean :(
<yxhuvud>
shevy: it means python people read their loops inside out.
<fennec>
looks like it extracts all the lowercase letters in i
<shevy>
inside out?
<shevy>
I find that very confusing!
<shevy>
my brain is too much matched towards .each
CannedCorn [CannedCorn!~textual@207.239.86.46] has joined #ruby
<fennec>
actually, it looks like it extracts all the letters in i and makes them lowercase, i should say
<yxhuvud>
shevy: it is basically doing c.select( &:isalpha).select {|c| i.lower.include? c} or something like that.
<shevy>
aaah
<fennec>
i could be wrong
<fennec>
but it looks more like it's doing
<CannedCorn>
is there a method to see local variables in ruby
<yxhuvud>
uhm wait I am way wrong.
<fennec>
i think it's doing i.lower.select {|char| char.isalpha? }
davidcelis [davidcelis!~david@70-89-180-6-smc-or.hfc.comcastbusiness.net] has joined #ruby
<fennec>
or something like that
<fennec>
+- method names
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
<fennec>
and the fact that you can't call select on a string
rboyd [rboyd!~rboyd@216.106.40.113] has joined #ruby
QKO [QKO!~reaVer@unaffiliated/reaver] has joined #ruby
<fennec>
so I think it would turn 'Ruby! It's awesome!' into 'rubyitsawesome'
rubyruy [rubyruy!~ruy@76.77.91.41] has joined #ruby
burgestrand [burgestrand!~burgestra@h-163-174.a155.priv.bahnhof.se] has joined #ruby
tesmar [tesmar!~tesmar@adsl-74-162-155-240.rmo.bellsouth.net] has joined #ruby
<shevy>
hmm
<shevy>
that would be kinda a cool programming language
<shevy>
where, rather than writing method, you write input strings and output strings, and let the computer figure out the rest :D
<banisterfiend>
fennec: Strings were enumerable in 1.8
<fennec>
hmm? i maybe using the wrong irb executable, haha
<fennec>
NoMethodError: private method `select' called for "foobar":String
<fennec>
no, here it is
<fennec>
ack, echo
<fennec>
my apologies
nonotza [nonotza!~nonotza@66.246.94.130] has joined #ruby
tdubellz [tdubellz!tdubellz@freenode/staff/tdubellz] has joined #ruby
sunredsky [sunredsky!sunredsky@adsl-76-206-24-126.dsl.covlil.sbcglobal.net] has joined #ruby
<fennec>
i guess you could stuff an each_char in the middle there and it'd work though
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
<asQuirreL>
shevy: that isn't as useful as it sounds :P
<shevy>
asQuirreL hmm but if it would work!
<shevy>
imagine that
<asQuirreL>
shevy: we'd be out of a job
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby
<asQuirreL>
xD
<shevy>
well
<shevy>
I guess there would be some conflicting method resolution in the programming hyperspace
<apeiros_>
shevy: such programming languages do exist
<asQuirreL>
shevy: haskell uses pattern matching
<apeiros_>
not exactly with in- and output strings
<asQuirreL>
that's about as close as you can get
<apeiros_>
but the notion of "I tell you what I have and what I'm looking for, you solve it"
<burgestrand>
prolog
<shevy>
:)
<asQuirreL>
that's different
<asQuirreL>
that's like an inference engine
<asQuirreL>
things that you can feed facts
<asQuirreL>
and then get it to make inferences from
<asQuirreL>
like "all dogs are mammals", "all cats are mammals" and then asking "are cats dogs?"
<asQuirreL>
I might write one of those... seems like an interesting project... :P
<burgestrand>
A is the parent of B, B is the sibling of C, D is the aunt of F and who’s your daddy?
<asQuirreL>
burgestrand: yeah
n8ji [n8ji!~n8ji@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
<asQuirreL>
but anyway
<shevy>
A is the parent of B, B is the sibling of C, D is the aunt of F and how old is your daddy
<asQuirreL>
shevy: you can't infer that from the information given :P
<Jarred>
Does anyone know of any voice recognition libraries for Ruby?
<shevy>
yeah
<asQuirreL>
shevy: unless you had your ages
<asQuirreL>
or the ages of everyone in question
<shevy>
but there are finite ways from ... "abc" to ... "aBc" ... and what would be awesome would be ... to return a listing of methods, simplest solutions first, to solve that
<asQuirreL>
then you could limit it to a particular range D
<asQuirreL>
*xD
Aaaarg [Aaaarg!~Arthur@121-74-37-117.telstraclear.net] has joined #ruby
<asQuirreL>
shevy: that's really a rather complicated task :P
<shevy>
!
<shevy>
the input is easy!
<shevy>
the output is easy!
<asQuirreL>
no.... not the actual process :P
<asQuirreL>
the process of finding the process
<shevy>
we gotta be prepared for the year 2100
<shevy>
less than 90 years to go, a very few of us may even experience it :P
Adman65 [Adman65!~Adman65@cs181188119.pp.htv.fi] has joined #ruby
apok [apok!~apok@adsl-70-137-146-26.dsl.snfc21.sbcglobal.net] has joined #ruby
<theRoUS>
meh. i'm working in a gem tree created by Jeweler. my test script starts with "require 'rubygems' ; require 'helper' ; require 'ruby-debug' ; Debugger.start"
<theRoUS>
"rake test" blows up with :in `require': no such file to load -- ruby-debug (LoadError)
aziz_light [aziz_light!~aziz_ligh@85-168-220-242.rev.numericable.fr] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-42-152.telstraclear.net] has joined #ruby
<shevy>
cool
<asQuirreL>
shevy: check it out matric.herokuapp.com
<asQuirreL>
what I've been working on :P
<asQuirreL>
it's only really useful if you know what matrices are
<asQuirreL>
but it can perform as a regular calculator
<theRoUS>
i've never encountered anything like *that* before.. that coudn't be fixed with a "require 'rubygems'"
stephenjudkins [stephenjudkins!~stephen@68.178.19.17] has joined #ruby
<theRoUS>
particularly since this works: rake -e 'require "ruby-debug"'
mgj [mgj!~z@unaffiliated/mgj] has joined #ruby
c72 [c72!~c72@pool-173-58-207-67.lsanca.fios.verizon.net] has joined #ruby
<shevy>
asQuirreL hmm sadly
<shevy>
I cant read that page
<shevy>
no idea why firefox doesnt like it
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
zodiak [zodiak!~stef@pool-108-13-237-159.lsanca.fios.verizon.net] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@host-208-68-238-122.biznesshosting.net] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
roblak [roblak!~roblak@204.28.126.146] has joined #ruby
stephans_ [stephans_!~stephans@209.66.114.6] has joined #ruby
<roblak>
i have an array of objects that have a 'value' attribute set on them. i have a desired value in another variable. what's the cleanest way to find the object with the matching value?
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
<roblak>
(i'm hoping to be enlightened on some array method that will allow it in one line)
<shevy>
hmmm perhaps ... .select or .find
<shevy>
though I have to pass on one-liners, I was never good with them
<roblak>
shevy: find/detect looks perfect. thx!
mxweas_ [mxweas_!~max@mobile-198-228-215-084.mycingular.net] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
shadoi [shadoi!~Adium@75-169-198-9.slkc.qwest.net] has joined #ruby
grotta [grotta!~grotta@176.9.244.139] has joined #ruby
mxweas_ [mxweas_!~max@mobile-198-228-215-084.mycingular.net] has joined #ruby
Brozilla [Brozilla!~Brozilla@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
ascarter_ [ascarter_!~ascarter@209.119.253.66] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
asobrasil [asobrasil!~asantioli@palpatine.privatedns.com] has quit [#ruby]
flip_digits [flip_digits!~textual@c-71-199-243-97.hsd1.fl.comcast.net] has joined #ruby
Brandonn [Brandonn!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
Aaaarg [Aaaarg!~Arthur@121-74-35-229.telstraclear.net] has joined #ruby
trend [trend!~craigslis@rrcs-76-79-188-47.west.biz.rr.com] has joined #ruby
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
linoj_ [linoj_!~linoj@sn1-pat-1.m2s.com] has joined #ruby
sunredsky [sunredsky!sunredsky@adsl-76-206-24-126.dsl.covlil.sbcglobal.net] has joined #ruby
mxweas_ [mxweas_!~max@mobile-198-228-215-084.mycingular.net] has joined #ruby
Brozilla [Brozilla!~Brozilla@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
ikaros_ [ikaros_!~ikaros@dslb-188-097-077-221.pools.arcor-ip.net] has joined #ruby
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
<CannedCorn>
can you concatenate regular expressions?
telling_ [telling_!~grotta@176.9.244.139] has joined #ruby
travisjeffery [travisjeffery!~travisjef@64.215.160.39] has joined #ruby
bugz^ [bugz^!~bugz@mx01.skyalpha.net] has joined #ruby
spyvsspy [spyvsspy!~nonenone@209.145.177.162] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
<Norrin>
strings concatenate. choose a new verb...