August
20
2007
11:10 pm
Tags:
Post Meta :
You Diggin?

SecondLife Logo

The usual and common phrase: “Go, get a life” has another meaning these days. With the new fast speed internet connections and large servers with almost limitless capacity for data, games and all sorts of applications have headed towards the online world, seeking a larger audience.

This brings us to a so called “game” in which you can make your own character from head to toe, dress him/her up (from head to toe), and call him/her as you wish. It’s like having your alter-ego showing as a virtual person in a virtual world. This Virtual World is known as Linden which has its own currency known as Linden Dollars. The name of the game, Second Life.

(more…)

August
17
2007
6:13 pm
Tags:
Post Meta :
You Diggin?

JAMinI recently changed my home network configuration, because of some weak wifi spots and I was amazed to see that my Jamin was going nuts from the change! Although I was able to ping it from within the network, I wasn’t able to access the internet from the pocket pc. At first I thought the board might be going bad, but the fact that the I was able to ping it from my laptop gave me some hope. Therefore I started to mess around with the settings of the router, I removed wep, the problem still remained, I removed dhcp, again nothing, then I searched for the latest firmware, installed and nothing… The last thing that popped in my mind was to make the network only work on G mode instead of mixed mode, and that finally got it working again. I’m not sure if the imate Jamin is only compatible with G mode, since it clearly states that it supports B and G modes, but if you own a D-Link Wireless Router (mine is DI-524) and you’re having problems connecting to the internet, try this and it might work!


August
16
2007
5:55 pm
Tags:
Post Meta :
You Diggin?

I’ve been cleaning my laptop today, and came along a project I did for my Parallel Programming course, I’ve never published this because the code was never completed as I lost interest, the challenge was the idea and the concept, anyone can write a piece of code :) but few people can come up with innovative ideas!

I came up with the idea of writing a PHP library which will make my multiple servers work together in running a certain job, back then I had access to around 5 shared servers, 3 were mine, and 2 were from friends… As an example, I ran Monte Carlo using this concept. One server was the master, the other 4 were slaves. The master sent the jobs to the slaves, the slaves got random numbers from random.org, calculated the integral, and sent the results back to the master. Once the master received all the results, it calculated the average and outputted the result. This was just a simple example I did to prove that my idea worked…

(more…)

August
14
2007
1:23 pm
Tags:
Post Meta :
You Diggin?

Level: Beginner (coder)

This is a small tutorial which will teach you how to upload files using a C# client application to a server running PHP.

We’ll call the PHP script “upload.php”, this is what it should contain:

<?php
$uploaddir
= ‘upload/’; // Relative Upload Location of data file

if (is_uploaded_file($_FILES[‘file’][‘tmp_name’])) {
$uploadfile = $uploaddir . basename($_FILES[‘file’][‘name’]);
echo
“File “. $_FILES[‘file’][‘name’] .” uploaded successfully. “;


if (move_uploaded_file($_FILES[‘file’][‘tmp_name’], $uploadfile)) {
echo
“File is valid, and was successfully moved. “;
}

else
print_r($_FILES);
}

else {
echo “Upload Failed!!!”;
print_r($_FILES);
}
?>

(more…)