Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
<drbrain> for 10.5 and 10.6 there was cross compilation to/from PPC, PPC64, and x86
<drbrain> and sometimes x86_64
spleeze [spleeze!~Spleeze@173-15-131-114-BusName-Philadelphia.hfc.comcastbusiness.net] has joined #ruby-lang
<rue> andrewvos: GCC already knows how to compile to platform X; just need to enable it and have the proper platform headers and such
<andrewvos> rue: Ahhh ok mind unblown.
<andrewvos> Thanks
Natch| [Natch|!~natch@178.73.216.90] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<andrewvos> I somehow thought there was some relation between compilation and the host os
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
<shevy> like lovers
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<andrewvos> What's the song by Libertines that sounds like Boys Don't Cry by The Cure?
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<shevy> what
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<andrewvos> shevy: WHAT'S THE SONG BY LIBERTINES THAT SOUNDS LIKE BOYS DON'T CRY BY THE CURE?
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
<shevy> hmm
<rue> Not sure, but it probably sucks
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<shevy> if you ask like that...
<shevy> I have no clue
<andrewvos> rue: How so?
srbaker [srbaker!~srbaker@70.28.245.3] has joined #ruby-lang
<shevy> "I don't like mondays"?
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
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
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
arooni-mobile [arooni-mobile!~arooni-mo@200.32.253.72] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
<andrewvos> shevy: Nope that's not a song by them
<andrewvos> Well, according to spotify
<workmad3> spotify doesn't have every song
<workmad3> it's very light on RHCP for example
<andrewvos> workmad3: Spotify doesn't have *any* song. FTFY
<andrewvos> Pink Floy and Led Zepellin aren't on there.
<workmad3> andrewvos: :P
<andrewvos> Floyd*
<workmad3> andrewvos: yeah, there's some really annoying gaps in their library
<andrewvos> workmad3: I closed my account recently because of that.
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<andrewvos> workmad3: May have to start paying again though because of convenience
<andrewvos> Not happy though :(
<workmad3> heh :) there's enough music I do like on it though
<workmad3> and you can always acquire the files elsewhere, have spotify pick them up as local files and then sync them to devices
<andrewvos> workmad3: That's very true
<andrewvos> workmad3: Didn't know it could sync to devices?
<workmad3> andrewvos: yeah... install the spotify player on your phone and connect it to the same wifi network with the same account as your comp running spotify and it'll sync right up
<andrewvos> workmad3: AMAZING
<workmad3> I'm not sure I'd go amazing... but certainly handy :)
<workmad3> it's how I got ruby rogues onto my phone without much hassle :)
Karmaon [Karmaon!~john@gateway/tor-sasl/karmaon] has joined #ruby-lang
<andrewvos> Yeah definitely handy
arooni-mobile__ [arooni-mobile__!~arooni-mo@200.32.253.72] has joined #ruby-lang
voker57 [voker57!~voker57@128-70-55-252.broadband.corbina.ru] has joined #ruby-lang
voker57 [voker57!~voker57@kvirc/developer/Voker57] has joined #ruby-lang
replore_ [replore_!~replore@203.152.213.161.static.zoot.jp] has joined #ruby-lang
arooni-mobile__ [arooni-mobile__!~arooni-mo@200.32.253.72] has joined #ruby-lang
Clordio [Clordio!~textual@c-174-52-72-79.hsd1.ut.comcast.net] has joined #ruby-lang
<rue> Footy
<andrewvos> You're a weirdo :)
<shevy> all fins are
<andrewvos> Isn't Lars von Trier a fin? Oh wait that's Denmark
<shevy> danes are normal
<andrewvos> hah
<andrewvos> I need to sleep. Night shevy, rue workmad3. <3 <3 <3
<shevy> cya
<workmad3> night andrewvos
<injekt> heh
JdpB42 [JdpB42!~sdfdsf@cpe-71-72-126-188.insight.res.rr.com] has joined #ruby-lang
<rue> Finns with fins are the weirdest.
<injekt> I concur
dejongge [dejongge!~jonke@pD9E0E0F0.dip0.t-ipconnect.de] has joined #ruby-lang
bglusman_ [bglusman_!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@2001:268:306:1:225:bcff:fedc:e1fe] has joined #ruby-lang
NemesisD [NemesisD!~NemesisD@c-50-132-41-113.hsd1.wa.comcast.net] has joined #ruby-lang
<NemesisD> anyone know if i can point bundler at a specific .gem file?
<rue> Did you try?
<injekt> you're not supposed to
<injekt> bundler is supposed to build your gem, if you want it vendored then use bundle pack
<NemesisD> ah ok
<injekt> and if you want to use a local path, use gem 'foo', :path => '/to/foo' where /to/foo/foo.gemspec exists
naz [naz!~n@70.44.2.190.res-cmts.bus.ptd.net] has joined #ruby-lang
<NemesisD> yeah i think thats what i'll do
<rue> Doesn't that just need a .gem? Why a gemspec
<rue> Assuming this is a built, local gem
<injekt> so deps can be resolved properly? I'm not sure
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
ap3mantus [ap3mantus!~ap3mantus@c-98-217-179-108.hsd1.ma.comcast.net] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
neoesque [neoesque!~neoesque@210.59.147.232] has joined #ruby-lang
znz_jp [znz_jp!~znz@ns5.n-z.jp] has joined #ruby-lang
<rue> injekt: One of us must be misunderstanding this
ryanf [ryanf!~revfitz@70-36-141-37.dsl.dynamic.sonic.net] has joined #ruby-lang
Roujo [Roujo!~Roujo@modemcable186.146-70-69.static.videotron.ca] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
niklasb [niklasb!~codeslay0@p5B310005.dip0.t-ipconnect.de] has joined #ruby-lang
ryanf [ryanf!~revfitz@70-36-141-37.dsl.dynamic.sonic.net] has joined #ruby-lang
QaDeS [QaDeS!~mklaus@frbg-5f730d12.pool.mediaWays.net] has joined #ruby-lang
Pip [Pip!~Pip@host-85-156-66-217.spbmts.ru] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
rpowell [rpowell!~rpowell@CPE-124-183-157-241.lns16.ken.bigpond.net.au] has joined #ruby-lang
Nisstyre [Nisstyre!~yours@c-208-90-102-250.netflash.net] has joined #ruby-lang
<rpowell> hey all
<rpowell> has anyone managed to get Ruby 1.9.3 building with Xcode 4.2.1 on OS X
alexeyKolosov [alexeyKolosov!~quassel@mail.zbku.ru] has joined #ruby-lang
mkscrg [mkscrg!~mkscrg@ool-18e4f9d6.dyn.optonline.net] has joined #ruby-lang
jxie [jxie!~jxie@115.197.80.212] has joined #ruby-lang
jxie [jxie!~jxie@115.197.80.212] has joined #ruby-lang
bsmith [bsmith!~ben@cpe-69-207-156-113.rochester.res.rr.com] has quit [#ruby-lang]
Tick-Tock [Tick-Tock!~Tick-Tock@lunari.us] has joined #ruby-lang
<shevy> not on OS X but it works nicely here on linux
drdr [drdr!d059b08f@gateway/web/freenode/ip.208.89.176.143] has joined #ruby-lang
<context> rpowell: use the gcc-installer
<rpowell> yeah I'm doing that now
<context> rpowell: its cause newer xcode doesnt really have gcc, just llvm
<context> which ruby doesn't work to nicely with
<rpowell> yeah I know
<rpowell> thanks for the help
<context> which is rather scary
ryez [ryez!81c0c407@gateway/web/freenode/ip.129.192.196.7] has joined #ruby-lang
alexeyKolosov [alexeyKolosov!~quassel@www.zbku.ru] has joined #ruby-lang
<drdr> powell did you not have that xcoe issue yesterday?
<drdr> *xocde
<drdr> **xcode
<rpowell> yeah I did, but I had to leave before I resolved it and I'm only now getting around to fixing it
mkscrg [mkscrg!~mkscrg@ool-18e4f9d6.dyn.optonline.net] has joined #ruby-lang
wimplash [wimplash!~Adium@wireless.sit-co.net] has joined #ruby-lang
wimplash [wimplash!~Adium@wireless.sit-co.net] has quit [#ruby-lang]
dfr|mac [dfr|mac!~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #ruby-lang
pigdude [pigdude!~tallen@li61-243.members.linode.com] has quit [#ruby-lang]
michael_mbp [michael_mbp!~Marin@149.147.202.45] has joined #ruby-lang
<shevy> drdr hard to type that word eh ;)
brianpWins [brianpWins!~brianpWin@S01060014bf8930ea.vc.shawcable.net] has joined #ruby-lang
<drdr> yep
ap3mantus [ap3mantus!~ap3mantus@c-98-217-179-108.hsd1.ma.comcast.net] has joined #ruby-lang
<shevy> especially with FAT FINGERS
* shevy ducks!
fritzek__ [fritzek__!~fritzek@p5DDB7D4F.dip.t-dialin.net] has joined #ruby-lang
urbanmonk [urbanmonk!~rom@bas1-toronto08-1279487303.dsl.bell.ca] has joined #ruby-lang
<shevy> I have a kind of strange, curved keyboard. for a few weeks I continually mistyped. I still do sometimes, so I am considering wanting to move back to my old, flat and straight keyboard :(
<drdr> i got a tiny netbook keybord
<drdr> its one of thoes sony vaio P ones
<theconartist> the one with the trackpoint?
<shevy> I got an old sony vaio multimedia thing ... from 2003. its very heavy
<drdr> yep
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has quit [#ruby-lang]
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
headius [headius!~headius@71-210-154-45.mpls.qwest.net] has joined #ruby-lang
<Cool_Fire> I have a thread that processes a queue, but I want to avoid busy waiting when the queue is empty.
robglees_ [robglees_!~rob@87-198-57-115.ptr.magnet.ie] has joined #ruby-lang
<Cool_Fire> I thought I'd use a mutex and have it wait for a lock until data is added to the queue, but I when I wait for a lock set in the same thread, it give an error
<Cool_Fire> Anyone have any ideas?
<Cool_Fire> gives*
<slyphon> uh
<slyphon> Cool_Fire: the point of a queue is that the thread won't be busy waiting
<slyphon> it will sleep until the queue has items
<slyphon> busy waiting is when you're spinning in a loop, polling for a condition
<Cool_Fire> I'm not talking about the queue itself, I'm talking about me taking items outof it and processing them
<Cool_Fire> I need some way of telling this thread to wait until an item is added to the queue
<slyphon> your thread, when it does queue.pop, will sleep until an item is available
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby-lang
<slyphon> that's how a queue works
<Cool_Fire> Ah, like so.
<Cool_Fire> That's neat, but it still doesn't solve my problem in this case, because I have two queues :p
<slyphon> um
<slyphon> so, use two threads?
<slyphon> you should also establish a constant that indicates that the thread should exit, i.e. that all work is completed
<Cool_Fire> No, one has priority over the other, and they have a shared resource (socket)
<Cool_Fire> But I think I have something in the way of thread.sleep that'll work
<slyphon> mmmm'kay
<Cool_Fire> Thanks for the input though, I didn't know Ruby's queue's sleeped on pop()
<Cool_Fire> I'm sure I'll be able to use that sometime
gianlucadv [gianlucadv!~gianlucad@host61-81-dynamic.245-95-r.retail.telecomitalia.it] has joined #ruby-lang
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby-lang
<bnagy> sharing a socket across threads is not a great pattern imho
<context> sharing a listening socket is perfectly fine. i dont think id share a connected socket
<bnagy> but anyway, if you're rolling your own work queue system then you're probably doing it wrong anyway
<context> true that
<context> as if there aren't enough out there already
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
sora_h [sora_h!~sora_h@mayfield.privs.net] has joined #ruby-lang
gregmoreno [gregmoreno!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
<Cool_Fire> Thanks for the confidence guys. Especially since you know my background.
<bnagy> you're right, I fololishly assumed that when you didn't know how Thread worked and hadn't read the docs that you weren't a hardened professional, sorry about that
<bnagy> anyway, there's nothing wrong with doing it wrong, it's how people learn
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.46] has joined #ruby-lang
<Cool_Fire> Excuse me? I didn't know how thread worked?
jaafar [jaafar!~jet@adsl-76-200-166-49.dsl.pltn13.sbcglobal.net] has joined #ruby-lang
_inc [_inc!~inc@unaffiliated/-inc/x-0498339] has joined #ruby-lang
<Cool_Fire> Perhaps you need to read a little more carefully before making statements like that.
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
<bnagy> Queue is part of thread, sorry
<bnagy> that's probably not obvious
<Cool_Fire> A queue is a data structure, it's ruby implementation is entirely separate from that.
jxie [jxie!~jxie@li258-230.members.linode.com] has joined #ruby-lang
priteshjain [priteshjain!~priteshja@115.248.175.50] has joined #ruby-lang
gregmoreno [gregmoreno!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
jxie [jxie!~jxie@115.197.80.212] has joined #ruby-lang
<erikh> la la la la la
DEac- [DEac-!~deac@81.16.104.86] has joined #ruby-lang
yumike [yumike!~yumike@213.154.168.130] has joined #ruby-lang
alexeyKolosov [alexeyKolosov!~quassel@mail.zbku.ru] has joined #ruby-lang
<erikh> 1.9.3 is pretty snappy
gregmoreno [gregmoreno!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
<shevy> hehe
<shevy> better than 1.9.1 and 1.9.2 for sure
<shevy> I was also very down when manveru gave me a testcase where 1.8.x just couldn't produce almost-instant results, whereas 1.9.3 did. manveru made me sad that day :(
ryanf [ryanf!~revfitz@adsl-67-119-12-100.dsl.snfc21.pacbell.net] has joined #ruby-lang
<erikh> now to see... DOES IT EMBED?
<shevy> hopefully better than 1.8.x !
<robglees_> should I sleep or dual boot PCBSD
<robglees_> thats the question
<shevy> didnt matz want to compete with lua one day... with a mini-ruby
<shevy> robglees_ tell me how the .pbi files work!
<erikh> robglees_: how is that these days?
<erikh> I haven't looked in years.
<shevy> please find that out for me ;P because I am in love with the idea of app-dirs
<erikh> shevy: yes but it's not here yet
<erikh> and I'm not a patient man
<erikh> (mruby that is)
<robglees_> erikh: supposedly it is a lot easier to install alongside OSX on a Mac.
<robglees_> they added "bootcamp support"
<erikh> oh neat
<shevy> cool
Kichael [Kichael!~Kichael@70-36-49-167.dyn.novuscom.net] has joined #ruby-lang
omegapunkt [omegapunkt!~omegapunk@125-236-232-13.adsl.xtra.co.nz] has joined #ruby-lang
lorenzo__ [lorenzo__!~quassel@217.33.106.3] has joined #ruby-lang
twittard [twittard!~twittard@pv142020.reshsg.uci.edu] has joined #ruby-lang
Aaaarg [Aaaarg!~Arthur@121-74-36-221.telstraclear.net] has joined #ruby-lang
brianpWins [brianpWins!~brianpWin@S01060014bf8930ea.vc.shawcable.net] has joined #ruby-lang
omegapunkt [omegapunkt!~omegapunk@125-236-232-13.adsl.xtra.co.nz] has quit [#ruby-lang]
ryez [ryez!81c0c407@gateway/web/freenode/ip.129.192.196.7] has joined #ruby-lang
<erikh> 4 functions.
* erikh cries
<ddfreyne> better than having to subclass an AbstractRubyFactoryDirectorPoolInitializer and then a bazillion other classes ;)
<erikh> have you see lua's api
<erikh> it's huuuuuge
<erikh> and it's not short-sighted enough to presume you only need one ruby instance
<erikh> anyhow, not really bitching, I guess I shouldn't be surprised. ruby really wasn't made to do this and lua was.
<erikh> just bummed really
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby-lang
<ddfreyne> true
jxie [jxie!~jxie@li258-230.members.linode.com] has joined #ruby-lang
ksinkar [ksinkar!~ksinkar@123.201.117.198] has joined #ruby-lang
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@host17-129-dynamic.54-79-r.retail.telecomitalia.it] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby-lang
gregmore_ [gregmore_!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
Locke23rus [Locke23rus!~quassel@128-70-1-227.broadband.corbina.ru] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby-lang
yxhuvud [yxhuvud!mongo@h-85-82.a212.priv.bahnhof.se] has joined #ruby-lang
thone_ [thone_!~thone@g226049031.adsl.alicedsl.de] has joined #ruby-lang
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby-lang
JohnBat26 [JohnBat26!~Eugene@89.175.77.79] has joined #ruby-lang
JohnBat26 [JohnBat26!~Eugene@89.175.77.79] has joined #ruby-lang
Duke_ [Duke_!~duke@91.210.238.33] has joined #ruby-lang
yakko [yakko!~quassel@201.86.191.125.dynamic.adsl.gvt.net.br] has joined #ruby-lang
rknLA [rknLA!~rknLA@76-218-76-57.lightspeed.irvnca.sbcglobal.net] has joined #ruby-lang
<rknLA> anyone know why ruby-git might be bitching about "uninitialized constant Logger" when initialized? i tried "require 'rubygems'" at the top like the github page suggests, but i get false returned back, and "gem install rubygems" doesn't find anything (and yes, i just asked this in #ror, but they sent me here cause it's not particularly rails related)
ap3mantus [ap3mantus!~ap3mantus@c-98-217-179-108.hsd1.ma.comcast.net] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@host17-129-dynamic.54-79-r.retail.telecomitalia.it] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
cyri_ [cyri_!~cyri_@236.200.72.86.rev.sfr.net] has joined #ruby-lang
Filuren [Filuren!~Filuren@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
<bnagy> anyone happen to know a bit vector gem which is maintained and works with 1.9? the old one spams the hell out of google
kryl99 [kryl99!~kryl99@124-170-51-102.dyn.iinet.net.au] has joined #ruby-lang
solars [solars!~solars@clnet-kmu02-090.ikbnet.co.at] has joined #ruby-lang
AlecTaylor [AlecTaylor!~alectaylo@unaffiliated/alectaylor] has joined #ruby-lang
<AlecTaylor> Open-source or closed-source for SaaS? - http://programmers.stackexchange.com/q/130341
jxie [jxie!~jxie@115.197.80.212] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host32-80-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby-lang
toretore [toretore!~toretore@crr06-3-82-231-12-81.fbx.proxad.net] has joined #ruby-lang
molgrew [molgrew!~bozo20@85.182.139.18] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host32-80-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby-lang
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
oddmunds [oddmunds!~oddmunds@s21-04214.dsl.no.powertech.net] has joined #ruby-lang
shevy2 [shevy2!~shevy@178-191-255-217.adsl.highway.telekom.at] has joined #ruby-lang
<rknLA> Does anyone know if I can do something like "git add -f foo" with ruby-git?
rcvalle [rcvalle!~rcvalle@redhat/rcvalle] has joined #ruby-lang
* AlecTaylor opened up the discussion over whether I should open-source my SaaS: http://openclosedsource.wikia.com
srbartlett [srbartlett!~srbartlet@124-170-53-195.dyn.iinet.net.au] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@124-170-53-195.dyn.iinet.net.au] has joined #ruby-lang
<wallerdev> ,AlecTaylor a you could open source parts of it as well, instead of all of it
yango [yango!~yango@unaffiliated/yango] has joined #ruby-lang
davidw [davidw!~davidw@host228-251-static.95-94-b.business.telecomitalia.it] has joined #ruby-lang
<erikh> buiold it first
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
<injekt> :)
gnufied [gnufied!~gnufied@122.172.224.153] has joined #ruby-lang
gnufied [gnufied!~gnufied@122.172.224.153] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
<rknLA> how do i require a gem that i've built locally, but previously installed using gem install?
srbartlett [srbartlett!~srbartlet@124-170-53-195.dyn.iinet.net.au] has joined #ruby-lang
<rknLA> (ack, nvm, i had the gem name wrong when running "gem uninstall".. stil not sure how to require the locally built one though)
<erikh> install it and require it
<erikh> rubygems frequently does the right thing
<erikh> remember, you don't require gems, but files within them
<rknLA> sorry if this is totally inane, but how do i install it if i built it locally?
<erikh> gem install foo.gem
<erikh> no worries
<erikh> that said, I need to go sleep, later.
<rknLA> dang
<rknLA> i'm not quite there yet
Filuren [Filuren!~Filuren@76.73.16.26] has joined #ruby-lang
<rknLA> i ran jeweler and it doesn't produce a .gem file.. .. o_O? (first time building a gem)
<injekt> pls rm -rf jeweller
hagabaka [hagabaka!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
<injekt> rknLA: do you have a gemspec?
<rknLA> ya, there's a gemspec
<injekt> foo.gemspec for ex
<injekt> rknLA: gem build foo.gemspec
<rknLA> sweet.
<injekt> jeweller provides rake tasts for this
<injekt> but yeah, back to rm -rf jeweller
<rknLA> ha
<rknLA> i'm new to jeweler, and forking a project that uses it
<injekt> rknLA: ah, well, help them out by removing it and opening a pull request! :D
<rknLA> lol
<rknLA> i'm not that pro yet
<injekt> :P
<injekt> practice makes perfect
davidw [davidw!~davidw@apache/committer/davidw] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
jxie [jxie!~jxie@li258-230.members.linode.com] has joined #ruby-lang
<rknLA> i'm getting there. kindof a pedantic exercise, but it's actually been helpful.. the unexpected things are quite enlightening
<injekt> :)
<rknLA> (i wanted to add auto-commits to ruby_koans)
rcvalle [rcvalle!~rcvalle@redhat/rcvalle] has quit ["Leaving"]
molgrew [molgrew!~bozo20@85.182.139.18] has joined #ruby-lang
<injekt> auto-commits?
<rknLA> to a local branch, so users can track changes in git logs as they go.
<injekt> ah
Guedes [Guedes!~guedes@189.31.65.14] has joined #ruby-lang
Guedes [Guedes!~guedes@unaffiliated/guedes] has joined #ruby-lang
<rknLA> i can't quite tell if it'll be completely pedantic, or actually useful.
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby-lang
<injekt> who cares? you're writing code and workin on a project
<injekt> got my vote
<rknLA> hahaha.
<rknLA> yeah, well, honestly, there are other projects i should be working on, just trying to distract myself with things that will be helpful ;)
<injekt> :P
<rknLA> where you based out of?
<injekt> UK right now
<rknLA> nice. for how long / much longer?
<injekt> Hopefully less than 4-6 weeks, waiting on visa paperwork unfortunately
sevos [sevos!~sevos@ip-93-154-202-67.multi.internet.cyfrowypolsat.pl] has joined #ruby-lang
<rknLA> ack.. crappy. for where?
<injekt> Canada, moved there in august for work until december, then came home for christmas
<rknLA> ah, nice.
<rknLA> cept for the visa part, i guess =x
<rknLA> hmmmmmm……. the method i changed is giving me a 2 for 1 arguments error… thought i added the second arg!
thrcka [thrcka!thrcka@nat/redhat/x-jqarlovivlpqznyd] has joined #ruby-lang
<injekt> :)
<injekt> rknLA: where are you based?
<rknLA> LA for a bit.
<rknLA> well.. a long bit, but about to go to SF for february
<sevos> hi, I've problem with requiring 'digest/sha' in my ruby 1.9.3-p0, compiled by RVM ( I tried it with RVM openssl package and system openssl). I have Mac OS X 10.7.2. Backtrace: http://pastie.org/3194068
<injekt> neat, I guess I should have noticed from your uname :)
<andrewvos> shevy2: You never sleep?
<rknLA> wow, that was fast...
<injekt> sevos: did you recompile with --with-openssl-dir=... ?
<injekt> rknLA: hm?
<rknLA> maybe it just seemed fast at my refresh rate.
<injekt> lol
<rknLA> cmd+tab is my friend
<sevos> injekt: I recompiled: rvm install 1.9.3-p0 --with--openssl-dir=$rvm_path/usr, where $rvm_path is set and I installed openssl package: rvm pkg install openssl
<injekt> sevos: which exists in $rvm_path/usr ?
antinitro [antinitro!~adam@93-97-23-188.zone5.bethere.co.uk] has joined #ruby-lang
jxie [jxie!~jxie@115.197.80.212] has joined #ruby-lang
<injekt> also iirc you need -C --with-open-ssl-dir (to pass the flag to the compile options)
<sevos> injekt: yes, just checked
<injekt> sevos: I'm not sure then, perhaps ask in #rvm. I don't use rvm myself
<sevos> I haven't tried with "-C"
<injekt> and I've not had these issues not using rvm
<sevos> inject didn't work with ruby-build, actually I've got back from rbenv
kith_ [kith_!~kith@port-92-193-6-250.dynamic.qsc.de] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cspool114.cs.man.ac.uk] has joined #ruby-lang
<injekt> heh
kith_ [kith_!~kith@unaffiliated/kith] has joined #ruby-lang
<injekt> how come?
Roujo_ [Roujo_!~Roujo@modemcable186.146-70-69.static.videotron.ca] has joined #ruby-lang
Guedes [Guedes!~guedes@unaffiliated/guedes] has joined #ruby-lang
skipper [skipper!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
jayeola [jayeola!~jmaclean@ldn-office.youdevise.com] has joined #ruby-lang
valeri_uF0 [valeri_uF0!~valeri_uf@deadlink.in] has joined #ruby-lang
Karmaon [Karmaon!~john@gateway/tor-sasl/karmaon] has joined #ruby-lang
<sevos> injekt: I'll try w/ruby-build again then. which openssl do you use system/brew/port?
<injekt> sevos: system
cyndis_ [cyndis_!cyndis@lakka.kapsi.fi] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
<injekt> osx ships with openssl, it's just usually an old version iirc
erikh_ [erikh_!~erikh@hollensbe.org] has joined #ruby-lang
Aengus- [Aengus-!~Aengus@cloudysunday.com] has joined #ruby-lang
mortice [mortice!~Tom@li300-55.members.linode.com] has joined #ruby-lang
jxie_ [jxie_!~jxie@115.197.80.212] has joined #ruby-lang
lzhz_ [lzhz_!~lars@shell.tindetech.no] has joined #ruby-lang
yango_ [yango_!~yango@85.48.193.157] has joined #ruby-lang
<rknLA> if i build a gem in one directory using gem build, i don't suppose it happily makes its way to any other directory i might like?
masterkorp1 [masterkorp1!~masterkor@static.34.107.46.78.clients.your-server.de] has joined #ruby-lang
shachaf_ [shachaf_!~shachaf@ip24.67-202-82.static.steadfastdns.net] has joined #ruby-lang
<injekt> rknLA: think of a .gem file simply as an archive
<rknLA> oh envermind.
Foxmaste1 [Foxmaste1!~root@c-83-219-199-232.cust.bredband2.com] has joined #ruby-lang
<injekt> do what you want with it
<rknLA> i am close to too-many-beer o'clock =\
<injekt> :)
tris- [tris-!tristan@2001:1868:a00a::4] has joined #ruby-lang
<rknLA> (it's 2am here)
darix- [darix-!darix@nordisch.org] has joined #ruby-lang
zmack [zmack!~zmack@78.97.143.6] has joined #ruby-lang
darix- [darix-!darix@irssi/staff/darix] has joined #ruby-lang
<injekt> wish I could say the same, it's only 10am here
xxi_ [xxi_!~ixx@64.20.241.94] has joined #ruby-lang
<injekt> I'm still on canada time, i keep telling myself that
coderrr [coderrr!~steve@li335-154.members.linode.com] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host32-80-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby-lang
cola_zero [cola_zero!~cola_zero@www5054u.sakura.ne.jp] has joined #ruby-lang
lele|w [lele|w!~Lele@2a01:2d8:0:cafe:218:f3ff:fece:a48] has joined #ruby-lang
Kero [Kero!~kero@31-151-127-178.dynamic.upc.nl] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
<rknLA> lol, well, this shit didn't work..
<rknLA> so i think i'm gonna call it a night.
dave_miles [dave_miles!~davemiles@gatek.thls.bbc.co.uk] has joined #ruby-lang
<rknLA> cause i gotta work tomrrow.
michael_mbp_ [michael_mbp_!~Marin@62.215.214.4] has joined #ruby-lang
<rknLA> 'night
rknLA [rknLA!~rknLA@76-218-76-57.lightspeed.irvnca.sbcglobal.net] has quit [#ruby-lang]
EvilJStoker [EvilJStoker!jstoker@unaffiliated/jstoker] has joined #ruby-lang
jxie [jxie!~jxie@li258-230.members.linode.com] has joined #ruby-lang
ruskie [ruskie!ruskie@sourcemage/mage/ruskie] has joined #ruby-lang
kryl99 [kryl99!~kryl99@124-170-51-102.dyn.iinet.net.au] has joined #ruby-lang
<AlecTaylor> Will open-sourcing my SaaS solution adversely affect my revenue? - Contribute to Discussion and Notes: http://openclosedsource.wikia.com / http://programmers.stackexchange.com/q/130341
<injekt> AlecTaylor: please stop spamming your link
<injekt> yeah...
<denysonique_> (Net::SSH::AuthenticationFailed)
<denysonique_> I get this when trying to use net/ssh
<denysonique_> manual sshing works fine
<denysonique_> sshing using net/ssh works fine from computer A
<denysonique_> from Computer B it fails with this error
<denysonique_> the only difference betwen computer A and B, is that PC B is 64bit
<denysonique_> both run arch linux
<denysonique_> and same openssh versions
masterkorp1 [masterkorp1!~masterkor@static.34.107.46.78.clients.your-server.de] has quit ["WeeChat 0.3.2"]
<denysonique_> an 16 09:32:54 localhost sshd[31470]: pam_unix(sshd:session): session opened for user dennis by (uid=0)
<denysonique_> Jan 16 09:33:00 localhost sshd[31473]: Received disconnect from [my ip]: 11: disconnected by user
<denysonique_> this is the sshd log
<sevos> injekt: I tried to compile with ruby-build. It looks like my openssl dir should be /usr, because /usr/include/openssl exists but /usr/lib/openssl doesn't - it might be reason.
kryl99 [kryl99!~kryl99@124-170-51-102.dyn.iinet.net.au] has joined #ruby-lang
masterkorp [masterkorp!~masterkor@static.34.107.46.78.clients.your-server.de] has joined #ruby-lang
kryl99 [kryl99!~kryl99@124-170-51-102.dyn.iinet.net.au] has joined #ruby-lang
sevos [sevos!~sevos@ip-93-154-202-67.multi.internet.cyfrowypolsat.pl] has joined #ruby-lang
bl00dshooter [bl00dshooter!~bl00dshoo@201.76.213.131] has joined #ruby-lang
<denysonique_> okie dokie
<denysonique_> my problem solved
<denysonique_> # PasswordAuthentication yes
<denysonique_> was uncommente
<denysonique_> d*
mr-green [mr-green!~mr-green@122.164.183.37] has joined #ruby-lang
suckerpunch [suckerpunch!~suckerpun@host81-148-10-179.in-addr.btopenworld.com] has joined #ruby-lang
kryl99_ [kryl99_!~kryl99@124-170-51-102.dyn.iinet.net.au] has joined #ruby-lang
suckerpunch [suckerpunch!~suckerpun@host81-148-10-179.in-addr.btopenworld.com] has joined #ruby-lang
ltd [ltd!~z@zx.io] has joined #ruby-lang
mantono [mantono!~mantono@c83-251-126-234.bredband.comhem.se] has joined #ruby-lang
gix [gix!~gix@e180027048.adsl.alicedsl.de] has joined #ruby-lang
<andrewvos> Anyone using multiple heroku accounts?
<Asher> why do you ask, out of curiousity
<Asher> curiosity too
<andrewvos> Asher: Because I need to
vish [vish!~suckerpun@host81-148-10-179.in-addr.btopenworld.com] has joined #ruby-lang
<Asher> doing so presents a problem, then?
<injekt> andrewvos: i do
g0bl1n [g0bl1n!~g0blin@unaffiliated/g0bl1n] has joined #ruby-lang
<andrewvos> injekt: What do you use/do?
dejongge [dejongge!~jonke@pD9E0E0F0.dip0.t-ipconnect.de] has joined #ruby-lang
<injekt> andrewvos: heroku auth helps on the command line, I just have to login/logout a lot from the different accounts
<injekt> helpers*
<injekt> tbh I haven't streamlined it much yet because I use the work one more than the other
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
uniqanomaly [uniqanomaly!~ua@dynamic-78-8-83-116.ssp.dialog.net.pl] has joined #ruby-lang
mytrile [mytrile!~mytrile@94.26.28.135] has joined #ruby-lang
Hiei_ [Hiei_!Hiei_@host197-38-dynamic.41-79-r.retail.telecomitalia.it] has joined #ruby-lang
DMKE [DMKE!~DMKE@pdpc/supporter/student/dmke] has joined #ruby-lang
<andrewvos> injekt: Thanks
virunga [virunga!~virunga@151.64.53.185] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
Cool_Fire [Cool_Fire!~coolfire@145.116.233.201] has joined #ruby-lang
<sevos> injekt: still fighting with that, actually openssl looks like compiled in, because require 'openssl' doesn't fail, but require 'digest/sha1' fails, when on system ruby doesn't
<sevos> it makes my bundler not working :(
jbsan [jbsan!~jbsan@c80-216-213-130.bredband.comhem.se] has quit [#ruby-lang]
<manveru> anybody know a good way to ensure a file is not world/group read/write/executable ?
<manveru> i mean, not changing it, only checking the permissions
<Tasser> manveru, I'd get the pattern and do some ^
<manveru> File.stat(path).mode.to_s(8).end_with?('00')
<manveru> something like that?
<manveru> sorry, i'm terrible at binary math
<manveru> not to mention octal :(
<rippa> File.world_writable?
<rippa> and other similar methods
<manveru> yeah... that is gonna be a ton of code
<manveru> world_writable? world_readable? world_executable? group_writable? group_readable? group_executable?
<Tasser> manveru, File.stat(path).mode
<manveru> Tasser: you don't read what i write, do you :)
<Tasser> manveru, it was somewhat of a broken thought and I kinda just hit enter... got me a sample output?
<matti> manveru: :)
solars [solars!~solars@clnet-kmu02-090.ikbnet.co.at] has joined #ruby-lang
<manveru> >> File.stat('out.mpg').mode.to_s(8).end_with?('00')
<manveru> => false
<Tasser> nah, only the part I wrote
<manveru> sample for what?
<manveru> >> File.stat('out.mpg').mode.to_s(8)
<manveru> => "100644"
<rippa> what do you want to check it for?
<manveru> that world and group permissions are 0
_inc [_inc!~inc@unaffiliated/-inc/x-0498339] has joined #ruby-lang
<Tasser> manveru, yours doesn't work that bad, be sure to leave a comment
<rippa> it would end in 00 in octal representation if they are?
<manveru> yes
cyberninja [cyberninja!~michaelfe@41.139.115.82] has joined #ruby-lang
<manveru> was just hoping something equally short and more self-explaining existed
<Tasser> .mode ^ 111111 == 0 # <- ah well
<manveru> if i use ^ i'd have to shift it first, i think
<Tasser> use your solution and be sure to write a comment
kitallis [kitallis!~kitallis@122.172.248.47] has joined #ruby-lang
<manveru> and then i'm only familiar with shifting binary...
<manveru> ok
<rippa> .mode & 63
<rippa> ==0
<Tasser> argh, that stuff above was stupid. 0b111111
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
<rippa> or
<rippa> 077
<Tasser> rippa, nice.
<Tasser> rippa, are you sure that's parsed as octal?
<manveru> it is
<rippa> yes
<manveru> yours is binary, and way too short
<rippa> 0o77 to be explicit
DMKE [DMKE!~DMKE@pdpc/supporter/student/dmke] has joined #ruby-lang
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby-lang
<manveru> 0b1000000110100100
<rippa> 0b111111 is 63
<rippa> it's not too short
<manveru> but how many mode bits there are, depends on the platform...
<rippa> it only checks last ones
<manveru> rippa: what does that check though?
<rippa> last six bits
<rippa> if they are all 0
<rippa> least significant ones
<manveru> oh, ok
<manveru> so like 0100600 & 077
<manveru> thanks a lot :)
<manveru> if i have to write a comment, at least the code can be performant
Filuren [Filuren!~Filuren@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
JdpB42 [JdpB42!~sdfdsf@cpe-71-72-126-188.insight.res.rr.com] has joined #ruby-lang
fritzek [fritzek!~fritzek@i59F7B502.versanet.de] has joined #ruby-lang
fritzek [fritzek!~fritzek@i59F7B502.versanet.de] has joined #ruby-lang
chickenflu [chickenflu!~chickenfl@59.92.62.247] has joined #ruby-lang
wimplash [wimplash!~Adium@wireless.sit-co.net] has joined #ruby-lang
mark_locklear [mark_locklear!~jlocklear@97-81-220-85.dhcp.hckr.nc.charter.com] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
IPGlider [IPGlider!~ipglider@62.83.8.224.dyn.user.ono.com] has joined #ruby-lang
stephenp [stephenp!~stephenp@gatepost.hos.net] has joined #ruby-lang
sevos [sevos!~sevos@ip-93-154-202-67.multi.internet.cyfrowypolsat.pl] has joined #ruby-lang
Natch| [Natch|!~natch@178.73.216.157] has joined #ruby-lang
Jade [Jade!~jade@unaffiliated/jade] has joined #ruby-lang
<IPGlider> sevos, have you tried rvm install 1.9.3 --with-gcc=clang ?
RomD` [RomD`!~Roman@nrbg-4d077090.pool.mediaWays.net] has joined #ruby-lang
tommyvyo_ [tommyvyo_!~tommyvyo@38.123.129.115] has joined #ruby-lang
malev [malev!~malev@190.210.138.237] has joined #ruby-lang
cyberninja [cyberninja!~michaelfe@41.139.115.82] has quit [#ruby-lang]
<sevos> IPGlider: Then I get BUG: Bus Error when linking miniruby
<IPGlider> what version of Xcode are you using?
<sevos> hm, 4.1 is here :> strange, but I believe I installed osx-gcc-installer
<sevos> IPGlider: maybe I'll try to reinstall it, or so
<IPGlider> try upgrading to 4.2.1 and install with --with-gcc=clang
chickenflu [chickenflu!~chickenfl@59.92.62.247] has quit [#ruby-lang]
<IPGlider> i did that and works perfect
<sevos> I'll give it a try
<sevos> IPGlider: thanks, I'll check :)
Defusal_ [Defusal_!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
niklasb [niklasb!~codeslay0@p5B310DB6.dip0.t-ipconnect.de] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
ConstantineXVI [ConstantineXVI!~constanti@216-24-48-34.ip.win.net] has joined #ruby-lang
ConstantineXVI [ConstantineXVI!~constanti@216-24-48-34.ip.win.net] has joined #ruby-lang
jensn [jensn!~Jens@ip233-65.wireless.lu.se] has joined #ruby-lang
imperator [imperator!~Daniel@63-225-247-192.hlrn.qwest.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<imperator> is there a shortcut for foo#methods - Object.methods ?
ricardovaleriano [ricardovaleriano!~ricardova@186.220.217.229] has joined #ruby-lang
michael_mbp_ [michael_mbp_!~Marin@149.147.187.18] has joined #ruby-lang
Defusal [Defusal!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby-lang
<sevos> IPGlider: I tried to remove Xcode and installed osx-gcc-installer but it fails. Now downloading full xcode, we'll see
sevos [sevos!~sevos@ip-93-154-202-67.multi.internet.cyfrowypolsat.pl] has joined #ruby-lang
<sevos> re
jxie [jxie!~jxie@115.197.80.212] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
arphen [arphen!~arphen@mnch-5d8766f2.pool.mediaWays.net] has joined #ruby-lang
<arphen> Hi guys, I'm new to ruby/rails but I'm experienced in python/java/c(++) and i'd like to start a new ruby/rails project using the authlogic gem. I'm currently using ruby 1.9.2 and rails 3.13 but I can't seem to find any source of a tutorial that will "just work". Everything I have found is written for Rails 2.x and there seem to be a lot of incompabilities between the versions. Anyone care to give me some good advice on how to get start
<arphen> ed?
<bougyman> arphen: does it have rdoc?
tomzx [tomzx!~tomzx@dsl-156-68.aei.ca] has joined #ruby-lang
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
<arphen> bougyman: yes, but I'm rather hesitant about reading through manpages, or the like.
sora_h [sora_h!~sora_h@mayfield.privs.net] has joined #ruby-lang
<arphen> Thing is, there's a load of tutorials, but they all seem to be deprecated and nobody seems to care.
<bougyman> arphen: that's why the rdoc is important, it's generally the most up to date
<arphen> bougyman: how can i access/view it?
<bougyman> there's the readme of it.
<arphen> thanks, is there any combination of ruby/rails that can be considered stable/mainstream? (like python 2.7)
<arphen> I'm afraid the documentation won't be of much help! Specifically I'm trying to get the example app to run and I'm running into some strange errors which I, as a newcomer, might not be able to fix using solely the documentation!
<bougyman> arphen: ruby 1.9.3 is stable, 1.8.7 is oldstable.
Spooner [Spooner!~Miranda@host-78-144-139-130.as13285.net] has joined #ruby-lang
<bougyman> python3 is stable, but lots of stuff written for 2.7 won't run on it.
<bougyman> same with stuff written for ruby 1.8.7, but not as impactful now, as most people have ported libs for 1.9 compatiblility.
<bougyman> rails is its own (large) dependency nightmare.
<bougyman> iirc they use bundler to kind of keep that managable.
<arphen> tbh setting up was terrible!
<arphen> I'm on ubuntu 11.10 and getting any kind of rails going took me 2 days ( and a fresh install )
thegeekinside [thegeekinside!~thegeekin@200-52-45-239.dynamic.axtel.net] has joined #ruby-lang
<bougyman> arphen: sorry.
<bougyman> I do not use that framework, can't really speak for it.
<arphen> bougyman: i have to apologize for being a whiny wimp!
<arphen> But I'm sure you can relate to how I feel!
<bougyman> there is a #rubyonrails channel, i think.
<bougyman> i hate dependency hell, so i've stayed away from it for that reason.
<arphen> Thanks a lot good sir for pointing me to the right place to shout and yell!
<bougyman> there are some alternatives you may find more to your liking.
<bougyman> padrino, presto, ramaze, sinatra, rango, others.
<arphen> opera singers?
<arphen> :p
frem [frem!q7YKHcpefP@irc-2.usealice.org] has joined #ruby-lang
SubSpawn [SubSpawn!~spawn@193.191.186.131] has joined #ruby-lang
<bougyman> no, just other ways to web with ruby.
mrneighborly [mrneighborly!~mrneighbo@154.25.119.70.cfl.res.rr.com] has joined #ruby-lang
Defusal [Defusal!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby-lang
fritzek [fritzek!~fritzek@i59F7B502.versanet.de] has joined #ruby-lang
SubSpawn [SubSpawn!~spawn@193.191.186.131] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
JEG2 [JEG2!~JEG2@ip72-198-103-217.ok.ok.cox.net] has joined #ruby-lang
rippa [rippa!~rippa@109-161-64-83.pppoe.yaroslavl.ru] has joined #ruby-lang
JEG2 [JEG2!~JEG2@ip72-198-103-217.ok.ok.cox.net] has joined #ruby-lang
robotmay [robotmay!~robotmay@94.30.13.228] has joined #ruby-lang
leonL [leonL!~leonl@CPE0024a5b652a3-CM000f21205d86.cpe.net.cable.rogers.com] has joined #ruby-lang
AlHafoudh [AlHafoudh!~textual@dsl-static-173.212-5-200.telecom.sk] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
Natch| [Natch|!~natch@178.73.218.129] has joined #ruby-lang
outoftime [outoftime!~mat@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby-lang
RomyEatsDrupal [RomyEatsDrupal!~stickycak@cpe-66-108-59-110.nyc.res.rr.com] has joined #ruby-lang
DMKE [DMKE!~DMKE@pdpc/supporter/student/dmke] has joined #ruby-lang
dv310p3r [dv310p3r!~dv310p3r@host-208-68-238-122.biznesshosting.net] has joined #ruby-lang
szarubin [szarubin!~stas@94.27.71.152] has joined #ruby-lang
<darix> dont listen to bougyman! :p
_ko1 [_ko1!~ko1@atdot.nue.ci.i.u-tokyo.ac.jp] has joined #ruby-lang
dfr|mac [dfr|mac!~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #ruby-lang
imajes [imajes!~imajes@is.imaj.es] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
SubSpawn [SubSpawn!~spawn@193.191.186.131] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p5DC15284.dip.t-dialin.net] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p5DC15284.dip.t-dialin.net] has joined #ruby-lang
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby-lang
indstry [indstry!~apple@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby-lang
indstry [indstry!~apple@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby-lang
<indstry> how would i go about showing progress of a file upload in a ruby script?
<Asher> cli?
<indstry> yeah
batasrki [batasrki!~batasrki@CPE602ad0913fd2-CM602ad0913fcf.cpe.net.cable.rogers.com] has joined #ruby-lang
ap3mantus [ap3mantus!~ap3mantus@c-98-217-187-172.hsd1.ma.comcast.net] has joined #ruby-lang
<indstry> Asher: I should have mentioned, Im using aws-sdk to upload to amazon s3. which in turn uses net::http. Wasnt sure if there was some way to wrap that to capture the amount of data transferred
<Asher> if it uses net:http there should be some way but i couldn't tell you how easy that might be
<indstry> Asher: ok thanks, I'll keep digging
tychobrailleur [tychobrailleur!~sebastien@176.61.72.130] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
<bnagy> 1.9.3 is not stable
<bnagy> imho
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
<batasrki> bnagy: do tell
<indstry> bnagy: yes please, do tell
<bnagy> well it's p0 and most of my syck / yaml stuff doesn't work
<bnagy> 1.9.2 latest seems ok
<bnagy> anyway, just saying that if one were to recommend a 'stable' 1.9 branch I don't think it would be bleeding
<batasrki> bnagy: have you tried psych? It's supposed to be the replacement, IIRC
<bnagy> I just use yaml, I'm not interested in rewriting it
<darix> bnagy: well ... then you should be using psych by default now
<darix> as backend
<bnagy> if you say so, it doesn't work
<bnagy> hence 'not stable'
<darix> bnagy: *what* doesnt work?
<bnagy> the exact same yaml files that work under 1.9.2, jruby and previous mri
<bnagy> anyway, it's like linux. I'll use it when it's done.
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
<darix> bnagy: ruby1.9 -r yaml -e 'p YAML.parser.inspect'
<darix> and
<darix> you can make it use syck instead
<manveru> if you have to :)
<manveru> at least makes converting to psych easier
<bnagy> darix: again, whatever you say. I'll use it when it's fixed :)
<manveru> it's not gonna be fixed
<manveru> nobody wants to maintain syck
<bnagy> life is too short to have to screw around to get the only blessed markup language to work out of the box
<darix> bnagy: can you share the yaml file that is breaking for you?
<bnagy> yeah I meant yaml not syck :>
<darix> i am sure aaron will fix it
<darix> bnagy: JFYI
<darix> YAML::ENGINE.yamler = 'syck'
<manveru> darix: btw, it was YAML::ENGINE
<manveru> aye
<manveru> there you can switch to syck for parsing and to psych for dumping
<bnagy> darix: honestly? I'd rather go to sleep, if I get motivated I'll look at that crap again later, for now I switched to jruby or used 1.9.2p290 where I couldnt
<darix> bnagy: so we will see you after sleeping with the yaml file that breaks with psych
<darix> good night!
<manveru> :)
<darix> later
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
<bnagy> ruby-1.9.3-head :003 > YAML.load_file 'analyzer.sample.yml'
<bnagy> Psych::SyntaxError: (analyzer.sample.yml): couldn't parse YAML at line 21 column 20
<bnagy> sec
<bnagy> I think it's any file with '|' on a line by itself
<bnagy> which is valid in 1.9.2
<manveru> ah, there we go
burgestrand [burgestrand!~burgestra@host.62.65.124.23.bitcom.se] has joined #ruby-lang
JEG2 [JEG2!~JEG2@ip72-198-103-217.ok.ok.cox.net] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
<bnagy> and what will that write differently?
RomyEatsDrupal [RomyEatsDrupal!~stickycak@cpe-66-108-59-110.nyc.res.rr.com] has joined #ruby-lang
InfiniteJest [InfiniteJest!~InfiniteJ@dynamic-adsl-78-12-91-46.clienti.tiscali.it] has joined #ruby-lang
<manveru> it'll write yaml so that psych can parse it again
<bnagy> isn't the point to be human writeable? :)
<manveru> dunno, i hate yaml
<bnagy> but I'll do it, just for interest's sake
<bnagy> what should I use for config files then?
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
<manveru> i use ruby
<bougyman> :)
<manveru> but hey, i'm so uncool, i even use env vars
<bnagy> yeah env vars honestly are uncool :)
bglusman [bglusman!~bglusman@50.128.78.151] has joined #ruby-lang
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby-lang
kain [kain!~kain@151.64.233.209] has joined #ruby-lang
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@189-69-29-244.dsl.telesp.net.br] has joined #ruby-lang
whoops [whoops!u549@gateway/web/irccloud.com/x-ncqxnihaambutbif] has joined #ruby-lang
<shevy> and tainted
<shevy> manveru why do you hate yaml! :(
<shevy> I hate psych, not yaml
<shevy> :P
timbleck [timbleck!u3835@gateway/web/irccloud.com/x-cvgjkonpzcpfcxms] has joined #ruby-lang
dkannan [dkannan!u480@gateway/web/irccloud.com/x-wuzwncbedwnjrzyu] has joined #ruby-lang
<shevy> bnagy the lesson I learned was to never trust any one format and to always retain the ability to go and change/switch to other formats
<bnagy> well it's just a config file, it's like a 2 line change, it's just easier to switch interpreters
<bnagy> to one that works
<shevy> hehe
<shevy> (to be continued ...)
necromancer_ [necromancer_!u4538@gateway/web/irccloud.com/x-wymebkqrrxvymwlp] has joined #ruby-lang
longtheta [longtheta!u4275@gateway/web/irccloud.com/x-xnbyjzwkzzlpoiqd] has joined #ruby-lang
simon_weber [simon_weber!u4119@gateway/web/irccloud.com/x-jrlevhstrymgdvlt] has joined #ruby-lang
charper [charper!u1691@gateway/web/irccloud.com/x-cchgxuenigsvfnux] has joined #ruby-lang
headius [headius!~headius@71-210-154-45.mpls.qwest.net] has joined #ruby-lang
cesario [cesario!u2444@gateway/web/irccloud.com/x-wpzemclkjtzefrbj] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
abuiles [abuiles!u1641@gateway/web/irccloud.com/x-mahbqyqcdybcdzbb] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-noxwwntscajweagz] has joined #ruby-lang
akahn [akahn!u2243@gateway/web/irccloud.com/x-uyuralkgiyyhrgpx] has joined #ruby-lang
cldwalker [cldwalker!u2984@gateway/web/irccloud.com/x-xnocbcupqgjyttod] has joined #ruby-lang
agib [agib!u781@gateway/web/irccloud.com/x-ldtjdyoxtemnbkwy] has joined #ruby-lang
solars [solars!~solars@mk089144206114.a1.net] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@dslc-082-082-097-223.pools.arcor-ip.net] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
darkf_ [darkf_!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
mark_azevedo [mark_azevedo!~mark_azev@12.249.184.226] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
<dreinull> this looks dumb, can I do better? !(ary & other_ary).empty?
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
simon_weber [simon_weber!u4119@gateway/web/irccloud.com/x-xshzgwxzjgyxxtsx] has joined #ruby-lang
akahn [akahn!u2243@gateway/web/irccloud.com/x-fypdivngdcnyjehi] has joined #ruby-lang
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-ctffosnxsjywadhe] has joined #ruby-lang
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
chessguy [chessguy!~chessguy@pool-96-231-167-66.washdc.fios.verizon.net] has joined #ruby-lang
chessguy [chessguy!~chessguy@pool-96-231-167-66.washdc.fios.verizon.net] has joined #ruby-lang
flebel [flebel!~flebel@unaffiliated/flebel] has joined #ruby-lang
mrchrisadams [mrchrisadams!u1367@gateway/web/irccloud.com/x-fcykmuptxrtcuswd] has joined #ruby-lang
dnjaramba_ [dnjaramba_!~dnjaramba@41.72.193.86] has joined #ruby-lang
necromancer [necromancer!u4538@gateway/web/irccloud.com/x-myessyyywgmpooug] has joined #ruby-lang
longtheta [longtheta!u4275@gateway/web/irccloud.com/x-kmogihguuqnakmpm] has joined #ruby-lang
mztriz [mztriz!~mztriz@74-136-75-114.dhcp.insightbb.com] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-zbjcbpczvcvatqda] has joined #ruby-lang
mztriz [mztriz!~mztriz@74-136-75-114.dhcp.insightbb.com] has quit [#ruby-lang]
charper [charper!u1691@gateway/web/irccloud.com/x-ijsplpzuawkbcmdw] has joined #ruby-lang
yango_ [yango_!~yango@unaffiliated/yango] has joined #ruby-lang
poloych [poloych!~poloych@201.116.140.252] has joined #ruby-lang
<andrewvos> ary.empty? and other_ary.empty?
<andrewvos> dreinull: Looks cleaner?
poloych [poloych!~poloych@201.116.140.252] has joined #ruby-lang
<Mon_Ouie> No, that's not equivalent
<Mon_Ouie> ary & other_ary is set intersection
cldwalker [cldwalker!u2984@gateway/web/irccloud.com/x-ywlguhciuocjlntw] has joined #ruby-lang
mccraig [mccraig!u574@gateway/web/irccloud.com/x-nxtzwejquhhhjyiu] has joined #ruby-lang
<andrewvos> Mon_Ouie: my version doesn't merge the arrays though
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
burgestrand1 [burgestrand1!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
poloych [poloych!~poloych@201.116.140.252] has joined #ruby-lang
apeiros_ [apeiros_!~apeiros@77-58-113-31.dclient.hispeed.ch] has joined #ruby-lang
<rippa> andrewvos: your version also does something other than original
<rippa> *gives different results
<apeiros_> diversity is great!
* apeiros_ hides
agib [agib!u781@gateway/web/irccloud.com/x-ryzypnpeonjujpvp] has joined #ruby-lang
<andrewvos> ary.any? and other_ary.any? <--- that better?
cesario [cesario!u2444@gateway/web/irccloud.com/x-kkwvvktgbrhqryjk] has joined #ruby-lang
outoftime [outoftime!~mat@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby-lang
gregmoreno [gregmoreno!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
mahlon [mahlon!mahlon@martini.nu] has joined #ruby-lang
<rippa> andrewvos: ary, other_ary = [1], [2]
<rippa> your method gives true
<rippa> original gives false
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
DMKE [DMKE!~DMKE@pdpc/supporter/student/dmke] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby-lang
<Mon_Ouie> And you could rewrite it using any? and include?, but it would be worse performance-wise actually
dkannan [dkannan!u480@gateway/web/irccloud.com/x-ucfnktkkvuaslkvb] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
kookwekker [kookwekker!kookwekker@2a02:2308::216:3eff:feb8:af22] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby-lang
solars [solars!~solars@mk089144206075.a1.net] has joined #ruby-lang
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby-lang
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p5DC15284.dip.t-dialin.net] has joined #ruby-lang
<dreinull> any could do, good idea.
abuiles [abuiles!u1641@gateway/web/irccloud.com/x-ifiqiyczfydzojgz] has joined #ruby-lang
<dreinull> Mon_Ouie: but yes, performance. It's called on almost every route.
<dreinull> I'll leave it then.
whoops [whoops!u549@gateway/web/irccloud.com/x-ckrvzcygdrjcjomp] has joined #ruby-lang
<Mon_Ouie> For readability concerns, it would be quite clear if you just isolate that expression in a method with an explicit name about what it returns
simon_weber [simon_weber!u4119@gateway/web/irccloud.com/x-vyefgmlkjxgikpgh] has joined #ruby-lang
mrchrisadams [mrchrisadams!u1367@gateway/web/irccloud.com/x-zsytdxmfoutotsuq] has joined #ruby-lang
necromancer [necromancer!u4538@gateway/web/irccloud.com/x-vhnhqkgfpuiwjzas] has joined #ruby-lang
longtheta [longtheta!u4275@gateway/web/irccloud.com/x-tuhpsuomauozklnt] has joined #ruby-lang
longtheta [longtheta!u4275@gateway/web/irccloud.com/x-viousdhnfxdpeitc] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-salevkzboqsgdcei] has joined #ruby-lang
mccraig [mccraig!u574@gateway/web/irccloud.com/x-ucyesgklcegymqzr] has joined #ruby-lang
charper [charper!u1691@gateway/web/irccloud.com/x-evlivesmpokivysv] has joined #ruby-lang
simon_weber [simon_weber!u4119@gateway/web/irccloud.com/x-tcvbgcynbjbmeaee] has joined #ruby-lang
mrchrisadams [mrchrisadams!u1367@gateway/web/irccloud.com/x-qyjdhcbzcmvsauxk] has joined #ruby-lang
dkannan [dkannan!u480@gateway/web/irccloud.com/x-ayrwohqxzipfhcdx] has joined #ruby-lang
indstry [indstry!~apple@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby-lang
necromancer [necromancer!u4538@gateway/web/irccloud.com/x-ofagkvanmikavuqq] has joined #ruby-lang
whoops [whoops!u549@gateway/web/irccloud.com/x-zsvsssasdxnclcpm] has joined #ruby-lang
agib [agib!u781@gateway/web/irccloud.com/x-oxdydpermytubnxn] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-tisafcdyjxejlkgp] has joined #ruby-lang
abuiles [abuiles!u1641@gateway/web/irccloud.com/x-xolxezfoclxwniud] has joined #ruby-lang
cek [cek!~cek@host-static-46-55-80-225.moldtelecom.md] has joined #ruby-lang
<Spooner> How would I mock ``/%x[] - where are they defined and how?
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
cldwalker [cldwalker!u2984@gateway/web/irccloud.com/x-mkbmhmjqfhlfuwmt] has joined #ruby-lang
<Mon_Ouie> They are calls to Kernel#`
roha [roha!~phelot@84-75-49-50.dclient.hispeed.ch] has joined #ruby-lang
<Mon_Ouie> Well, just to the #` method actually, only defined in Kernel by default
BretFisher [BretFisher!~BretFishe@ip72-218-5-115.hr.hr.cox.net] has joined #ruby-lang
<Spooner> Mon_Ouie: Ah, thanks.
RomyEatsDrupal [RomyEatsDrupal!~stickycak@64.134.64.42] has joined #ruby-lang
BretFisher [BretFisher!~BretFishe@ip72-218-5-115.hr.hr.cox.net] has quit [#ruby-lang]
hagebake [hagebake!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
hagebake [hagebake!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagebake [hagebake!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
Carnage\ [Carnage\!~carnage@84-75-163-211.dclient.hispeed.ch] has joined #ruby-lang
mtkd [mtkd!znc@209-20-90-74.slicehost.net] has joined #ruby-lang
cyri_ [cyri_!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby-lang
akahn [akahn!u2243@gateway/web/irccloud.com/x-gwlihjekamkugyvh] has joined #ruby-lang
dnjaramba_ [dnjaramba_!~dnjaramba@41.72.193.86] has joined #ruby-lang
lake [lake!~lake@li71-228.members.linode.com] has joined #ruby-lang
benanne [benanne!~rijdier@ip-213-49-83-234.dsl.scarlet.be] has joined #ruby-lang
cesario [cesario!u2444@gateway/web/irccloud.com/x-fuxpmzvylufwnvap] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
jredville [jredville!~james.dev@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
robbrit [robbrit!~rob@38.108.76.250] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.230.204] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@subtle/user/kyrylo] has joined #ruby-lang
matled [matled!~matled@85.131.246.184] has joined #ruby-lang
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
GiambalaGiambala [GiambalaGiambala!~virunga@151.64.23.73] has joined #ruby-lang
Austin__ [Austin__!~austin@96.45.197.22] has joined #ruby-lang
nuclearsandwich [nuclearsandwich!~nuclearsa@74-93-3-244-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
dr_bob [dr_bob!~dr_bob@p549E78EE.dip.t-dialin.net] has joined #ruby-lang
RomyEatsDrupal [RomyEatsDrupal!~stickycak@64.134.64.42] has joined #ruby-lang
Austin__ [Austin__!~austin@96.45.197.22] has joined #ruby-lang
topaz [topaz!~twp@unchi.org] has joined #ruby-lang
hrnt [hrnt!hrnt@wintermute.hrnt.net] has joined #ruby-lang
jalljo [jalljo!jalljo@im.a.noo-b.com] has joined #ruby-lang
xsdg [xsdg!~xsdg@SIPB-VM-99.MIT.EDU] has joined #ruby-lang
pabs [pabs!~pabs@ip68-98-175-235.dc.dc.cox.net] has joined #ruby-lang
bougyman [bougyman!bougyman@bougyman.com] has joined #ruby-lang
jjp [jjp!~jjp@info-1.adm.espci.fr] has joined #ruby-lang
zumbi [zumbi!~zumbi@77.230.237.25] has joined #ruby-lang
indeterminate [indeterminate!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby-lang
setmeaway [setmeaway!stemearay@118.45.149.247] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
bougyman [bougyman!bougyman@pdpc/supporter/gold/bougyman] has joined #ruby-lang
piglop [piglop!~piglop@del63-1-82-243-95-115.fbx.proxad.net] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
headius [headius!~headius@71-210-154-45.mpls.qwest.net] has joined #ruby-lang
solars [solars!~solars@mk089144206075.a1.net] has joined #ruby-lang
S2kx [S2kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby-lang
mitchty [mitchty!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby-lang
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby-lang
drbrain [drbrain!~drbrain@drbrain-1-pt.tunnel.tserv14.sea1.ipv6.he.net] has joined #ruby-lang
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-ndwhrdnvqngvlwrv] has joined #ruby-lang
mdel_ [mdel_!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby-lang
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby-lang
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
ruskie [ruskie!ruskie@sourcemage/mage/ruskie] has joined #ruby-lang
<jaafar> Anyone here with SWIG experience on Ruby? I'm having some shared pointer troubles
<jaafar> as in, how to correctly do them these days. docs seem out of date
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
gnasher [gnasher!~gnasher@dslb-088-068-249-104.pools.arcor-ip.net] has joined #ruby-lang
gnasher [gnasher!~gnasher@dslb-088-068-249-104.pools.arcor-ip.net] has joined #ruby-lang
jalljo [jalljo!jalljo@unaffiliated/jalljo] has joined #ruby-lang
jalljo [jalljo!jalljo@unaffiliated/jalljo] has quit [#ruby-lang]
jalljo [jalljo!jalljo@unaffiliated/jalljo] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
Sailias [Sailias!~jonathan@s72-38-77-178.static.comm.cgocable.net] has joined #ruby-lang
SpitfireWP [SpitfireWP!spitfire@wikipedia/spitfire] has joined #ruby-lang
SkramX [SkramX!~SkramX@pool-173-73-134-143.washdc.east.verizon.net] has joined #ruby-lang
elux [elux!~peter@96.45.198.150] has joined #ruby-lang
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
<rue> Ehw, swig
RomyEatsDrupal [RomyEatsDrupal!~stickycak@64.134.64.42] has joined #ruby-lang
musl [musl!~mike@li44-23.members.linode.com] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@189-69-29-244.dsl.telesp.net.br] has joined #ruby-lang
ricardovaleriano [ricardovaleriano!~ricardova@189-69-29-244.dsl.telesp.net.br] has joined #ruby-lang
davidw [davidw!~davidw@adsl-ull-122-110.51-151.net24.it] has joined #ruby-lang
davidw [davidw!~davidw@apache/committer/davidw] has joined #ruby-lang
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
musl [musl!~mike@li44-23.members.linode.com] has joined #ruby-lang
robbrit [robbrit!~rob@38.108.76.250] has quit [#ruby-lang]
mark_azevedo [mark_azevedo!~mark_azev@12.249.184.226] has joined #ruby-lang
leonL [leonL!~leonl@CPE0024a5b652a3-CM000f21205d86.cpe.net.cable.rogers.com] has joined #ruby-lang
jbsan [jbsan!~jbsan@host109-152-194-103.range109-152.btcentralplus.com] has joined #ruby-lang
mr-green [mr-green!~mr-green@122.164.183.37] has joined #ruby-lang
skabro [skabro!~skabro@76.sub-174-252-215.myvzw.com] has joined #ruby-lang
skabro [skabro!~skabro@76.sub-174-252-215.myvzw.com] has quit [#ruby-lang]
RomyEatsDrupal [RomyEatsDrupal!~stickycak@64.134.64.42] has joined #ruby-lang
ilyam [ilyam!~ilyam@eng.nat.mtv.ooyala.com] has joined #ruby-lang
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
musl [musl!~mike@li44-23.members.linode.com] has joined #ruby-lang
Filuren [Filuren!~Filuren@x1-6-e0-46-9a-1f-97-a2.k617.webspeed.dk] has joined #ruby-lang
jredville [jredville!~james.dev@nat60-100.kcls.org] has joined #ruby-lang
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@176.61.72.130] has joined #ruby-lang
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
mark_azevedo [mark_azevedo!~mark_azev@12.249.184.226] has joined #ruby-lang
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby-lang
RomyEatsDrupal_ [RomyEatsDrupal_!~stickycak@64.134.64.42] has joined #ruby-lang
srbartlett [srbartlett!~srbartlet@202.146.7.239] has joined #ruby-lang
<andrewvos> ruby-lang: I need a good action movie to watch. Thinking something cheesy like Pitch Black. Thoughts?
tekin [tekin!~tekin@cpc8-with5-2-0-cust208.1-4.cable.virginmedia.com] has joined #ruby-lang
tobiasvl [tobiasvl!~tvl@arrakis.uio.no] has joined #ruby-lang
musl [musl!~mike@li44-23.members.linode.com] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
<drbrain> watch the sequel?
<drbrain> or anything else with Vin in it?
<andrewvos> Hmmm. Don't really like Vin to be honest.
<andrewvos> Pitch Black was ok though.
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
<drbrain> andrewvos: oh come on, he almost kissed The Rock in FF5
ddfreyne [ddfreyne!~denisdefr@stoneship.org] has joined #ruby-lang
<musl> Heh! The chronicles of Riddick wasn't that bad if you're into really cheesy sci-fi. *Take us to the threshold!*
<andrewvos> drbrain: ff5?
<andrewvos> drbrain: Oh right Fast and the Furios?
JEG2 [JEG2!~JEG2@ip72-198-103-217.ok.ok.cox.net] has joined #ruby-lang
<andrewvos> furious*
<drbrain> oh, it's just FF: http://www.imdb.com/title/tt1596343/
fayimora [fayimora!~fayimora@95.175.159.37] has joined #ruby-lang
<andrewvos> hmm. Well I settled for Pitch Black
<guns> There are worse movies.
<andrewvos> guns: Indeed.
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
outoftime [outoftime!~mat@ip-160-79-101-2.autorev.intellispace.net] has joined #ruby-lang
tangleofwire [tangleofwire!~tangleofw@client-86-16-213-54.glw-bng-11.adsl.virginmedia.com] has joined #ruby-lang
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
wwalker [wwalker!~wwalker@208.92.232.27] has joined #ruby-lang
<wwalker> what if I want to call super() with no args. If I do that, super automatically reuses the args passed to the current method. restated: someone called foo(1,2) and in foo() I want foo() to call its superclass's foo(), but with NO args....
<raggi> super() calls it with no args
<raggi> super calls it with existing args
<raggi> changing the arity of methods through inheritance is often a design smell, btw
<raggi> because it /can/ become somewhat of a refactoring oddity
jarib [jarib!~jarib@unaffiliated/jarib] has joined #ruby-lang
Austin__ [Austin__!~austin@96.45.197.22] has quit [#ruby-lang]
mantono [mantono!~mantono@c83-251-126-234.bredband.comhem.se] has joined #ruby-lang
InfiniteJest [InfiniteJest!~InfiniteJ@dynamic-adsl-78-12-91-46.clienti.tiscali.it] has joined #ruby-lang
jbsan [jbsan!~jbsan@host109-152-194-103.range109-152.btcentralplus.com] has joined #ruby-lang
flowerpot [flowerpot!~flower@ec2-50-112-22-115.us-west-2.compute.amazonaws.com] has joined #ruby-lang
wallerdev [wallerdev!~wallerdev@72.44.102.30] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
jbsan [jbsan!~jbsan@host109-152-194-103.range109-152.btcentralplus.com] has joined #ruby-lang
<shevy> omg... pitch black was ok, but the shit that followed it with riddick was so gay
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
<drbrain> shevy: I don't recall any homosexuality in riddick
<shevy> the necromongers there!
dragonkh [dragonkh!~kings@dr4g0nn.gotadsl.co.uk] has joined #ruby-lang
<dragonkh> hello
<dragonkh> anyone heard of a ruby scheduler lib called recurrent by zencoder
<andrewvos> have now
<dragonkh> hmm
<raggi> seems like they could have just made cron ping a server that forks and runs a task
<dragonkh> I want to use recurrent - but the documentation is very light and the code needs some explanation
SkramX [SkramX!~SkramX@pool-173-73-134-143.washdc.east.verizon.net] has joined #ruby-lang
<shevy> nice way to say that the documentation and code sucks
<dragonkh> hehhe
<dragonkh> I've been coding ruby since 2000 and I still keep finding things that I don't know about it !!!
<dragonkh> this line of ruby code really helped me out one day !! [8364].pack("U") who would have thought it !!
<dragonkh> can you guess what it does without running it !
<petercooper> dragonkh: you and me both
tychobrailleur [tychobrailleur!~sebastien@176.61.72.130] has joined #ruby-lang
<petercooper> if I have to guess, something to do with getting the unicode char with codepoint 8364?
rpowell [rpowell!~rpowell@CPE-124-183-154-59.lns16.ken.bigpond.net.au] has joined #ruby-lang
<petercooper> but I always have to look up pack/unpack when using them for real
<dragonkh> petercooper - you have helped me out a few times on irc !
<dragonkh> petercooper - are you the same guy from northern england ?
<petercooper> Yeah :)
<dragonkh> the snippets guy ?
<petercooper> a long time ago, yes :)
<petercooper> I sold that site four years ago now.. cripes.
<andrewvos> snippets?
<dragonkh> hehe ! - I was taking a look at that recently - it inspired me a bit to do something more entreupeneural - damn cant spell it
<petercooper> andrewvos: It got bought by DZone and they've let it get riddled with spam: http://snippets.dzone.com/
<petercooper> though at the time it was reasonably original to have a social code site built around tagging
<andrewvos> whoa cool
<andrewvos> you make all the cool sites
<petercooper> I wish!
<petercooper> Been feeling a bit slack in the cool sites department.. they're nearly all media/newsletter things now ;-)
<dragonkh> grr linkinus is on it's last chance with me - one more freeze up and I'm going to colloqoy
<petercooper> I used to use Colloquy years ago.. it used to eat up memory :)
<petercooper> Probably not so bad nowadays
<wallerdev> i use it regularly
<wallerdev> you should compile it from svn trunk though if you're on lion or its full of weird things
<wallerdev> (colloquy)
<petercooper> I switched to Limechat because it was built in Ruby and had an old school aesthetic. But then they rewrote it in Objective C, lol.
<wallerdev> like it uses GMT time no matter where you are and uses its own style of growl notifications
<wallerdev> i haven't seen too much GUI software in ruby yet
<dragonkh> I'm looking for something exiting and collaborative to do - work sucks, and I'm not mentally powerful enough to finish something on my own !! I need ideas, coding partners - an income stream and something cool to do !!
<wallerdev> i'll be your coding partner
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby-lang
<wallerdev> although i need a project as well
<petercooper> on the plus side, it's easier to find a coding partner than a sexual partner
davidw [davidw!~davidw@adsl-ull-122-110.51-151.net24.it] has joined #ruby-lang
<wallerdev> so we may need a 3rd partner
<petercooper> and three ways don't result in quite so much emotional baggage
<wallerdev> :P
<dragonkh> hhehe !!!
<wallerdev> maybe petercooper will be our 3rd partner, anything with his name on it will get the blogs buzzing
<dragonkh> I want to code ruby, make money and work on my own schedule !
<petercooper> sorry chaps, I haven't even got enough time to do my own stuff atm ;-P
<dragonkh> wallerdev - got any cool ideas?
<wallerdev> not really
<wallerdev> haha
<zzak> petercooper: are you doing the newsletter/media stuff fulltime then?
<dragonkh> oh !
<petercooper> However, if you make anything cool, I'm always happy to hear about it and possibly link/e-mail it up :)
<zzak> or still consulting on the side
<petercooper> zzak: Essentially.
<petercooper> I still have a couple of very old clients who ask me to do an hour or two here and there. Def less than 10% of my business.
<dragonkh> I'm working on a mud site at the moment - its very cool (at least I think it is) unfortunatley not many people are into mud's these days and certainly no one is wanting to pay to play one - so its just for fun !! but I let any player create their own virtual world that other players can play as well
<wallerdev> yeah most people just go outside after it rains to play with mud for free
<petercooper> dragonkh: You say that, but a lot of casual games nowadays are essentially muds with a few extra mechanics or lots of graphics piled on top.
<dragonkh> and some people don't even know what a mud is !!
<petercooper> Like those social Facebook games
<dragonkh> yeah true - I'm thinking of perhaps making a game site - iphone or ipad maybe or even facebook
<dragonkh> html 5 is promising
<dragonkh> I want to buld something awesome though
<dragonkh> something that pushes the boundaries a bit
<petercooper> an ascii based Battlefield 3 clone that plays over telnet
<dragonkh> and in ruby
<dragonkh> hmm not sure about telnet - I think html is more accessible
<petercooper> ;-P
<dragonkh> my current mud site is written in rails - html front end - with js, event handling and a scheduler for recurring jobs
RomD`` [RomD``!~Roman@nrbg-4d077d22.pool.mediaWays.net] has joined #ruby-lang
<dragonkh> I found faye - which is really cool
<dragonkh> I almost wrote it in expression with node.js - but I love ruby so much - I didnt
<dragonkh> petercooper - so maybe my html social media based mud side will be a big hit then !! slap in some facebook and google+ api clients and off we go !
<dragonkh> hehe I should call it mudslide !
<dragonkh> wallerdev - as soon as you have a cool idea - let me know and we can start our ruby empire !!!
<wallerdev> haha
<wallerdev> I've been trying to come up with something the past few days
<dragonkh> you name it - I can build it with nobs on !
spuk [spuk!~spuk@189.6.30.65] has joined #ruby-lang
<dragonkh> I thought about a people help site - when one side needs help and the other side wants to give help - and we match them up - only problem is - hackers, fraudsters, liers, cheats and other low lying internet scums
<wallerdev> yeah
<wallerdev> a lot of potential for abuse
<dragonkh> then every thing I thought about after that seemed to have the same problem !
<wallerdev> what about like a room layout site where you can arrange furniture in a room and share it with people haha
<drbrain> then you need to make a system for recognizing the scum of the internet
<wallerdev> we could ask for their bank account and keep track of how they're spending their money
<wallerdev> :P
<dragonkh> please enter your sort code and account number sir ?
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby-lang
<dragonkh> hehe
<flowerpot> I have a question about something on this page:
<dragonkh> I like making graphs of statistical data - graphs that move and animate
<dragonkh> nice name flowerpot
<wallerdev> what about a site that let you design flowerpots and then it would use a 3d printer and ship them to you
<dragonkh> do you think the people that want flowerpots are the same people who have computers?
<flowerpot> Specifically, under "Writable Attributes", why does aSong.duration return 260 when it is first called?
<flowerpot> right above the "aSong.duration = 257 # set attribute with updated value" line
<dragonkh> its set here: aSong = Song.new("Bicylops", "Fleck", 260)
<dragonkh> at the end there
<flowerpot> Right - I get that we passed 260 at the end, but we defined duration to be like this:
<flowerpot> def duration=(newDuration)
<flowerpot> @duration = newDuration
<flowerpot> does that mean that newDuration is optional?
<burgestrand> no
<flowerpot> I would have thought that calling aSong.duration would try to assign a value to @duration
<flowerpot> instead of simply returning 260
<burgestrand> flowerpot: duration= is different from duration
<wallerdev> yeah the = is part of the method name
<flowerpot> Ohhhh.
<flowerpot> so when they write
<flowerpot> aSong.duration = 257 # set attribute with updated value
<flowerpot> they're calling duration=?
<dragonkh> duration sets the value of @duration to 260 = then we call duration - which returns the vlaue of 260
<wallerdev> aSong..duration = 257 is the same as aSong.duration=(257)
<wallerdev> calling the duration= method
<burgestrand> flowerpot: yes
<flowerpot> ok, cool
<flowerpot> that makes senese
<flowerpot> I understand now
<flowerpot> aSong.duration » 260
<flowerpot> aSong.duration = 257 # set attribute with updated
<flowerpot> so these are two different functions. got it.
<flowerpot> thanks!
<burgestrand> flowerpot: methods, yes :)
<dragonkh> that code would never work anyway - its incomplete
<flowerpot> methods :)
yakko [yakko!~quassel@189.27.51.53.dynamic.adsl.gvt.net.br] has joined #ruby-lang
<wallerdev> dragonkh: i think its built in earlier parts of the tutorial
<flowerpot> I think the idea is to punch in the code as you use the irb
<dragonkh> its missing the initialize method so I can see how it might be confusing if you just read that snippet
<dragonkh> oh yeah I see at the top - its in bits though - I like to see the full listing
<dragonkh> oh dear - I have chores then I need to sleep - another day of work ahead tomorrow - I came here for one reason and got stuck !!! sigh this is why I don't come here much - I get no work done at all !!!!
<wallerdev> haha
<dragonkh> ok - anyone who wants to do a cool ruby project - let me know - kingsley@mindflowsolutions.com <-- make sure to reply to the spam filter or I wont get your email - I'm serious - I want to build something awesome that makes some cash or helps people or both !!!!
vish [vish!~suckerpun@93-97-12-107.zone5.bethere.co.uk] has joined #ruby-lang
<dragonkh> flowerpot - you should checkout pry as well as irb - it's pretty cooool !
zzak [zzak!~zzak@ec2-107-20-68-16.compute-1.amazonaws.com] has joined #ruby-lang
Eising [Eising!~allan@0x52b41d06.static.bcbnet.dk] 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