Mar 11 2014

Book: Guide to OSI and TCP/IP Models

  • Provides a simplified introduction to computer networks
  • Requires no prior background in the field
  • Discusses the fundamentals of the network, transport and application layers
This work opens with an accessible introduction to computer networks, providing general definitions of commonly used terms in networking. This is followed by a detailed description of the OSI model, including the concepts of connection-oriented and connectionless communications. The text carefully elaborates the specific functions of each layer, along with what is expected of protocols operating at each layer. Next, the journey of a single packet, from source to destination, is described in detail. The final chapter is devoted to the TCP/IP model, beginning with a discussion of IP protocols and the supporting ARP, RARP, and InARP protocols. The work also discusses the TCP and UDP protocols operating at the transport layer, and the application layer protocols HTTP, DNS, FTP, TFTP, SMTP, POP3, and Telnet. Important facts and definitions are highlighted in gray boxes found throughout the text.
Published: March, 2014 by Springer.
Guide to OSI and TCP/IP Model

Guide to OSI and TCP/IP Model

Mar 04 2014

Develop research culture in the Arab Middle East

I wrote a letter to the Editor of the Communications of the ACM that was published in Issue 3/Vol 57 (March, 2014).

It was only 2002 when I first knew ACM even existed. I was preparing my master’s thesis in computer engineering in Iraq. I was so amazed I thought of ACM members as movie stars. Due to many circumstances, I did not have the honor of joining as a member until 2010. Having received my bachelor’s, master’s, and Ph.D. in the Middle East, I have always seen a gap, a large one, between the way research is conducted there on one side and in Europe and the U.S. on the other. This feeling has been enforced whenever I get a rejection letter for a paper sent to a big computer science conference or journal. Sometimes, unfortunately, reviewers have mocked and even ridiculed instead of provided a constructive review. This happened in the early stages of my own research, and, as I learned later, to many of my colleagues as well. In most cases, when I look at Arab scientists who have published in reputable conferences and journals, I see author names of those who have either studied abroad or are working abroad, many very successful with outstanding research records. What does this say?

The Arab Middle East needs a cultural revolution in terms of research, especially in computer science. The research mentality here is quite different from other areas of the world. This is not to say it is not scientifically valid, just that research here is conducted in a different way that needs to be formalized to conform to international standards. Many researchers in the Arab world have amazing potential. Unfortunately, that potential is not being unleashed until they go abroad.

I sincerely hope ACM takes the initiative in helping spread a valid and concrete academic research culture in the Arab world. We all aim for the same thing—improving the quality of life for ourselves and for the coming generations. The lack of tools and research culture should not prevent Arab computer scientists from contributing to the development of all humanity.

The letter can be found in here.

All feedback is welcomed.

Jan 06 2014

Paper: Mathematical Approximation of Delay in Voice over IP

ABSTRACT

This paper introduces a novel method of approximate calculation of delay in voice over IP systems. The proposed method relies on mathematical operations like interpolation and integration to produce a continuous function. This continuous function shows the delay in different times. The paper shows a detailed example of applying this method successfully to a sample call. The resulting delay function can help in better understanding of the variations of delay in different times and how it is affected by network load.

Download

Citation Information:

Mohammed M. Alani, Mathematical Approximation of Delay in Voice over IP, International Journal of Computer and Information Technology (IJCIT), ISSN: 2279-0764, Vol. 3, Issue 1, pp. 78-82, January 2014.

Jan 06 2013

How to Limit the Input of a Textbox of Windows Phone

Some time ago I have written about the keycode glitch. Other than this glitch, sometimes you might need to limit the scope of input to certain set of characters.Changing the inputscope of the keyboard helps alot. But, sometimes you need more specific filters. For example, if you’re expecting an all-numbers input and you use the “TelephoneNumber” keyboard, you’ll still be able to get “.” or other symbols. Another example is if you need to get an email address input which you would prefer to have in small letters.

Anyway, let’s get to the code. The code is simply one line. Lets assume that you have textbox name txtInput. You’ll just have to add the following code in the event handler of “KeyDown” for the txtInput control.

This line limits the input of the textbox to the numbers 0 to 9. You can change the content between the qoutations into any range of acceptable input characters that you need.

I hope this helps.

Dec 15 2012

App: Saudi Calendar

App Link in WP Store

التقويم السعودي هو تطبيق لنظام ويندوز فون لعرض التقويم الهجري و القيام بالتحويل بين التواريخ الهجرية و الميلادية. يستخدم هذا التطبيق تقويم أم القرى للتحويل وهو التقويم الرسمي في المملكة العربية السعودية.

خصائص التطبيق

الواجهة المبسطة و المتوفرة باللغة العربية و الإنكليزية
إمكانية عرض تأريخ اليوم الهجري على شاشة القفل (إبتداءا من الإصدار الثاني)
خاصية الأيقونات الحية (لايف تايل) بالأحجام الثلاثة (إبتداءا من الإصدار الثاني)
خاصية عرض التقويمين الهجري و الميلادي بشكل متداخل لسهولة العرض
يوفر خاصية تحويل التواريخ الهجري إلى الميلادي و بالعكس
يوفر خاصية اللايف تايل ليقوم بعرض تأريخ اليوم على سطح المكتب
نطاق التحويل يبدأ من يوم الأول من شهر محرم سنة واحد هجرية ويمتد بشكل غير محدود

إمكانية التغيير اليدوي للتأريخ الهجري بزيادة و نقصان يومين.
و المزيد في الإصدارات القادمة إن شاء الله.

