Redis!!

January 4th, 2010

Today while I’m reading in Simon’s blog, he was talking about a project…
Honestly I didn’t understand that project fully but he mentioned a strange name redis! , I read it the first time Radius. but later I said why he would use radius to do such thing??.
so I just googled it as it’s I still thinking may be it’s spelling mistake…
here is what I found:

redis
Redis is an advanced key-value store. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server side union, intersection, difference between sets, and so forth. Redis supports different kind of sorting abilities.

In order to be very fast but at the same time persistent the whole dataset is taken in memory, and from time to time saved on disc asynchronously (semi persistent mode) or alternatively every change is written into an append only file (fully persistent mode). Redis is able to rebuild the append only file in background when it gets too big.

GwtPHP is calling you back to Window programming…

December 24th, 2009

A couple of months back, I stumbled upon Google Web Toolkit where they introduce the concept of complex windowing applications development using ajax.
You don’t need to worry about how this drop down get fetched as much as putting the query to list them.

To put it simple, if you are planning to have a full window application such as accounting program, the first comes to your mind is C#, VB , Delphi, etc…

Now with GWT, you continue developing web application but with way extra mile provided from GWT to simulate all desktop applications.

The nice thing here is GwtPHP, which is using the same framework somehow to develop in PHP in the same way. an example of what you can do http://demo.qualityunit.com/pax4/merchants/login.php

quick trip to Bahrain to our sister company Batelco

December 15th, 2009

Back home today after a quick visit to our sister company Batelco ( you could say our mother company if you will )…
We went there to talk and discuss where they invited us to present their experience and how could we benefit from it.

What amazed me, is simplicity is the most important!!…
We went there with a lot of expectation that they have Siebel and all of these IT sophisticated and advanced network systems.
But we shocked with… is simplicity is the key! Siebel is not in place till now. many of activities are done manually.

This for me, is a lesson of how can we convert idea and project to success! Don’t complicate yourself.

VirtualBox from Sun

December 9th, 2009

After I moved to my new house, My friend Younus gave me a nice gift, A DESKTOP computer with 22 Benq LCD monitor.

That machine is Giant!!, Windows7, 4 GB. so this took my to decide to use VirtualBox from Sun. It’s amazing. one of the most important points it gives you a tool to install it in the virtualized OS which gives you a chance to mix the two desktop ( for example your Windows7 desktop icons + Ubuntu desktop under VirtualBox ) you can do that by accessing one of the menus ( Install Guest Addons ) then try to choose the option of mixing the two desktop (called seemless mode)…..

I have an icon on the desktop for my SH, and you see two task bars one is down which is my Windows7 one. and the other is up which is Ubuntu.

the interesting part, it understands the virtualization hardware instruction in your CPU if you got either dual or quad cores, which leads you not to feel like you are running your OS under virtualization.

WD TV Live!

December 1st, 2009

2 weeks back, I bought WD TV Live.
I was anticipating it as a good idea to watch your movies (any format, you name it ) from your remote control and no need to do any setup neither by copying the files to your usb or connecting anything to the TV.

the thing that I didn’t expected to get addicted to, YouTube enabled!. you can search , or watch your our selected play list by logining to your account in YouTube.
I ordered the box from Amazon for 113USD, but I found it later in Jarir for 525 SAR :(

Upgrading to the latest version of Wordpress.

November 12th, 2009

It’s been awhile I didn’t write anything , because I had a problem with my blog.

I upgrade to the latest version to fix the problem….

soon you will hear from me … or you will read :)

IP telephone for my new house.

August 1st, 2009

My new house almost getting ready. I decided in earlier stages to have only Cat6 cabling and no normal telephone cabling.
So I’m looking now for a really good switch that supports 10/100/may be 1000 speed with PoE (power over Ethernet).
Secondly, I need to decide for my basic telephony sets and that includes the converter from IP to normal PSTN lines ( FXO ) and some FXS lines for backup in case my IP telephone failed.

For the switch, our market does not like to offer something reasonable, a switch of 24 port GigEthernet with PoE worth around 6000 SAR!!
Amazon is offering make options one of them which I’m going to pick is switch

it will cost me around 700 USD to reach Riyadh! it supports GigEthernet PoE.

For my telephones, I went for a bit cheaper and I’m thinking of this model from polycom
ploycom

A set of 10 telephones will cost me around 890 USD :(

For the FXO/FXS, the only good choice to pick is

which cost around 75 USD , and that’s for only converting one line…

I ‘m planning for 2 PSTN lines… so I might need two.

The remining is going to be the cheapest PC ATOM motherboad with GigEhternet card with 80GB and install TrixBox on it.

Later I will in need to reconfigure the connectivity with my brother Naser in Australia to proxy him again to the new house with the new setup.

When I move in, I will move to the next plan, Opening the door through my IP PBX, IP Cameras, Call paging, call hunting, call forwarded to my mobile, voice recording.

CodeIgniter to have an enterprise solution ?

July 2nd, 2009

We need to build a really smart application where we have multiple level of authentications (ACL), controlled menus, backend communication.

Will CodeIgniter be the winner ? or Liferay ?

After 2 weeks of trys… SER is back working.

June 27th, 2009

I’m running SER in one of my only servers to proxy my SIP calls to my trixbox at home. this is because I have my brothers acting a part of the extension @ home, so my mom wont bother where he is , she would call his extension and that’s it. ( He is in Australia ).

2 weeks back, my server went down for unknown reason. after getting it back. I couldn’t start SER again which is strange. anyway I thought may be some day I changed the configuration and that cause me to have an old clean version running while I have bad version saved in ser.cfg :( .

Finally, I fixed it again. But that’s after I decided to rebuild a new version and do the full configuration from zero. Honestly, I’m not good in SER. it was running for the last 15 months without any issue. even I couldn’t recall where is the configuration file.

لا بأس أن تكون مديرا و لديك هوايات

June 24th, 2009

إن من العجب أن ترى كثيرا من ترقوا في المراتب الإدارية أن ترى أحدهم يقول ØŒ ” أييييه مرت علينا أيام كنا فيها نبرمج بيدنا ØŒ لكن الحين خلاص صرنا مدراء ” .

و ما المانع ؟. أو ربما يجدر بي أن أسأل هل كانت البرمجة لديك مجرد واجب تؤديه أم أنها كانت حرفة يدوية ؟

لو رجعنا إلى الخلف قبل 70 سنة… Ùˆ نظرنا إلى حال الناس في كل أنحاء الأرض، للاحظنا أن الجميع يهتم بحرفته. فمنهم النجار ØŒ Ùˆ المهندس Ùˆ التاجر. أما هذا العامل الضعيف Ùˆ الذي سمي في العصر الحديث باسم مدير الإدارة الفلانية، فهو مجرد فقير Ùˆ عامل يعمل تحت إشراف التاجر أو النجار صاحب الحرفة الأصلية.

و ربما كان هذا التغيير لازما في مثل هذا العصر ، و لكن على الأقل لماذا يفقد المرء حرفته لمجرد أنه أصبح أجيراً يشرف على مجموعة من الأجراء، و هو لا يعمل أنه رجل مستخدم مثله مثل الأجير الذي يعمل تحت إدارته.