Categories
Weather Web

Where or where is my Weather Underground

Looks like someone forgot to pay the domain renewal fee at Weather Underground:


update

The Weather Underground issued the following statement:

Hello Wunderground users. We first want to apologize for the connectivity issues that many of you are or have been experiencing. The problems were caused when someone at our domain name registrar inadvertently made a change to our domain name record. This essentially means that in the yellow pages of the Internet, they got our address wrong. Most people were left unable to the find our site and were instead presented with our registrar’s default page.

We’ve been working frantically here trying to do anything we could to minimize the damage. We’ve just received word that in about 2 hours most of the connectivity should be restored thanks to some quick work by our registrar. In the meantime if you’re in contact with individuals who cannot access the site through the wunderground.com domain name, please let them know that they can still access the site through weatherunderground.com.

Amazing how vulnerable we are to a slip in the DNS, eh?

Categories
SVG

Zooming with SVG

I wanted to highlight a comment Bruce Rindahl made to an earlier post (with his permission):

http://www.lrcwe-data.com/DeepZoom.svg is a modification of a project I have been working on. I hacked together some code to mimic the animation effect of the Hard Rock site. First some credits.

The original work was funded by the State of Colorado and Division of Water Resources. Earlier work by the Urban Drainage and Flood Control District.Everything was based on work done by (and GPL’d) at www.carto.net.

The animation was done using SMIL attributes in the SVG standard. It requires the Adobe SVG plugin. It will run on say a Windows 2000 machine in IE6 using a 5-year old plugin […]. The imagery is over 60 GB (almost 2 orders of magnitude more than Hard Rock) served up via an Open standard WMS server (Mapserver) via a Python based cache program (TileCache). Vector data is displayed via SVG using an open source database (PostgreSQL/PostGIS). Without the animation it works in Opera, Safari, Firefox3, and IE with the plugin. The animation works in Opera but has a bug in it which makes it jump – I am tracking that down. Safari should handle it soon. The animation can be jumpy at times but part of that is the coordinate system I am using. The Adobe SVG plugin struggles with numbers that high. Everything is controlled via JavaScript.

Bottom line for me – meh. The animation is cute for a while but it is not worth the extra overhead. Keeping all the downloaded photos just so the user always sees an image is not worth the memory required. The default display is just like Google maps which most users are familiar with. I agree with Mr. Ellis that the development tools are not there to match what is available for Flash but then who would build them when Microsoft won’t support it?

Unlike my earlier silly little example, Bruce’s work is impressive, especially when you consider that most of the technology and specifications used in the effect have been out for years, and it works with Adobe’s now old SVG plug-in in IE6. His work isn’t based on one packaged framework, either, and pulls together previous GPL’d work, as well as several open source technologies into one, cohesive whole.

Bruce also makes an important point: why do the effect? It takes up bandwidth, requires extra work, and what does the functionality provide, other than a few useful implementations like Google Maps? If you want to know why something like JPEG 2000 hasn’t been implemented in most browsers, and only brokenly with Safari (because of a broken implementation in the Mac OS X), it’s because few people are asking for this functionality. In addition, as Bruce notes, why would people expend effort when we know the work won’t work with IE?

I see work like Bruce’s and others as a worthwhile effort, regardless of Microsoft’s unwillingness to meet its earlier commitment to standards. Adobe’s SVG plug-in is not the only SVG plug-in, as Examotion is actively working on an SVG plug-in, which should handle what Adobe does, and more.

More importantly, the more we use these technologies, the more tools created, leading to more sophisticated works, leading to better tools, and so on. We have to prime the pump before we can draw water.

As for whether the effect is useful is really in the eye of the beholder. For instance, I don’t see that the previously linked Hard Rock Cafe’s application to be useful, especially given how limited the access is to the application. However, I’d like to have the pieces that go into the effect, of which Bruce has demonstrated an open source equivalent. (About the only thing missing is JPEG 2000 for advanced image compression. )

By having the pieces in place, we’ll be ready when we do get ideas of how these effects can be combined into something useful, or innovative.


Bruce also supplied a link to a variation of the application that works with Firefox, Opera, and Safari.

Categories
SVG

SVG doesn’t need to compete and neither do I

The worst mistake I made in the recent discussions about open compared to proprietary technologies was to allow myself to be pulled in by sweeping statements such as, “the W3C has failed”. Not only be pulled in, but to get into some form of competition over which is the best: SVG/Ajax, Silverlight, or Flash.

The W3C has failed because Rich Internet Applications are the way of the future, or so goes the prescient among the pundits. Standards are dead, said others. Silverlight is the future. No, no, make that Flash. Silverlight! Flash! And on it goes, with poor SVG dragged along like the cousin who showed up at the dance without a date.

