Please enable Javascript to view this site.
 

Ether

While reading about Galilean transformation and electromagnetism (as a prelude to the implications of the special theory of relativity on quantum mechanics, which I’m reviewing since I never did that well in my quantum mechanics class at Princeton), I learned something about ether that I didn’t know before. To me, ether was always either a classification for organic compounds, an item that restored manna to RPG characters, or an archaic word for “space.” Now, I just learned that ether was actually the name given by early physicists to the medium through which electromagnetic radiation was thought to propagate (just as sound, for example, propagates through air).

As the Michelson-Morley experiment would later show, electromagnetic waves are indeed capable of propagating without a propagation medium (see explanation below). This in turn allowed Einstein to develop his special theory of relativity as we know it today. So, the “ether” coined by those early physicists was nothing more than an imaginary construct created to help people of that time understand electromagnetic phenomena. Fascinating, isn’t it?

The Michelson-Morley experiment didn’t explicitly disprove the existence of ether. It did, however, show that light travels at the same speed in perpendicular directions, which, assuming ether did exist, wouldn’t be possible unless the ether frame moved in sync with the Earth’s rotation, which would be a preposterous claim. (They believed the ether frame was rooted either in the solar system’s center of mass or in the center of the universe.) It was Einstein who later used these experimental results to assert that there is no ether frame, which means the velocity of light is only relative to the observer’s own frame, which would then result in the famous concept of a “constant speed of light, c.” Einstein then used this idea to arrive at his famous postulate:

The laws of electromagnetic phenomena, as well as the laws of mechanics, are the same in all inertial frames of reference, despite the fact that these frames move with respect to each other. Consequently, all inertial frames are completely equivalent for all phenomena.

This was an incredibly bold statement at the time, because it meant that Maxwell’s equations and Galilean transformations could not both be correct (one of them had to be wrong). Even bolder, Einstein chose to modify the Galilean transformation, which meant he was challenging the fundamental equations of Newtonian physics!

I'm Back

For a while lately my eyes had been unclouded to the truth that blogging is vain and fruitless. That moment of clarity has passed, and now I’m back!

In all truthfulness, I do believe blogging has some value. It provides a sounding board for ideas and rants, and due to some strange psychological reason, unloading my thoughts, or at least a certain subset of them, onto a public webpage accessible by billions of people (with actual readership likely numbering in the low single digits) gives me a sense of relieved gratification. I see it as ‘talking to yourself in public’ taken into the 21st century. Add to this the fact that I’m posting this on my phone while on a train from New York to Philly, and I can almost convince myself that this is all somehow “cool.”

Anyway, what prompted this post is that I was just reading an article in the WSJ on recent job cuts in the financial sector and came across this quote

“[An attorney] filed an arbitration claim this week on behalf of a former mortgage backed securities salesman at Merrill Lynch & Co. Despite having his best year ever, the salesman’s pay plummeted to about $190,000 from $1.2 million. ‘He couldn’t make enough money to feed his family.’”

Poor guy.

I Modded my Wii

Now I can finally play Japanese Wii games like Bleach. Although there are several different modchips out there, such as DC2Key, CycloWiz, Wiinja, and Yowii, I chose to go with the WiiKey because canadamods.ca was (and still is, at the time of this post) selling it for a really cheap price compared to other chips I’ve been seeing elsewhere.

Wii Bleach Game
The longest part of the install process was waiting for my tri-wing screwdriver to arrive in the mail. Why does Nintendo insist on using tri-wing screws in their devices? Anyway, once my $4 screwdriver ($5 shipping) arrived from Florida, I was able to finally take apart my Wii and isolate the DVD drive, which is where the WiiKey needs to be installed.

Wii DVD Drive
I used a 15 Watt soldering iron with rosin-core solder and 30 AWG kynar wires. I’m too cheap to buy flux, so the soldering itself took longer than expected. I haven’t soldered in quite a while, and modchip jobs make the soldering from Princeton’s ELE 302 look like toy LEGO projects (no disrespect to LEGOs; they’re awesome). I found it useful to cover up the area around the soldering points with electric tape. At least this was easier than the soldering for my PS2 modchip– that one was just insane.

My Desk
After I finished soldering, testing connectivity with a multimeter, and putting the Wii back together, I popped in my Jap Bleach game and… nothing. It couldn’t read the disc. My first thought was, “Crap!” Then I popped in a normal US game, and it played, so I thought, “Whew! But still…” So, I moseyed on over to the Internets and asked my friend Google what was up, and found out that by default the WiiKey doesn’t have region unlocking enabled (I assume because of the danger of bricking a Wii with automatic foreign firmware updates). I then downloaded the WiiKey configuration ISO from mininova, burned it, used it to enable region unlocking, popped my Jap Bleach game into my Wii again, saw it play, and shouted, “Yatta!”

Success!

Not Your Typical Drive to Work

I was driving to work this morning when the lady in front of me swerved off the side of the road and hit a wooden telephone pole, bringing the entire pole down on her car. The entire front end of her car was demolished, and there were billows of smoke coming out from the engine area. I pulled off to the side of the road, made sure the car wasn’t about to explode, helped the lady out of the car, and called 911. Miraculously, other than being shaken up, she was alright. The smoke coming from the wrecked car smelled really funny though. I hope it wasn’t anything toxic.

