10
Jun

RU486

Posted By wassim in Education/Teaching

A common mistake regarding RU 486 is saying that it decreases the secretion of progesterone.
RU 486 does not interfere with the secretion of progesterone.
It is an antagonist of progesterone, which means that it simply blocks progesterone receptors and prevents progesterone from acting on its target cells without actually lowering its concentration in the blood.

8
Jun

Class of 2010

Posted By wassim in Education/Teaching

Dear LS students,
Here’s a link you don’t want to miss: http://www.sidani.info/ls2010/
Regards.

10
May

Arabic text from mySQL database using amfphp

Posted By wassim in Flash, Flash Tutorials

I had this issue where arabic text and french text retrieved from a mySQL database were not displaying correctly in my flash frontend, I was using amfphp to communicate and query the database. Needless to say that the text does display correctly in phpMyAdmin so it is correctly encoded in the database itself.

So here’s what I did to resolve the issue:

- Ensure that the mySQL tables where the text is stored are using the utf8_general_ci Collation.

- Set $gateway->setCharsetHandler( “none”, “ISO-8859-1″, “ISO-8859-1″ ) in the gateway.php file (in case you’re wondering, yes you should simply NOT use iconv or utf_decoder or mbstring or the like, just disable the setCharsetHandler conversion by using “none” as the conversion method).

- in your php service file, say it’s called permissions.php, use the following :

$rsConnectionID=mysql_connect("localhost", "root", "");
mysql_set_charset("utf8", $rsConnectionID);

Be sure to have these set before running your query or passing the results to flash.

This should resolve all the issues you’re having, of course you should not use the following actionScript : system.useCodepage = true; as this will tell the flash player not to use utf 8 as default encoding and will surely get you into troubles.

21
Apr

Flash CS5 and the iPhone

Posted By wassim in Flash

I think that by now everyone in the flash community knows about the “Slap in the face” we, as flash developers, received by Apple, in case you didn’t you can read all about it in the “Go screw yourself Apple” post.

A side effect of adobe’s announcement that flash CS5 will export to iPhone and iPod touch was encouraging thousands of flash developers to buy an iPhone or iPod touch to have the appropriate hardware to test and develop Flash-based ipa, at least that’s what I did…Now Apple should be grateful to this “free Marketing favor” Adobe inadvertently offered to say the least…

I already have a windows mobile powered HTC touch diamond phone and I invested in buying a 3rd generation 32 GB iPod touch for that purpose, if Apple continues its tight policy about 3rd party-built ipa, then I will either have to invest in an Android or just keep my ipas for myself! I might even have to jailbreak the iPod to be able to use my own built applications on my device! please correct me if I am wrong (should the device be jailbroken to install my own self-built ipas without having to kiss Mr Jobs ‘hand’ to get approval?)

27
Mar

A new member joins the Sidani family

Posted By wassim in Wassim

She’s Lara, our second child, a chilling cool baby girl that arrived on March 16 (one year and one day after the arrival of her older brother, Rami).

Lara Sidani

51.5 cm at birth and 3160 grams, DOB is March 16 2009 at 11:47 am.

My daughter Lara