Archive for May, 2006

…back!

Monday, May 29th, 2006

Woo. That was great except the last day where my parents kept going “Do homework!”. Anyway..

We fixed up the gocart that’s been sitting in my grandpa’s garage. It’s really fun, but is just a 5 HP engine sitting on a metal frame that doesn’t look like it’s ment to support my weight. Heh. Anyway, I got that thing up to full speed [20-25 MPH] and ran it around the propery and driveways a bit [generally the land is spit up with family, so I was fairly much allowed anywhere but fully grown grassy areas].

My grandpa had me drive his truck too, get me used to driving. Unfortunately there’s not much land left to drive on so I had to use a field and a small driveway [bad idea for a truck, impossible to turn with trees surrounding both sides]. But I didn’t hit anything, so yay.

And on the way to and from I was tracking wifi networks. 1,699 networks logged, 646 new to wigle.net. My rank there is now 392nd. I’m thinking of getting a better antenna and wifi card to pick up more networks, but with just my laptop’s built-in network I can get up to 19 networks at a time when on the highway passing appartment buildings [at high speed, a fair distance away from the buildings]. So we’ll see. I’d love to mount a antenna on the van’s roof.. hehe. BTW, best SSID ever: “imarouter”

Alright, trip is offically over.

Bye.

Trip

Sunday, May 28th, 2006

On a trip. Be back Monday night.

Kinda steamed..

Saturday, May 27th, 2006

Well, turns out a road trip was planned that I didn’t know about until about 5 hours ago [8 PM], and I’m annoyed I won’t beable to relax for the long weekend [ARG]. I’ve been stressed out over homework and classwork and just want a few days to relax and catch up on work. Well, dad and mom had different plans. Ussually I don’t mind or complain, but I’ve really been out of it lately and really just wanna stay at home n stuff.

But anyway, I’ll go to collect some more networks for WiGLE and stuff. Speaking of which, I figured you can import data into Microsoft Street and Trips! Well alright.. lets just export a sample database here.. alright.. import text file seperated by tabs.. hm.. cool.. set first column latitude, second longitude.. third name.. rest exclude.. alright and import..

Processing 2343 entries….. 0 matches.

Wha? Uhm… switch latitude and longitude…

Processing 2343 entries….. 0 matches.

Ok.. check.. double check.. yeah it’s getting the info in right..

Lets try a excell file… Nope.. same thing.. Hm.. maybe it requires the letter [N, E, S, W in the latitude/longitude info] on the other side of the number? Yeah.. Oh! That worked. Alright.. but uhh.. why does it place it nowhere near where I scanned? Hm.

Well I guess it’s a small problem.. lets make a script to do all that automaticly.

OH freaking wait.. it cuts off latitude and longitude entries to 6 characters in text databases. Well ain’t that fun. Hm.. that isn’t gonna work. Too bad this script is gonna go to waste.

Allwell.

//Convert Network Stumbler files to a text file Microsoft Street and Trips can read easily

/*

...not - You see, Microsoft Street and Trips have a nice data import function. Works great... Except when you try and import a text file. I'm not willing to reverse engineer a excell file to get this stupid thing to work right, so meh. This script works fine... as long as you don't care about all your locations appearing in a totally different hemisphere. The data import function generally cuts off the location entry so it's about 6 characters long. Well this messes up accuracy majorly as well as cuts off the compass letter [which MSS&T will only recongize at the end, so meh]. So instead of your locations appearing in north america, they appear somewhere in africa. Using negative numbers work, but I don't want to bother. I need greater accuracy for mapping wifi networks anyway.

*/

echo "Opening\n";

$file = file_get_contents($_SERVER['argv'][1]);

echo "Splitting\n";

$file = explode("\n",$file);

echo "Processing...\n";

$time = time();

$out = (strrpos($_SERVER['argv'][1],".") !== false ? substr($_SERVER['argv'][1],0,strrpos($_SERVER['argv'][1],".")) : $_SERVER['argv'][1]) . "-out.txt";
$out = fopen($out,"w");

fwrite($out,"Latitude\tLongitude\tName\n");

