Wholeness RSS

> everything is connected
May
29th
Thu
permalink

It's true, I am a geek

If anything has to be said about the last 12 or so months, it is that I have become more tuned with my inner geekness (from the land of geekdom). In the sense that I actually think that being a geek is one of my redeeming features.

It’s not just that I help out friends with pc problems, or play video games (only the good ones, with compelling gameplay, storyline and challenging… well most of the time), or build my own systems… I actually enjoy the intellectual challenge and creativity (yes you read me: c-r-e-a-t-i-v-i-t-y) of programming.

I learned some basic php this year working on the campagnes francophones project, and it has been one of the year’s highlight.

ahh, weaving code….

function delta_r ($coord_in, $coord_out)

{

global $debug;

// calcul de la distance maximale parcourue par tous les navires lors de la rotation

while (list($key, $nested_arr) = each($coord_in)) {

list ($x_in, $y_in) = $nested_arr;

list ($x_out, $y_out) = $coord_out[$key];

$delta_j = sqrt (($x_out-$x_in)*($x_out-$x_in)+($y_out-$y_in)*($y_out-$y_in));

$delta_r_table[$key] = $delta_j;

} // end while

return $delta_r_table;

}