Browse Source

Adding sixohthree-import from WordPress

pull/1/head
Adam Backstrom 6 years ago
parent
commit
41037c36b5
100 changed files with 2843 additions and 0 deletions
  1. 16
    0
      sixohthree-import/167-exabytes.md
  2. 21
    0
      sixohthree-import/2102.md
  3. 8
    0
      sixohthree-import/2107.md
  4. 9
    0
      sixohthree-import/2148.md
  5. 15
    0
      sixohthree-import/a-blog-is-born.md
  6. 36
    0
      sixohthree-import/a-lone-echo-post.md
  7. 40
    0
      sixohthree-import/a-vim-of-a-different-color.md
  8. 21
    0
      sixohthree-import/aborted.md
  9. 47
    0
      sixohthree-import/about.md
  10. 19
    0
      sixohthree-import/absence.md
  11. 22
    0
      sixohthree-import/acgt-if-you-please.md
  12. 20
    0
      sixohthree-import/activism-or-lack-thereof.md
  13. 21
    0
      sixohthree-import/adodb-mysql-and-transactions.md
  14. 16
    0
      sixohthree-import/ads-vs-content.md
  15. 32
    0
      sixohthree-import/ads.md
  16. 22
    0
      sixohthree-import/adsense.md
  17. 76
    0
      sixohthree-import/adventures-in-git-move-commits-from-master-to-new-branch.md
  18. 16
    0
      sixohthree-import/aids.md
  19. 19
    0
      sixohthree-import/alpha.md
  20. 72
    0
      sixohthree-import/alphabet.md
  21. 10
    0
      sixohthree-import/amongst-the-tall-trees.md
  22. 14
    0
      sixohthree-import/amtrak.md
  23. 19
    0
      sixohthree-import/anagram.md
  24. 16
    0
      sixohthree-import/ani-2.md
  25. 41
    0
      sixohthree-import/ani-3.md
  26. 47
    0
      sixohthree-import/ani-4.md
  27. 16
    0
      sixohthree-import/ani.md
  28. 151
    0
      sixohthree-import/arbitrary-siteurl-diff.md
  29. 5
    0
      sixohthree-import/archives.md
  30. 21
    0
      sixohthree-import/are.md
  31. 28
    0
      sixohthree-import/art.md
  32. 20
    0
      sixohthree-import/audio.md
  33. 5
    0
      sixohthree-import/auto-draft-2.md
  34. 5
    0
      sixohthree-import/auto-draft-3.md
  35. 5
    0
      sixohthree-import/auto-draft-4.md
  36. 5
    0
      sixohthree-import/auto-draft-5.md
  37. 5
    0
      sixohthree-import/auto-draft-6.md
  38. 5
    0
      sixohthree-import/auto-draft-7.md
  39. 5
    0
      sixohthree-import/auto-draft-8.md
  40. 5
    0
      sixohthree-import/auto-draft-9.md
  41. 5
    0
      sixohthree-import/auto-draft.md
  42. 14
    0
      sixohthree-import/automatic-ellipsis-with-css.md
  43. 23
    0
      sixohthree-import/babe.md
  44. 33
    0
      sixohthree-import/baby-food.md
  45. 15
    0
      sixohthree-import/baby.md
  46. 40
    0
      sixohthree-import/backup.md
  47. 47
    0
      sixohthree-import/backups.md
  48. 20
    0
      sixohthree-import/banshee.md
  49. 7
    0
      sixohthree-import/bargonaut.md
  50. 105
    0
      sixohthree-import/bash-completion.md
  51. 30
    0
      sixohthree-import/bash-tips-testing-arguments.md
  52. 56
    0
      sixohthree-import/batterylog.md
  53. 21
    0
      sixohthree-import/bc-2.md
  54. 9
    0
      sixohthree-import/bc.md
  55. 14
    0
      sixohthree-import/be-green.md
  56. 15
    0
      sixohthree-import/being-nice.md
  57. 48
    0
      sixohthree-import/better-local-dev-hostnames-with-dnsmasq.md
  58. 34
    0
      sixohthree-import/big.md
  59. 28
    0
      sixohthree-import/billboard.md
  60. 12
    0
      sixohthree-import/birthday.md
  61. 24
    0
      sixohthree-import/blackout.md
  62. 11
    0
      sixohthree-import/blast-from-the-past.md
  63. 128
    0
      sixohthree-import/blizzard-to-post-real-names-on-forums.md
  64. 52
    0
      sixohthree-import/blogs-and-spam-the-next-revolution.md
  65. 20
    0
      sixohthree-import/bookmarklet.md
  66. 14
    0
      sixohthree-import/bootleg.md
  67. 13
    0
      sixohthree-import/bootsie.md
  68. 47
    0
      sixohthree-import/boskone.md
  69. 9
    0
      sixohthree-import/burning.md
  70. 15
    0
      sixohthree-import/business.md
  71. 42
    0
      sixohthree-import/butcher.md
  72. 12
    0
      sixohthree-import/bwerp-server-move.md
  73. 19
    0
      sixohthree-import/caching-without-cruft-php.md
  74. 28
    0
      sixohthree-import/calculator.md
  75. 38
    0
      sixohthree-import/calendar-2.md
  76. 28
    0
      sixohthree-import/calendar.md
  77. 11
    0
      sixohthree-import/cataclysm-beta.md
  78. 22
    0
      sixohthree-import/cd.md
  79. 91
    0
      sixohthree-import/cdr.md
  80. 11
    0
      sixohthree-import/cf.md
  81. 85
    0
      sixohthree-import/change.md
  82. 9
    0
      sixohthree-import/changes.md
  83. 23
    0
      sixohthree-import/chevron-seven-locked.md
  84. 34
    0
      sixohthree-import/chroot-wrapper-sh.md
  85. 15
    0
      sixohthree-import/coding.md
  86. 33
    0
      sixohthree-import/color-2.md
  87. 9
    0
      sixohthree-import/color.md
  88. 14
    0
      sixohthree-import/conferencing-in-boston.md
  89. 36
    0
      sixohthree-import/control.md
  90. 22
    0
      sixohthree-import/convicted.md
  91. 15
    0
      sixohthree-import/cool-dude-in-shades.md
  92. 24
    0
      sixohthree-import/copy.md
  93. 31
    0
      sixohthree-import/cost.md
  94. 25
    0
      sixohthree-import/cron-output-in-google-reader.md
  95. 42
    0
      sixohthree-import/crushing.md
  96. 56
    0
      sixohthree-import/days.md
  97. 36
    0
      sixohthree-import/dbms-updates.md
  98. 46
    0
      sixohthree-import/deafness.md
  99. 101
    0
      sixohthree-import/death-knight-primer.md
  100. 0
    0
      sixohthree-import/defining-ini-entries-for-php-scripts.md

+ 16
- 0
sixohthree-import/167-exabytes.md View File

@@ -0,0 +1,16 @@
Title: 16.7 Exabytes
Date: 2009-01-15 13:26
Author: Adam
Category: Computers
Tags: Mac OS X, processes, sqldeveloper, top, virtual memory

Here's my currently-running Activity Monitor:

[][][![Activity Monitor][]][]

That process at the top of the list? [SQL Developer][].

[]: http://blogs.bwerp.net/712/167-exabytes/picture-1-2-2
[Activity Monitor]: /~adam/wp-uploads/2009/01/picture-1-300x235.png
[![Activity Monitor][]]: /~adam/wp-uploads/2009/01/picture-1.png
[SQL Developer]: http://www.oracle.com/technology/products/database/sql_developer/index.html

+ 21
- 0
sixohthree-import/2102.md View File

@@ -0,0 +1,21 @@
Title: Feedback Loop
Date: 2012-10-24 09:36
Author: Adam
Category: Web
Tags: nginx, social, ssl, Twitter

[William Chan][] blogs about [SSL record sizes in the wild][],
remarking, "My site sucks since I have no way to control this in nginx."

[@nginxorg][] links to the article, and drops William a hint for
tweaking his setup:

https://twitter.com/nginxorg/status/261071397613359104

<!--</p><p>SSL record sizes in the wild by William Chan insouciant.org/tech/ssl-recor… (spoiler: NGX_SSL_BUFSIZE is defined in src/event/ngx_event_openssl.h)</p><p>-->

You guys, I think the system works!

[William Chan]: https://plus.google.com/103382935642834907366/posts
[SSL record sizes in the wild]: https://insouciant.org/tech/ssl-record-sizes-in-the-wild/
[@nginxorg]: https://twitter.com/nginxorg

+ 8
- 0
sixohthree-import/2107.md View File

@@ -0,0 +1,8 @@
Title: Starstruck
Date: 2012-10-25 09:41
Author: Adam
Category: Personal
Tags: Brooklyn

Had my first starstruck moment in Brooklyn, standing next to Maggie
Gyllenhaal on the subway.

+ 9
- 0
sixohthree-import/2148.md View File

@@ -0,0 +1,9 @@
Title: Page Rank after SSL Migration
Date: 2012-11-20 10:19
Author: Adam
Category: Personal

I migrated my blog to SSL on Nov. 6, but setting a 301 redirect on the
non-SSL version has dropped me down below Twitter, Google+, GitHub,
Stack Overflow, and one or two others in Google. Geek frustration level
rising.

+ 15
- 0
sixohthree-import/a-blog-is-born.md View File

@@ -0,0 +1,15 @@
Title: A Blog is Born
Date: 2002-12-06 22:19
Author: Adam
Category: Blogging

After much deliberation, procrastination, and general supressing of my
own ego, I have finally decided to take the plunge and dive face-first
into the exciting world of [blogging][]. I have a fresh copy of [Movable
Type][], a fist full of links, and a brain just itching to be dumped out
over the web for all to see.

Let us wish for the best, eh?

[blogging]: http://www.everything2.org/index.pl?lastnode_id=389002&node_id=389001
[Movable Type]: http://www.movabletype.org/

+ 36
- 0
sixohthree-import/a-lone-echo-post.md View File

