list page 11 - Dave's Blog

Search
My timeline on Mastodon

Wiimote wiissues

2007 Jun 7, 5:29The other day I had the best idea for my Wii remote. Clearly I should use it to control the rotation of Tetris pieces in my N-dimensional Tetris game Polytope Tetris. One of the issues I described with Polytope Tetris is user input. Given a Wii remote the user could rotate a piece through 3 dimensions in a manner that's much easier to adjust to than particular keys on the keyboard.

Anyway, I did a little research into how this might work. I knew that the Wii remote used infrared for absolute positioning and Bluetooth for everything else (LEDs, speaker, accels.) I bought a Bluetooth adapter for my PC after realizing that none of my computers had one already. I used GlovePIE to ensure that my Wii remote could connect and successfully communicate with my computer. GlovePIE is actually pretty cool -- it provides a simple script layer over the Wii remote to control things like your mouse.

Since Polytope Tetris is in Java I looked for and found a Java library for operating with the Wii remote and a long forum thread discussing its use. I then read up on Bluetooth in Java. Apparently JSR 82 is the name of the standard that describes the API a Bluetooth stack should expose in Java. That is, to get Bluetooth working in Java one needs an additional package for Java that actually implements the Bluetooth Java API. This package would depend on the system so I suppose I can't fault Sun for not including it... Where to find such a package? I found a comparison list of implementations and tried the ones that support javax.bluetooth. None of them worked for me because none can address USB devices it seems or they cost money and I couldn't get the trial version working. I also tried bluesock (not listed on the previous list) which seemed promising and could produce an address for my Wii remote as a connected device but couldn't use that address.

And I thought that after I found the Wii remote Java library it would be easy... Oh well...PermalinkCommentsjava bluetooth wii technical remote jsr82 tetris polytopetetris wiimote

Amazon.com: Wish List

2007 Jun 6, 5:10PermalinkCommentssarah-moffatt amazon wishlist purchase birthday

Language Translation -- English, French, German, Spanish, Italian, Portuguese, Dutch, Russian, Greek, Norwegian, Chinese, Japanese & Korean

2007 Jun 6, 4:59A list of free web based language translation services including language guessing which I think is neat.PermalinkCommentsdictionary translation tool language reference free internet

IE7 Feed Display Update

2007 May 22, 3:22I've created an update to the IE7 feed display.

After working on my update to the XML source view I tried running my resourcelist program on other IE DLLs including ieframe. I found that one of the resources in ieframe is the XSLT used to turn an RSS feed into the IE7 feed display.

My first thought for this was that I could embed enclosures into the feed display. For instance, have controls for youtube.com videos or podcast audio files directly in the feed display. However, I found that I can't use object or embed tags that rely on ActiveX controls in the page or in frames in the feed display.

With that through I decided I could at least add support for some RSS extensions. Thanks to IE7's RSS platform which provides a normalized view of RSS feeds it was really easy to do this. I went to several popular RSS feeds and RSS feeds that I like and took a look at the source to see what extensions I might want to add support for.

For digg.com I added support for their RSS extension which includes digg count, and submitter name and icon. I added the digg count in a box on the right and tried to make it fit in stylistically. For the iTunes RSS extension I add the feed icon, feed author, and descriptions. I was surprised by how much of the podcasts content was missing from the feed view. I also added support for a few other misc things: the slash RSS extension's section and department, the feed description to the top of the feed display, and the atom author icon.

I wonder what other goodies lurk in IE's resources...PermalinkCommentsfeed res slashdot digg resource itunes technical browser ie rss extension

Roommate Wedding

2007 May 5, 10:05Carissa, Elijah, and KristenCarissa and Elijah are married! Sarah and I flew to Oakland the Friday of two weeks previous (April 27th) into the Oakland Airport. We were on the same flight as Jon which was fun but we weren't seated with him. Instead I was seated between Sarah and a middle aged lady who enjoyed talking to herself. It seemed a bonus if others such as myself listened but not a prerequisite for her speaking.

Church Front Sarah and I rented a car and we drove Jon first to Hayward where he was staying then we drove to our hotel in Dublin. The car we got turned out to be a PT Cruiser which was a surprise of course but actually wasn't that bad. The power windows are controlled by the center console rather than by a switch near the windows themselves which led to several embarrassing seconds when we later tried to pay the toll for the Bay Bridge.

Carissa & Elijah's Reception HallThe next day we went to Carissa's wedding which was lovely. In a small church with white roses Carissa's mom married Carissa and Elijah. Afterward we went to the reception at the Senior Center. "Senior Center" may conjure up images of rolley charis that smell like old people but it wasn't like that at all. It appears to be a community center funded by the Senior Condos next door so it was very nice.

Carissa is the first of the college roommates to get married! I guess I'm just having trouble imagining any of us getting married...PermalinkCommentswedding friend personal california nontechnical

In The Know: Do You Remember Life Before The Segway? | The Onion - America's Finest News Source

2007 May 2, 1:39From The Onion News Network: "In The Know: Do You Remember Life Before The Segway? Panelists discuss how the Segway personal transporter has revolutionized American life."PermalinkCommentshumor onion segway video

Commenting Wishlist

2007 May 1, 4:33In the past I've come up with ideas for software and find that the very idea is implemented soon after. So this time rather than getting down about it I'm going to make it work for me. I'll state what I want to use and hope that its magically implemented. In order to uniformly support comments on my website I want a web service with the following features: I'm going implement this now so no one go off and do it before me so that I can use it without having to do anything...PermalinkCommentstechnical homepage

Movie Times

