U. Akron invited to compete at Case

The University of Akron’s computer science club has been invited to compete at Case’s Engineers Week in the Lego robot competition. They normally compete against high school kids, but in 2006, they have invited the local area colleges to come in and compete as well. Trick is Case has Lego kits. Each team gets the same exact kit and has to build a robot which searches for a light source. Once found, it must go to the light source to score a point. Two robots go at it at a time. Another trick is we don’t have ANY of the robot gear Case has. All our testing and development will be based on wild guessing. Later on, we’ll get a couple hours to play with the equipment and then we’ll build on the day of the event. Oh yeah, the gear they’re using had cost $800 back in the day. Today, you can’t get it and what you can get costs $400. Its cool stuff, but out of all of our budgets.

After talking with a friend of mine who graduated from Case, I’m thinking we don’t stand much of a chance. They’ve been doing the robot thing on some level for probably at least a decade. Akron? I think they JUST started offering a robot course not too long ago.

The cool part is I think I have some tools for figuring out the light sensing (anyone remember back when I had wired up my apartment?). We need to be able to measure light, identify the location of the light and instruct hardware to move towards it. Doesn’t sound too bad, but the arena will not be perfectly dark and we have to be able to lock onto an 80 watt and 20 watt bulb (if I’m remembering correctly).
Continue reading “U. Akron invited to compete at Case”

Slicing Floor Plan assignment in J2ME

J2ME (Java 2 for mobile) has had me curious. I have a J2ME friendly phone. I’m doing Java in DSA2. It can’t be that hard to write something for the phone, can it?

Turns out it really isn’t too bad. The bugger of it is fiddling with the right mix of software development kits and Eclipse’s Java settings. The other fun part is figuring out which SDK matches with the Nokia 6600 phone (for those wondering, its Series 60, v2 FP1 (feature pack 1)). I lost a good amount of time just trying to figure that one out.

But the development process wasn’t too bad once Eclipse was setup to compile and package. I haven’t mastered the art of persuading the emulator to run from the “run program” button, but I found I can use Nokia’s Eclipse add-on buttons to run the emulator from there.

The last thing to try was to actually write something to run on the phone. What better test than the current programming assignment (due this coming Monday, but already turned in). I had to water down the code since the phone lacks a lot of the features the desktop edition of Java has. Once I put together the interface, the rest of the Java class files just dropped right in with a little bit of tweaking here and there. Here’s some screen shots of the Slicing Floor Plan from my 6600:

The config screen – specify the plan here:

The drawing of the binary tree:

The drawing of the floor plan:

Feel free to browse the code. I don’t know if it’ll work on other J2ME gadgets. If it does, great!

Just like the desktop edition.
Continue reading “Slicing Floor Plan assignment in J2ME”

I forgot. UA still has dialup access

Duh.

I remember using U. Akron’s dialup to ditch AOL dialup back in the day. I also remember using UA when I was in a jam at a network client site and needed a driver for something.

Now, I’m able to use the UA dialup numbers to allow me to go mobile and maintain a ‘net connection when wifi isn’t available (*cough* Tri-C). I just persuade my notebook to talk to my cell phone and have it dial out. This solves the problem of getting stuck with T-Mobile’s Internet plan for $20 a month (ouch).

One setback (not counting the fact its a low speed connection): the UA dialup account is only good for when you’re a current student. Good motivation to keep taking classes, right? This is one of those “you know you’re a geek when…”
Continue reading “I forgot. UA still has dialup access”

Making scripts available

Someone sent me a message via the website asking to make some scripts available. I don’t enforce email address checking, but at the same time, you kinda have to supply one if you want a reply (and I like to think I’m pretty good at getting all responses answered in less than a few hours – unless I’m sleeping).

I had a request for the script to convert WAPs to Google Maps. There’s 2 pieces of the puzzle: the HTML/JavaScript page and the script to convert the summary file to XML. Now, the HTML/JavaScript page can be swiped pretty easily (right click and save as). The XML page generation is a different story. I’m looking at the code right now and its poorly documented. Plus, I’m pretty sure I’m not pulling everything available out of the summary files (like SID, and such). I’d like to have the XML file contain everything at some point.

At the moment, I’m leaning more towards setting the script up to run from the web. You upload your summary file and it converts it to XML. Then, as I update the file, everyone else will have access to the latest and greatest as well. Anyone else interested or would people prefer something different?
Continue reading “Making scripts available”

Wardriving and Google Maps

I’m too lazy to hack NetStumbler’s .ns file formats. But the summary text files are pretty nice. I’ve got a ns2xml PHP script which pulls the data out and converts it to XML. Then I have my JavaScript read the XML file and pass the data to Google maps for plotting.

WAPs I’ve found

The WAPs in red (and have a red marker) are encrypted. The ones in green are open. Click on a link to view the marker data (the map will recenter and show some additional info in a bubble). Click a marker on the map to view its data too.
Continue reading “Wardriving and Google Maps”

Java assignments posted

I’ve posted my Java assignments. You can find them on the school page (scroll down to Data Structures and Algorithms 2). I’ll post them as I complete them. For safety though, I won’t post the code to an assignment until after its been graded.

The hexagon fractal assignment was rather fun. Learning Java Swing wasn’t as bad as I thought it was going to be. Figuring out how to draw in a JPanel took a little bit of work (as I learned, simply drawing on the canvas is sort of a no-no since Swing components will overwrite the canvas every time). You’ll need Java 1.5.0 installed for the applet to work.
Continue reading “Java assignments posted”

Kinda busy

The news I neglected to post in a timely manner? Eh, got busy.

I helped Employ Media by writing some scripts to automate a lot of the work involved in making “.jobs” domains functional. It was a bit of a time crunch. But I like to think I helped make a little bit of internet history.

Olessia is out of the house today. She and Amy (with Amy’s kids) went off to Toledo. They’ll be spending the night and coming back tomorrow.

Me? I’m hanging out at the house. I think I glued the last of the siding that might even remotely think about coming off the house. I’ve also mowed the lawn and did some shopping (food items, as well as some computer gear). Tomorrow I may go out to Lorain to check in on an autocross (assuming I get up at an early hour).

I’m still busy learning Russian in the mornings. I need to memorize “простите за опоздание” (if typed correctly, should say “sorry I’m late”). And another one that made Olessia laugh: Елки-палки

I’ve also been busy in my DSA2 class. Programming assignment 1 is done. Got a 50 out of 50. I’ve also just completed assignment number 2. I’ll post the code as I get the assignments back. Coding in Java has me pretty motivated to try my hand at J2ME (Java for mobile gadgets). I’ll post my creations as I come up with them…
Continue reading “Kinda busy”