Frère Jacques

Frère Jacques

Frère Jacques,
Frère Jacques,
Sonnez les matines,
Sonnez les matines.
Ding Ding Dong,
Ding Ding Dong.
English version:
Are you sleeping?
Are you sleeping?
Brother Jack.
Brother Jack.
Morning bells are ringing.
Morning bells are ringing.
Ding Ding Dong.
Ding Ding Dong.

Einstein’s 23 Biggest Mistakes

Einstein’s biggest flubs: thinking black holes were impossible, believing the universe was static, and saying that “God does not play dice.”

Chronology of Einstein’s Mistakes

  1. 1905 Mistake in clock synchronization procedure on which Einstein based special relativity
  2. 1905 Failure to consider Michelson-Morley experiment
  3. 1905 Mistake in transverse mass of high-speed particles
  4. 1905 Multiple mistakes in the mathematics and physics used in calculation of viscosity of liquids, from which Einstein deduced size of molecules
  5. 1905 Mistakes in the relationship between thermal radiation and quanta of light
  6. 1905 Mistake in the first proof of E = mc2
  7. 1906 Mistakes in the second, third, and fourth proofs of E = mc2
  8. 1907 Mistake in the synchronization procedure for accelerated clocks
  9. 1907 Mistakes in the Principle of Equivalence of gravitation and acceleration
  10. 1911 Mistake in the first calculation of the bending of light
  11. 1913 Mistake in the first attempt at a theory of general relativity
  12. 1914 Mistake in the fifth proof of E = mc2
  13. 1915 Mistake in the Einstein-de Haas experiment
  14. 1915 Mistakes in several attempts at theories of general relativity
  15. 1916 Mistake in the interpretation of Mach’s principle
  16. 1917 Mistake in the introduction of the cosmological constant (the “biggest blunder”)
  17. 1919 Mistakes in two attempts to modify general relativity
  18. 1925 Mistakes and more mistakes in the attempts to formulate a unified theory
  19. 1927 Mistakes in discussions with Bohr on quantum uncertainties
  20. 1933 Mistakes in interpretation of quantum mechanics (Does God play dice?)
  21. 1934 Mistake in the sixth proof of E = mc2
  22. 1939 Mistake in the interpretation of the Schwarzschild singularity and gravitational collapse (the “black hole”)
  23. 1946 Mistake in the seventh proof of E = mc2


From Einstein’s Mistakes: The Human Failings of Genius

Originally posted 2011-09-27 02:00:04.

All the World’s a Stage

All the World’s a Stage
by William Shakespeare

All the world’s a stage,
And all the men and women merely players;
They have their exits and their entrances,
And one man in his time plays many parts,
His acts being seven ages. At first, the infant,
Mewling and puking in the nurse’s arms.
Then the whining schoolboy, with his satchel
And shining morning face, creeping like snail
Unwillingly to school. And then the lover,
Sighing like furnace, with a woeful ballad
Made to his mistress’ eyebrow. Then a soldier,
Full of strange oaths and bearded like the pard,
Jealous in honor, sudden and quick in quarrel,
Seeking the bubble reputation
Even in the cannon’s mouth. And then the justice,
In fair round belly with good capon lined,
With eyes severe and beard of formal cut,
Full of wise saws and modern instances;
And so he plays his part. The sixth age shifts
Into the lean and slippered pantaloon,
With spectacles on nose and pouch on side;
His youthful hose, well saved, a world too wide
For his shrunk shank, and his big manly voice,
Turning again toward childish treble, pipes
And whistles in his sound. Last scene of all,
That ends this strange eventful history,
Is second childishness and mere oblivion,
Sans teeth, sans eyes, sans taste, sans everything.

Originally posted 2017-01-30 12:00:35.

New Year – Same Down Economy

Retailers started releasing fourth quarter earning reports yesterday.

