New Rule about jsMath

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

New Rule about jsMath

Postby gmalivuk » Sat Aug 06, 2011 2:53 pm UTC

While jsMath is amazingly helpful for displaying complex formulas, it does significantly slow down page loading for a lot of people.

Therefore, please refrain from using it for things which are perfectly easy to display using plain text and other bbcode tags.

If you just want to raise something to an exponent, use [sup].
If you just want a subscript, use [sub].
If you just want to make clear what letters are variables as opposed to commentary text, make them italic or bold instead of [math]y.
These characters and strings are perfectly usable in ASCII: { } | -> <- ... ! < > != and so on.
In the future, there will be a global network of billions of adding machines.... One of the primary uses of this network will be to transport moving pictures of lesbian sex by pretending they are made out of numbers.
Spoiler:
gmss1 gmss2
User avatar
gmalivuk
Archduke Vendredi of Skellington the Third, Esquire
 
Posts: 19285
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here, There, Everywhere (near Boston, anyway)

Re: New Rule about jsMath

Postby nehpest » Mon Aug 08, 2011 8:54 pm UTC

Is there any chance we could get a similar rule about jsMath in sigs?
Kewangji wrote:Someone told me I need to stop being so arrogant. Like I'd care about their plebeian opinions.

blag
User avatar
nehpest
 
Posts: 520
Joined: Fri Jun 12, 2009 9:25 pm UTC

Re: New Rule about jsMath

Postby skeptical scientist » Mon Sep 12, 2011 11:08 am UTC

nehpest wrote:Is there any chance we could get a similar rule about jsMath in sigs?

That sounds like a good idea.

On a related note, is there any way to keep jsMath from hijacking my computer every time it needs to parse a formula? One would think it would be capable of running quietly while I load new tabs in the background without making it impossible to even scroll the page I'm currently trying to read.
I'm looking forward to the day when the SNES emulator on my computer works by emulating the elementary particles in an actual, physical box with Nintendo stamped on the side.

"With math, all things are possible." —Rebecca Watson
User avatar
skeptical scientist
closed-minded spiritualist
 
Posts: 5920
Joined: Tue Nov 28, 2006 6:09 am UTC
Location: Madison, Wisconsin

Re: New Rule about jsMath

Postby mr-mitch » Mon Sep 12, 2011 12:52 pm UTC

By opening the options (jsMath creates a button on your window somewhere) you can force asynchronous processing. Whether or not that solves the problem, I'm not sure.
mr-mitch
 
Posts: 450
Joined: Sun Jul 05, 2009 6:56 pm UTC

Re: New Rule about jsMath

Postby skeptical scientist » Wed Sep 14, 2011 10:31 am UTC

I found a way to solve the problem: use subsilver.
I'm looking forward to the day when the SNES emulator on my computer works by emulating the elementary particles in an actual, physical box with Nintendo stamped on the side.

"With math, all things are possible." —Rebecca Watson
User avatar
skeptical scientist
closed-minded spiritualist
 
Posts: 5920
Joined: Tue Nov 28, 2006 6:09 am UTC
Location: Madison, Wisconsin

Re: New Rule about jsMath

Postby ars111 » Thu Mar 01, 2012 3:57 pm UTC

nehpest wrote:Is there any chance we could get a similar rule about jsMath in sigs?


I would also like to know this? I try to use math functions in signature but unsuccessfully.
ars111
 
Posts: 8
Joined: Sun Dec 04, 2011 1:53 am UTC

Re: New Rule about jsMath

Postby gmalivuk » Thu Mar 01, 2012 10:16 pm UTC

The desired rule is to never use math fonts in signatures, so it's good you were unsuccessful.
In the future, there will be a global network of billions of adding machines.... One of the primary uses of this network will be to transport moving pictures of lesbian sex by pretending they are made out of numbers.
Spoiler:
gmss1 gmss2
User avatar
gmalivuk
Archduke Vendredi of Skellington the Third, Esquire
 
Posts: 19285
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here, There, Everywhere (near Boston, anyway)

Re: New Rule about jsMath

Postby Yakk » Thu Mar 01, 2012 10:30 pm UTC

Enforcement successful.
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR

Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
User avatar
Yakk
 
Posts: 10039
Joined: Sat Jan 27, 2007 7:27 pm UTC
Location: E pur si muove

Re: New Rule about jsMath

Postby mfb » Sat Mar 30, 2013 9:40 pm UTC

Did you consider MathJax? It is quick enough to handle 10-50 formulas per page without notable delays (assuming a reasonable length, don't write 10+ pages in LaTeX).
mfb
 
Posts: 803
Joined: Thu Jan 08, 2009 7:48 pm UTC

Re: New Rule about jsMath

Postby Xanthir » Sun Mar 31, 2013 10:38 pm UTC

Not only does it render much faster, it renders prettier, in my opinion.

(MathJax, despite the misleading name, doesn't really do any AJAX. It uses HTML and CSS trickses to produce pretty, well-formatted formulas with a minimum of images. Because it's using real text, it looks better on high-dpi screens, too.)
(defun fibs (n &optional (a 1) (b 1)) (take n (unfold '+ a b)))
User avatar
Xanthir
My HERO!!!
 
Posts: 3993
Joined: Tue Feb 20, 2007 12:49 am UTC
Location: The Googleplex


Return to Mathematics

Who is online

Users browsing this forum: Tebychacy and 7 guests