Thursday, April 25, 2013

Spectrum of a sodium vapor street light

I took the Carolina $10 spectroscope outside to observe the spectrum of a sodium vapour street lamp (the orange coloured ones).  I read lines at 500 nm, 515, nm and 590 nm.  Here is the sodium spectrum

Looking at the two part spectrum the lines I observed are indicated with arrows.  I also observed some of the blue lines, but couldn't make out the position on the ruler.

Monday, April 22, 2013

Cheap spectroscopy


I bought a $10 Carolina spectroscope from Merlan.  I pointed it at a CFL bulb and took a photo of the spectrum:


Now compare it to the mercury spectrum:
The spectrum peaks are at 435.835 nm (blue), 546.074 nm (green),  a pair at 576.959 nm and 579.065 nm (yellow-orange).  There are two lines at 404.656 nm and 407.781 nm and a faint line at 491.604 nm.

Compare this to the labelled spectrum of a fluorescent light from this site:


You can actually see the purple line with the spectroscope (it doesn't show up on the photo).  When I read the wavelengths from the spectroscope, it matches the numbers shown in the reference photo.  This is pretty good for $10!

When I pointed the spectroscope at a halogen lamp, the spectrum was more like a rainbow (full spectrum lighting).  This simulates natural sunlight much better than a CFL.  This link explains this phenomena very well.

A complete library of atomic spectra is found here.  This is very old, but it shows how to take better pictures of spectrometer spectra (click here).

I've also used this to look at the spectrum of a sodium vapour street light.

Sunday, April 21, 2013

Dorian Recordings

In the 1990s, BMG Music Service setup shop in Canada briefly and competed with Columbia House.  It was great as I now had access to the PolyGram catalog (DG, Decca, Philips) at a discount. They also happened to offer CDs from Dorian, a small American lablel.  Along the way, I was introduced to Custer LaRue's recording of American folk songs by Bob Kerr (CBC Stereo, Off the Record).

One of the songs on this CD was the theme to the Friendly Giant.  Bob Kerr also introduced me to Juilanne Baird's recording of John Downland's song, Come Again (sheet music here).  Sting has performed this song too. I had not listened to this Julianne Baird CD for maybe 10 years and I pulled it out yesterday to listen to it.  Glorious!  It is certainly a young person's song.

Also, I heard about "The Art of the Bawdy Song" with the Baltimore Consort.  Rather more boorish music (and lyrics) here.


I was drawn back to these Dorian Recordings because on April 18th, my recording of Ivan Moravec playing the Schumann and Brahms Piano concerti arrived.  I had tried unsuccessfully to get it new from Amazon.ca, but an Ontario seller on Amazon.ca Marketplace had a used one for sale.  I've been listening to a lot of Ivan Moravec's Chopin from his Vox recordings lately.



How lucky that I have these fabulous Dorian CDs in my collection!

Monday, April 15, 2013

Sir Colin Davis

This morning, I heard the news of Sir Colin Davis' passing from an e-mail from Presto Classical.  I admired Sir Colin Davis for his Mozart conducting.  As a high schooler, I enjoyed the Philips records he made with Stephen Kovacevich.  The first Davis recording I had was a Philips Festivo LP of Mozart's Prague and Jupiter symphonies.  It was one of the first recordings of the Jupiter in which I heard the repeats in the final movement.
This morning, it happened that their recording of Mozart's KV 467 was playing in my car.  I think that is my favorite recording of KV 467.  Kovacevich's ornamentations in the slow movement really caught my ear the first time I heard it.

He is a musician I will miss, but we are so lucky that his recordings live on.

Saturday, April 13, 2013

Some irrational beauty of mathematics

In computer science, I often refer to two infinite alternating series:

ln(2):
and the Leibniz expansion of  π/4:


When I saw these two infinite series in first year calculus, I was fascinated that such a simple pattern would result in something meaningful (it made me think there must be a God indeed!).

Now, π is a familiar irrational number, but e (Euler's number) is less well know.  When I took MAT319, Introduction to Complex Analysis (the only optional math class I ever took as an undergrad), we were shown de Moivre's formula


and we were shown the much simpler Euler formula:


This is the formula Richard Feynman called "one of the most remarkable, almost astounding, formulas in all of mathematics."  Why is this so important?  Well, the Fourier transform requires this remarkable fact!

It is much easier to deal with exponentials than trig functions, so Fourier transforms are usually expressed as above.  Why are Fourier transforms so important?  Well, any application of digital signal processing requires it!  When we try to remove noise from a signal (TV, radio, seismic etc), we need to be able to find the frequencies in the signal and the Fourier transform does that for us.  So the images we see from various earth orbiting satellites like RadarSAT would not be possible without the Fourier transform (and Euler's formula).  Euler's number (e) is a remarkable number indeed! 

This example of using Audacity to analyse sound uses the Fourier transform.  The frequency spectrum was computed with a Fast Fourier Transfer (FFT).

Now, I am not very good at mathematics, but I do admire and appreciate it's beauty and utility.  That's probably why I admire Michael Faraday above all other scientists (he wasn't very good at math like James Clerk Maxwell was). When some of my computer science students said "your smart", I rebutted, "no I'm not" and told the story of my ordeal in APM346 (Partial Differential Equations).  The class was taught by G F D Duff, FRSC.  I was confused from the very start because he used a different notation from the textbook he assigned (and I'm just not that great at math).  When he walked in to return the midterms, he said "the grades ranged from 0 to 100%.  The class average was 33%" and then proceeded to get on with the class.  The guy sitting next to me said "Hey, I did twice as well as you - I got 2/20".  Seeing failure in my future, I went to see a physics prof and asked if I could take the geophysics classes next year if I failed the class.  He told me "stay in the class, if he doesn't change the grade, governing council will".  So, I stayed in the class, didn't bother to study for the 60% final (because I had quantum mechanics the day before and was in low spirits), answered only 2 of the 6 question on the final exam (I was admiring the woodwork in West Hall, University College for the last 15 minutes contemplating my failure).  I got 52% (D-) and was so happy to pass!

It's not being 'smart' that matters.  It's the willingness to learn something new.  And, as I get older, I realise that if something is difficult, it means I'm actually learning something new.  One of the concepts from APM346 that confused me was Bessel Functions.  During coffee break in grad school, one of my colleagues moved his styrofoam cup across the table and said, "look at the Bessel functions" in response to the ripples that were forming in the cup.  It was at that time it dawned upon me that Bessel functions are used to solve boundary value problems in cylindrical coordinates.  You don't have to know why they work (at least as a scientist), you just have to know that for cylindrical geometry, Bessel functions work!  And, for spherical coordinates, Legendre polynomials work (I heard that in Derek York's Physics of the Earth class in fourth year).

Wednesday, March 6, 2013

Windows 8 USB 3.0 Problems

I think the power management in Windows 8 screwed up my NEC Chipset four port USB 3.0 PCI-E card. After the computer went to sleep, the USB 3.0 ports didn't work.  Rebooting didn't help.  Reinstalling the Rensas driver didn't help.  Shutting the computer down, turning off the power bar, waiting, then rebooting got the USB 3.0 ports back up and running.  However, I think two of the ports still aren't working:


Tuesday, February 19, 2013

Beethoven Opus 111

I'm am just crazy about the last 3 piano sonatas of Beethoven.  Last year, Opus 109 consoled me in mourning.  Then, as I listened more to Opus 111, it pierced my soul as much as the other solo piano works I love (Schumann Opus 13, Schumann Opus 17, Brahms Opus 24, Brahms Opus 118, Nr 2, Chopin Barcarolle).  There is a part in the last movement that sounds jazzy.  This is followed by a part that just blows me away -- trills and chords together.  I have a DVD of Kocsis playing this sonata and it makes you appreciate how hard it is to play.  Wow.  Today, Bruce Hungerford's recording of it arrived from Passionato.  I like it.  I also like Pollini.  For sheer beauty of sound, Simone Dinnerstein is unbeatable.  This is why so many regard Beethoven as the greatest of them all.  Click here for some insights on Hungerford's Beethoven.

Lego Mindstorms NXT 2.0

I got another set of Lego Mindstorms NXT 2.0 today.  Their uncle bought them one for Christmas in 2010 I believe.  This should keep the kids busy!

It uses a version of Labview to program the bots:


If you want to do something sort of like this, Scratch is free and pretty fun.  You can also program your Android phone with AppInventor.

Sunday, February 17, 2013

Opera - I think I'm going to get hooked

In this era of DVD, I finally am taking to opera.  In the DG 111 box I have, there are several operas which I have yet to view
  • Der Rosenkavalier (Kleiber)
  • Carmen (Karajan)
  • Don Giovanni (Furtwängler)
  • La Traviata (Barenboim)
I watched the DVD of Rigoletto (McVicar production) I have and I quite like it.  The most famous tune is at the start of the third act. I have another McVicar production on the way - Manon and I'm looking forward to listening to Natalie Dessay's singing.


HP Parallel Print Server Workaround

Every time I reinstall Windows, I have to setup the printers again.  I have a 3 port HP Parallel Print Server I got off Kijiji with an IBM Network Printer 12.  In order to be able setup the printers on the print server, I had to first install the printer and set the port to File:.  With Windows 7, you have to wait quite a while as Windows update builds the list of printers.  Once the printer is installed locally as printing to File:, you can run the HP Network Printer Install program to install the printer as a network printer on the print server.  The local version printing to File: can them be removed.

Saturday, February 16, 2013

Music to remember

Today, is one year since my grandmother died.  Music is the language that means the most to me.  I started the day (midnight) by listening to some old standards (by Cole Porter, Hoagy Carmichael, the Gershwins, Rogers and Hart) sung by Linda Ronstadt and Carly Simon.  I had first heard Linda Ronstadt's singing of these old classics on Richard Uuzounian's Say It With Music on CBC Stereo Sunday afternoons when in grad school.  I loved it and bought all three of her CDs (which I later gave to a fellow grad student, Joko, when he returned to Indonesia).  I had bought the 2 CD re-issue ('Round Midnight) to replace the ones I gave him.  When I was in San Francisco for the 1992 December AGU meeting, I walked into a record store and bought LPs Lush Life and For Sentimental Reasons as well as the 3 LP box of 'Round Midnight.  That's how crazy I was about this music!  Lorenz Hart wrote some beautiful lyrics.  Some of my favorites are But not for me (Gershwin), Little Girl Blue (Rogers and Hart), It never Entered My Mind (Rogers and Hart), Skylark (Carmichael).



Then I listened to Strauss' Beim Schlafengehen with Lucia Popp.  That was followed with Beethoven's 3 last piano sonatas with Maurizio Pollini.


I borrowed Simone Dinnerstein's CD The Berlin Concert from the library yesterday and listened to it this evening.  She plays Beethoven's Opus 111 much more romantically than Pollini does.  I love the fullness of the recording.  Not too bassy like Kovacevich's newer Diabelli recording.  Very enjoyable indeed.

Friday, February 15, 2013

Clone the drive, can't do a partition copy!

I was trying to move Windows 7 Pro 64-bit from a 250 Gig drive to a 1 terabyte drive that was partitioned.  I used Easus ToDo Backup Free Edition to copy the C: partition from the 250 Gig drive to one of the partitions on the 1 terabyte drive.  To my surprise, the system wouldn't boot with the 1 terabyte drive.  It wouldn't boot with the 250 Gig drive either!  I was really up the creek.  Luckily, the data on the terabyte drive could be read from my Windows 8 computer and I copied the C:\User data over to a partition on my Windows 8 desktop.

I had forgotten that Windows 7 (and 8) have some stuff on another hidden partition!  CRAP!  Lesson learned.  Clone the drives, don't copy partitions over!

I then proceeded to reinstall Windows 7 Pro from scratch.  This might not be a bad thing though.  This particular computer would sometimes not start and I had to shut the power off and try again (and select boot as normal instead of startup repair which did nothing).  So after several hours with all Windows updates and Windows 7 SP1 installed, I cloned the 1 terabyte drive back to the old 250 Gig drive and then disconnected the 1 terabyte drive to check if the system would boot with the 250 gig drive.  Success!  The 250 Gig drive will now be disconnected and the 1 terabyte drive reconnected.  The 250 gig drive will be my basic Windows 7 Pro backup in case I ever have problems.  My system is now upgraded with a 1 terabyte hard drive.  Now to install all the software back!

Friday, February 8, 2013

Classic Shell causing problems with Windows 8

The Lenovo X220 Core i7 notebook my kid has would not let him login as a standard user.  After some fruitless searches about Windows All user install agent, I decided to uninstall Classic Shell.  After a reboot, his account was now able to be logged in.  I had installed Classic Shell to make the Windows 8 look more like standard Windows with a Start Button.  Oh well, back to plain new Windows 8.


How blind are our energy analysts?

I came upon an article last week that indicated that the significance of the Nexen takeover by CNOOC was China's access to fracking technology.  This morning, I decided to try to find that article.  I couldn't, but I found these:

Having seen my homeland's economy hollowed out by short sighted business leaders (such as those who run Acer, Asus and other Taiwanese companies).  They were pivotal in developing China's IT industry by shifting production to China from Taiwan.  It is rather sad that Canada is following in the same path.  How the heck would there ever be a need for the Northern Gateway pipeline if China can now develop, with western know-how, their vast shale oil reserves?  What of the geopolitical fallout for America in the western Pacific if energy poor democracies such as Korea and Japan are beholden to the People's Republic of China (PRC)?  Is that why the PRC has been so brazen (along with the misguided Kuomingtang-led Taiwan) in the Senkaku Islands dispute with Japan?

When will we learn?

Wednesday, January 30, 2013

Mischa Elman

My first ever Mischa Elman CDs arrived yesterday from Passionato.  This 2 CD set only cost me about $6.  Wow.  You can't get bargains like that on iTunes!
His version of the Gossec Gavotte from Suzuki Violin School Book 1 is something else!  Very charming.  There is also the Mendelssohn Violin Concerto, Lalo's Symphonie espagnole and the Khachaturian Concerto.  It's crazy how cheap classical music is these days.  Elman died in 1967, but he didn't record for the big record companies it would seem.  He was about 12 years older than Heifetz and Milstein (a couple of other great Jewish violinists from Russia).