standard page 5 - Dave's Blog

Search
My timeline on Mastodon

An Exploration of Dynamic Documents

2007 Sep 4, 6:57Netscape's documentation on the non-standard HTTP refresh header.PermalinkCommentsrefresh http http-header netscape reference

I don't think that you understand! - Firefox3 Vulnerable by Design | GNUCITIZEN

2007 Aug 27, 11:26The article is a bit rambling but he makes an excellent point at least in separating the FireFox description of the feature from what it actually does.PermalinkCommentsfirefox security w3c standard via:swannman article

Non-ASCII characters in URI attribute values

2007 Aug 23, 6:17From the HTML standard, what to do if you find a URI with a non-US-ASCII character.PermalinkCommentsuri standard reference unicode utf8 encoding ascii iri

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

RSS 2.0 Specification (RSS 2.0 at Harvard Law)

2007 Apr 25, 1:43The RSS spec.PermalinkCommentsdocumentation quickreference rss reference specification standard xml

Behavioral Extensions to CSS

2007 Apr 17, 1:31The behaviors standard on the w3c.PermalinkCommentsbehavior css w3c extension browser standard

RFC 822 Standard for ARPA Internet Text Messages

2007 Apr 12, 12:40Early standard for date time formats for MIME messages.PermalinkCommentsstandard date time format internet mime rfc reference

XML Schema Part 2: Datatypes Second Edition

2007 Apr 12, 12:35XML schema describes ISO 8601 date time formats including duractions.PermalinkCommentsdate time xml schema w3c syntax reference standard

Date and Time Formats

2007 Apr 12, 12:27W3C standard on date and time formats.PermalinkCommentsdate time format w3c standard reference

RFC 2141 URN Syntax

2007 Apr 12, 10:55Uniform Resource Names (URNs) are intended to serve as persistent, location-independent, source identifiers. This document sets forward the canonical syntax for URNs.PermalinkCommentsurn uri rfc reference internet namespace standard

Delicious shortcut tag

2007 Apr 8, 3:05Shortcut Tag?
I just saw this on another user's delicious links: a link to ESV search that's tagged with, among other things, "shortcut:esv". When viewed on del.icio.us there's a text box that lets you search using that link. I hadn't seen this before, but it seems pretty cool and I'm surprised I hadn't seen it previously. A delicious post with such a tag ends up looking like the following: I tried searching for information on this and I've found other delicious users doing the same thing, but nothing about the tag itself. If you know any information especially official information from del.icio.us itself please post links in reply to this post. So without further preface here's what I've learned about the del.icio.us shortcut tag.

How-to
To get a search box in your del.icio.us links make a post that satisfies the following requirements:
  1. One of the tags must begin with the text 'shortcut:'. You can have more text following that in the tag if you like but it must at least start with 'shortcut:'.
  2. The 'url' you post must be a shortcut url rather than an actual URL. It must contain a '%s' with a lowercase 's'. When you enter text into the textbox on the del.icio.us page the text will replace the '%s' after being percent-encoded. For example 'http://www.google.com/search?hl=en&q=%s' is the shortcut url for Google and if you type 'foo bar' into the textbox the URI you will navigate to would be 'http://www.google.com/search?hl=en&q=foo%20bar'.


Complaints
This is neat but I do have a few complaints:
  1. The text from the textbox is percent-encoded before replacing the '%s'. Most sites use application/x-www-form-urlencoded which encodes spaces as '+' rather than '%20'.
  2. The shortcut url format seems to be taken from Mozilla's Firefox Custom Keywords. Its a shame it wasn't based on something more adaptable like the OpenSearch URL template syntax.
  3. A '%s' in the url means technically what you're submitting to del.icio.us isn't a URI as defined by the standard.
  4. Allowing text after 'shortcut:' means you can't look at all of a user's shortcut using this tag.


The next step is to create a tool to sync my IE7 search providers with my shortcuts saved to delicious...PermalinkCommentstechnical howto tagging tool tag delicious

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

draft-mayrhofer-geo-uri-00 - A Uniform Resource Identifier for Geographic Locations ('geo' URI)

2007 Mar 15, 10:36A URI scheme named 'geo' that names a geographical location.PermalinkCommentsgeo uri schema reference internet rfc standard ietf

Extensible Markup Language (XML) 1.0 (Third Edition)

2007 Mar 8, 1:02Defintion of the escape mechanism used in XML.PermalinkCommentsxml escape encoding reference w3c standard character-entity-reference

RFC 2045 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies

2007 Mar 8, 1:01Definition of Quoted-Printable an encoding used in MIME.PermalinkCommentsmime encoding quoted-printable ietf rfc reference standard

Software Development With Scott: Using Fiddler as an HTML Testing Tool

2007 Mar 5, 2:13Scott uses Fiddler to automatically inject a report on HTML errors into webpages as you visit them.PermalinkCommentsfiddler tool hack html standard software blog article

The 'text/html' Media Type (RFC 2854)

2007 Feb 27, 12:35The media type defintion for HTML. Includes defintion of its fragment.PermalinkCommentsuri html fragment rfc ietf reference standard mime

XPointer Framework

2007 Feb 22, 10:44The standard for URI fragments for identifying portions of an XML document. I've been looking for this...PermalinkCommentsxml xpointer w3c specification standards xpath uri fragment

URI Fragment Identifiers for the text/plain Media Type (draft-wilde-text-fragment-06)

2007 Feb 22, 10:15Draft document that would update text/plain to allow for fragments identifying portions of the document.PermalinkCommentsmime uri fragment text-plain rfc ietf reference standard

Functional Requirements for Uniform Resource Names (RFC 1737)

2007 Feb 21, 6:30Standard describing the requirements of URNs.PermalinkCommentsurn standard reference rfc ietf uri
Older EntriesNewer Entries Creative Commons License Some rights reserved.