ACM ICPC 2012 World Finals Problems and Solutions
This post is about ACM ICPC 2012 World Finals, it was a good exciting contest. Teams from all around the globe competing together. you can view problem set here. and you can view problems analysis and solutions on this YouTube Channel.
you can read coverage of this contest on Petr’s blog. to view scoreboard.
Have a nice day
. (very short post
)
CopyBook
Hi, in this post I will write about a programming issue that I read recently and I found interesting to read about, it’s CopyBook, it was originally taken from COBOL programming language as you will see later.
I wanted know about COBOL, I think these old programming languages will make you know what new techniques and facilities that were included in newer (like C/C++) and modern (like Java and Haskell) languages increased efficiency and why they added or deleted these features, and also reading about them for fun
. So I read a little about COBOL and I found some interesting features, one of them was Copybook, this technique later was used in C/C++ using “include” key word. you can read about CopyBook Here.
Other features that I found interesting in COBOL are:
-The abbreviated conditional expression
IF SALARY > 8000 OR SUPERVISOR-SALARY OR = PREV-SALARY
in Java for example you would write
if (SALARY > 8000
|| SALARY > SUPERVISOR-SALARY
|| SALARY == PREV-SALARY)
Not a big deal but it’s a kind of fun to do esp. when we first learned programming they told us that you can’t write conditions in this form, but in COBOL you can do that
. I like it
.
won’t write more if you want to read more about these features and about COBOL you can read this.
Have a nice Day
.
TED talks
Hi, in this post I will talk about TED. I like TED talks. While listening to these talks you will think about things you haven’t thought about it before or you will think about it in a different way. you can check TED site.
I will recommend some talks that I find interesting, amazing and inspiring:
Sir Ken schools kills creativity (2006)
Sir ken Bring on the learning revolution (2010)
Larry Smith Why you will fail to have a great career
Stephen Hawking Asking big questions about the universe
Alberto Cairo There are no scraps of men
Steve Jobs – Stanford commencement speech 2005
A robot that flies like a bird
Thomas Suarez – iPhone Application Developer a 6th grade
Some Arabic Talks
Ahmed Darwish – Opportunity Beyond Challenge
Shereef Abd el Azeem – Volunteerism
and this is some talks I like but they aren’t TED talks
Randy Pausch – Time Management
and of course one of my favorite Nick Vujicic
Nick Vujicic-Best Motivational Video
Meet Nick Vujicic – The Man with No Limbs
Have a nice day
Matlab and Batman Logo
Hi all, it has been a long while since I wrote a post, but I’m here again with a short funny post about MatLab.
MatLab is amazing tool it’s a real masterpiece you can barely find a software with such outstanding quality. Anyway, I’m doing my Numerical Analysis Assignment, we are required to implement some numerical methods but the problem is that we are required to parse the input function on our own and differentiate it without using matlab or any library. I was the one responsible for implementing the function structure and the differentiation, we used composite design pattern to simplify parsing and differentiation process.
we are supporting a lot of functions but unfortunately we won’t be able to parse Batman Equation so will show it to you using matlab.
you can get the source code of this matlab file here: http://www.mathworks.com/matlabcentral/fileexchange/33124-batman-equation-the-legend/content/batmaneq.m
you can plot this function on Google graph plotter just Google this equation :
2*sqrt(-abs(abs(x)-1)*abs(3-abs(x))/((abs(x)-1)*(3-abs(x))))(1+abs(abs(x)-3)/(abs(x)-3))sqrt(1-(x/7)^2)+(5+0.97(abs(x-.5)+abs(x+.5))-3(abs(x-.75)+abs(x+.75)))(1+abs(1-abs(x))/(1-abs(x))),-3sqrt(1-(x/7)^2)sqrt(abs(abs(x)-4)/(abs(x)-4)),abs(x/2)-0.0913722(x^2)-3+sqrt(1-(abs(abs(x)-2)-1)^2),(2.71052+(1.5-.5abs(x))-1.35526sqrt(4-(abs(x)-1)^2))sqrt(abs(abs(x)-1)/(abs(x)-1))+0.9
See you next time, Have a nice day
My First Session (OSUM)
SA, in this post will talk about non technical issue so if your reading my blog for IT or Software posts you can skip this one
. in this post I will talk about the session I gave in Alexandria Faculty of Engineering, I told you in previous post that I joined OSUM Board and I have a lot of ideas for them, This session was my first one “How to Contribute to Open Source Projects“.
I decided to motivate my colleagues to contribute in open source projects because as I know none of them does, and some of them want to do something else except Algorithms (as they don’t like it). So, I decided to give a session about “How to contribute to Open Source” and show them that it’s an easy thing to do and beneficial as well by showing them How to make Eclipse Plugins because it may be something interesting for them, I sent a message about my idea to other OSUM board members, they agreed, also Sherif Gamal OSUM leader wanted to add FireFox extensions to the session. The Final Result was that I will give a presentation about “How to contribute To Open Source” then Eclipse Plugins after that Sherif will give FireFox extensions.
We had some problems about the session time so we made it from 2:30 to 3:30. But in the session day there was a few people because the time wasn’t convenient for our colleagues
, we presented any way.I was a bit depressed because I spent a lot of time preparing it and a few people attended but I was happy because the people who attended liked the session and because I learnt a lot from preparing this session, I learnt a lot about open source and the community. I presented using Prezi it as amazing tool , it’s better than MS Power point.If you want the session materials just send me message or e-mail or comment to send it to you
.
Session Logo
Have a nice day
To Be computer literate!
Hello, today I will write about an article I find it’s an interesting to read and necessary to know
. This article was about how to be a “good computer user” or in other words computer literate. We are using our computers daily and for someone like me “Computer and Systems Engineering” student I’m spending my whole day on my laptop or PC, but Are you computer literate? Do you have the basic skills to use your computer efficiently, it will save a lot of time for you if you have these skills:
1: Search engines
2: Word processing
3: Spreadsheets
4: Browser basics
5: Virus/malware scanning
6: Common keyboard commands
7: Basic hardware terminology
8: Simple networking diagnosis
9: How to hook it up
10: Security/privacy 101
you can read them in this article here.
11: I’m adding Tough Typing
, if you are a computer engineering student (you can call it necessary skill to have). you can use a software like Typing Master to learn touch typing.
Hope you will enjoy reading that article as I enjoyed it
.
Have a nice day
.
Symantec Source Code
In this post I will talk about Symantec pcAnywhere leaked source code. it has been confirmed that Symantec Source code was leaked after Hacker negotiations fail. Hackers has published some Symantec codes nearly a month ago (as they said on their twitter), in fact it wasn’t a code it was just a Pseudo code, it was published on Pastebin , you can it here.
Now, They published the source code on The Pirate Bay and some other channels. They published torrent file called “Symantec’s pcAnywhere Leaked Source Code” Tuesday morning. you can find it here ;) . Enjoy the source code
. I won’t talk in detail about this you can read an article about it below.
As Reported on pcmag.com ,you can find article link here.
See you next time, Have a nice Day
.


