Blog

Archive for the ‘Linux’ Category

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


Moving WordPress and Integrating with a Custom Site

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


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



Tips And Tricks To Improve File Searching In Fedora

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

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

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

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


Instant Messaging Software Ideas…

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

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


Fedora 8 and the Sudo command

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

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


Seamless But Not There Yet!

Sunday, December 30th, 2007

I’ve been trying Virtual Box to virtualize a Windows box hosted on my laptop’s Ubuntu. One of the flag features of Virtual Box is the integrated seamless windows mode. This is not really a new idea, it has been implemented in VNC for a while, a standalone application called SharedAppVNC and some others. Now it […]


Mono.Mozilla.Browser On Windows

Tuesday, September 25th, 2007

Update: Andreia has posted some really useful tips and “fixes to my approach that might interest you too. Check them, and a blog post detailing the process and some tunning. A few weeks ago Andreia (a Portuguese like me :)) published in her blog about the latest improvements she has made towards a MWF WebBrowser […]


XDMCP Strange DNS Problems

Monday, July 30th, 2007

I usually use Xming on my Windows machine to view my (several) Linux desktops. A few weeks ago it stopped working, apparently for no reason. At that time I was using Fedora Core 6, Fedora 7 had been released so I took this chance to format the entire disk and do a clean install. I […]


Automatic Software Updates on Linux

Friday, April 20th, 2007

One of the lovely things about most Linux distributions is a central package management system. It allows you to update most of your software with a few clicks as well as install/remove just as easily. Yet something has been bothering my mind as I develop a new application, and is placing a question mark on […]


Making Use Of My PDA

Sunday, November 26th, 2006

For a while now, I’ve had an old HP Jornada 565 PDA just to test and have some fun cracking it. I’ve tried to put linux on it, specially the Familiar distro, but the results where far from satisfactory. This is because the PDA is kinda old and the support was bad (no sound, bad […]


Upgrading To Fedora Core 6

Saturday, October 28th, 2006

Well, as soon as I realised that was the day Fedora Core 6 was released I got my hands on the work. The most anoying thing about all the process was that Fedora website was, and still is, down. Not only the website is down as at least at that day the file servers were […]


Detecting .Net Executables And Choosing Between Mono And Wine

Thursday, October 19th, 2006

Beeing able to double click, or simply ./app.exe from the console, is always easier that calling Mono or Wine. The Linux Kernel provides a feature that enables developers to hook and make .exe to be recognized and started as an excutable but the current solutions are not compatible between themselves. I tough that doing an […]


Suspending Linux

Thursday, March 9th, 2006

Presently to suspend you desktop or laptop you only have two options. The stock swsup that comes with the kernel and Suspend 2. Swsusp never worked for me, on the other hand Suspend 2 does a great job providing me an hibernation like experience with graphical suspend and resume phases. The sad thing is that […]


Why should I not want Core 5?

Wednesday, March 8th, 2006

I found this on a Fedora Forum: Quote: Originally Posted by ImNeat: Why should I not want Core 5? One word: MONO AKA: Microsoft .NET framework infecting Linux… Looks like not everybody is a Fan of Mono yet… Anyway, I checked out Gnome 2.13.92 using Garnome and gave it a try. The default theme is […]


Toughts about Linux, Windows and Mono influence – Part III

Sunday, March 5th, 2006

Hehe, nice to know the ammount of comments/reads that my two previous posts had. Got people from OpenSource movements to Microsoft coders! The sad thing, and yes I think this is related, is that someone was trying to hack my server and I had to shut it down for a while… can’t people read an […]


Toughts about Linux, Windows and Mono influence – Part II

Saturday, March 4th, 2006

Well, the feedback to my first post was so fast that I decided to move on with the second part of my planed article. The fact is that I’ve used gentoo and initng but those aren’t standarts. Gentoo isn’t for the home user and if you aren’t one you should be able to tweak the […]


Toughts about Linux, Windows and Mono influence – Part I

Saturday, March 4th, 2006

Each time I boot a Windows XP machine I wonder why the hell is it still faster than my tuned Linux box which only starts the needed daemons? Why does Outlook startup under 2 seconds and Evolution takes ages? And questions like that. If you ever have done a Windows Service or even look carefully […]