Random Thoughts of a Scatterbrain.
 Thursday, November 09, 2006

Bill Simmons: NBA Week 1

11/9/2006 3:44:05 PM (Eastern Standard Time, UTC-05:00)

I just had to share, a really humorous look at the week that was in the NBA.

http://sports.espn.go.com/espn/page2/story?page=simmons/061108&lpos=spotlight&lid=tab2pos2

 Wednesday, November 08, 2006

An Early Look At JavaScript 2

11/8/2006 10:45:12 AM (Eastern Standard Time, UTC-05:00)

There's a slide deck over at the Mozilla deverloper site that covers some of the changes/additions/bugfixes to be found in JavaScript 2.  It's interesting and worth taking a look.

With IE7 just out the door, I wonder if JS2 will ever really take off.  Certainly, if Microsoft decides that they have no interest in JS2--and a good question is why would they have interest in JS2 if XAML with .Net is superior, in their minds--then it would end up excluding a large set of browsers and thus a large set of developers and users.

It remains to be seen how Microsoft continues to regularly update IE7.

 Saturday, November 04, 2006

Spirit and Opportunity (a Tribute)

11/4/2006 3:47:25 PM (Eastern Daylight Time, UTC-04:00)

16,500,000,000.

16.5 Billion US dollars.

That's the budget assigned to NASA, all of NASA, for 2006. With this relatively miniscule budget, some of the brightest engineers in the world are asked to scrape by on what amounts to table scraps. These engineers are tasked with performing seeming incredulous feats, when we really consider the scale of things and put their tasks into perspective.

I saw an amazing picture the other day. It was a shot of the space shuttle launching from Earth, as seen from space by our astronauts in the ISS. The plume of smoke, from space, looks oddly organic: as if a tendril from a microscopic organism, reaching out into the space around it, feeling for a safe path. It’s a visual that I don’t think I will ever forget in its uniqueness and the amazing perspective that it provides (both literally and metaphysically).

What happened to the days when our superiority in space exploration was a well of national pride? What happened to the dreamers that dreamt of men on the Moon and voyages to Mars? Nowadays, once relatively technologically backwards countries like China and India are increasingly investing more money into their space programs as it is a source of national pride and profit in some cases:

Operating on a fraction of NASA’s budget, the ISRO has turned itself into the Energizer Bunny of space programs – it just keeps launching and launching and launching. Since 1975, the agency has lofted 43 satellites into orbit, 20 of them from Indian soil. An extraordinary string of successes – 12 consecutive launches without a failure – has attracted European and Asian investors looking to capitalize on growing demand for satellite communication and reconnaissance. A few big deals could turn the ISRO into a moneymaker, boosting India’s prestige… (Scott Carney, Wired, 11/2006)

It’s amazing when you start to wonder what could be if even half the amount of money spent on the Iraq war were given to NASA. What amazing places could we visit? What incredible sights could we see? What mind-shattering breakthroughs would we find in the fields of astronomy, physics, astrophysics, and our understanding of our existence could we encounter in the deeps of space?

I put a lot of blame on the current administration; it is one that has publicly cast doubt on and often put science to the wayside. It is one that has sat by abjectly while controversy swirled, allowing false prophets to cast doubt on evolution, the separation of church and state, and the importance of the science overall.

As I was reading my December issue of Car and Driver, I came across an article on the twin mars rovers, Spirit and Opportunity, and the amazing journey that it has made. These machines are our proxies in the exploration of our solar system, providing us with an amazing view of one of the most promising planets insofar as human habitability goes.

There is something incredibly – and perhaps this is not the best term to describe this – awesome about the idea that this little man made machine is rolling along, millions of miles from the nearest human being.

Millions.

I think the public, in general, has a hard time understanding such scale and take it for granted.

Thus far in human history, about two thirds of the 36 Mars probes have been lost en route or in the creation of smoking holes on the surface… (Aaron Robinson, Car and Driver, 12/2006)

What’s perhaps more enlightening is the following quote from Mark Maimone, a Jet Propulsion Laboratory mission planner:

