2010 Jan 13, 6:35Ars Technica rounds up links on the recent Google threatening to stop censoring itself in China including quotes from Secretary of State Clinton, and the EFF and info on the hacks.
google china arstechnica news politics security censorship 2010 Jan 12, 7:10Info on writing apps to work with low rights mode in IE7 and IE8. Includes info on elevation policy for applications
technical programming ie ie7 ie8 security elevation msdn microsoft windows 2010 Jan 11, 12:26Hulu lets you search through the textual captions of their shows
video tv hulu search caption accessibility 2010 Jan 11, 2:30A t-shirt that says 'Helvetica'. Set in Comic Sans.
humor tshirt font typography wishlist gift 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.
google docs technical g1 code activity programming android google pdf 2010 Jan 10, 2:46How to sign and release Android apps.
google android java publishing technical signing 2010 Jan 8, 2:55Get a free coffee after trying 8 of their competitors.
coffee card disloyalty-card economics 2010 Jan 8, 2:08Flickr dev talks image metadata the various forms which to prefer and how to guess at their character encodings.
unicode charset flickr photo image exif programming reference xmp technical 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."
humor via:ethan_t_hein shakespeare the-big-lebowski play parody english 2010 Jan 6, 9:20"Amazon called me today to discuss my $2.9billion purchase"
humor amazon web internet economics money 2010 Jan 6, 9:16"NoTakeOut.com helps you plan, prep and cook an entire meal, not just one dish. We provide a complete menu, a shopping list and a game plan – basically, we help you organize to go from kitchen to
table with ease."
food blog recipe cooking 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."
via:bengoldacre science paper citation internet 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:
proxy fiddler http technical debug wpad pac tool dhcp 2010 Jan 5, 6:38Lovely historical infographics. For instance, check out the topographical map of NY city from 1874.
information infographics graph design history via:kottke 2010 Jan 5, 5:58Plays any YouTube video to the Yakety Sax song turning it into a Benny Hill sketch... Found via comments in http://www.boingboing.net/2010/01/05/police-car-chase-wit.html
humor video mashup youtube music 2010 Jan 5, 5:51"When you sign for a debit card at a retailer, the store pays your bank more than twice as much as when you enter a PIN -- a strategy Visa hatched decades ago."
money visa credit economics competition card 2010 Jan 5, 5:47Oppresive airport security brings people together! 'A traveling guitarist is becoming viral sensation after leading a group of passengers in a rousing round of the Beatles' classic "Hey Jude" while
stuck at Newark airport over the weekend.' Includes video
video humor airport security music beatles