Tuesday, December 11, 2012

Ada Lovelace and Note G...

Christian Hansen has the last of his series on Babbage's Analytical Engine posted.  I've enjoyed his series; I'm sorry to see the end of it.  In this post, he nicely explains Lovelace's proposed program for computing the Bernoulli series – and he debug's her program (which, alas, was never able to be actually run on Babbage's Analytical Engine, because it was never actually completed)...

What Career Paths Do Majors in “X” Take?

Here's a nicely done interactive infographic that lets you explore this interesting question.  You can also explore the inverse: what majors end up in a given career?

What it shows for computer science majors is fascinating, and a bit of a surprise for me: they end up in all sorts of careers, with far less than a majority ending up in technology.  On the other hand, it shows that people in technology careers may have majored in just about anything (or, like me, nothing at all!), with jibes with my own experience quite well...

If Google Was Around in the '60s...

...what might it have looked like?  Here's a very cool interactive animation that old fogeys like me and the young 'uns will both enjoy – though most likely for very different reasons...


Awesome...

xkcd is awesome this morning:


A Little Fact Checking...

This article caught my eye this morning.  It claims that there's a new market for point-to-point microwave links based on the fact that they're significantly faster than fiber optic connections.  By faster they mean latency (how long a message takes to get from sender to receiver), not bandwidth (how fast the content of a message takes to transmit).  The customer in this market is the high frequency trading world (aka “algorithmic trading”).

The need for low latency amongst high frequency traders makes perfect sense.  Once an electronic order arrives at an exchange, the actual trade can happen in less than a millisecond.  But does a microwave link actually have a significantly lower latency than a fiber optic link?

The article cites two factors that make microwave links faster:
  1. The speed of light in air is about 300,000 km/sec, but in fiber is about 200,000 km/sec.
  2. The route of microwave links tends to be more direct than fiber routes, which usually follow the right-of-way alongside railroads or highways.
The first reason is simple physics.  The second is true, but less certain.  There are also a couple of factors left out of this equation: both microwave links and fiber optic links require signal repeaters along long routes, but microwave links require them at smaller intervals – and each signal repeater introduces a small delay.

So let's do some math on the big market cited by the article: connections for traders in Chicago who are trading on a New York exchange.  The direct distance between Chicago and New York is about 1,150 kilometers.  Here's our math for each approach.

Fiber optic:
  distance = 1,150 x 1.3 (routing length factor) = 1,495 km
  latency = 1,495 / 200,000 = 7.45 ms
  repeaters = 2 (every 500 km) @ 0.2 ms = 0.4 ms
  total latency = 7.85 ms

Microwave
  distance = 1,150 x 1.05 (routing length factor) = 1,207 km
  latency = 1,207 / 300,000 = 4.03 ms
  repeaters = 4 (every 250 km) @ 0.2 ms = 0.6 ms
  total latency = 4.63 ms

Microwave beats fiber by 3.22 ms, one way - over three times the trading latency.  Yup, that's significant.

But there's one way to make this much, much lower latency, which the article doesn't mention at all – and it's the most common way by far: locate the high frequency trading servers physically nearby the exchange servers.  The electronic exchanges all offer (very expensive!) rack space in or near their datacenters for exactly this purpose...

Monday, December 10, 2012

Farmer Style...

Awesome!

Sunday, December 9, 2012

How to Spot a Bureaucrat Who Needs to be Fired...

I'll give you two answers:
  1. (only slightly facetious): Any bureaucrat you spot.
  2. (more seriously): Any bureaucrat who thinks that borrowing $2.5 million under terms that required over $35 million is a “good deal”.  And that's not even the worst example!  Oh, and the examples are from California, of course.  And it's so bad that even NPR is reporting it!  I originally heard this on the radio (I listen so my readers don't have to), and almost drove off the road in shock...
Bureaucrats and your money:

    Rope
    Tree
    Bureaucrat
    Some assembly required

Awesome!

Today's Dilbert strip made me laugh out loud:


Love the twin snorks :)

Management often makes themselves easy to lampoon, but still ... Scott Adams somehow always manages to get engineering's perspective across in a way that anyone (in or out of engineering) can understand...

Java Geek...

Just over five years ago, I started working at ServiceNow.  Now I'm in the process of transitioning out, as I'm retiring.  That's “retiring” in the sense of not being formally employed – I certainly won't stop designing and building stuff.