@@ -0,0 +1,36 @@
Title: A Lone Echo Post
Date: 2003-06-30 19:48
Author: Adam
Category: Web
Tags: atom, Echo, syndication

There has been quite a bit of talk lately regarding [Echo][], which aims
to replace RSS as the syndication de facto standard. This drive for a
replacement is due in no small part to the politics around RSS, and what
seems to be a general distaste for [Dave Winer][], father of RSS.

</p>

Really, I don't know all the details, and honestly, it doesn't really
make much of a difference to me at this point. I don't subscribe to any
RSS feeds, and the only reason they exist for my blog is because they're
part of the default Movable Type installation. But Dave [called for
support][] of RSS, so here's what he gets:

</p>

**If and when the Echo spec is finalized, I will support and publish
Echo-formatted feeds, and *only* Echo-formatted feeds.** If and when.

</p>

Echo is young. It has some powerful minds behind it, but there's still a
long road ahead. I have no doubts that a final product from this group
of people will be complete and well thought out. So, here's to the
developers. See you at the crossroads.

</p>

[Echo]: http://www.intertwingly.net/wiki/pie/
[Dave Winer]: http://www.scripting.com/
[called for support]: http://scriptingnews.userland.com/2003/06/29#When:4:25:49PM

+ 40
- 0
sixohthree-import/a-vim-of-a-different-color.md View File

@@ -0,0 +1,40 @@
Title: A Vim of a Different Color
Date: 2009-03-26 23:07
Author: Adam
Category: Linux, Mac OS X
Tags: iterm, screen, Vim

After one too many compilation errors due to a missing
quote/brace/bracket/etc., I finally enabled Vim syntax highlighting. The
rabbit hole:

1. `:syn on`. These colors suck. Look for themes.
2. 4 bit themes suck. Let's set up an 8 bit color terminal.
3. Leopard's Terminal.app [fails][], install iTerm 0.9.6.
4. iTerm works, but I use GNU screen all day. Recompile screen with
`--enable-colors256`.
5. screen wins, but doesn't play nice with the delete key in iTerm.
[Fix it][].
6. Compile Vim 7.2 for 8 bit support.
7. Get an [8 bit theme][]. `set t_Co=256` in `.vimrc`.
8. `" syntax highlight html files using the php highlighter`

</p>
`autocmd BufRead,BufNewFile *.html set filetype=php`

<p>
</code>

9. Install [FuzzyFinder][] for good measure now that we're out of Vim
6.3 territory.
10. Start saving seconds/minutes/hours of my life that before were
consumed by syntax errors.

</p>
[![vim-color][]][vim-color]

[fails]: http://www.vim.org/scripts/script.php?script_id=1349
[Fix it]: http://akgeeks.net/node/83
[8 bit theme]: http://www.vim.org/scripts/script.php?script_id=2175
[FuzzyFinder]: http://www.vim.org/scripts/script.php?script_id=1984
[vim-color]: /~adam/wp-uploads/2009/03/vim-color.png

+ 21
- 0
sixohthree-import/aborted.md View File

@@ -0,0 +1,21 @@
Title: IE "Operation Aborted" and jQuery
Date: 2008-07-09 07:58
Author: Adam
Category: Web
Tags: ie, ie7, internet explorer, internet explorer 7, JavaScript, jgrowl, jquery

[![Operation Aborted dialog][]][]I ran into a problem with Internet
Explorer 7's "[Operation Aborted][]" dialog yesterday. When displaying a
message via [jGrowl][], IE7 would display the contents leading up to my
`<script>` tag, then die with that error and redisplay a "friendly"
error page claiming, "Internet Explorer cannot display the webpage."

The previously mentioned IEBlog article immediately shined light on my
mistake: `$.jGrowl()` was attempting to modify `<body>` before the tag
had been closed. The solution: place my `$.jGrowl()` calls in
`$(document).ready()`.

[Operation Aborted dialog]: /~adam/2008/07/09/aborted.sm.jpg
[![Operation Aborted dialog][]]: /~adam/2008/07/09/aborted.jpg
[Operation Aborted]: http://blogs.msdn.com/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx
[jGrowl]: http://stanlemon.net/projects/jgrowl.html

+ 47
- 0
sixohthree-import/about.md View File

@@ -0,0 +1,47 @@
Title: About
Date: 2005-09-07 22:38
Author: Adam

This is the personal weblog of Adam Backstrom. It often acts as a
dumping ground for questions and answers regarding web development, PHP,
Mac OS X, the command line, and other relevant tech topics. As of
January 23, 2005, content on this blog is released under the [Creative
Commons][] [Attribution-ShareAlike 2.0][] license.

The blog is hosted by a "[Linode][] 768" virtual server. (The preceding
link includes my Linode referral code.)

A incomplete visual history of this blog's theme is [available for
posterity][]. In addition, the [theme files are available online][] via
gitweb. These files are implicitly licensed under the terms of the [GNU
Public License][], as they are a derivative work of WordPress.

On June 1, 2009, the blog's domain changed from blogs.bwerp.net to
sixohthree.com. "603" is the New Hampshire telephone area code.

About the Author
----------------

</p>
Adam is a father, husband, and web developer in central New Hampshire.
He frequently works with PHP, JavaScript + jQuery, and WordPress in a
GNU/Linux environment.

Accessibility
-------------

</p>
Every effort is made to keep this weblog semantic and accessible. If all
has gone according to plan, this website will scale from [modern
browsers][] to handheld devices to text-based browsers all the way back
to NSCA Mosaic 1.0. If you have any difficulty viewing this site, you
are free to [drop Adam a line][].

[Creative Commons]: http://creativecommons.org/
[Attribution-ShareAlike 2.0]: http://creativecommons.org/licenses/by-sa/2.0/
[Linode]: http://www.linode.com/?r=3b19dabb9ed30b096be4bfc83724d4e7f4c89c15
[available for posterity]: /theme-evolution "Theme Evolution"
[theme files are available online]: http://git.abackstrom.com/wp-sixohthree.git
[GNU Public License]: http://wordpress.org/about/gpl/
[modern browsers]: http://www.mozilla.org/products/firefox/
[drop Adam a line]: mailto:adam@sixohthree.com

+ 19
- 0
sixohthree-import/absence.md View File

@@ -0,0 +1,19 @@
Title: Accidental Absence
Date: 2005-03-27 19:38
Author: Adam
Category: Games

Sorry I've been away. I took a trip to the beach.

[![][]][]

Yes, I've been playing [Final Fantasy XI][] (FFXI) with extreme
frequency for the past six weeks. This game is nothing short of
immersive, with more to discover than I could ever possibly have time
for. Of course, I love it for that.

That's all, really. I won't bore you with the details... for now.

[]: /~adam/2005/03/27/beach_t.jpg
[![][]]: /~adam/2005/03/27/beach.jpg
[Final Fantasy XI]: http://www.playonline.com/ff11us/index.shtml

+ 22
- 0
sixohthree-import/acgt-if-you-please.md View File

@@ -0,0 +1,22 @@
Title: ACGT, If You Please
Date: 2003-11-15 01:28
Author: Adam
Category: Personal

I have this problem speaking my mind. I clam up, don't say anything that
might be remotely confrontational. Even sometimes, when I think it's
important, I still say nothing. Don't ruffle the feathers, don't stir up
those waters. I wonder where it comes from. I think, My dad seems like
this, did I get it from him? Is quiescence hereditary, a part of my
genes? Will I curse my kids with the same flaws, or am I just being
paranoid? Was the lack of social interaction growing up? Is it because
I'm a guy? (No, shouldn't stereotype.)

</p>

So since I can't tell people, I tell my blog instead. Everyone, and no
one in particular. A public apology that I'll probably want to push down
the stack as quickly as possible come morning.

</p>


+ 20
- 0
sixohthree-import/activism-or-lack-thereof.md View File

@@ -0,0 +1,20 @@
Title: Activism (or Lack Thereof)
Date: 2003-02-21 22:13
Author: Adam
Category: Politics

Between [Ani DiFranco][] and one of my current professors, I've been
hearing a lot about the terrible things done in the name of America.
I've known for a long time that the US isn't the bastion of freedom and
generosity that we're all led to believe. So much death and poverty
happens so we can live the life we live. We wear clothing made by
sweatshop labor; we eat food cultivated on land stolen from South
American natives; we wage war to avenge Daddy President and pick up a
little oil to boot. Hegemony, warmongering, multinational corporations..
What to do?

I want so badly to just stop it all, but it seems so big.

</p>

[Ani DiFranco]: http://www.righteousbabe.com/

+ 21
- 0
sixohthree-import/adodb-mysql-and-transactions.md View File

@@ -0,0 +1,21 @@
Title: ADOdb, MySQL, and Transactions
Date: 2008-07-23 11:03
Author: Adam
Category: Personal
Tags: ADOdb, PHP, Programming

![][]I was just bit by some assumptions I made with [ADOdb][], MySQL 5,
and transaction support. I've been using [Smart Transactions][] with
success on other systems, but during my current project I noticed the
SQL commands were being processed without respecting my `FailTrans()`
call.

Turns out I was using a storage engine that did not support
transactions. While InnoDB is ACID-compliant, [MyISAM has no support for
transactions][]. Whoops. A few `ALTER TABLE`s later and I'm back in
business.

[]: /~adam/wp-uploads/2008/07/myisam.png
[ADOdb]: http://adodb.sourceforge.net/
[Smart Transactions]: http://phplens.com/adodb/tutorial.smart.transactions.html
[MyISAM has no support for transactions]: http://dev.mysql.com/doc/refman/5.0/en/ansi-diff-transactions.html

+ 16
- 0
sixohthree-import/ads-vs-content.md View File

@@ -0,0 +1,16 @@
Title: Ads vs. Content
Date: 2010-05-04 11:00
Author: Adam
Category: Web
Tags: Advertising, AdWords, screenshot

[![][]][]

Red highlights added by me. I wonder if Google has policies regarding
this type of ad layout. I think having this poor a ratio of content to
ads dilutes all the advertising. Whatever the case, I hate wading
through this many ads in search of the article.

