ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
headius has quit [Quit: headius]
anannie has joined #ruby-lang
<zzak> tests dont even run for me tho, and maybe tenderlove should take a look before we merge, since there is a code change in there
<zzak> "invalid option -S"
nXqd has quit [Ping timeout: 246 seconds]
<zenspider> hrm... ok. I'll assign to him
<zenspider> add a note about the failure
qpingu has quit [Quit: Leaving.]
<zzak> test/test_racc_command *
kain has quit [Quit: exit]
kain has joined #ruby-lang
<zzak> in assert_compile, uses def racc(arg) ruby "-S #{path/to/bin/racc} #{arg}"
<zzak> zenspider: i'll open another ticket about the test failures, separate issue i think
qpingu has joined #ruby-lang
<zenspider> kk
<zenspider> huh. -S is valid
<zenspider> must be something munging it
_tca has joined #ruby-lang
<zzak> i emoji'd when i should have barrelroll'd
krohrbaugh has quit [Quit: Leaving.]
_tca has left #ruby-lang [#ruby-lang]
Hakon has quit [Quit: Leaving...]
<swarley> whats the difference between a spec and a unit test?
<swarley> i mean, obviously syntax
<swarley> but, do they serve separate purposes?
<erikh> no
seanstickle has joined #ruby-lang
Guest29702 has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
<heftig> both define how the code is expected to behave
qpingu has quit [Quit: Leaving.]
<swarley> i think i like the spec better
<swarley> i was interested in cucumber, but i'm honestly not sure how it works
<swarley> also, is there a minitest rdoc floating around anywhere?
<blowmage> swarley: its largely the same as test::unit, so any tu docs you find are applicable
<swarley> mkay
<blowmage> unless you want to use the spec dsl, then its obviously different
<swarley> yeah, i plan on using the spec
<blowmage> i'm working on some documentation, so feel free to pm me any questions
<swarley> okay, thanks
<swarley> i'm looking on rubydoc right now, so i'll ask you if i can't what i'm looking for
towski has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
<zenspider> I gotta run
<swarley> oh thank you
stardiviner has joined #ruby-lang
spuk has quit [Ping timeout: 272 seconds]
seoaqua has joined #ruby-lang
slyphon has joined #ruby-lang
<slyphon> sup bitches?
<swarley> i feel like a nerd
<swarley> [14] pry(main)> Physics::Kinematics::LinearMotion.solve(acceleration: -10, time: ??, distance: 100, velocity: 90)
<swarley> => {:acceleration=>-10, :distance=>100, :velocity=>90, :time=>1.1111111111111112}
<swarley> Calculation for descent of the pokemon Staraptor( http://bulbapedia.bulbagarden.net/wiki/Staraptor_(Pok%C3%A9mon) ) at terminal velocity from 90m altitude
<swarley> negligible air resistance
<slyphon> ...
alvaro_o has quit [Quit: Ex-Chat]
<slyphon> pokemon is a generational thing
<slyphon> I don't give a fuck about justin bieber, and when people talk about pokemon i just have no idea what they're talking about
<slyphon> these separate me from my 20-something year old cousin
<swarley> pokemon has been around since i was 3
<slyphon> how old are you?
<swarley> 16
<slyphon> yeah, that explains it :)
<erikh> heh
<slyphon> i'm 36
<erikh> yeah, I'm a bit old for pokemon too
<slyphon> hahahahaha
<swarley> I just wanted a "real" world application to test the formula on, and that was the only thing that came to mind
<slyphon> swarley: i mean, that's really cool
<erikh> I remember pokemon when it was cool and called magic: the gathering
<slyphon> i fully encourage you to play around like this :)
<swarley> xD
20WABA5T1 has joined #ruby-lang
<slyphon> i had a physics teacher that would explain things using looney tunes
<swarley> I'm working on a physics engine sort of thing
<erikh> "you see, the road runner got away this time because the rocket attached to wyle e. coyote's back reached its terminal velocity before he reached the road runner."
<slyphon> " http://www.trollaxor.com/search/label/Linux still uses ASCII as its default text-encoding standard and has yet to move to Unicode as most modern operating systems have, perhaps owing to an intense focus on http://www.trollaxor.com/2009/08/my-unsettling-ubuntu-experience.html.";
<slyphon> gah
<slyphon> fucking adium
<slyphon> erikh: yeah, it was like that
<slyphon> also pointing out where they were violating the laws of physics
<erikh> I would have paid more attention to physics if I had a teacher like that.
<slyphon> it was fun as hell :)
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-rc2)]
gsav has quit [Read error: Connection reset by peer]
<swarley> my teacher is rough, i'm in AP and he said he designs his class to be harder than the ap exam
<swarley> so that when you take it, it seems easy by comparison
<slyphon> yeah, i don't think i've ever been in a class where that was true
<slyphon> i think teachers are just trying to make excuses for being assholes sometimes
<swarley> my teacher is actually a cool guy
<slyphon> or justifying making the class harder so that *they* are more interested
<swarley> he is just tough
<slyphon> well, then, that's good
<swarley> he said if he didnt curve his tests then no one would pass
<swarley> i got a 11/28 on my first test, that was the 4th highest grade in the class
<swarley> 50% is a 5 on the AP Physics B exam, so that's a lot to be said for it
<erikh> a class can be challenging and fun
<slyphon> yeah, indeed
<swarley> time to write a module for two dimentional motion
<swarley> i mean, its fun and all
<swarley> just confusing as hell
<erikh> I don't know why some academics need to cargo cult the idea that challenging is equal to unenjoyable
<swarley> lots of new concepts
<slyphon> well
<erikh> it really teaches students the wrong mindset
gsav has joined #ruby-lang
<slyphon> it's hard to teach kids the value of hard work
<slyphon> and that sometimes you have to do things that are not enjoyable
<slyphon> deferred gratification and all that
<swarley> a lot of kids refuse to allow themselves to have fun learning as well anyway
<swarley> predetermined misery
<slyphon> hah
<erikh> you can make most unenjoyable tasks enjoyable if you adopt the right frame of mind
<slyphon> um
<slyphon> to a point
<swarley> True, but that leaves people with medical depression in a shitty position
<slyphon> i'm all for the power of positive thinking and all that
<slyphon> right
<slyphon> swarley: you sure you're 16?
<swarley> Yes, also a medically depressed 16 :p
<slyphon> hahahahahaha
<slyphon> um "it gets better"?
<swarley> Pft, lies
<erikh> ride the walrus
<slyphon> :D
<swarley> Life is hard, it doest get better, you get more used to it
spuk has joined #ruby-lang
<slyphon> eh, i think it gets better
<erikh> it gets better in some ways and worse in others.
<slyphon> you couldn't pay me enough to be 16 again
<slyphon> swarley: no offense ;)
<erikh> nope, but I'd sure love to have the free time most 16 year olds do.
<slyphon> indeed
<swarley> My free time is spent preparing to be marketable in the job market
<slyphon> i mean, at least they realize 16 year olds have things like depression and ADHD these days
<erikh> you're 16.
<swarley> I have both coincidentally
<slyphon> erikh: things are tough all over
<swarley> I'm on adderall, wellbutrin, and zoloft :p
<slyphon> swarley: yeah, i didn't get diagnosed w/ ADD until I was 22
tooky has joined #ruby-lang
<erikh> still; go be reckless and stupid, and worry about a job when you're like, 22 or so
<slyphon> all of a sudden, i graduated, got a career and all that
<slyphon> yeah!
<swarley> Yeah, you always forget how much better you are with the medicine when you stop taking it
<slyphon> they can't charge you as an adult for *two more years*!
<erikh> yep!
<swarley> Actually
<swarley> I look like i'm 20
<erikh> well unless you murder someone
<slyphon> i'm not endorsing murder
<swarley> juries don't act nice when you look older :c
<swarley> i would hope not
<erikh> as someone at your age that was intimately familiar with the penal process
<swarley> i'm rather passive anyway, so if i can passive someone to death i'll just blame you
<erikh> I can tell you with a great deal of confidence you will never see a jury
<slyphon> i was familiar with the penile proc...oh
<swarley> lol
<erikh> dork.
<slyphon> YEAH, I MADE *THAT* JOKE
<swarley> A bird in the hand is worth two in the bush
<swarley> wink wink
<erikh> seriously man, live a little, you'll have plenty of time to be responsible when you have kids.
<slyphon> erikh: what did you get in trouble for?
<erikh> slyphon: heh, all sorts of shit
<erikh> and that was a long time ago
<swarley> My friends are all nerdish. So when i can manage to get them out of the house they burn in the sunlight too easily
<slyphon> hahahahah
<erikh> here, here's something I did at your age
<erikh> get a big-ass watermelon
<erikh> cut a hole in it
<erikh> get some jack daniels
<erikh> pour into hole
<erikh> then let sit
<erikh> slice and eat.
<swarley> I took a shot of jack a month ago
<slyphon> jack?
<slyphon> it was absolut
<swarley> I like tequila, so i was like "try something new eh?"
<swarley> dear god, bad mistake
sn0wb1rd has quit [Quit: sn0wb1rd]
<slyphon> oh god
<erikh> well, there's better whiskey out there.
<swarley> well
tooky has quit [Ping timeout: 264 seconds]
<swarley> i'm pretty sure it wasnt stored very well
<swarley> because it tasted like a cat dragged its ass across cardboard
<erikh> that doesn't matter all that much
<erikh> no, that sounds like jack daniels.
<slyphon> yep, that was jack
<slyphon> :D
Nisstyre-laptop has quit [Quit: Leaving]
<slyphon> man, i cured myself of jack daniels at like 17
<erikh> the great thing about the watermelon is that you barely taste the jack
<slyphon> i learned from watching Guns N Roses videos that the correct serving size for JD was the 1 litre bottle
<erikh> then it's like ka-pow: you're on the floor wondering why it's so comfy
<slyphon> wow, did i pay
<erikh> haha.
<slyphon> the weirdest thing, i passed out after 2 hrs of vomiting, woke up 3 hrs later *dead sober*
<slyphon> like, no hangover no nothing
<slyphon> only time that ever happened
<slyphon> but did i listen?!
<slyphon> NOOOOOooOOoo
<erikh> you probably got most of it out before it got into your bloodstream
<slyphon> yeah, totally
<erikh> hard alcohol metabolizes quicker too
<slyphon> yeah, good think i'd been eating popeye's chicken before i started drinking
<slyphon> THAT was a delicious taste sensation
<slyphon> in *both* directions
<erikh> hahahaha
<slyphon> not much different either
<erikh> taste the rainbow.
* slyphon lulz
justinmcp has quit [Remote host closed the connection]
<slyphon> NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
<slyphon> yeah, i'm betting on "after"
<swarley> I hate when things like that happen
<swarley> like Gem::Specification.author becoming authors
<slyphon> i mean, it's hard being a library maintainer
<slyphon> nobody wants to have to fix their shit
<swarley> i would have both
<swarley> if author is defined, just authors = [author]
<slyphon> yeah, true
<slyphon> it's fine in that *one* spot
<swarley> yeah
<slyphon> but multiply that by 10 years and N number of hacks-like-that
<slyphon> it can add a lot of unnecessary complexity
<swarley> Yeah
<swarley> But hopefully by then, you have
<swarley> blahgem-2
<slyphon> hah
<slyphon> or yeah, you are allowed to make those changes if you bump the major version
<swarley> breaking compatibility like that is never a good thing in a major library
lewis1711 has joined #ruby-lang
<slyphon> yeah, but if you bump the major version, you're sending a signal to other developers like "Hey, this is *gonna break your shit* so *heads up*"
<slyphon> it's ok to make breaking changes, so long as everyone knows what to expect
gsav has quit [Read error: Connection reset by peer]
imajes has quit [Excess Flood]
<swarley> jeez, its been like half an hour and i havnt even started on what i said i was going to work on
<slyphon> hahah
<swarley> i hate when you get a good idea in the middle of another
imajes has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
20WABA5T1 has quit [Quit: 20WABA5T1]
chimkan has joined #ruby-lang
<swarley> i think i want to work on an IRC bot framework
<swarley> Cinch is cool and everything, but i hate that it is centered around having only one bot active
<slyphon> hah
<slyphon> bots are fun
<slyphon> it's usually my first project in a new language
<seanstickle> You should also make it able to control a botnet
sn0wb1rd has joined #ruby-lang
* slyphon coughs
<dominikh> swarley: create multiple bot instances and run them in the same script, problem solved :)
<swarley> dominikh, i've got a better idea for a framework anyway :p
<dominikh> knock yourself out :P
<swarley> One that implements a persistent plugin storage etc
<swarley> multiple bots, automatic plugin loading
<dominikh> yeah, we'll see how far you get before you start hating the project :)
<dominikh> or the protocol
<slyphon> hahahahahaha
<swarley> dominikh, i've written an IRCd :p
<slyphon> swarley: dominikh wrote cinch :D
<dominikh> so have I, and yet I was insane enough to write a bot framework afterwards.
<slyphon> it is a shitty protocol
<swarley> oh neat
<swarley> yeah
<swarley> dominikh, don't get me wrong
<swarley> cinch is awesome
<swarley> i've just always coded my bots in a different style
<swarley> so i want to make a framework to match it
<dominikh> swarley: oh I really don't mind. Less users means less people who can find bugs or request features :)
<swarley> xD
<swarley> I am using a bot with cinch right now, so i'm not complaining
enebo has quit [Quit: enebo]
<slyphon> arrgh
<slyphon> fucking timing bugs
<dominikh> the worst part about writing an IRC library is when people, even on IRC, still don't recognize you :P
<slyphon> you're never gonna get famous writing IRC libs
<dominikh> yeah, I realized that
<dominikh> not nowadays, anyway. I'm 10 years too late
<slyphon> hmmmm
<slyphon> 2002?
<slyphon> yeah, mebbe
<dominikh> eggdrop was pretty popular then
<dominikh> you know, when people still used IRC for warez...
<slyphon> heady days
<slyphon> bookwarez
<swarley> dominikh, what did you use in Cinch::Plugin, Module#include?
<swarley> oh wait
<swarley> no
<swarley> derp
<dominikh> the slightly ugly def self.included(b); b.extend(...); end thing
<swarley> yeah
<slyphon> you know (somewhat OT) it took me like 5 years to finally understand what `include self` accomplished
<swarley> I was considering using Class#extend to add the class to a pool
<dominikh> swarley: heh
towski has joined #ruby-lang
<swarley> slyphon, i have no idea what that does
<swarley> wait
<swarley> i think i do
chimkan has quit [Quit: chimkan]
scampbell has quit [Ping timeout: 264 seconds]
<slyphon> the effect is that in a module, you can call instance methods at the module level
seanstickle has quit [Quit: seanstickle]
scampbell has joined #ruby-lang
kiddorails has joined #ruby-lang
krohrbaugh has joined #ruby-lang
xyzodiac has joined #ruby-lang
ryanf has quit [Quit: leaving]
Sambalero has quit [Remote host closed the connection]
slyphon has left #ruby-lang [#ruby-lang]
catmtking has joined #ruby-lang
diegoviola has quit [Ping timeout: 264 seconds]
macmartine has joined #ruby-lang
sepp2k has joined #ruby-lang
renderiza has joined #ruby-lang
justinmcp has joined #ruby-lang
renderiza has quit [Quit: Page closed]
robbyoconnor has joined #ruby-lang
snorkdude has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 246 seconds]
A124 has joined #ruby-lang
kiddorails has quit [Read error: Connection reset by peer]
kiddorails1 has joined #ruby-lang
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby-lang
ryanf has joined #ruby-lang
snorkdude has quit [Remote host closed the connection]
ryanf has quit [Quit: broken pipes |||]
kiddorails1 has quit [Ping timeout: 256 seconds]
seoaqua has quit [Ping timeout: 248 seconds]
ryanf has joined #ruby-lang
tRAS has joined #ruby-lang
derpops has joined #ruby-lang
jxie has quit [Quit: leaving]
jxie has joined #ruby-lang
dhruvasagar has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
rohit has joined #ruby-lang
derpops has quit []
tRAS has quit [Quit: Mother, did it need to be so high?]
<swarley> for the record, because people will probably ask this all the time like i do, this is a "I DONT WANT TO WAIT FOR A DAMN NEWLINE" solution
<swarley> $< = File.open "/dev/stdin", File::RDWR|File::NONBLOCK
dhruvasagar has quit [Ping timeout: 248 seconds]
<swarley> BLAHASHKFAB readonly
<swarley> damn you
rohit has quit [Ping timeout: 248 seconds]
codewrangler has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
cirwin has joined #ruby-lang
<swarley> well i guess not
<swarley> i was playing around in pry and it worked
<swarley> also i realize i meant $stdin
<swarley> odd, in pry File has a getch method
<swarley> outside of it, it does not
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
macmartine has joined #ruby-lang
rohit has joined #ruby-lang
Nisstyre-laptop has quit [Read error: Connection reset by peer]
anannie has quit [Read error: Connection reset by peer]
xyzodiac has quit [Quit: Computer has gone to sleep.]
anannie has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
dc5ala has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
kiddorails has joined #ruby-lang
rohit has quit [Quit: Leaving]
anannie has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
anannie has joined #ruby-lang
mistym has quit [Remote host closed the connection]
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<ryanf> loading console-io maybe?
<ryanf> are you using coolline by any chance?
tonni has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
scampbell has quit [Remote host closed the connection]
anannie has quit [Read error: Connection reset by peer]
justinmcp has quit [Remote host closed the connection]
kiddorails1 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
anannie has joined #ruby-lang
kiddorails has quit [Quit: Leaving.]
jxie has quit [Quit: leaving]
Mon_Ouie has joined #ruby-lang
<lewis1711> is there anything like insert, but non-destructive? guess I could write my own pretty easily
macmartine has quit [Quit: Computer has gone to sleep.]
<cirwin> .dup.insert :)
tooky has joined #ruby-lang
<rking> swarley: That comes down to termios stuff, non-canonical input.
anannie has quit [Read error: Connection reset by peer]
<swarley> ryanf, nah, i was trying to do it without any help outside of the stdlib
anannie has joined #ruby-lang
justinmcp has joined #ruby-lang
<swarley> too late to read anything involving glibc
<swarley> brain cant take it
<rking> Well, BLUF is you'll probably need a gem of some sort. termios is most direct, I think.
<rking> Which actually has the extra feature that you can check for LoadError on it and not make the call on unsupported OSs
<swarley> bah
<swarley> i'll just use that when i need it
jxie has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
<swarley> i'm still working on figuring out mutex
<swarley> well i understand mutex
<swarley> i just am not sure on how i want to implement it
kiddorails1 has quit [Ping timeout: 240 seconds]
<swarley> hm
kiddorails has joined #ruby-lang
swarley has quit [Ping timeout: 246 seconds]
havenn has joined #ruby-lang
jamjam has quit [Ping timeout: 256 seconds]
justinmcp has quit [Remote host closed the connection]
gregmoreno has quit [Read error: Connection reset by peer]
kiddorails has quit [Quit: Leaving.]
gregmoreno has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
nXqd has joined #ruby-lang
havenn has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
rippa has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
kith has quit [Quit: kith]
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
kith has joined #ruby-lang
catmtking has quit [Quit: catmtking]
s1n4 has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
Asher has quit [Quit: Leaving.]
anannie has joined #ruby-lang
havenn has joined #ruby-lang
havenn has quit [Read error: Connection reset by peer]
havenn has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
cirwin has quit [Quit: sleep....ping!]
jamjam has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenn has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Remote host closed the connection]
justinmcp has quit [Remote host closed the connection]
Mellett68 has joined #ruby-lang
workmad3 has joined #ruby-lang
solars has joined #ruby-lang
ruurd has joined #ruby-lang
mytrile has joined #ruby-lang
Asher has joined #ruby-lang
jarib has quit [Excess Flood]
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
jarib has joined #ruby-lang
ryanf has quit [Quit: leaving]
Madis has joined #ruby-lang
towski has quit [Remote host closed the connection]
faces has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
faces has joined #ruby-lang
workmad3 has joined #ruby-lang
rippa has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
nXqd has quit [Ping timeout: 256 seconds]
Mellett68_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
Mellett68 has quit [Ping timeout: 268 seconds]
burgestrand1 has quit [Ping timeout: 268 seconds]
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
dhruvasagar has joined #ruby-lang
tooky has joined #ruby-lang
havenn has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
havenn has quit [Ping timeout: 256 seconds]
heftig has quit [Ping timeout: 260 seconds]
ruurd has quit [Quit: Leaving...]
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
heftig has joined #ruby-lang
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 245 seconds]
cantonic_ is now known as cantonic
tooky has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
zmack has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
zz_chrismcg is now known as chrismcg
heftig has quit [Quit: leaving]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
toretore has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
justinmcp has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 256 seconds]
s1n4 has quit [Ping timeout: 264 seconds]
heftig has joined #ruby-lang
My_Hearing has joined #ruby-lang
s1n4 has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
My_Hearing is now known as Mon_Ouie
Lempface has quit [Read error: Connection reset by peer]
Lempface has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
benanne has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
setmeaway has quit [Ping timeout: 268 seconds]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
s1n4 has quit [Quit: leaving]
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Mellett68_ has quit [Ping timeout: 268 seconds]
vlad_starkov has quit [Remote host closed the connection]
Mellett68 has joined #ruby-lang
setmeaway has joined #ruby-lang
mytrile has quit [Ping timeout: 264 seconds]
steez has quit [Ping timeout: 252 seconds]
steez has joined #ruby-lang
steez is now known as Guest38668
vlad_starkov has joined #ruby-lang
Guest38668 has quit [Ping timeout: 260 seconds]
Jake232 has joined #ruby-lang
zmack has quit [Remote host closed the connection]
snk has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
steez_ has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
rippa has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
anannie has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
tooky has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
tRAS has joined #ruby-lang
tRAS has quit [Ping timeout: 245 seconds]
rippa has quit [Ping timeout: 244 seconds]
Jake232 has quit [Quit: Computer has gone to sleep.]
ruurd has quit [Quit: Leaving...]
sandbags has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 268 seconds]
rippa has joined #ruby-lang
kain has quit [Ping timeout: 256 seconds]
Axsuul has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
thone has joined #ruby-lang
thone_ has quit [Ping timeout: 244 seconds]
kain has joined #ruby-lang
xyzodiac has joined #ruby-lang
tRAS has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
kain has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Quit: WeeChat 0.3.8]
rippa has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby-lang
<ddfreyne> injekt: just saw the Ranges page for slop… I strong disagree that "1,10" should be a range :)
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
jamjam has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
anannie has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
anannie has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
Mellett68 has quit [Ping timeout: 268 seconds]
sailias has joined #ruby-lang
kain has joined #ruby-lang
sailias has quit [Read error: Connection reset by peer]
sailias has joined #ruby-lang
sailias has quit [Read error: Connection reset by peer]
jamjam has joined #ruby-lang
sailias has joined #ruby-lang
snk has joined #ruby-lang
diegoviola has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
vlad_starkov has joined #ruby-lang
nXqd has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
kain has quit [Ping timeout: 245 seconds]
enebo has joined #ruby-lang
m3nd3s has joined #ruby-lang
titaniumNoob has joined #ruby-lang
titaniumNoob has quit [Ping timeout: 246 seconds]
Spaceghostc2c has joined #ruby-lang
RegEchse has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
nofxx has quit [Ping timeout: 246 seconds]
kain has joined #ruby-lang
sailias has quit [Quit: Leaving.]
pbjorklund has joined #ruby-lang
nXqd has quit [Ping timeout: 260 seconds]
Mellett68 has joined #ruby-lang
xyzodiac has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
kain has quit [Ping timeout: 246 seconds]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
lcdhoffman has joined #ruby-lang
Mellett68 has quit [Read error: Connection reset by peer]
gregmoreno has quit [Ping timeout: 244 seconds]
Mellett68 has joined #ruby-lang
lewis1711 has quit [Quit: Leaving.]
goshakkk has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
kain has joined #ruby-lang
gregmoreno has joined #ruby-lang
kain has quit [Ping timeout: 246 seconds]
tooky has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
kain has joined #ruby-lang
Hakon has joined #ruby-lang
Hakon has quit [Client Quit]
Mellett68 has quit [Remote host closed the connection]
chimkan_ has joined #ruby-lang
benanne has quit [Quit: kbai]
benanne has joined #ruby-lang
JoelMcCracken has joined #ruby-lang
toretore has joined #ruby-lang
xyzodiac has joined #ruby-lang
justinmcp has joined #ruby-lang
Sambalero has joined #ruby-lang
gsav has joined #ruby-lang
sailias has joined #ruby-lang
voker57 has quit [Read error: Connection reset by peer]
catmtking has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
nXqd has joined #ruby-lang
tooky has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
toretore has quit [Read error: Connection reset by peer]
nXqd has quit [Ping timeout: 248 seconds]
toretore has joined #ruby-lang
catmtking has quit [Quit: catmtking]
lcdhoffman has joined #ruby-lang
ryanf has joined #ruby-lang
sailias has quit [Quit: Leaving.]
catmtking has joined #ruby-lang
sush24 has joined #ruby-lang
havenn has joined #ruby-lang
anannie has quit [Read error: Operation timed out]
anannie has joined #ruby-lang
Hakon has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
NOKAH has joined #ruby-lang
catmtking has quit [Quit: catmtking]
devn_ has left #ruby-lang [#ruby-lang]
Hakon has quit [Read error: Connection reset by peer]
NOKAH has quit [Read error: Connection reset by peer]
Hakon has joined #ruby-lang
nXqd has joined #ruby-lang
nofxx has quit [Ping timeout: 246 seconds]
esad has joined #ruby-lang
Hakon has quit [Read error: Connection reset by peer]
sush24 has quit [Quit: This computer has gone to sleep]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
benanne has quit [Quit: kbai]
Hakon has joined #ruby-lang
nXqd has quit [Ping timeout: 248 seconds]
sush24 has joined #ruby-lang
felipe has quit [Ping timeout: 265 seconds]
NOKAH has joined #ruby-lang
snorkdude has joined #ruby-lang
Hakon has quit [Ping timeout: 260 seconds]
zigidias has quit [Ping timeout: 260 seconds]
snorkdude has quit [Remote host closed the connection]
NOKAH has quit [Quit: Leaving...]
gregmore_ has joined #ruby-lang
gregmoreno has quit [Ping timeout: 244 seconds]
zigidias has joined #ruby-lang
chimkan___ has joined #ruby-lang
chimkan_ has quit [Read error: Operation timed out]
kain has quit [Ping timeout: 260 seconds]
jackhammer2022 has joined #ruby-lang
ruby-lang158 has joined #ruby-lang
ruby-lang158 has quit [Client Quit]
lsegal has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
headius has joined #ruby-lang
kain has joined #ruby-lang
kain has quit [Quit: exit]
kain has joined #ruby-lang
havenn has quit [Remote host closed the connection]
nXqd has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 264 seconds]
headius has quit [Quit: headius]
Sambalero has quit [Remote host closed the connection]
corundum has quit [Read error: Connection reset by peer]
corundum has joined #ruby-lang
vbatts has quit [Ping timeout: 264 seconds]
havenn has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
nXqd has quit [Ping timeout: 248 seconds]
snorkdude has joined #ruby-lang
tooky has joined #ruby-lang
snorkdude has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
Sambalero has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
ryanlecompte has joined #ruby-lang
anannie has joined #ruby-lang
ryanlecompte has quit [Remote host closed the connection]
Spaceghost|cloud has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
tooky has quit [Remote host closed the connection]
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-rc2)]
wallerdev has quit [Quit: wallerdev]
deryl has quit [Quit: Leaving.]
tRAS has joined #ruby-lang
vlad_starkov has joined #ruby-lang
agile has joined #ruby-lang
felipe has joined #ruby-lang
tRAS has quit [Ping timeout: 256 seconds]
cndiv has joined #ruby-lang
deryl has joined #ruby-lang
jackhammer2022 has quit [Read error: Connection reset by peer]
jamjam has quit [Ping timeout: 260 seconds]
tooky has joined #ruby-lang
nleo has joined #ruby-lang
tooky has quit [Ping timeout: 264 seconds]
snorkdude has joined #ruby-lang
wallerdev has joined #ruby-lang
sol has joined #ruby-lang
sol is now known as Guest64294
nleo has left #ruby-lang [#ruby-lang]
nleo has joined #ruby-lang
xyzodiac has quit [Ping timeout: 246 seconds]
Fiveways has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
xyzodiac has joined #ruby-lang
<Fiveways> quick question about using command line args and gets. if I do something along the lines of: if ARGV[0] == '-d' then @debug = true, the input of the command line arg is passed to the first gets.chomp I have. I've gotten this to work the way I intend by using if ARGV.shift instead of if ARGV[0] but is there a better way to go about this?
<Fiveways> or a way that this is more commonly approached
<nleo> Hi, guys, question about keyword 'use'. What it means?
rippa has joined #ruby-lang
<tsou> Fiveways: have you checked at command-line option parsing libs?
<Fiveways> not yet, mainly because of how simple the script I'm working on is (i.e, the args aren't even necessary, I was just messing around)
<Fiveways> and I have it working as intended, I just didn't know if there was a 'better' way to handle it
<tsou> Fiveways: check the minimal example of this for an alternative: http://ruby-doc.org/stdlib-1.9.3/libdoc/optparse/rdoc/OptionParser.html
<Fiveways> I think I stumbled across that in a stackoverflow answer it. I'll give it a read, thanks
<Fiveways> orrrrr maybe not. haha. for some reason I can't browse the internet from this computer right now but irc is working fine. fun times
<Fiveways> brb :)
Fiveways has quit []
krohrbaugh has joined #ruby-lang
krohrbaugh1 has quit [Ping timeout: 246 seconds]
<nleo> I getting error app.rb:109:in `<main>': undefined method `use' for main:Object (NoMethodError) while try to use omniauth-facebook. But cant find what it means
vlad_starkov has quit [Remote host closed the connection]
<tsou> nleo: what made you think that "use" is a keyword?
<nleo> ammm, maybe perl experience)
cndiv has quit []
<nleo> I try run this script https://github.com/mkdynamic/omniauth-facebook/blob/master/example/config.ru and no idea what to do with that use
chimkan___ has quit [Quit: chimkan___]
<tsou> nleo: not a rubyist, but my guess is that one of your 'requirements' defines it (or that it should..)
swarley has joined #ruby-lang
swarley has quit [Ping timeout: 260 seconds]
vbatts has joined #ruby-lang
vlad_starkov has joined #ruby-lang
snorkdude has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
snorkdude has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
chrismcg is now known as zz_chrismcg
cndiv has joined #ruby-lang
<nofxx> architectural question, writing a gem that gives some helpers for geometry, user may choose another ruby gem to run alongside, rgeo or georuby. What way would be nice to "choose" this? a) Diff require: gem 'geo', require 'geo_with_a_or_b' b) Sort of initalizaer method: Lib.use_a_or_b! c) ?
<nofxx> User may choose a or b or none*
<nofxx> c) Detect if some of those is included: use_a! if const_defined("GeoRuby")
<nofxx> c is too magical in my opinion, may cause confusion
<nofxx> and you need to make sure a is loaded first too
jackhammer2022 has joined #ruby-lang
Assurbanipal has joined #ruby-lang
s0ber has quit [Read error: Connection reset by peer]
s0ber has joined #ruby-lang
tonni has joined #ruby-lang
chendo has quit [Ping timeout: 264 seconds]
lcdhoffman has joined #ruby-lang
GarethAdams has joined #ruby-lang
chendo has joined #ruby-lang
chendo has quit [Changing host]
chendo has joined #ruby-lang
ttilley has quit [Ping timeout: 248 seconds]
swarley has joined #ruby-lang
GarethAdams has quit [Client Quit]
snorkdude has quit [Remote host closed the connection]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
derpops has joined #ruby-lang
swarley has quit [Ping timeout: 248 seconds]
Axsuul has joined #ruby-lang
Axsuul has quit [Excess Flood]
tonni has quit [Remote host closed the connection]
Axsuul has joined #ruby-lang
guns has joined #ruby-lang
dfr|mac has joined #ruby-lang
swarley has joined #ruby-lang
nleo has quit [Quit: nleo]
cndiv has quit []
cndiv has joined #ruby-lang
JoelMcCracken has quit [Read error: No route to host]
wallerdev has quit [Quit: wallerdev]
Lempface has quit []
rippa has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
A124 has quit [Quit: Leaving.]
Mchl has quit [Ping timeout: 246 seconds]
<naquad> where can i read about testing with Test::Unit bundled with ruby? reference is empty :S
A124 has joined #ruby-lang
tooky has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
workmad3 has joined #ruby-lang
derpops has left #ruby-lang [#ruby-lang]
tooky has quit [Ping timeout: 264 seconds]
snorkdude has joined #ruby-lang
<Mon_Ouie> Check Minitest's documentation
<Mon_Ouie> In 1.9, all Test::Unit is is a wrapper around Minitest
deryl has quit [Quit: Leaving.]
Sambalero has quit [Remote host closed the connection]
cndiv has quit []
workmad3 has quit [Ping timeout: 260 seconds]
<naquad> Mon_Ouie, thank you
<naquad> reading
xyzodiac has quit [Quit: Computer has gone to sleep.]
swarley has quit [Ping timeout: 244 seconds]
tbuehlmann has joined #ruby-lang
<naquad> btw, is there some better formatter for test output?
xyzodiac has joined #ruby-lang
snorkdude has quit [Remote host closed the connection]
Assurbanipal has quit [Quit: Konversation terminated!]
jamjam has joined #ruby-lang
<blowmage> naquad: check out turn and minitest-reporters
<blowmage> oh, and minitest/pride
lcdhoffman has quit [Quit: lcdhoffman]
deryl has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
tomzx_ has joined #ruby-lang
jarib has quit [Excess Flood]
crackity_jones has joined #ruby-lang
kain has left #ruby-lang ["exit"]
jarib has joined #ruby-lang
deryl has quit [Quit: Leaving.]
<naquad> blowmage, thank you. turn helped
<naquad> btw, can i somehow set tests order?
havenn has joined #ruby-lang
<naquad> i have one test relying on another
kain has joined #ruby-lang
Mchl has joined #ruby-lang
lcdhoffman has joined #ruby-lang
deryl has joined #ruby-lang
sent-hil has joined #ruby-lang
deryl has quit [Quit: Leaving.]
tomzx_ has quit [Ping timeout: 246 seconds]
chimkan has joined #ruby-lang
Theueip has joined #ruby-lang
havenn has quit [Remote host closed the connection]
crackity_jones has quit [Quit: Computer has gone to sleep.]
Criztian has joined #ruby-lang
chimkan has left #ruby-lang [#ruby-lang]
Erlkoenig has joined #ruby-lang
tonni has joined #ruby-lang
<Erlkoenig> hi, is there a short form for blocks, which allows to write e.g. "myarray.sort(_ <=> _)" instead of "myarray.sort { |a,b| a <=> b }", like in Scala?
Sambalero has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
<Erlkoenig> also i want scala's static type system mixed with ruby's dynamic one. :D
tbuehlmann has quit [Remote host closed the connection]
deryl has joined #ruby-lang
benanne has joined #ruby-lang
seanstickle has joined #ruby-lang
Criztian has quit [Read error: Connection reset by peer]
benanne has quit [Quit: kbai]
xyzodiac has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Read error: Connection reset by peer]
lcdhoffman has joined #ruby-lang
xyzodiac has joined #ruby-lang
havenn has joined #ruby-lang
VegetableSpoon has quit [Quit: Leaving]
quetzal- has quit []
havenn has quit [Ping timeout: 256 seconds]
cdt has joined #ruby-lang
postmodern has joined #ruby-lang
cdt has quit [Client Quit]
Madis has quit [Quit: ChatZilla 0.9.89 [Firefox 11.0/20120313180949]]
seanstickle has quit [Read error: Connection reset by peer]
seanstickle has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
<rue> No
freedrull has quit [Ping timeout: 264 seconds]
<rue> You can use the Symbol#to_proc trick, but it’s not useful for that, I think
freedrull has joined #ruby-lang
jamjam has quit [Ping timeout: 240 seconds]
<Erlkoenig> meh... this feature of scala allows for very nice "user code"...
Erlkoenig has quit [Quit: Leaving.]
havocjoseph has joined #ruby-lang
Erlkoenig has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
<rue> Dunno, it gets pretty unreadable after two underscores
guns has quit [Quit: guns]
Guest29702 has joined #ruby-lang
xyzodiac has joined #ruby-lang
<Erlkoenig> it's only for very short blocks... you don't have to write the parameter names ...
sent-hil has quit [Remote host closed the connection]
Guest64294 has quit [Ping timeout: 268 seconds]
goshakkk has quit [Quit: Computer has gone to sleep.]
solars has quit [Ping timeout: 245 seconds]
RegEchse has joined #ruby-lang
workmad3 has joined #ruby-lang
sent-hil has joined #ruby-lang