Before I went to work at ServiceNow, I had been using a commercial Java IDE called IDEA, from JetBrains (that's their logo at right).  I loved it in the way that any craftsman loves a fine tool.  But the standard at ServiceNow is the open source Eclipse IDE, which is awesome in its own different way.  I found Eclipse to be just fine as an IDE, but I didn't get the same pleasure from using it that I did with IDEA.

So yesterday I bought IDEA and started using it again, for the first time in five years.  That's enough time that my “muscle memory” had completely forgotten it, and I'm relearning it from scratch.  But I can tell you already that it has gotten better in the past five years – much better.  It has also kept up with all the latest dohickeys and whatnots, so (for example) it now directly supports git and GitHub and Maven and so on.  The code inspection and intention features made me smile as I worked – IDEA seems to always know what I'm about to do, and gives me a simple way to avoid having to type it.  It's awesome!  And it's very good to have my fine tool back again...

Saturday, December 8, 2012

Cats and Puppies...

Via reader and friend Simon M.:


A Parable...

Via my mom:
JESUS AND THE DEMOCRAT

A Republican, in a wheelchair, entered a restaurant one afternoon and asked the waitress for a cup of coffee. The Republican looked across the restaurant and asked, "Is that Jesus sitting over there?"

The waitress nodded "yes," so the Republican requested that she give Jesus a cup of coffee, on him.

The next patron to come in was a Libertarian, with a hunched back. He shuffled over to a booth, painfully sat down, and asked the waitress for a cup of hot tea. He also glanced across the restaurant and asked, "Is that Jesus, over there?"

The waitress nodded, so the Libertarian asked her to give Jesus a cup of hot tea, "My treat."

The third patron to come into the restaurant was a Democrat on crutches. He hobbled over to a booth, sat down, and hollered, "Hey there honey! How's about getting me a cold mug of Miller Light?" He too looked across the restaurant and asked, "Isn't that God's boy over there?"

The waitress nodded, so the Democrat directed her to give Jesus a cold beer. "On my bill," he said loudly.

As Jesus got up to leave, he passed by the Republican, touched him, and said, "For your kindness, you are healed." The Republican felt the strength come back into his legs, got up, and danced a jig out the door.

Jesus passed by the Libertarian, touched him, and said, "For your kindness, you are healed." The Libertarian felt his back straightening up, and he raised his hands, praised the Lord, and did a series of back flips out the door.

Then, Jesus walked towards the Democrat, just smiling.

The Democrat jumped up and yelled, "Don't touch me ... I'm on disability."

ResMed Leaving California?

Via reader and friend Simon M.:
ResMed Inc., one of San Diego’s largest medical device companies, is evaluating whether it should move its headquarters outside of California.

ResMed CEO Peter C. Farrell cited California’s tax increases, strengthening union presence, strict regulations and the Democratic majority in the state Legislature as reasons the company is looking elsewhere. The company posted revenue of more than $1 billion last year.
Read the whole thing.

As Simon says, “Bet we see more of this...”

Firefights...

Michael Yon has several videos of firefights in Afghanistan...

Friday, December 7, 2012

Real Places...

The photo at right is of Mt. Roraima, in Venezuela.  It doesn't look real – I'd have guessed it was created by an artist.  But it is real!  Here's a web site devoted to such things...

Bombs on London...

In WWII, that is.  Here's an amazing interactive map showing the exact location of every bomb that struck in the London area during the Blitz.

It was quite sobering to look at the areas I'm most familiar with, such as Richmond and Kew Gardens.  I've walked over or by quite a few of these bombed locations, but never knew it...

Thursday, December 6, 2012

We're a 21st Century Couple...

...or something.

A few minutes ago, I'm in my home office, door closed, Christmas music playing loudly, and foot heater going full blast.  Debbie is about 10 feet away, in our bedroom, doing her physical therapy exercises and watching a movie on her iPad.  She spots one of our cats (Maka Lea, our little physiologically challenged fellow) stuck in the bedroom.  He wants to get into our livingroom, but he can't jump over our dog gate.  Debbie can't easily get him there in her current state.  She wants to get my attention.  How does she do it?

She emails me.

Our Moon?!?!

Did some kid run amok on the moon with a set of different colored paints?  What is this?

This particular image shows the thickness of the lunar crust around the entire surface of the moon.  The data to create this image came from NASA's GRAIL satellites, delightfully named Ebb and Flow, which measure the gravitational field of the moon with unprecedented resolution and precision.  The crustal thickness map is just one of many results from the mission.  More here and here...


Earth at Night...

NASA has posted some beautiful composite photos and movies made by the Earth Observatory satellite, showing the night sky of Earth.  It took me several tries to download the movie; I suspect the site is overloaded as this has gotten wide distribution.  As usual, you can use the brightness of any given area as a proxy for human wealth – check out North Korea, Yemen, and Mali to see what impoverished areas look like.


Corruption Perceptions...

Transparency International has released their Corruption Perceptions Index for 2012, complete with a lovely interactive infographic (snapshot below).  There really aren't any surprises for the bad guys: North Korea, Afghanistan, Somalia, Venezuela, etc.  The good guys list is surprising mainly for which countries are not on the list: U.S., Britain, Germany, and Japan.


Is This What Obama Is Hiding?

The terrorists who killed our ambassador to Libya and three others were using weapons provided by the U.S.

I don't have the words...