vlad_starkov has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 264 seconds]
benanne has quit [Quit: kbai]
RobertBirnie has quit [Ping timeout: 264 seconds]
Lewix has quit [Remote host closed the connection]
joelroa has joined #ruby-lang
robbyoconnor has joined #ruby-lang
imperator has quit [Quit: Leaving]
lutfidemirci has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
lutfidemirci has joined #ruby-lang
lcdhoffman has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Client Quit]
zenojis has joined #ruby-lang
khaase has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
caffinated1 has quit [Read error: Operation timed out]
dynamism has joined #ruby-lang
khaase has quit [Ping timeout: 240 seconds]
devgiant__ has quit [Quit: Leaving]
caffinated1 has joined #ruby-lang
lcdhoffman has joined #ruby-lang
itsraining has quit [Ping timeout: 264 seconds]
joevandy1 has joined #ruby-lang
<joevandy1>
is there a way to specify in the .gemspec where to load a gem from?
lutfidemirci has quit [Remote host closed the connection]
lutfidemirci has joined #ruby-lang
caffinated1 has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 264 seconds]
|jemc| has quit [Ping timeout: 244 seconds]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
Thanatermesis has joined #ruby-lang
chouhoul_ has quit [Remote host closed the connection]
<zenspider>
joevandy1: why would you want to do that?
<postmodern>
joevandy1, there is spec.require_paths, which is used to add lib/ or ext/ to $LOAD_PATH when the gem is activated
achiu2 has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
achiu2 has joined #ruby-lang
dynamism has quit [Quit: dynamism]
nathanstitt has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
r0bby has joined #ruby-lang
Cakey has joined #ruby-lang
vlad_starkov has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
<joevandy1>
zenspider: i have a git repository with a bunch of gems and applications. one of the gems is a forked gem. i'd like to be able to have my applications in this git repo be able to require a gem that requires the other forked gems.
symm- has joined #ruby-lang
<joevandy1>
so, gem A knows to find gem B in this relative location. and everything that loads gem A also loads gem B from that location as well.
r0bby has quit [Ping timeout: 245 seconds]
<joevandy1>
right now i have to have a bundler Gemfile for every application that specifies the location of gem B
Cakey has quit [Ping timeout: 264 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
robmiller has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
elia has quit [Quit: Computer has gone to sleep.]
fraterlaetus has quit []
tylersmith has quit [Remote host closed the connection]
specialblend has quit [Quit: specialblend]
houhoulis has joined #ruby-lang
matju has quit []
elliotec has joined #ruby-lang
marcdel has joined #ruby-lang
seanlinsley has joined #ruby-lang
srawlins has quit [Quit: Leaving.]
diegoviola has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 240 seconds]
elliotec has quit [Ping timeout: 240 seconds]
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
RobertBi_ has quit [Ping timeout: 240 seconds]
khaase has quit [Ping timeout: 252 seconds]
araujo has quit [Quit: Leaving]
toretore has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Remote host closed the connection]
anannie has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Waheedi has quit [Quit: Waheedi]
anjen has quit [Quit: anjen]
havenwood has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby-lang
amsi has quit [Quit: Leaving]
symm- has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
lsegal has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
yubrew has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
yubrew has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
hahuang65 has quit [Ping timeout: 252 seconds]
robmiller has quit [Quit: Leaving.]
anannie has joined #ruby-lang
Lewix has joined #ruby-lang
Barrin6 has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
matp has quit [Ping timeout: 252 seconds]
lutfidemirci has joined #ruby-lang
khaase has joined #ruby-lang
havenwood has joined #ruby-lang
amclain has joined #ruby-lang
khaase_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
khaase has quit [Ping timeout: 264 seconds]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
khaase_ has quit [Ping timeout: 264 seconds]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
ssj4mo has joined #ruby-lang
ssj4mo_e has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
ssj4mo has quit [Remote host closed the connection]
ssj4mo_e has quit [Remote host closed the connection]
ssj4mo has joined #ruby-lang
toastynerd has joined #ruby-lang
alexju has quit [Remote host closed the connection]
lutfidemirci has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
nathanstitt has quit [Quit: Laters]
cored has joined #ruby-lang
cored has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
yubrew has joined #ruby-lang
vlad_starkov has joined #ruby-lang
achru has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
dynamism has joined #ruby-lang
hahuang65 has joined #ruby-lang
Johz has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
khaase has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
Coincidental has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
marcdel has joined #ruby-lang
dynamism has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
ssj4mo has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
ssj4mo has joined #ruby-lang
ILoveYou has joined #ruby-lang
<ILoveYou>
prepare for a dumb question: for whatever reason it looks for can_kick? locally when I expect it to look under UserModes. worked fine previously but i broke it http://tny.cz/012964b4
r0bby has joined #ruby-lang
achru has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
itsraining has joined #ruby-lang
khaase has quit [Remote host closed the connection]
khaase has joined #ruby-lang
<centrx>
ILoveYou, Insufficient information to provide answer.
<ILoveYou>
What else do you need to know
khaase has quit [Ping timeout: 244 seconds]
marcdel has quit [Ping timeout: 264 seconds]
<ILoveYou>
http://tny.cz/6ba0f8c8 more complete paste there. error message: lib/cinch/plugins/kick_functions.rb:93:in `wcbdrone_strike': undefined method `can_kick?' for #<Cinch::Plugins::KickFunctions:0x007f73581473c8> (NoMethodError)
<centrx>
Paste the backtrace
marcdel has joined #ruby-lang
nathanstitt has joined #ruby-lang
<centrx>
It doesn't look like that is from that section of code anyway
vlad_starkov has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 252 seconds]
elia has joined #ruby-lang
Kero has joined #ruby-lang
DarkBushido_ has joined #ruby-lang
dilated_dinosaur has quit [Ping timeout: 265 seconds]
DarkBushido_ is now known as DarkBushido
DarkBushido has quit [Changing host]
DarkBushido has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
elia has quit [Ping timeout: 240 seconds]
mykoweb has joined #ruby-lang
lutfidemirci has quit [Ping timeout: 252 seconds]
Squarepy has quit [Quit: Leaving]
enebo has joined #ruby-lang
shinnya has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby-lang
vondruch has quit [Ping timeout: 240 seconds]
DouweM has joined #ruby-lang
yubrew has joined #ruby-lang
khaase has joined #ruby-lang
diegoviola has joined #ruby-lang
vondruch has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
enebo has quit [Quit: enebo]
yfeldblum has quit [Ping timeout: 240 seconds]
francisfish has quit [Remote host closed the connection]
akahn has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
mykoweb has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mr-foobar has quit [Ping timeout: 240 seconds]
kalehv has joined #ruby-lang
enebo has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
mykoweb has joined #ruby-lang
matp has quit [Quit: Bye!]
nathanstitt has joined #ruby-lang
toastynerd has joined #ruby-lang
nathanstitt has quit [Client Quit]
yubrew has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
yubrew has quit [Ping timeout: 265 seconds]
toastynerd has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
Coincidental has quit [Ping timeout: 240 seconds]
kalehv_ has joined #ruby-lang
toastynerd has joined #ruby-lang
vlad_starkov has joined #ruby-lang
lcdhoffman has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
ht_ has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
matp has joined #ruby-lang
seydar has joined #ruby-lang
<seydar>
tl;dr: i'm trying to use a uniformly-distributed random function to construct a binomially-distributed random function. how can i do that?
francisfish has joined #ruby-lang
vlad_starkov has quit []
keolo has joined #ruby-lang
yubrew has joined #ruby-lang
skade has joined #ruby-lang
yubrew has quit [Ping timeout: 244 seconds]
anannie has quit [Remote host closed the connection]
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
seydar has quit [Quit: leaving]
|jemc| has joined #ruby-lang
<badeball>
seydar: B(n, p) has a probability mass function of (n over k) x p^k x (1 - p)^(n - k). you construct your B(n, p) so that you get the distribution you want and you use your uniformly distributed random function as k.
<badeball>
and they're gone
mbj has joined #ruby-lang
yfeldblum has joined #ruby-lang
epitron has joined #ruby-lang
epitron has quit [Changing host]
epitron has joined #ruby-lang
<badeball>
uhm, if anyone else is also wondering; don't listen to me, I am completely wrong and that is not the right way :p
Gaelane has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 269 seconds]
zz_dlu has quit [Ping timeout: 252 seconds]
<apeiros>
:)
aef has quit [Remote host closed the connection]
<apeiros>
ziggurat would have been a possibility I think.
<apeiros>
but since he's gone I didn't check
GaelanAintAround has joined #ruby-lang
zz_dlu has joined #ruby-lang
jtw has joined #ruby-lang
Waheedi has joined #ruby-lang
d4rkr4i1 has joined #ruby-lang
alexju has quit [Remote host closed the connection]
<ruby-lang149>
is that a common way to call in gems? the /?
<jhass>
not the most common but you see it from time to time
<ruby-lang149>
i get this now: "WARNING: Nokogiri was built against LibXML version 2.7.6, but has dynamically loaded 2.9.0 #<Google::Scholar::AuthorSearch:0x007feec89af8f8>mba:desktop"
Waheedi has quit [Quit: Waheedi]
<jhass>
well, the first word is all you need to pay attention to
<jhass>
"warning" as in not "error" or "failure" ;)
Waheedi has joined #ruby-lang
<ruby-lang149>
ok
estebanrules has joined #ruby-lang
<ruby-lang149>
i did the command in the usage guide and said print variable
<ruby-lang149>
that warning is all i got
<jhass>
try experimenting first a bit in irb
<ruby-lang149>
havent used irb, will take a look now. thanks jhass
eugmill has quit [Remote host closed the connection]
dynamism has joined #ruby-lang
nisstyre has quit [Ping timeout: 244 seconds]
nisstyre_ has joined #ruby-lang
eugmill has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
<ruby-lang149>
jhass, should i be trying to print the results in the terminal or is it best to write them to a file?
<jhass>
ruby-lang149: that entirely depends on what you want to do
<ruby-lang149>
just trying to get to grips with this. admittedly I should have learned some more ruby first
<ruby-lang149>
I am getting #<Google::Scholar::ArticleEnumerator:0x007fbb331df470> => nil in IRB
<ruby-lang149>
ah im getting then. Ill just get on with it and quit bugging you!
<d4rkr4i1>
is that correct? from what I read online, is "^M" character converted in "\r\n"
d4rkr4i1 is now known as d4rkr4i
mykoweb has quit [Remote host closed the connection]
<centrx>
d4rkr4i, chomp appears to handle properly
<centrx>
d4rkr4i, I usually fix that in my text editor (vim: :set fileformat=unix)
<d4rkr4i>
centrx: yes. That code will work on Windows end machines too, right?
<d4rkr4i>
centrx: our application is used on Windows too and users complaint about "^M" appearing.
skade has quit [Ping timeout: 240 seconds]
<d4rkr4i>
"/r/n" will be interpreted as ^M in windows too?
<centrx>
Windows treats it as the end-of-line character
iliketur_ has joined #ruby-lang
<centrx>
Just as in Unix, when a file has \n, it does not show in the text editor as a separate character
iliketurtles has quit [Read error: Connection reset by peer]
<d4rkr4i>
centrx: so when user complaints that he can see ^M, it means that the input was done from Windows machine, while it was evaluated on Linux machine, right?
<d4rkr4i>
please correct me if I'm wrong.
<d4rkr4i>
and if linux sees it as "\r\n", that code must eradicate that problem.
<centrx>
Yes
<centrx>
Replace \r\n with \n as you have done
<d4rkr4i>
centrx: sweet. Thanks! ;) A beer to you! :)
<centrx>
Thank you
<d4rkr4i>
I was initially thinking to use regex, but it would have been unnecessary pain. chomp did the trick.
leandrosnunes has quit [Ping timeout: 241 seconds]
skade has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]