Safari for Windows

I have downloaded Safari 3 for Windows. finally, I will see how my work look on that browser. I’m not sure if it will be exactly the same like a Safari for Mac, but it’s better than nothing.

so .. finally I will be able to say “I tested it on Safari” :)

—-
Update: ok, it’s a real beta thing. bugs everywhere.

PHP6 and Unicode support for Identifiers

Through the last week, I have been following what’s happening in php|tek 2007: Chicago. many expert php developers have been there. you can read the conference’s summary written by Cal Evans. also, listen to the Pro::PHP Newscast (May 31, 2007) (ps: there were an open bar, so don’t be surprised of the funny things they say ;-) )

There was session titled “PHP6 and Unicode” by Andrie Zmievski. an interesting thing to be mentioned is that in PHP6 the Unicode support will be also for Identifiers. didn’t get it ? .. you will be able to write something like that :

class إنسان {
function إجرى ‎ ( ) ‎  { … }
}

$‎ قائمة = array();
$‎ قائمة‎ ['احمد'] = new إنسان();

yea, it’s cool, but please, don’t use this feature in your new [PHP6] projects.

days ago while I was on #phpc asking the guys/gals there about what they think about this feature, Ben Ramsey told me about a funny joke Sara Golemon said. “she wondered if we could use the unicode’s snowman character (U+2603) as a namespace separator in PHP6″ . I didn’t get it at the first time as I didn’t know how this character looks. after googling it, I got why this was funny :-) .

Google acquired FeedBurner

It’s official now. Google acquired FeedBurner.

FF search plugin for the PHP manual

I have created a small search plug-in for FireFox that searches the php manual and wanted to share it with you.
heh, I just created a copy of the “yahoo.xml” file and renamed it to “php.xml” and edited some lines,I got it working in no time. hmm, maybe I will create other ones too. ok, follow this 3 steps to get it working on your FF.

  1. copy the following XML lines to a new file and call it “php.xml”
  2. put “php.xml” in your “c:\program files\Mozilla FireFox\searchplugins” folder or this path’s equivalent on your system.
  3. restart Firefox
<SearchPlugin xmlns=”http://www.mozilla.org/2006/browser/search/”>
<ShortName>php manual</ShortName>
<Description>php manual Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width=”16″ height=”16″>data:image/x-icon;base64,Qk02AwAAAAAAADYAAAAoAAAAEAAAABAAAAABABgAAAAAAAADAADEDgAAxA4AAAAAAAAAAAAAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICA19fX19fX19fXwICAwICAwICAwICAwICAwICAwICA19fX19fX19fXwICAwICAwICA19fXAAAA19fXwICAwICAwICAwICAwICAwICAwICA19fXAAAA19fXwICAwICAwICA19fXAAAA19fX19fXwICAwICA19fXwICAwICA19fX19fXAAAA19fX19fXwICAwICA19fXAAAAAAAAAAAA19fX19fXAAAA19fX19fXAAAA19fXAAAAAAAAAAAA19fX19fX19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fX19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fX19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fX19fXAAAAAAAAAAAA19fX19fXAAAAAAAAAAAA19fX19fXAAAAAAAAAAAA19fX19fXwICA19fX19fX19fXwICA19fXAAAA19fX19fXwICAwICA19fX19fX19fXwICAwICAwICAwICAwICAwICAwICA19fXAAAA19fXwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICA19fX19fX19fXwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICA</Image>
<Url type=”text/html” method=”POST” template=”http://php.net/search.php”>
<Param name=”pattern” value=”{searchTerms}”/>
<Param name=”show” value=”quickref” />
</Url>
<SearchForm>http://www.php.net/</SearchForm>
</SearchPlugin>

Why Twitter ?!

I was always wandering why some people were Twittering while they are in conferences and sessions. first for who don’t know what I mean of Twittering . Twittering in our situation is the act of adding contents to your account on Twitter.com . Twitter.com cares about what you are doing now. you can use this website to tell the others about what you are doing at this moment. after getting your twitter account, you will be able to log your life moment by moment. I can call this “the more detailed blogging”.

an entry in your twitter page can look like that

  • I’m eating
  • it was a long day I will go to sleep
  • heading to the work
  • watching the movie “300″
  • walking with my dog
  • waiting my stupid girlfriend in the street and it’s snowing now . [if I were you, I won't write that in public]

like what you noticed. all the entries are very short and just makes your friends updated about what you are doing now. they got an RSS feeds too. also, you can follow others and you will get notified on your IM or Mobile whenever they add new entries.

this looked stupid for me too at the beginning, but I liked it when I found a useful use of it.

Cal Evans wrote at the end of a blog post on Zend’s DevZone that he will be Twittering about what’s happening in the MySQL conference. I thought that this can be a good chance for me to know the difference between twittering live from a conference and live blogging.
like what I expected, the entries were small and descriptive. this can give you fast notes  about what’s happening their at this time and URLs of the slids. you will feel like you are there but not totally. if you want the full information, you will have to wait till someone writes a blog post about what happened.

it’s cool anyway and I like it. I have added a small twitter widget to this blog, that’s will show you what I’m doing now. also, if you want to follow me on Twitter.com you will find me here.

the genius guys at JoyOfTech.com made a funny thing before about twitter that you will love to see or maybe, learn from :D