banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddv has joined #ruby-lang
woollyams has joined #ruby-lang
woollyams has quit [Client Quit]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nathanstitt has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
ap4y has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
saarinen has joined #ruby-lang
|jemc| has joined #ruby-lang
omosoj_ has joined #ruby-lang
saarinen has quit [Client Quit]
rizidoro has joined #ruby-lang
silkfox has joined #ruby-lang
omosoj has quit [Ping timeout: 276 seconds]
havenwood has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has joined #ruby-lang
mistym has quit [Quit: Leaving]
yubrew has quit [Ping timeout: 240 seconds]
heavyhorse has joined #ruby-lang
ap4y has joined #ruby-lang
ddux has joined #ruby-lang
lolmaus has joined #ruby-lang
ur5us has quit []
ur5us has joined #ruby-lang
kitak has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
arooni-mobile__ has quit [Ping timeout: 265 seconds]
ap4y has quit [Ping timeout: 240 seconds]
jsullivandigs has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
mistym has joined #ruby-lang
diegoviola has joined #ruby-lang
marcdel has quit []
simono has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
havenwood has joined #ruby-lang
hinbody has quit [Quit: leaving]
gregf_ has joined #ruby-lang
heavyhorse has quit [Quit: Computer has gone to sleep]
heavyhorse has joined #ruby-lang
hinbody has joined #ruby-lang
knu has quit [Ping timeout: 255 seconds]
heavyhorse has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
tkuchiki has joined #ruby-lang
miwood_ has quit [Remote host closed the connection]
miwood has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
rizidoro has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
amclain has joined #ruby-lang
nofxxx has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
yock has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
yubrew has joined #ruby-lang
hahuang61 has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby-lang
jxie has joined #ruby-lang
houhoulis has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
thomasxie has quit [Read error: Connection reset by peer]
cstrahan has joined #ruby-lang
jxie has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
houhoulis has quit []
houhoulis has joined #ruby-lang
ghg has joined #ruby-lang
houhoulis has quit [Client Quit]
houhoulis has joined #ruby-lang
jeer has joined #ruby-lang
torrieri has joined #ruby-lang
charliesome has joined #ruby-lang
ddux has quit [Remote host closed the connection]
miwood has quit []
bf4 has quit [Ping timeout: 276 seconds]
xcesariox has joined #ruby-lang
xcesariox has quit [Ping timeout: 252 seconds]
mr_rogerz has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has quit [Quit: momomomomo]
bin7me has quit [Read error: Connection reset by peer]
jhulten_ has quit [Remote host closed the connection]
ryez has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mr_rogerz has quit [Remote host closed the connection]
nofxxx has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
nofxxx has joined #ruby-lang
marcdel_ has joined #ruby-lang
ap4y has joined #ruby-lang
marcdel has quit [Ping timeout: 276 seconds]
nathanstitt has quit [Quit: I growing sleepy]
alexju has joined #ruby-lang
silkfox has quit [Ping timeout: 265 seconds]
hahuang61 has joined #ruby-lang
wallerdev has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
yock has quit [Ping timeout: 258 seconds]
nathanstitt has joined #ruby-lang
nofxxx has quit [Ping timeout: 255 seconds]
nofxx has quit [Ping timeout: 255 seconds]
ratmav has joined #ruby-lang
hakunin_ has quit []
nofxx has joined #ruby-lang
Cakey has joined #ruby-lang
nofxxx has joined #ruby-lang
ratmav has quit [Client Quit]
nofxx_ has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
antonishen has quit [Ping timeout: 245 seconds]
styped_____ has quit [Ping timeout: 245 seconds]
hakunin has joined #ruby-lang
joshsz has quit [Ping timeout: 240 seconds]
beawesomeinstead has quit [Ping timeout: 265 seconds]
styped_____ has joined #ruby-lang
pipework has quit [Ping timeout: 265 seconds]
antonishen has joined #ruby-lang
joshsz has joined #ruby-lang
pipework has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
hakunin has quit []
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nofxxx has quit [Ping timeout: 276 seconds]
nofxx_ has quit [Ping timeout: 240 seconds]
kiddorails has joined #ruby-lang
nofxx_ has joined #ruby-lang
marcdel_ has quit [Ping timeout: 255 seconds]
nofxx_ has quit [Ping timeout: 265 seconds]
nofxx has joined #ruby-lang
bf4 has joined #ruby-lang
ascarter has joined #ruby-lang
marcdel has joined #ruby-lang
yatish27 has joined #ruby-lang
nofxx_ has joined #ruby-lang
marcdel has quit [Ping timeout: 245 seconds]
dmitrykorotkov has joined #ruby-lang
knu has joined #ruby-lang
yubrew has joined #ruby-lang
yock has joined #ruby-lang
marcdel has joined #ruby-lang
bf4 has quit [Ping timeout: 252 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has quit [Ping timeout: 240 seconds]
yock has quit [Ping timeout: 245 seconds]
arBmind1 has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
gregf_ has quit [Ping timeout: 240 seconds]
knu has quit [Ping timeout: 255 seconds]
jxie has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
yock has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
ghfghfjf has joined #ruby-lang
<ghfghfjf>
Hola everyone! =)
lolmaus has quit [Ping timeout: 240 seconds]
<|jemc|>
holaback
<ghfghfjf>
I tried to compile ruby2 from source and it seems like it failed. I can't use RVM because there is a compatibility issue. What can I do?
<ghfghfjf>
lubuntu 13.10
<ghfghfjf>
Should I try other different builds on the ruby repo? Is it a dependency issue that I can fix?
yock has quit [Ping timeout: 255 seconds]
gregf_ has joined #ruby-lang
<ghfghfjf>
compiling time.c
<ghfghfjf>
time.c: In function ‘localtimew’:
<ghfghfjf>
time.c:1820:19: warning: ‘tm.tm_isdst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
<ghfghfjf>
^
<ghfghfjf>
result->isdst = isdst;
<ghfghfjf>
Search tclConfig.sh and tkConfig.sh............................
<ghfghfjf>
Fail to find [tclConfig.sh, tkConfig.sh]
<ghfghfjf>
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
<ghfghfjf>
Warning:: cannot find X11 library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. If your Tcl/Tk don't require X11, please try --without-X11.
<ghfghfjf>
Can't find X11 libraries.
<ghfghfjf>
So, can't make tcltklib.so which is required by Ruby/Tk.
<ghfghfjf>
Failed to configure tk. It will not be installed.
<ghfghfjf>
Failed to configure tk/tkutil. It will not be installed.
<ghfghfjf>
configuring win32ole
<ghfghfjf>
configuring tk/tkutil
<ghfghfjf>
Failed to configure win32ole. It will not be installed.
<ghfghfjf>
configuring zlib
<|jemc|>
ghfghfjf: please use a pastebin like github.gist.com or similar
<|jemc|>
for messages longer than three lines
<ghfghfjf>
|jemc|: Sorry
<|jemc|>
which will have the added benefit that you can paste the entire output
ghg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mistym has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
danijoo has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has joined #ruby-lang
relix has joined #ruby-lang
elia has joined #ruby-lang
vondruch has quit [Ping timeout: 240 seconds]
jhass|off is now known as jhass
mykoweb has quit [Ping timeout: 258 seconds]
symm- has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
vondruch has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
marr has joined #ruby-lang
saarinen has quit [Quit: saarinen]
jeer has quit [Ping timeout: 252 seconds]
vondruch has quit [Client Quit]
benlovell has joined #ruby-lang
vondruch has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
datanoise has joined #ruby-lang
jeer has joined #ruby-lang
yubrew has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
Squarepy has quit [Quit: Leaving]
yubrew has quit [Ping timeout: 252 seconds]
frobrob has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 276 seconds]
phuesler has quit [Quit: phuesler]
heftig has joined #ruby-lang
alex-quiterio has joined #ruby-lang
<yorickpeterse>
morning
phuesler has joined #ruby-lang
VTLob has joined #ruby-lang
ryez has quit [Quit: Page closed]
charliesome has joined #ruby-lang
banister has joined #ruby-lang
mamut_ has joined #ruby-lang
workmad3 has joined #ruby-lang
charliesome has quit [Client Quit]
kitak has quit [Remote host closed the connection]
14WACW4PD has joined #ruby-lang
14WACW4PD has quit [Client Quit]
kitak has joined #ruby-lang
VictorBjelkholm has quit [Quit: Leaving]
canton7-mac has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryez has joined #ruby-lang
Cakey has joined #ruby-lang
sarkyniin has joined #ruby-lang
banister has joined #ruby-lang
kiddorails has joined #ruby-lang
certainty has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
ando has joined #ruby-lang
ando has quit [Client Quit]
vondruch has joined #ruby-lang
phuesler has quit [Quit: phuesler]
datanoise has joined #ruby-lang
charliesome has joined #ruby-lang
rizidoro has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
phuesler has joined #ruby-lang
JhonD has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
<yorickpeterse>
dang it I forgot how my own code works
<yorickpeterse>
it magically creates directories and I'm not sure anymore how
<yorickpeterse>
there's literally no reference to Dir.mkdir and the likes
phuesler has quit [Quit: phuesler]
diegoviola has quit [Quit: WeeChat 0.4.3]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knu has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
rahul_j has quit [Quit: rahul_j]
nofxx has quit [Remote host closed the connection]
jhass has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
shemerey has joined #ruby-lang
<ljarvis>
I need to check all objects of an array against every other object except itself, anything better than x.any? { |i| (x - [i]).any? { |o| i.something(o) } }
yubrew has joined #ruby-lang
jhass|off has joined #ruby-lang
jhass|off is now known as jhass
<ljarvis>
pretty sure im being stupid
<apeiros>
ljarvis: only if I kneow i.something(o) :)
<apeiros>
other than that, it'll be O(n^2) anyway
<apeiros>
combination(2)
<ljarvis>
heh yeah
<apeiros>
if i.something(o) is the same as o.something(i)
GBrawl_ has quit [Quit: Computer has gone to sleep.]
<ljarvis>
yeah it is
<apeiros>
ok. combination(2).any? { |a,b| a.something(b) } then
<apeiros>
less iterations than n^2
<ljarvis>
that's nicer, thanks
<apeiros>
depending on `something` you might get away with even less
rizidoro has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
stamina has joined #ruby-lang
banister has joined #ruby-lang
<shemerey>
I am not shire it's better, but ... [1,2,3].zip([1,2,3].reverse).each {|(x,y)| puts "#{x}, #{y}" if x != y }
cnivolle has joined #ruby-lang
<ljarvis>
D:
<apeiros>
shemerey: won't go through all combinations
phuesler has joined #ruby-lang
<shemerey>
eee i see sorry %-)
<shemerey>
i guess #combination best solution for that
benlovell has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
GBrawl_ has joined #ruby-lang
phuesler has quit [Quit: phuesler]
rahul_j has joined #ruby-lang
arupsaha has joined #ruby-lang
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arupsaha has quit [Remote host closed the connection]
rh1n0 has joined #ruby-lang
arupsaha has joined #ruby-lang
shemerey has joined #ruby-lang
arupsaha has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
arupsaha has joined #ruby-lang
stamina has quit [Quit: WeeChat 0.4.3]
banister has joined #ruby-lang
yubrew has quit [Ping timeout: 255 seconds]
jeer has quit []
arupsaha has quit [Remote host closed the connection]
arupsaha has joined #ruby-lang
datanoise has joined #ruby-lang
arupsaha has quit [Ping timeout: 245 seconds]
stamina has joined #ruby-lang
kiddorails has quit [Quit: Leaving.]
ironhide_604 has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
benlovell has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
luiz_lha has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Ping timeout: 258 seconds]
Burgestrand has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
mamut_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mamut_ has joined #ruby-lang
FastJack has joined #ruby-lang
bf4 has joined #ruby-lang
GBrawl has joined #ruby-lang
arupsaha has quit [Remote host closed the connection]
arupsaha has joined #ruby-lang
arupsaha has quit [Ping timeout: 258 seconds]
bf4 has quit [Ping timeout: 245 seconds]
karamazov has quit []
Kalipygian has quit [Quit: leaving]
omosoj has joined #ruby-lang
AncientAmateur has joined #ruby-lang
wm3|away is now known as wm3|busy
surrounder has quit [Quit: WeeChat 0.4.1]
surrounder has joined #ruby-lang
yfeldblum has joined #ruby-lang
yatish27 has joined #ruby-lang
yubrew has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
LBo has quit [*.net *.split]
joast has quit [*.net *.split]
llakey has quit [*.net *.split]
floyd2 has quit [*.net *.split]
saltsa has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
nibbo_ has quit [*.net *.split]
jaimef has quit [*.net *.split]
hachiya has quit [*.net *.split]
joevandyk has quit [*.net *.split]
sluukkonen has quit [*.net *.split]
perry has quit [*.net *.split]
error404_ has quit [*.net *.split]
duper has quit [*.net *.split]
sindork_ has quit [*.net *.split]
kro_ has quit [*.net *.split]
j`ey has quit [*.net *.split]
crankharder has quit [*.net *.split]
TTilus has quit [*.net *.split]
_ko1 has quit [*.net *.split]
oddmunds has quit [*.net *.split]
imajes has quit [*.net *.split]
machuga has quit [*.net *.split]
nibbo_ has joined #ruby-lang
duper has joined #ruby-lang
saltsa has joined #ruby-lang
LBo has joined #ruby-lang
kro_ has joined #ruby-lang
j`ey has joined #ruby-lang
nibbo_ has quit [Changing host]
nibbo_ has joined #ruby-lang
TTilus has joined #ruby-lang
floyd2 has joined #ruby-lang
joevandyk has joined #ruby-lang
perry has joined #ruby-lang
crankharder has joined #ruby-lang
llakey has joined #ruby-lang
coffeejunk has joined #ruby-lang
error404 has joined #ruby-lang
machuga has joined #ruby-lang
oddmunds has joined #ruby-lang
sluukkonen has joined #ruby-lang
sindork has joined #ruby-lang
hachiya has joined #ruby-lang
imajes has joined #ruby-lang
_ko1 has joined #ruby-lang
jaimef has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
bf4 has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<[spoiler]>
PHP has to be the only language where core-dumps are an everyday problem.
mykoweb has joined #ruby-lang
<wmoxam>
[spoiler]: they are?
bf4 has quit [Ping timeout: 258 seconds]
tbuehlmann has joined #ruby-lang
<[spoiler]>
wmoxam, yeah, I work for a hosting company, and every few days someone complains about "strange core files"
<wmoxam>
weird
<[spoiler]>
so, I wrote a script that goes through all the hosting packages on all our servers looking for core dumps, and it it's around ~15k now
<[spoiler]>
wmoxam, ditto
<yorickpeterse>
core dumps are webscale
nathanstitt has joined #ruby-lang
<yorickpeterse>
also I envy you for hosting PHP
wm3|busy is now known as workmad3
<darix>
[spoiler]: that usually means someone is exploiting the PHP you are running there.
<[spoiler]>
even in C, you have to try to get a core dump. in PHP they pop out like spam
bf4 has joined #ruby-lang
<darix>
[spoiler]: are those core files in the docroot?
<[spoiler]>
darix, I've analysed some core files, they're mostly wordpress/joomla dumps when Zend tries to GC or when some idiot plugin enters infinite recursion or a loop and exhausts the stack
mykoweb has quit [Remote host closed the connection]
<[spoiler]>
darix, yeah, they're neighbours to the file that generated them
mykoweb has joined #ruby-lang
<darix>
i find it scary that the webserver can write in those directories.
<[spoiler]>
haha
<[spoiler]>
yeah, shared hosting :/
ColdBlooder has quit [Remote host closed the connection]
<[spoiler]>
We have a few rails servers, and those are working like babies <3
<[spoiler]>
yorickpeterse, was that sarcasm? :P
<yorickpeterse>
Yes
<[spoiler]>
well, not like babies, because babies wouldn't work, that's cruel
<[spoiler]>
they work like... idk... elegant clockwork
arupsaha has joined #ruby-lang
_ko1 has quit [Quit: Quit Nadoka 0.8.4+git(v0.8.3-5-g0ae819a-dt)]
<wmoxam>
[spoiler]: it's better than it used to be at least :p
<[spoiler]>
wmoxam, only because it couldn't have gotten worse :-) I welcome the improvements, though
arupsaha has quit [Client Quit]
mykoweb has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 240 seconds]
_ko1 has joined #ruby-lang
chouhoulis has joined #ruby-lang
dik_dak has joined #ruby-lang
<whitequark>
[spoiler]: cruel? I'm not sure how could you force babies to work, even if you wanted to
<yorickpeterse>
candy
<[spoiler]>
LOL
<ljarvis>
investment incentives
momomomomo has joined #ruby-lang
<yorickpeterse>
hedge funds
joast has joined #ruby-lang
ddux has joined #ruby-lang
bf4 has quit [Ping timeout: 245 seconds]
stef_204 has joined #ruby-lang
GarethAdams has quit [Ping timeout: 265 seconds]
<whitequark>
kangaroo funds
lele|w has quit [Remote host closed the connection]
workmad3 is now known as wm3|busy
lele|w has joined #ruby-lang
banister is now known as banisterfiend
heftig has quit [Quit: Quitting]
GarethAdams has joined #ruby-lang
nathanstitt has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
nathanstitt has joined #ruby-lang
nofxx__ has joined #ruby-lang
elia has joined #ruby-lang
nofxx_ has quit [Ping timeout: 245 seconds]
wm3|busy has quit [Ping timeout: 276 seconds]
<darix>
[spoiler]: even as a hosting company you can do a more secure set up than that.
<darix>
much more secure -.-
jxie has quit [Read error: Connection reset by peer]
ddux has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
mistym has joined #ruby-lang
<[spoiler]>
darix, nah, it's cool. We've written a few custom modules for apache, they improve security a lot. The webserver needs to be able to write to the user's doc root, because a lot of shit relies on it to work what way
tomkadwill has joined #ruby-lang
dstynchula has joined #ruby-lang
dstynchula has quit [Remote host closed the connection]
jxie has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
mistym has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
Sirupsen has joined #ruby-lang
apeiros has joined #ruby-lang
ddux has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak has joined #ruby-lang
jxie has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
ascarter_ has joined #ruby-lang
ascarter_ has quit [Client Quit]
ascarter_ has joined #ruby-lang
ascarter_ has quit [Max SendQ exceeded]
kitak has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby-lang
ascarter has quit [Client Quit]
ascarter has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
shtirlic has quit [Ping timeout: 276 seconds]
bf4 has joined #ruby-lang
shtirlic has joined #ruby-lang
mistym has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
phuesler has quit [Quit: phuesler]
ddux has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 245 seconds]
GBrawl has quit [Quit: Computer has gone to sleep.]
phuesler has joined #ruby-lang
wm3|busy has joined #ruby-lang
ddux has joined #ruby-lang
GBrawl_ has joined #ruby-lang
ghg has joined #ruby-lang
ghg has quit [Remote host closed the connection]
ghg has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 276 seconds]
frzng has quit [Quit: frzng]
jsullivandigs has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
VTLob has joined #ruby-lang
GBrawl_ has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby-lang
symm- has joined #ruby-lang
loincloth has joined #ruby-lang
toastynerd has quit [Ping timeout: 258 seconds]
bf4 has quit [Quit: leaving]
futilegames has joined #ruby-lang
alex-quiterio has quit [Quit: Leaving.]
benlovell has joined #ruby-lang
mistym has quit [Quit: Leaving...]
cstrahan has quit [Ping timeout: 276 seconds]
fostertheweb has joined #ruby-lang
<headius>
drbrain: who do I gotta kill to get the JRuby ext in racc?
kiddorails has quit [Ping timeout: 240 seconds]
GBrawl_ has joined #ruby-lang
jeer has joined #ruby-lang
GBrawl_ has quit [Client Quit]
fostertheweb has quit [Ping timeout: 276 seconds]
Burgestrand has quit [Quit: Burgestrand]
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
torrieri has quit [Read error: Connection reset by peer]
toastynerd has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
<dacamp>
I guess you could, with an upper limit of whatever your #get_max_timer count is.
<dacamp>
not sure what would happen when you try to create a timer over that count
apeiros has joined #ruby-lang
ironhide_604 has joined #ruby-lang
wallerdev has joined #ruby-lang
<dacamp>
It seems unwise to me, but I've only used EM for a couple projects.
wallerdev has quit [Client Quit]
<sarkyniin>
dacamp: the timer is to set a time limit between each memo the user has pending
<sarkyniin>
so it only has 3 or 4 at most
<sarkyniin>
although it could go up to 10
saarinen has joined #ruby-lang
yock_ has joined #ruby-lang
apeiros has quit [Ping timeout: 255 seconds]
<dacamp>
If you have say, 61 users at 5 messages each and a max timer count of 300 (no idea if that's reasonable) you'd be SOL. Not to mention any additional timers you have setup. Why do you need to delay the call?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sarkyniin>
dacamp: the software I'm using has a limit on how many messages you can send at a time
<sarkyniin>
even with the lag, it still sometimes blocks the message
wallerdev has joined #ruby-lang
yock has quit [Ping timeout: 258 seconds]
<dacamp>
Ahh, ok. Might be less restrictive to push all the messages to a queue and then use a timer to pop off whatever that limitation is instead.
torrieri has joined #ruby-lang
<dacamp>
You'll still have a bottleneck, but at least it's the other softwares restrictions, not yours
<dacamp>
and you still control delivery
ironhide_604 has quit [Ping timeout: 252 seconds]
yock_ is now known as yock
cstrahan has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
havenwood has quit []
ItSANgo has quit [Read error: Connection reset by peer]
<sarkyniin>
dacamp: how do I setup a queue?
ItSANgo has joined #ruby-lang
robmiller has joined #ruby-lang
ItSANgo has quit [Read error: Connection reset by peer]
ItSANgo_ has joined #ruby-lang
<dacamp>
There's an EM::Queue class
torrieri has quit [Read error: Connection reset by peer]
torrieri has joined #ruby-lang
shemerey has joined #ruby-lang
marcdel has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
ledestin has quit [Ping timeout: 245 seconds]
torrieri_ has joined #ruby-lang
sepp2k has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 276 seconds]
torrieri has quit [Ping timeout: 276 seconds]
Burgestrand has joined #ruby-lang
retro|simi has joined #ruby-lang
nathanstitt has joined #ruby-lang
marcdel has joined #ruby-lang
marcdel has quit [Max SendQ exceeded]
marcdel has joined #ruby-lang
ledestin has joined #ruby-lang
retro|simi has quit [Ping timeout: 245 seconds]
loincloth has joined #ruby-lang
saarinen has quit [Quit: saarinen]
yfeldblum has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
danguita has quit [Ping timeout: 272 seconds]
saarinen has joined #ruby-lang
cnivolle has joined #ruby-lang
hrs has joined #ruby-lang
postmodern has joined #ruby-lang
Squarepy has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
wm3|busy has joined #ruby-lang
omosoj has joined #ruby-lang
wm3|busy is now known as workmad3
wallerdev has quit [Quit: wallerdev]
havenwood has joined #ruby-lang
jmaya has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
[spoiler] has quit [Remote host closed the connection]
marcdel has quit []
jmaya has quit [Remote host closed the connection]
danguita has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
<sarkyniin>
is it possible to call a module method without including that module?
Voker57 has quit [Ping timeout: 265 seconds]
Voker57 has joined #ruby-lang
yock has quit [Ping timeout: 240 seconds]
<centrx>
sarkyniin, Yes, you can define methods on a module in two ways
<centrx>
sarkyniin, Either the same def self.my_method you would use to make a class method on a class
apeiros has quit [Remote host closed the connection]
<centrx>
sarkyniin, Or use module_function, which is a style preference and also makes the method available on an including class if the module _is_ included in a class.
apeiros has joined #ruby-lang
momomomomo has joined #ruby-lang
_ht has quit [Remote host closed the connection]
jgpawletko has quit [Quit: jgpawletko]
ghg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
D9 has joined #ruby-lang
<sarkyniin>
centrx: what I meant is
<sarkyniin>
I think I said it in the wrong way
<sarkyniin>
how do I invoke a module method without including that module
<sarkyniin>
is it possible to do directly Module.method ?
<centrx>
MyModule.my_method
<centrx>
Yes
apeiros has quit [Ping timeout: 265 seconds]
<sarkyniin>
centrx: NoMethodError: undefined method `time_ago_in_words' for ActionView::Helpers::DateHelper:Module