XCache new PHP optimizer
XCache is relatively new PHP code optimizer, written by “Jan Kneschke” the same guy who wrote Lighttpd web server.
After migrating Alriyadh.com to the new dual CPU servers, I had problems with APC PHP optimizer and locking, so I disabled the optimizer altogether, after all the CPU was very fast and it handled the load without any problems.
But lately with my increasing interest on Lighttpd I noticed XCache, I never heard of it before but after reading the web site, and the problem APC have with multi processors I decided to give XCache a try, and the best of all it was ready in FreeBSD ports, so I installed it and so far it doing a good job.
Back in Riyadh
since Saturday 3 am, but I just got recovered from the jet lag.
Hopefully I’ll post my trip highlight and photos soon.
On vacation :)
I am currently on vacation in Thailand, so far I love it. Really beautiful and clean despite being crowded in some areas.
Hopefully I’ll post more about in the coming days. Meanwhile checkout out my photos on Flickr:
rayed @ Flickr
My DSL is back :)
Extremely slow but still DSL. My phone line got off line for more than a month, after that phone worked but with out DSL for another 2 weeks, during this time I only connect using 28K dial up connection, which is really really slow.
Update: I upgraded to 512K and it is awesome, it wasn’t slow Windows was downloading tons of updates ๐
WordPress spam proctection: Akismet Out, CaptCha! In
Since I upgraded my WordPress to version 2 I used Akismet to protect my from comment spam, it did a great job for a while but lately it passes a lot of spam, I am not sure what is the problem but I am suspecting some network problems.
So until I resolve this problem I’ll try using CaptCha! plug-in, it uses captcha method to prevent spamming.
Captcha works as follow, when you want to submit a comment, the website displays an image with few characters shown in wave shapes, and you requested to type the character you see to accept your comment, the idea is to prevent automatic script from submitting comment because they can not read the character in the screen, even if they used OCR it would be very hard to recognize it.
Car stolen this time mine!
Yesterday I went to Jarir Bookstore between exist 5 and 6, and when I came back to my car I found the passenger glass smashed and all my stuff scattered on the car. Fortunately, I never leave anything in my car, so nothing got stolen, but fixing the damage would cost around 1000 SR.
My brother car got stolen 500m from my Jarir Bookstore near Saco, both accidents happened in less than 6 months period!!
Firefox 2 and IE 7
Recently the 2 most popular browsers IE and Firefox released a new version.
Firefox is already a very good product so improving it is very hard ๐ The most important new feature is the online spell checker which is really lovely. It also has a new theme, I didn’t like that much but it might take some time to get used to.
IE 7 in the other hand is really impressive (compared to IE 6 of course), it has tab browsing at last, the theme is really really good, the new font rendering engine is really smooth and clear it feels like a Mac.
Java what to learn
Every year or so I have a project in Java I learn enough thing to finish the project then I forget it by getting busy in other proejcts.
Over the years I really loved and hated Java,
Java what to learn:
- Ant: is a Java-based build tool. In theory, it is kind of like Make, without Make’s wrinkles and with the full portability of pure Java code.
- Tomcat: servlet and JSP server, can work as standalone, with Apache HTTPd, or IIS.
- log4j: log4j is a Java-based logging utility. It is used primarily as a debugging tool.
- JUnit: JUnit is a unit testing framework for the Java programming language.
Java Package for FreeBSD
Installing Java on FreeBSD (my favourite operating system) wasnโt an easy task, you have to download Java files from Sun web site put them in a special directory then start a lengthy build process that never successed.
Fortunately FreeBSD Foundation has binary package for Java, all you need is to Download and install using:
# pkg_add diablo-jdk-freebsd5.i386.1.5.0.07.01.tbz
and you are done.
With Java on FreeBSD may be I will start playing with Lucene instead of Swish-e as Alriyadh search engine.
Things I want to write about but donโt have time
These days I really don’t have time on the Internet, but I really want to talk about some of these issue in more depth later.
- My phone line (including DSL service) is out of service for more than month, and until now no hope ๐
- IGW the new ISU: STC is now handling Internet gateway operation, the service is still has some issues, and we are still understaffed.
- Dev4Islam: Project to devlope open source Islamic and Arabic software and services. We aim to collect data and make it available for other so they can build better software.
- Java + Delphi = C# Anders Hejlsber the creator of Delphi, create a great language for Microsoft.
- Lucene is a full text search library, exteremly fast, and the API is awsome. I tested it Lucene .Net port it is really super fast.
- Swish-e same as lucene, this what I use for Alriadh.com, still very good.
- Alriyadh.com new feature: user login for better experince, no need to rewrite your name and email when you want to submit a comment or send article to a friend, and you can bookmark your favourite articles, any thing else we should add.