rebit 5 first impressions – synching to network share

Initially I was very happy with the idea of how rebit works. However, now having used it for two days I am dissappointed.

The option to have real-time painless synchronization is quite needed. Personally, I wanted to synch with my NAS at home, and my RAID 6 server at work.

Problems began immediately while trying to configure backup to network shares. The interface is very non-intuitive, but once you figure it out it becomes easy.

The initial backup is VERY slow. In addition to this, I couldn’t ascertain reliably what exactly was going on with my files. At some point the files in the rebit browser backup folder seemed empty.

I can say that my experience up to now has not been efficient nor easy. Instead, simply copying my files using fastcopy finished in 2 hours.

I will give a shot to the rebit 6 trial but I’m glad I didn’t fork over the 40 euros.


Java application not sending e-mail with gmail

Suddenly my java application for sending student attendance reports threw the following exception: unable to find valid certification path to requested target

It turned out that my avast firewall was interfering so I would propose to all those having this problem to disable any anti-viruses or firewalls temporarily and try again.

Creating a multi-boot system USB boot Disk

I found a multi-boot USB disk creator called YUMI. It can be downloaded at:

This disk allowed to be create a USB disk that contains:

  • Lubuntu
  • Hiren’s Boot CD
  • Windows XP SP3 install/repair CD

This allows the creation of a USB stick containing all needed linux/windows repair disks and live operating systems.

X11a Netbook Drivers

I’ve noticed many posts on forums from users asking for X11a drivers.

Below are the drivers I have been able to find using the hardware IDs displayed in the device manager.



Graphics card:

Mobile Intel(R) 945 Express Chipset Family

 Audio Driver:

Dealing with: pci system error on bus/device/funtion 000h

Dealing with

pci system error on bus/device/funtion 000h

Possible Solution reset the bios 
2.remove the battery 
3.add the battery again. 

It is likely there is a hardware issue or shortcircuit on the motherboard.


I relieved this error on a net book both on Windows XP, and with Lubuntu USB disks. Unofrtunately, the netbook died after a few months.

Benchmarking Javascript Engine on Kindle 4 Touch

I had read an article about solving complicated problems with the use of distributed javascript applications. This is very interesting as all devices run javascript including our old 2G and 3G mobile, and ofcourse some e-book readers.

I really would like at some point to work on a project related to this.
In relation to that, I did a benchmark using my Kindle 4 Touch that has an experimental web browser and a 800 mhz cpu.
This was using the SunSpider 1.0.2 JavaScript Benchmark


Super Backup : Transfering contacts from Android to Iphone painlessly

Super BackupA friend  wanted to transfer their contacts from Android to their Iphone.
Unfortunately, the synchronization with google was broken.

Enter Super Backup, available @ the google play store.

I found this quite by accident, by searching for “backup” within the app store. It turned out with this app, that I could backup  the contacts to VCF format, and subsequently e-mail them to the iphone which supports importing VCF files.

So, with this app and without a computer I was able to transfer the contacts over with a minimum of pain!

I recommend this app since it solved the problem and looked to be solidly built!

Optimized Character Escaper for Java

I wanted to write my own character escaper for requests going to Apache Lucent.
After writing my own, I also received feedback from programmers-stackexchange which resulted in the fastest implementation, also posted here. (Thanks to MrSmit42)

Below is my application that tests 6 different slightly different implementations over 30,000,000 executions each and outputs the time in MS.

The results in MS (on my computer) were the following:

Method 1 (Boolean Array)->    7574
Method 0 (Switch Stmt)->    9778
Method 4 (Switch Stmt Ugly – BreakPoints after evert case)->    12451
Method 6 (HashSet)->    17273
Method 5 (EnumMap)->    39516
Method 3 (Pattern/Regex)->    98229

This proves that for production systems that have many requests, jumping directly on the RegEx bandwagon for even trivial problems is not always the solution.
Even a 0,5 MS reduction per request leads to 50MS saved over 100 requests (per second) and 500MS over 1000 requests.

[polldaddy poll=7418939]


Greesemonkey Script for filtering Stackoverflow Bounty Page

I’m a big fan of stackoverflow and many times surf the featured page that has many questions that have an additional bounty attached.
One of the things though that I want to do is quickly find the questions with zero answers that have not received attention due to one reason or another (e.g. very difficult).

For the specific URL: , Below a greesemonkey script just for that!


Why Java passes objects as references passed by value

I came across a question recently on stackoverflow that was very enlightening and proves how objects are actually passed in java. It was quite an interesting discovery!

I am quoting from here


Java is always pass-by-value. The difficult thing can be to understand that Java passes objects as references passed by value.

It goes like this:

public void foo(Dog d) {"Max"); // true
  d = new Dog("Fifi");"Fifi"); // true

Dog aDog = new Dog("Max");
foo(aDog);"Max"); // true

In this example will still be “Max”. “d” is not overwritten in the function as the object reference is passed by value.


public void foo(Dog d) {"Max"); // true

Dog aDog = new Dog("Max");
foo(aDog);"Fifi"); // true