Voder-Vocoder

The Log of Hal Canary

Navigation: Home | THE LOG | Log Archives | Resume | Contact Info | Public Key | SSL | Math Applets | Site Map | RSS2 | Atom | Backend

generic viewer

#!/bin/sh
#${HOME}/bin/v
#
# Copyright 2012 Hal Canary
#
# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and
# associated documentation files (the "Software"), to
# deal in the Software without restriction, including
# without limitation the rights to use, copy, modify,
# merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to
# whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission
# notice shall be included in all copies or
# substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
# OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
# LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
# OR OTHER LIABILITY, WHETHER IN AN ACTION OF
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
for arg in "$@"; do
  case "${arg##*.}" in
  png|jpg|jpeg|gif|bmp|tif|tiff|tga|targa)
    { /usr/bin/gthumb "$arg" > /dev/null 2>&1 & } ;;
  pdf|ps|eps)
    { /usr/bin/evince "$arg" > /dev/null 2>&1 & } ;;
  txt|tex|c|cxx|cpp|h|hh|cc|C|py|pl|java|hpp|hxx)
    { /usr/bin/emacs "$arg" \
        --eval '(setq buffer-read-only t)' \
        > /dev/null 2>&1 & } ;;
  htm|html)
    full=`readlink --canonicalize "$arg"`
    { /usr/bin/google-chrome "file://${full}" \
        > /dev/null 2>&1 & } ;;
  doc|docx|rtf|odt|odf|odp|ppt|ods|csv|tsv|xls)
    { /usr/bin/ooffice "$arg" > /dev/null 2>&1 & } ;;
  xcf)
    { /usr/bin/gimp "$arg" > /dev/null 2>&1 & } ;;
  svg)
    { /usr/bin/inkscape "$arg" > /dev/null 2>&1 & } ;;
  *)
    echo "What do I do with \"$arg\"?";;
  esac
done

Hal Canary | Computers & Code | 2012-02-24 08:38:00 UTC
Permanent Link | Comments Off

Arcosanti

Hal Canary | Uncategorized | 2012-01-08 17:55:55 UTC
Permanent Link | Comments Off

AZ 2012

2012-01-02_212724_dscn0815

2012-01-02_232144_dscn0825

2012-01-02_232550_dscn0829

Hal Canary | Life, Photos | 2012-01-03 00:10:02 UTC
Permanent Link | Comments Off

NC 2011-12

2011-12-24_171021_img_0435

Hal Canary | Life, Photos | 2011-12-25 00:00:01 UTC
Permanent Link | Comments Off

EMRATIO

October 1, 1991 – October 1, 2011[EMRATIO October 1, 1991 – October 1, 2011]

Hal Canary | Economics, Politics | 2011-11-30 21:39:18 UTC
Permanent Link | Comments Off

occupy

0) More than anything, today's biggest economic problem is high unemployment.

1) More than anything, the banking industry's risky investments during the bubble caused the crash and the current high levels of unemployment. If the government had not bailed them out, most major banks would have gone bankrupt. We don't oppose banks or bailouts, but banks should be held accountable: strong regulation to prevent these things in the future, taxes to pay for future bailouts, and smaller banks that aren't “too big to fail.”

2) Federal tax and labor policy over the past thirty years has favored the super-rich (top 0.1%) at the expense of the median household. Too much of our productivity gains over this time period has gone to make the super-rich richer, and not enough has gone to the average American. Compare to the previous thirty years, when all Americans benefited more evenly from productivity gains.

3) Monetary policy is serving the super-rich (creditors) at the expense of the average American (debtors) If we were to raise the medium-term inflation targets from a current 1–2% to a modest 4–5%, we could relieve the debt burden of the average American, stimulate investment, and reduce unemployment. This is opposed by the super-rich and those who are confused about the utility of a strong currency.

4) Austerity (cutting government spending in the face of high unemployment) hurts more than it helps, especially when our long-term intrest rates are so low. The best way to balance the budget is to return to full employment and tax capital gains like any other income. And we don't need to balance the budget until we return to full employment.

Hal Canary | Economics, Politics | 2011-11-02 09:13:23 UTC
Permanent Link | Comments Off

VA 2011-10

2011-10-29_141814_DSCN0759

2011-10-29_141830_DSCN0760

2011-10-29_142204_DSCN0765

Hal Canary | Life, Photos | 2011-10-30 00:00:49 UTC
Permanent Link | Comments Off

spam rules

These are my new spamassassin rules. If your configured email client fails to have a valid DKIM or DK signature or SPF record, I’m probably going to mark you as spam.

#### .spamassassin/user_prefs
required_score -1.0
score DKIM_VALID_AU -10.0
score SPF_PASS -5.0

99% of my legitimate correspondents are okay already.

Hal Canary | Computers & Code, Life | 2011-10-26 15:01:41 UTC
Permanent Link | Comments Off

EMRATIO

August 1, 1991 – August 1, 2011
[]

To get back to where we were in 2003, we need 11.6 million jobs.

Hal Canary | Economics | 2011-09-08 07:39:01 UTC
Permanent Link | Comments Off

2011-08-24-ride

Hal Canary | Life | 2011-08-24 12:18:04 UTC
Permanent Link | Comments Off

reading queue

The SF/Fantasy reading queue has grown absurdly large. I haven’t read any new books all summer. A trip to the bookstore yesterday reminded me of this fact. I went ahead and grabbed the ebook of The Magician King and will work my way down the list.

To be published in the next few months:

[R] = read
[P] = in progress
[H] = on hold at library

Hal Canary | Books | 2011-08-10 08:18:33 UTC
Permanent Link | Comments Off

EMRATIO

July 1991 – July 2011

Hal Canary | Economics | 2011-08-05 18:42:49 UTC
Permanent Link | Comments Off

« Previous Entries |

Copyright 1997-2012 by Hal Canary.
mailto: halcanary at gmail dot com
http://halcanary.org