Amr's blog
3 years ago, the Drupal community and the documentation team inspired me powerfully and had me bowing for their great contributions, and so I had written a little HowTo for creating a custom login bar for Drupal 5. I had just written and placed it somewhere under one of the various Drupal handbooks, wondering if anybody would read and find it useful.
At my (new) day job I joined the team responsible for the scalability and reliability of a heavily loaded LAMP stack. Since our MySQL server has plenty of memory, we were recently wondering if we could load all MySQL into memory and what would be the benefit.
A bit of googling, and I found out that there were few others asking the same question, however, I didn't see any satisfactory answers that are coming from real experience or benchmarks, and so we decided to benchmark for ourselves and see.
On the 8th of June, at 1am GMT I received an e-mail from my blog host, VAServ, announcing that they were cracked around 7pm GMT on the 7th of June. They were cracked through a vulnerability in HyperVM software (a software for managing vps instances across servers).
As a result, I lost 100% of my data. Here is exactly what happened.
Almost all applications, modules and social web sites I use stopped working with Jaiku since they moved to AppEngine and introduced a new API based on OAuth for authorization and secure communication of REST requests.
This post is for those who might be planning on trying emacs (for the first time soon), or are just starting their way with emacs and could use a tip or two from a fellow starter.
After I installed emacs I was horrified by its unbearable look which I thought would have changed over the few last years since I last tried it. Luckily the CVS version of emacs has considerable improvements in that area, it looks much better and I've been using it for few days and it seems to be pretty stable.
Read on for the full recipe.
I do a bit of reading on my mobile device (Nokia E71, which runs S60 3rd edition) almost every day. I was really surprised to find how competent the default browser is, even with websites with complex layouts. It works with more than 90% of the websites. I was under the impression only HTML would be supported. But turned out CSS and Javascript are supported to very good degrees as well and I can't help but wonder: Why are there so many different formats for ebooks on the mobile and special programs to open them (for different platforms)?
Few months ago, while I was switching jobs, he told me I will end up jobless.
He was right. I wonder what is his IQ.
لو نزلت في يوم الصبح رايح الشغل ملقتش عربيتك تحت البيت ممكن تعمل الاتي:
So I'm wandering around, while having Suhoor and I come across a post by Jeff Astwood where he argues that Coding is just typing. But that's just a strong headline which doesn't tell the actual message. He claims that typing is one of the core programming skills. That doesn't seem correct either. That said, I doubt I'd see a good programmer who doesn't type fast.
From time to time we need to connect to servers on our customer's network. Ideally, we would just SSH and do our thing; However, few customers are behind NAT meaning we cannot connect to them in a simple manner. The job isn't worth going over the hassle of finding how to bridge the 2 networks together.
Fortunately, SSH provides a solution: Reverse SSH Tunnel. However, it's not very easy for less technical people to do thus, becoming impractical in our case. I thought what we needed was a way to make it trivial to open and close Reverse SSH Tunnels. I googled but I didn't find something that's web-based and is actually usable.
I thought this was a good excuse to hack away and I couldn't resist.
23rd of October 2008 was the last day of 2008's GITEX - Dubai. We met a LOT of new people and old friends. I remember one of the thoughts that kept popping in to my mind was "Oh! It's a small world!".
If you use Drupal like me, then upgrading to the next minor release must be something you do every couple of months. I never asked anybody how they do it. So here I will write how I do it, in the same time I will be actually upgrading my blog to Drupal 6.6.
Tomorrow 9 AM, my flight to Dubai will take off. I'm going with the rest of the crew from IT Synergy, we will be presenting pretty cool stuff. I didn't really plan for that to happen.
Running like crazy. Tons of work. Fun as hell. And it's 1:00 AM and I managed to get this blog running. Not that it was a big deal, but I've always thought that my blog would be a good chance to experiment new programming languages, platforms or techniques.
It isn't too bad though, here is what I managed to get going in the process...