Posts by Category

howto

How to connect the Ardusimple ublox F9 board to u-center in Windows 7

less than 1 minute read

Published:

Thanks to our friend Geoff from Australia for sharing this tip of using the Ardusimple SimplRTK2B board with U-Blox U-Center program on Windows 7 PC (normally it works only with Windows 10). The trick is the power the board first via the ‘power+xbee’ usb port then connect to the main ‘power+gps’ usb port and disconnect the first one - this is shown in below video:

วิธีทำให้ HTC Rhyme พิมพ์ไทยแต่ใช้เมนูอังกฤษ

less than 1 minute read

Published:

ตอนที่ผมได้มือถือ HTC Rhyme มา เมนูต่างๆเป็นอังกฤษ พอจะพิมพ์ข้อความแล้วไม่มีภาษาไทยให้เลือกครับ ซึ่งปรกติจะมีให้เลือกโดยการเลื่อนที่แป้นวรรคครับ

Nokia C5 Backup Contacts to Memory Card

less than 1 minute read

Published:

It’s great that Nokia S60 phones provide a simple and direct “do it yourself” way to backup and restore contacts via memory-card:

Openbox in GNOME - setting the keyboard shortcuts

1 minute read

Published:

As the “window manager” Openbox being much more responsive than the default one called Metacity - it proved to be a great replacement expecially on my slower notebook. Much faster/responsive when doing all kinds of gui tasks - opening/closing a window, switching workspaces, etc.

Make Ubuntu programs launch much faster with Preload

less than 1 minute read

Published:

Use “preload” to make your Ubuntu GNU/Linux desktop computer much more responsive - programs launch much faster. “Preload” monitors what apps you normally use often and it would pre-load them to memory and thus makes them launch much faster.

New Nokia Ovi Maps has free navigation

less than 1 minute read

Published:

Nokia announced plans today to release a new version of Ovi Maps for its smartphones that includes free walk and drive navigation worldwide.

Make Ubuntu much faster

less than 1 minute read

Published:

After experimenting on many desktop environments, I settled Ubuntu’s default GNOME since Ubuntu 9.10 (as GNOME, for me, was the most stable, complete, intuitive and simple compared to KDE,XFCE,LXDE,etc…), but I still missed the speed, responsiveness of XFCE - especially when I’m programming, I open many programs/documents across 3 workspaces, although already turned-off all visual effects/compositing.

Howto fix ubuntu 9.10 sound on compaq presario CQ35

less than 1 minute read

Published:

Thanks to my cousin Yahya Hamad (computer science student in Ladkrabang University), he wanted to share a little howto fix the Ubuntu 9.10 “no sound” problem on compaq presario CQ35, I edit it a bit, as follows. Thanks very much to the Indonesian howto writer “Slacking Ubuntero”.

HOWTO Sharper fonts in Ubuntu the easy way

less than 1 minute read

Published:

The default font display in Ubuntu's GNOME is smooth and soft. Many people like sharper and crisp font display. There's an easy way to adjust this. The fonts seem to shrink a little too.

Ubuntu 9.10 is out and always better

less than 1 minute read

Published:

Yes, you can use your computer without Windoows and its license fees.

You can work without MS office.

You can be free from viruses and spyware without anti-virus software.

You can run your computer with highest quality software that respects the world society’s freedom to  use, study, modify and share the software.

Get it on your computer now at www.Ubuntu.com
- such a great contribution to mankind - a free/open-source and socially-better alternative to Microsoft Windows and Mac OS. Ubuntu is based on GNU/Linux, GNOME and other free/open-source projects.

From what I tested on my notebook, it’s now much faster and much better designed, integrated and easier to use!

Ubuntu Bluetooh Mobile Broadband and sending files

3 minute read

Published:

This howto enables you to use your mobile phone as an internet connection for your notebook - great for travelling internet needs - but make sure your mobile network plan is cost-effective for such uses.

The default GNOME bluetooth app is quite behind blueman, no internet tethering (aka mobile broadband, bluetooth dial-up network) and the default KDE bluetooth doesn't work for internet tethering either.

    Install/Setup