At the same time I waded into the battle of the—well, we really can’t call it vector graphics, as there is so much more involved— I also wrote about IE6 and the difficulty of ending the life of this seven-year-old browser. A seven-year-old browser that still dominates so much of the web. Person after person told me about this place or that with umpteen thousands of employees all using IE6. Someday, I’m told, we’ll signal the EOL of IE6, but not today. Not today.

These are two different views of the world, neither of which is compatible with the other. Either the world is ready to leave the W3C and other web standards organizations in the dust as we leap into the bright future where all the web is a box embedded in a single page with a big friggen cloud behind it, or we’re living on the edge just using transparent PNGs.

The Hard Rock Cafe website is fun, but it doesn’t work on my pre-Intel Mac, nor with Opera, and crashed my Safari on Windows XP and caused my not low-end laptop to spike at 80%…when idle. But it is pretty and is cool, and makes use of new JPEG compression techniques that are very cool, and we need pretty and cool, just to keep excited about all this stuff.

However, the world will still turn, every day and every night, to Google Maps, created with technologies in use today— standard and proprietary technologies, both—and now so much a part of our lives that we’ve forgotten when we considered it cool.

Years ago, one group of companies proposed one way of doing 2D vector graphics, and another proposed a different way and from the clash came SVG. However, Microsoft did its own thing, and implemented VML, and created what is probably the last battleground in the war of the browsers. I don’t know why Microsoft went with VML. I imagine one reason is that Microsoft was not willing, then and now, to commit to the necessity of XHTML. Either that or the company was being purblind, pig-headed stubborn. Either way, Microsoft went one way, everyone else went another, and now we’re left with no meeting ground between two positions. To say the situation is disappointing is to say that the Midwest got a touch wet this spring.

Maybe HTML5 will be the bridge that brings the sides together. I hope so, but that’s in the future and we have to think of the now. The now that celebrates the latest whizzy from Microsoft and Adobe, while having to continue to support IE6. The now that needs the standards, even when most of the people don’t realize how much they need them. And OK, the now that needs Silverlight, and Flash, and whatever else new comes along, because that’s what the web is, has been, and probably will always be.

I’ve always said we need more women in technology because I believe we women bring balance to technology. I like to think that we foster cooperation, rather than competition, but perhaps that’s my own bias, or even my own stereotype, shame on me. However, I didn’t bring any cooperation to this discussion. I was right in there with the boys: snorting, stomping, and digging my feet into the dirt, as I rolled up metaphorical sleeves and prepared to wade in with code. Of course, it was little bitty code, and all I managed to really do was look a little silly. Worse though, is I looked silly at the same time I was saying stuff that was anything but. I guess that makes me a real tech because I can be just as purblind, pig-headed stubborn as every other tech I’ve ever met. Stubborn and with code—that’s a dangerous combination.

I like SVG. I like SVG for itself. I like that you can add 2d graphics directly into a web page; that you can use JavaScript to manipulate the SVG after the page loads—not to mention the really fun declarative animations. I like that it is interactive. I like that it’s free, and that it’s open; that it belongs to all of us. Most importantly, I value that it’s built into the browser, not added via a plug-in, and I can depend on it being there. Well, mostly there. I have many more fun things I want to try with SVG (and the Canvas object and JavaScript and CSS)—even if it means I’ll be putting the results of my efforts on a four-legged stool with one leg missing.

I like SVG, but SVG is not Flash. SVG is not Silverlight. However, that doesn’t make SVG better or worse than Flash or Silverlight—it just makes SVG different. And that’s where my time should go: celebrating the difference, not trying to trip the other guy up, so I can kick dirt in his face when he’s on the ground.

Enough rambling, back to the book.

Categories
Technology

Productive Writing

As fun as I find writing lengthy posts here, all of which have little impact on whatever I am writing about, I must turn my attention back to finishing the draft of my new book. First, though, I have a question about computers, but this time addressed to the Windows side of the house.

Both my Mac and Windows based laptops developed problems, but only my Mac was covered under warranty. My Dell laptop lost its LCD, and it will cost about $250-300 to fix. It’s going on three years old and I’m not sure it’s worth the repair costs. I’m considering getting a new laptop, but I don’t want to get another Dell. I don’t like the Dell company’s business practices.

I’ve found an HP Pavilion that looks to be a decent deal, but I’ve never had an HP. Any of you have experience with an HP? How about with other Windows-based laptops?

The purchase has to be inexpensive. I would really like to keep the costs at $700.00. Any and all suggestions and feedback on HPs or other Windows laptops would be welcome.

Oh, and hey, go me.

Categories
Technology

Then and now in standards: What’s different

Recovered from the Wayback Machine.