foreach ($file as $id => $entry) {
if (time() != $time) {
echo round($id / count($file)) . “%\n”;
$time = time();
}

$entry = explode(”\t”,$entry);
if (strpos($entry[0],”#”) === 0) continue; //Comment checker

$entry[0] = substr($entry[0],2) . ” ” . substr($entry[0],0,1);
$entry[1] = substr($entry[1],2) . ” ” . substr($entry[1],0,1);
fwrite($out,”{$entry[0]}\t{$entry[1]}\t{$entry[2]}\n”);
}

echo “Done.”;

?>

Meh.. to bed.

Dell.com’s interesting hack

Wednesday, May 24th, 2006

So I try and browse about dell.com in my browser of choice, Opera, shopping for a laptop for a friend.

Well they changed their site since purchasing a laptop. I looked everywhere, I could not find a customize link on their page. I was like… “What the heck? Did they remove customizing and buying online??” After a few minutes searching the entire page several times, I wondered if they did another IE-only “feature”. So I fired up IE, and throw the url in. Sure enough, I find the button now. Turns out it’s a flash animation that I didn’t see in Opera. Kinda weird, I have flash enabled, no reason to turn it off in quick prefs anyway.. Well I think not much of it.

At home now, and I decide to look at their options again. Once again, doesn’t work in Opera. I fire up Firefox this time.. and.. it works. I’m really weirded out now. I go to read the source…

<DIV name=”flashContentDiv” style=”color:white;”>new FlashLibraryActivate( ‘http://img.dell.com/images/global/products/flash/xps_m1710/gaming/swf/index.swf?flashFeed=http%3a%2f%2fwww.dell.com%2fcontent%2fpublic%2fflashfeed.aspx%3fc%3dus%26s%3ddhs%26id%3dxpsnb_m1710%26cs%3d19&country=us&language=en&segment=dhs&customerSet=19&contentPath=overview’,734,480, ‘#FFFFFF’ , 7, alternateMarkup );</DIV>

I blink a bit. I check around it.. nope.. it’s not in script tags.. not a varible.. no.. it seems fine. But it works in IE… AND FF?! Ok, so something ain’t right here. I begin to assume that something reads the div’s content, and phrases it in javascript for some reason. And what do you know.. it does.

function RenderFlash()
{
var flashObjects = ParseDivObjects( “flashContentDiv” );
var flashObject;

for( var flashIdx = 0; flashIdx < flashObjects.length; flashIdx++ )
{
var flashObj = eval(flashObjects[flashIdx].innerHTML);
flashObjects[flashIdx].innerHTML = flashObj.getPluginTag();
}
}

//-- Parse the objects by name in a browser independent way
function ParseDivObjects( targetName )
{
var objs = document.getElementsByName( targetName );

//-- Workaround for "inconsistent" W3C ruleset in IE as DIV's aren't mapped with name properties
if( objs.length == 0 )
{
var targets = document.getElementsByTagName( "DIV" );
var tmpObj;

objs = new Array();

for( var targetidx = 0; targetidx < targets.length; targetidx++ )
{
tmpObj = targets[targetidx];

if( tmpObj.name == targetName )
{
objs.push( tmpObj );
}
}
}
return objs;
}

Well yay. What a stupidly useless hack. As far as I can see it has no use. Gosh guys, if you want to run a flash animation, why don’t you simply put that code in a script tag, it will run faster and even work on Opera! Oh joy!

Updates

Tuesday, May 23rd, 2006

Price Goals:
1. Phone PDA - $399, $299 online, $249 with ne2, $150 with ne2 + online [not sure which they will put me on]
2. eVGA step-up to 7900 GT KO - ~$150
3. New DECENT wireless router - $124.99
4. Video Suite: $799 + tax [!!??] + shipping = $853.90

School
I don’t wanna talk about it. I’m going to fail oceanography, OF ALL CLASSES. I blame the teacher, seriously. I hope to improve enough to pass the exam and this quarter, but it ain’t going to be enough to pass. I have a several projects all assigned last week, due this week. It’s annoying me how behind I am in english, but with so many things being piled on at once.. I donno. Summer is in 4 weeks. Thank freaking goodness to the end of the most horrid school year yet. If I fail oceanography, I will be one science credit behind in graduating.

IRC
Someone bots our net again with proxy bots [same person as the previous times based on connect logs], fortunately easy to cleanup and bounce before any damage occurs. spling doesn’t appear too much often on irc anymore, and the runescript project is slowing down because of that.

Real Life
Parents are willing to pick up the slack for me to get Adobe video suite. I’m unwilling to spend that much and have no money after to get items 1 and 2 above. :( Friends are spending the week here.

Hobbies, etc
I wrote a song. I did post it right? It sucks, but it’s something. WarDriving during my washington DC trip got me 1,100 networks logged, only 200 new to wigle.net [?!]. I want a bike for the summer, as well as learners permit for driving. And I’m stressed out because of school again.

Goals:
- Just to not fail a class this year.
- Take a relaxing and refreshing summer vacation.
- Finnish RsS2 for RuneScript project
- Do some roleplaying, artwork, perhaps some other flash and animation work
- Cut down on computer-related hobbies
- Figure out a career path
- Set my life in the right direction