- For Ubuntu 9.10 simply run "sudo apt-get install blueman" without having to add any software sources, then Blueman would start automatically.
- For Ubuntu 9.10 you MUST also add the "ppa" for network-manager otherwise bluetooth internet won't work: Go to System > Administration > Software Sources then clock the "Other Software" tab and press the "Add" button below, enter "ppa:network-manager/trunk" (without quotes) press "Add Source" then press "close" below, let it update. Finally, go to System > Administration > Update Manager > Install updates then let it finish installing the new network manager updates, then restart.

- For ubuntu 9.04 or older then please follow this HOWTO: install "blueman"
(This howto is tested on Ubuntu 9.04) then open a terminal and type "blueman-manager" to start it.

    Mobile internet/broadband via Bluetooth
Blueman can be used for "internet tethering": using your phone's internet (GPRS or 3G data) for your notebook when you're traveling:
(From what I tested, it is working in GNOME,XFCE with Nokia E61 and Nokia 6120 classic - but NOT working in KDE yet).
1. "Find" your phone and right-click and select "dial-up network service".

For Ubuntu 9.10:
2. just click the network manager icon and select New mobile broadband connection to launch the wizard, next time just select that connection.

For Ubuntu 9.04 or older:
2. Right-click the LAN/connection tray icon and "Manage connections" > click the "mobile broadbnad" tab.
Add > Select "Bluetooth DUN xx:xx:xx:xx:xx:xx", press OK, set a name (for example: "AIS Bluetooth"), check the "Connect automatically" checkbox, press Apply.

3. Wait a few seconds and you'd see the "network manager" circles as it tries to connect but if not, click its tray icon and select your new connection to connect manually.

If you want to use this internet tethering via USB instead, just plug your phone and select the appropriate mode (for Nokia S60 phones slect "PC Suite") and the "Mobile Broadband" Wizard would start and get things done automatically.

Sending files via Bluetooth:
- In GNOME (ubuntu-desktop) right click your file, send-to and select your bluetooth phone.
- In XFCE (xubuntu-desktop) right click your file, send-to and select your bluetooth phone. If there's no send-to menu for bluetooth yet then please follow the "Bluetooth to your phone..." section in this Thunar wiki page.
- For KDE (kubuntu-desktop), I couldn't find an easy way to manage or add the send-to menu yet but I can right-click the file > open with > and type "blueman-sendto" (without quotes) as the command.

Blueman also enables you to automatically receive files via Bluetooth without installing and running the gnome obex server. Right click the blueman icon > local services > transfer > and check accept files from trusted devices to make it auto-receive files from the phone which you already set as trusted (after you find/pair a phone then you press the "star" icon to mark it as trusted).

KDE 4.3 - modern, fun to use and now stable

1 minute read

Published:

This 4.3 release is just phenomenal - all the widgets (from system related to rss to wikipedia, social etc..) provide a new, exciting modern way to use your day to day computing - and yes, KDE always has that extra care to make things look beautiful and attracts quite a few people to the world of free-software/opensource GNU/Linux.

Install KDE 4.3 on Ubuntu 9.04

</param></param></param></embed>

I had quite a bad experience in the older 4.2 release but that seems to be normal as KDE was in such a big re-write to make things more modern/dynamic - this 4.3 release seems to be much more stable and fixed most of the problems.

For sending files via bluetooth, please refer to this howto for blueman.

However, I still can't get mobile broadband via Bluetooth to work in KDE (it works very well in GNOME, XFCE)!
Therefore, although KDE looks pretty, I still mainly use XFCE because it's faster/easier for me to get work done - its minimalist simplicity, very high speed and better integration with the more stable and complete GNOME apps/features as in ubuntu-desktop.

I tend to use KDE when I'm not working - just reading or playing around with music, youtube, blogging, etc - it's good to feel a change of the environment to a beautiful KDE and relax yourself from thinking about work. Somewhat similar to the idea that we must separate working and relaxing rooms to relax and divide time better.

Don’t sit too long - SitSatSat mobile java app helps remind/alert you

less than 1 minute read

Published:

