Sunday, December 23, 2007

Ubuntu on Notebooks : Temperature Monitoring and Power Managing

My notebook came with pre-installed Vista. I used it for a few days. It had all the drives and utilities installed. When I switched to Ubuntu on this machine, I couldn't find alternatives to some of those utilities like power profile manager and system temperature monitor in the default installation. However, after some quick searching, I found a way to do all these in Ubuntu;

Click to read the rest of this post.

Tuesday, December 18, 2007

Why my Ubuntu setup was dead slow lately.

My Ubuntu setup had been running insanely slow for a couple of weeks. I tried deleting all my configurations, but it didn't work. Then 2 days earlier, when I was browsing Ubuntu forums, I stumbled upon some threads suggesting editing my /etc/hosts file would help. I desperately tried this not hoping this would change anything. Then as suggested, I added my...

Click to read the rest of this post.

Sunday, September 9, 2007

Google Calendar & Gnome

If you use Google Calendar and Gnome desktop, you would possibly want to see your Google calendar events on your desktop. It's quite easy;

First, go to your Google Calendar and ...

Click to read the rest of this post.

Saturday, September 8, 2007


Friday, August 31, 2007

Ubuntu Gutsy Gibbon (7.10) on Acer 5920G

I have been using Ubuntu 7.04 on my new Acer 5920G. There were some issues with it. First problem was that I couldn't use the live CD; had to use alternate CD. And the nv drivers didn't seem to work with the 8600M GT vga on this machine, so no X after the first install. After I used a tool named envy to install the latest Nvidia drivers, I had Gnome running and everything looked fine... till i realized my wireless card was not recognized. Being too lazy to try ndiswrapper, I used the machine without the wireless network capabilities for a while.

After beating the laziness, I decided to try Ubuntu Gutsy on the machine. I grabbed the latest alpha alternate CD (Didn't want to waste a blank CD for the live version which might not work) and installed it. And 'Voila!'. Everything was working... Wireless card, bluetooth, sound... Then I installed the latest Nvidia drivers in the repository, restarted X (at least tried to restart it), and I got an X error like :

" Failed to load module wfb ..."
I did a quick search on Ubuntu Forums, and found this post . I followed the instructions in the post, and now I have Ubuntu Gutsy running on my notebook.

Compiz Fusion comes out of the box with Ubuntu Gutsy. I like the new effects. And I like that everything concerning the Gnome theme (fonts, effect, icons, etc) are configured from one application (System > Preferences > Appearence).

Ubuntu Gutsy has given me only minor troubles. I guess I won't have to wait till the release =)

Qt Jambi

While I was browsing random websites, I stumbled upon Qt Jambi: TrollTech's Framework for Java desktop development. After I ran the demos, I got really impressed. The demos look/run just like native Qt applications, and use many cool Qt functions. Another great step for better Java desktop development.

And also, with the release of Java 6, we have seen great improvements on the GTK Look&Feel. Applications with GTK L&F also look just like native applications.

Since it's also free, I am expecting Java to be the first choice for Linux desktop applications.

Monday, August 6, 2007

Working with GWT

I've been asked to code a multi-user web based project in the second week of my internship (in IBM Turkey, by the way), and left the programming language choice to me. First I thought PHP would be easy, but I decided learning GWT and coding the application in Java would be better for me. I started by reading the excellent tutorials in IBM Developerworks ( 1,2,3,4 ).

I had some bookmarks about GWT, and checked them out. One was Googlipse plug-in for Eclipse, which was renamed to Cypal Studio. After many hours of trying to get it to work, I found out that the problem was Turkish locale. Changing the system language to English helped.

Later, I decided to try Instantiation's GWT Designer. It looked great until I added a RichTextArea to my design. It crashed, but when I removed the RichTextArea, everything was back to normal.

I guess I won't be needing any GUI tools for GWT development. Eclipse with Cypal Studio will be enough.

Sunday, July 29, 2007

Java & Excel Documents

During my internship, I was asked to code an application that parses a given text and adds the data to an Excel document. Parsing was easy, but Excel part seemed difficult. But after a quick google search, I found JExcelApi. It is simple, and nicely documented. Thanks to JExcelApi coders, I finished the application in just a few hours.
These kind of situations makes any coder appreciate "free software".

Wednesday, July 4, 2007

Subversion Management Tool - "subman"

I've completed the Web Based (PHP) Subversion server management tool I was coding. It's usable, but many things may need improving. Current features are :

  • Create / Delete Repositories
  • Create / Delete Users
  • Add users to repositories
  • Remove users from repositories
  • Change rights of users in each repository

Notes :
You need to have a SVN server setup with Apache Webdav in order to use this tool. And you need to specify paths for SVN server related files in config.php . And don't forget to backup everything related, prior to trying this :)
It is compatible with PHP 5+. License is Apache 2.0. I have used Hashmap codes from Phrame.

Download it here : Subman 0.1

I will try to make it better in my free time, so I'm open to suggestions. If you try this tool, please write a comment here.

Saturday, June 16, 2007

Perfect fonts in Ubuntu

I followed this how-to to install freetype and cairo libraries. Now my fonts are better anti-aliased, thus look very cute :). And for anyone who wants to have better fonts and don't want to worry any details, here's how to do it, in a brief way;

