BrianPeek.com

A Compendium of Random Uselessness
in Search
  • Possessed PC Pranks for Halloween

    It's time for more Halloween article fun at Coding4Fun.  This year I developed two applications based on movies to scare your friends.  One displays the "cursed video" from The Ring at 50% transparency against the victim's display, while the other possesses Notepad to type "All work and no play makes Jack a dull boy" over and over again as in The Shining.

    Source and executables are provided.  Prank you friends and co-workers again this year!

    Posted Oct 29 2007, 09:14 PM by Brian Peek with 2 comment(s)
    Filed under: ,

  • Coding4Fun Article Ideas

    If you visit my site, you're likely here because of an article I wrote on Microsoft's Coding4Fun site.  Or perhaps someone doesn't like you and punished you with a link to my blog.  Assuming the former, I am continuing to write articles on topics that are fun and/or interesting for me, but I wonder what the readers find fun and/or interesting.  So, with that in mind, do you have ideas for a future article?

    If you have any ideas, I'd love to hear about them!  Please feel free to leave ideas as a comment on this article, a post in this general forum thread (easier for discussion), or contact me directly.  Coding4Fun is a Microsoft site that is geared toward development in .NET using the free Visual Studio Express products, so please keep that in mind when offering suggestions.

    I look forward to hearing what you readers would like to learn about.

    Thanks!

    Posted Oct 24 2007, 06:50 PM by Brian Peek with 2 comment(s)

  • Feedburner

    I've decided to try using Feedburner to handle the RSS goodness for this site.  While any existing links to the old RSS URL should 301 to the new address, you may wish to configure the new feed manually:  http://feeds.feedburner.com/BrianPeek .  Thanks!

    Posted Oct 22 2007, 07:44 PM by Brian Peek with no comments
    Filed under:

  • Wiimote Library Update

    Finally!  I have updated my Wiimote library with quite a few bug fixes and a few new features.  Here are the important links:

    Starting with this version (v1.2), the library is licensed under the Ms-PL.  This will likely change nothing for 99% of you, but be sure to read through the license before redistributing your applications compiled against this new version.

    The new version also includes a CHM help file for the entire API.  For now, the C4F article will remain the source for the basics, and the CHM will remain up-to-date with each release of the API itself.  Hopefully that will be able to provide some more detailed information than the base article, though the API itself isn't very complex.

    And finally, here's a list of things that changed since v1.1 .  Note that this list may not be 100% complete as I was a bit lax in keeping my changes noted.

    • Moved to CodePlex! (http://www.codeplex.com/WiimoteLib)
    • New license!  Please read the included license.txt/copyright.txt for more info.  This likely doesn't change anything for anyone, but at least now it's official.
    • AltWriteMethod deprecated.  Connect will now determine which write method to use at runtime.  It remains in case someone needs to override the write method for some reason. (gl.tter)
    • WiimoteState.LEDState is now filled with proper values. (identified by gl.tter/Leif902)
    • Extensions that are attached at startup are now recognized properly.  (identified by Will Pressly)
    • "Partially inserted" extensions now handled properly (Michael Dorman)
    • SetRumble method now does this via the SetLEDs method instead of using the status report to avoid a needless response from the Wiimote. (Michael Dorman)
    • IRState now contains RawMidX/Y and MidX/Y containing the value of the midpoint between the IR points.
    • Async reads now begin after the data parsing and event has been raised.  This should lead to non-overlapping events.
    • Updated the test application with the above changes and cleaned up the UI updates by using delegates a bit more efficiently.
    • Breaking Changes (may not be a complete list)
      • LEDs renamed to LEDState
      • GetBatteryLevel renamed to GetStatus
      • OnWiimoteChanged renamed to WiimoteChanged
      • OnWiimoteExtensionChanged renamed to WiimoteExtensionChanged
      • CalibrationInfo renamed to AccelCalibrationInfo
      • Event handlers renamed to WiimoteChangedEventHandler and WiimoteExtensionChangedEventHandler
    Posted Oct 22 2007, 06:58 AM by Brian Peek with 2 comment(s)
    Filed under: , ,

  • WiiEarth -- Wiimote Interface for Virtual Earth

    Long time no blog.

    My latest article is up at Coding4Fun.  This time I created a Wiimote interface for Virtual Earth 3D.  You can now drive around Virtual Earth like you're playing a first-person shooter on the Wii.  I think it's fun.  Hopefully you will too.  Here is a video of the demo in motion:

    As always, full source code provided.  Give it a try and let me know what you think!

    Additionally, I'll have a new version of my Wiimote library up in the next day or three.  Check back for more details...

    Posted Oct 18 2007, 06:40 AM by Brian Peek with 3 comment(s)

Copyright (C) 2008 Brian Peek
Powered by Community Server (Commercial Edition), by Telligent Systems