dev page 13 - Dave's Blog

Search
My timeline on Mastodon

Major Carmakers and the Automotive X Prize - X Prize Cars

2008 Feb 11, 3:05Why major carmakers won't want to participate in the Automotive X Prize, a contest to develop a 100mpg car.PermalinkCommentsxprize contest blog post analysis car x-prize

LibraryThing Developers are Responsive

2008 Jan 31, 10:47

[Many books in large bookcase. Photo creator http://flickr.com/people/babblingdweeb/]I use my recently added books feed from LibraryThing, a site I've mentioned before where you track, review, recommend, and share your books, and I put the recently added books on my page. I thought it might be nice to include the book covers so I suggested adding book covers to RSS feeds in LibraryThings 'Recommend Site Improvements' group. The next day I had a response from the founder and lead developer Tim Spalding who had started implementing the feature. I noticed a few bugs, reported them on the same thread, and he fixed them soon after. Fantastic! It makes me want to upgrade to a paying account.

Incidentally, if you notice the Ghost in the Shell book appear multiple times in my RSS feed its due to the previously mentioned iterative bug fixes. The same item appeared multiple times slightly differently with each bug fix and your RSS aggregator may have picked them up as distinct items.

PermalinkCommentstim-spalding librarything rss homepage

making_coins [Zotero Developer Documentation]

2008 Jan 29, 7:28A standard URI scheme for describing books.PermalinkCommentsmetadata microformats openurl coins uri

Howto: iPhone Webclip icons

2008 Jan 16, 2:53These are as bad as favicons! Boo on URI space squatting.PermalinkCommentshowto apple iphone icon favicon webdesign web ipod development via:swannman

Stephen Toub : DVR-MS: Adventures in Closed Captioning

2008 Jan 14, 10:16Stephen Toub implements closed captioning searching of videos recorded with Windows Media Center through Windows Desktop Search as an IFilter. I wanted to do the same thing after reading the related Ars Technica article. Other interesting things in thePermalinkComments.net mce programming reference video caption dvr-ms howto ifilter development com software microsoft msdn blog article

Dev-Toast : Blog Archive : Uncrippling Bluetooth in Vista RTM

2007 Dec 28, 3:55PermalinkCommentsbluetooth hack howto vista

Language Log: The unkindness of strangers

2007 Dec 27, 3:36Mark Liberman suggests the paper on which recent articles like "Humor Develops From Aggression Caused By Male Hormones, Professor Says" was a joke. The paper is based on determitologist's notes on reactions to his unicycle riding.PermalinkCommentsarticle blog language language-log mark-liberman sam-shuster science unicycle humor bad-science

Developer's Guide - Google Chart API - Google Code

2007 Dec 7, 9:15A web API that produces charts and graphs.PermalinkCommentsvia:kris.kowal graph google api reference programming web

Half-Life 2: Episode Two Stats

2007 Nov 28, 2:09Valve shows off their cool visualizations of stats they generated from folks playing HL2E2 including heat maps of player deaths by level.PermalinkCommentsvisualization statistics hl2 game games valve development

Windows Media Center and Zune Integration Hack

2007 Nov 28, 1:23One of the new Zune features that had me the most excited was the claimed improved Windows Media Center integration which unfortunately turned out to simply mean support for the Win MCE video format (with an exception for HD). I wanted to be able to pick shows recorded by my Win MCE and have the Zune automatically sync up the latest episodes. However, with the improved podcast support in the Zune software one can easily create a ridiculous hack to accomplish this.

The new Zune software has podcast support which does everything I'd want to do with a Win MCE recorded TV series so the goal is to shoehorn a TV series into a Zune podcast. An overview of the steps: Create an XSLT that converts Win MCE data to a podcast, run the XSLT as a scheduled task every few hours per TV series, setup a Web server pointed at the resulting podcasts and the Win MCE Recorded TV directory, and subscribe to the resulting podcasts in the Zune software.
  1. Reading through the Win MCE data stored as an XML file in "C:\ProgramData\Microsoft\eHome\Recording\Recordings.xml" and the spec for podcasts I created an XSLT to convert a series from Win MCE data to a podcast.
  2. I added a new task to the Scheduled Tasks to run my XSLT using my xsltproc.js script. The task runs a handful of commands that look something like the following:

    C:\windows\system32\wscript.exe C:\users\dave\bin\xsltproc.js C:\Users\Dave\Documents\trunk\development\mce-zune\mce-to-podcast.xslt C:\ProgramData\Microsoft\eHome\Recording\Recordings.xml --param title "The Daily Show With Jon Stewart" --param max 4 --param baseURI "http://groucho/" --param thisRelURI "tds.xml" -o "D:\recorded tv\tds.xml"

    For each TV series I run a command like the above and that outputs a podcast for that series into my "D:\Recorded TV\" directory.
  3. Zune only allows http URIs for its podcasts so I installed a web server on my Win MCE server. I'm running Vista Ultimate so it was quick and easy for me to install IIS7 but any Web server will do. Then I pointed it at "D:\Recorded TV\".
  4. Once all the above was done I just subscribed to the resulting podcasts via my Web server and viola! Since I'm forced to use a Web server I can even run the Zune software on a machine other than my Win MCE server. You can see a screen-shot above of my Zune software showing my Colbert Report podcast.
PermalinkCommentstechnical xml mce hack windows media center zune windows xslt podcast

Vishu and Patent Cube

2007 Nov 28, 5:07Vishu, my ex-office-mate, has left Washington and Microsoft for California and Facebook. Vishu and I shared an office for a while and I really enjoyed it. We were able to distract one another from, and help each other with work. We'd often bounce ideas off of one another, work related or otherwise. For one such idea I recently received a Microsoft patent cube, a small marble cube inscribed with my and my invention's name. There are some photos of other people's patent cubes on flickr. Vishu would have received one for this idea too since we developed the idea and wrote the document about it together, but they wait a long time to send you the cube and he was gone a few weeks before they sent it (don't worry, he got the credit and other rewards though).