Update I am aware that Hard Rock is using Deep Zoom, based on Microsoft’s HD Photo technology. The equivalent open source version of the same functionality is JPEG 2000, which, hopefully, someday will have a wider implementation. My tiny test was not a challenge to Hard Rock, but to the statements made about open source technologies being incapable of smooth animations—not without causing the CPU to spike badly. My test was focused specifically on these two qualities. I would hope that people would grant me a few more hours if I were to attempt to re-create the Hard Rock, which is based on proprietary technologies, and took the team a month, I believe it was, to create.

I did want to address something else that Mr. Ellis wrote:

They seem pretty sophisticated right? In short AJAX is a kludge of various technologies that were never intended to work together in this manner. It can work, but AJAX development is a pain. It gets even more complicated when you start to mix in other aspects of the “free and open” Web like SVG or CSS. It is anything but a cohesive set of technologies.

The real weak spot is in the development tools for “free and open” technologies. There are no AJAX development environments that can compare to the tools available for Flash and Silverlight, and the latter has only been out for one year. It is so bad that people made a big deal over a framework to make AJAX development a little easier.

Actually, the technology behind Silverlight began several years ago. The underlying markup, XAML, was first released in 2003 (or sooner). Yes, while IE6 lay dormant, Microsoft was building Silverlight, except that the infrastructure was called Avalon and Chrome and probably a host of other names. In fact, you could say it took Microsoft close to seven years to create Silverlight. And if you think I was the first person to write about the similarity between XAML and SVG, on the contrary. Check out the following:

And one last clarification: I don’t care that Microsoft built Silverlight. I do care that the company spent time building this proprietary infrastructure while leaving the rest of us to deal with broken browsers and broken promises.


Luckily the article I wrote for NetscapeWorld in August 1997, was still preserved at the Wayback Machine. In the article, titled A Web Developer’s Guide to the new Cross-Browser Issues, I wrote:

Developers are more likely to have compatibility across vendor implementations of an application if one vendor dominates the market and their implementation becomes the de facto standard, rather than being derived from a specification released by a non-profit standards organization. The only exception to this is for standards that are machine-specific, such as the DVD format, and even then the implementation of one vendor probably acted as a seed to the standard. Microsoft has what is the dominant user interface operating system, Windows, with the Mac being a secondary standard. Based on this, you have a plethora of products compatible with one or the other or both. A GUI derived from a standards committee would never have this same impact.

This would seem to contradict what I wrote yesterday about the importance of open standards and the W3C. However, what’s different between then and now is the concept of symbiosis.

Twelve years ago, Netscape and IE were neck and neck when it came to quality and what each offered. As each browser version was released, the companies would implement their own innovations, and the world would either flock to the new browser release or run for the hills. The browser companies would then submit their innovations to the standards organizations, and based on the reactions of both users and developers, these organizations would either incorporate the innovation or not. Though the ride was bumpy at times, the innovation-standard-innovation cycle ensured a consistency across browsers (standards) without costing progress (innovation). There was a symbiotic relationship between the innovative and the standard in those early days, and the end result of the symbiosis was that best browser became the de facto browser, at least at the time, and both standards and innovation marched in tune.

The same cannot be said of today’s browser environment. Microsoft’s Internet Explorer is still the most used browser for most sites today, but its prominence is not based on it being the best; it’s based on inertia. Microsoft includes IE6 as the default browser within its operating systems, and many individuals and companies just went with the default and stayed, stuck like bugs in amber. No one, not even Microsoft can say that IE6 the best browser today. However, even Microsoft would be hard-pressed to say that IE8 is the best browser if you measure its conformance to existing standards as a component of its overall worth.

The days when the best browser winning, “best” being measured based on both innovation and standards support, are gone; leaving behind not a race to the bottom, so much, but a disinterest, especially in corporate America, in rising to the top. This is not a healthy state to be in. This is actually a far worse state to be in then when I wrote that article for NetscapeWorld in 1997.

What Microsoft has done is broken faith with the standards community. It’s fractured that delicate symbioses between standards and innovations. It did so by implementing those standards it finds useful and ignoring everything else. The company is taking a gamble that people have become indifferent to standards enough that it can do an end run around the standards organizations, like the W3C, but still maintain top billing.

Microsoft didn’t stop with ignoring what we now consider to be “standard”. The company made sure that the symbiotic relationship between standards and innovation was irretrievably damaged with its release of Silverlight. Microsoft seemingly made a business decision that the competitive threat it faced was not coming from a browser or browser company. No, the threat Microsoft perceived was coming from Adobe. It needed a Flash clone, and it created one or is trying to create one, with Silverlight.

