_whitelogger [_whitelogger!~whitelogg@kaunan.whitequark.org] has joined #ruby-lang
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby-lang
rippa [rippa!~rippa@93-181-234-108.adsl.yaroslavl.ru] has joined #ruby-lang
_whitelogger [_whitelogger!~whitelogg@kaunan.whitequark.org] has joined #ruby-lang
kith [kith!~kith@unaffiliated/kith] has joined #ruby-lang
brianpWins [brianpWins!~brianpWin@S0106c0c1c00191c1.vc.shawcable.net] has joined #ruby-lang
Defusal_ [Defusal_!Defusal@dsl-241-16-206.telkomadsl.co.za] has joined #ruby-lang
Defusal_ [Defusal_!Defusal@unaffiliated/ecnerifed] has joined #ruby-lang
hahuang65 [hahuang65!~hahuang65@204.11.231.186.static.etheric.net] has joined #ruby-lang
qpingu [qpingu!~Adium@67.218.117.238] has joined #ruby-lang
chimkan [chimkan!~chimkan@173.243.33.72] has joined #ruby-lang
hecspc [hecspc!~hec@81.184.161.198.dyn.user.ono.com] has joined #ruby-lang
Skif_home [Skif_home!~Skif@72.1.92.57] has joined #ruby-lang
eschwartz [eschwartz!~Skif@74.115.253.42] has joined #ruby-lang
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby-lang
harlanhorbach [harlanhorbach!~harlanhor@174-127-47-2.static-ip.telepacific.net] has joined #ruby-lang
hagabaka [hagabaka!~quassel@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~quassel@unaffiliated/hagabaka] has joined #ruby-lang
lele [lele!~lele@fangorn.windmill.it] has joined #ruby-lang
Stereokitsune [Stereokitsune!~mayoi@nessa.yuuzukiyo.net] has joined #ruby-lang
chimkan_ [chimkan_!~chimkan@173.243.33.72] has joined #ruby-lang
malev_ [malev_!~malev@190.210.138.237] has joined #ruby-lang
<jorgenpt>
I'm getting a '.rvm/gems/ruby-1.9.2-p290@global/gems/i18n-0.6.0/lib/i18n/config.rb:17:in `backend': no such file to load -- i18n/backend (LoadError)' when using actionview, but if I print $LOAD_PATH right before the line that generates the error, it includes .rvm/gems/ruby-1.9.2-p290@global/gems/i18n-0.6.0/lib
<jorgenpt>
And .rvm/gems/ruby-1.9.2-p290@global/gems/i18n-0.6.0/lib/i18n/backend.rb exists
qpingu [qpingu!~Adium@67.218.117.238] has quit [#ruby-lang]
hagebake [hagebake!~quassel@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagebake [hagebake!~quassel@unaffiliated/hagabaka] has joined #ruby-lang
malev_ [malev_!~malev@190.210.138.237] has joined #ruby-lang
harlanhorbach [harlanhorbach!~harlanhor@99-47-150-117.lightspeed.irvnca.sbcglobal.net] has joined #ruby-lang
mrb_bk [mrb_bk!u2099@gateway/web/irccloud.com/x-fetyqtvotkkkrmmv] has quit [#ruby-lang]
ascarter [ascarter!~ascarter@209.119.253.66] has joined #ruby-lang
stderr [stderr!~stderr@truedat.org] has joined #ruby-lang
zgr [zgr!~zgrge@79.165.25.46] has joined #ruby-lang
plusk [plusk!~plusk@201-34-216-120.gnace703.dsl.brasiltelecom.net.br] has joined #ruby-lang
Skif [Skif!~Skif@72.1.92.57] has joined #ruby-lang
zgr [zgr!~zgrge@79.165.25.46] has quit [#ruby-lang]
ruskie [ruskie!ruskie@sourcemage/mage/ruskie] has joined #ruby-lang
twittard [twittard!~twittard@wc.lax.truecarcorp.com] has joined #ruby-lang
sideshownz [sideshownz!~sideshown@121.98.77.84] has joined #ruby-lang
NARKOZ [NARKOZ!~NARKOZ@93.184.225.56] has joined #ruby-lang
jesly [jesly!~jesly@49.137.147.232] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
naz [naz!~n@70.44.235.1.res-cmts.bus.ptd.net] has joined #ruby-lang
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
curtism [curtism!~curtis@bas11-montreal02-1128531121.dsl.bell.ca] has joined #ruby-lang
dejongge [dejongge!~jonke@pD9E0D749.dip0.t-ipconnect.de] has joined #ruby-lang
Aeneas [Aeneas!~tomo@iskon7105.duo.carnet.hr] has joined #ruby-lang
Aeneas [Aeneas!~tomo@iskon7105.duo.carnet.hr] has quit [#ruby-lang]
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
jstemmer [jstemmer!~cheetah@mrpwn.stemmertech.com] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
at5l [at5l!~at5l@unaffiliated/at5l] has joined #ruby-lang
Aeneas [Aeneas!~tomo@iskon7105.duo.carnet.hr] has joined #ruby-lang
Aeneas [Aeneas!~tomo@iskon7105.duo.carnet.hr] has quit [#ruby-lang]
Aeneas [Aeneas!~tomo@iskon7105.duo.carnet.hr] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@176.61.72.130] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@176.61.72.130] has quit [#ruby-lang]
oilpastels [oilpastels!~rafael@177.40.238.9] has joined #ruby-lang
<drbrain>
3 months is enough time to learn the syntax and write a few significant programs and learn from your mistakes
<h4y4shi>
Hey guys, I remember looking at the source code of some programs and they seperate the source code into multiple files. My program that I am writing right now has a lot of clutter that I would like to store in a different file. Is there a way to write ruby code in more than one .rb file?
<andkerosine>
You have load and require.
<drbrain>
use require, load is for doing fancy things you will learn in the future
ascarter_ [ascarter_!~ascarter@209.119.253.66] has joined #ruby-lang
<rue>
Ruby's definitely much easier to start with than C++ was
<erikh>
why<do<you<say>>> this;
<Boohbah>
rue: agreed
<rue>
But if it takes more (or less) than the 3 months, it's not really cause for concern…
MistyM_ [MistyM_!MistyM@conference/code4lib/x-ckevcijabnkbcyrv] has joined #ruby-lang
<rue>
erikh: Heh, the syntax wasn't that bad, but you had to worry about the development environment more
<rue>
irb is sliiiightly easier than recompiling an a.out :)
<erikh>
heh
<rue>
I vividly remember the joy when I got an array of Cats to meow, though.
<erikh>
ARGV[0].times { system("say meow") }
<erikh>
... I think I'm still burning this coffee off
<erikh>
and the meow sounds like snagglepuss
<andkerosine>
cats.each { |c| c.meow }
<andkerosine>
Know what'd be fun/cruel?
<drbrain>
erikh: you're missing an Integer()
<andkerosine>
gzip a 10GB file that's just spaces.
<erikh>
drbrain: yeah
<erikh>
I used .to_i but close enough
<erikh>
andkerosine: actually a lot of mail exploits for virus scanners work that way
<erikh>
take something that's really compressible and ship it in an email
<erikh>
virus scanner goes to extract the .rar or w/e to scan it and BOOM out of disk space
<erikh>
mail system therefore soils itself
<andkerosine>
It's brilliant.
<lianj>
system "say", "meow "*ARGV[0].to_i
workmad3 [workmad3!~workmad3@86.30.110.82] has joined #ruby-lang
<andkerosine>
while 1; print "\a"; sleep rand * 3; end
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
<drbrain>
Phrogz: you could have read the man page like I did
<Phrogz>
drbrain: But it's more fun to write a Ruby script with `gzip -#{n} -c foo ` :)
<Phrogz>
Plus…who trusts the man pages :)
<rue>
Phrogz is a Man of Science
<Y_Ichiro>
does anyone know of a rspec equivalent in C++
<Y_Ichiro>
or do system programmers don't do BDD at all :/
<rue>
Y_Ichiro: There are a couple unit testing libraries, some even kinda speccy.
<Phrogz>
Interesting; on that particular tar, -1 is 82.0% of the original, while -6 through -9 all gets to only 81.0%. Makes one wonder if the extra CPU time is really worth it.
<Phrogz>
(Not that it's not already ridiculously fast on today's computers. ;)
andkerosine [andkerosine!~andkerosi@adsl-067-034-186-046.sip.mco.bellsouth.net] has joined #ruby-lang
Defusal_ [Defusal_!Defusal@dsl-241-4-123.telkomadsl.co.za] has joined #ruby-lang
Defusal_ [Defusal_!Defusal@unaffiliated/ecnerifed] has joined #ruby-lang
<andkerosine>
Sounds almost silly to ask, but anybody familiar with reddit?
<injekt>
sure
<injekt>
probably a lot of people here
<andkerosine>
Mm-hmm.
<andkerosine>
Well, my current pet project is a Ruby wrapper around the API, but I'm having trouble with the semantics.
<andkerosine>
The current syntax is along these lines: client.select('subreddit', 'programming', 'hot').get('comments')
<injekt>
alright, if you have questions feel free to ask
<injekt>
hmm
<andkerosine>
Strikes me as too verbose, but I /do/ want to include that functionality.
<injekt>
why not
<andkerosine>
I mean, I like it because you can just as easily do: client.select('user', 'some_guy').get('comments', 'controversial')
<andkerosine>
It just "feels" long-winded.
<injekt>
client.r(:programming, :hot) which would return something like Subreddit of type programming
<injekt>
then you have #comments
<injekt>
I dont like .get('comments') comments should be a method
<Phrogz>
+1 to that
<andkerosine>
That's how the Python wrapper does it...
<injekt>
fuck the python wrapper, you're writing a better wrapper
<andkerosine>
Naturally. : )
<andkerosine>
Love the name, too.
<andkerosine>
How do you feel about Snooby?
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
<andkerosine>
The... alien's name?
<andkerosine>
Plus... Ruby? No?
<injekt>
The Aliens name?
<andkerosine>
Is Snoo.
<injekt>
Oh okay
<injekt>
I didn't know that
<injekt>
seems to fit well, then
<andkerosine>
Thanks, I thought so.
<andkerosine>
Still undecided, but it just "fits".
<injekt>
I like that you registered the gem already
<andkerosine>
Figured it'd be best before discussing it... just in case. : )
<injekt>
:)
<andkerosine>
Don't install that. I accidentally didn't even check the only class in.
<andkerosine>
But then there's the issue of authentication.
<injekt>
I've never checked out their API
<injekt>
what's the issue?
<andkerosine>
You have to be authorized to do most things, so I figured just authenticate once with Snooby::Client, and then pass all the methods there.
<andkerosine>
Otherwise, it would be: Snooby::Comment(parent, text, @auth)
savage- [savage-!~savage_@istep.static.monkeybrains.net] has joined #ruby-lang