Sunday, October 31. 2004
Well, now I believe that the folks who work at Google are near humans  Because everything they invented or developed seemed to be coming from outer space where really intelligent creatures live.
Gmail is valnurable to XSS( Cross Site Scripting ), which gives access to users' accounts, with no need of a password.
Read the Full Story.
Friday, October 29. 2004
I found a bug in PHP documentation and reported it.
Friday, October 29. 2004
Well, this really old song just popped out and I figured out something. I have never had a cute neighbor my age, hehe. I really like the idea of having a cute neighbor, and you basically try to watch her moves and all that crap. Back in school days, you'd probably try to borrow her book or something.
I really missed that part in my life hehe!
Thursday, October 28. 2004
Read the story on National Geographic.
I wonder if they will ever discover "elves". That would be really interesting. I believe I should have been an elf.
Wednesday, October 27. 2004
A month ago when you search for Ammar you'd find my blog beyond the 20th result. Now it's 6  that's great progress.
Wednesday, October 27. 2004
This is really funny! go to Google and search for Weird Ammar, look at the first result!
Wednesday, October 27. 2004
Today was one of the worste days ever, I have been working for two days on compiling 2.6 Kernel, I checked every website for the error msgs. Nothing worked out, I called my friend zu3bi, as he's more experienced with this compilation thing, we spent another two hours, same result.
Then I asked Yaman for some help, he's a professional Linux admin working for Xpress. it's 2 am, we've been working on it for almost 4 hours, also nothing good came out  .
I'm listening to a cheezy song right now, 'Wyclef Jean - Perfect Gentleman' You know how it sounds to me?
"Just cause she dances gogo it don't make 'er a hono"
I need to get some sleep, I got a lecture at 8, and an early business meeting tom
Saturday, October 23. 2004
Try to guess the output of the following code snippet
Via Hudzilla
[php]
if (31415926535897932 == 31415926535897933) {
echo 'Numbers are the same!';
} else {
echo 'Numbers are not the same!';
}
[/php]
The output is 'Numbers are the same!' although the numbers are not the same.
Here's my version of the explanation, as the range of the integers in PHP is -2147483647 to 2147483647 the numbers above are out of the range of integers, so they will automatically be casted to Float numbers, anyone who studied numerical analysis should undertsand that float numbers are never accurate, there are many work arounds to work with big numbers in PHP, using BCMath Arbitrary Precision Mathematics.
Saturday, October 23. 2004
I was shocked to know the fact that constants in PHP are not much faster than variables.
I'm not sure why it's this way, probably due to the nature of how PHP scripts are exucated, I wouldn't say totally interpreted, nor compiled, somewhere in between.
This of course doesn't encourage the use of Variables in place of constants. use constants whenever appropriate.
Saturday, October 23. 2004
Thanks to Eman( Aqual Cool ) for writing While They?re Dying?
I started by writing a comment when it got really long I thought I might write here:
I'm happy that you're writing about something that we face everyday. You're talking about the mentalities of people. While I agree on the problem, and all the details. I don't agree on the last paragraph.
We have been talking about this for years, and I believe it's getting better most of the times, sometimes society is getting worse.
I believe the way to change all of this is by doing something, It's educated people who need to do the change. We can only change if we really work hard on it, educate our people. While that's pretty obvious, here's an explanation of my theory in order to form a better community.
Every person must specialize in at least one field( Computers, marketing, design, music..etc). They should try their best to acheive the highest levels of education and learning. Then they must form some sort of a community, e.g. I consider JoLUG to be a great example. I highly recommend that these communities have an "unofficial" nature for many reasons. Most important reason is the right to make a change. In unofficial communities, anybody could post their opinions and be taken seriously. Make these communities available for everyone, free and open.
We have faced many sick mentalities in JoLUG, but beleive me if you work really hard, the right way, they start to become very effictive and useful. Just love your people, this is what Ghandi did.
Thursday, October 21. 2004
If you have been "comment-spammed" with wordpress. I'm sure you've tried to do a mass edit for the comments and delete all the spam stuff. And to your surprise delete button doesn't work, here's a quick fix.
To prevent my dear blog from being spammed I added some words to the black list, limited the number of links that can be posted in a comment. If that didn't work I will find better ways hopefully.
Wednesday, October 20. 2004
I just got back from Sheshet il Basha. A place that opened specially for the holy month of Ramadan. It's Basicly el "Hammam El Turkey" In Jabal Amman, behind CMS schools.
It's full of Hubbly bubblies of course. Most of the customers are my university collueges(Something i really hate). I hate seeing same people every where I go.
Anyway, there was a quiz night. The really cool thing is that we don't know 10% of the answers but thanks to Salam , she keeps SMSing her brother, and he googles for answers. hehe, not fair I know!
We tied for second place along with 3 groups, there was a knock out round, and we won Second place  Yippie! Each one of us got a CashU Card, not bad
Sunday, October 17. 2004
Being a Pragmatic programmer suggests that you learn a new programming language every year or so. The Pragmatic Programmer: From Journeyman to Master suggests that too.
Well, I started learning a language called Scheme, and using the great software Dr Scheme. Not because I want only to learn a new langauge, but because this language is really different.
It uses prefix notation, if you want to write( 5 + 7 ), that would be (+ 5 7 ) Some people refer to that as polish notation. Pretty complex at the beginning.
It has some really nice and great features, highly academic in nature. What I might do, after I really understand these concepts thouroughly, take some of them and implement them on my favorite language, That is PHP of course.
A long journey, gonna take so much "free" time & dedication. And my "free" time is getting narrower everyday. Working on some projects, doing consultation for a huge portal, going to University and some other stuff.
Friday, October 15. 2004
I do have a dream, a vision. And it's getting clearer everyday.
Ok don't laugh, but I really feel that a day will come, when history will write about this day. I feelt it, I really do. I was never really motiviated by money. I kinda always had a better "Job" Offer. But I refused all jobs to follow my vision and my dream.
I'm really becoming obsessed with communication platforms. One day, I will build those huge communication platforms, for every sector out there. Because I know how to do that, and I know how to do it right.
I'm just not in a good mood right now, Whenever I remember my vision, my dream, I really become angry.
Thursday, October 14. 2004
I just came back from Mecca Mall, I watched Cat Woman. Let me cut a long story short. YUCK! IT's the single dumbest movie ever.
|