As long as NASA keeps shoveling in the case – an additional $84 million since touchdown – “The pressure is still on to make use of this national resource”… (Aaron Robinson, Car and Driver, 12/2006).

It is quite incredible when you consider how much of our research of space is done on technology older than I am (25). Our shuttles are from a bygone error using computers which are probably outclassed by most smartphones these days. Of this, Robinson points out:

Because Congress is overdue in authorizing bandwidth upgrades to the Apollo-era global array of radio dishes called the Deep Space Network, the team gets only two brief time slots per day to phone the rovers.  (Aaron Robinson, Car and Driver, 12/2006).

It’s sad to come to this realization. The space program, to me, is a vehicle for inspiration. It should be a source of national pride. A source of dreams – impossible dreams – for a new generation of scientists and engineers. A well from which we draw inspiration for our students and our people. Indeed, it’s an amazing resource, one who’s monetary benefit cannot be measured or counted.

Perhaps the coolest part, at least to me, about the Mars rovers, is their “evolution” in the form of software upgrades. The Car and Driver article also speaks of the amazing journey and longevity of the rovers. Once thought to last perhaps only 90 days or so, the rovers have now surpassed a lifetime of ten times that. Like Replicants in Blade Runner, Man has created this proxy knowing that it would only live for short period of time and here it is, fighting to survive (well, with the help of some human caretakers, of course).

 Tuesday, October 31, 2006

Fitting Halloween Posting

10/31/2006 3:54:39 PM (Eastern Daylight Time, UTC-04:00)

Bones?  Halloween?  Yah?  No?  Wait, I got another one: Charlie "digital", get it? Okay, lame, I know :-).

In any case, that's my finger.

That little piece of bone hanging off of my middle phalange is a chip fracture that I suffered about 4 weeks ago at the gym playing basketball.  Turns out it was more than just a fracture.  As my finger was hyperextended, the tendon at the joint actually tore partially (which explains the excruciating pain and swelling) and as it tore, it actually took a small piece of the bone with it.

The ER doctor had my finger in a straight splint for the last four weeks, which totally messed up my finger because it needed to be in a curved splint to account for the hyperextension and to release stress on the tendon.  Doh!

I've been mostly getting by with 4 finger typing on my left hand, but spelling mistakes are plentiful and I feel as if my WPM is down at least 33%.

Well, looks like it'll be another 2 weeks in a splint for now.  This has me wondering: can/should us keyboard jockeys insure our hands?

In any case: Happy Halloween!

 Monday, October 30, 2006

Just to Share...

10/30/2006 6:36:44 PM (Eastern Daylight Time, UTC-04:00)

Great quote from Jason Kidd on David D'Alessandro's Nets postings:

“I feel physically that I can average a triple-double,” Kidd added. “That’s the way I approach the season, for me to physically and mentally be involved -- rebounding, finding the open guy and scoring points and playing the game in that form of being involved (in everything). If it’s for 30 minutes, then in those 30 minutes I will give ‘em hell.”

Particularly that last sentence.

Wowzers!

10/30/2006 2:58:23 PM (Eastern Daylight Time, UTC-04:00)

From an article in the Miami Herald:

Debra A. Reed voted with her boss on Wednesday at African-American Research Library and Cultural Center near Fort Lauderdale. Her vote went smoothly, but boss Gary Rudolf called her over to look at what was happening on his machine. He touched the screen for gubernatorial candidate Jim Davis, a Democrat, but the review screen repeatedly registered the Republican, Charlie Crist.

Um...wow?

And keep in mind, this is with comparatively light usage in early voting...

What's more interesting is another article I came across:

About 15,000 internal Diebold e-mail messages also found their way to the Internet. Some referred to software patches installed on Diebold machines days before elections. Others indicated that the Microsoft Access database used in Diebold's tabulation servers was not protected by passwords.

Access? AccessThat Access?

OMG! WTF!?

Incredulous!  Does Diebold hire some kiddy junior programmers or something?  As much of a Microsoft fanboy as I am, I would not trust Access as a database to store votes.  No, no, no, and NO.

 Thursday, October 26, 2006

The Most Absurd Piece of Pork Ever??

10/26/2006 10:06:52 AM (Eastern Daylight Time, UTC-04:00)

