<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>
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
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
<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?
<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]
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.]