هل رأيت ما حدث في غزة؟
لاحظ شيئين:

أولا أنك لو أردت منع العدوان فلن تواجه فقط دولة إسرائيل بل كل الدول الغربية التي تؤيدهم.
ثانيا أننا لا نستطيع أن نفعل شيئا مع تلك الدول بينما نحن تابعين اقتصاديا و علميا لها.

لقد انحدرت كثيرا قوة مصر السياسية منذ بداية القرن الجديد, و لا أظنها صدفة أن تزامن هذا مع الأزمة الأقتصادية المصرية في 2002,2001. من الصعب أن تفرض رأيك على أمم و أنت تمد لها يدك في مؤتمر للدول المانحة.

لكي تحل مشكلة سياسية تحتاج لأن يكون لديك اقتصاد قوي و تفوق علمي و مجتمع مستقر. تحتاج أن يكون الناس مطمئنين ماديا تشغلهم المباديء أكثر مما يشغلهم البحث عن الرزق.

تريد ألا يتكرر ما حدث على المدى الطويل؟ إطحن نفسك في الدراسة. تعلم أربع لغات برمجة في 2009. علّم غيرك. اعمل في أفضل وظيفة ممكنة بأفضل دخل ممكن. إفتح شركة.

هذا ما يفعلونه في دولة إسرائيل. في وسط الحروب يمولون الشركات و يشجعون البحث العلمي. و هذا ما علينا أن نفعله. لن يغني ذلك بالطبع عن السعي لإنقاذ الموقف الآن و فورا لكننا يجب ألا ننسى المدى الطويل أو نظل مستضعفين للأبد.

تشعر بالغضب؟ إعلم كيف تستغلّه جيدا.




[Empty]
icon1 Roaa Mohammed | icon2 Uncategorized | icon4 12 27th, 2008|
Been too busy last time & didn't write anything here for long, I truly missed the state of blogging.
Stay tuned, I'm going back to writing soon in shaa Allah..




Ball in a Hole
icon1 acmACIS | icon2 Problem | icon4 12 26th, 2008|
A ping pong ball  fell into a tight deep pipe ( eg. 30 cm long, buried in concrete pavement - having firm metal bottom), only 1 cm of the pipe is above the ground - so it can not be moved. The pipe was only a bit wider than the ball, so you can not [...]




An Easy Short One [Answered]
icon1 acmACIS | icon2 Solution | icon4 12 25th, 2008|
here comes the winners of the Easy and Short problem not so many but better than the Fontas one the first is -for the first time i think -    TeCNoYoTTa then  Mohamed Gawish then AlaaShaker and  Tasniem Seliem go and check their solutions here       




An Easy Short One
icon1 acmACIS | icon2 Problem | icon4 12 19th, 2008|
we have a rectangular cake, where a square portion is cut of it that square may not be in the exact center of the cake how can you cut the cake into two equal halves with only one cut.       




The Man and The Fontas [Answered]
icon1 acmACIS | icon2 Solution | icon4 12 18th, 2008|
well,  i know that this one was tough it needed some imagination and geometry and no one had answered it except Alaa Shaker go and check his answer good luck with the next problems if you cant understand his solution we can explain it here, just ask       




Marital Status: Engaged!
icon1 Alaa Shaker | icon2 Personal | icon4 12 17th, 2008|

Yeah, I know it’s been a long time - October, right?!
Anyway, I’m back with some news … you can guess from the title of this post D Nehal & Alaa

We got engaged on the 22nd of November, 2008. Strange enough to mention that the past few months have witnessed more than 6 engagements and 2 marriages! LOL

CONGRATS to everyone, and ourselves … :huh
We’re asking for your prayers … D

And may all those who aren’t, get engaged, and those who are engaged, get married, and those who are married, have children …… etc.

God bless you all …

DSC01361

   Tagged: Personal   