[]: http://sixohthree.com/files/2010/05/hubpages-google-ads-1024x736.jpg
"hubpages-google-ads"
[![][]]: http://sixohthree.com/files/2010/05/hubpages-google-ads.jpg

+ 32
- 0
sixohthree-import/ads.md View File

@@ -0,0 +1,32 @@
Title: Targeted Ads in RSS
Date: 2005-01-27 08:19
Author: Adam
Category: Web
Tags: syndication

[Ars Technica][] has started embedding advertisements in their [RSS
feed][]. I've seen this done in bootleg feeds, where the feed maintainer
includes advertisements from the original publisher's site, but the Ars
method is a bit cleaner and not done by a third party. The ad is
actually an image, not any fancy HTML.

</p>

They could work on their targeting, though:

</p>

![Advertisement for breast form double-sided tape, embedded in the Ars
Technica RSS feed.][]

</p>

<span style="font-weight:bold">Update:</span> As of 10:00 PM EST, 27
January, I no longer see the ads in the Ars feed inside Bloglines.

</p>

[Ars Technica]: http://arstechnica.com/
[RSS feed]: http://arstechnica.com/news/rss0.94.rdf
[Advertisement for breast form double-sided tape, embedded in the Ars
Technica RSS feed.]: http://blogs.bwerp.net/~adam/2005/01/27/shuttle-ad.png

+ 22
- 0
sixohthree-import/adsense.md View File

@@ -0,0 +1,22 @@
Title: The Downside of AdSense
Date: 2004-09-16 12:49
Author: Adam
Category: Personal

[Time.com][] covered New Jersey Governor James McGreevey's confession of
an affair he had with a man he appointed to office. Check the "sponsored
links" at the bottom of the page:

</p>

[![Screenshot of Time.com][]][]

</p>

If I were Time, I would be slightly embarrassed.

</p>

[Time.com]: http://www.time.com/
[Screenshot of Time.com]: http://blogs.bwerp.net/~adam/2004/09/16/t_gay.jpg
[![Screenshot of Time.com][]]: http://blogs.bwerp.net/~adam/2004/09/16/gay.jpg

+ 76
- 0
sixohthree-import/adventures-in-git-move-commits-from-master-to-new-branch.md View File

@@ -0,0 +1,76 @@
Title: Adventures in Git: Move Commits from Master to New Branch
Date: 2012-12-01 13:43
Author: Adam
Category: Computers
Tags: Adventures in Git, Git

The other night, I sat down with Git to solve what turned out to be a
very simple problem: what if you've started making commits to your
master branch, but want to move your work into a feature branch? After
staring at `git log` for a few minutes, I had a forehead-slapping
moment. Here's one way to move recent commits into a branch:

Start with a clean master, based off origin/master:

[git-commits]

{ hash: 'a' },

{ hash: 'b', },

{ hash: 'c', }

[/git-commits]

</p>

Make a few commits of your own:

[git-commits]

{ hash: 'a' },

{ hash: 'b', },

{ hash: 'c', },

{ hash: 'd', },

{ hash: 'e', },

{ hash: 'f', }

[/git-commits]

</p>

Now, let's move these commits to a branch. Simply create a new branch at
the current commit, then reset master back to the state of
origin/master.

<p>
(master)$ git branch my-feature(master)$ git reset --hard origin/master

</p>

That's all. No `git rebase`, no `git cherry-pick`, just make your branch
and reset master.

[git-commits]

{ hash: 'a' },

{ hash: 'b', },

{ hash: 'c', },

{ hash: 'd', branch: 'feature' },

{ hash: 'e', branch: 'feature' },

{ hash: 'f', branch: 'feature' }

[/git-commits]

</p>


+ 16
- 0
sixohthree-import/aids.md View File

@@ -0,0 +1,16 @@
Title: Gere on AIDS
Date: 2004-07-12 10:45
Author: Adam
Category: World

CBS News: [AIDS Delegates Differ On Condoms][]:

</p>

"The \$200-300 billion spent in Iraq probably could have eradicated
[AIDS]," actor Richard Gere -- one of several celebrities at the meeting
-- told a panel discussion.

</p>

[AIDS Delegates Differ On Condoms]: http://www.cbsnews.com/stories/2004/07/12/health/main628799.shtml

+ 19
- 0
sixohthree-import/alpha.md View File

@@ -0,0 +1,19 @@
Title: Alpha Five Updates: Syndicated Feed
Date: 2007-08-30 15:48
Author: Adam
Category: Computers
Tags: Alpha Five

I've created a cron job to scrape the [Alpha Software][] website and
generate [an Atom feed][] for new releases. It's updated every six hours
and I can confirm that it worked for the most recent update. (1759\_3105
showed up in [Google Reader][] the next morning.)

The feed is generated using [Django][]'s django.utils.feedgenerator
class. The code [is online][].

[Alpha Software]: http://www.alphasoftware.com/
[an Atom feed]: http://static.bwerp.net/~adam/alpha-updates/update.xml
[Google Reader]: http://www.google.com/reader/
[Django]: http://www.djangoproject.com/
[is online]: http://static.bwerp.net/~adam/alpha-updates/generate.py.txt

+ 72
- 0
sixohthree-import/alphabet.md View File

@@ -0,0 +1,72 @@
Title: Internet Alphabet
Date: 2004-12-29 22:21
Author: Adam
Category: Personal

Hey, I was curious:

</p>

