Friday, July 24, 2009

Alexandria University website hacked

In 24/7/2009 the Alexandria University website was hacked, it appeared that some college whom i appreciate their opinion see that thing is normal to happen and it is not a big deal, whether i like that opinion or not i have to admit that
  • there must be something that i have learned in the past 5 years whether i remember it or not.
  • there must be a value for the CSD certificate "i have to admit that".

the message sent by the hacker is kept here.

i am sorry about my original post, may be a was overreacting, angry because it was a shame and i can't reply with any form on it. Finally i am sorry for the bad language i have used.

Tuesday, July 21, 2009

It is not cheating if

After watching a comedy movie called "Road Trip", I knew that there are some rules by which men can sleep with other women "not their wives" and it can not be considered cheating, so i googled a little bit to find more about these rules, and here what i have found

  • you have two girls at the same time, so one invalidates the other.
  • you do it in a car (especially while driving, that is multi-tasking).
  • it's a threesome.
  • you keep your shoes on.
  • you are both cancels each other out.
  • they look similar. then it's just a tribute.
  • you say the word rape once during.
  • it's for fitness purposes.
  • you go home afterwards and fulfill your duty.
  • It's in a different ZIP code.
  • its done standing up.
  • you get away with it.
  • you spread peanut butter on your balls and your dog licks it off.
  • if its you use the alternate enterence.
  • you don't remember.
  • it's with their best friend.
  • you don't use your real name.
  • if its with someone of the same sex.
  • it's with roadkill.
  • it's with royalty.
  • you change the sheets afterwards.
  • you can please all of them.
  • you had to pay for it.
  • you pay for it.
  • they're on top.
  • you get paid.
  • they're twins.
  • they don't find out.
  • they're your parents.
  • you are related.
  • she doesn't find out.
  • you cross your fingers.
  • you tell her right after.
  • you pay!.
  • it was actually them but you were thinking of someone else.
  • your just passing through.
  • you're wearing a costume.
  • you say ;it wasn't me;
  • you use a condom.
  • it's before your marriage.
  • if you pull out.
  • you take a shower afterwards.
  • people see you.
  • the pubes don't touch.
  • you're wearing a cowboy outfit.
  • you are married to other people.
  • do it in the room they are sleeping in.
  • you cried afterwards.
  • it's with a celebrity.
  • you're in a different area code, not to mention a different state.
  • you look like a giant testicle.
  • it is just one time.
  • it's in a toilet cubicle and you're drunk.
  • she says it's ok.
  • They accept food stamps.
  • she's dressed as a urinal.
  • you don't look them in the eye.
  • she's not human.
These rules where taken from here

Another rules
  • It's not cheating if you're really good at it.
  • It's not cheating if it's bestiality.
  • It's not cheating if your name is Kobe and you buy your wife a really phat diamond ring afterward.
  • It's not cheating if you're doing it to get a raise.
  • It's not cheating if your secretary is really hot.
  • It's not cheating if you don't cum.
  • It's not cheating if you're really drunk.
These rules where taken from here

Tuesday, July 14, 2009

Sending HTTP GET request in Flash Lite 3.0

To send HTTP GET request in Flash Lite you have two options depending on the type of data you are receiving

Case you want to receive normal plain text
Sample Code


var requestHandler:LoadVars = new LoadVars();


requestHandler.onData = function(str:String) {
trace("data reached");
if (str == undefined) {
trace("Error loading content.");
} else
trace("can be read.");
//testTxt is a container where text can be displayed
testTxt.text = str;

If you tried to print the str in the output window, the str will not be printed, the only way to see that output is to set the content of a container with it.

Case you want to receive XML data

Sample Code


var xmlData:XML = new XML();
xmlData.ignoreWhite = true;


xmlData.onLoad = function(sucesso:Boolean):Void {
if (sucesso) {
var firstlist:Array = xmlData.childNodes;
var secondList:Array = firstlist[0].childNodes;
//....................... so on


Friday, July 10, 2009

Coordinate System Utility Library in Java

LatLongLib is a java library that provides the basic operations to be done on difference coordinate system
  • Latitude / longitude points
  • Degree, Minute, Second points
  • UTM points
To download LatLongLib library click here.
To find more details about the package (Javadoc, Testing Samples), click here.

The main Features provided by the package is
  1. Get Distance between two latitude/longitude points in meters using
    • getHaversineDistance
    • getVincentyDistance
    • getQuickEstimate
  2. Get slope between two latitude/longitude points using
    • getSlope
  3. Get point apart from certain point by certain distance and certain angle using
    • getPointAtDistance
  4. Convert latitude/longitude points to Degree Minute Second point using
    • calculateDMSFormat
  5. Convert Degree Minute Second point to latitude/longitude points using
    • calculateDDFormat
  6. Convert latitude/longitude points to UTM point using
    • LLtoUTM
  7. Convert UTM point to latitude/longitude points using
    • UTMtoLL

Friday, July 3, 2009

Tips for your graduate project documentation

In this post I will try to document what I have learned during the documentation phase of my graduate project.

Graduate project report comments:
  1. Written in Latex recommended, I personally suggest using MikTex and TexMaker.
  2. Introduction should goes like that
    • Overall All Idea.
    • Importance of that field "your thing".
    • Problem you are trying to solve.
    • Your contribution in solving that problem.
  3. Sections and subsections words should be capitalized.
  4. Avoid don't , isn't, use do not , is not.
  5. All axes in graphs should have the description and units.
  6. Make graphs black and white printable, show description line with different styles (solid, dotted) and not different colors.
  7. Add Related work sections for describing work done by others in the same field, don't forget adding references.