Blog

New server

October 20th, 2011

I’m moving all my sites to a new server. So long GoDaddy and very old server hardware!


Smarter Browser Cache

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 […]


Adding In-App-Purchase Support: Avoid AppId Troubles

August 18th, 2010

So, I’ve decided to add In-App-Purchase support for one of my apps. I’ve researched about the subject a few times but it always seemed quite a bit of code for a lazy-driven project until I found a quite nice tutorial that at the bottom included a utility library that packaged everything you need to do […]


libanim: animated textures and images for iPhone/iOS

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

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 […]


The little evilness of @property

April 21st, 2010

One of the special enhancements Objective C adds to basic C/C++ is the ability to declare and use properties with a simple and straightforward usage. To new comers or even veteran programmers used to properties in C# or Java this is a very nice concept that saves a lot of time while keeping the code […]


And Apple does it again – Opera Mini iPhone App Approved

April 13th, 2010

Apple just approved the Opera Mini iPhone app, which should be available on iTunes during the next 24 hours. This is excellent news specially taking into account the recent events. In you’ve missed the demo go check it now. Edit: Some users pointed it out to me something I couldn’t believe but it’s true. The […]


Unity3D, MonoTouch and Flash CS5 to be banned from iPhone/iPad’s Ecosystem

April 9th, 2010

Up until now a few solutions existed if you wanted to avoid C/Objective C to code for the iPhone and specially to achieve some code portability/compatibility with other platforms. Examples of those solutions are Unity3D, Flash CS5, MonoTouch, HaXe and other static-compiters or trans-compilers like XMLVM. As reported by several sources (e.g. this Engadget article) […]


Is Web Storage All We Need?

March 24th, 2010

Due to a particular idea of mine I found myself in need of something I don’t believe possible today – to easily share data between desktop and web applications using the browser alone. This raised several technical, privacy and culture questions on my mind, as well as a couple suggestions of course. Many are already […]


Microsoft open sources .NET Micro Framework

November 17th, 2009

Microsoft has 3 .Net flavors, the complete stack, the .Net Compact Framework and the .Net Micro Framework for extremely resource-constrained devices. The later is being open sourced under the Apache 2.0 license. A copy of the full annoucemente can be read at Port 25. Unlike the other flavors of .Net frameworks the .Net Micro framework […]


Anonymous Functions in C/C++?

November 13th, 2009

I was reading my fair share of feeds for the day and I found some links for a nice site that translates C gibberish to English like this: int (*(*foo)(void ))[3] gets translated to “declare foo as pointer to function (void) returning pointer to array 3 of int” – pretty cool on itself but what […]


Expand and collapse UITableViewCells

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 […]


Google to Acquire AdMob

November 9th, 2009

Today when I checked my mail I received the not so surprising news that Google was about gobble up AdMob. It’s not surprising because most Google advertising products were acquired from someone else and I was seeing a serious hole in Google’s mobile advertisement solutions. I think, as a publisher and occasional AdMob advertiser, that […]


AdSense reports in a Gadget (iGoogle and Wave)

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 […]


Mono Strange Behaviour (Bug!)

October 23rd, 2009

Lately I’ve been doing a lot of ASP.Net code developed on VS.Net and IIS and deployed (via a cool subversion hook I might add) to my server running mod_mono on Fedora. Usually there aren’t many issue except for the occasional OS specific thing. But today I’ve hit not 1 but 2 hard to figure problems. […]


PageRankSharp – Getting the Page Rank from C# or the terminal

September 16th, 2009

I was looking for a piece of code to get the Page Rank of some urls. There is a lot of code and information on the subject, the hardest part beeing the fact that Google uses the Perfect Hash algorithm in the query. I found a nice solution over here and decided to package it […]


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

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

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

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 […]


Mac OS X Tip – Type Or Edit Path In Finder

June 28th, 2009

Sometimes I just want to type a path in Finder, or maybe paste it from somewhere. It can be painful slow to track the right folders 1 by 1. Surprisingly, its difficult to find this little trick via a web search, it seems everyone if focused of displaying the current path at the finder windows […]


WolframAlpha Put To Use

June 24th, 2009

A while ago, a little over than a year to be precise, I wrote a post called Time Sensitive Data. It outlines some basic ideas on how each time anyone publishes something online its highly probable that it will eventually get slightly inaccurate due to the economy and technological advances. One example is when somebody […]


Wolfram|Alpha

May 14th, 2009

Nowadays there are little news related to new (and really exciting) developments in search engines, natural language parsing and similar stuff. For most people, the only news related to those subjects come from new Google features or one or another project that eventually fails, like that search engine by the Wikipedia founder that was so […]


An introduction to game physics with Chipmunk

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 […]


More about WordPress integration with custom sites

May 2nd, 2009

Yesterday I did a lot of work to make WordPress and my custom site word seamlessly one with the other. Today I’m trying to raise that level of integration to an higher level. I had 2 problems with a common solution: Am I the admin? I won’t be creating a backoffice anytime soon, but I […]


Moving WordPress and Integrating with a Custom Site

May 1st, 2009

I finally got my head into doing a redesign of my blog and integrating several sites I’ve into one place. That should make it easier to expand, maintain, backup and setup if needed. I also had some demanding requirements to leave things to my taste in laziness: I like WordPress for blogging most of the […]