Blog

Programming Environments Should Envolve

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


Adding Navigation/Table View/Image Picker Controller(s) Into A Tab Bar Controller

March 6th, 2009

Adding a Navigation/Table View/Image Picker Controller into a UITabBarController seems to be subject of many new iPhone developers frustrations. I did have a lot of trouble figuring it out myself, but I finally did it. Here’s the correct way, fool proof I believe! To start with, add a new file, using the UIViewController template. Change […]


Statistic’s Software Development – Some Tips

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


Calling Code In A Different Controller With Objective-C

November 27th, 2008

I’m fairly new to the Objective-C and it might not come as a surprise that I’m only learning it because it’s the default iPhone programming language. What geek owns an iPhone and didn’t at some point want to create its own application? Well for me it’s not just for the personal pleasure, it also my […]


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

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#

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

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)

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


Tips And Tricks To Improve File Searching In Fedora

September 27th, 2008

There are a few tweaks I always do after installing Fedora to improve my file searching experience. Let me just say this probably applies to other distros as well if they are similar enough. First thing I want, because I like the Windows behaviour on this topic, is to add a “Search…” menu entry on […]


Fedora 9 And Flash Sound Problems

September 24th, 2008

For some reason libflashsupport is not installed as a dependency to the firefox flash plugin. Thats quite anoying if you plan to spend some time on youtube or anyother flash with sound. So, to enable flash sound you just need to install the lib: yum install libflashsupport And thats it 😉


Samba And Netbios On Fedora

September 21st, 2008

For some reason fedora isn’t able to display Windows computers or even ping windows computers by name with a default install. To fix this you first need a WINS server, or in this case, to make sure you’ve SAMBA server installed: yum install samba samba-client samba-common The last thing you’ve to do to solve the […]


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

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)

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

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


Dynamic Controls And The UpdateProgress Nightmare

June 10th, 2008

It’s one of the most common issues on the ASP.Net Web 2.0 era, how to add dynamic controls at server side… but that’s a well explored territory as you can check by simply googling it. As a reference I recommend this series of 4 articles. There are 2 problems not so easy to handle, the […]


Dynamic Controls, Ajax and ResolveUrl/ResolveClientUrl

June 5th, 2008

I had this old button that besides the text renders an icon. The button control has been working for about 3 years and today I noticed it hadn’t been working for a while now. The issue I assumed is that the problem had something to do with the use of Ajax and the controls been […]


Widescreens And Toolbars – The Question!

June 2nd, 2008

I woke up today and saw some news about a new OpenOffice derivative called RedOffice (I believe its targeted for Asian markets). As the news said it had a breaking new UI based on Office 2007 but still “breaking new” I decided to see the images here. The real new thing about it is that […]


Instant Messaging Software Ideas…

May 30th, 2008

Having several machines (at least a laptop and a workstation) and multiple OS’s can be a pain if you use Instant Messaging software. It usually isn’t because IM most software doesn’t allow multiple clients to be connected at the same time with the same account, but that doesn’t mean you’ll actually receive all your messages. […]


Xming – Copy/Paste And Alt+Tab Problems

May 30th, 2008

I couldn’t copy paste between Windows and Xming even with the -clipboard argument on XLaunch or the command line. After some research (and seeing some other boxes did in fact had this working) I found this forum post that correctly and successfully fixed my problem: Modify /etc/gdm/custom.conf and either add or change the following: [daemon] […]


ASP.Net AJAX Extensions, GetPostBackEventReference And Custom Controls

April 27th, 2008

If you’ve a piece of code similar to this one, and try to use the control inside an UpdatePanel then you might be surprised to see that triggering that event will in fact do a complete PostBack of the page (read Refresh-like-Postback): public override void Render(HtmlTextWriter writer) { Response.Write(“Button”, Page.ClientScript.GetPostBackEventReference(this, “onclick”)); } The reason is […]


Fedora 8 and the Sudo command

April 3rd, 2008

Today I was checking out the latest mono from subversion and something funny was happening, I wasn’t able to install the builds if I used sudo make install, the error I was getting was a bit different from package to package but always looked something like: /usr/local/bin/gacutil /i monodoc.dll /f /package monodoc /gacdir /usr/local/lib /root […]


New Laptop – HP dv6799ep – (Near) Perfect Linux Compability

April 2nd, 2008

I’ve a new laptop, an HP dv6799ep (dv6700 series special edition). The reason I choose this exact version was the 4GB of RAM and the Intel 9300 (dual core, 2.5GHz, FSB 800MHz and 6MB cache) which is a great combination to develop on the road and use virtualization . My main concern with a new […]


How To: Random DateTime(s)

April 1st, 2008

I had a small database project that needed about a million records to stress test its performance and the front office application. For some reason, working with DateTime in C# is not always straightforward, and you might need some research and trial & errors until you can get something as simple as random date/time generation […]


SqlServer Connection Problems With Mono

March 22nd, 2008

If, like me, you use virtual machines and try to connect from Mono to SqlServer you might run into some problems. The top things I’ve learned to check are: Mono doesn’t support SqlServer 2000 below SP3 – this is relatively well documented this Mono page but still is hard to detect since the error message […]