Monday, September 29

Getting started with SQL Server Data Services (SSDS)

I spent this weekend primarily doing two things:

1) hacking away at my new HTC Kaiser (AT&T Tilt, TyTn II), unlocking it, flashing new ROMs, installing new CABs, and
2) getting familiar with the basics of using SSDS.

The David Robinson MSDN Magazine article that helped kickstart me on this topic can be found here. Even better, it turns out there's an invaluable SDK/toolkit for getting to know SSDS -- the SQL Server Data Services SDK (beta) of course. There is also a single MSDN forum dedicated to SSDS. I haven't yet discovered an IRC channel. There are a number of MSDN team blogs, as well as a handful of non-MS blogs that I'll cover in later posts.

To up the ante a bit, I decided to write a console (command line) app for my Windows Mobile 6.1 device, the HTC Kaiser. I was halfway through implementing this app when I discovered the SDK, and the command line tool that comes with it. I'm going to reimplement this tool, ST.exe, for Windows Mobile/.NET CompactFramework 3.5. (I've tried to find source for it, so far, no go ...)

The SDK also comes with a GUI explorer that makes it simple to understand the RESTful operations supported by Authorities, Containers and/or Entities. (You can't PUT, or update, Authorities or Containers. Yet attempts to do so still seem to increment those objects' version numbers ...)

So far, I'm liking the SSDS beta experience. More to follow.

Friday, September 26

Back-and-forth: Microsoft's cloud data offering, SSDS

Quick, raise your hand if you're writing code using SQL Server Data Services right now.

How about, raise your hand if you've even heard of SSDS?

Microsoft's nearly-spanking-brand-new cloud data offering, SQL Server Data Services (SSDS) is a Google BigTable-like horizontally-structured data cloud, still in beta.

Horiztonally what? The basic data model is authorities, containers and entities. Using authorities, one is able to geographically distribute one's data -- not unlike Amazon's Availability Zones, and something Google App Engine and Google's BigTable betas don't yet offer.

Truly scalable web applications beg for this sort of backend. For a slight trade-off in latency, you have extremely affordable, dynamic, distributed capacity.

My friend Michael O'Neill over at crisatunity, one of those DBA guys, isn't a big fan of the data cloud model, at least not at the oustset of this conversation. We're going to have a blog back-and-forth on this topic over the next few weeks, as we both test out the beta, and I prepare for a couple of presentations for an upcoming Code Camp and local user group.

Not only do I come at this from a Developer (vs DBA) perspective, but this sort of service is the sort of thing that's helping drive down the cost of starting up a new business. As CTO of Change Round-Up, I believe cloud services offer us the ability to address a Top 50 retailer's peak transaction volumes, without having a lot of over-priced under-utilized in-house capacity.

I look forward to seeing where this conversation takes us, and if anyone's opinion on SSDS, or cloud services in general, is swayed.

Thursday, September 18

I got to play with a Surface yesterday

I should have taken pics, these just don't do it justice:




One thing that seemed odd was that the fit/finish of the Surface to the surrounding poly seemed a bit rough, as seen through the poly housing. Maybe it was just this particular unit, which was being set up for demo purposes, but it seems like the standard housing, as exampled above.

Thursday, September 4

Microsoft Northeast Roadshow Coming to Albany!

Chris Bowen, Microsoft Developer Evangelist out of Boston, managed to get Albany on the itinerary for the Fall 2008 Northeast Roadshow. Thanks, Chris & Jim!

This event has bypassed us in the past. What is a Northeast tech roadshow without a stop in the heart of Tech Valley?

Quick Agenda:

8:30 – Registration

9:00 – Understanding the ADO.NET Entity Framework

10:30 – Discovering Dynamic Data

11:15 - Exploring Internet Explorer 8

12:00 – RoboLunch

1:00 - UI, UX, U Confused?

1:45 - A RESTed Development

3:15 - Befriending Unit Testing

4:00 – Wrapup, Giveways, and Bon Voyage!


Looking forward to the Robotics Studio, IE8 and especially the REST stuff myself!

Thursday, August 28

Computer forensics & cloud computing

By now, if you're active enough of an online user to be reading this blog, you've surely heard of "cloud computing." You may even have heard of Amazon Web Services (AWS) and their Elastic Compute Cloud, more commonly referred to as EC2.

Cloud computing offers a lot of possibilities and potential. Let's not forget, it "levels the playing field," and all that other corporate jargon that hopefully translates into delivering Fortune 100 computing capabilities to those of us technical sorts who don't, or who no longer, work for the 800 pound gorillas of the industry.


Clouds also unfortunately seem to offer a lot of surface area for abuse and crime. Email spammers have been loving EC2 -- it didn't take long for most of AWS' IP range to get blacklisted by all the major spam watchlists.


What about something a little more sinister? What if an evil foreign spy or terrorist or hacker needs a place to host a bot command & control server, or a temporary shell account for accessing a more meaningful target, or needs a private place to host a "sensitive" IRC conversation or dead drop some blueprints?

When you shut down an AMI instance on EC2, that image resets to its stored state -- all session data is lost. All typical system & service logs, gone. Sure, I know you still have logging at the boundary of the cloud, but with the huge amount of potential data flowing in and out of a cloud, how do you identify individual users of individual services provided by a transient host image, particularly when they make expert efforts to cover their tracks? And what if the owner of the image decides to engage in malicious behavior, through the host server image, from a third IP address, and then claim someone must have stolen their password or keypair to the image?


Now I'm no security expert, perhaps this isn't as big a potential issue as I make it out to be. I'd love to be contradicted here!

Of course, none of that is as scary as the thought of this guy as our Commander in Chief.


Edit: It was noted on #freehackersunion that Tor, and for that matter other such services, offer you an ability to put an anonymous host on the Internet already. Sure, but Tor's bandwidth typically sucks, and the guy sitting on the exit owns you. EC2 basically commoditizes anonymous hosts, all you need is a stolen ID and credit card number.