Fork me on GitHub
Dec 3 2006

I Love /* */ and I hate #

1,123 views

What is wrong with multi-line comments? this is the question I’m asking myself right now, since I started programming I loved multi-line comments, (actually the comments you have to specify where do they end).
My first programming language was Pascal, they had comments like { my comments are here }, then C which I only knew about /* my comments are here */ and I never knew about
// my comments are here till the end of the line
until I learned C++, then Java, and PHP. They all have multi-line comments.
I’ve done work with Perl, and Bash before, and one of the reasons I hate to write Perl scripts was the
# comments till the end of the line
thing, yes I know that you can write multi-line comments as
# comment line 1
# comment line 2

but I just can’t stand it
Today, after hearing a lot about Ruby, (specially after the on Rails thing), well I thought, I should give it a try (given that you should learn a new language every year, and I didn’t do that this year). So I googled it, and damn, those # again, I hate them I really do, I can’t cope with them, I guess I have a psychological thing regarding these comments.
What am I wondering right now, what is really wrong with the multi-line comments? why new languages (except those which are C based) are abandoning multi-line comments, aren’t they cool anymore, or maybe there is some software engineering thing related to this issue.

WHAT IS WRONG WITH MULTI-LINE COMMENTS


Nov 11 2006

Nine Things Developers Want More Than Money

671 views

a nice article, must read

http://www.softwarebyrob.com/articles/Nine_Things_Developers_Want_More _Than_Money.aspx


Oct 6 2006

Creative Fights

502 views

I just recieved this email, I think it’s cute so I would like to share it Continue reading


Sep 20 2006

University of Virginia Student Graduates in One Ye…

455 views

18-year-old David Banh recently graduated from the University of Virginia with a double major in Physics and Mathematics, and an education paid for almost entirely by scholarships. What’s truly amazing is that he did it in one year, bringing in 72 Advanced Placement credits, then taking 23 credits his fall semester, 37 credits his spring semester and 3 credits in the summer. His brief undergraduate career didn’t leave him much time to explore college, so he’s now working on his master’s degree.

more on the story
It’s really something, but is it really worth it, for me, I don’t think so, I just hope to get back to my old days at the university

Sep 14 2006

Araby Search Engine Add-on To Firefox

780 views

if you use firefox you can think of adding this addon to your search engines
download here


Apr 16 2006

Birthday Meme

481 views

While wasting some time on the Internet, I found this here and here, It kind of excited me.

Go to Wikipedia. In the Search box, type your birth month and day (but not year). List three events that happened on your birthday. List two important birthdays and one interesting death. Post this in your journal.

Three events:
1492Christopher Columbus lands in Cuba.
1868Thomas Edison applied for his first patent, the electric vote recorder.
1981 – The heavy metal band Metallica is founded in San Francisco. (I used to listen to this band, when I enjoyed Heavy Metal, I still listen to some of there songs)

Two birthdays:
1955Bill Gates, American software pioneer. (It doesn’t mean anything, I’m still an open source guy).
1967Julia Roberts, American actress. (Don’t you just love her)

One death:
1973Taha Hussein, Egyptian writer (b. 1889)


Apr 10 2006

Kubuntu.de Protestwoche

694 views

To calrify the seriosness of the situation, kubuntu.de will be offline for one week beginning as from Monday, 10.04.2006 …

Kubuntu.de Started a Protest Week