A week or two after I got my cube Vishu was visiting the Microsoft campus just before moving his family down with him to California. A bunch of us joined him for lunch that day and it sounds like he's enjoying his new job already. Have fun Vishu!PermalinkCommentsmicrosoft facebook vishu cube patent nontechnical

A "Test Suite" of Fair Use Examples for Service Providers and Content Owners | Electronic Frontier Foundation

2007 Nov 2, 1:29EFF has a fair use video test suite for developers of copyright violation detection software. They picked some good videos.PermalinkCommentsarchive copyright education law legal research video eff

Charts And Graphs: Modern Solutions | Developer's Toolbox | Smashing Magazine

2007 Oct 24, 10:12Without realizing it this was the page I was looking for three weeks ago.PermalinkCommentsvia:kris.kowal web chart graph ajax .net flash programming visualization statistics reference

WSDOT - Small Screen Info

2007 Oct 18, 4:54Traffic info for portable devices with small screens.PermalinkCommentstraffic washington seattle travel

[rdfweb-dev] XSLTs for FOAF, Spring v1.3.1 and plans for FOAF spec improvements

2007 Oct 9, 4:41Notes on using XSLT on FOAF XML files. Apparently its not super simple due to the various equivalent ways of representing the same RDF in XML.PermalinkCommentsxml foaf xslt xsl reference rdf semanticweb

The Evolution of a specification -- Commentary on Web architecture

2007 Oct 3, 10:21Tim Berners-Lee writes about principles for new technology in the context of the evolution of HTML and the development of namespaces and XML.PermalinkCommentsarchitecture article tim-berners-lee w3c internet history evolution html namespace xml web mmm multimedia-mesh humor test-of-independent-invention

Date Time Formats

2007 Sep 27, 2:17Starting on a new simple project I wanted to get the history of my Delicious links. Delicious has an export tool available via the settings section so I thought I'd try that. However, the links aren't exported in XML not even in XHTML but rather in HTML. Shocking. An example:
"Don't Tase Me, Bro!" (UF Student Tasered Remix)
Remix of the 'Don't tase me, bro!' guy getting tasered.At this point I'm already not going to use this file because its in HTML but I'm even more disgusted by those date time values. Raymond Chen of the Old New Thing posted about recognizing timestamps and timestamp sentinel values. From the first blog post and with the use of a calculator for base conversion one can tell that those are UNIX style timestamps counting the number of seconds since 1970.

It reminds me of my hatred for the MIME date time format I developed working on my webpage's server side parsing of atom and RSS. Atom is of course my favorite as Atom uses the Internet date time format described in the following documents. Here's an example of one 2007-09-27T020:50:00.000-08:00 On the other hand the evil and villainous RSS uses the MIME date time format now described in the more recent IETF MIME standard. Here's an example Thu, 27 Sep 2007 20:50:00 -0800
The Internet date time format has the advantage of being so easy to sort. An alphabetic sort with normal C-style collation rules of strings containing Internet date times will also sort them chronologically. This is not the case for the MIME date time due to the preceding day of the week and the spelled out month name. This also means that when producing these you have to figure out the day of the week and when parsing them you have to match month names rather than just parsing out numbers. Anyway now days if I see mention of a date time in a new proposed standard or spec I be sure to point out the numerous advantages of the Internet date time format.
PermalinkCommentsdate xml html feed time technical date-time code atom rss

EXSLT

2007 Sep 26, 11:57Free XSLT Extension libraries to support things like date/time conversions, string manipulation, etc.PermalinkCommentsxslt xsl api xpath xml library extension programming free development

GPS

2007 Sep 18, 2:16Sarah got me the Garmin StreetPilot c580 for my birthday last month. I really like this because its a small device that makes my life easier without me having to learn anything new. Just the way tech. should be.

The device gets current weather, traffic, and movie times. The information is sent via FM and received via the FM receiver in the cigarette lighter power adapter of the GPS device. MSN sends out this info and I get a free one year subscription. In addition to taking traffic info into account when planning my route it will estimate the number of minutes I'm going to spend in traffic. Just knowing how long I might be in traffic somehow makes it more bareable.

The other day while driving for dinner I got a call. I got my phone out of my pocket and answered it. I heard Jon's saying 'Hello' under my passenger seat. After a moment of confusion I remembered that the GPS device also acts as a bluetooth hands free phone adapter and that it was under my seat.PermalinkCommentsgps garmin personal traffic nontechnical

Extensible Markup Language (XML) 1.1 (Second Edition)

2007 Sep 13, 6:27XML StandardPermalinkCommentsxml quickreference reference development specification w3c documentation
Older EntriesNewer Entries Creative Commons License Some rights reserved.