I have this neck pain problem myself and made this little j2me (for java-enabled phones) app long ago - to remind every 20 minuts with an alert sound:

SitSatSat (FREE)

I forgot about it for so long until recently my neck pain increased.

I tried different chairs, sitting positions, but none solved the problem if you still sit for too long without moving periodically. The neck pain was much less during holidays or days I didn't sit coding.

So I remembered this SitSatSat app, searched for it (I remember I deployed it on GetJar.com long ago), installed it on my current development phone: Nokia 6120 - stand up, move your neck in all directions when it alerted - it helped reduce my neck pain a lot at the end of the day.

The main thing is that the alerting app actually can't help you at all, you need to help yourself: move you neck, stand up regularly when it alerts. Just keep in mind that "your health is important too!".

HOWTO Simple way to make clear, sharper and smoother font display on Ubuntu

less than 1 minute read

Published:

For LCD screens:

  1. Simply open "System" ->"Preferences"->"Appearance" then choose the "Font" tab then select "Subpixel smoothing (LCDs)"

  2. Now, your fonts might grow too big - so press the "Details…" button and set the resolution to 90 dots per inch (default is 96) changes would apply when your press enter or when you use the increase/decrease button.

    That’s it! Notice the difference.  Some apps might need restart to be affected.

Intuitive, easy to use, on-line todo list managerTadalist.com

less than 1 minute read

Published:

I tried a few to-do list manager apps in the past but always had to revert to my simple text file TODO.txt method because my needs can’t be sufficed:

  1. Easily/instantly add TODOs - don’t ask/force me to put the end-dates, priority, etc.
  2. Easily/instantly re-order the list - move the more important ones up according to the situation.
  3. Easily/instantly move the TODOs that were DONE down at the bottom of the list for future reference - but not delete them.

    Finally, I found this ta-da list to meet my demands and it’s on-line so it’s better than transferring my TODO.txt here and there and sometimes forget which copy is latest! It also has multiple lists so you can group up the TODOs.

    Ta-da List seems very simple and easy to use with the least annoyance of regular todo list managers, plus this is on-line: a centralized place to keep your lists:

    Ta-da List Homepage

    It’s easy to-do!

Manually install Nvidia drivers on Ubuntu 8.10

less than 1 minute read

Published:

For some strange reason, the restrictred hardware drivers that used to work for installing the nvidia drivers on ubuntu freezed/hanged on two computers i tried already. So I somehow found this useful.

Open the Accessories > Terminal and enter

sudo apt-get install nvidia-glx-177

Then

sudo nvidia-xconfig

Then, make sure all work is saved, all other programs are closed, press Ctrl+Alt+Backspace to restart the window server. Hope this helps.

The free FTP client FileZilla

less than 1 minute read

Published:

I was very happy when I came to know about FileZilla - finally a simple, stable and free Ftp client. I hope this suggestion benefit others too...

The FileZilla FTP Client.

If you're using Windows, just download and run the installer from the page above.

As for Ubuntu Linux, the easier way to install is to simply find, check the box and click apply - from the Add/Remove software manager.

Notepad++ is the better Notepad

less than 1 minute read

Published:

Looking for a handy, smart and free text-editor? Need to edit text, html and all kinds of source-code?

Get Notepad++.

Here's a small HOWTO:
- Go to the Notepad++ site.
- Click on "Download Notepad++ executable files" under "Binary files" section.
- Locate, download and install the "npp.5.0.beta.Installer.exe" (it was 5.0 at the time of writing this blog entry).

Nvu - A free alternative to DreamWeaver

less than 1 minute read

Published:

I came to realize that many people I met needed a free and easy way to edit simple html files for their websites. Nvu has always been my suggestion - I use it regularly myself on both Windows and Ubuntu linux.

Made with Nvu
(My ClearEvo.com site is maintained using Nvu, but this blog is powered by Pebble!)

Give it a try: Nvu official site

Try a faster web-browser - The new Opera 9.5

less than 1 minute read

Published:

A new hairstyle would probably make you feel a lot different. What about trying a new browser? Try this:

Opera 9.5 - beautifully engineered