Something about a 700 mile fence to keep out Mexican immigrants seems like wasteful pork to me.

President Bush signed a bill Thursday authorizing 700 miles of new fencing along the U.S.-Mexico border, hoping to give Republican candidates a pre-election platform for asserting they're tough on illegal immigration.

The measure Bush put into law Thursday before heading for campaign stops in Iowa and Michigan offers no money for the fence project covering one-third of the 2,100-mile border.

Wow.  You know, anouther country--another culture--tried this previously with a much more substantial wall and that didn't end so well.  True, we're not trying to keep out marauding conquerers or anything of the sort, but nonetheless, I think it's been proven time and again, that building these things is pretty much only a symbolic gesture at best; those that are determined will breach it somehow if they want to.  In this case, it's just a pretty useless waste of money.

It all seems like a huge waste of money and resources...I'm not really sure what this wall is supposed to do.  Can't people just dig under it?  Go around it?  Use a ladder or rope and climb over it?  If anything, it gives a false sense of security that may actually weaken border security exactly where the fence is.  I mean, at least without the fence, you can see what's happening on the other side.  Now this thing provides perfect cover for someone digging a hole...

Perhaps the thing that's bothered me the most is how this has turned into a black and white issue pivoting around what is essentially a uselss symbol:

Cornyn said he voted for the fence because he wanted to help demonstrate that Congress was serious about border security.

"The choice we were presented was: Are we going to vote to enhance border security, or against it?" Cornyn said. "I think that's how the vote was viewed."

Wow.  It never ceases to amaze me how bad it's getting.  Lawrence Lessig puts it best in a recent issue of Wired (albeit on a different topic, but his words still ring true):

A citizen was considered dependent when he was not free to act in the public good because his own well-being depended on a particular result.  "Nondependency" meant being able to choose what was right, without worrying about personal consequences--no agenda other than a democratic one.

All but few members of Congress devote the majority of their time to raising money for reelection.  Doing the job we've hired them to do--governing--takes a distant second place.  A good politician comes to understand precisely how much his campaign will gain or lose with each decision he makes.  Like rats in a science experiment learning which lever delivers food, politicians learn the complex dance that keeps them in office.

Rats indeed!

How about growing a pair of cojones and actually explain the issues to your constituency and talking about why the fence is a stupid idea and come up with some better solutions?  I guess it's too much to ask of many of our political leaders to come up with real solutions these days.

 Tuesday, October 24, 2006

Some Very Nifty JavaScripting

10/24/2006 10:37:14 AM (Eastern Daylight Time, UTC-04:00)

So I came across a video on YouTube for a web calendar application called Scrybe.

I was at first unimpressed.  "Meh, another web calendar application."  But you know as with all things that get reinterpreted time and again, Scrybe brings its own flavor to the game.

I think the first thing I noticed is how polished the application was.  Obviously, a lot of detail was put not only into thinking through the functionlity, but also into how the UI is presented to the user.  It's a very simple and yet compelling UI that keeps it nice and clean.  Outlook seems...cluttered by contrast.

While most of it is standard fare for web calendars with slightly better eye candy, there are a few standout features.

One of the neat things that is first introduced in the video is offline synching capabilities.  I can only guess that this is using local cookies with timestamped data which is sent back to the server the next time the client connects.  A very cool idea that I never would have thought of using.

The second neat idea is the "thought stream" generation (or should I use the term "tracking"?).  It's a nifty idea to allow simple content generation from scattered resources into a single, continuous document that allows you to aggregate your thoughts together (as opposed to say RSS feeds, which you would use to aggregate the thoughts of others).  It looks like it's using some sort of browser plugin for this or it could be a frame/iframe toolbar.  In any case, it's a cool concept if they can add some more functionality to it (would be cool to kind of have linked thought streams on similar topics so you could follow random thought streams to kind of discover things that you otherwise would never have seen/thought of in the context of a particular subject).

The third really neat (and simple!) idea is the printout, foldable calendar!  So simple yet so useful and effective for keeping users "connected" to your app.  I'm not sure if anyone else has done this yet, but if not, kudos to these guys for coming up with something so simple and useful.