Just open gnome-terminal (or any other of your choice) and type these in order.

1. sudo echo "deb feisty fonts" >> /etc/apt/sources.list
2. sudo echo "deb-src feisty fonts" >> /etc/apt/sources.list
3. wget -O- | sudo apt-key add -
4. sudo aptitude update
5. sudo aptitude install libfreetype6 libcairo2 libxft2

and installing is complete. Restart the X server ( Ctrl + Alt + Backspace), and you are done :)
Edit : Installing MS fonts first would give better results. I guess you can do it easily using Automatix which is a GUI tool for easy installation of many additional applications in Ubuntu.

Eclipse PDT & Zend Debugger

I'm working on the Subversion server administration program I mentioned on my previous post. Till now, I had only programmed small projects using PHP, and didn't need a good IDE. Advanced text editors (Gedit, Notepad++ etc) were more than enough.
This time, I want to use a good IDE for ease and stability of development. I had previously read about the Eclipse PHP IDE project. So the first IDE I checked was my good old IDE Eclipse. I downloaded the PDT & Zend Debugger all in one package. And that's it, didn't try any single other PHP IDE.
I don't like PHP much. 'Type-unsafe' languages drive me mad. But Eclipse PDT was there to help me. With javadoc-like comments before variables and functions, I can notify the IDE of the type of the variables and return values of the functions. And when I call the function, or use the variable, the IDE guides me. This prevents many possible errors. This single feature of PDT was enough for me, but with that package, I also had auto-complete for PHP functions, documentation for each standart PHP function and an integrated debugger/interpreter. I didn't even need a web server (Although I already have one set-up).
For the HTML side, Aptana plug-in is my choice. I have used it on several occasions before, and I'm pleased with it.
I guess Eclipse will always be the IDE to try for any new languages.

Wednesday, June 13, 2007

Managing a Subversion Server

Recently, I set up an SVN server on a Gentoo machine (not an ordinary machine.. It has 6 sparc cpu's =) ) using the great howto from Gentoo Wiki. It works quite well, but I also need a web-based tool for ease of administration. I found svnmanager, but I had problems with it. It uses Prado Framework 2.0.3, which won't work with newer versions of PHP. As the server will also run other PHP applications, downgrading is not an option.
First I tried to update svnmanager's codes to newer versions of Prado Framework but Prado changed in many ways in the never versions (3.x). And finally I decided to code my own web based SVN administration tool. I'll start tomorrow, and i guess it will be finished in a couple of days. I had written a tool like this for our good old cvs server, and this looks even easier.
I'll be sharing the code for anyone that needs it.

Monday, June 11, 2007

Moved to Blogger

Fresh start on Blogger... I had bandwidth issues with my previous blog as it was hosted with my father's company's website. Also it's easier to blog on Blogger since i don't have to deal with Wordpress updates anymore. And Blogger has some slick features that just pulled me in...