java

Cons & Pros [Mentor Graphics]

by the time i was there it was located here, and now it's here.

it was my second company i've been in, but the first huge and international one !!

my internship was as Testing Software Engineer, writing unit tests on JUnit framework, of course with JAVA for the CHS project. kind of i was pretty amazed by that product and the system that was followed there, very organized company indeed. plus i was working with ZIZO on the same team, and seen how effective he was (fact) and how early does he come to work :D !!

Scientific Computing Dept. [Part 2]

continuing with the second and last part in Scientific Computing Posts where the first part was Scientific Computing Dept. [Part 1]

it's just about the courses taken in SC well...

this semester was less interesting than the first term,

may be that was because we had less scientific materials than the first as fourth year studs are planned to finish the exams half a month earlier than usual so the materials taught are less than usual in all the deps but that doesn't mean that we hadn't took nice subjects

Troubleshooting in ACM-ICPC Contest

i've participated in many contests as organizer, specifically in the technical stuff which is mainly two portions

  • The IDE which is mainly "eclipse"
  • The contest communication tool which can't be except "pc2"

and in the last contest i've participated in it's technical preparations i faced a number of troubles

lets take them one by one

1.Teams don't connect to the Server which is a Linux Machine

  • Solution : before you open the server edit the "pc2server" file and edit this line
  • java -Djava.security.policy=policy.ini $PC2CN $*
  • to be
  • java -Djava.rmi.server.hostname="10.106.0.35" -Djava.security.policy=policy.ini $PC2CN $*
  • of course change the ip according to your server ip

and make this edit in all the executables you will run {team, board, judge.....}

A JAVA Function !!! [Problem NOT of the week]

As my two friend Alaa & Foaud are writing [Problem of the week] 

i am also writing Problem NOT of the week :D

bcoz i wont write a problem weekly in addition to i dont know the solution of my problems :)

almost... . .

during my internship time i spent in Mentor Graphics Cairo

i needed to implement a function and when i started coding i found that it was impossible to do it that way

may be there is a way that function can be implemented but i dont know how due to my small experience with JAVA Here is the problem definition:

Programming Language used : of course u know its JAVA what r u looking at :P