An Amusing Discovery

Back when I was an undergrad, I started getting into kpop and joined a certain online forum discussing said art form. One of the members of that forum was an MIT alumn who had recently started a website which, besides showcasing his own excellent manga-style artwork, also hosted an oekaki board (like a forum, except users draw pictures rather than write posts). On this oekaki board I drew a certain painting of a famous jpop singer which I then used as my profile picture on a popular online music social networking site. Tonight, I discovered that a certain contributor to NPR’s “All Things Considered” had grabbed that profile picture and posted it on her blog as something that had recently become one of her daughter’s favorite “photos.” And that NPR contributer comes from, of all places, the same state I’m from. I don’t know why, but I get such a kick out of tiny things like this. :)

Lea Salonga!

OMG OMG OMG OMG OMG OMG OMG… I just met Lea Salonga after a performance of Les Misérables!  And she signed my Les Misérables playbill! And we took a picture together! She’s so nice. :D But dang, my head looks so big in that picture. XD Being there by myself, there was no one else to take the picture for us, so I had to hold the camera out and do a self-take, thus the weird angle and disproportionate head sizes. :p I’m just glad it turned out half decent. (^_^ And I swear, this is the only time you’ll see me use so many OMGs and smileys. ^^;;

Lea Salonga

Okay, now that I’ve had a chance to calm down a bit… Lea Salonga has always been one of my favorite singers/actresses ever since I heard her perform as Eponine in Les Misérables and Kim in Miss Saigon.  Growing up, I also heard her sing and voice act in many of my favorite Disney movies.  In the recent Les Misérables revival, they decided to cast Lea as Fantine.  When I learned that, I immediately bought tickets to the show.  Tonight, after the performance, I waited outside the stage door along with dozens of other people for Lea to come out, and when she finally did (and after patiently greeting the 20 or so other people in front of me in the line), I finally got to talk with her and take a picture!

The Math behind Google’s Pagerank

Pekkle sent me a link a while ago to an article at AMS about how Google determines the importance of a page, also known as its pagerank. It’s actually a very interesting paper and a pleasure to read, especially the first few pages where the author takes you through some elementary logic to arrive at an elegantly simple representation of the entire world wide web’s pageranks as the eigenvector of a square matrix described simply by the number of links on each page. If you’re like me and derive gratification from seeing real world problems reduced to abstract mathematical constructs, you’ll have a blast with this one. I also found this short review of eigenvalues and eigenvectors helpful, as it’s been a while since I’ve touched any linear algebra.

Hooking up a Laptop with no Hard Drive or Ethernet Port to a CentOS Server

A friend of mine was getting rid of a really old laptop (ten year old Celeron 333 with no working hard drive or ethernet port), so I picked it up, figuring it would work as a dedicated console for my CentOS server.  Here are the steps I took to hook it up through a serial interface to my CentOS server.

First, you need to setup the serial console on the CentOS box (basically the same as RHEL or RedHat). There’s a nice tutorial online, the gist of which is:

1. Check serial ports:

[root@navi root]# dmesg | grep tty
ttyS0 at 0×03f8 (irq = 4) is a 16550A
ttyS1 at 0×02f8 (irq = 3) is a 16550A

[root@navi root]# setserial -g /dev/ttyS[01]
/dev/ttyS0, UART: 16550A, Port: 0×03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0×02f8, IRQ: 3

2. Configure agetty in /etc/inittab:

# Run agetty on COM1/ttyS0 and COM2/ttyS1
s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 9600 ttyS0 vt100
s1:2345:respawn:/sbin/agetty -L -f /etc/issueserial 38400 ttyS1 vt100
#s1:2345:respawn:/sbin/agetty -L -i 38400 ttyS1 vt100

3. Create the /etc/issueserial file to be used by agetty (more info):

Welcome to \n.\o
Connected on \l at \b bps

4. Reload inittab with the following command:

[root@navi root]# init q

5. Check to make sure agetty is running. You should see two agetty processes running, one on ttyS0 and one on ttyS1, with the command:

[root@navi root]# ps -ef | grep agetty

6. Finally, if you want to allow root to login through the serial console, you need to modify /etc/securetty to include the serial devices after the “console” line:

ttyS0
ttyS1

That takes care of setting up the CentOS server to allow serial console logins. Now we need to setup the laptop.

The laptop was given to me by a friend, so I can’t really complain about its specs:

  • 333 MHz Celeron
  • 18-bit color 800×600 screen (important to note later on)
  • NM2160, 2 MB video card
  • 96 MB RAM
  • No hard drive (it used to have a 4GB HDD, but that died, and I have no replacement)

Given these specs, I decided to use DSL (Damn Small Linux), since it can run off a CD and is very lightweight. Because the native screen specs are a bit unconventional, you can’t just simply boot up DSL, otherwise you’ll get a faded green screen with blurry, illegible text. Instead, at the boot screen you need to set the correct video mode with:

> dsl 2 vga=788

Once you’re at the shell prompt, run microcom to connect to the server (more info):

root@tty1[/]# microcom -D/dev/ttyS0

If all is well, you should get a login prompt for your server. We’re now able to use a ten year old laptop with no hard drive or ethernet port to manage a CentOS server.