There’s no surprise here — Target, the number two retailer in the US, announced on Christmas Eve that sales would not meet there expectations; and Master Card also indicated that spending (via credit card) was down.

Wal-Mart, of course, tipped everyone off that they expected a bad retail season when they started their “Black Friday” sales three weeks before Thanksgiving and most retailers followed suit with deep discounts through out the retail season.

While a bad retail season doesn’t by itself mean that the economy will continue to slump, there are certainly enough signs to that effect (personally I’m ignoring the US Department of Labor’s unemployment numbers… they simply don’t make sense, they don’t seem to reflect reality, and they are designed to be misleading).

I certainly don’t have a crystal ball, but the long the economy continues the slide downward the harder it will be to revive.  My instinct tells me that this downturn, like The Great Depression, will not be ended by planning and programs — but by aggression, greed, and exploitation.

Originally posted 2010-01-13 01:00:13.

Email Addresses

Ever go to a web site to enter your email address and find that it wouldn’t fit in the field they provided?

It’s amazing in a world of standards that companies (and individuals) continually ignore them and decide for themselves what’s acceptable.


User names (or local part of the address) can be 64 characters long, and domain names can be 255 characters long.

Here is an example of a reasonable well written validation for email addresses — if you want to see poorly done ones in action it doesn’t take too much effort to find ones that limit the entire email address to less than 30 characters!

