art page 16 - Dave's Blog

Search
My timeline on Mastodon

A look into the past « Flickr Blog

2010 Jan 28, 4:28Photos of locations in present day with aging photos of the same location overlaid. Cool idea, nice execution, and also does that lady have a pet rabbit on a leash?
PermalinkCommentsart photo flickr history

Jonathan Zittrain - Minds for Sale

2010 Jan 28, 4:00Jonathan Zittrain on Amazon's Mechanical Turk, artificial AI, and related topics.PermalinkCommentsjonathan-zittrain video amazon mechanical-turk mechanicalturk technical

Caterina.net: Participatory media and why I love it (and must defend it)

2010 Jan 21, 12:53"Of course the word "Amateur" comes from the French word "to love". Good enough reason for me to participate. And you?"PermalinkCommentsinternet culture net-culture web social blog

Caleb Larsen >> A Tool to Deceive and Slaughter

2010 Jan 21, 12:44Awesome: "It is a physical sculpture that is perptually attempting to auction itself on eBay."PermalinkCommentshumor art ebay internet web

Coding Horror: You're Reading The World's Most Dangerous Programming Blog

2010 Jan 20, 8:28GZip vs Deflate execution speeds. Deflate found to be much faster in particular cases and about the same in the rest.PermalinkCommentsgzip deflate performance technical http compression programming development blog

Color Changing Tiles | Apartment Therapy San Francisco

2010 Jan 20, 5:05Shower tiles that change based on heat. Neat!
PermalinkCommentsshower shower-tile wishlist house design

JeffRubinJeffRubin.com

2010 Jan 20, 3:26"I just found out they made a Ninja Turtles TV movie where the Turtles from the relatively dark 2003 cartoon meet the Turtles from the goofy 1987 cartoon"PermalinkCommentscartoon humor teenage-mutant-ninja-turtles movie tv

GameSetWatch - Special: The Best Of The 2009 Demoscene, Part 1 - Demos

2010 Jan 19, 2:21"In the latest of an occasional series of demoscene-related posts on GameSetWatch before, AteBit's Paul 'EvilPaul' Grenfell presents a multi-part retrospective on 2009's best demos - starting out with the top ten real-time PC demos of the year."
PermalinkCommentsdemo demoscene graphic game videogame video programming

50 First-class & New Downloadable Fonts For Professional Designs » DevSnippets

2010 Jan 19, 1:49Fonts are back in! "In this collection, we’d like to present an overview of 50 of the best Free, New and High-quality Modern, Handwritten, grunge, Cartoon style fonts for clean and professional designs in 2009."PermalinkCommentsfont typography text download design free

crayons « Weather Sealed

2010 Jan 18, 3:11Crayola's Law: "The number of colors doubles every 28 years!" With chart depicting Crayola colors over the years.PermalinkCommentsvisualization via:waxy history timeline crayon crayola color

A Peek Into Netflix Queues - NYTimes.com

2010 Jan 11, 2:24Heat map of rental popularity of particular movies from NetFlix in various cities.PermalinkCommentsvisualization movie netflix map nytimes flash information

View PDFs on Android

2010 Jan 10, 4:07

Irritatingly, my G1 won't show me PDFs so I've made the Google Docs PDF viewer which will load PDFs on the web up in Google Docs. Google Docs has the useful ability to display PDFs in web browsers without any Adobe software and works (mostly) on Android.

This was very easy to put together as an Android activity. First its necessary to register the application as handling PDFs from the web. This is done via the intent-filter declaration in the manifest:

   intent-filter
      action android:name="android.intent.action.VIEW"/
      data android:scheme="http" android:mimeType="application/pdf"/
      category android:name="android.intent.category.DEFAULT"/
      category android:name="android.intent.category.BROWSABLE"/
   /intent-filter
The action part says my activity will view PDFs, the data part says it accepts data with the PDF mime-type and with a URL that has an HTTP scheme. The browsable category is necessary to allow links from a browser to open this activity.

Second, the activity opens up the browser to Google Docs pointing to the PDF.

   Intent intent = new Intent();
   intent.setAction(getIntent().getAction());
   intent.setData(Uri.parse(
    "http://docs.google.com/gview?embedded=true&url=" + 
    percentEncodeForQuery(getIntent().getData().toString())));

   startActivity(intent);
