Java Timezone Information 2011g … The community release is here :)

Egypt has recently stopped working with DST time, so we need to update our timezone information with the latest updates, as a normal user for java, I used to download the TZUpdater tool which was always available for free from SUN …

But not anymore, as Oracle started to show its ugly face, if you go to http://www.oracle.com/technetwork/java/javase/tzdata-versions-138805.html you’ll see the following notice

TZUT v1.3.39 now available containing the Olson 2011g update. Please contact your local Oracle Support Office to obtain this version. For questions, please contact Oracle Support.

Go ahead and try to call Oracle local support office, and they’ll let you know that the update is only available to paying customers, could you imagine the impact of this on thousands and thousands of companies and users ???

I mean what the hell Oracle was thinking !!!

So, for those who know me well, they know that I cannot accept to feel hand-coughed, I need to fix the problems with java timezone as soon as possible, so I decided to build the entire timezone information from scratch … and Yes, I really did it, and I called it tzupdater-1_3_39-2011g-community.zip … 🙂

Continue reading

Read The Freakin’ Manual – RTFM

It seems that I increasingly encounter people that just make me wanna shout (RTFM) …

I know, RTFM originally stands for “Read The F**** Manual”, but I’d rather use Freakin’ instead, just out of decency …

Situations like these below made me shout (RTFM) :

I was giving a session to some guys at the data center to give them some overview, and we ended with an open discussion, and one of them asked me, “What the second column/row in rndc stats output means, and I said to him “You can do ‘man rndc’ and see what it has for you, RTFM”

I happen to have a fresh graduate who have joined my team a couple of month ago, and I noticed that she’s doing hell a lot of googles all the time for any topic (big or small), Seriously; RTFM first

More than once I receive replies and comments on some topics in the blog asking for “detailed steps”, or “a complete config file”, or “I have an error that says ……, how to fix it?”, and my favorite “I need the complete configuration setup+guide to HOW to build a secure VPN server” similar comments I don’t even approve to be published, and they make me shout; For god’s sake, RTFM

Yet another fresh graduate from those who have joined my company lately came to me asking “I got an error, what can I do?”, “Well, what is the error” I asked, he instantly said “I didn’t read it”, I shouted “RFTM”…

Too much google’ing can damage your brain and your ability to think for yourself, so please guys; RTFM

A quick glance about filesystems…

Cluster vs. Distributed Filesystems

Cluster filesystems and distributed filesystems are two different things, but sometimes they’re mixed together, so it’s time to shed some light on that…

Continue reading

One Step Ahead…

Knowing the path is something, but walking the path, is a totally different thing…

A few weeks back, I’ve applied for the Intel® Embedded Pre-Release Seed Board Program, I’ve provided my proposal, along with a small description of what I have in mind to design in the field of Embedded System, and vuala, I’m accepted…

So, yesterday the FedEx guy showed up with a big box for me, and there it was, right in front of me; the bleeding edge of technology…

Continue reading

Will MySQL die? Oracle to buy SUN !!!

Oracle to buy SUN for 7.4B $, I guess no one didn’t hear this news

But what will happen to MySQL the most popular and best performer DBMS in the OpenSource world ??

In a brief letter about the deal, Oracle President talks about the benefit of Oracle owning Java and Solaris, without a word about MySQL. Not the reassurance corporate MySQL users might be seeking.

Will Oracle kill MySQL in favor of its over priced DBMS?

MySQL used to be a 100% free replacement for the pricy Oracle 10g, and with great performance benchmarks…

MySQL even attracted more corporate customers since they launched their enterprise plans and solutions, and they also managed to get a larger base of paying customers by providing clustering solutions, load balancing, and the new features that were introduced in the 5.x series…

Will this simply tempt Oracle to simply kill MySQL without a sweat…

Earlier in 2006 Oracle tried to buy MySQL, but MySQL turned the offer down saying “We will be part of a larger company, but it will be called MySQL” !!!!

After that during April 2006 Oracle bought InnoDB the famous and fast storage engine used in MySQL, and then Oracle’s dark intentions started to become more obvious…

Oracle’s Acquisition of InnoDB: What does it mean?

Now MySQL is served to Oracle on a platter of gold…Thanks to Sun…

Now what will happen to MySQL?

The best scenario (just an imagination), Oracle will continue working on MySQL and stop looking to it as a threat, and MySQL can really benefit from some of the technologies used in Oracle, this will give a great boost to both Community users and corporate customers, and Oracle would offer two DBMS solutions, one for small-medium enterprises based on MySQL, and the other for the large enterprises using 10g & 11g technologies…

In that scenario, MySQL would co-exist along side Oracle’s DBMS, and can provide great compatibility and interoperability between the two DBMSs, and Oracle would really contribute greatly to the open source communities…

Another scenario, Oracle could sell off MySQL to some other 3rd party (much weaker, and less competitive), and I don’t think they’re that dumb to do this…

Yet another scenario, Oracle can just deplete MySQL of its resources and funding and leave it to die quietly…

In the later scenario, we could see some good people try to resurrect MySQL and forge another DBMS based on the latest MySQL sources, but there’s always a chance that this won’t happen…

Only the coming days will tell what will happen to MySQL and other Open Source projects and solutions that SUN currently provide and support such as Solaris, SUN ONE Directory, Identity Management, Communication Suite, Lustre (distributed cluster filesystem), and more and more solutions and software suites that SUN currently offer for free…

But I must say, I’m really really sad about this acquisition, and I don’t feel good about it…

Let’s just hope for the best…

Adding a new driver to CentOS/RHEL 5.x initrd.img …

Ok, so I finally got my new Asus Eee Box B202 with Linux preinstalled, however, I didn’t like the distribution that came installed even for a bit, and I had other plans in mind for this machine…

So I wanted to install CentOS on it (my favorite), using PXE of course since I don’t an external CD/DVD drive…

However, during boot up the kernel wouldn’t recognize the 1Gbit Ethernet interface, so it was unable to retrieve the rest of the setup files…

I found that Realtek has put some drivers as source code on thier site, compiling it to the target kernel (2.6.18-53.el5) was not a problem at all…

I wanted to embed this driver into initrd so the setup would recognize and initialize the interface automatically…

Continue reading

Lighttpd in chroot…How to get it done…

I was always fascinated by the level of security introduced in Java application servers such as Tomcat, Weblogic and GlassFish, and how the JVM can’t access the outside OS, as well as some other features such as JDBC connection pools etc etc…

Running the web server, and all its components will be similar to Java JVM running and isolated from the existing OS…

Also, running a web server in a chroot() jail can be the ultimate solution for many security issues, including -but no limited to- PHP shells, root kits, back doors, and also have some guarantee that buggy applications (security-wise) won’t impact the entire OS…

Inspired by this post, I’ve made a few modifications to the scripts described and created one more to help in the process…

Continue reading