Personal note: so what's the lesson here?  Start with a basic need and reinterpret it while adding your own little twists and tweaks here and there.  They don't have to be ground breaking or particularly difficult from an engineering perspective, but natural, easy to use, and useful.  Add a little pizzaz and polish and you may have a winner on your hands.

Now if they could come up with an integrated mail client as well...

 Saturday, October 21, 2006

IE 7 Scare...

10/21/2006 3:35:24 PM (Eastern Daylight Time, UTC-04:00)

Man, IE7 gave me a good scare this morning.  You see, I just put together a new development machine, and, without thinking, replaced IE6 as soon as my Windows updates were done.

So imagine my surprise when I pulled up a client page that I'm working on at the moment!  Broken!

Now, bear in mind, this page was written to be 100% compatible with FireFox while the client uses IE5.5 (my corporate client doesn't require but I prefer the developer tools in FireFox so I make it compatible for my own sake) yet IE7, which is supposedly more standards compliant now, still rendered it incorrectly.

So after the panic settled off :-D, I started to look around for solutions to perhaps some directive or header or something that I could place in my HTML to force IE7 to render as IE6.  Unfortunately, I didn't find anything of the like.  It seems like IE6 rendering has been completely discarded.  This seems like a stupid move on Microsoft's behalf (if it's indeed fact that you cannot force IE6 rendering) as many corporate clients will likely never upgrade to IE7 as it would involve lots of man hours undoing the CSS and JavaScript hacks to work around IE5.5/6 rendering.

The inclusion of such a switch would have made everyone's life a lot easier.

So of course, my next course of action was to see if I could find a standalone version of IE6 that I didn't have to install.  This lead me to a blog post by Jon Galloway on how to install and launch IE7 as standalone and  a discussion on quirksmode.org.  On the former: unfortunately for me, as I'd already installed IE7, it was too late for that and plus, I'm not really into all of that registry hacking.  On the latter: after reading the quirksmode thread comments in this thread presented various options, one of which led me to a download for a standalone IE6.

To cut to the point, this download works!  Yup, as a standalone IE6 so you can install IE7 and then have this around as your development browser to test for compatibility.  The only unfortunate thing is that I can't use it as a seamless browser in EditPlus; I have to use it as an external browser unless I set it as the system default browser :-S

What Microsoft should have done, really, is allow for some sort of in-content or HTTP header switch to ask IE7 to render in IE6 mode (include the logic for IE6 (and IE5.5 for that matter) rendering in the codebase for IE7) so that existing pages can be made compatible with IE7 with little rework.

 Monday, October 16, 2006

.Net On The Up And Up

10/16/2006 12:26:12 AM (Eastern Daylight Time, UTC-04:00)

I guess it's kind of like rooting for the home team.  I don't really know how it came about, though.  I started programming back in high school starting from BASIC to C and eventually, at the college level, I worked with Java for 4 years.  It's a wonder that I'd end up--and I'll admit it--in the Microsoft camp.

It seems like many Fortune 1000 companies are catching the same bug:

A recent survey of the Fortune 1000 websites by Port80 Software shows that Microsoft's Internet Information Services (IIS) usage has doubled over the last year as it is being used by 54.9 percent of companies. In contrast, Apache usage has dropped to 23.3 percent placing it 4 percentage points lower than IIS6 alone. While the results could very well be accurate, it should be noted that Port80 Software has a bias toward Microsoft as it is one of their partners, not to mention the company specializes in developing tools and solutions for IIS.

I think C#, in particular, is making converts at the grass roots level; it's an efficient and well designed general purpose programming language that, in my opinion, trumps Java.  I think C# 3.0 (not to be confused with the oddly named .Net Framework 3.0) will once again up the ante and bring a whole host of new language features to C# (and to other MSIL languages, I suppose) that show once again why Java is becoming...archaic.

I will admit, though, one of the biggest knocks against the MS development direction is valid: they've really dumbed down development for the masses.  They've made the platform so accessible that it's kind of lowered the standards of what passes as a .Net developer.

A rant for another day, I suppose ;-)

RSS 2.0 Atom 1.0 CDF