<?php function isValidAddress( $email, $check = false )
# PHP Email Address Validator
# (C) Derrick Pallas
# Authors: Derrick Pallas
# Website:
# License: Academic Free License 2.1
# Version: 2006-12-01a
if (!ereg(”
. ‘^’
. ‘[-!#$%&\’*+/0-9=?A-Z^_a-z{|}~]‘
. ‘(\\.?[-!#$%&\’*+/0-9=?A-Z^_a-z{|}~])*’
. ‘@’
. ‘[a-zA-Z](-?[a-zA-Z0-9])*’
. ‘(\\.[a-zA-Z](-?[a-zA-Z0-9])*)+’
. ‘$’
, $email
) ) return false;
list( $local, $domain ) = split( “@”, $email, 2 );
if ( strlen($local) > 64 || strlen($domain) > 255 ) return false;
if ( $check && !gethostbynamel( $domain ) ) return false;
return true;

RFC822 superseded by RFC2822.

User names (for email) may contain:

  • A to Z letters, upper and lower case.
  • 0 through 9 digits
  • . (fullstop, period) but not as the first or last character
  • ! # $ % & ‘ * + – / = ? ^ _ ` { | } ~ – all are permitted.

The maximum length of the user is 64 characters; the domain is 255 characters; so with the @ a valid address could be up to 320 characters.

Further, did you know that user names are case sensitive (but domain names are not).  Of course many email systems treat user names as case insensitive.

For information on domain name limitation you should see IANA.

Now you know more than most developers who write code that accepts or uses email addresses!

Originally posted 2008-08-25 22:12:27.


You need to find a suite of office applications?

The place to start is OpenOffice.

OpenOffice has a long heritage, and the software was designed and built to be a cohesive set of applications (not a collection of various applications that did different parts of a job).

OpenOffice is written in Java, and if you’re running Windows you can download and install a version of OpenOffice that includes the Java Run-time Environment (JRE); on most other operating system it will already be installed.

OpenOffice is able to import and export most document formats you’re used to, plus it can use it’s own format (which is an ISO standard), and creating PDFs of the output is a snap.

Writer — if you’re a Windows person you’d probably think of this as “Word”.  It’s an excellent word processor, and it well suited for virtually any task you might have.  There are quirks (but hey, they are quirks in “Word” as well, and they randomly change from version to version), but overall it’s intuitive and easy to use.  Plus there’s good documentation available to answer most any question you might have.

Calc — if you’re a Windows person you’d probably think of this as “Excel”.  I’m not a big spread sheet user, but I can tell you that all the fairly simple tasks that I used “Excel” for Calc did without a problem; and it imported the spread sheets, converted them it it’s format, and other than a very slight print alignment issue on one they were perfect (and much smaller and faster).  From my experience and what I’ve read you shouldn’t have any issue with Calc for all your spread sheet needs.

Impress — if you’re a Windows person you’d probably think of this as “PowerPoint”.  It seems to work, has all the annoying slide ware capabilities a marketing person might want.

Draw — if you’re a Windows person you might think of this as “Visio” or perhaps “Illustrator”.  There’s not an exact equivalent for this tool.  But it’s useful to do diagrams, drawings, etc.  But don’t confuse it with “PhotoShop” — that’s not really an office tool now is it?

Base — if you’re a Windows person you’d probably think of this as “Access”.  Works well and works with most any database you might have.

There is no email / calendar / contact replacement in OpenOffice, nor is there a “OneNote” replacement.  I don’t know that I feel email / calendar / contacts really belong in an office suite, but I certainly have gotten accustom to being able to collect a bunch of data together in one place with automatic references from where it came — so I’d love to see something like “OneNote” added to OpenOffice.

If you’re a casual user, a home user, a student, or a small business user (without restrictive corporate policies) you’ll find that OpenOffice will solve most all your needs.  Try it… save a little cash.

Originally posted 2010-01-19 01:00:42.

The Republican Front Runners as Imagined by The Simpsons

The Republican Front Runners As Imagined by The Simpsons
by Rob Tornoe

Originally posted 2011-08-27 02:00:22.

4% of the Market; 50% of the Profit

Apple’s iPhone accounts for only 4% of the cellular handset market for “feature” phones, yet account for 50% of the profits…

Originally posted 2010-11-29 02:00:46.

April Fools Day

But this is totally serious…

Today, California’s 1% increase in sales tax goes into effect; the term of the increase won’t be known until after a ballet measure is voted on.

California, like many states, has been spending far more than it’s been taking in — and this is yet another misguided attempt by the Governor and assembly to make up the difference.

In a down economy, let’s raise the sales tax — I’m sure that will jump start retail sales and put the economy on the fast track to recovery… GET A CLUE, it’s not like most people are spending money on luxury items right now, they’re just trying to make ends meet; and those with means to buy expensive items will just purchase them out of state.

It looks to me like the best view of California is in the rear view mirror leaving!

Originally posted 2009-04-01 01:00:49.

So you want to be in pictures…

Or rather should I say that you want to be able to play “moving pictures” on your computer…

You computer may have come with software for playing back video, DVDs, etc — or the operating system version you installed might support some formats; but eventually you’re going to reach a point where you want to play something that you don’t have support for and you might not feel like spending a lot of money.

There are two major issues with playing back media:

  1. Your computer needs software that is able to decode the audio and the video portions of the media; and
  2. Your computer needs software that is able to “break apart” the audio from the video.

The first piece of software is call a “decoder” — or often times a codec.  And you’ll hear things like MPEG1, MPEG2, MPEG4, H.264, etc for video and things like AC3, AAC, PCM, DTS, MP3, etc for audio.

The second piece of software is called a mux (specifically for play back a de-mux) — and those take particular containers and split them into the separate audio and video streams.  The file extension generally tell you about the “envelope” the data is contained in, or how it was muxed.  Some standards mux specifications, but even when the audio/video standard includes a way to mux the data, it might be in a richer envelope that supports alternate audio streams, alternate video streams, hyperlinks, closed captions, multiple languages, etc.

A growing open standard for containing audio and video is the Matroska format.  It’s generally designated as .mkv for audio/video files and .mka for audio files.

It’s a rich standard well supported on Windows, OS-X, and *nix platforms.

For more information visit the Matroska Offical Homepage:

You’ll not only find information on the Matroska format, but links to many free tools to help you play back that audio and video format you’re having trouble with.

Originally posted 2008-12-14 01:00:52.