How To Write Unmaintainable Code
- Use “asd” or a,b,c as variable names.
- Use acronyms.
- Use an alternate vocabulary to refer to the same action, e.g. display, show, present.
- Randomly capitalize a letter in the middle of a word (e.g. ComputeRasterHistoGram()).
- Use Åccented characters (e.g. typedef struct { int i; ínt;} where the second ínt’s í is actually i-acute.
- Use foreign language dictionaries as a source for variable names.
- Choose variable names with irrelevant emotional connotation (e.g.: marypoppins = (superman + starship) / god;). #nosense!!
- Use lower case L to indicate long constants. e.g. 10l mistaken for 101.
- Consider variant spellings as a variant on the ploy, e.g. mixing International colour, with American color and dude-speak kulerz. If you spell out names in full, there is only one possible way to spell each name.
- Use misleading names for methods (e.g. a method named isValid(x) should as a side effect convert x to binary and store the result in a database).
يا جبل مايهزك ريح!!
Unknownما همني القـال و القيـل لأن البشر حتى الميت ما يرحمونه !!
ما همني القـال و القيـل
لأن البشر حتى الميت ما يرحمونه !!
ما يدرون انهم مجرد ارواح و تندفن
لا عاد تثق بأحد
لأن حتى روحـك رح تخونك
تخرج منك و تبقيك في المقـابر
و تبقى بين الاموات و لسـان البشر
اترك النـاس تتكلم عنك
عسى بكلاهم تعيش بين الملَك
و هم يعيشون
بين فلان قـال و فعـل
و خليهم مثل الريح
ما يقدرون يهزون جبـل
Work hold-ups
Last Thursday (11th August) I had to contact IT department regarding domain name transfer from the old server to a new one. My main contact was one of the heads of the IT center.
He said he can only transfer the IP address without changing the physical path. To complete the full process I have to wait for an another guy, which is supposed to come back from his vacation the following Sunday (and there is no one else who can solve this in his place).
So, patiently, I waited for Sunday through the weekend. Thankfully, the guy came back and he was very responsive when I contacted him. Eventually, I got the complete response the following Thursday (yesterday), saying that this cannot be done this week. Note that that Thursday was the last working day as we were froced to take our annual leave from 21st to 31st August (last 10 days of Ramadan).
So, now I’m stuck without an update for the site and facing constant insistence from my supervisor to complete that website as we face a long vacation afterwards. So, instead of pointing fingers without anything to be solved, I decided to use the old server by replacing the old design of the website to the new one. As simple as that!
The good side is that I get to work 1 hour overtime which means extra $!!!
The bad side is that I’m not sure how professional it looks like, though the director did mention he didn’t care even if the registration was plain white page with black text, since this what matters the most with the website!
I’m really proud that I came up with the replacing idea (thanks to khawater 7 by Ahmed Al-Shugairi *), yet frustrated that I didn’t think of this earlier >.<
Anyways, take a look: www.econf.uob.edu.bh and tell me what you think!!
“Antheism & Religion” via Piers Tonight
@piersmorgan: “You can not write a book basically telling to billions of people around the world believing in God ‘You are all wrong, and by the way, I don’t have any explanations!’ !!!”
Post-Banicon (thanks)
Hello everyone
How are you guys after yesterday’s madness? I know and the rest of the organizers/volunteers are beat and most likely sleeping all day!
First of all, I’d like to express my gratitude to ”Whisper’s Corner” for sponsoring the event, if it wasn’t for them, this wouldn’t happen.
Second of all, I’d like to give a big thanks to my friends who came all the way from KSA just to sponsor our gaming section; V7 guys (Voltage 7)! Thanks guys, I really wish you guys the best of luck <3
Also, I’d like to thank the people from MEFCC for their support and appearance. You guys better attend their event later this year! You’ll miss a lot if you don’t!
Thank you Mr. Qais for attending and sharing your wonderful experience, also wishing you best of luck! P.S. Can’t wait to read vol. 2 of ”Gold Ring”
Thanks to Mr. Baraa for throwing his voice out, thanks to Mr. Yacoub for his time, thanks to Al-Jawhara people for their awesome manga whishing them the best of luck in their project!
A special thanks go to the organizers and volunteers who did this with me just to make my dream come true, and they wished nothing in return! Thank you Ahmed Al-Kooheji, Isa Al-Shamsi, Mohammed Ahmed, Khalid Ismaeel, Marwan Al-Zahrani; Thank you Essa Al-Seesi, Rashid Al-Buainain, Rashid Al-Sulaity, Yasmeen Al-Sinan, Nadeine Al-Maskati, Mishal Nassim, Abdulrahman Farooq, Omar Alireza, Akbar Khan, Ebrahim Al-Khan, Omar Al-Shomily, Mohammed Isa, Ahmed Ali, Mohammed Abdulhameed :) Love you guys <3
Last but not least, a huge shout out to you guys.. for everyone who attended, from people who traveled all the way from Kuwait, Qatar, UAE & KSA, especially those who were stuck at traffic at King Fahad bridge for hours, and to those who attended no matter what. If it wasn’t for you guys as well, this thing would fall down. Thank you very much.
Though we faced some technical problems with the networking for the PS3s and the schedule got messed up somehow, it was a nice experience and I learned a lot from it
And personally, I think it went well for a first event! Especially that we were individuals, without any event management background!
Now, I don’t claim perfection, but we learn from our mistakes. This is all what life is about. You don’t expect it to go as you wish or as planned. Something somewhere will fall and break, and you’ll have to find either a solution or a back-up plan, or else, you’ll have to cope with it.
As some of you know, my real objective of Banicon was to introduce anime conventions to Bahrain, as promised 4 years ago. And I kept postponing the event one year after the other as I kept getting stuck in the middle due to some governmental issues. Until I met the right people that were meant to help me with this
Though, I wanted everyone to have fun and enjoy it, the fact is, it is difficult (actually, impossible!) to please everyone. And I’m still not sure 100% that I’d do Banicon again, I mean, c’mon! I just finished from the first yesterday!
But if I got enough support and resources, I might
(no promises though!) Besides, I just finished from the first, so don’t even ask about the 2nd xD (now I know how mothers with new born baby feel when they’re asked to ‘bring’ a sibling to the baby!!!!).
I really don’t know what else to say, all of this was a very interesting -yet tiring!- experience. It was overwhelming. I like to see people have smiles on their faces. I want everyone to be happy. So, I apologize for anything that upset you in the event, and I hope I can compensate at the next – if there was one ;P
Take care and have a nice day! *^-^*
Istighfar
The act of seeking forgiveness from Allah (God).
New Skateboarding!
25th September, 2010. Part of my London trip, I went to Hyde Park. I saw some guys using weird skateboards.. basically, they weren’t boards! I loved the new idea. Though it could be old or not that new, I’m not really up to date with these things, but it was certainly interesting and fun to take pictures of!
Back to work.. for an hour..!!
So.. I went to work (UOB) today to update some ‘critical’ information in the application I was working on. With the recent incident in the university, no one is to go there, except those with special permits.
Love is..
I stumbled upon an interesting article, talking about “love”. Now, how many of you wanted to know if they were in love or not? Maybe it was just physical attraction? Or at least just a simple crush? Well, here is the interesting answer





