#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11
Top Prev 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 Next
#math
<|Steve|> It works for me.
<nvictor> % Limit[(-9+x^2)/(-3+2*x+x^2), x->-3]
<mbot> nvictor: 3/2
<TRWBW3> actually the math underlying tex and metafont are pretty neat. take a look sometime if you are curious.
<TRWBW3> not deep math, but a nice application of theory to practice
<TRWBW3> the system formulates everything as a system of equations, from the breaks and spacing of page to the shape of an individual letter
<nvictor> % (h-1)^3
<mbot> nvictor: (-1 + h)^3
<nvictor> % Solve[(h-1)^3,h]
<mbot> nvictor:
<mbot> 3
<mbot> Solve::eqf: (-1 + h) is not a well-formed equation.
<mbot>
<mbot> 3
<mbot> Solve::eqf: (-1 + h) is not a well-formed equation.
<mbot> Solve[(-1 + h)^3, h]
<|Steve|> nvictor: That's not an equation.
<nvictor> % Expand[(h-1)^3]
<mbot> nvictor: -1 + 3*h - 3*h^2 + h^3
<nvictor> ok
<ed123> Ok guys, now that I figured out how to write it. Is there a way to "simplify" what's on http://www.mathbin.net/8342 ? Like express it as some series or something?
<nvictor> I never remember those identities
<TRWBW3> looks like a cumulative distribution function for a discrete poisson distribution to me, probably some kinda incomplete gamma function
<ed123> TRWBW3 - Mine?
<TRWBW3> or maybe not. very vague hunch.
<TRWBW3> ed123: yes
<ed123> I have no idea what those words even mean!
<|Steve|> ed123: Refresh the page.
<|Steve|> Maybe you meant something like that.
<nvictor> % Limit[+1+(h-1)^3)/h, x->0]
<mbot> nvictor:
<mbot> ToExpression::sntx: Syntax error in or before "Limit[+1+(h-1)^3)/h, x->0]".
<mbot> ^
#mysql
<ricknick> what is the other way?
<perl_contractor> shut it down and copy
<perl_contractor> replication
<the_wench> replication is restore from a backup and then an ongoing application of the binary log. You can think of replication as a constantly running recovery.
<perl_contractor> snapshots
<mishehu> set @a=to_days(current_date()); delete from dspam_token_data where (innocent_hits*2) + spam_hits < 5 and @a-to_days(last_hit) > 60; is STILL going.... it's been about 2 hours now. :-/
<ricknick> perl: that's not possible
<ricknick> i need to automate it
<mishehu> it's all disk read io :-/
<Xgc> ricknick: Replication is automatic.
<CareBear\> mishehu : Seems you could have used some keys. How many rows are in the table?
<mishehu> CareBear\: unknown. the data size of each row is approximately 30 bytes, and the over size of the myisam file is approximately 1gb.
<mishehu> so it must be a shitload of rows.
<CareBear\> ~33 million then
<mishehu> there is an index and a key, but it has PACK_KEYS=1 set on the table, that probably slows it down even more.
<mishehu> and this is all read io, not write io, from /proc/diskstats
<RyanT5000> i'm doing class table inheritance, and I have an auto_increment for IDs at the root class
Previous Page Next Page