Blog

Archive for the ‘Monologue’ 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 […]


Adding In-App-Purchase Support: Avoid AppId Troubles

Wednesday, 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

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


And Apple does it again – Opera Mini iPhone App Approved

Tuesday, 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

Friday, 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?

Wednesday, 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

Tuesday, 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++?

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


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


Mono Strange Behaviour (Bug!)

Friday, 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

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


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


Wolfram|Alpha

Thursday, 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

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


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


Visual Studio 2010 and .NET Framework 4.0

Monday, September 29th, 2008

Looks like jQuery in .Net isn’t the only news today. Microsoft announced Visual Studio 2010 and the .Net Framework 4.0. Looks like the focus of those releases will be: With Visual Studio 2010 and the .NET Framework 4.0, we are focused on the core pillars of developer experience, support for the latest platforms spanning client, […]


Microsoft To Ship Open Source Package With .Net (jQuery)

Monday, September 29th, 2008

A few days ago if you asked me if Microsoft would ever include an open source piece of code in one of their products, I would say you were insane just for asking! There’s no way! Well, Microsoft is planning to amaze me along with everyone else. ASP.Net and Visual Studio will start shipping with […]


Fedora/Livna Problems With NVidia Cards And How To Enable SLI

Saturday, September 20th, 2008

For some strange reason my box’s Xorg stopped working after a clean install and installation of the handy NVidia packages from Livna. The box would boot but when it was time to enable X it just flickered 10-20 times and a console login appeared. With some luck the problem was easy to fix, I just […]


Hashing Big Files With Style (Getting A Progress Status)

Monday, August 25th, 2008

I wanted to hash a lot of files and soon I found how painful it was not knowing how much time it would take because some of the files were huge. I also soon found out there is no support for this on Mono but luck smiled upon me when I found HashAlgorithm.TransformBlock and HashAlgorithm.TransformFinalBlock. […]


Embedding Pages and Usercontrols Inside Assemblies

Monday, August 18th, 2008

One of the problems with ASP.Net when trying to keep a degree of separation between project components is that you can’t easily implement a page or a user control inside a library project and simply reference it from the main ASP.Net project. This, I think, its not entirely by lack of vision or interest from […]