You are here

Amr Mostafa's Weblog

Amr Mostafa's Weblog
Checked: 1 hour 12 min ago
Updated: 10 years 10 months ago
Update every: 2 hours

Subscribe to Amr Mostafa's Weblog

Vibrant community

Amr Mostafa's Weblog - Sun, 01/11/2009 - 9:11pm

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.

read more

Benchmarking MySQL in Memory Using tmpfs

Amr Mostafa's Weblog - Sun, 14/06/2009 - 9:10pm

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.

My host cracked and my blog lost

Amr Mostafa's Weblog - Sun, 14/06/2009 - 5:52pm

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.

The new Jaiku API: Problems and solutions

Amr Mostafa's Weblog - Fri, 03/04/2009 - 4:11pm

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.

Recipe: Bearable Emacs

Amr Mostafa's Weblog - Tue, 24/03/2009 - 11:24pm


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.

Unbearable Emacs

Amr Mostafa's Weblog - Sun, 22/03/2009 - 6:27pm

Someone (sorry, comment lost) was wondering how emacs looks like by default (on my system, Ubuntu 8.10)

Bearable Emacs

Amr Mostafa's Weblog - Fri, 20/03/2009 - 8:40pm

Now it could start to be visually bearable.

Happy Birthday, from Mobinil

Amr Mostafa's Weblog - Wed, 11/03/2009 - 4:39pm

I'm not sure what they are up to with my next bill. But they sent me a happy b'day card.

What's the point of mobile book formats?

Amr Mostafa's Weblog - Wed, 11/03/2009 - 1:31am

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)?

Frustrating: Josef Assad is ALWAYS right

Amr Mostafa's Weblog - Thu, 19/02/2009 - 1:27pm

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.

عربيتك اتسرقت؟ او خايف تتسرق؟

Amr Mostafa's Weblog - Wed, 11/02/2009 - 2:28am

لو نزلت في يوم الصبح رايح الشغل ملقتش عربيتك تحت البيت ممكن تعمل الاتي:

Typing test, anyone?

Amr Mostafa's Weblog - Sun, 07/12/2008 - 3:31am

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.

RSOD: A KISS Reverse SSH web-based tool

Amr Mostafa's Weblog - Wed, 19/11/2008 - 3:27pm

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.

My GITEX 2008 Experience

Amr Mostafa's Weblog - Sat, 01/11/2008 - 3:03pm

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!".
Many countries, including Egypt, were providing support to companies to help them make their way into GITEX and deliver a successful presentation of the Egyptian IT Industry. Other countries of similar organization include USA, Denmark, UK, Belgium, UAE, Sweden and many more.

Subscribe to Amr Mostafa's Weblog