Lightweight Xfce on Freebsd

2009 June 20
by edeguzman

Lately I was on a dilemma on what desktop environment I will install on my freebsd.  The gnome desktop environemt was not that stable on freebsd, alot of time it crashes.  The only stable desktop environment for freebsd is the KDE but the only problem on KDE it includes alot of packages that most of those packages are of no used.

A friend of mine suggest to just install a window manager just like fluxbox or blackbox, in that sense all I have to do is to install the necessary packages.  That’s really the most lightweight thing I can do on my freebsd but I want a little of GUI thing on the freebsd, and the answer is Xfce.

read more…

my IBM T42 finally fan fixed

2009 May 15
by edeguzman

I just finally fixed my fan error problem of my IBM T42 thinkpad.  I’ve been having a hard time finding for the fan.  I just got lucky that I found one but its a second hand and from an IBM T40 thinkpad.  Although it was a little different from the fan of T42 Thinkpad, I just done a little improvise so that I can use the T40 fan on my T42.

The fan of T40 Thinkpad is short while the fan of T42 Thinkpad is long.  You can replace the T40 fan into a T42 unit without doing improvise but that’s quite risky. Because the long fan provides heatsink for the video card while the short fan don’t.

read more…

Function Overloading problem in Separate Files

2009 May 7

I’ve been working on a small program that I need to separate the operation functions from the implementation file for a little of proprietary issue. I had an function overloaded in my operation file.

Below is just a sample code that will generate the same error from the program that I’m working :

read more…

Bug on STL Vector assignment operator

2009 April 21

STL Vector is considered to be an alternative to a C-based style Array. It is more robust and less error-prone compare to the standard array. Standard array subscripts can fall outside of its range while the STL vector can detect error on its subscript falling outside of its range. Assignment operation (=) cannot be apply in Standard array while in STL vector it can be apply. Another advantage of STL vector is the passing of arguments to a function call, in standard array passing of arguments in function call requires you also to pass the array size but in STL vector does not requires the size. Those are the fundamental advantage of STL vector to the standard array.

As I was doing a program and I was using the STL vector there were two bugs that I found on STL vector, I considered them bugs for me because I believe its not on my code anymore. I spent almost an hour debugging on my program and only to find out that it was the vector that’s doing the bug.

read more…

Hug a developer

2009 April 11
by edeguzman

Just passing by to share you guys an inspiring video for all the upcoming developers from college hehe.  Anyways, I can really reflect on this video based on my experiences.