2007 May 1, 3:48The Sunday of the weekend before last I had friends over and we watched Antitrust and Sneakers. Watching Antitrust makes me wonder if Bill Gates has seen it. Tim Robbins plays a character that is essentially based on him but so over the top that its ridiculous.

A few days before that I watched The Prestige with Sarah. I can't tell if I was or wasn't supposed to know what was going on until the end but it was cool anyway. I didn't know until later but David Bowie plays Tesla which is just awesome all the way around.

We also watched The Illusionist sometime before. Both movies are adaptations of novels with stage magicians set in turn of the century England. And I enjoyed both of them. I thought one would be a rushed attempt by one studio to compete with the another on the same ground but that doesn't seem to be the case. I've noticed this before with those asteroid disaster movies and the two movies about Truman Capote. It turns out Wikipedia has a huge list of competing similar movies.PermalinkCommentspersonal movies nontechnical

How can I Make my Offline Life Easier?

2007 Apr 17, 8:04A list of simple things you can do to make life easier.PermalinkCommentsadvice howto tips

Opera Speed Dial Code-less Hack for IE7

2007 Apr 17, 11:45Opera (the fifth most popular web browser) has a new feature named Speed Dial (video of it in action). Whenever you open a new tab you get your Speed Dial view which consists of nine thumbnails of user-settable pages. Its like a quick-favorites that appears every time you open a new tab. I think this is a neat idea and was considering how I might do that in IE7. The following is my hack-y and ugly but no coding required version of Speed Dial for IE7. I like my hack and I'm about to expound upon it in unnecessary detail so skip to the last paragraph if you're afraid of losing interest.

By default in IE7, whenever you open a new tab you navigate to 'about:Tabs'. As noted in wikipedia the result of navigation to 'about:Tabs' is determined by values in the registry. Specifically, values in the key in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs". Usually this fact is exploited by malicious software to hijack "about:blank" and show you ads but we can hijack it too in order to display our Speed Dial-ish page.

Of course since this is a code-less hack we've got limited options on what to change 'about:Tabs' to display. It should have the following requirements.
  1. Something local so that our 'about:Tabs' doesn't disappear when we go offline and so that its relatively fast.
  2. The user should be able to modify its content.
  3. Show links that the user uses.
  4. Show thumbnails of those links
  5. Provide easy to use drag and drop interaction and generally look cool.
Now, I use del.icio.us which allows me to store all of my favorites online and which provides RSS feeds that list my saved links. New in IE7 is an RSS platform that will, among other things, cache RSS feeds locally. So, by pointing about:Tabs to my del.icio.us feed 'http://del.icio.us/rss/sequelguy/quickreference' I get (1) from IE7's RSS support, and (2) and (3) from del.icio.us. Of course requirements (4) and (5) are missing but hey, I said this was ugly.

In summary, if you change the registry value "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs!Tabs" to point to an RSS feed of your favorites you can get a hack-y version of Opera's Speed Dial. I should note that although its referenced on pages such as wikipedia changing your 'about:Tabs' URI in the manner I describe is not documented and not supported by Microsoft. There could be all kinds of horrible repercussions from this change of which I'm not aware. Yeah, actually you know what? Forget I said any of this. Pretend I never wrote it...PermalinkCommentsbrowser technical hack

IANA | Permanent Message Header Field Registry

2007 Apr 2, 1:31The IANAs list of headers for HTTP and mail.PermalinkCommentsemail http iana internet reference registry rfc standard standards

All Hail Robot Nixon : Strk3 : CafePress.com

2007 Mar 24, 1:22A poster suggesting you vote for Robot Nixon (Futurama reference).PermalinkCommentshumor nixon robots poster product futurama wishlist purchase

SSRN-Privacy's Other Path: Recovering the Law of Confidentiality by Neil Richards, Daniel Solove

2007 Mar 20, 5:13From the abstract: "...Today, in contrast to the individualistic conception of privacy in American law, the English law of confidence recognizes and enforces expectations of trust within relationships. Richards and Solove explore how and why privacy law dPermalinkCommentslaw privacy confidentiality security legal history article

20 Things You Didn't Know About (DISCOVER Magazine)

2007 Mar 19, 1:1020 facts on various topics like skin, rats, and aliens.PermalinkCommentsblog education list monthly science trivia

Tag Hierarchy

2007 Mar 13, 12:24My project that given an XML list of items with tags produces an XML graph of those items and tags. I used this in one of my other projects Vizicious as well as on my homepage to produce hierarchy for my project links.PermalinkCommentsme projects taghierarchy personal java

Independent Gaming

2007 Feb 22, 7:13List of supposedly good independent games.PermalinkCommentsenglish free games videogames windows adventure

Emily Chang - eHub

2007 Feb 20, 10:47Emily Chang's list of new and interesting web services.PermalinkCommentsemily-chang ehub web2.0 blog ajax tools web webdesign webservices research social sharing search folksonomy development design tagging monthly

Amazon.com: Your Wish List

2007 Feb 20, 10:23My wishlist on AmazonPermalinkCommentsamazon wishlist list me

Feed Folder

2007 Jan 24, 8:51Get Firefox's Live Bookmarking feature in IE7 using my extension Feed Folder. Feed Folder lets you view your feeds as lists of links that auto update. Works great with del.icio.us feeds!PermalinkCommentsprojects ie ie7 browser extension extensions feed rss atom feed-folder free download me personal

101 Free Games 2007 - The Best Free Games on the Web! from 1UP.com

2007 Jan 22, 7:14List of free and notable games for Windows. Including such things as the Airport Security game and 'I'm O.K.' the game built for Jack Thompson.PermalinkCommentsgames free windows download videogames
Older EntriesNewer Entries Creative Commons License Some rights reserved.