1. [http://adbusters.org/metas/corpo/blackspotsneaker/][]
2. [http://www.bwerp.net/links/][]
3. [http://www.capitalone.com/indexa.php][]
4. [http://dev.jenniferkunz.com/][]
5. [http://www.ebay.com/][]
6. [http://forum.skype.com/viewforum.php?f=19][]
7. [https://gmail.google.com/gmail][]
8. [http://hotmail.com/][]
9. [http://www.imdb.com/find?q=resident%20evil][]
10. [http://joannsjottings.blogspot.com/][]
11. [http://kernel.com/][]
12. [http://www.lighthouseyoga.com/][]
13. [http://mamamusings.net/][]
14. [https://www.netteller.com/pemibank/default.cfm][]
15. [http://www.oldradio.com/archives/warstories/640.htm][]
16. [https://panel.dreamhost.com/][]
17. [http://www.qwantz.com/][]
18. [http://riaaradar.com/][]
19. [http://www.scarygoround.com/][]
20. [http://www.thewotch.com/][]
21. [http://www.unclefred.com/][]
22. [http://www.videohelp.com/][]
23. [http://wiki.bwerp.net/][]
24. [http://www.zdnet.com/][]

</p>

Others: [Sheri][]'s and [Liz][]'s. Curiously absent from my list: both
"X" and "Y."

</p>

Number of sentences in this post: 5. Percentage of these sentences that
contain a colon: 100.

</p>

[http://adbusters.org/metas/corpo/blackspotsneaker/]: http://adbusters.org/metas/corpo/blackspotsneaker/
[http://www.bwerp.net/links/]: http://www.bwerp.net/links/
[http://www.capitalone.com/indexa.php]: http://www.capitalone.com/indexa.php
[http://dev.jenniferkunz.com/]: http://dev.jenniferkunz.com/
[http://www.ebay.com/]: http://www.ebay.com/
[http://forum.skype.com/viewforum.php?f=19]: http://forum.skype.com/viewforum.php?f=19
[https://gmail.google.com/gmail]: https://gmail.google.com/gmail
[http://hotmail.com/]: http://hotmail.com/
[http://www.imdb.com/find?q=resident%20evil]: http://www.imdb.com/find?q=resident%20evil
[http://joannsjottings.blogspot.com/]: http://joannsjottings.blogspot.com/
[http://kernel.com/]: http://kernel.com/
[http://www.lighthouseyoga.com/]: http://www.lighthouseyoga.com/
[http://mamamusings.net/]: http://mamamusings.net/
[https://www.netteller.com/pemibank/default.cfm]: https://www.netteller.com/pemibank/default.cfm
[http://www.oldradio.com/archives/warstories/640.htm]: http://www.oldradio.com/archives/warstories/640.htm
[https://panel.dreamhost.com/]: https://panel.dreamhost.com/
[http://www.qwantz.com/]: http://www.qwantz.com/
[http://riaaradar.com/]: http://riaaradar.com/
[http://www.scarygoround.com/]: http://www.scarygoround.com/
[http://www.thewotch.com/]: http://www.thewotch.com/
[http://www.unclefred.com/]: http://www.unclefred.com/
[http://www.videohelp.com/]: http://www.videohelp.com/dvdwriters.php?DVDnameid=40&Search=Search&list=2
[http://wiki.bwerp.net/]: http://wiki.bwerp.net/
[http://www.zdnet.com/]: http://www.zdnet.com/
[Sheri]: http://www.frognamedminerva.com/wordpress/index.php?p=21
[Liz]: http://mamamusings.net/archives/2004/12/22/my_online_life_in_26_25_links.php

+ 10
- 0
sixohthree-import/amongst-the-tall-trees.md View File

@@ -0,0 +1,10 @@
Title: Amongst the Tall Trees
Date: 2012-03-30 19:53
Author: Adam
Category: Photography

[![][]][]

[]: http://mu.sixohthree.com/sixohthree/files/2012/03/DSC_6496-1024x680.jpg
"Amongst the Tall Trees"
[![][]]: http://mu.sixohthree.com/sixohthree/files/2012/03/DSC_6496.jpg

+ 14
- 0
sixohthree-import/amtrak.md View File

@@ -0,0 +1,14 @@
Title: Pat Robertson & Amtrak?
Date: 2005-08-26 09:30
Author: Adam
Category: Politics

According to the [Wikipedia][] article on [Pat Robertson][], part of his
1988 campaign for the Republican nomination included the desire to,
"eliminate Conrail and Amtrak." Does anyone have any more details about
this platform?

</p>

[Wikipedia]: http://en.wikipedia.org/
[Pat Robertson]: http://en.wikipedia.org/wiki/Pat_Robertson

+ 19
- 0
sixohthree-import/anagram.md View File

@@ -0,0 +1,19 @@
Title: JavaScript Anagram Helper
Date: 2005-09-27 00:37
Author: Adam
Category: Web

Brought to you by JavaScript and the DOM, here is my first attempt at an
[Anagram Helper][]. This is the product of a late-night hack session; I
threw it together in about 90 minutes of solid coding. It's only tested
in Firefox 1.5b1, but it does the trick.

In summary: give it a sentence, and it will generate a character pool.
Type into the bottom text box to pull letters from that pool, building
an anagram of the first sentence.

Deletions from the third box work. Copying and pasting most likely does
not. Neither does deleting a selection. I might fix it, I might not. For
now, I need rest.

[Anagram Helper]: http://static.bwerp.net/~adam/2005/09/26/anagram.html

+ 16
- 0
sixohthree-import/ani-2.md View File

@@ -0,0 +1,16 @@
Title: Ani Fall Tour '04
Date: 2004-11-09 21:08
Author: Adam
Category: Music, Personal

Remember that Ani DiFranco tour I [talked about][]? I've got my tickets,
do you have yours?

[![Two tickets to Ani DiFranco in Concord, NH.][]][]

I may yet make it to the Rochester, NY show, to boot. Keep 'em crossed
for me.

[talked about]: /archives/2004/09/15/babe
[Two tickets to Ani DiFranco in Concord, NH.]: /~adam/2004/11/09/t_tickets.jpg
[![Two tickets to Ani DiFranco in Concord, NH.][]]: /~adam/2004/11/09/tickets.jpg

+ 41
- 0
sixohthree-import/ani-3.md View File

@@ -0,0 +1,41 @@
Title: Ani DiFranco in Concord
Date: 2006-11-09 12:06
Author: Adam
Category: Personal

Tonight, [Ani Difranco][], [Capitol Center for the Arts][], Concord, NH.
This time I will not miss [the show][].

This will be my fifth Ani show, after once in Rochester, NY, twice in
Buffalo, NY, and once at Meadowbrook in Gilford, NH.

**Update:** Good show. I could have done without that girl yelling, "I
love you Ani," at every pause in the music, but I did my best to block
her out. Setlist:

1. God's Country (Puddle Dive, 1993)
2. Manhole (Knuckle Down, 2005)
3. Educated Guess (Educated Guess, 2004)
4. Half-Assed (Reprieve, 2006)
5. Lag Time (Knuckle Down, 2005)
6. Napoleon (Dilate, 1996)
7. Decree (Reprieve, 2006)
8. Paradigm (Knuckle Down, 2005)
9. 78% H20 (Reprieve, 2006)
10. Swandive (Little Plastic Castle, 1998)
11. Joyful Girl (Dilate, 1996)
12. Rain Check (Educated Guess, 2004)
13. Grand Canyon (Educated Guess, 2004)
14. Alla This (Unreleased)
15. In the Way (Evolve 2003)
16. Gravel (Little Plastic Castle, 1998)
17. Hypnotized (Reprieve, 2006)

</p>

Three seconds into Hypnotized, some girl yelled, "Play some good shit."
Grr.

[Ani Difranco]: http://www.righteousbabe.com/ani/
[Capitol Center for the Arts]: http://www.ccanh.com/
[the show]: /archives/2004/11/09/ani

+ 47
- 0
sixohthree-import/ani-4.md View File

@@ -0,0 +1,47 @@
Title: Ani in Concord 2/28/2008
Date: 2008-02-29 10:26
Author: Adam
Category: Music
Tags: ani, anidifranco, concert, Music

Last night I saw my second Ani DiFranco concert at the Capitol Center
for the Arts in Concord, NH. The concert was originally scheduled for
January 21, but was delayed due to Ani's laryngitis. (She likened her
own vocal chords to "slimy, post-mortem pussy," while we're on the
subject.) Ani was joined by Allison Miller on drums, and Todd Sickafoose
on bass. Todd never fails to impress, and Allison was just amazing.

We were extremely fortunate to have sixth row seats in orchestra right.
There was one talker/singer directly behind me who thought she was
having a conversation with Ani, but other than that the crowd was pretty
good. Hell is still other people. Set list follows.

1. God's Country
2. 78% H^2^0
3. Napoleon
4. Present/Infant <!-- "glaring into mirrors" -->
5. Studying Stones
6. Akimbo/Manhole
7. Modulation
8. Red Letter Year
<!-- Katrina song. "New year's." "unbroken line." -->
9. Coming Up
10. The Atom <!-- "glory of the atom" -->
11. Good Luck <!-- "alarm clock still drunk and high" -->
12. Fire Door
13. Way Tight
<!-- "plenty wrong with me," "birds and the bees," "full moon" -->
14. Smiling Underneath <!-- "don't mind standing in line" -->
15. Both Hands
16. To The Teeth
17. Shameless
18. Gravel (encore)
19. 32 Flavors (encore)

</p>
Also, I need to check out [Over The Rhine][]'s studio stuff. Their
opening set was good.

And for the search engines: February 28, 2008.

[Over The Rhine]: http://overtherhine.com/

+ 16
- 0
sixohthree-import/ani.md View File

@@ -0,0 +1,16 @@
Title: New CD
Date: 2004-01-15 20:47
Author: Adam
Category: Music

[![Ani DiFranco - Educated Guess][]][]

</p>

[Ani DiFranco - *Educated Guess*][![Ani DiFranco - Educated Guess][]].
Be jealous.

</p>

[Ani DiFranco - Educated Guess]: /~adam/2004/01/15/ani_difranco-educated_guess.jpg
[![Ani DiFranco - Educated Guess][]]: http://www.righteousbabe.com/ani/educated_guess/

+ 151
- 0
sixohthree-import/arbitrary-siteurl-diff.md View File

@@ -0,0 +1,151 @@
Title: arbitrary-siteurl.diff
Date: 2011-09-27 22:56
Author: Adam

Index: domain\_mapping.php

===================================================================

--- domain\_mapping.php (revision 9545)

+++ domain\_mapping.php (revision 9553)

@@ -515,27 +515,37 @@

}

-function domain\_mapping\_siteurl( \$setting ) {

- global \$wpdb, \$current\_blog;

+function domain\_mapping\_siteurl( \$setting, \$blog\_id = 0 ) {

+ global \$wpdb, \$current\_blog, \$switched;

// To reduce the number of database queries, save the results the first
time we encounter each blog ID.

static \$return\_url = array();

+ if( \$blog\_id == 0 ) {

+ \$blog\_id = \$current\_blog-\>blog\_id;

+ }

+

\$wpdb-\>dmtable = \$wpdb-\>base\_prefix . 'domain\_mapping';

- if ( !isset( \$return\_url[ \$wpdb-\>blogid ] ) ) {

+ if ( !isset( \$return\_url[ \$blog\_id ] ) ) {

\$s = \$wpdb-\>suppress\_errors();

- if ( get\_site\_option( 'dm\_no\_primary\_domain' ) == 1 ) {

- \$domain = \$wpdb-\>get\_var( "SELECT domain FROM {\$wpdb-\>dmtable}
WHERE blog\_id = '{\$wpdb-\>blogid}' AND domain = '" . \$wpdb-\>escape(
\$\_SERVER[ 'HTTP\_HOST' ] ) . "' LIMIT 1" );

+ if ( get\_site\_option( \$blog\_id, 'dm\_no\_primary\_domain' ) == 1 )
{

+ if ( \$switched === false ) {

+ // Only filter using HTTP\_HOST if we haven't done switch\_to\_blog()

+ \$domain = \$wpdb-\>get\_var( "SELECT domain FROM {\$wpdb-\>dmtable}
WHERE blog\_id = '{\$blog\_id}' AND domain = '" . \$wpdb-\>escape(
\$\_SERVER[ 'HTTP\_HOST' ] ) . "' LIMIT 1" );

+ } else {

+ \$domain = \$wpdb-\>get\_var( "SELECT domain FROM {\$wpdb-\>dmtable}
WHERE blog\_id = '{\$blog\_id}' LIMIT 1" );

+ }

+

if ( null == \$domain ) {

- \$return\_url[ \$wpdb-\>blogid ] = untrailingslashit(
get\_original\_url( "siteurl" ) );

- return \$return\_url[ \$wpdb-\>blogid ];

+ \$return\_url[ \$blog\_id ] = untrailingslashit( get\_original\_url(
"siteurl", \$blog\_id ) );

+ return \$return\_url[ \$blog\_id ];

}

} else {

// get primary domain, if we don't have one then return original url.

- \$domain = \$wpdb-\>get\_var( "SELECT domain FROM {\$wpdb-\>dmtable}
WHERE blog\_id = '{\$wpdb-\>blogid}' AND active = 1 LIMIT 1" );

+ \$domain = \$wpdb-\>get\_var( "SELECT domain FROM {\$wpdb-\>dmtable}
WHERE blog\_id = '{\$blog\_id}' AND active = 1 LIMIT 1" );

if ( null == \$domain ) {

- \$return\_url[ \$wpdb-\>blogid ] = untrailingslashit(
get\_original\_url( "siteurl" ) );

- return \$return\_url[ \$wpdb-\>blogid ];

+ \$return\_url[ \$blog\_id ] = untrailingslashit( get\_original\_url(
"siteurl", \$blog\_id ) );

+ return \$return\_url[ \$blog\_id ];

}

}

@@ -546,11 +556,11 @@

\$protocol = ( 'on' == strtolower( \$\_SERVER[ 'HTTPS' ] ) ) ?
'https://' : 'http://';

if ( \$domain ) {

- \$return\_url[ \$wpdb-\>blogid ] = untrailingslashit( \$protocol .
\$domain );

- \$setting = \$return\_url[ \$wpdb-\>blogid ];

- } else {

- \$return\_url[ \$wpdb-\>blogid ] = false;

- }

- } elseif ( \$return\_url[ \$wpdb-\>blogid ] !== FALSE) {

- \$setting = \$return\_url[ \$wpdb-\>blogid ];

+ \$return\_url[ \$blog\_id ] = untrailingslashit( \$protocol . \$domain
);

+ \$setting = \$return\_url[ \$blog\_id ];

+ } else {

+ \$return\_url[ \$blog\_id ] = false;

+ }

+ } elseif ( \$return\_url[ \$blog\_id ] !== FALSE) {

+ \$setting = \$return\_url[ \$blog\_id ];

}



+ 5
- 0
sixohthree-import/archives.md View File

@@ -0,0 +1,5 @@
Title: Archives
Date: 2009-04-06 08:01
Author: Adam



+ 21
- 0
sixohthree-import/are.md View File

@@ -0,0 +1,21 @@
Title: Company are Doing Stuff
Date: 2006-07-06 09:16
Author: Adam
Category: Rants

I am not a grammar whiz. I will not claim to know all the nuances the
English language has to offer. I do not know if the following
conjugation of "be" is correct, but I find it grating:

<p>
> ... the possibility of a September release and the fact that Nintendo
> are already producing final Wii units ...

</p>

(via [43things.com][])

Nintendo are a company. They make video games. Nintendo are... plural?
How did I avoid this usage for so long?

[43things.com]: http://www.43things.com/entries/view/972690

+ 28
- 0
sixohthree-import/art.md View File

@@ -0,0 +1,28 @@
Title: Prior Art
Date: 2004-12-22 13:38
Author: Adam
Category: Personal

Here is the cover art for Grand Theft Auto 3, by Rockstar Games:

</p>

![Grand][]

Here is the cover art for [Rosemary's Backpack][], a comic by Antony
Johnston and Drew Gilbert:

</p>

[![Rosemary's Backpack cover][]][]

</p>

I dunno. (Does anyone have a larger version of the GTA3 cover?)

</p>

[Grand]: http://blogs.bwerp.net/~adam/2004/12/21/gta3_sm.jpg
[Rosemary's Backpack]: http://www.mostlyblack.com/comicsandbooks/rose/
[Rosemary's Backpack cover]: http://blogs.bwerp.net/~adam/2004/12/21/backpack_sm.jpg
[![Rosemary's Backpack cover][]]: http://blogs.bwerp.net/~adam/2004/12/21/backpack.jpg

+ 20
- 0
sixohthree-import/audio.md View File

@@ -0,0 +1,20 @@
Title: Audio Excellence
Date: 2005-04-07 21:14
Author: Adam
Category: Music

I've had a pair of Sony [MDR-V500DJ][] Monitor-Series headphones for a
while now, but they've been sitting idle while my computers have been in
transition. I've finally hooked them back up, and I have to say: if you
have never used a high-quality set of headphones, I highly recommend it.
This is not just better frequency response, this is music I didn't know
I had. It's like I received a completely new set of high-fidelity MP3s
in the box.

</p>

Serious.

</p>

[MDR-V500DJ]: http://www.sonystyle.com/is-bin/INTERSHOP.enfinity/eCS/Store/en/-/USD/SY_DisplayProductInformation-Start?ProductSKU=MDRV500DJ&Dept=acc_Headphones&CategoryName=acc_Headphones_CDSeries%2fStudioMonitor

+ 5
- 0
sixohthree-import/auto-draft-2.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-20 11:18
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-3.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-20 11:18
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-4.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-20 11:20
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-5.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-21 14:49
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-6.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-21 14:51
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-7.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-21 14:52
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-8.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-21 14:52
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft-9.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2012-11-26 08:29
Author: Adam



+ 5
- 0
sixohthree-import/auto-draft.md View File

@@ -0,0 +1,5 @@
Title: Auto Draft
Date: 2010-08-20 11:17
Author: Adam



+ 14
- 0
sixohthree-import/automatic-ellipsis-with-css.md View File

@@ -0,0 +1,14 @@
Title: Automatic Ellipsis with CSS
Date: 2011-10-16 21:33
Author: Adam
Category: Web
Tags: css

How do I keep forgetting about `text-overflow: ellipsis`? Maybe a blog
post will help cement it in my memory.

<span style="white-space: nowrap;" title="I am the very model of a modern major general.">I
am the very model of a modern major general.</span>

</p>


+ 23
- 0
sixohthree-import/babe.md View File

@@ -0,0 +1,23 @@
Title: Righteous Babeage
Date: 2004-09-15 08:04
Author: Adam
Category: Personal

Ani DiFranco will be [performing][] at the following locations of
interest this winter:

</p>

- Burlington, VT (Nov. 30, 2004)
- Concord, NH (Dec. 1, 2004)
- Worcester, MA (Dec. 3, 2004)
- Raleigh, NC (Dec. 7, 2004)
- Rochester, NY (Dec. 11, 2004)

</p>

I will make best effort to attend at least one of these shows.

</p>

[performing]: http://righteousbabe.com/tour/index.asp

+ 33
- 0
sixohthree-import/baby-food.md View File

@@ -0,0 +1,33 @@
Title: Baby Food
Date: 2008-11-26 19:35
Author: Adam
Category: Kid
Tags: bacon, gadgets

Marshall's diet has become more interesting in recent weeks. He's always
been very interested in what we eat and drink, and we've often shared
our glasses of water with him, sometimes letting him sip though he's
usually content to hold the glass in his hands and gum on the rim. While
there's definitely a few schools of thought on solids, we did start
feeding him some "real" food about three weeks ago. His first food was
avocado, mashed into a paste, which was a hit. Next came banana, yams,
apple sauce, pear, and, most recently (and most favorite), green peas.
Along the way he's also had quinoa, usually mixed with other foods.

Tofu is this evening's exciting dish, but Charlotte did some research
and we'll be waiting to introduce that again. Sorry, guy!

So far we've mostly stuck with your basic fruit and vegetable aisle
fare, organic when possible, prepared for baby here at home. We've also
added a [food mill][] to our arsenal of tools. Charlotte is very
thorough in researching the safety of each food for an infant, which
should be no surprise to anyone who knows her well. The hardest part is
yet to come, when Marshall offers me a spoonful of spinach with all the
innocence in the world.

It's added something new to Marshall's day, which is great. We love to
engage him and let him surprise us, and food provides plenty of
opportunity for that. It will be a long time before he and I share a
BLT, but seeds have been sewn.

[food mill]: http://www.kidco.com/main.taf?erube_fh=kidco&kidco.submit.feedingproducts=1&kidco.step=1&kidco.bc=fd

+ 15
- 0
sixohthree-import/baby.md View File

@@ -0,0 +1,15 @@
Title: Announcing Marshall Leif
Date: 2008-05-19 21:27
Author: Adam
Category: Kid

![Marshall resting on Charlotte's chest][]

May 19, 2008, 11:03 AM. 8 lbs, 8 oz, 20" long. Our healthy baby boy.
Named after his great-grandfather, Marshall Turner Moulton.

I could say a lot. I will say: I am so proud of my wife for all her hard
work, digging deep within herself to find the strength to push after so
many hours. Thank you for this gift.

[Marshall resting on Charlotte's chest]: http://blogs.bwerp.net/~adam/2008/05/19/mlb.jpg

+ 40
- 0
sixohthree-import/backup.md View File

@@ -0,0 +1,40 @@
Title: Backup Musings
Date: 2005-01-25 23:38
Author: Adam
Category: Computers

I've been thinking about backups again. I always have the crazy pipe
dreams of removable hard drives, cycled every day (expensive), or the
slightly more realistic thoughts of tape drives (lacking in capacity).
What about the sometimes-explored online backup method, though? For
argument's sake, I'll assume several people want to share the backup
load, backing up others' files in exchange for others doing the same.

</p>

[Rsync][] has obvious potential here, as it's very good at being
incremental and can be tunneled over SSH. This method would require
either: a centralized point of storage for all clients to upload to and
download from; or rsync access to each machine that needed backing up.
Not bad, but there's another method I like a little more...</a>

Picture a nightly backup tarball, encrypted and signed for security. A
[.torrent][] file is uploaded to a tracker and simultaneously handed to
the backup peers. The peers download the tarball from the tracker and
from each other, and we end up with our redundant remote backup.

</p>

Who's in?

</p>

<span style="font-weight: bold">Update:</span> [Azureus][] (my preferred
BitTorrent client) has an [RSS plugin][].

</p>

[Rsync]: http://samba.anu.edu.au/rsync/
[.torrent]: http://en.wikipedia.org/wiki/BitTorrent
[Azureus]: http://azureus.sourceforge.net/
[RSS plugin]: http://azureus.sourceforge.net/plugin_details.php?plugin=RSSImport

+ 47
- 0
sixohthree-import/backups.md View File

@@ -0,0 +1,47 @@
Title: MySQL Backups with Subversion
Date: 2004-09-02 00:46
Author: Adam
Category: Scripting

My uncle's website was the first site I had near-total administrative
control over. ("Near" meaning I didn't have control over the hardware
itself.) Part of administration is keeping regular backups. I chose a
daily tarball of a mysqldump, archived locally and scp'd to a remote
machine using a passworded private/public key set. (I leave ssh-agent
running and connect to the same instance in each shell and script.)

That's all well and good, but there's room for improvement. [Having
recently installed Subversion][], I finally sat down to version-control
my backups. The goals:

1. Unmanned, regular backups.
2. Easy recovery in case of emergency.
3. Simplicity.

</p>

The end result: [sql-backup.sh][]. This is rough code, poorly
documented, an intial revision so I can see some of the quirks and
drawbacks. How did I do on my goals?

1. Unmanned, regular backups? The SQL dump and Subversion checkins are
completed automatically by crond every morning.
2. Easy recovery in case of emergency? A simple checkout of the
sql-backup trunk, and I've got a series of .sql files ready for
importing.
3. Simplicity? I don't have to dig through a filesystem tree for the
most recent tarball, I just checkout the tree or update my local
copy.

</p>

The data is version controlled, so I can recall a database snapshot from
any date. Subversion only transmits the differences between revisions,
so the network load is much reduced. The script is flexible enough that
installation on a new machine is nearly effortless. The only deficiency
so far: deleted databases remain in the repository. At some point I will
tweak the script to `svn rm` .sql files whose databases have been
dropped.

[Having recently installed Subversion]: http://blogs.bwerp.net/archives/2004/08/12/svn
[sql-backup.sh]: /~adam/2004/09/02/sql-backup.sh.txt

+ 20
- 0
sixohthree-import/banshee.md View File

@@ -0,0 +1,20 @@
Title: Banshee
Date: 2005-10-11 12:48
Author: Adam
Category: Linux, Music, Wiki

Linking to [Banshee][] for two reasons:

1. It's an iTunes-like music player for Linux (is this nee sumi?), and
I want to remember it.
2. The website runs on [MediaWiki][].

</p>

Todo: find a wiki page that list websites that are styled like websites,
but run on MediaWiki (or other wikis). Alternately, start a list on
[Bwerp][].

[Banshee]: http://banshee-project.org/
[MediaWiki]: http://www.mediawiki.org/wiki/MediaWiki
[Bwerp]: http://wiki.bwerp.net/

+ 7
- 0
sixohthree-import/bargonaut.md View File

@@ -0,0 +1,7 @@
Title: Bargonaut
Date: 2011-08-30 16:46
Author: Adam

[GimmieBar][] for the HP TouchPad. (Coming soon, or maybe never.)

[GimmieBar]: https://gimmebar.com/

+ 105
- 0
sixohthree-import/bash-completion.md View File

@@ -0,0 +1,105 @@
Title: Bash Completion
Date: 2009-06-04 19:54
Author: Adam
Category: Scripting
Tags: Bash, compgen, complete, productivity, shell

It would be difficult to *not* like bash's [programmable completion][].
Tab completion is addictive, and expanding it past files and folders
into usernames, hostnames, and, well, anything you can dream up and put
in a function, has incredible potential.

It's too bad I've had such a hard time wrapping my head around the
programmable completion toolkit, `complete` and `compgen`.

### Getting There

</p>
I have a function that works like `cd`, but prepends a specific
directory. Our web files are stored in `/some/dir/webapp`, and I want
that directory at my fingertips at all times. Here's the function:

<p>
wa() { cd /web/pscpages/webapp/$1 ; }

</p>
With this function, `wa` brings me to `webapp`; `wa project1` brings me
to `webapp/project1`; and so on. I just provide the full sub-path from
`webapp`. Ideally, I would be able to tab-complete directories in
`webapp`.

`complete` can pull a list of possible completions from a number of
sources: "actions" (like files, directories, commands, shell keywords),
command output, a wordlist separated by some whitespace, or the output
of a bash function, to name a few. What you've typed so far (the
"current word") will be used to filter all the possible completions
returned by that source. Say you've typed "pro" and then hit tab to
autocomplete. The returned completions need to match "pro" at the start
of the string, meaning you can't match against absolute paths like
`/some/dir/webapp/project1`.

`compgen` can be used to generate a list of possible completions.
Matches will be output one per line, and can be piped around for
transformations just like any other shell command.

Between these two tools, we have everything we need to autocomplete
paths starting in a certain directory. Here's a `compgen` that gives us
directories matching a specified string:

<p>
compgen -d /some/dir/webapp/

</p>
Sample output:

<p>
/some/dir/webapp/.svn/some/dir/webapp/project1/some/dir/webapp/templates/some/dir/webapp/images

</p>
We need to trim leading directories so "pro" matches "project1." We
should also append `/` to the pathnames, since we're always matching
directories:

<p>
compgen -S/ -d /some/dir/webapp/ | cut -b 18-

</p>
Playing around with `compgen`'s arguments, we can further filter the
completion list by appending to our string, sort of an implied glob. Use
`/some/dir/webapp/p`, and subdirectories starting with "p" will be
returned. This is exactly what we want: `compgen` takes care of all the
filtering for us. We have access to a couple special variables to
examine the word the user is expanding. For now, it's enough just to
grab <var>\${COMP\_WORDS[COMP\_CWORD]}</var> and append it to our path.

When completions are generated by a function, they're passed back to
`complete` by the <var>\$COMPREPLY</var> environment variable. Pulling
this all together, we can now create our completion function:

<p>
_webapp() { local cur cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=( $( compgen -S/ -d /some/dir/webapp/$cur | cut -b 18- ) )}

</p>
All that's left is to tell bash to use this function to complete our
argument to `wa`.

<p>
complete -o nospace -F _webapp wa

</p>

### The Fruits

</p>
So, that does it. Our original wrapper to `cd`, combined with our
autocomplete functionality, looks like this:

<p>
wa() { cd /some/dir/webapp/$1 ; }_webapp() { local cur cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=( $( compgen -S/ -d /some/dir/webapp/$cur | cut -b 18- ) )}complete -o nospace -F _webapp wa

</p>
Voila. Tab completion in a directory that's not <var>\$PWD</var>, and it
even works with subdirectories. I hope this makes autocompletion a
little clearer for others.

[programmable completion]: http://www.gnu.org/software/bash/manual/bashref.html#Programmable-Completion

+ 30
- 0
sixohthree-import/bash-tips-testing-arguments.md View File

@@ -0,0 +1,30 @@
Title: Bash Tips: Testing Arguments
Date: 2003-08-11 10:34
Author: Adam
Category: Scripting

Ever want to test command line arguments in bash, mixing arguments and
execution options? I have. Here's one way to do it:

</p>

<p>
#!/bin/shfilelist=until [ -z "$1" ]; do # use a case statement to test vars. we always test # test $1 and shift at the end of the for block. case $1 in --home|-h ) # shift, so the string after --home becomes # our new $1. then save the value. shift USERHOME=$1 ;; --force|-f ) # set to 1 for later testing FORCE=1 ;; -- ) # set all the following arguments as files shift filelist="$filelist $@" break ;; -* ) echo "Unrecognized option: $1" exit 1 ;; * ) filelist="$filelist $1" ;; esac shift if [ "$#" = "0" ]; then break fidoneecho -n "Files:"for f in $filelist ; do echo -e "\t$f"doneecho "User home:" $USERHOMEecho "Forcing?" $FORCE

</p>

Here's some sample output:

</p>

<p>
adam@aziz:~/prog/argstest$ sh argstest.sh foo1 --home /home/adam foo2 -- --force foo3Files: foo1 foo2 --force foo3User home: /home/adamNot forcing.

</p>

As you can see, it works with long and short options, options that take
values, and the "terminate option list" operator. All it needs is a man
page.

</p>


+ 56
- 0
sixohthree-import/batterylog.md View File

@@ -0,0 +1,56 @@
Title: batterylog.py
Date: 2009-06-25 12:08
Author: Adam

`batterylog.py` is a small Python script which reads battery information
from `system_profiler` and logs values to a SQLite database located in
`~/.batterylog.sqlite3`. This data can be used to track battery health
over time.

batterylog was written under Mac OS X 10.5.7 and Python 2.5.1. The code
is made available under the [MIT License][].

### Download

</p>
The current release, 0.2, may be downloaded [here][] (text/plain).

### Usage

</p>
The script may be run directly using `python path/to/batterylog.py`. You
may also put it in your <var>\$PATH</var>:

<p>
mv batterylog.py /usr/local/bin/batterylogchmod 755 /usr/local/bin/batterylog

</p>

### Automatic Execution via Cron

</p>
batterylog may be run hourly via `cron` with a crontab entry similar to
the following:

<p>
59 * * * * python ~/path/to/batterylog.py*/10 * * * * @AppleNotOnBattery python ~/path/to/batterylog.py

</p>
This combination runs batterylog one minute before the hour (I chose
this number for hourly results that would potentially get stats right
before midnight) as well as every 10 minutes when running on A/C power.

### Graphing

</p>
I haven't graphed any of my data yet, as the script was only written two
days ago. I'll update this space once I start graphing. In the mean
time, here's a line that will export the database to CSV:

<p>
sqlite3 -separator , ~/.batterylog.sqlite3 'SELECT * FROM log'

</p>

[MIT License]: http://www.opensource.org/licenses/mit-license.php
[here]: http://sixohthree.com/~adam/code/batterylog-0.2.py

+ 21
- 0
sixohthree-import/bc-2.md View File

@@ -0,0 +1,21 @@
Title: Burning Crusade Cinematic Intro
Date: 2006-12-14 18:21
Author: Adam
Category: Games
Tags: gaming, WoW

The cinematic into to World of Warcraft: The Burning Crusade has been
released: [stream][], [high-def download][].

[![Burning Crusade trailer screen grab][]][]

[![Burning Crusade trailer screen grab][1]][]

I am definitely looking forward to this expansion.

[stream]: http://www.spiketv.com/events/vga2006/simulcast.html
[high-def download]: http://www.worldofwarcraft.com/downloads/movies.html
[Burning Crusade trailer screen grab]: /~adam/2006/12/14/bc_trailer_1_sm.jpg
[![Burning Crusade trailer screen grab][]]: /~adam/2006/12/14/bc_trailer_1.jpg
[1]: /~adam/2006/12/14/bc_trailer_2_sm.jpg
[![Burning Crusade trailer screen grab][1]]: /~adam/2006/12/14/bc_trailer_2.jpg

+ 9
- 0
sixohthree-import/bc.md View File

@@ -0,0 +1,9 @@
Title: You Are Not Prepared
Date: 2007-01-16 11:04
Author: Adam
Category: Games

[![][]][]

[]: /~adam/2007/01/16/bc-ce.jpg
[![][]]: http://flickr.com/photos/adambackstrom/359505961/

+ 14
- 0
sixohthree-import/be-green.md View File

@@ -0,0 +1,14 @@
Title: Be Green
Date: 2003-02-15 16:33
Author: Adam
Category: Blogging

I've created a [new template][] for MovableType that matches the style
of [Bwerp][], my main site (indeed, it uses the same stylesheet). Any
comments? Do you like it? Is it hard to read? Does it look like crap in
Browser X? Feedback would be greatly appreciated.

</p>

[new template]: green
[Bwerp]: http://www.bwerp.net/

+ 15
- 0
sixohthree-import/being-nice.md View File

@@ -0,0 +1,15 @@
Title: Being Nice
Date: 2012-01-31 12:30
Author: Adam
Category: Personal

For my own reference, on running processes nicely:

<p>
nice -n 19 ionice -c2 -n7

</p>

See also:

https://twitter.com/\#!/Pinboard/status/161598242671435776

+ 48
- 0
sixohthree-import/better-local-dev-hostnames-with-dnsmasq.md View File

@@ -0,0 +1,48 @@
Title: Better Local Dev Hostnames with Dnsmasq
Date: 2011-10-18 23:23
Author: Adam
Category: Web
Tags: development, dns, dnsmasq, Mac OS X

I use [ghost][] to configure development environment hostnames for all
my local test sites. Some [DTrace tomfoolery][] showed me how ghost
handles this config: each new hostname is saved to its own plist file.

**Update:** for zero-configuration wildcard DNS, check out [xip.io][].

</p>

[code name="ghost-plist"]

There's filesystem caching going on behind the scenes and I expect the
net impact is negligible, but I wondered if there wasn't a more robust
solution that supported wildcards. Having just configured [dnsmasq][] on
my [router][], I started with a `brew install dnsmasq` and was
pleasantly surprised to get a progress bar rather than "no available
formula." Homebrew recommended a couple post-install actions for setting
up a default config file and configuring `launchd` to keep dnsmasq
alive, which I dutifully ran. After that, I enabled my fake TLD in
`dnsmasq.conf`:

<p>
# respond to *.zomg with 127.0.0.1address=/zomg/127.0.0.1

</p>
By sheer luck I ended up on [this great serverfault.com post][]
explaining Mac OS X's `resolver(5)` and the `/etc/resolver` directory.
Forcing `dnsmasq` lookup on my zomg TLD is as easy as:

<p>
echo 'nameserver 127.0.0.1' >/etc/resolver/zomg

</p>
These settings will work on any network we connect to, no need to modify
the DNS servers via System Preferences and put 127.0.0.1 (dnsmasq) in
front. Simple, clean, flexible.

[ghost]: https://github.com/bjeanes/ghost
[DTrace tomfoolery]: http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/
[xip.io]: http://xip.io/
[dnsmasq]: http://thekelleys.org.uk/dnsmasq/doc.html
[router]: http://www.polarcloud.com/tomato
[this great serverfault.com post]: http://serverfault.com/questions/22419/set-dns-server-on-os-x-even-when-without-internet-connection

+ 34
- 0
sixohthree-import/big.md View File

@@ -0,0 +1,34 @@
Title: Thinking of the Big Picture
Date: 2004-03-10 23:24
Author: Adam
Category: Personal

Here's a picture of [10,000 galaxies][].

</p>

For reference, the Milky Way galaxy (our galaxy) has about [200 billion
stars][], so the photo of 10,000 galaxies includes several trillion
stars by even the most conservative of estimates.

</p>

All told, there are approximately
[10<span style="vertical-align: super;font-size: x-small">24</span>
stars][].

</p>

The photograph of 10,000 galaxies is a magnification of an area about
1/10 the diameter of the moon, from our perspective.

</p>

Next time I say it's a long drive to New Hampshire, somebody hit me.

</p>

[10,000 galaxies]: http://www.nasa.gov/images/content/56540main_closer.large.jpg
[200 billion stars]: http://www.damtp.cam.ac.uk/user/gr/public/gal_milky.html
[10<span style="vertical-align: super;font-size: x-small">24</span>
stars]: http://www.esa.int/esaSC/SEM75BS1VED_index_0.html

+ 28
- 0
sixohthree-import/billboard.md View File

@@ -0,0 +1,28 @@
Title: Billboard for webOS
Date: 2011-09-10 02:15
Author: Adam

Billboard: use your HP TouchPad as a message board and harass your
friends from across the room. [Find it in the HP App Catalog][] on your
TouchPad.

[![][]][]

Got feedback? Email [adam@sixohthree.com][].

Release History
---------------

</p>

- **1.0.0** -- Improved vertical centering. 26 February 2012 (Pending
Review)
- **0.0.1** -- Initial App Catalog release. 13 September 2011

</p>

[Find it in the HP App Catalog]: https://developer.palm.com/appredirect/?packageid=com.sixohthree.billboard
[]: http://mu.sixohthree.com/sixohthree/files/2011/09/billboard_11-300x225.png
"billboard_1"
[![][]]: http://mu.sixohthree.com/sixohthree/files/2011/09/billboard_11.png
[adam@sixohthree.com]: mailto:adam@sixohthree.com

+ 12
- 0
sixohthree-import/birthday.md View File

@@ -0,0 +1,12 @@
Title: Happy Birthday to You
Date: 2004-07-03 09:26
Author: Adam
Category: Personal

Happy Birthday to [Justin][] and [Abby][]. May your birthdays be full of
cake and presents and good times with friends.

</p>

[Justin]: http://callblog.net/
[Abby]: http://blogs.bwerp.net/~abby/

+ 24
- 0
sixohthree-import/blackout.md View File

@@ -0,0 +1,24 @@
Title: Darkpole
Date: 2004-05-24 22:55
Author: Adam
Category: Photography

[![Darkpole][]][]

RIT switched off the power for six hours tonight. A bit of the
wilderness, right here in Rochester.

</p>

[The photos][![Darkpole][]] are a little dark, but so was the real
thing. Low gamma readers, don't bother.

</p>

(Also, I have [hot pixels][], tear.)

</p>

[Darkpole]: http://static.bwerp.net/~adam/2004/05/24/t_darkpole.jpg
[![Darkpole][]]: http://gallery.bwerp.net/blackout
[hot pixels]: http://www.nikon.com.sg/TechSupp/KB/TOPFAQ/DeadHotRandom.htm

+ 11
- 0
sixohthree-import/blast-from-the-past.md View File

@@ -0,0 +1,11 @@
Title: Blast From the Past
Date: 2003-10-23 09:30
Author: Adam
Category: Personal

Anybody remember [this site][], circa January, 2002? Yet another
incarnation of [Bwerp][], culled from an aging MySQL dump and posted
here for posterity. Memmmories.

[this site]: http://static.bwerp.net/~adam/php-nuke/html/
[Bwerp]: http://www.bwerp.net/

+ 128
- 0
sixohthree-import/blizzard-to-post-real-names-on-forums.md View File

@@ -0,0 +1,128 @@
Title: Blizzard To Post Real Names on Forums
Date: 2010-07-06 22:52
Author: Adam
Category: Freedom, Games
Tags: blizzard.net, realid, world of warcraft, WoW

[caption id="attachment\_1116" align="alignright" width="300"
caption="Nethaera's Post about the Real ID Change"][![][]][][/caption]

Blizzard today [announced][![][]] an upcoming change to the way users
are represented on the official forums: included with each post will be
[the user's real name][]. Obviously, the shitstorm was immediate and
intense. (Over 5,000 posts in the four hours after the announcement, not
to mention all the other threads the change has spawned. **Update:**
12,500 posts after 7.5 hours.)

The highlights:

- Your real name will show up next to your forum posts.
- You may optionally pick a character name to display alongside your
real name.
- This change will affect the new forums going live around the
Cataclysm release, so existing posts will not be affected.

</p>
I have an opinion, but maybe not the opinion one might expect if you've
ever had a conversation with me about privacy and freedom.

People have the right to privacy. I believe this right does not need to
be defended: there is no "but what about…" here. There are a variety of
defenses, of course, be they medical, religious, sexual, or political,
to name a few, but I think the desire to act in private is itself
enough. The "honest people have nothing to hide" argument is ignorant at
best and dangerous at worst.

Not every space is a private space, though. My home, the contents of
computer, my browser history, are private (or at least I consider them
private), but many of the spaces I frequent are public. In, say, a park,
you have the right to take a photograph, even if I am in the frame. I do
not have the same right to privacy that I have in my home.

Historically, the World of Warcraft (WoW) forums offered a level of
privacy. You could create characters on any of the multitude of servers
and post as those characters, rather than your "main" character,
effectively hiding your identity from everyone but Blizzard employees.
There are many potential uses of this feature, some good (asking
opinions about your guild leader's controversial decision) and some bad
(trolling or threatening posters).

I am not against Blizzard displaying the poster's real name next to
their post. I think it will reduce the number of posters on the site
(good) and result in more thoughtfully constructed posts (also good).

[caption id="attachment\_1120" align="alignleft" width="250"
caption="John Gabriel's Greater Internet Fuckwad
Theory"][![][1]][][/caption]

NPR recently ran a piece entitled "[Website Editors Strive To Rein In
Nasty Comments][]." It elaborates on [John Gabriel's Greater Internet
Fuckwad Theory][![][1]], which posits that Normal Person + Anonymity +
Audience = Total Fuckwad ("Shitcock!"). I believe that the addition of
real names to the forums will prevent many of the flame wars from
starting as people consider that the words they say become part of their
online identity. I also believe that it's harder to berate someone when
you see their name on the screen in front of you. Picture two forum
posters, Happycowlol and Dave Burkhart. Both post the same question as
they struggle with basic game mechanics. How likely are you to tell Dave
to log off and delete WoW, particularly if your comment is signed with
your real name?

Blizzard recently added Real ID Friends to World of Warcraft. You can
add a person to your buddy list and see them online, no matter which
game they are playing or which character or server they're playing on.
This is opt-in: you explicitly grant the right to be your Real ID friend
and see you online. Likewise, posting on the forums is a choice. If
privacy is your concern, there are hundreds of other forums, some of
which may even attempt to protect your data. I do not believe Blizzard
is obligated to provide users with an anonymous (or quasi-anonymous)
message board. On the contrary, I believe this is one of the best things
they could do to foster real discussion and discourage trolls.

Some constructive, helpful, genuinely good posters will be driven away
by this change. But they have not had any of their rights taken away
from them. They are still anonymous in the game, they have just lost the
ability to be anonymous on the forums.

**Update:** There's an additional blue post over on the European forums:

[blizzard-cm author="Wryxian"
url="http://forums.wow-europe.com/thread.html?topicId=13816838128&postId=140209202293&sid=1\#4053"
postdate="07/07/2010 05:17:33 PDT"]We have been planning this change for
a *very*long time. During this time, we have thought ahead about the
scope and impact of this change and predicted that many people would no
longer wish to post in the forums after this change goes live. We are
fine with that, because we want to change these forums dramatically in a
positive and more constructive direction.

It's been very obvious over the last few years that the forums are an
exceptionally valuable source of information both for players and for us
to gather feedback. There are many threads on this forum now, and over
the last few years, that people have been constructively discussing many
aspects of the game. They've received new wisdom and have then been able
to go back to the game and enjoy it further with the new knowledge
acquired through the forums.

These threads, however, can often be lost amongst a great deal of other
threads that are basically filled with trolling, name calling, flaming,
off-topic conversations and that's just a small amount of some of the
content that has been found in these forums over the years. We don't
want that anymore, and we believe the Real ID change will bring about a
lot of the improvement that we are hoping for.

There's a lot of scare-mongering going on about the change, but there
seems a need to make something very clear. The forums have *always* been
an optional extra -- something you can choose to participate in if
you *wish* to. With our Real ID changes for the forums, *this is still
the case*. The only difference will be, if you do choose to participate
in the forums, then you will do so by using your real name. But only
after you've been warned and accepted this in advance.[/blizzard-cm]

[]: http://sixohthree.com/files/2010/07/forum-post-300x149.png
"Nethaera's Post about the Real ID Change"
[![][]]: http://forums.worldofwarcraft.com/thread.html?topicId=25712374700
[the user's real name]: http://forums.battle.net/thread.html?topicId=25626109041
[1]: http://sixohthree.com/files/2010/07/green-blackboards.jpg
"green-blackboards"
[![][1]]: http://www.penny-arcade.com/comic/2004/3/19/
[Website Editors Strive To Rein In Nasty Comments]: http://www.npr.org/templates/story/story.php?storyId=126782677

+ 52
- 0
sixohthree-import/blogs-and-spam-the-next-revolution.md View File

@@ -0,0 +1,52 @@
Title: Blogs and Spam: The Next Revolution
Date: 2003-05-05 20:51
Author: Adam
Category: Blogging, Spam

A few days ago, Mark Pilgrim replied to comments on his own blog
regarding, "people posting irrelevant links in order to drive traffic to
[their sites]." This topic has been on my mind for some time, and I
recently discovered a [comment][] on my own blog along the same lines,
so I feel the time is right to blog it. (It's the bottom comment; check
the URL his name links to.)

</p>

From what I have seen, the majority of blogs trust other blogs
implicitly. Comments are either on, or off; there is no middle ground.
It takes very little effort for a blogger to piggyback of another site's
readership. A comment that took fifteen seconds to post can drive
hundreds of bored sufers from, say, diveintomark.org, to Joe Hacker's
Site for Kewl Linkz. But let's take this a step further: spam-oriented
comments and trackbacks.

</p>

Instead, let's say Mark posts about a current problem with his hosting
provider, and mentions the importance of backups. (Sound familiar?)
Along comes a spider, and notices that "backups" are mentioned on the
front page. It grabs a paragraph from its database and fills in the
blanks: "Just read an interesting article about backups from
http://www.diveintomark.org/..." It then sends a trackback ping to
Mark's site, and before you know it, unsuspecting readers are clicking
trough to a site that's selling Joe's Super Backup+. Mark has a day job
(I assume) and gets several dozen comments and pings for each post, so
he doesn't notice the spam trackback for a few hours, or worse, never
notices it at all. Sound far-fetched? I don't think so, either.

</p>

The simplest solution is to approve all comments and trackbacks before
they are posted, but that's unappealing even to a casual blogger like
myself. Perhaps we will see webs of trust emerge around comments and
trackbacks, much like those that exist for PGP keyrings. It will be
interesting to see which direction this goes.

</p>

In the mean time, if anyone knows a way to discover geographical
locations for IP addresses, I'm all ears. Right, "ip address?"

</p>

[comment]: http://blogs.bwerp.net/archives/2002/12/12/tim_oreilly_on_piracy.php#c-151

+ 20
- 0
sixohthree-import/bookmarklet.md View File

@@ -0,0 +1,20 @@
Title: JavaScript Bookmarklets
Date: 2008-10-06 08:38
Author: Adam
Category: Web
Tags: bookmarklet, Web

I wrote my first [bookmarklet][] as a proof-of-concept the other day. I
often find myself shortcutting up to the location bar to switch between
development and production web servers. Here's a bookmarklet that
toggles "dev" and "www" subdomains for me, broken into a few lines for
readability:

<p>
javascript:dL=document.location;nH=dL.host.split('.')[0]=='www'?'dev':'www';dL.href=dL.href.replace(/^(https?:\/\/)[^\.]+/i,"$1"+nH);

</p>
And in its ready-to-drag-to-your-bookmark-bar version: [switch][].

[bookmarklet]: http://en.wikipedia.org/wiki/Bookmarklet
[switch]: \/\/)[^\.]+/i,'$1'+nH);

+ 14
- 0
sixohthree-import/bootleg.md View File

@@ -0,0 +1,14 @@
Title: Ani DiFranco: Official Bootleg Series
Date: 2004-06-24 23:47
Author: Adam
Category: Music

Ani DiFranco has released the first of her [Official Bootleg Series][]
albums. [Atlanta - The Tabernacle Theatre][], a full recording of her
Oct. 9, 2003 show, is now available on the RBR site for \$10.00. Be the
first on your street to get one. ;)

</p>

[Official Bootleg Series]: http://www.righteousbaberecords.com/ani/bootleg/
[Atlanta - The Tabernacle Theatre]: http://www.righteousbaberecords.com/ani/bootleg/atlanta.asp

+ 13
- 0
sixohthree-import/bootsie.md View File

@@ -0,0 +1,13 @@
Title: Rest in Peace
Date: 2006-10-12 18:19
Author: Adam
Category: Personal

Bootsie, family pet of 20 years, sworn enemy of canines, and friend of
everyone else, has passed away.

![Bootsie, held by Patty][]

Thank you for the companionship.

[Bootsie, held by Patty]: /~adam/2006/10/12/bootsie.jpg

+ 47
- 0
sixohthree-import/boskone.md View File

@@ -0,0 +1,47 @@
Title: Post-Boskone Post
Date: 2005-02-21 00:02
Author: Adam
Category: Personal

Just got back from [Boskone][]. This was my first, and the only
convention I've attended besides [Macworld Expo][]. I haven't done much
reading lately and was a bit out of the loop, but I had a lot of fun
regardless.

</p>

Highlights of the trip were Literary Beers with Jeffrey A. Carver, Bruce
Coville, et. al. (see below) and pillowfights with Justin for the girls'
amusement (photographs withheld).

</p>

[![Photograph of Justin, Jenny, and Bruce Coville.][]][]

</p>

Also notable is the excellent Halo road sign by Michael Lopes Jr., who
seems to be lacking a website. I was lucky enough to be the winning
bidder in the art auction:

</p>

[![Photograph of Justin, Jenny, and Bruce Coville.][1]][]

</p>

(I'll post a better picture after I can photograph it during daylight
hours.)

</p>

Thanks to everyone who made this weekend possible.

</p>

[Boskone]: http://www.boskone.org/
[Macworld Expo]: http://www.macworldexpo.com/
[Photograph of Justin, Jenny, and Bruce Coville.]: http://blogs.bwerp.net/~adam/2005/02/20/t_beer.jpg
[![Photograph of Justin, Jenny, and Bruce Coville.][]]: http://blogs.bwerp.net/~adam/2005/02/20/beer.jpg
[1]: http://blogs.bwerp.net/~adam/2005/02/20/t_halo-01.jpg
[![Photograph of Justin, Jenny, and Bruce Coville.][1]]: http://blogs.bwerp.net/~adam/2005/02/20/halo-01.jpg

+ 9
- 0
sixohthree-import/burning.md View File

@@ -0,0 +1,9 @@
Title: On Burning Men
Date: 2007-08-30 13:55
Author: Adam
Category: Personal

I find it amusing that you can be called an [arsonist][] for setting a
thing on fire which was created to be set on fire.

[arsonist]: http://laughingsquid.com/burning-man-set-on-fire-early-arson-is-to-blame/

+ 15
- 0
sixohthree-import/business.md View File

@@ -0,0 +1,15 @@
Title: The Business of Being Born
Date: 2008-03-02 21:49
Author: Adam
Category: Kid
Tags: baby, birthing, midwife

Charlotte and I just finished watching [The Business of Being Born][] on
[Netflix][]. I would highly recommend it to anyone having a baby in this
country. The high rate of cesarean sections in the US compared to the
rest of the western world (despite the dangers), the sharp decline of
midwifery (and the reasons behind it), the mortality rate statistics...
it's an eye-opener.

[The Business of Being Born]: http://www.thebusinessofbeingborn.com/
[Netflix]: http://www.netflix.com/WatchNowMovie/The_Business_of_Being_Born/70075502

+ 42
- 0
sixohthree-import/butcher.md View File

@@ -0,0 +1,42 @@
Title: On HTML Butchering
Date: 2004-07-11 23:15
Author: Adam
Category: Web

Jen has [a resume][]. She writes this resume in Microsoft Word, and
Microsoft Word exports [a butchered mockery of HTML][]. (Note: this HTML
has been modified to protect non-Internet Explorer browsers.) Word does
not encourage semantic markup. It encourages table-based layouts and
makes it easy to put arbitrary styles on elements. Consider this
example: