A Couple of Cool Canvas Demos

Canvas is a HTML5 element that allows for 2D shape and bitmap drawing and animation. I haven’t done anything with canvas yet (at least not anything useful), but I’ve been keeping an eye on it. Here are a couple of cool demos posted on Canvas Demos this week.

The first one you’ll want to run in Google Chrome. It works in Firefox, but it’s slow. It’s a journey through the universe, complete with a soundtrack (via the HTML5 audio tag). The source code is on Github. The author said he wrote the whole thing from midnight on a Friday to Saturday afternoon, which means I officially hate that guy.

This next one is a tutorial on building a drawing application with canvas. It’s a great tutorial on using the canvas element, and it’s amazing how little code is needed to get such a nifty product.

Donning my swami hat and peering into the mists and…whatever, here’s what I think:

  • In 2-3 years we’re all going to be using canvas for our web apps. In that time the toolkits/frameworks will be better, browser hardware acceleration support will be better, and IE9 will (1) hopefully be out and (2) hopefully not have a busted canvas implementation. I think Microsoft is going to get this right, and boy does it hurt to say that.
  • Aside from the Flash/Silverlight apps I’ve seen that have any business being Flash/Silverlight apps (maybe 5%), there will be a chorus of ringing, Homeresque head-slaps for heading down that road.
  • The Panthers are going 11-5 this year and getting to the Superbowl. That’s right, I said it.
Posted in Brains | Leave a comment

My Empire for a Green Checkmark

Dang it Esri. With the backward-compatible direct connection extensions for 9.x I really thought you’d seen the light on this.

Posted in Opinion & Rant | Leave a comment

Make Smarter – Khan Academy, OpenHatch, Yahoo Style Guide

First up in this month’s Maker Smarter is a Google Tech Talk on OpenHatch. If you have ever wanted to get involved in open source software, OpenHatch is a great way to start. An open source volunteer finder, it makes it easy to search for ways to contribute by bugs, projects, or languages, and you can submit a request for help for your own project.

One of the frustrating things about CSS is the lack of preprocessing. Projects like LESS and SASS help fix the problem on the server side, but now there’s a Less.js library for the client side side of things. It allows you to do things like set variables, use the properties of one class for another class, nest rules in a more logical way, and perform some basic operations. The library is out on Google Code.

Via Slashdot, Salman Khan has created more than 1500 video tutorials on a variety of subjects. His videos are viewed 100,000+ times each day, each made with $280 of equipment and a free copy of SmoothDraw3. The videos are licensed under creative commons, and he’s made a huge impact for people all over the world. You learn more about him and view his courses at Khan Academy.

Lifehacker mentioned a couple of free books for web developers and designers recently. The first is the Yahoo! Style Guide. While there’s a little CSS thrown in there, it isn’t a CSS guide at all. It’s more like a Strunk and White’s Elements of Style for the web. The next book is The Web Book, which walks you through everything from registering a domain to using PHP and MySQL.

I normally don’t tout things that cost money in Make Smarter, but I thought this course was interesting enough to earn an exception. Titled Intro to PostgreSQL with Spatial Analysis Extensions, it leverages PostgreSQL, PostGIS, and the PL/R to do high-end open source spatial analytics. The class is in September, and it’ll cost you a cool $2k. Ouch.

Google released GoogleCL recently, which is a command line tool for Google’s most popular apps and services. You can add a calendar event or extract your list of contacts right from the command line. Lifehacker has a great tutorial to get you started. Windows users will need to grab cygwin.

And now a few quick hitters before I go hunting for food:

  • The Open Source Way is book/wiki online resource with a ton of articles and more added all the time (you can add one yourself if you want to).
  • Lifehacker posted about The Einztein Knowledge Network, which aggregates virtual courses from all kinds of college and other web sites.
  • If you have a youngster that wants to learn about programming, you can’t go wrong with Scratch, a visual programming tool created by MIT. Over 1 million Scratch projects have been uploaded to MIT.
  • Downloadsquad posted on devcheatsheet.com, a catalog of over 1600 cheat sheets ranging from Adobe Air to zypp. Am I the only one that prints out cheat sheets and then never looks at them again?
Posted in Brains | Leave a comment

Google Maps Slider

I have always been fascinated by things I suck at, and design is way up on my suck list. I’ve become much better over time, but boasting about that would be like boasting about progressing to a cushier level of Dante’s Easybake.

One of my favorite designers is Chris Coyier over at CSS Tricks. I’ve learned more about web page design from his site and screencasts than I have anywhere else. Without his help all of my web pages would look like MySpace threw up.

His latest post is on making an awesome Google Maps Slider, complete with HTML5 data elements for lon/lat. Take a look at the demo and the source code, marvel at the simplicity and elegance, and repress the urge to shoot yourself.

Posted in Code | Leave a comment

So Long Web ADF, We Hardly Liked….er, Knew Ye

Ah, another year sans ESRI UC. Fortunately there are so many live-blogging-twitteratti there that the only thing I feel I’m missing out on is San Diego’s distinct lack of soul-crushing humidity.

I came across Dave Bouwman’s blog post on the Web ADF, and followed it back to its source at Esri.

While ESRI will continue supporting existing JSF and ASP.NET developers with quality improvements and technology updates to the Web ADFs, major emphasis will be put on the ArcGIS Web Mapping APIs. For example, the ArcGIS Web Mapping APIs will incorporate support for all new services and enhanced service capabilities included with ArcGIS Server 10 (e.g., Feature Service, Time support, etc.). The Web ADFs will not incorporate these new features.

Based on customer feedback and technology trends, we see the Web ADFs playing a decreasing role amongst ArcGIS Server developers in favor of alternatives such as the ArcGIS Web Mapping APIs.

The Web ADFs will be deprecated in the next release after ArcGIS Server 10.

Whenever Esri releases something like AGS, it comes with a whole bunch of seemingly random clients, most of which will become losers over time. Anybody that tried to use the Web ADF smelled loser. It’s ArcStorm awful. I feel bad for the folks that made an investment in the ADF, but I’m sure not going to miss it.

Posted in News | Leave a comment