ضربة صحفية
icon1 Mohamed Samy | icon2 shoes | icon4 12 15th, 2008|
أمس ألقى صحفي عراقي بحذائيه على الرئيس بوش, في مؤتمر صحفي مفاجيء عقد بالأراضي العراقية.

لم يحدث أن أهينت أمريكا مثلما أهينت في عهد هذا الرئيس:

- في 2001 كان أول هجوم ناجح على أرض أمريكية منذ بيرل هاربور.

- بعد ذاك الهجوم انتهت فكرة الدولة الأمريكية المنيعة و صار الأمريكان يعيشون في خوف و بارانويا. يمنعون دخول الناس الطائرات لو معهم حتى عبوات عصير و يفتشون حتى احذية الركاب.

- منذ احتلال العراق و المقاومة تلعب بهم كل يوم. حتى أنه هناك العديد من الجنود الأمريكان الذين يموتون بالأنتحار بعد عودتهم إلى أمريكا بسبب الأكتئاب!

- و في عهده ارتفع سعر البترول حتى كاد الأمريكان يخافون الذهاب لعملهم أو توصيل ابنائهم للمدارس.

- و صرنا نسمع عن مصطلحات لم نتوقعها مثل التعذيب و مراقبة المكالمات و التلاعب في الانتخابات, و كأنها لم تعد بلد الحريات بل دولة في العالم الثالث.

- ثم كانت الكارثة الكبيرة: الأزمة الاقتصادية و طرد الناس من مساكنهم و إنهيار البنوك. و دفعت الحكومة الأمريكية مبلغ 850 مليار دولار في خطة انقاذ لا يعلم أحد جدواها. و بدأت الحكومة في شراء المؤسسات الخاصة أو المساهمة فيها و كأنها تعلن التخلي عن مباديء "الرأسمالية على الطريقة الأمريكية" التي كانت تتغنى بها طوال السنين و تريد فرضها على الشعوب.

- و أخيرا كان "الوداع" كما قال الصحفي برمي الأحذية في وجه رئيس أكبر دولة في العالم, لئلا يظنوا أن الشعب العراقي يحبهم أو يعتبرهم منقذين محرريين كما يزعمون.

لم تعد الإمبراطورية الأمريكية كما كانت. ليس هذا القرن قرنها على ما يبدو.




The Man and The Fontas
icon1 acmACIS | icon2 Problem | icon4 12 12th, 2008|
A man has A Fontas (Uniform Cylinder) and infinite source of water, and a pencil. He know that the volume of the fontas is 8 liters and he does not have any thing to calculate time , length or volume just a fontas , infinite source of water and pencil. he want to divide the fontas into [...]




Break the Silence [Answered]
icon1 acmACIS | icon2 Solution | icon4 12 11th, 2008|
Well, it seem that the Feast have a special effect Only TWO winners for this week .. Metal_ then Tasniem Seliem Happy Feast and the answer is as usual right here ..       




SUN SPOT
icon1 jaqoup | icon2 Experience, JAVA, Open Source, SUN, SUN SPOT, flying bike | icon4 12 9th, 2008|


just this video will make you feal ” :O “

   Tagged: flying bike, JAVA, Open source, SUN, SUN SPOT   





here is one of the assignments i liked to be doing in Scientific Computing

specifically a Mathematical Programming assignment

i could have just implemented a Console application running the algorithm and get my marks, but thats not what i need from SC Dept )

i think it would be useful for those who want to learn one of the algorithms it runs or for those who want to see what a SC assignment looks like P

well here is the main form 

Visual Algorithms Main Form

as you can see the form is divided into two parts the settings part and the drawing panel

in the settings part you’ll find all the data about your Graph the Nodes, their positions and algorithm specific information as the start and end nodes of the algorithm - if it needs -

to draw a graph you should first add the nodes of the graph, by just writing the name of the node and press “Add Node”

 

 You can enter as long name as you like but i doubt that all the name will appear on the drawn graph, (you’ll see what i mean now)

 

