quote page 11 - Dave's Blog

Search
My timeline on Mastodon

YouTube - Bill Hicks - Corporate Shills

2008 Sep 5, 2:15"Do a commercial, there's a price on your head, everything you say is suspect..." Bill Hicks quotes about actors who do commercials mixed with music laid on top of video of famous actors in cheesy commericials makes for a surprisingly catchy video. (Lyrics NSFW)PermalinkCommentsmusic video humor commercial advertising bill-hicks

Tor.com / Science fiction and fantasy / Blog posts / The Singularity Problem and Non-Problem

2008 Jul 22, 1:43Just for this quote: "Since then, the Singularity has come to be an object of almost religious faith in some quarters. In The Cassini Division, Ken MacLeod has a character call it "the Rapture for nerds," and that's just how I see it."PermalinkCommentssingularity scifi blog tor quote

A jerk you'll want to buy rags from. - By Seth Stevenson - Slate Magazine

2008 Jun 19, 4:21Funny quotes + Billy Mays coverage! "He appears to be saying 'I am a carnie huckster, you know it and I know it, but that's OK because this product is that good.'"PermalinkCommentstv infomercial advertising article

Wikipedia Tools

2007 Sep 12, 6:54I'm visiting Wikipedia more and more recently but I always find myself reading the referenced webpages to get the full context of quotes and for more info. Basically I use Wikipedia as an introduction and a place to look for links. For times when I'm looking for opinions rather than facts I like to use Everything2. No need to check references there.

There's the much hyped WikiScanner tool which reports who has been making anonymous (thought to be anonymous at the time anyway) edits to Wikipedia. Its humorous and interesting in a few cases, but in general I think its stretching to say that because an IP address range is owned by a corporation and someone edited Wikipedia on an IP in that range that you can attribute that edit to that corporation. If I edited Wikipedia I'd probably do a bit of that during my lunch break, but that wouldn't mean that Microsoft wants the Wikipedia pages for Weird Al, Dave Risney, URIs, or whatever else I would edit on Wikipedia changed.

Also, via Everything Is Miscellaneous I found the tool Wiki Dashboard. Wiki Dashboard proxies Wikipedia and on each page shows a timeline view at the top with who made edits and when. Its nice to see a gentle curve down from an initial spike at the beginning for topics you don't imagine to be controversial. As the canonical test page for this service I looked up 'Elephant' the Wikipedia page Stephen Colbert suggested folks vandalize on his show on 2006 July 31st. If you look at the Wiki Dashboard Elephant page you can see a very large spike in edits on that date. That's all I need to see.

As a side note, for the link on Stephen Colbert suggesting folks vandalize Wikipedia I linked to a Wikipedia article. Is it inappropriate to provide info about Wikipedia being vandalized and thus incorrect via a link to a Wikipedia article?PermalinkCommentswikidashboard stephen-colbert wikality wikipedia wikiscanner colbert-report

Which which - Batch File Hackiness

2007 Aug 9, 5:41To satisfy my hands which have already learned to type *nix commands I like to install Win32 versions of common GNU utilities. Unfortunately, the which command is a rather literal port and requires you to enter the entire name of the command for which you're looking. That is 'which which' won't find itself but 'which which.exe' will. This makes this almost useless for me so I thought to write my own as a batch file. I had learned about a few goodies available in cmd.exe that I thought would make this an easy task. It turned out to be more difficult than I thought.

for /F "usebackq tokens=*" %%a in ( `"echo %PATH:;=& echo %"` ) do (
    for /F "usebackq tokens=*" %%b in ( `"echo %PATHEXT:;=& echo %"` ) do (
        if exist "%%a"\%1%%b (
            for  %%c in ( "%%a"\%1%%b ) do (
                echo %%~fc
            )
        )
    )
)
The environment variables PATH and PATHEXT hold the list of paths to search through to find commands, and the extensions of files that should be run as commands respectively. The 'for /F "usebackq tokens=*" %%a in (...) do (...)' runs the 'do' portion with %%a sequentially taking on the value of every line in the 'in' portion. That's nice, but PATH and PATHEXT don't have their elements on different lines and I don't know of a way to escape a newline character to appear in a batch file. In order to get the PATH and PATHEXT's elements onto different lines I used the %ENV:a=b% syntax which replaces occurrences of a with b in the value of ENV. I replaced the ';' delimiter with the text '& echo ' which means %PATHEXT:;=& echo% evaluates to something like "echo .COM& echo .EXE& echo .BAT& ...". I have to put the whole expression in double quotes in order to escape the '&' for appearing in the batch file. The usebackq and the backwards quotes means that the backquoted string should be replaced with the output of the execution of its content. So in that fashion I'm able to get each element of the env. variable onto new lines. The rest is pretty straight forward.

Also, it supports wildcards:
C:\Users\davris>which.cmd *hi*
C:\Windows\System32\GRAPHICS.COM
C:\Windows\System32\SearchIndexer.exe
D:\bin\which.exe
D:\bin\which.cmd
PermalinkCommentswhich cmd technical batch for

RFC 2045 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies

2007 Mar 8, 1:01Definition of Quoted-Printable an encoding used in MIME.PermalinkCommentsmime encoding quoted-printable ietf rfc reference standard

Religious Speech Sensor

2007 Feb 2, 2:41This tool searches text for biblical quotes or text suspected to be inspired by biblical quotes. That's sensor not censor.PermalinkCommentsperl religion software politics language tool propaganda download

RFC 4180 - Common Format and MIME Type for Comma-Separated Values (CSV) Files

2007 Jan 30, 2:41I was unaware of it but there's a standard for CSV files and it defines how to encode quotes, commas, and newlines inside of records.PermalinkCommentscsv specification rfc standards ietf mime comma-separated-value excel encoding
Older EntriesNewer Entries Creative Commons License Some rights reserved.