Silverlight isn’t just a Flash clone, though. It is a policy statement about standards. Silverlight is innovative, true, but it is an innovation that can never be shared as a standard because it is a destructive innovation. By using a XML-based vector graphics language that is not the same XML-based vector graphics language that forms the standard, SVG, Microsoft has ensured that the innovative elements incorporated into Silverlight can never be added back to SVG. More importantly, by not implementing SVG, the company has made a statement that it will never “share” its innovations with the standards community. Oh we may if we’re willing to accept the company’s licensing, use Silverlight, but it will never be a part of the community, it will always be Microsoft’s.

Make no mistake, there is nothing in SVG that would be counter to the innovations necessary to create Silverlight. Microsoft could have chosen a different path, to innovate on SVG with the risk that its innovations would be rejected by both the community and W3C. However, those aspects of SVG that are basic to both the standard and Microsoft’s implementation of Silverlight would at least be compatible across browsers. Now what we, who are promoting a standard vector-based graphics system in browsers, are left with, is a four-legged stool, with one leg missing.

To add salt to the wound, Microsoft also used its own version of a Canvas element in which to create its displays and animations, but it is not the same Canvas element implemented in the other browsers and currently being incorporated into HTML5. That’s two specifications that Microsoft has subsumed into its own proprietary functionality. Two specifications that, unless something drastic happens, will never be compatible across browsers.

Yesterday, Paul Ellis decided to educate all of us on how Silverlight is a superior product, and how it’s the W3C’s fault the web is going proprietary because the W3C is slow. The W3C, like any standards organization, is cautious, true, but the SVG specification has been out for years, and as far as I know, nothing has held Microsoft back from not only implementing SVG but innovating on SVG if the company so desired. As one person commented, why create new standards if the existing ones aren’t implemented?

Mr. Ellis also pointed out the superiority of the animation demonstrated in the Hard Rock Cafe’s Memorabilia page, implemented in Silverlight 2. Nothing like this, he proclaims, could be done with open standards.

Mr. Ellis is incorrect. True, JavaScript animation can be a bit jerky at times, and if not managed properly, can cause one’s CPU to spike. However, I think if he were to see the Hard Rock’s zooming animation separate from the other elements of the application, he might not find it to be as smooth as he thinks it is, or as friendly to the CPU. The perception of how good that application is is dependent on operating system, machine, graphics card and so on. I found that the Silverlight animation caused my Windows XP machine to spike when I opened the animation using Firefox; it barely worked with Opera. At the same time, my own (admittedly quickly coded and not performance tweaked) zooming example implemented with JavaScript did not cause any CPU spikes at all, even on my pre-Intel Mac, which can’t run a Silverlight 2 application. Of course, Mr. Ellis would say that my JavaScript animation isn’t as smooth and it is true that JavaScript-based animation can have jerky movements based on the timer and the action and so on; at the same time, if the animation was incorporated with other events, such as an end zoom artificial bounce, as well as sideways motion, we might find that the zooming action is more than acceptable. Additionally, Opera, Firefox, and Safari are always working to improve their JavaScript engines, not only for animations but for all processes.

However, if we never find a JS-based animation to be as “smooth” as an animation based on Silverlight, we can use SVG and SMIL, which is a declarative form of animation, to create the same zooming effect, at least for Opera and Safari, and eventually Firefox. In fact, if we were to look at the functionality to zoom in Silverlight, compared to the same in SVG, we would find some remarkable similarities. Enough so, that I believe that we could completely emulate Mr. Ellis’ Hard Rock Cafe application in SVG and have it perform the same as the Silverlight effect, or close enough to make differences difficult to perceive. Naturally, the Hard Rock effect wasn’t done in an hour, so Mr. Ellis will have to forgive me if my own example isn’t identical.

The real issue, though, isn’t that Adobe has Flash, and Microsoft has Silverlight, or that JavaScript can’t create World of Warcraft; there’s nothing wrong with having additional tools based on plug-in architectures, and more power to the companies that provide them. In fact, if Microsoft wanted to implement SVG as a plug-in architecture, I think most of us would have found this choice to be acceptable. Where the failure lies with Microsoft is that the company shattered the symbiosis that existed between standards and innovation, and created a schism between the community that values standards, and the community that values innovation. It has generated a gap between people like myself and Mr. Ellis and forced each of us to choose “sides” at a time when we should have a common goal—a better browser, a better web experience. Even if someone were to create an SVG wrapper using Silverlight, the fracture between standards and innovation will only be bandaged, not healed. It’s not the standards implementation we’re missing; it’s the missing commitment to standards that is causing the harm.

Microsoft has forgotten that nothing stands alone on the web. The only way the company will remember this important lesson is for us to succeed in those areas where the company has tried to generate failure; for all of us to continue to celebrate standards, which form a stable platform for change, in addition to innovation, which ensures that standards remain a living work.