Posted by BigWhale on February 16th, 2010 in
Software |
1 comment

Image via Wikipedia
Wordpress is crap, but it is the best crap we can get. When your website, with Wordpress sitting in the back, starts to pick up traffic, it will slow down and become unresponsive. Adding hardware will help, but correctly implemented load balancing and load distribution across more than one computer can be tricky and expensive. Trying to optimize Wordpress and the web server itself usually gives better short-term results. In the long run even this won’t help and it will just postpone the inevitable, you will have to cluster in one way or another. I am not going to talk about clustering and load balancing today, I will focus on optimizing your Wordpress. Newbie friendly, yet hardcore, meaning that I will provide explanation for all the complicated stuff.
READ MORE
Cascading Style Sheets . CSS . Hypertext Transfer Protocol . JavaScript . Web browser . Web server . WordPress
Posted by RRunner on February 2nd, 2010 in
Software |
0 comments
Did you ever have any problems with Eclipse? With initial versions of Galileo and in previously released Gynamed there was a problem with preassigned keyboard shortcuts on some locale’s. The problem that Eclipse created when using Slovene keyboard layout was that while programmer wanted to type the ] key, Eclipse run File Search action.
Slovenian users are not to blame that their keyboard has ] key mapped to AltGr+G key combination. And Eclipse developers could browse through Wikipedia to discover what obscure keyboard layouts exist.
Any competent programmer will notice that with the default key mapping Eclipse guards programmers from using too many arrays since typically array is marked with [] key combination. They are advancing object oriented design and programming. But in some cases arrays actually make your code faster and optimize memory usage and fragmentation.
To discover how to remedy the problem read on. READ MORE
AltGr+G . CTRL+Alt+G . Eclipse . Keyboard shortcut . Windows
Posted by RRunner on January 25th, 2010 in
Programming |
1 comment
If you are using xmlbeans on Windows to bind your schema to Java types then you are probably using a tool bundled with the distribution called scomp or Schema Compiler. For schema compiler to work you will need to correctly setup computer environment by installing JDK. You can follow through the following check-list to detect if any additional installation steps are required on your machine setup:
- Start->Run->type cmd and type java in the command line. If no error then your setup is correct; otherwise setup JAVA_HOME and add %JAVA_HOME%/bin to your Path environment variable and try again.
- Start->Run->type cmd and type scomp in the command line. If no error then your setup is correct; otherwise setup XMLBEANS_HOME and add %XMLBEANS_HOME%/bin to your Path environment variable and try again.
Then run scomp. Depending on your wishes you will probably wan’t to create a .jar file of the Java types scomp compiles from schema files. I used the following command line:
scomp -d schema -src src -out my_schema_1_0_0.jar ./schema/mySchema.xsd
|
where mySchema.xsd file was stored in ./schema folder.
If you get my_schema_1_0_0.jar, by some coincidence then kudos to you, but most likely you will end up with something similar to this error:
Time to build schema type system: 1.282 seconds
|
Time to generate code: 18.687 seconds |
java.io.IOException: Cannot run program "C:\your current path\javac": CreateProcess error=2, The system cannot find the file specified |
java.io.IOException: CreateProcess error=2, The system cannot find the file specified |
java.io.IOException: Cannot run program "C:\your current path\javac": CreateProcess error=2, The system cannot find the file specified |
at java.lang.ProcessBuilder.start(Unknown Source) |
at java.lang.Runtime.exec(Unknown Source) |
at java.lang.Runtime.exec(Unknown Source) |
... 6 more |
BUILD FAILED |
Read on to solve this problem.
READ MORE
Java . scomp . Windows . XMLbeans
Posted by RRunner on January 10th, 2010 in
Hardware |
1 comment
After almost a year of rumors and guessing, on the 7th January, 2010, Sony announced that it is dedicated to bring the 3D experience to consumer homes. Announcement was made at Consumer Electronics Show (CES). As seen from announcement 3D will be integrated into most aspects of Sony’s product line meaning consumer electronic devices, TV and movie content and game devices.
The latest information is really interesting because it means that PS3 will be able to play stereoscopic games. The update which will enable stereoscopic game play will be available through PS3 update which will be available sometime in the summer 2010. Playback of “Blue-ray” discs with 3D content will also be able on PS3 with later updates.
Read more for additional information about first experience with 3D stereoscopic games. READ MORE
3D . Games . PlayStation 3 . Sony . Stereoscopic
Posted by BigWhale on January 5th, 2010 in
Software |
4 comments

Image via Wikipedia
File sharing has a long history and I will start with the time when I first got into it. At that time I was using ZX Spectrum 48k and games were distributed mostly on magnetic tapes packed in plastic boxes more commonly known as compact cassettes.
Twenty years ago, give or take a few, violation of copyrights wasn’t really a big issue in a country behind the iron curtain. Getting a new game involved borrowing the tape from a friend, going back home and copying that tape with a double cassette recorder that supported high-speed dubbing.
The other a more sophisticated way of getting a game was to tune your FM radio to a certain local radio station. Then you had to put a blank tape in a cassette recorder and press Record when they started airing the games. Yes, the local radio station was in fact airing all sorts of ZX Spectrum games and you were able to record them on tape. This was the first method of file sharing that I encountered and by today this is the only one that is limited only by the range and not by the bandwidth. A billion clients can connect at the same time and perform a download.
Read on if you want to know more on how to set up the best BitTorrent client in the Galaxy. ;)
READ MORE
BitTorrent . File sharing . Linux . Torrent . TorrentFlux . Ubuntu