Header image

BEAUHINKS

  • Home
  • About
  • Projects

Subscribe to feed

‹ Darwin, Not Pleasant  •  Darwin: The Rat Race ›

Darwin Night 6

July 16, 2008 in Darwin Race, Programming | No comments

Everyone else seems to have nice GUI’s already. I really haven’t made very much progress relative to the other competitors! This is no fault of the IDE, but rather my inexperience and choice of tools. That said, the resources available to the NetBeans and Ruby community are tremendous and I’ve got the core of the application running. There is still a lot to do:

  • Allow the user to maintain a list of “drones” on the network from which to request CPU data.
  • Finalize the the tables that track each drone so that the user may view and track each in a nice manner
  • Secure the drones–right now they’re just responding with generic HTTP. Hopefully I can figure out something better.
  • Create an administrator interface to manage aforementioned drones.
  • Package the application so that it is easy to distribute and judges can test the application without worrying about dependencies and security.

For Windows development it would be rather nice to have a hassle free all-in-one executable to do all of this for the user. I find myself thinking of ways I would do this in Delphi… dropping a DevExpress cxGrid on a form, setting a few properties to link to the database, compiling, and bang! You would have a very basic monitoring utility as a system administrator on a small network.

Here are a few screenshots for your enjoyment:

This code resides in a Ruby on Rails application which I hope to be the administrator interface. Notice there’s not much to it! It just grabs a string from the drone via HTTP.


The code to render a basic response with the CPU information I thought was useful. Notice there is no temperature… that’s beyond my expertise, especially in Windows. Lots of things are beyond my expertise! :)


A Rails application on Webrick responding to a request.


The rendered page sans a template.

That’s all for tonight in this post, I’ll be plugging away for awhile longer in the hopes of being competitive!

Steve


Twitter Darwin


follow beauhinks at http://twitter.com

Pages

  • About
  • BubbleBlow
  • Projects

Categories

  • Beauhinks
  • Books
  • Darwin Race
  • physics
  • Programming
  • School
  • Science
  • Technology
  • Travel
  • Uncategorized

Archives

  • August 2008 (1)
  • July 2008 (14)
  • May 2008 (4)
  • April 2008 (4)
  • March 2008 (4)
  • February 2008 (4)

What I'm Reading

  • Build your own Fusion Reactor [pdf] (Hacker News)
  • How Our Culture Keeps Students Out of Science (Hacker News)
  • Basic Physics in ATLAS (Life as a Physicist)
  • Code Free or Die(): Why Hackers Are so Often Libertarians (Hacker News)
  • Kayaks You Can Build (Cool Tools)
Shared Items

Blogroll

  • 10x Software Development
  • Blogs.codegear.com Master Site Feed
  • Cool Tools
  • Lifehacker
  • MAKE Magazine
  • PhysOrg.com
  • Slashdot

No comments

Comments feed for this article

Trackback link

http://beauhinks.com/2008/07/16/darwin-night-6/trackback/

my flickr stream

2008-08-01_0028
ireland 281
ireland 286
ireland 269
ireland 287
ireland 285

Coffee drinking machine/student interested in programming, physics, and mathematics.

Recent Articles

  • July Recap: DBP, Darwin, Robots.. Oh my.

    August 1, 2008 in Programming, School

    Didn’t win in the Darwin Race of Languages… that wasn’t a big shock! Ah well congratulations to the individuals that did, some of the submissions were really well done and significantly easier to install than…

  • DarwinRubyMon: Ugly Deploy

    July 22, 2008 in Darwin Race, Programming

    Don’t forget to VOTE!

    Also, check out my other posts to the left concerning the development process using NetBeans.
    Update:
    The zip archive was quite large and took awhile to extract thanks to all of the doc…

  • Darwin: Not Quite Fin

    July 22, 2008 in Darwin Race, Programming

    Well it is 2:40 AM my time on July 22nd and I am not where I would like to be in the project.

    However, I do have something to show and will try to package some…

  • Darwin: Basic Dynamic Graphs

    July 22, 2008 in Darwin Race, Programming

    After pulling a little hair out due to problems with environment variables, my application is capable of drawing a line:

    Again, many libraries are helping me out here. They’re all well documented and…

  • Darwin: Urgency is a good motivator

    July 22, 2008 in Darwin Race, Programming

    I was fed up with RubyStack, so I decided to go from scratch and build up the development environment. Potentially this will allow me to deploy the apps in a single (large) zip file that…

Subscribe to feed

Powered by WordPress and Tarski