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 BigWhale on January 28th, 2010 in
Games |
1 comment

Image via Wikipedia
Data: “Lal, I am unable to correct the system failure.”
Lal: “I know.”
Data: “We must say goodbye now.”
Lal: “I feel …”
Data: “What do you feel, Lal?”
Lal: “I love you, Father.”
Data: “I wish I could feel it with you.”
Lal: “I will feel it for both of us … Thank you for my life …”
Three days ago Star Trek Online – Open Beta was closed. If you didn’t get into it and you still want to try the game, you will have to wait until Feb. 2nd when, so they say, Star Trek Online will open for general public.
READ MORE
Atari . Crypic Studios . Eve Online . Games . MMORPG . rpg . Star Trek . Star Trek Online
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 BigWhale on January 23rd, 2010 in
Games |
2 comments

Image via Wikipedia
Star Trek Online was one of the more, if not the most, anticipated games here at Three Wise Men. That is right, we are all trekkies, we are sure that miniskirt uniforms were dropped because crawling in Jefferies Tubes could become a bit awkward. We also know that crossing replicator power converter with plasma manifold isn’t something you should do if you want to keep your plasma relays in a working order.
READ MORE
Atari . Cryptic Studios . Games . MMORPG . Star Trek . Star Trek Online