and after you add it it will be drawn in the drawing area

as in the next figure i’ve added some nodes

note that when i added the nodes their names appeared in the upper-leftmost  list A,B,C,D and End

and on the drawing panel only one node is shown

that’s because all the nodes are drawn in that location

you can move the node by whatever drag-drop , select it and double click anywhere on the drawing panel and it will appear there

or you can select it and edit it’s X.Pos & Y.Pos here

 but make sure when a node is selected it’s name is written in this textbox and it is highlighted   in the list 

after you move the Nodes to another positions now you should set the edges between the nodes

in the algorithm specific part you’ll find a hyperlink “Manage Weights”

click it and another form containing the adjacency matrix will show up

a “0″ means no connection

here you can enter the weights of the edges between the  nodes

in some algorithms which operate on nondirected graphs where the direction won’t matter u’ll find this form makes itself symmetric whenever you enter a value

as when you enter the value from “A” to “B” you’ll find the same value Automatically written from “B” to “A”

then…

after you enter the whights just close the form and the graph will be drawn

like this 

note that the number written above each node is it’s weight , cost or whatever, according to the algorithm.

and the red number on the edges is it’s weight ( the numbers you entered in the adjacency matrix form -don’t they look familiar :D - )

and this is how it looks like for the algorithms that use Directed edges

then what you should do now is keep clicking the ‘Next Step” button till the algorithm finishes

but first some algorithms need to have the start and end Nodes specified like Dijkstra and Max Flow

this is the Shortest path between “A” and “C” after some “Next Step” clicks )

“The black Edges are the path”

and the number written above the “C” Node - which is not visible D - is the total cost to get there form “A” i guess it’ll be 31.8 or you can move the node and see it D

you can get the program from my box and watch the other algorithms

you can move between algorithms by clicking those arrows

 

you’ll find Dijkstra , Kruskal MST , Prim MST and Ford Fulkerson Max Flow algorithms implemented

you can also save the graph to a file and load it again anytime

and about that slider on the top left of the drawing panel |

why would anybody place a slider on a drawing panel ?!!!!!

of course it is a zoom control !! | , |  -sort of… D -

i think i’ll write how to implement your algorithm in this project soon isA

ah ..

I Forgot…… 

it uses framework 3.5 to run D

Happy Eid ) , )

   Tagged: Assignment, Dijkstra, Directed Graph, Ford Fulkerson, Graph Algorithms, Kruskal, Max Flow, MST, Non-Directed Graph, Prim, SC, Scientific Computing, Shortest Path, Visual Algorithms   




Break the Silence
icon1 acmACIS | icon2 Problem | icon4 12 5th, 2008|
One day, a frustrated Math teacher lost his patience with his students’ non-stop chatting. Thus, he decided to give the ultimate hard problem: Find the only positive integer number less than 20,000 that is also a sum of three positive integers, all containing exactly 7 factors. There was a steady silence. Can you break the silence by [...]




Just a number [Answered]
icon1 acmACIS | icon2 Uncategorized | icon4 12 4th, 2008|
Last week results .. The First one to solve was .. Mohamed Gamal then  Ibrahim Ahmed Mohammedy then  Mon then AlaaShaker TeCNoYoTTa Mohamed Abd Elmonem Ali Simo Mohamed Ghost Shimaa Ahmed Noran El-Kafrawy Ahmad Farid Profahmedsaad Mona Yehia Eman Mohamed Gamal Metal_ well done, wait for the next one The answers is right here ..       




How to Write a Virus
icon1 Fouad Mohammed | icon2 All, programming | icon4 12 2nd, 2008|

here is an article about how to make a simple virus for win32:

http://cisclub.com/forum/showthread.php?t=6783

and also in MS Word Format:

http://www.box.net/shared/xkuunv6qes

the article is in Arabic ..

Posted in All, programming