This website, including the forum, the mailing lists and the respective IRC channels (#kubuntu-de and #kubuntu-de-team) has one aim: to support the community, to offer a platform to the users of Kubuntu and, last but not least, to boost the Kubuntu-project so as to make it an outstanding distribution.

I just recieved this note from LinuxToday, well it so sad to see an opensource project reaches this point, but I’m speachless here.

Technorati Tags: , , ,


Mar 27 2006

Smart Answers

469 views

I’ve just recieved this email, I guess a lot of you have seen it, but I just like to post it

BOY : May I hold your hand?
GIRL : No thanks, it isn’t heavy.

GIRL : Say you love me! Say you love me!
BOY : You love me…

GIRL : If we become engaged will you give me a ring??
BOY : Sure, what’s your phone number??

GIRL : I think the poorest people are the happiest.
BOY : Then marry me and we’ll be the happiest couple

GIRL : Darling, I want to dance like this forever.
BOY : Don’t you ever want to improve??

BOY : I love you and I could die for you!
GIRL : How soon??

BOY : I would go to the end of the world for you!
GIRL : Yes, but would you stay there??

SHARON : Have you ever had a hot passionate, burning kiss??
TRACY : I did once. He’d forgotten to take the cigarette out of his

MAN : You remind me of the sea.
WOMAN : Because I’m wild, romantic and exciting?
MAN : NO, because you make me sick.

WIFE : You tell a man something, it goes in one ear and comes out of the other.
HUSBAND : You tell a woman something: It goes in both ears and comes out of the mouth.

MARY : John says I’m pretty. Andy says I’m ugly.What do u think, Peter?
PETER : A bit of both. I think you’re pretty ugly.

Girlfriend : “…And are you sure you love me and no one else ?”
Boyfriend : “Dead Sure! I checked the whole list again yesterday”.

Teacher : “Which is more important to us, the sun or the moon?”
Pupil : “The moon”.
Teacher : “Why?”
Pupil : “The moon gives us light at night when we need it but the sun gives us light only in the day time when we don’t need it”.

Teacher : “What do you call a person who keeps on talking when people are no longer interested?”
Pupil : “A teacher”.

Waiter : “Would you like your coffee black?”
Customer : “What other colors do you have?”

My father is so old that when he was in school, history was called current affairs.

Teacher : “Sam, you talk a lot !”
Sam : “It’s a family tradition”.
Teacher : “What do you mean?”
Sam : “Sir, my grandpa was a street hawker, my father is a teacher”.
Teacher : “What about your mother?”
Sam : “She’s a woman”.

Tom : “How should I convey the news to my father that I’ve failed?”
David: “You just send a telegram: Result declared, past year’s performance repeated”.

Teacher : “Now, children, if I saw a man beating a donkey and stopped him, what virtue would I be showing?”
Student : “Brotherly love”.

Teacher : “Now, Sam, tell me frankly do you say prayers before eating?”
Sam : “No sir, I don’t have to, my mom is a good cook”.

Patient : “What are the chances of my recovering doctor?”
Doctor : “One hundred percent. Medical records show that nine out of ten people die of the disease you have. Yours is the tenth case I’ve treated. The others all died”.

Teacher : ” Can anybody give an example of COINCIDENCE?”
One Student : “Sir, my Mother and Father got married on the same day and at the same time.”

Teacher : ” George Washington not only chopped down his father’s Cherry tree, but also admitted doing it. Now do you know why his father didn’t punish him ?”
One Student: ” Because George still had the axe in is hand.”

Technorati Tags: , ,


Mar 22 2006

Tagging Till The Father of Banana (la abo mozeh)

447 views

As I’ve been Tagged by Manar this means I have to do it again:
Here is the rules:

  1. Check the link
  2. Answer the questions
  3. Copy and paste the results

Lets Do it

Your Japanese Name Is…

Shino Yamada

Your Blogging Type is Artistic and Passionate

You see your blog as the ultimate personal expression – and work hard to make it great.

One moment you may be working on a new dramatic design for your blog…

And the next, you’re passionately writing about your pet causes.

Your blog is very important – and you’re careful about who you share it with.

You Are 52% Open Minded

You are a very open minded person, but you’re also well grounded.

Tolerant and flexible, you appreciate most lifestyles and viewpoints.

But you also know where you stand firm, and you can draw that line.

You’re open to considering every possibility – but in the end, you stand true to yourself.

Your Brain’s Pattern


You have a dreamy mind, full of fancy and fantasy.

You have the ability to stay forever entertained with your thoughts.

People may say you’re hard to read, but that’s because you’re so internally focused.

But when you do share what you’re thinking, people are impressed with your imagination.

Your Five Factor Personality Profile


Extroversion:

You have medium extroversion.

You’re not the life of the party, but you do show up for the party.

Sometimes you are full of energy and open to new social experiences.

But you also need to hibernate and enjoy your “down time.”

Conscientiousness:

You have medium conscientiousness.

You’re generally good at balancing work and play.

When you need to buckle down, you can usually get tasks done.

But you’ve been known to goof off when you know you can get away with it.

Agreeableness:

You have medium agreeableness.

You’re generally a friendly and trusting person.

But you also have a healthy dose of cynicism.

You get along well with others, as long as they play fair.

Neuroticism:

You have medium neuroticism.

You’re generally cool and collected, but sometimes you do panic.

Little worries or problems can consume you, draining your energy.

Your life is pretty smooth, but there’s a few emotional bumps you’d like to get rid of.

Openness to experience:

Your openness to new experiences is high.

In life, you tend to be an early adopter of all new things and ideas.

You’ll try almost anything interesting, and you’re constantly pushing your own limits.

A great connoisseir of art and beauty, you can find the positive side of almost anything.

The Movie Of Your Life Is A Black Comedy

In your life, things are so twisted that you just have to laugh.

You may end up insane, but you’ll have fun on the way to the asylum.

Your best movie matches: Being John Malkovich, The Royal Tenenbaums, American Psycho

You Are 29 Years Old

Under 12: You are a kid at heart. You still have an optimistic life view – and you look at the world with awe.

13-19: You are a teenager at heart. You question authority and are still trying to find your place in this world.

20-29: You are a twentysomething at heart. You feel excited about what’s to come… love, work, and new experiences.

30-39: You are a thirtysomething at heart. You’ve had a taste of success and true love, but you want more!

40+: You are a mature adult. You’ve been through most of the ups and downs of life already. Now you get to sit back and relax.

You Are Sunshine

Soothing and calm

You are often held up by others as the ideal

But too much of you, and they’ll get burned

You are best known for: your warmth

Your dominant state: connecting

Done!
I’ll be tagging Dar, Hiba, & Yaman

Technorati Tags: , ,


Mar 6 2006

Ich bin etikettiert worden

1,161 views

Well Roba was nice enough to tag me, thanks

Q: Who’s the 4th person on your received call list?
A: Mother

Q: What’s your main ringtone on your phone?
A: 7oryah – Mohammad Moneer.

Q: What were you doing at midnight last night?
A: Refreshing some old memories with an old notebook (and hearing some songs I used to hear then)

Q: What did the last text message on your cell phone say
A: “احكي بنص قرش بعد منتصف الليل على ارقامك السوبر مع خط الطلاب 101″, I still keep my 101 line.

Q: Whose bed did you sleep in last night?
A: Mine.

Q: What color shirt are you wearing?
A: Gray.

Q: Most recent movie that you watched?
A: Munich, It was really great.

Q: Name 3 things that you have on you at all times?
A: My mobile, My flash drive, and my Master Card.

Q: What’s the color of your bedsheets?
A: Brown I guess.

Q: How much cash do you have on you right now?
A: 9 JDs and something.

Q: What is your favorite part of the chicken?
A: Legs.

Q: What’s your favorite town/city?
A: Damascus.

Q: I can’t wait to (till)…?
A: I don’t know, I’m not dying for anything right now.

Q: When was the last time you saw your mom?
A: Saturday Morning.

Q: When was the last time you saw your dad?
A: Saturday Morning.

Q: When was the last time you talked to them?
A: Saturday Morning.

Q: What did you have for dinner last night?
A: I didn’t.

Q: How long have you been at your current job?
A: Something close to 8 months.

Q: Look to your left. What’s there?
A: My Bass.

Q: Who is the last person you spent over $50 on?
A: Me !!!!.

Q: Whats the last piece of clothing you borrowed from someone?
A: Can’t remember…

Q: What website(s) do you visit the most during the day?
A: Google, Jordan Planet, Maktoob.com, and Quotes of the Day.

Q: Do you have an air freshener in your car?
A: I don’t have a car.

Q: Do you have plants in your room?
A: Nope.

Q: Does anything hurt on your body right now?
A: My pointer finger on the right hand.

Q: What city was your last taxi cab ride in?
A: Amman.

Q: Do you own a camera phone?
A: Nope, that’s why I’m missing all of the fun.

Q: What’s your favorite starbucks drink?
A: Never been to.

Q: Recent time you were really upset?
A: Thursday.

Q: Have you been in love with anyone?
A: Twice, looking for the third if anybody is intrested.

Q: Who do you think will repost this?
A: Someone liked it.

I am tagging Manar, Jad, Dar, and Thomas.

Technorati Tags: , ,