This is very simple code to invoke a new intent browsing to a newly constructed URL for the PDF in Google Docs. That was easy.PermalinkCommentsgoogle docs technical g1 code activity programming android google pdf

The Lousy Livincompany – Stefan Marx

2010 Jan 9, 12:02Blog of artist Stefan Marx.PermalinkCommentsstefan-marx art blog design

Dosh Wallets as art

2010 Jan 9, 12:00PermalinkCommentswallet art design wishlist gift product australia

Two Gentlemen of Lebowski

2010 Jan 8, 1:53Two Gentlemen of Lebowski, by Adam Bertocci: "Thou err’st; no man calls me Lebowski. Yet thou art man; neither spirit damned nor wandering shadow, thou art solid flesh, man of woman born. Hear rightly, man!—for thou hast got the wrong man. I am the Knave, man; Knave in nature as in name."PermalinkCommentshumor via:ethan_t_hein shakespeare the-big-lebowski play parody english

[1001.0361] Self-Selected or Mandated, Open Access Increases Citation Impact for Higher Quality Research

2010 Jan 6, 2:17Not shocking that papers freely available on the Internet are cited more than those not freely available... "Articles whose authors make them Open Access (OA) by self-archiving them online are cited significantly more than articles accessible only to subscribers. ... not because of a quality bias from authors self-selecting what to make OA, but because of a quality advantage, from users self-selecting what to use and cite, freed by OA from the constraints of selective accessibility to subscribers only."PermalinkCommentsvia:bengoldacre science paper citation internet

If It's Hip, It's Here: The LOST Supper & Other TV Casts As The Famous Painting

2010 Jan 6, 2:11PermalinkCommentstv lost last-supper art

Kempa.com » Absolutely surreal excerpt from a New Yorker profile of Vampire Weekend

2010 Jan 6, 1:58Tom DeLonge tries to sell Vampire Weekend a website. "...this whole thing reads like a scene from a modern-day Spinal Tap. Weird music industry insanity crossed with internet startup hucksterism with a dash of awkward standoffishness. I love it. All of this is heightened by the fact that BOTH parties are being followed by separate documentary film crews, who are filming the insanity. How weird is that?"PermalinkCommentsinternet music vampire-weekend band documentary via:waxy

WPAD Server Fiddler Extension

2010 Jan 5, 7:42

I've made a WPAD server Fiddler extension and in a fit of creativity I've named it: WPAD Server Fiddler Extension.

Of course you know about Fiddler, Eric's awesome HTTP debugger tool, the HTTP proxy that lets you inspect, visualize and modify the HTTP traffic that flows through it. And on the subject you've probably definitely heard of WPAD, the Web Proxy Auto Discovery protocol that allows web browsers like IE to use DHCP or DNS to automatically discover HTTP proxies on their network. While working on a particularly nasty WPAD bug towards the end of IE8 I really wished I had a way to see the WPAD requests and responses and modify PAC responses in Fiddler. Well the wishes of me of the past are now fulfilled by present day me as this Fiddler extension will respond to WPAD DHCP requests telling those clients (by default) that Fiddler is their proxy.

When I started working on this project I didn't really understand how DHCP worked especially with respect to WPAD. I won't bore you with my misconceptions: it works by having your one DHCP server on your network respond to regular DHCP requests as well as WPAD DHCP requests. And Windows I've found runs a DHCP client service (you can start/stop it via Start|Run|'services.msc', scroll to DHCP Client or via the command line with "net start/stop 'DHCP Client'") that caches DHCP server responses making it just slightly more difficult to test and debug my extension. If a Windows app uses the DHCP client APIs to ask for the WPAD option, this service will send out a DHCP request and take the first DHCP server response it gets. That means that if you're on a network with a DHCP server, my extension will be racing to respond to the client. If the DHCP server wins then the client ignores the WPAD response from my extension.

Various documents and tools I found useful while working on this:

PermalinkCommentsproxy fiddler http technical debug wpad pac tool dhcp

curlies - Project Hosting on Google Code

2009 Dec 23, 9:58Results of a set of black box tests on various characters in various parts of URLs in various popular browsers.PermalinkCommentsvia:mnot url uri iri idn dns browser web technical
Older EntriesNewer Entries Creative Commons License Some rights reserved.