Teach by Example. Tech in your face.

HTTP Sniffer for Mac

Filed Under (Uncategorized) by haidersabri on 15-06-2009

Tagged Under :

I’m much more accustomed to doing development on a windows machine. On windows, there is an invaluable tool that all web developers use (or should be using) to help them understand what’s happening on the HTTP pipeline. That application is called Fiddler.

Since I started doing more development on my Mac, i have struggled to find a good, simple HTTP sniffer like Fiddler, till today. I’ve tried Charles, and I didn’t like it. I downloaded the trial to HttpScoop and so far its simple, easy to use, no need to set up proxies. I like it, and I think i will end up purchasing it.

MySpaceID SDK’s

Filed Under (OpenID, Web2.0) by haidersabri on 15-06-2009

Tagged Under :

For a few months I’ve been working the MySpace Partner Relations team to evangelize MySpaceID, MySpace’s OpenID implementation. We’ve built out 6 libraries in different languages including: Java, PHP, Python, Ruby, C# and AS3.

I am currently working on a similar library in Objective-C that can be used for both iPhone and MAC-Native applications.

The code is open sourced and hosted at Google Code. Take a look at it sometime if your interested.

Google I/O

Filed Under (OpenStack, Web2.0) by haidersabri on 03-06-2009

Tagged Under : , , ,

Google I/O had its strong points, particularly at the keynotes. It also had some weak points in that a few of the sessions I attended seemed more to be product plugs than actual technology sessions. Here is my high level summary of Google I/O

App Engine
Before Google Wave was announced, App Engine was the most interesting subject at I/O, to me at least. Because I’ve built a few services in my day, App Engine appealed the most to me in that it offered a way to create services that are hosted in Google’s cloud. Google has ramped up its performance support, and automatically scales your service based upon the traffic that you are getting. The big news at I/O was that we can now build java applications on App Engine.

What was even more interesting to me, however, was a session led by Brett Slatkin named “Offline Processing on App Engine: a Look Ahead”. In this session Brett addressed some of the major concerns App Engine developers have when it comes to offline services. For most of us looking for a service engine in the cloud, we can’t assume that all we need is a service that responds directly to user requests. We live in an age of mashing data via background services that have to crunch through data and metadata from numerous sources. App Engine doesn’t have an adequate solution for that currently. However, it seems that this year they will push forward with a task queue/executor model that relies on user injected web hooks to permit background services to run on queue. This model will also permit developers to have a something akin to multithreading.

HTML 5

HTML 5 was definitely a recurring theme at Google I/O. It took up 1/2 of the first keynote. Google, along with Mozilla, Opera and Apple, consider HTML 5 to be a standard worth investing in. Some of the new elements introduced are section, audio, video, progress, nav, meter, time, aside, canvas, and datagrid. There is also great support for geolocation.

Google Web Toolkit

GWT is an interesting platform that allows you to right Java code that automatically gets converted into Javascript by the GWT compiler. This allows for a simple way to create AJAX apps using Java. Google also created a plugin for Eclipse to make debugging and deploying very easy. To testify to the richness of GWT, Google announced that Wave was completely built on GWT.

Google Wave

The announcement of Google Wave came on the 2nd keynote. I highly recommend you watch the keynote. Google Wave is a Product, a Platform and a Protocol, as Google demonstrates. The product aspect is best explained as a super fast web-based system to communicate & collaborate using rich text, photos, videos and more. I was blown away at the speed and apparant ease of collaboration. There is a part in the keynote where the two presenters were both editing the same document and you can see both changes occurring simultaneously. This was all done with preserving the history of all editing, in the cloud.

Its a platform because it offers a rich set of APIs for us developers to plug into and begin extending. A neat translation extension was demonstrated where two people could be chatting live in 2 different langauges and Google Wave would translate on the fly! You can take a look at the Google Wave APIs here.

Its a protocol because it is built upon a network protocol named the Google Wave Federation Protocol. This means that anyone can be a wave provider and communicate with other wave provider via the shared protocol. A draft specification can be seen here.

Summary

Google I/O was a very interesting conference. It exposed me to platforms and APIs that I hadn’t been aware of. Google Wave was an amazing showcase that has huge potential for the future. The new Android phone was a definite perk that no one was expecting.

Scott Hanselman’s MVC Demo at MIX

Filed Under (ASP.NET, MVC) by haidersabri on 23-03-2009

Tagged Under :

Scott never disappoints in his presentations.  We are all fans Scott. Anyhow, this is a great piece on ASP.NET MVC, which is something I find to be a very promising addition to the ASP.NET stack. Enjoy the presentation.

A great video explaining OpenID

Filed Under (OpenID, OpenStack, Web2.0) by haidersabri on 05-03-2009

http://www.youtube.com/watch?v=xcmY8Pk-qEk

OpenID+OAuth Hybrid Tested

Filed Under (OpenStack, SocialWeb, Web2.0) by haidersabri on 04-02-2009

Tagged Under : , ,

Its very exciting news to hear whats going on with the OpenStack technologies being worked on by a multitude of technology companies.  Now there is a new hybrid protocol that combines the benefits of OpenID with OAuth which effectively make it very easy to move from site to site and keep your data with you. You can find out more on this blog by Joseph Smarr.

Mono 2.0 Brings Microsoft C#, .Net To Linux

Filed Under (Articles) by haidersabri on 07-10-2008

Mono, the project that brings Microsoft (NSDQ: MSFT)’s C# and .Net to Linux, has released version 2.0 of its development framework. The framework provides a runtime system for C# and Visual Basic code to run on the Linux operating system instead of Windows, although it doesn’t attempt to duplicate the complete .Net environment. Read more here.

ASP.NET MVC In-Depth: The Life of an ASP.NET MVC Request

Filed Under (MVC) by haidersabri on 07-07-2008

Technorati Tags:

A great in-depth analysis of the ASP.NET MVC Life Cycle. I highly recommend this to anyone transitioning over to ASP.NET MVC.  Its based upon Preview 2 of the MVC, so some of its content is a little out-dated. It is nevertheless still valuable.

The Myth of Multitasking

Filed Under (Articles) by haidersabri on 03-07-2008

Interesting article on the negative effects of multitasking.  I tend to agree with much of what he says. I definitely think that the last words of the article describing societies lodged into excessive multi-tasking, “their culture may gain in information, but it will surely weaken in wisdom.” Being a programmer myself, multi-tasking is the ultimate trait to have, especially when you geek-it-up and start comparing yourself to a multi-threaded application that you does a hundred different things at once. The article makes you realize that what you definitely gain from multi-tasking, you lose elsewhere.

Tools And Techniques to Identify Concurrency Issues

Filed Under (Articles) by haidersabri on 24-06-2008

Tagged Under : , ,

An interesting article when it comes to testing concurrency errors, especially with parallel programming.