Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
oakesy [oakesy!~anonymous@host-2-99-81-100.as13285.net] has joined #ruby-lang
slimfit [slimfit!~slimfit@c-98-245-122-231.hsd1.co.comcast.net] has joined #ruby-lang
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby-lang
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
antinitro [antinitro!~adam@cpc1-stap4-0-0-cust418.12-2.cable.virginmedia.com] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
<andrewvos> Oh my god I should kill myself now: Shit Rubyists Say (@shitrubyistssay) retweeted one of your Tweets!
<andrewvos> Who did this?
<andrewvos> I hate you.
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
<zzak> how do you add 'owners' to rubygems? just spec.authors?
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
<zzak> nvm, its `gem owner`
<zzak> corundum owner?
<corundum> I can't do that Dave.
<zzak> corundum gem owner?
<corundum> dunno
<corundum> aight
<zzak> corundum gem owner?
<zzak> corundum owner sinatra
<erikh> the bot needs a threshold that says, "why you all up in my shit?" after several requests in sequence
<zzak> corundum botsnack
<corundum> zzak: ta :)
<zzak> erikh humansnack
<erikh> nom
<zzak> zzak coffee sip
<zzak> yayayaya
<erikh> man I haven't opened the window all day
<erikh> no wonder I feel like crap
<zzak> drink moar water
kajico [kajico!~kajico@24-155-117-50.dyn.grandenetworks.net] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby-lang
gregf [gregf!~gregf@207.5.168.94] has joined #ruby-lang
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
kajico [kajico!~kajico@24-155-117-50.dyn.grandenetworks.net] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
<andrewvos> "Water considered harmful"
<andrewvos> If someone did a blog post and the first 140 characters were any good, then everyone would believe the title.
fayimora [fayimora!~fayimora@95.175.159.8] has joined #ruby-lang
<Phrogz> andrewvos: My wife once worked in environment safety for a chemical company. Therein she learned that water has a MSDS (Material Safety Data Sheet) because someone once died over-injesting it.
<Phrogz> (Trying to pass a drug test, drank so much water that he flushed necessary electrolytes from body and died, or something.)
<MistyM> Everything in moderation.
<andrewvos> Phrogz: Can I copy and paste that? I'll be number one on hacker news.
<Phrogz> Go ahead. It might be wrong, but go ahead.
<andrewvos> Seriously though, that's messed up.
<shevy> MistyM what if there is a very high level before in moderation :D
<shevy> though I am a bit sceptical to such a story Phrogz
<andrewvos> shevy: Prove him wrong?
<Phrogz> MSNBC, yo.
<andrewvos> If you translate this into a human (where the numbers won't be exactly the same, but will be fairly similar), you can give a little over 6L of water to a 150 lb human before 50% of them will die (6 L is about 1.5 gallons). Or around 13.5 lbs of water. That's a lot of water.
<andrewvos> Is the MS in MSNBC what I think it is?
<Phrogz> Now we're cooking.
* andrewvos puts down the water
<shevy> well I don't know
<shevy> the talk page is funny though
<shevy> "I am no expert at all, so if you die its not my fault."
<MistyM> andrewvos: It sure is, but I don't think MS actually has any share in it anymore.
slimfit [slimfit!~slimfit@c-98-245-122-231.hsd1.co.comcast.net] has joined #ruby-lang
<shevy> Then there are statements like: "Water is considered the least toxic chemical compound, with a LD50 of 90 g/Kg or more." but I never heard of anyone applying the lethal dose to water in any way. Would be nice to see sources cited, rather than just statements done
<andrewvos> Water, the silent killer.
<Phrogz> shevy: http://www.sciencelab.com/msds.php?msdsId=9927321 has that same figure
<andrewvos> TIL:
<andrewvos> Small Spill: Mop up, or absorb with an inert dry material and place in an appropriate waste disposal containe
<Phrogz> "Taste: Not available."
<andrewvos> hahahah
<shevy> hmm I don't find a link to LD50 on that .pdf. http://en.wikipedia.org/wiki/LD50 It is usually done on mice population.
<andrewvos> "Taste: You're an idiot"
<andrewvos> shevy: It's under toxicology
<shevy> ah now I see it
<shevy> "LD50: [Rat] - Route: oral; Dose: > 90 ml/kg"
Guest [Guest!~karpodiem@c-107-5-193-193.hsd1.mi.comcast.net] has joined #ruby-lang
Guest [Guest!~karpodiem@c-107-5-193-193.hsd1.mi.comcast.net] has quit [#ruby-lang]
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
drdr [drdr!d059b08f@gateway/web/freenode/ip.208.89.176.143] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
vdrab [vdrab!~vdrab@p922ecb.kyotnt01.ap.so-net.ne.jp] has joined #ruby-lang
ahf [ahf!ahf@irssi.org] has joined #ruby-lang
ahf [ahf!ahf@irssi/staff/ahf] has joined #ruby-lang
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
slippyd [slippyd!~slippyd@pool-71-241-153-24.nycmny.fios.verizon.net] has joined #ruby-lang
Xzyx987X_ [Xzyx987X_!~Xzyx987X@c-75-72-121-187.hsd1.mn.comcast.net] has joined #ruby-lang
Mon_Ouie [Mon_Ouie!~Mon_Ouie@subtle/user/MonOuie] has joined #ruby-lang
<slippyd> Howdy all.
<slippyd> Would anyone know if there's a hard length limit on strings in Ruby?
mortice [mortice!~Tom@li300-55.members.linode.com] has joined #ruby-lang
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby-lang
<slippyd> From my calculations, it's the length of an unsigned long; 2,147,483,647 (32-bit system) or 9,223,372,036,854,775,807 (64-bit system).
<slippyd> Does that sound right?
csherin [csherin!~csherin@202.164.151.110] has joined #ruby-lang
cosmic_charlie [cosmic_charlie!~chase@pool-108-35-111-124.nwrknj.fios.verizon.net] has joined #ruby-lang
<nwonknu> slippyd: (2 ** 31) - 1 and (2 ** 63) - 1 respectively, iirc
<slippyd> Yep.
<slippyd> Matches my calculations.
<slippyd> Merci.
vdrab [vdrab!~vdrab@p922ecb.kyotnt01.ap.so-net.ne.jp] has joined #ruby-lang
DRCALKIN [DRCALKIN!~DROOL_AND@cpe-66-69-208-144.austin.res.rr.com] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
uniqanomaly [uniqanomaly!~ua@dynamic-78-8-83-137.ssp.dialog.net.pl] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby-lang
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
Mon_Ouie [Mon_Ouie!~Mon_Ouie@subtle/user/MonOuie] has joined #ruby-lang
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
mztriz [mztriz!~mztriz@74-136-75-114.dhcp.insightbb.com] has joined #ruby-lang
jaisoares [jaisoares!~jsoares@bl13-218-246.dsl.telepac.pt] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
PnoyGem [PnoyGem!~PnoyGem@c-67-191-136-183.hsd1.ga.comcast.net] has joined #ruby-lang
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
techsilo [techsilo!techsilo@cpe-67-248-158-164.nycap.res.rr.com] has joined #ruby-lang
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby-lang
tomzx [tomzx!~tomzx@66-77.162.dsl.aei.ca] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
lordofthedance [lordofthedance!~daddycool@wnpgmb0911w-ad03-102-221.dynamic.mtsallstream.net] has joined #ruby-lang
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
vdrab [vdrab!~vdrab@p922ecb.kyotnt01.ap.so-net.ne.jp] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
Jarred [Jarred!~Administr@c-71-198-139-210.hsd1.ca.comcast.net] has joined #ruby-lang
<Jarred> If you guys had an API that told you when people are home, what would you do with it?
<Jarred> (if anything)
<lianj> go there if they are not home?
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@101.171.15.35] has joined #ruby-lang
butchanton [butchanton!~butchanto@c-71-202-131-177.hsd1.ca.comcast.net] has joined #ruby-lang
senthil [senthil!~senthil@99-51-1-6.lightspeed.snjsca.sbcglobal.net] has joined #ruby-lang
jsaak [jsaak!~jsaak@catv-89-134-200-70.catv.broadband.hu] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
<shevy> lol
<shevy> most epic answer ever to be had on #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p4FCAEA2D.dip.t-dialin.net] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@101.171.15.35] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p4FCAEA2D.dip.t-dialin.net] has joined #ruby-lang
nwonknu_ [nwonknu_!nwonknu@gateway/shell/anapnea.net/x-lybjvovwrvpkwwsn] has joined #ruby-lang
nofxx [nofxx!~nofxx@177.106.32.38] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
queequeg1_ [queequeg1_!~chatzilla@c-71-202-152-67.hsd1.ca.comcast.net] has joined #ruby-lang
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host78-84-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby-lang
daglees [daglees!~belvedere@92.62.115.195] has joined #ruby-lang
daglees [daglees!~belvedere@unaffiliated/daglees] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
<NARKOZ> which one is better: (ARRAY1 + ARRAY2).include? vs (ARRAY1+ARRAY2).include?
<bnagy> ...?
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
<NARKOZ> syntax
<bnagy> you're asking about the spaces, or what?
<NARKOZ> yes, formatting
<bnagy> I don't think that's a good way to do it, btw, why make a new array for no reason?
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
nwonknu [nwonknu!nwonknu@gateway/shell/anapnea.net/x-caqsubnjohyvdsvt] has joined #ruby-lang
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby-lang
<NARKOZ> it was Array1.include?("text") || Array2.include?("text")
<bnagy> yes
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<bnagy> so you're trying to make it worse, and asking if you should make it uglier as well? :)
<guns> you can also drop the parens and use `or` instead of `||`
<kajico> anybody familiar with HTTP classes in ruby?
publicvoid [publicvoid!~publicvoi@p4FCAEA2D.dip.t-dialin.net] has joined #ruby-lang
thone [thone!~thone@g226048223.adsl.alicedsl.de] has joined #ruby-lang
Truthseeker [Truthseeker!~belvedere@unaffiliated/daglees] has joined #ruby-lang
daglees [daglees!~belvedere@92.62.115.195] has joined #ruby-lang
daglees [daglees!~belvedere@unaffiliated/daglees] has joined #ruby-lang
<shevy> NARKOZ the one with space
<shevy> visually separation helps the eye recognize individual components much faster
<bnagy> or just leave it how it is, cause it's more efficient
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
<bnagy> I would write [ary1, ary2].any? {|a| a.include? elem} personally, just in case there were ever more than two
<bnagy> but whatever
<shevy> hmm
<shevy> a bit verbose
<bnagy> itym 'readable' :)
<shevy> what sometimes gets to me is that .include? on Array works on whole elements
<shevy> so you have...
<shevy> %w( abc def ghi ).include? 'ghi' # => true
<shevy> whereas ...
<shevy> %w( abc def ghi ).include? 'gh' # => false
<shevy> logically does not work
<shevy> but I often found that I needed the latter :/
<bnagy> if you think that should work you have a broken logicbrane ;)
<shevy> well I actually use that, but I extended Array and call that method .partial_include?
<shevy> I am surprised noone uses that! :(
<guns> String calls that `grep`
<bnagy> why wouldn't you just say ary.any? {|str| str.include? 'gh'} ?
<shevy> hmmm
yxhuvud [yxhuvud!mongo@h-5-47.a212.priv.bahnhof.se] has joined #ruby-lang
<manveru> ary.grep(/gh/).any?
<bnagy> <3
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has joined #ruby-lang
<manveru> not that i think that's the best way :P
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
<bnagy> no, but I know more about some fine print in Enumerable now
indeterminate [indeterminate!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby-lang
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
andrewsmith [andrewsmith!~fullsailo@ip24-250-174-76.ga.at.cox.net] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p4FCAEA2D.dip.t-dialin.net] has joined #ruby-lang
r0bby [r0bby!~wakawaka@guifications/user/r0bby] has joined #ruby-lang
fullsailor [fullsailor!~fullsailo@ip24-250-174-76.ga.at.cox.net] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
Locke23rus [Locke23rus!~quassel@128-70-13-209.broadband.corbina.ru] has joined #ruby-lang
shevy [shevy!~shevy@178-190-192-237.adsl.highway.telekom.at] has joined #ruby-lang
<muzone> good morning lovers
tekin [tekin!~tekin@cpc8-with5-2-0-cust208.1-4.cable.virginmedia.com] has joined #ruby-lang
<shevy> muzone still writing time schedulers for saudi dictators? :>
<muzone> he he he
<muzone> shevy: im writing software for cities: http://www.youtube.com/watch?v=FyghLnbp20U
<shevy> oh yeah I know that
<shevy> the golden oasis century
<shevy> turn shitty sand areas into high tech areas
<muzone> well
<muzone> not sure if they're shitty
<muzone> lack of water perhaps yeah
<muzone> hehe
<shevy> and lots of sand
<shevy> I don't like that central planning
<shevy> they did that in shanghai too, and shanghai sucks compared to hong kong
<muzone> what did they do in shanghai?
<muzone> all modern cities are planned cities from what i know
<shevy> muzone they killed all the smaller old buildings and built skyscrapers at that spot
<muzone> oh
<muzone> that sucks
<bnagy> which is different how to HK? :)
<muzone> heheh
solars [solars!~solars@194.208.132.118] has joined #ruby-lang
<shevy> bnagy they didn't have a lot of room in HK to begin with
<shevy> all they wanted to do in shanghai was to build their own version of the "better" hong kong
<muzone> interesting
<muzone> well, actually, masdar is suppose to be the "better" dubai
<muzone> or that masdar as a module is to be replicated all over abu dhabi, which together will make out the "better" dubai
<shevy> http://www.mondial.at/content/newsimg/Hongkong.jpg <--- beautiful http://www.shanghai-infos.de/shanghai11.jpg <-- the moloch grows, the small buildings in the lower right corner will be crushed by the growth of the other buildings
<shevy> yeah or
<shevy> they just don't know what to do with all their money :P
<muzone> hehe
<muzone> i think most arab oil money is going into malaysia these days
<muzone> to that new economic zone in the south of the country, "the extension of singapore"
<shevy> why into malaysia?
<shevy> I was there many years ago! kuala lumpur was a damn dirty town, it was insanely hot and humid, but penang and george town had a wonderful climate + area
<muzone> well
<muzone> its like their gateway to asia i guess
<muzone> yeah kuala lumpur is damn dirty
<muzone> but they moved the capital though, to a place called putrajaya, beautiful place
<muzone> not a single spick of dirt
<shevy> :)
<shevy> never been to putrajaya
<muzone> hehe nice
<shevy> ok... another planned city
<muzone> for what it's worth here's a report from australian tv: http://www.youtube.com/watch?v=DyIi5nYkKwE
<shevy> I heard they are doing the same in india. I forgot which town ... mumbay or something, where they wanted to raze down the slum buildings and replace them with modern buildings
<muzone> yup, all planned
<muzone> yeah i think i heard about that too
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
fritzek [fritzek!~fritzek@p5DDB5CA0.dip.t-dialin.net] has joined #ruby-lang
fritzek [fritzek!~fritzek@p5DDB5CA0.dip.t-dialin.net] has joined #ruby-lang
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby-lang
cmatheson [cmatheson!~cam@71-219-45-53.slkc.qwest.net] has joined #ruby-lang
jamw [jamw!~j@cpc11-orpi3-2-0-cust53.2-3.cable.virginmedia.com] has joined #ruby-lang
tbuehlmann [tbuehlmann!~sjdfndsf@unaffiliated/tovias] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
Aphelion [Aphelion!~ttilley@unaffiliated/lv] has joined #ruby-lang
oddmunds [oddmunds!~oddmunds@s21-04214.dsl.no.powertech.net] has joined #ruby-lang
benanne [benanne!~rijdier@34.85-241-81.adsl-dyn.isp.belgacom.be] has joined #ruby-lang
PhilCK [PhilCK!~anonymous@cpc2-sgyl30-2-0-cust158.sgyl.cable.virginmedia.com] has joined #ruby-lang
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
toretore [toretore!~toretore@crr06-3-82-231-12-81.fbx.proxad.net] has joined #ruby-lang
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
niklasb [niklasb!~codeslay0@p5B31147E.dip0.t-ipconnect.de] has joined #ruby-lang
gix [gix!~gix@e180037030.adsl.alicedsl.de] has joined #ruby-lang
<pbjorklund> Why do I need to put raise(Exception) in parentheses when using the ternay operator? Like a>b ? raise(Exeption) : b
Stalkr_ [Stalkr_!~Stalkr@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
nark-1 [nark-1!~NARKOZ@46.228.177.254] has joined #ruby-lang
<Asher> b/c otherwise it parses ambiguously, i believe
<Asher> tho i believe right now you're doing a > ( b ? raise( Exception ) : b )
<Asher> pretty sure the > gets priority over the ?
<pbjorklund> My triangle test a+b>c ? stuff : stuff works
oddmunds [oddmunds!~oddmunds@s21-04214.dsl.no.powertech.net] has joined #ruby-lang
<Asher> i could be wrong… i always use explicit parens to make sure
apeiros_ [apeiros_!~apeiros@77-58-113-31.dclient.hispeed.ch] has joined #ruby-lang
Defusal [Defusal!Defusal@dsl-240-245-140.telkomadsl.co.za] has joined #ruby-lang
Defusal [Defusal!Defusal@unaffiliated/ecnerifed] has joined #ruby-lang
bougyman [bougyman!bougyman@63.133.184.126] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
KU0N [KU0N!~KU0N@213-193-112-54.static.cablecom.ch] has joined #ruby-lang
indeterminate [indeterminate!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby-lang
fayimora [fayimora!~fayimora@95.175.159.34] has joined #ruby-lang
publicvoid_ [publicvoid_!~publicvoi@p4FCAFF28.dip.t-dialin.net] has joined #ruby-lang
jamescotterill [jamescotterill!~james@94-192-130-249.zone6.bethere.co.uk] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
corecode [corecode!~2@0x2c.org] has joined #ruby-lang
<corecode> hi
<corecode> is there a standard way of padding strings?
<corecode> say, i want to print a hex string of length 4
<corecode> 3.to_s(16) will only print '3', but i'd like '0003'
<corecode> i guess i'll use printf
<guns> corecode: '%04x' % n
<guns> String#% uses all the standard printf formats
<corecode> yea
<corecode> that's what i ment by printf
dnjaramba_ [dnjaramba_!~dnjaramba@41.72.193.86] has joined #ruby-lang
fayimora [fayimora!~fayimora@2a01:388:201:3721:9892:de39:602e:f71f] has joined #ruby-lang
empity [empity!~user@host86-140-71-25.range86-140.btcentralplus.com] has joined #ruby-lang
<shevy> hehe
<shevy> hey corecode
<shevy> aren't you an old-time ruby user?
<corecode> yea, but always search for ways to improve
<shevy> we all try :)
<corecode> i mean, sometimes there are situations where you want to pad a string with '.'
<corecode> what do you do then
<shevy> you mean pad it with a certain character
<shevy> hmm I think not with printf
<shevy> idea:
<shevy> string[0,0] = '.' * 8
<shevy> and replace 8 with the amount of pads you require
<guns> corecode: String#ljust, rjust, center
<shevy> oh
<corecode> guns: nice!
<corecode> that's what i was looking for
<corecode> awesome
<corecode> shevy: see, always a win
<shevy> but that pads only with ' ' or?
<guns> shevy: you can specify the padding character as 2nd param
<shevy> aaaaaaaaah
<shevy> cool, learned something new thanks guns
<guns> np
yadav [yadav!~quassel@dsl-173-248-230-235.acanac.net] has joined #ruby-lang
antinitro_ [antinitro_!~adam@cpc1-stap4-0-0-cust418.12-2.cable.virginmedia.com] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has quit [#ruby-lang]
Spooner [Spooner!~Miranda@host-78-144-139-130.as13285.net] has joined #ruby-lang
voker57_ [voker57_!~voker57@2.93.237.50] has joined #ruby-lang
zmack [zmack!~zmack@78.97.143.6] has joined #ruby-lang
tjadc [tjadc!~quassel@dsl-240-245-140.telkomadsl.co.za] has joined #ruby-lang
gix- [gix-!~gix@e180037030.adsl.alicedsl.de] has joined #ruby-lang
cosmic_charlie [cosmic_charlie!~chase@pool-108-35-111-124.nwrknj.fios.verizon.net] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.236.207] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@subtle/user/kyrylo] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
<Phrogz> Going a little bit crazy with Method#to_proc; is there a better way do this:
<Phrogz> Dir.chdir(File.dirname(__FILE__)){ Dir['captchas/**/*'].map(&File.method(:expand_path)) }.each(&method(:require))
<Phrogz> (Require all files in a directory relative to this file, hierarchically)
segy [segy!~segfault@ool-4b7f91cb.static.optonline.net] has joined #ruby-lang
segy [segy!~segfault@pdpc/supporter/active/segy] has joined #ruby-lang
<chris2> roughly
<chris2> Dir[File.join ...].each {|f| require f }
csherin [csherin!~csherin@202.164.151.110] has joined #ruby-lang
<Phrogz> Heh, didn't notice that .each{|f| require f} is significantly shorter than .each(&method :require) :)
<Phrogz> Got all caught up in being tricky.
<Phrogz> Similarly with expand_path. Poop; no justifiably tricky code for me.
<Phrogz> This is why we need a special syntax for #method :)
<chris2> meh
<andrewvos> Which is the best linux distro? I'm thinking of going off os x, but Unity in Ubuntu pissed me off the last time I tried to switch.
<andrewvos> I know that's subjective, but would like to hear some thoughts.
dejongge [dejongge!~jonke@pD9E0C158.dip0.t-ipconnect.de] has joined #ruby-lang
ahs3- [ahs3-!~ahs3-@adsl-065-005-193-158.sip.rdu.bellsouth.net] has joined #ruby-lang
<Asher> why would you leave os x
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
<bnagy> ah! Cpt Troll! Good to see you again! How are Mrs Troll and the kids?
<bnagy> desktop OSes, in order of usability - OSX, Windows, Etch a Sketch, Vasectomy, Linux
<Asher> windows belongs on the other side of vasectomy
<andrewvos> bnagy: I'm really not trolling
<bnagy> windows is a great desktop OS
<bnagy> it's just a useless dev / server os
<Asher> in the sense the My First Sony is a great recording studio
<andrewvos> Asher: Because I have issues with using closed sourced software in these privacy-less times.
<Asher> meh buzzwords
<bnagy> ubuntu
<andrewvos> bnagy: I don't care about usability. All I need is a good terminal and Chrome
<bnagy> use server and install xfce4
<andrewvos> (the browser)
<bnagy> or fluxbox or whatever that's called these days
<andrewvos> bnagy: Ubuntu server?
<andrewvos> bnagy: xfce is nice?
<bnagy> yeah, anything else will drive you insane
<bnagy> they write the desktop UIs with their feet and never use them, as far as I can tell
<andrewvos> bnagy: I just want something like Alfred.app to launch apps
<andrewvos> That's all really
<bnagy> like typing 'chrome &' ? ;)
<andrewvos> bnagy: :)
<andrewvos> Good point Sir
<Asher> why not use chrome os then
<bnagy> probably not so great for dev
<Asher> you said you don't care about usability
<bnagy> who said that?
<Asher> erm
<Asher> andrewvos said that
<Asher> sorry :)
<andrewvos> Me
<bnagy> he also said 'good terminal, to be fair
<andrewvos> Yeah not sure chrome os fits that
<Asher> heh
<andrewvos> I want it to be 256 colour terminal
<bnagy> so windows gets some points docked
<bnagy> well... a lot
<Asher> windows should never have been on the list
<bnagy> worst terminal evar, in fact
<bnagy> windows is a great desktop OS
<Asher> you keep saying that
<bnagy> and, hands down, the most secure OS on the market
<andrewvos> bnagy: Windows makes me want to self harm
<Asher> most secure OS on the market…
<Asher> your'e just fucking with me now
<bnagy> nope
<bnagy> look me up, this is my field
<andrewvos> ok stop trolling
<bnagy> I am, in fact, a security researcher
<Asher> if this is your field and that is your answer then i will stop listening to anything you say :P
<andrewvos> Ok either way, I came to discuss what linux distribution I should use
<bnagy> ok, what's you're candidate? :)
<bnagy> *your
<bnagy> I hate my fingers
<bnagy> you might get partial points for s/390 or VMS (on the grounds that nobody old enough to know how to 'ls' cares enough to hack it anymore)
<bnagy> linux is a fricking abortion
<bnagy> OSX is 5 years behind everyone else, at best
<bnagy> iOS is about twice as good as OSX, tbh
<bnagy> which is funny
<Asher> security on iOS is way more relevant than on OS X
<bnagy> I agree
<Asher> what rubric are you using to make these determinations
<bnagy> sit a normal user in front of OS, assess ownability
kvs [kvs!~kvs@2a02:108:107:2001::1] has joined #ruby-lang
<andrewvos> bnagy: Cool, on windows they've already installed 7 toolbars in IE.
<bnagy> not on windows 7/8, and even if, you get not all that much
<bnagy> it's enough to make a hacker cry, tbf
<bnagy> plus, who uses IE?
<andrewvos> You Mom
<andrewvos> Your*
<andrewvos> (not trying a mom joke by the way)
<bnagy> my mom uses xp from like 96, she is owned 8 ways from sunday
<andrewvos> Anyway I'm not going to argue this...
<andrewvos> Who mentioned Ubuntu SErver with xfce, and why server particularly?
<bnagy> me
<bnagy> xfce is clean, gnome and kde are awful
<andrewvos> Cool I'm going to go find some screenshots :)
<bnagy> plus if you ever et them configure anything on your machine ever you will never be able to work out what they did or how to fix it
<bnagy> btw, imho OSX is a legendary desktop os
<andrewvos> bnagy: It's nice, but to be honest I just don't trust it any more.
<bnagy> tinfoil hat? I think the days of vendor included rootkits etc that go unnoticed are behind us
<andrewvos> And the terminal always has to be hacked to get tools working properly etc.
<bnagy> well desktop linux for everyday use doesn't happen overnight either
<andrewvos> bnagy: How so?
<bnagy> well not for me
<andrewvos> Context?
<bnagy> need a better terminal, set up menus so they do what they should, kill crap you never use...
<andrewvos> bnagy: What problems have you had with the terminal?
<bnagy> nothing serious, just unprettiness
<andrewvos> GEtting vim colour schemes working etc.
<andrewvos> I Suppose
<bnagy> yeah but that's a constant PITA shared across all platforms :)
<andrewvos> Yeah
DefV [DefV!~Jan@node-hahmcop4no4a1ruk1w.ipv6.as30961.net] has joined #ruby-lang
<bnagy> anyways, imho I wouldn't move from OSX and if someone forced me at gunpoint to make a second choice I would take ubuntu server and a hipster minial wm
<bnagy> (despite what I said about windows, it's crap on sticks for dev)
<andrewvos> Yeah
<bnagy> really good for, like, playing flash out of the box etc though
<bnagy> holy crap, linux, who knew users would want to do that? :P
<andrewvos> meh
<andrewvos> Appreciate that someone is fighting the battle against flash
<bnagy> true, some porn sites are moving to silverlight now
<andrewvos> Something else that needs to be killed :)
<bnagy> amen
<andrewvos> The pain of getting ubuntu dual booted on a MBA is kind of scaring me off
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
<bnagy> *&%^%# EFI
<andrewvos> :(
<bnagy> vmware?
<bnagy> it's really quite good now
<andrewvos> Well, I would rather use VirtualBox :)
<bnagy> oracle can go and...[censored]
<andrewvos> VMWare is just ugly though. That's why I don't like it.
<bnagy> I never looked to see if kvm will work on osx
<bnagy> internet says 'no'
<bnagy> not all that surprising
<bnagy> anyway, I look forward to using linux again, when it's finished
<andrewvos> heh
<andrewvos> Was just thinking about setting up a dev box with vagrant&puppet
<bnagy> I was all excited about vagrant
<bnagy> anyways, enough drunken trolling for me
<bnagy> night o/ :)
<andrewvos> night
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
jensn [jensn!~Jens@ip234-137.wireless.lu.se] has joined #ruby-lang
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
ppl [ppl!~ppl@222.236.30.217] has joined #ruby-lang
codewrangler [codewrangler!~codewrang@pool-72-66-12-100.washdc.fios.verizon.net] has joined #ruby-lang
<shevy> day
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
<andrewvos> morning
<shevy> midnight
loic [loic!~loic@86-41-243-246-dynamic.b-ras1.lmk.limerick.eircom.net] has joined #ruby-lang
lordofthedance [lordofthedance!~daddycool@wnpgmb0911w-ad03-97-43.dynamic.mtsallstream.net] has joined #ruby-lang
<nofxx> need to add a gem to a Gemfile project, but only on this deployment... was working with naive 'cat "gem 'bla'" > Gemfile , but that way I can't use --deployment in bundle and it need to reinstall everything.... tips?
deryl [deryl!deryl@perfecting.rubyists.com] has joined #ruby-lang
<andrewvos> Hey, vim users... Does everyone use Command-T or is there anyhing better?
<ddfreyne> I hear a lot of people preferring command-t to nerdtree
<ddfreyne> so I guess it is the best
<shevy> die, vim, die!!!
<andrewvos> ddfreyne: I'm trying to automate a dev box in vagrant&puppet at the part about compiling command-t is a bit of a downer :(
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
corecode [corecode!~2@0x2c.org] has quit [":wq"]
jensn [jensn!~Jens@ip234-137.wireless.lu.se] has joined #ruby-lang
jensn [jensn!~Jens@ip234-137.wireless.lu.se] has joined #ruby-lang
daglees [daglees!~belvedere@91.186.226.125] has joined #ruby-lang
daglees [daglees!~belvedere@unaffiliated/daglees] has joined #ruby-lang
ksinkar [ksinkar!~ksinkar@115.241.239.27] has joined #ruby-lang
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
dfr|floridia [dfr|floridia!~dfr|work@174.128.210.18] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
Phrogz_ [Phrogz_!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
Telmo [Telmo!~telmo@c-68-44-135-81.hsd1.pa.comcast.net] has joined #ruby-lang
tomzx [tomzx!~tomzx@66-77.162.dsl.aei.ca] has joined #ruby-lang
dfr|floridia [dfr|floridia!~dfr|work@174.128.210.18] has joined #ruby-lang
kitallis [kitallis!~kitallis@122.167.81.118] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
antinitro_ [antinitro_!~adam@cpc1-stap4-0-0-cust418.12-2.cable.virginmedia.com] has joined #ruby-lang
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
bougyman [bougyman!bougyman@pdpc/supporter/gold/bougyman] has joined #ruby-lang
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
daglees [daglees!~belvedere@91.186.226.125] has joined #ruby-lang
daglees [daglees!~belvedere@unaffiliated/daglees] has joined #ruby-lang
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
<andrewvos> Hmmm
<andrewvos> I'm trying to script vim so that it does a vundle BundleInstall... Problem is with vim -c <command> it's outputting errors and all.
<andrewvos> Anyone know if I can keep it silent?
<rippa> #vim
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
pxjorge [pxjorge!~pxjorge@a89-152-235-119.cpe.netcabo.pt] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
empity [empity!~user@cpc1-aztw16-0-0-cust938.aztw.cable.virginmedia.com] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<andrewvos> rippa: Yeah good point thanks
empity` [empity`!~user@cpc1-aztw16-0-0-cust938.aztw.cable.virginmedia.com] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
Sailias_ [Sailias_!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
QaDeS [QaDeS!~mklaus@frbg-4d028a37.pool.mediaWays.net] has joined #ruby-lang
jkprg [jkprg!~jarda@ip-62-245-93-150.net.upcbroadband.cz] has joined #ruby-lang
g0bl1n [g0bl1n!~androirc@unaffiliated/g0bl1n] has joined #ruby-lang
<g0bl1n> Android test
txus [txus!u2342@gateway/web/irccloud.com/x-hyikfzcrzrpphnvb] has joined #ruby-lang
gregf [gregf!~gregf@207.5.168.94] has joined #ruby-lang
fayimora [fayimora!~fayimora@2a01:388:201:3721:ac93:3cfd:bfef:dd6f] has joined #ruby-lang
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has joined #ruby-lang
fayimora_ [fayimora_!~fayimora@95.175.159.34] has joined #ruby-lang
csherin [csherin!~csherin@202.164.151.110] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
cirwin [cirwin!~conrad@wiktionary/ConradIrwin] has quit [#ruby-lang]
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby-lang
Fullmoon [Fullmoon!~Fullmoon@dsl-stat-43-17.mmc.at] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
context [context!context@november.xen.prgmr.com] has quit [#ruby-lang]
tekin [tekin!~tekin@cpc8-with5-2-0-cust208.1-4.cable.virginmedia.com] has joined #ruby-lang
<andrewvos> Human test
<ddfreyne> Can somebody give me a hint on the argument order for ln -s? Because I ALWAYS forget it and I get it wrong so often.
<andrewvos> ddfreyne: Oh yeah me too
<andrewvos> Some cool sort of reminder would be great
<Telmo> ln <source> <destination>
<ddfreyne> destination being the new file?
<ddfreyne> hm… new file at the end
<ddfreyne> identical to what cp would do
<andrewvos> ddfreyne: Yes the last one!!
<andrewvos> ln -s : Works just like cp
<hagabaka> but "source" is called link target
robertcarter [robertcarter!~robertcar@50.55.148.255] has joined #ruby-lang
imperator2 [imperator2!~djberg96@184-96-115-43.hlrn.qwest.net] has joined #ruby-lang
<uniqanomaly> here's a thought: what if you could load/unload new syntax features
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
<imperator2> i think that's what rubinius was originally planning to do with "behaviors"
<ddfreyne> oh behave
<rue> ddfreyne: I aliased to lnsft
<ddfreyne> lnsft?
<Asher> short for insufflate?
<rue> ln s from to
<ddfreyne> but then you need to know what "from" means
<ddfreyne> in my eyes, the symbolic link points FROM a location to an existing location
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
<manveru> i remember it by keeping in mind that `ln -s /some/foo` will make a symlink too
<guns> ddfreyne: The unix file commands are all consistent: cmd SRC DST. Backwards from the system calls :)
<ddfreyne> heh
<manveru> guns: not for tar
<manveru> which annoys me to no end :P
<guns> tar is an old man, so gets a pass
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
benanne [benanne!~rijdier@ip-213-49-87-162.dsl.scarlet.be] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
RomyRomy [RomyRomy!~stickycak@cpe-69-203-115-155.nyc.res.rr.com] has joined #ruby-lang
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
jamescotterill [jamescotterill!~james@94-192-130-249.zone6.bethere.co.uk] has joined #ruby-lang
spyvsspy2 [spyvsspy2!~whistler@66.165.126.130] has joined #ruby-lang
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
Jake232 [Jake232!~textual@5e04b396.bb.sky.com] has joined #ruby-lang
simon_weber [simon_weber!u4119@gateway/web/irccloud.com/x-coagfcfqbndiufrx] has joined #ruby-lang
mrchrisadams [mrchrisadams!~u1367@gateway/web/irccloud.com/x-icbezyzjaeqfcusm] has joined #ruby-lang
abuiles [abuiles!u1641@gateway/web/irccloud.com/x-rigpknezekkaiakk] has joined #ruby-lang
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-jwwyfqfcwlxbzlsf] has joined #ruby-lang
uniqanomaly_ [uniqanomaly_!~ua@dynamic-78-8-85-16.ssp.dialog.net.pl] has joined #ruby-lang
dkannan [dkannan!u480@gateway/web/irccloud.com/x-sgdnvjwaieudxdvx] has joined #ruby-lang
y3llow_ [y3llow_!~y3llow@114-36-224-117.dynamic.hinet.net] has joined #ruby-lang
s0ber_ [s0ber_!~s0ber@114-36-224-117.dynamic.hinet.net] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-224-117.dynamic.hinet.net] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@202.146.7.239] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-224-117.dynamic.hinet.net] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-224-117.dynamic.hinet.net] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang
y3llow [y3llow!~y3llow@114-36-224-117.dynamic.hinet.net] has joined #ruby-lang
Stalkr_ [Stalkr_!~Stalkr@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
context [context!context@november.xen.prgmr.com] has joined #ruby-lang
Mchl [Mchl!~Mchl@h1881165560.rev.rootvps.pl] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
context [context!context@november.xen.prgmr.com] has quit [#ruby-lang]
pabloh [pabloh!~pablo@186.22.82.39] has joined #ruby-lang
jaisoares [jaisoares!~jsoares@bl13-218-246.dsl.telepac.pt] has quit [#ruby-lang]
logbot83725 [logbot83725!~cinch@boxand.lnk.telstra.net] has joined #ruby-lang
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
<ddfreyne> What is mixed-mode execution? interpreted vs byte-code execution?
dfr|floridia [dfr|floridia!~dfr|work@174.128.210.18] has joined #ruby-lang
Sailias_ [Sailias_!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
cosmic_charlie [cosmic_charlie!~chase@pool-108-35-111-124.nwrknj.fios.verizon.net] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.236.207] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@subtle/user/kyrylo] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.236.207] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@subtle/user/kyrylo] has joined #ruby-lang
dfr|floridia [dfr|floridia!~dfr|work@174.128.210.18] has joined #ruby-lang
slimfit [slimfit!~slimfit@c-98-245-122-231.hsd1.co.comcast.net] has joined #ruby-lang
slaytanic [slaytanic!~slaytanic@200-55-77-14.dsl.prima.net.ar] has joined #ruby-lang
<rue> ddfreyne: Context-dependent
<rue> Could be safe + unsafe, managed + unmanaged, bytecode + jit
<rue> Or interpreted vs. native, and so on.
Gunnar_ [Gunnar_!~Gunnar@gunnar.xs4all.nl] has joined #ruby-lang
dontbecold_ [dontbecold_!~luke@holly.ghostworksinc.com] has joined #ruby-lang
<dontbecold_> What's the easiest method for getting a # char into a regular expression?
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
<dominikh> /#/
<dominikh> enjoy
<dontbecold_> Yea, the error I was getting came from a different part of the regexp, and the syntax highlighting lead me to believe the '#' char had commented out the rest of the line
<erikh> emacs?
<dominikh> ruby-mode has shockingly many errors, considering matz wrote it...
<dominikh> in many cases it won't recognize regexps at all
<bougyman> vim notices %r{} perfectly
<bougyman> but can get confused with /#{stuff}/
<dominikh> emacs fails on things like foo[/bar/]
<bougyman> so I always use %{r}
<bougyman> er %r{}
alois_janicek [alois_janicek!~quassel@188.80.broadband5.iol.cz] has joined #ruby-lang
<dominikh> ruby-mode doesn't seem to have any support for %r{}, either
<erikh> yeah vim pretty much wins this
<erikh> perl too
<bougyman> vim doesn't mind thing[/regex/]
<dominikh> BUT emacs has the nicer syntax hl for YARD documentation :P
<erikh> who uses yard
<erikh> :P
<bougyman> i view that with a web browser, heh
<bougyman> and: we use yard
<bougyman> :p
<dominikh> erikh: ruby's elite, of course :P
<dominikh> bougyman: well, you have to write it at some point :P
<erikh> ha
<dontbecold_> no, vim :)
<erikh> oh man
<erikh> after all that heckling
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby-lang
<dominikh> heckling?
<erikh> heckling emacs
<dominikh> oh
mrneighborly [mrneighborly!~mrneighbo@154.25.119.70.cfl.res.rr.com] has joined #ruby-lang
<dontbecold_> I must admit, i'm not a very good user of vim, the arrow keys are still engraved on thine heart
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
<dominikh> arrow keys, yuck!
<dontbecold_> i tried disabling them once
<erikh> if they work for you, great, but you'll be a lot faster if you use hjkl
<dontbecold_> then my computing teacher told me off for yelling at my laptop
<erikh> and w and b
<erikh> haha
<dominikh> that's what I did in emacs: disabled arrow keys for a couple of weeks. now I only use them when it's easier (mostly when I am one-handed)
<dominikh> haha
<erikh> hm
<erikh> idea for an irc bot, something that just idles in the channel and sms's me on barewords
<erikh> so I can disconnect from my proxy without missing all the hot nerd on nerd action
<dominikh> sounds neat
<dontbecold_> I kind of use both, when I'm pying ttention ill use hjkl, but if i'm not, i'll use the arrow keys, slap myself, then go back to hjkl
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
<dominikh> hopefully also not use home/end/del/pgup and co?
<dominikh> *not using
<dontbecold_> *poker face*
<lianj> sometimes :P
<dontbecold_> those are my goto keys
perryh [perryh!~perryh@unaffiliated/perry753] has joined #ruby-lang
<andrewvos> dontbecold_: Disable the arrow keys.
<dominikh> andrewvos: scroll up.
<dontbecold_> I tried
<andrewvos> dominikh: No
<dominikh> why not, forgot the keys? :P
uniqanomaly__ [uniqanomaly__!~ua@dynamic-78-8-82-57.ssp.dialog.net.pl] has joined #ruby-lang
* andrewvos has left the conversation
<andrewvos> ahhaha
<dontbecold_> my productivity sank through the floor, it didn't seem worth it
<dominikh> it would've risen after 1-2 weeks
<dontbecold_> I've gotta go to bed, i'll be around tomorrow morning
<dontbecold_> I tried for about a week, I didn't really see a difference except a feeling of resentment towards vim
<andrewvos> dontbecold_: Don't be a pansy
<andrewvos> dontbecold_: Disable those keys
<andrewvos> dontbecold_: It worked for me
<andrewvos> dontbecold_: And look at me now! King of the world
<dominikh> and screwed in his browser's text field!
<andrewvos> dominikh: I only disable the keys in vim
<dominikh> yeah, but the keys you are used to will behave weirdly in your browser ;)
<andrewvos> I use vimium
<dontbecold_> night all
<dominikh> Like, I still hit ^W by accident every so often :>
<andrewvos> hehe
havenn [havenn!~skipper@pool-72-67-31-188.lsanca.fios.verizon.net] has joined #ruby-lang
jbsan_ [jbsan_!~jbsan@c80-216-213-130.bredband.comhem.se] has joined #ruby-lang
uniqanomaly__ [uniqanomaly__!~ua@dynamic-78-8-80-19.ssp.dialog.net.pl] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-60-229-73-52.lns16.ken.bigpond.net.au] has joined #ruby-lang