Yes, for me it's faster. Feels much more response. Looks new and very intuitive.

I really love the speed-dial feature too - just add your favorite sites you go often there and just speed-dial it - like on a phone! (Maybe because Opera is from Norway, near Nokia in Finland and Ericsson in Sweden?)

Speaking about mobile phone's - don't forget to try their famous Opera Mini too!

Have a nice & fresh new day!

ZIMBRA Desktop email - effectively manage all your emails - Gmail, AOL, Outlook or other POP/IMAP email accounts

2 minute read

Published:

I've been trying lots of (free) email clients lately both in Ubuntu Linux and Windows... As for now, my favorite is:


(This picture is its icon on my Ubuntu desktop)

Zimbra Desktop - you get all your emails in one place, very smart highlighting (For example, when you hover your mouse on some "today" in a message - Zimbra shows what day was that... etc.). It seems to work well and stable with lots of mail in the inboxes. Best of all, it's really smart and SUPER EASY to setup new email accounts (I used gmail-based company acoounts). I never found any email client that is this easy to setup accounts, you always had to enter repetitive things, ports, etc.

Yes, I love the simplicity that comes from "convention over configuration". (If you're a programmer then maybe you heard that phrase recently? No?)

For Windows it's super easy to install Zimbra: just download and run the installer.

For Ubuntu Linux, a little harder to install (but that's normal in Linux). Here's a small HOWTO install Zimbra Desktop on Ubuntu:

1. Download Zimbra desktop for linux (browse from Zimbra Desktop official page) to your home folder.

( in your terminal, where you downloaded the installer for linux...)
2. chmod +x zdesktop*

3. sh zdesk*


I used to like/use the embedded email client that Opera Internet browser provided, but I had problems about its strage behaviors with IMAP (with my gmail account - I recall that it showed sent messages in inbox, etc...), and in POP3 mode - I also observed a few cases when some new big sized emails get lost when there are lots of messages in its Inbox... Not using it anymore now.

As for my Ubuntu Linux boot, I always liked/preferred its default email client - Evolution (and still like/use it now...). However, sometimes (OK, many times) it seems to hang/freeze for a few seconds, makes you feel in danger of a system hang - but no - just the Evolution froze a few secs. Other instabilities I found included a case where the program froze with the CPU in full usage and got hot, and a sometimes it just hanged - needed to kill the process. But those things are rare, not a real problem. Evolution would still be the number-one and most complete linux-based email client in my mind.

I also tried Thunderbird - it's good, fast, but it had difficulties in using multiple outgoing email accounts, it doesn't seem to be designed for using many email accounts in one place... especially about the sending smtp settings.

WMouseXP 2.0 supporting BlueSoleil Released!

less than 1 minute read

Published:

WMouseXP 2.0 - Bluetooth Wireless Presenter Mouse + Media Player Remote Control Software. For Nokia/S60/Moto/SE Phones! NEW - Supports BlueSoleil Bluetooth!

With WMouseXP 2.0, you can use your phone's Joystick as your wireless mouse, use your phone's numpads as a presentation (PowerPoint/PPT) remote control and media player remote control (like a stereo remote) - all wirelessly via Bluetooth, directly from your phone. This software requires a Java-Enabled Bluetooth mobile phone + Windows XP/Vista with Bluetooth (USB, integrated, etc...) on BlueSoleil or Microsoft or Broadcom/WIDCOMM Bluetooth Stacks.

Uniquely easy to setup, uniquely easy to use, uniqely smooth mouse movement, uniqely integrated powerful functions. Simple, stable and straightforward.

Get WMouseXP 2.0 RIGHT NOW from WMouseXP 2.0 Official Page.

Free in-call minute-beep software for S60 2nd Ed phones

1 minute read

Published:

    Incallert periodically generates sound beeps (which are normally heard only on your side) during phone calls. Use Incallert to make you conscious of your phone calls’ minute mark - at and BEFORE the minute mark - WITHOUT having to look at the phone. AND IT’S FREE!

 Incallert can be used on S60 2nd Edition phones only.

While active, this program makes a beep sound at the minute mark and can also make a different beep sound before the minute mark of your call. This feature helps notify you that a new minute cycle is coming soon, useful to control your call lengths by not getting into a new minute and using just a few soconds of the whole new minute that you’re charged for - especially for international or other costly calls where the cost per minute is quite high. In cases like this, you would like to set Incallert to warn at and before every minute.
       It can also be useful in the case that you don’t want to waste too much time on the phone - you can set Incallert to warn you every 5 or 10 minutes.

See more details from Incallert Official Page.

BlueSoleil implementation for WMouseXP coming soon!

less than 1 minute read

Published:

Many USB Bluetooth dongles nowadays comes with BlueSoleil driver CD.

The upcoming WMouseXP 2.0 would support using BlueSoleil too! (The current WMouseXP 1.2 only supports Microsoft and Broadcom Bluetooth driver/stacks...) I expect this to be released within 1 month's time.

About WMouseXP
WMouseXP software turns your phone into a Bluetooth Wireless Presenter Mouse + Media Player Remote Control! For Nokia, S60, Motorola and SonyEricsson phones that support Java (MIDP-2.0) + Java Bluetooth fuctions (JSR-82).
The PC-Side software runs on Windows XP with Service Pack 2 or later installed.
Uniquely easy to setup, uniquely easy to use, uniqely smooth mouse movement, uniqely integrated powerful functions. Simple, stable and straightforward.

other

Your Value

1 minute read

Published:

Ever wondered how much you are worth? How to increase your value?

The Free-Software Movement

less than 1 minute read

Published:

Part One
</param></param></param></embed>

Part Two
</param></param></param></embed> </p>

Google’s Linux OS Chrome OS

2 minute read

Published:

"a new windowing system on top of a Linux kernel."

Sounds like Google’s own XFCE: "Speed, simplicity and security are the key aspects of Google Chrome OS. We’re designing the OS to be fast and lightweight…"

http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html

I’m very much looking forward to this Google Linux Distro but I don’t expect it to be as stable as Ubuntu initially.

Talking about speed, let’s talk about XFCE…

I really like that direction of speed, simplicity: "getting my work done without the OS getting in the way" - so I was really impressed when I tried XFCE on my Ubuntu desktop by "sudo apt-get install xubuntu-desktop" then logging out and choose Session > Xfce Session. I’ve been really impressed with the speed of XFCE since then and using XFCE as default eversince both on my desktop and notebook! GNOME, although much more complete, is much much slower, my KDE 4 experience is also slower and very unstable - just copying big files to a usb drive even stopped unexpectedly, copying files through samba in dolphin also hanged the whole computer, the "kickstart" sometimes doesn’t pop-up on click anymore, Konquerer crash in Youtube, main panel crash after editing it via its GUI - KDE really looks beautiful though but maybe this KDE 4 release in Ubuntu 9.04 packages are too immature.

A big thank you to all the GNU, Linux, Ubuntu, GNOME, KDE and XFCE guys! You all have contributed much much betterment to the world society!

XFCE is really amazingly fast, responsive, stable - but at first I needed to learn a few things too, you need to learn the new menu, where the generic stuff are, then the file browser thunar doesn’t mount other non-linux drives so easily as in GNOME’s nautilus - you need to go to System > Remote Filesystems and double-click your drive once to mount it and again to browse it. Network sharing of folders is missing though (for both right-click share folder and smb://<ip> to access as in nautilus) so you need GNOME’s nautilus in that case: just open a terminal (opening a terminal is really easy in Ubuntu’s XFCE: right click the white space in any folder and "Open Terminal Here") and simply type "nautilus".

Sitting tips from Sidiz

1 minute read

Published:

Although the tips are quite biased for their product, it help me understand and learn a few things to be a healthy software coder. Hope these tips benefit you too:

Sidiz: "How to keep a healthy spine"

A part of their second recommendation:
"Move about in your seat is the most important thing. Your discs have a sponge-like structure, and your body motion provides a pumping action that lets them absorb nutrients and dispel waste. Moreover, your discs separate when your waist moves under compressed body weight and the discs are concentrated on a single spot. Lean back and adjust your bodily posture to keep your discs healthy."

How to reduce bitterness of egg-plants

less than 1 minute read

Published:

Some people don’t like to eat egg-plants because its little bitter taste.

The technique to reduce/remove the bitterness I found in a Turkish cookbook is to cut the egg-plants and put them in salt-water for about 30 minutes.

I dont remember how much salt but I think I put enough salt to make the water quite salty.

After the time, you will see the water color change to be darker. Remove the egg-plants from the brine and wash them with plain water, squeeze the salt water out too.

Maybe this tip is one reason why there are so many Turkish egg-plant recipe/dishes!

How to prevent milk tea/boiling from burning at the bottom

less than 1 minute read

Published:

(A simple version of "Indian tea" is boiling the tea in milk rather than water)

Prevent milk from being burnt at the bottom of your tea pot.

Simple - put your milk tea pot to boil inside another larger pot with some water - just enough water to cover about one third of your tea pot!

How it works - Once the water in the outer tea pot comes to boil - the water temperature is regulated naturally between its liquid and steam state so the bottom of your milk tea pot doesn’t get too hot.

This same "2 pot" method can be used for cooking food/rice dishes with no bottom burns.

HOWTO SIT - relieve back pain and neck pain

less than 1 minute read

Published:

See this article about how to sit in a chair.

The middle of the page has a good "If you experience this problem" - "Caused by:" - "Try this:" table.

In my case I was looking for the "Neck tension, tightness, upper back and shoulders tension." case and the solution seems to relieve the situation very effectively.

I would also like to add that the pillow you use to sleep on also plays a significant role about neck pain too. I remember once I had a severe neck pain until I can’t even sleep well then I changed my pillow and it significantly helped.

Super small USB Bluetooth dongle e-blue mini nova

1 minute read

Published:

I was walking in an IT accessories store and spotted this very small USB Bluetooth dongle - bought it right away. Let me write a small review for it…

The main thing I like about it is that it’s very small! It doesn’t bother the space of other USB devices, you just plug it in and leave it there.

As for performance, it seems to have very good response time, great multi-connection handling: You can use your Bluetooth Stereo Headset (I’m using an i-Tech BlueBand) at great sound quality and send files to your mobile at the same time - although the file transfer speed would drop in this scenario and the music would pause once on the start of the file transfer (but music runs fine during file transfer) - it seems to be much faster and better performing that other USB Bluetooth dongles which I tried.

As it runs on a Broadcom/WIDCOMM Bluetooth stack/driver, it worked perfectly with WMouseXP - Bluetooth Wireless Presenter Mouse + Media Player Remote Control Software (For Nokia/S60/Moto/SE Phones).

It comes with a CD driver for you to install the Broadcom/WIDCOMM Bluetooth stack, if you just plug it in then it won’t work with the Microsoft Plug and Play Bluetooth stack. You must install its CD driver. The CD driver I got didn’t have auto-run, you should go to ‘My Computer’ browse its folders (choices are for Windows XP or Vista, etc…) then run the Setup.exe .

If you’re interested, the e-blue mini nova official site is HERE but there seems to be no "Buy" link there… but you can easily Google for it. Checkout your local IT store, maybe they have it!

programming

Android NDK Get IMEI Natively

less than 1 minute read

Published:

Here’s how you can get the phone’s IMEI directly via (NDK) Native C code:

Qt C++ Get Screenshot

less than 1 minute read

Published:

How to get the screenshot of the computer using Qt c++.

Counting days between two dates - programming in Java or C

3 minute read

Published:

When I was a Computer Science student at Kasetsart University, I had this ANSI C programming homework to make a program that counts the number of days between dates, at that time I didn’t have a computer yet, I had to write this code on a piece of papaer while at the hostel - then write it again on the computer at university or at my cousin’s who had one. Now, many years later, that same code became part of the j2me DaysToDay Calendar Counter Program - I tried using the java Calendar class on mobile but it had bugs/wrong_results while computing long date differences of many many years. Here’s the main part of the code, the full Code is here.

GNU C Generic Makefile Example

less than 1 minute read

Published:

Here’s an example of a GNU Make “Makefile” to compile your C programs - it searches for all .c files and includes them in the compile list:

Decoding WCDMA RRC packets (3GPP 25.331)

less than 1 minute read

Published:

The 3GPP 25.331 provides the asn1 syntax for the specs of WCDMA RRC packets sent over 3G networks between phone and base station, however, you need a asn1 compiler to convert it to C code to do the decoding in a software program.

Finally Nokia Qt SDK supports Ubuntu GNU/Linux

3 minute read

Published:

Finally we can develop native (Qt) Symbian apps on GNU/Linux with official tools from Nokia? It’s just amazing to see the simplicity and features of newly released Nokia Qt SDK - officially supproting Ubuntu GNU/Linux!

Blogging via a text-editor and Git with jekyll

1 minute read

Published:

Share the beneficial knowledge, tips, howtos with least effort. Write a text file (in markdown or textile) with your favorite text editor (gedit, emacs, vim, etc) then use git to commit and push it to your server. Jekyll blog generator provides that possibility.

Open-Source in businesses, how and why it works?

less than 1 minute read

Published:

Some parts in these videos explain very important points about how the open-source developers/companies make money and share knowledge in the same time. Also how general companies benefit from using open-source software: an example of a Brazilian rain-forest research company.

Part One
</param></param></param></embed>

Part Two
</param></param></param></embed>

Part Three
</param></param></param></embed>

Synchronizing your works and documents between PC and Notebook

1 minute read

Published:

After having a Notebook sometime back, I had to zip my work and transfer them between my PC and Notebook before and after going to work.

When using SVN, the daily routine is like:

  • Simply "update" your local SVN folder (using TurtoiseSVN - for windows) from the server (I use my PC running VisualSVN server - for windows - as the server) before working, and "commit" it back to the Server after you’re done.

    (However, remember to always zip the work folders for safety and backup purposes - write them to a CDbefore new big changes, also weekly etc. - all these stuff the manage your work folders are in some way dangerous and sometimes risky about losing your work.)

    At fist you got to create a "folder" in the SVN server itself, then "checkout" the project folder to a folder using TurtoiseSVN (right-click on folder…).

    Fore more info please read the Subversion Book to know what SVN is all about and the docs of TurtoiseSVN, VisualSVN or other tools you chose as the server and client.

    If you’re using it to sync software development project folders (I use for Carbide.C++ Symbian development projects) then you should also set TurtoiseSVN (on both PC and Notebook) to omit certain filetypes that are not necessary for syncing/

    For Carbide.C++ folders, I set Turtoise SVN settings > Subversion > "Global ignore pattern" as "*.log *.pdom */.metadata .metadata" to make it sync well without all other other unnecessary files. Remember to close Carbide.C++ before you update or commit your folder.

    Update:
    Nowadays, I’m mainly using git instead, for many reasons, mainly that I can commit frequently (because commits are done locally) and fast because, many many other things are really neat with git - and it’s not hard to use the command-line/terminal at all if you devote some time to read the docs/tutorials/help.

Setting Pebble Blog Server default URL

1 minute read

Published:

After I setup lighttpd for my server (to serve static files of my site and also keep the door open to try some php, ruby webapps) , using it to proxy tomcat (mod_proxy) and also using virtual servers in both tomcat and lighttpd, there were two problems with my Pebble Blog Server:
(This problem doesn’t happen on my previous setup where I used tomcat directly on port 80…)

  1. The URL of all pebble-based links were like www.clearevo.com:8080/blog/….
  2. Login to Pebble failed, or sometimes worked then I’d see http 404 not found sometimes, and on logoff.

    These two problems can be fixed by editing the file: <your pebble folder>/WEB-INF/applicationContext-pebble.xml (thanks to the xml "comments" from Pebble in the file, it was easy to understand what to set…)
  1. Set your blog default URL: from ${url} to "your blog URL", my case was edited to <property name="url" value="http://www.clearevo.com/blog/"/>
  2. Empty the ${secureUrl} to an empty string, my case was edited to <property name="secureUrl" value=""/>
  3. Reload your pebble instance from your java webserver/tomcat (tomcat app manager: http://<url>/manager/html).
  4. Login to your Pebble server, goto the top menu "Configuration" > "Utilities" then click on "Reindex" to apply the new correct url to all past posts/links.

Note: Since these settings are in /WEB-INF so you’d probably have to set them again when you deplay each new version of Pebble because the file would be overwritten.

Hope this helps other Pebble users! Get the latest pebble release from Pebble Official Site

Carbide.c++ Professional and OEM are now FREE!

less than 1 minute read

Published:

This is amazing news:

"Carbide.c++ Version 2.0. In addition to new features and improvements, Carbide.c++ will have an entirely new licensing model - All Carbide.c++ 2.0 Editions (Developer, Professional and OEM) and licenses are now available for FREE!"

This means the on-device debug - which is of huge help to save time - especially in difficult situations are now FREE for everyone.

Got to check this out:

www.forum.nokia.com/carbide_cpp

Really happy to hear that a lot more people working hard on Symbian C++ can debug over Bluetooth and save lots of time!

I was using on-device debug for nearly a year now (the company I work for bought it - it was not free in the past) for my job - it really saved lots and lots of time. Probably never used the emulator ever since.

Native C++ programming in an easier way wxWidgets + CodeBlocks

1 minute read

Published:

I'd really like to express my thanks to the whole wxWidgets.org community for such a great open-source cross-platform framework.

I see that some famous software that are native across platforms, like VLC media player and FileZilla are using wxWidgets too!

Although it's not that easy to start like the commercial or non-native frameworks for application programming, I would say wxWidgets does many things so well that it seems to be far better than coding MFC. Also, with Code::Blocks IDE's integrated wxSmith - you even have a drag-and-drop GUI enabled IDE. Special thanks to the Code::Blocks IDE team!!!

wxWidgets is not only a GUI framework, it's a really complete programming framework: wxWidget's really helps many programming tasks: wxString string class (like CString in MFC), auto free allocated memory on exit of block (wxON_BLOCK_EXIT1), threading (wxThread), and many many more are very very useful. I even use these stuff in the console apps I made at work!

Take a look: wxWidgets Official site

How to setup wxWidgets + Code::Blocks?
Code::Blocks setup guide on wxWiki

The wxBook is very helpful in clearing things up and giving you a solid foundation, big-picture of things, strengths/limits, and how to use things: wxBook Page

New Pebble 2.3 Rocks Harder!

1 minute read

Published:

A big "THANK YOU!" to Simon Brown, the creator of "Pebble" java-based blogging engine. He just released the new Pebble 2.3 - this is truly the easiest-to-setup java-based blogging engine I've ever tried. Its features are also excellently designed and very powerful.

I installed the new release on my blog and found that it loads MUCH FASTER than the 2.2 - probably because "Added a GZIP compression filter to reduce page loading times." as described by Simon in his blog. I was feeling that the 2.2 was loading too slow, now I'm very happy that this new release solved that problem - loads much faster!

Tips for Apache Tomcat 6 Users:
When you install the "pebble.war" to your tomcat server, you can rename it as "blog.war" (to automatically set its path to /blog on your site) and upload it to the "$TOMCAT_HOME/webapps" path, then restart your tomcat server.

Another way is to simply use the tomcat application manger to deploy your "blog.war" via its web-interface which is normally at "www.yourdomain.com/manager/html" - you don't have to restart your server this way.

Please remember to copy the ".jar" files from the "lib" folder which came in the pebble-2.3.zip to your $TOMCAT_HOME/lib/ folder.

Click here to go and get the latest Pebble release for your site/blog Now!

 

Google Analytics - the way to analyse your website.

less than 1 minute read

Published:

This is a really amazing free service that Google offers! You can know about your website’s visitors in a very very detailed way - where they come from, how long they stay, which pages in your site that they go and how many finally went to your ‘goal’ page (like signing up for your site or download your software).

If you didn’t use it yet, come and see how it works:
Google Analytics Tour

Or go directly to the main page:
Google Analytics Main Page

programmings