ملاحظة: التطبيق يستخدم تقويم أم القرى للسنوات الهجرية 1350-1500 و خارج هذا النطاق يتبنى التطبيق طريقة التحويل المستخدمة في مركز الدراسات الشرقية في جامعة زيورخ بسويسرا.

إذا كانت لديكم أي ملاحظات أو مقترحات، يرجى كتابتها هنا بشكل تعليق و سأقوم بالرد عليها في أقرب فرصة ممكنة.

Saudi Calendar is a Windows Phone application that displays Hijri calendar and performs Hijri-Gregorian date conversion using Hijrical.org online conversion service. This service uses Um-Alqura calendar for calculation which is the official calendar in Saudi Arabia.

The app has the following features:

  • easy it use interface with Arabic and English interface.
  • Ability to manually shift Hijri date ±2 days
  • support of showing todays hijri date on lockscreen.
  • support of all three sizes of live tiles.
  • Mixed calendar showing Hijri and Gregorian dates.
  • provides any-date Hijri-to-Gregorian and Gregorian to Hijri conversion
  • provides a live tile that is automatically updated to show today’s hijri date simply there on your phone’s desktop.
  • the conversion range starts from Muharram 1st, 1 Hijri and has no limit.
  • more features to come in the future.

Note: The app uses Um-Alqura Calendar for the Hijri years 1350-1500. Out of that range a mathematical conversion method used by the center of oriental studies in Zurich University was adopted.

 

Changlog:

  • v2.1 (July 16th, 2013)
  • Addign the ability to manually shift Hijri dates ±2 days.
  • v2.0 (Mar. 5th, 2013)
  • A completely re-written user interface.
  • The conversions and calendar calculations are done locally now so there is no need for Internet connection.
  • Support for showing today’s hijri date on the lockscreen.
  • Support for all three sizes of live tiles.
  • v1.1 (Jan. 3rd, 2013)
  • minor bug fixes
  • v1.0:  ( Dec 28th, 2012)
  • First Release

 

Privacy policy: By using versions 1 and 1.1 of this app, you are agreeing to the terms of use and privacy policy of Hijrical.org. Starting from version 2 there are no user data being collected whatsoever. All correspondence between app users and the developer are not to be disclosed to anyone else.

App store link:

http://www.windowsphone.com/en-us/store/app/saudi-calendar/9467aa14-9c13-4674-b3cc-8e8804512beb

 

Dec 11 2012

The Agony of Dealing with YallaApps

Before the Dev center registeration was open in Oman, I registered through Microsoft Publishing partner called YallaApps (Paying the same 99$/year). That was about a year ago. I published many apps with them and the process in overall was nothing less than agony. Very slow responses, and most of the time wrong responses an I have to repeat what I need many many times.

Anyway, I felt so happy back in August when I knew that the Dev center is opening in the country I live in. YallaApps informed all their subscribers that they need to register for new accounts in the dev center and pay full and then in November Microsoft would refund your subscriptions. They said if you like to keep the rating and reviews (which are many for my apps) you need to file a request on a specific online form. Which I did very early once they announced it. They also said if you don’t need to keep your ratings and reviews, you can send us a request for deleting the apps from our side and you submit them again with your account.

So, after registering and finishing all their requirments, I waited. And waited some more. I wrote to their blog as a comment and the comment is still waiting moderation for about a month now.

I wrote on their facebook page asking about the migration and no reply for about a week.

I wrote to their support email and I received an auto-reply saying that we received your email, and we’ll respond to you within 48 hours. And for over a week now, nothing.

I received an email three days ago from Microsoft Global Publishing Partner Program saying that a refund will be issued for you dev center subscription and they mentioned nothing about the apps migration. I replied to their email asking about an ETA for the mogration of apps and they replied to me saying that the app migration has already been done. We did not receive a request from Yalla to transfer any apps to you account. No further migration is possible now..!!!

I do not know specifically whose mistake is this, but I am very sure it is not mine and I do not want to pay for the mistakes of Microsoft and/or their partners.

So I looked-up YallaApps and their mother company “Prototype Interactive” in Dubai Media City and I called their phone number many times and all I get is voice mail.

Me and all other people stuck with YallaApps would like Microsoft to take action and protect our rights from a bad Microsoft partner. How can you ask for more devs to come in when the ones you already have are jumping out?

* Update 11-Dec-2012: Someone actually answered my 5th or 6th phone call and I re-explained the issue and they said they will look into it and get bak to me TODAY.

* Update 11-Dec-2012: I received an email from YallaApps asking for details and acknowledging that the migration was finished and my apps we not migrated.

* Update 21-Dec-2012: I received and email from Microsoft (replying to my email on Dec. 10th) saying that there will be a second batch of migrations and they do not guarantee that it will be successful nor they can give a time line.

Nov 27 2012

Number System Converter

This is a simple app that performs conversion of numbers between different numbering systems; Binary, Octal, Decimal, Hexadecimal, and Binary-Coded Decimal (BCD). Starting from v1.1, the app supports fraction conversion also with accuracy of up to 12 binary digits.
More systems will be supported in the upcoming versions.
If you would like to suggest a feature for the next version or you have found an issue in the app, contact me on info (at) mohammedalani.com
This app supports Windows phone 7.5 and 8.

Winodws Phone store link:

http://www.windowsphone.com/s?appid=6ede0b59-f2dd-4022-bba2-db0ae14c0aa4

Changlog:

* v1.1: (Expected publishing date: Dec. 12th, 2012)

  • added BCD conversion.
  • added fraction conversion.

* v1.0:

  • published on Dec. 5th, 2012