Old Versions

Book

Contact

Email Me

2007.04.04 - Type Casting in PHP
2007.04.04 - Wifi DS Belkin Router Help
2006.03.29 - Test 024: Flash 8 - File Uploads
2006.02.22 - The Old Issues!
2006.02.22 - The Flash Experiments and Stuff
2006.02.22 - The Tests and Stuff
2006.02.22 - Old Stuff
2006.01.23 - Dear Jean-Cristophe
2006.01.22 - Anti Spam on Blogs

2007.04.04 - Type Casting in PHP

OK so type casting isn't supported in PHP ... HOORAY! So I went to the php help pages and made a wee type casting utility based on the kludge that some other developer came up with - the cool thing about mine is it will let you convert normal variables into objects too!

Here is a wee sample: -

class ClassA
{
var $a;
var $b;
var $c;
var $d;

function ClassA()
{
}

function ToString()
{
echo "I contain " . $this->a . ", " . $this->b . ", " . $this->c . " and " . $this->d . ".";
}
}

class Cast0r
{
function Cast($value, $asObject)
{
$value = (object) $value;
$value_array = explode(":", serialize($value));
$object_array = explode(":", serialize($asObject));

$value_array[1] = $object_array[1];
$value_array[2] = $object_array[2];

$value_object = unserialize(implode(":", $value_array));

return $value_object;
}
}

$my_arr = array(
"a" => "A",
"b" => "B",
"c" => "C",
"d" => "D"
);

$my_a = Cast0r::Cast($my_arr, new ClassA());
$my_a->ToString();

PHP Article where I found the original code - do a search on "kludge" and you'll get to the article

by David - Permalink - Comments (0)

2007.04.04 - Wifi DS Belkin Router Help

How to get your DS working with your Belkin router

Wow after MONTHS and only a crappy wi-fi "help" page from nintendo I finally found the answers I was looking for by chance at the EuroGamer forum!

The problem as most folks may or may not know is that the DS only supports 802b and doesn't support WPA encryption.

For anyone thinking "whachoo talkin' 'bout, Willis?!?!?" don't worry the likelihood is your router supports the features the DS needs.

OK so I found a threaed on EuroGamer™ and found this comment ...

I got mine sorted even though I ran into that problem. The solution as I found it:

01.
Enable DHCP server on the router but set the IP address lease to "never expire"

02.
Let the DS try to find the access point (after setting WEP key and SSID)

03.
DS fails to find point, but looking in the DHCP clients list on the router reveals the allocated IP address.

04.
Set this IP address manually in the DS, along with the subnet mask and the gateway (the IP of the router)

05.
You need to find/set the address of the DNS server provided by your ISP


The EuroGamer Thread

OK So if you got to step 5 of that you're probably thinking by now ... "how do I find my ISP's DNS!???!" the answer? "FFS USE GOOGLE N00B!"

01
Type "DNS Settings" and your ISP's name into google

02.
PROFIT!


My ISP is TalkTalk™ ... quality service! To save you going to the link basically TalkTalk's DNS settings are here stick them in then try hooking your DS up: -

Primary: 62.24.199.13
Secondary: 62.24.199.23


TalkTalk DNS Settings

All in a day's work for Bicycle Repair Man™
[w00t]

by David - Permalink - Comments (0)

2006.03.29 - Test 024: Flash 8 - File Uploads

ooooh nice feature! (never thought I'd say that about flash!) anyway I needed some help so I did a search on google and found an example on ...

http://www.flash-db.com/Board/

... and had a little play with it and it looks like it works innit!

Test 024

by Loadkiller - Permalink - Comments (1)

2006.02.22 - The Old Issues!

Issue021
Image Inspector - WAAAAY cool!

Issue020
V2: Mobile Phone Based Photo Blogger! OMG!

Issue019
The Image Upload0r!!!1 (for OMG!LOL!)

Issue018
[omg] SCIENCE!

Issue017
Time Lapse Photography Thing (Broadband Only)

Issue016
MaraCode™: The Code Library

Issue015
Maracujaland™: Part II - Where Wirwib Walks!

Issue014
Make Light Work™: eCommerce Site

Issue013
Big Background Pictures

Issue012
V1: Mobile Phone Based Photo Blogger! OMG!

Issue011
Hum V Icon Generator (Web-based Image Editor!)

Issue010
Maracujaland™: Part I - feat. Mr Wirwib™

Issue009
Isometric Cursor: Keyboard Sensitive

Issue008
Isometric Cursor: Mouse Sensitive

Issue007
Drag and Drop Experiment II - now in Colour™!

Issue006
Icons on an Isometric Grid

Issue005
Drag and Drop Experiment I

Issue004
Pattern Select0r™

Issue003
Last one ... PROMISE!

Issue002
Another Desktop

Issue001
A Windows Desktop

by Mr SETR Gebruiker - Permalink - Comments (0)

2006.02.22 - The Flash Experiments and Stuff

Flash012
Totally 1337 Water Rippler for Niki!

Flash010
Dynamically Sized Buttons!

Flash009
AMFPHP stuff testing at the moment

Flash008
Wirwib™ is now available in FLASH!!! [w00t]

Flash007
A quick test of the external clip preloader progress bar with multiple clips

Flash006
The 3D Model Viewer Framework [w00t]

Flash005
Isometric Stuff (found at OutsideofSociety)

Flash004
Napkin Implemented (by waxpraxis)

Flash001
A External Clip Preloader. This one loads freaking huge backgrounds so you can see it working. It uses the LoaderClass from somewhere.

by Mr SETR Gebruiker - Permalink - Comments (0)