rent page 6 - Dave's Blog

Search
My timeline on Mastodon

The Dancebulance - Gov Ball 2012 Lineup (by...

2012 Apr 18, 6:10


The Dancebulance - Gov Ball 2012 Lineup (by nathanjbarnatt)

Another Nathan Barnatt video with awesome music and dance moves.  Also enjoying the music video for third song in this video “Barbara Streisand” by Duck Sauce: http://www.youtube.com/watch?v=uu_zwdmz0hE

PermalinkCommentshumor music dance nathan-barnatt video

Domino’s Pizza Safe Sound - Menselijk motorgeluid voor...

2012 Apr 18, 5:00


Domino’s Pizza Safe Sound - Menselijk motorgeluid voor elektrische scooter (by DominosPizzaNL)

Can’t stop laughing.  Someone better get a promotion.

PermalinkCommentsvideo humor ad pizza electric-car

Madeon - Pop Culture (Dance Video) (by nathanjbarnatt)

2012 Apr 17, 12:21


Madeon - Pop Culture (Dance Video) (by nathanjbarnatt)

PermalinkCommentshumor dance video nathan-barnatt madeon

Primer - Full Movie (by mvjstrikesagain).  This movie is great. ...

2012 Apr 16, 1:46


Primer - Full Movie (by mvjstrikesagain). 

This movie is great.  There’s really no excuse now - Primer is on YouTube for free.  Best representation and exploration of time travel in a movie.

PermalinkCommentsmovie youtube primer time-travel scifi

Self-Driving Car Test: Steve Mahan (by Google)

2012 Mar 30, 2:38


Self-Driving Car Test: Steve Mahan (by Google)

PermalinkCommentsgoogle car self-driving-car blind video

Changing System Environment Variables on Windows

2012 Mar 16, 3:13

Is this really the right way to do this? Feels icky:

To programmatically add or modify system environment variables, add them to the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment registry key, then broadcast a WM_SETTINGCHANGE message with lParam set to the string “Environment”.

PermalinkCommentsprogramming techncial registry environment-variable windows

(via Tron-Style Light Dance Performance by Wrecking Crew...

2012 Mar 15, 5:21


(via Tron-Style Light Dance Performance by Wrecking Crew Orchestra)

PermalinkCommentstron dance video music dubstep

A Dad’s Plea To Developers Of iPad Apps For Children (smashingmagazine.com)

2012 Mar 12, 7:02

Set of issues run into by children using iPad apps.  Should be generally appropriate though:

Designing apps for children is extremely hard. Not only is quality, age-appropriate content hard to create, but designing the flow and interaction of these apps is made more difficult because designers must refrain from implementing advanced gestures, which would only confuse and frustrate kids (and, by extension, their parents). Yet all apps can and should adhere to certain basics. Hopefully, the four guidelines discussed here can become fixtures of all children’s apps.

PermalinkCommentstechnical ui ipad design children programming

Privacy through Obscurity

2012 Mar 9, 3:30

With Facebook changing its privacy policy and settings so frequently and just generally the huge amount of social sites out there, for many of us it is far too late to ensure our name doesn't show up with unfortunate results in web searches. Information is too easily copyable and archive-able to make removing these results a viable option, so clearly the solution is to create more data.

Create fake profiles on Facebook using your name but with a different photo, different date of birth, and different hometown. Create enough doppelgangers to add noise to the search results for your name. And have them share embarrassing stories on their blogs. The goal is to ensure that the din of your alternates drowns out anything embarrassing showing up for you.

Although it will look suspicious if you're the only name on Google with such chaff. So clearly you must also do this for your friends and family. Really you'll be doing them a favor.

PermalinkCommentstechnical facebook stupid internet privacy

(via Invisible Mercedes)

2012 Mar 5, 3:25


(via Invisible Mercedes)

PermalinkCommentscar invisibility video ad

The Blowholes - Summerbaby (Pete & Pete Reunion 2-24-12) (by...

2012 Mar 2, 4:48


The Blowholes - Summerbaby (Pete & Pete Reunion 2-24-12) (by matt00092)

Via http://www.avclub.com/articles/inside-the-adventures-of-pete-and-pete-reunion,70177/

PermalinkCommentsmusic pete-and-pete video

Nightlinez - with Special Guests “Pete & Pete”...

2012 Mar 2, 4:46


Nightlinez - with Special Guests “Pete & Pete” (by manboobscomedy)

PermalinkCommentshumor pete-and-pete tv video

A whole Richard Feynman Talks collection by Brian Norgard...

2012 Feb 29, 10:19


A whole Richard Feynman Talks collection by Brian Norgard contains wonderful videos like this.

PermalinkCommentsrichard-feynman video science

See http://boingboing.net/tag/TED2012 for Mark’s other TED...

2012 Feb 29, 10:17


See http://boingboing.net/tag/TED2012 for Mark’s other TED 2012 videos.

PermalinkCommentsted video boing-boing 3d-printer maker-bot

(via Music: Newswire: Hear two new songs that Radiohead debuted...

2012 Feb 28, 7:25


(via Music: Newswire: Hear two new songs that Radiohead debuted last night in Miami)

PermalinkCommentsradiohead video youtube music

Super Mario Bloco em Santa! (by only4crap) Also, great...

2012 Feb 28, 7:20


Super Mario Bloco em Santa! (by only4crap)

Also, great BoingBoing comment:

beemohCollapse

The slow pace of the initial march and the placards makes it look more like an Occupy World 1-1 protest march.

PermalinkCommentshumor video-game mario music video

Grace Hopper on Letterman! (by cistheta2007)

2012 Feb 27, 1:25


Grace Hopper on Letterman! (by cistheta2007)

PermalinkCommentssoftware history david-letterman grace-hopper video humor

(via Alcoholic Monkeys Stealing Cocktails from Caribbean...

2012 Feb 24, 5:26


(via Alcoholic Monkeys Stealing Cocktails from Caribbean Beach-Goers)

PermalinkCommentsvideo monkey

Web Worker Initialization Race

2012 Feb 24, 1:44

Elaborating on a previous brief post on the topic of Web Worker initialization race conditions, there's two important points to avoid a race condition when setting up a Worker:

  1. The parent starts the communication posting to the worker.
  2. The worker sets up its message handler in its first synchronous block of execution.

For example the following has no race becaues the spec guarentees that messages posted to a worker during its first synchronous block of execution will be queued and handled after that block. So the worker gets a chance to setup its onmessage handler. No race:

'parent.js':
var worker = new Worker();
worker.postMessage("initialize");

'worker.js':
onmessage = function(e) {
// ...
}

The following has a race because there's no guarentee that the parent's onmessage handler is setup before the worker executes postMessage. Race (violates 1):

'parent.js':
var worker = new Worker();
worker.onmessage = function(e) {
// ...
};

'worker.js':
postMessage("initialize");

The following has a race because the worker has no onmessage handler set in its first synchronous execution block and so the parent's postMessage may be sent before the worker sets its onmessage handler. Race (violates 2):

'parent.js':
var worker = new Worker();
worker.postMessage("initialize");

'worker.js':
setTimeout(
function() {
onmessage = function(e) {
// ...
}
},
0);
PermalinkCommentstechnical programming worker web-worker html script

URI Percent Encoding Ignorance Level 2 - There is no Unencoded URI

2012 Feb 20, 4:00

As a professional URI aficionado I deal with various levels of ignorance on URI percent-encoding (aka URI encoding, or URL escaping).

Getting into the more subtle levels of URI percent-encoding ignorance, folks try to apply their knowledge of percent-encoding to URIs as a whole producing the concepts escaped URIs and unescaped URIs. However there are no such things - URIs themselves aren't percent-encoded or decoded but rather contain characters that are percent-encoded or decoded. Applying percent-encoding or decoding to a URI as a whole produces a new and non-equivalent URI.

Instead of lingering on the incorrect concepts we'll just cover the correct ones: there's raw unencoded data, non-normal form URIs and normal form URIs. For example:

  1. http://example.com/%74%68%65%3F%70%61%74%68?query
  2. http://example.com/the%3Fpath?query
  3. "http", "example.com", "the?path", "query"

In the above (A) is not an 'encoded URI' but rather a non-normal form URI. The characters of 'the' and 'path' are percent-encoded but as unreserved characters specific in the RFC should not be encoded. In the normal form of the URI (B) the characters are decoded. But (B) is not a 'decoded URI' -- it still has an encoded '?' in it because that's a reserved character which by the RFC holds different meaning when appearing decoded versus encoded. Specifically in this case, it appears encoded which means it is data -- a literal '?' that appears as part of the path segment. This is as opposed to the decoded '?' that appears in the URI which is not part of the path but rather the delimiter to the query.

Usually when developers talk about decoding the URI what they really want is the raw data from the URI. The raw decoded data is (C) above. The only thing to note beyond what's covered already is that to obtain the decoded data one must parse the URI before percent decoding all percent-encoded octets.

Of course the exception here is when a URI is the raw data. In this case you must percent-encode the URI to have it appear in another URI. More on percent-encoding while constructing URIs later.

PermalinkCommentsurl encoding uri technical percent-encoding
Older EntriesNewer Entries Creative Commons License Some rights reserved.