Blog

Archive for the ‘Featured’ Category

Smarter Browser Cache

Monday, April 11th, 2011

Designers, Developers, System Administrators and companies spend a lot of time trying to optimize their networks and content delivery systems to achieve optimal performance with the minimum resources possible. At first, there was a simple browser/proxy cache schema, then the “If-Modified-Since” and ETags HTTP headers where introduced. Nowadays CDNs seem to blooming and all the […]


libanim: animated textures and images for iPhone/iOS

Thursday, August 12th, 2010

I recently started a new project called libanim (home page)¬†which aims at providing support for animated file formats on the iOS and perhaps Android at a later stage. The problem doesn’t seem to be limited to any one platform, support for animated file formats is usually limited to gif files but on some places (e.g. […]


Disabling multitasking on iOS 4 apps

Tuesday, July 27th, 2010

If you’re using the iOS 4 SDK then by default your app will be assumed to support multitasking even though you actually need to add support for it and you might not have done that (e.g. updating an old application). While multitasking seems nice it isn’t always the best scenario for your app, specially when […]


Expand and collapse UITableViewCells

Thursday, November 12th, 2009

Displaying a details view to show data after the user selects something from a table on the iPhone is pretty much the standard and it sure is useful in many cases. Fact is that it’s not always the fastest or correct way of showing details, specially if the amount of details left to show is […]


AdSense reports in a Gadget (iGoogle and Wave)

Tuesday, October 27th, 2009

I got tired of visiting the AdSense page all the time, well from time to time. I already have done an iPhone app so now I created a iGoogle gadget to display the most important stats and also a chart! So, with the help of Mono I was able to have everything setup and tested […]


UISearchBar Tricks – Showing The Cancel And The Scope Bar Only When Editing

Tuesday, September 8th, 2009

While working on a particular UISearchBar I ran into 2 little problems, both easy to fix but I thought of posting them in case someone is stuck. What I needed was to make the cancel button and the scope bar to be displayed only while editing. I believe that this should be a pretty common […]


Serializing Objects To JSON To Preload Ajax Data

Monday, August 24th, 2009

I’ve been developing a large application with ASP.Net Ajax and ExtJS. It all works great together and in fact ASP.Net is just a easy way to access my .Net code/web services because the whole UI done with ExtJS constructed/controlled by javascript/Ajax. When it comes to a 100% javascript UI there are some cases where you’ll […]


Aborting ASP.Net PageMethod Requests

Wednesday, August 19th, 2009

ASP.Net Ajax features are very good, even great if you consider the useful integration with other ASP.Net constructs. PageMethods are one of the easiest ways to implement an AJAX call without too much trouble or the need to implement a complete web service page if you’re only going to use this particular Ajax call from […]


An introduction to game physics with Chipmunk

Wednesday, May 6th, 2009

During the past week I’ve been writing a tutorial about Chipmunk, a physics engine very popular among 2D games. The article’s focus is mainly for the iPhone but the Chipmunk code itself is portable to any platform because it’s pure C. I’m thinking about giving the new preview of Monodevelop for OS X release a […]


Programming Environments Should Envolve

Friday, April 10th, 2009

There are a lot of new features being introduced into programming languages and platforms every year. Somethings seem to never change tough. I think there is a lot of room for improvement in the way programmers work and in this post I’ll try to explain some of my view points on how to improve things. […]


Statistic’s Software Development – Some Tips

Thursday, March 5th, 2009

I’ve been working at a new project that requires me to save a whole lot of data into a database. Without giving too much details right now (I’m not quite ready for that yet :)) I would say a good replacement would be to think I’ve developing something like Google Analytics. So, there are a […]



ASP.Net State Management And Why You Shouldn’t Use Session Directly

Monday, November 17th, 2008

ASP.Net provides out-the-box several nice (although not new) features to manage your application’s state, the Session and Application objects. The Session and Application objects are also among the first things learned by students of almost any web programming framework but while they are true in their usefulness it doesn’t mean you should use them directly, […]


Longest Common Subsequence – Diff Algortithm in C#

Monday, November 10th, 2008

How does diff/patch work? When I first started to do research on this problem I had no idea about the complexity of the math involved and the lack of C# examples around. It turns out that finding the right resources can make life easier, and in the end the Wikipedia entry and this screencast did […]