ir page 28 - Dave's Blog

Search
My timeline on Mastodon

Steven Pinker on the myth of violence | Video on TED.com

2010 Feb 1, 8:39"Steven Pinker charts the decline of violence from Biblical times to the present, and argues that, though it may seem illogical and even obscene, given Iraq and Darfur, we are living in the most peaceful time in our species' existence." Working up towards Forever Peace?PermalinkCommentsvideo history violence culture ted steven-pinker game-theory

YouTube - Charlie Brooker - How To Report The News

2010 Jan 30, 2:26Similar to the "This is the title of a typical incendiary blog post" (http://faultline.org/index.php/site/item/incendiary/) except this is a typical news report. "...and this is a lighthouse keeper being beheaded by a lighthouse beam."PermalinkCommentsbbc humor video via:waxy satire journalism tv news

Thought Experiments and Design Principles

2010 Jan 29, 3:54

Raymond Chen has some thought experiments useful for discovering various kinds of stupidity in software design:

Tim Berners-Lee's principles of Web design includes my favorite: Test of Independent Invention. This has a thought experiment containing the construction of the MMM (Multi-Media Mesh) with MRIs (Media Resource Identifiers) and MMTP (Muli-Media Transport Protocol).

The Internet design principles (RFC 1958) includes the Robustness Principle: be strict when sending and tolerant when receiving. A good one, but applied too liberally can lead to interop issues. For instance, consider web browsers. Imagine one browser becomes so popular that web devs create web pages and just test out their pages in this popular browser. They don't ensure their pages conform to standards and accidentally end up depending on the manner in which this popular browser tolerantly accepts non-standard input. This non-standard behavior ends up as de facto standard and future updates to the standard essentially has had decisions made for it.

PermalinkCommentstechnical design principles software development

Bring On Firefox Mobile For Android | Android Phone Fans

2010 Jan 29, 10:16Talk of Firefox on Android. Sounds good to me!PermalinkCommentsmobile google android firefox web browser technical

Obama should back up Google with more than rhetoric: The US should challenge China’s “firewall” before the WTO. : First Amendment Coalition

2010 Jan 25, 5:25"...file a complaint with the World Trade Organization, contesting China’s internet censorship as a breach of the international trade rules to which China, as a WTO member, is subject. The US can argue that China’s “Great Firewall”–a system of filters and bottlenecks that effectively shutters the country within its own intranet–is an illegal restraint on international trade because it bars foreign companies from competing, via the internet, in the vast Chinese market."PermalinkCommentseconomics wto politics google china internet censorship us

How Flash Drives and Social Engineering can Compromise Networks

2010 Jan 22, 1:44"He seeded the customer's parking lot with USB flash drives, each of which had a Trojan horse installed on it. When the employees arrived for work in the morning, they were quite excited to find the free gadgets laying around the parking lot. Employees eagerly collected the USB drives and plugged them into the first computers they came across: their own workstations."PermalinkCommentsvia:ericlaw security usb windows social-engineering computer technical

One year after putting NFB films online – Here are the stats… – NFB.ca

2010 Jan 22, 1:23Canada's National Film Board gives the successful stats of its website on which you can watch their films.PermalinkCommentsfree video film canada movie internet statistics

Vampire Prevention Fail - FAIL Blog: Epic Fail Pictures and Videos of Owned, Pwnd and Fail Moments

2010 Jan 21, 4:25You cannot argue with his logic.PermalinkCommentshumor video garlic vampire news fail fail-blog

(Video) Playing Rock, Paper, Scissors Against A T-Shirt - PSFK

2010 Jan 20, 2:35Video of augmented reality t-shirt that plays rock paper scissors against you.PermalinkCommentsvideo rock-paper-scissors t-shirt augmented-reality

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

UVB-76 - Wikipedia, the free encyclopedia

2010 Jan 18, 3:24"UVB-76 is the callsign of a shortwave radio station that usually broadcasts on the frequency 4625 kHz (AM full carrier). It's known among radio listeners by the nickname The Buzzer. It features a short, monotonous buzz tone (help·info), repeating at a rate of approximately 25 tones per minute, for 24 hours per day. The station has been observed since around 1982.[1] In rare occasions, the buzzer signal is interrupted and a voice transmission in Russian takes place. Only four such events have been noted. There is much speculation; however, the actual purpose of this station remains unknown." Inspiration for Lost?PermalinkCommentsradio russia mystery

IANA — .ARPA Zone Management

2010 Jan 15, 3:19"The .arpa domain is the “Address and Routing Parameter Area” domain and is designated to be used exclusively for Internet-infrastructure purposes. It is administered by the IANA in cooperation with the Internet technical community under the guidance of the Internet Architecture Board. For the management guidelines and operational requirements of the .arpa domain, see RFC 3172."PermalinkCommentstechnical arpa dns domain zone internet rfc reference iana

First-Person Tetris

2010 Jan 14, 2:51Its Tetris on the Nintendo (sort of) from the perspective of the piece (sort of).PermalinkCommentshumor tetris game videogame nintendo flash

Google and China: the attacks and their aftermath

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.PermalinkCommentsgoogle china arstechnica news politics security censorship

Hulu - Labs: Captions Search

2010 Jan 11, 12:26Hulu lets you search through the textual captions of their showsPermalinkCommentsvideo tv hulu search caption accessibility

BustedTees - Helvetica

2010 Jan 11, 2:30A t-shirt that says 'Helvetica'. Set in Comic Sans.PermalinkCommentshumor tshirt font typography wishlist gift

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

(Pic) Disloyalty Card - PSFK

2010 Jan 8, 2:55Get a free coffee after trying 8 of their competitors.
PermalinkCommentscoffee card disloyalty-card economics

Code: Flickr Developer Blog » A Chinese puzzle: Unicode and EXIF metadata parsing

2010 Jan 8, 2:08Flickr dev talks image metadata the various forms which to prefer and how to guess at their character encodings.PermalinkCommentsunicode charset flickr photo image exif programming reference xmp technical

BLDGBLOG: Remnants of the Biosphere

2010 Jan 8, 2:05"Photographer Noah Sheldon got in touch the other week with a beautiful series of photos documenting the decrepit state of Biosphere 2, a semi-derelict bio-architectural experiment in the Arizona desert."
PermalinkCommentsphoto science images ecology biology arizona environment
Older EntriesNewer Entries Creative Commons License Some rights reserved.