February 01, 2010

Reading JQuery Sources

JQuery has become the stdlib of Javascript. After reading the jQuery docs, the next level of understanding comes from reading the code.

Here is an excellent new tool for reading the jQuery source, thanks to James Padolsey.

Food for Thought: International jQuery Use

On going back and looking at the top regions in which 'jquery' is a topic of Google searches, I find it interesting - and maybe worrying for U.S. internet innovators - that none of the top 6 jQuery cities of the world are in the U.S...

Continue reading "Reading JQuery Sources"
Posted by David at 07:23 AM | Comments (0)

February 09, 2010

Second Coming of Wyden-Bennett?

Republicans, preparing for Obama's Healthcare Summit, clearly want to avoid looking as foolish as they did when hosting Obama at their House issues summit. "Start over," seems to be the new mantra.

GOP proposals for preconditions before talks just make them look like ridiculous Iranian nuclear negotiators; if Republicans continue on this path, they are playing into Democratic strategies and providing political cover for Democrats to pass healthcare by reconciliation next month.

Democrats look serious, and Republicans look like Ahmadinejad. Any good hawk knows that in that situation, stiff and swift sanctions are justified.

Continue reading "Second Coming of Wyden-Bennett?"
Posted by David at 06:56 AM | Comments (2)

February 12, 2010

A Mathematical Notation Question

Quickly simplify the following expression: and show your work.

Solution:

Real solution:

The real question is, how the heck do you write all that notation in HTML? This problem is the bane of math teachers everywhere. But I did it here in about 5 minutes using a wonderful new tool that was released yesterday. Here is how.

The solution is to use mimeTeX notation via the brand-new version of the Google Chart Server. You can use the mathematical notation editor I have posted here - it will interpolate formulas within $dollar signs$ into HTML, generate the right <img> tags, and help insert css styles based on the image heights to get your vertical-alignment approximately right.

It helps if you know TeX syntax ahead of time, but even if you don't, it's not hard to learn what you need. When you go to davidbau.com/formula, it starts you off with a simple example.

Copy and paste your HTML.   QED.

Posted by David at 02:36 PM | Comments (2)