blog.git
11 years agoscript-publish.py: Use -o/--output instead of -t/--target
W. Trevor King [Sun, 13 Jan 2013 14:45:23 +0000 (09:45 -0500)]
script-publish.py: Use -o/--output instead of -t/--target

This seems to be more conventional.  As a side benefit, we can now use
-t as the short form of --term.

11 years agoscript-publish.py: Drop empty text chunks
W. Trevor King [Sun, 13 Jan 2013 14:42:10 +0000 (09:42 -0500)]
script-publish.py: Drop empty text chunks

Firefox 10.0.11 was having trouble with:

  <span style="..." />

Which, instead of being a no-op, was changing the default styling of
every element after that tag.

11 years agoscript-publish.py: Add more control codes (reset1, reset2, ...)
W. Trevor King [Sun, 13 Jan 2013 14:34:24 +0000 (09:34 -0500)]
script-publish.py: Add more control codes (reset1, reset2, ...)

These new codes were from a typescript where I had used the `reset`
command.  Xterm doesn't support rs3, but I thought I'd add it for
completeness.

The reset commands are listed in order of decreasing complication
(rs3, rs2, rs1), so that if rs1 is a subset of rs2, we don't match
part of an rs2 entry with our rs1 regexp and leave the rest unmatched.
Ideally, we'll only match the low level escape codes, and compound
escapes like rs2 will be handled automatically by taking care of their
constituent parts.  Until we get to that point, we'll need to be
careful about the order of ControlCodes.

11 years agoscript-publish.py: Add debugging output for the chunk stream
W. Trevor King [Sun, 13 Jan 2013 13:49:46 +0000 (08:49 -0500)]
script-publish.py: Add debugging output for the chunk stream

So you can take a look at the raw stream before we start dumping
stuff.  I also made the SGR skipping message more explicit.

11 years agoscript-publish.py: Also reference the console_codes(4) man page
W. Trevor King [Sun, 13 Jan 2013 13:24:55 +0000 (08:24 -0500)]
script-publish.py: Also reference the console_codes(4) man page

This page discusses the console escapes and control codes implemented
by the Linux console.

11 years agoscript-publish.py: Use Unicode horizontal tabs
W. Trevor King [Sun, 13 Jan 2013 13:06:05 +0000 (08:06 -0500)]
script-publish.py: Use Unicode horizontal tabs

Replace the ControlCodeMatch instances with textual tabs, since they
are appropriately handled in `<pre>` blocks.

11 years agoscript-publish.py: Allow emulator selection with --term
W. Trevor King [Sun, 13 Jan 2013 12:50:55 +0000 (07:50 -0500)]
script-publish.py: Allow emulator selection with --term

This means we have to delay ControlCode initialization until the user
has actually selected a terminal.  The curses.setupterm() logic also
assumes that the selected terminal doesn't change after the initial
call.  For our script, this is a safe assumption.  If that assumtion
eventually breaks down, you'll have to cache the last-setup terminal
somewhere, and call setupterm() whenever the current control code's
`.term` doesn't match the cached value.

I also fixed a bug where args.encoding was not being passed to
ScriptServerApp.

11 years agoscript-publish.py: Add my terminal-escape-to-HTML conversion script
W. Trevor King [Sun, 13 Jan 2013 01:10:51 +0000 (20:10 -0500)]
script-publish.py: Add my terminal-escape-to-HTML conversion script

So students can follow along (and easily archive) the instructor's
live terminal session.  I convert all the escape sequences that turned
up during some simple messing around (including opening an Emacs
window), but there are surely some escape sequences that I don't catch
yet.  Also, the HTML output doesn't understand anything about windows
or cursors, so anything inside a curses application (e.g. Emacs) will
probably come out horribly mangled.  Still, things should recover
quickly once you get back to the command line.

If you do want to record curses sessions, you'll probably want to
record scripts with timing information and play them back in an actual
terminal emulator ;).

11 years agofont:GoodCityModern-reduced: Update to add a 0x20 (space)
W. Trevor King [Wed, 9 Jan 2013 18:48:45 +0000 (13:48 -0500)]
font:GoodCityModern-reduced: Update to add a 0x20 (space)

Still compiled with:

  $ font-reduce.py -r 0x9f,0x9f -t 0xfc,0xfc -o GoodCityModern-reduced.woff /usr/share/fonts/freefonts/gocmseq_.pfb

but, I just tweaked font-reduce.py, so the new font has a space
character.  On Gentoo, gocmseq_.pfb is bundled in the
media-fonts/freefonts package.

11 years agofont:Pecita-reduced: Upgrade to Pecita 4.0.0 alpha and add 0x20 (space)
W. Trevor King [Wed, 9 Jan 2013 18:40:35 +0000 (13:40 -0500)]
font:Pecita-reduced: Upgrade to Pecita 4.0.0 alpha and add 0x20 (space)

Upgrade from 3.3.0 to a recently downloaded 4.0.0 alpha and reduce with:

  $ font-reduce.py -s 'http://pecita.eu/police-en.php' -l 'OFL (SIL Open Font License)' Pecita.otf

I just tweaked font-reduce.py, so the new font has a space character.

11 years agofont-reduce.py: Add special space handling
W. Trevor King [Wed, 9 Jan 2013 18:38:51 +0000 (13:38 -0500)]
font-reduce.py: Add special space handling

For some reason, FontForge doesn't like selecting spaces with
`select(('ranges',),...)`.  No idea why, but this works around the
problem.

Reported-by: David Loyall <david.loyall@nebraska.gov>
11 years agofont-reduce.py: Improve ranges/targets error handling and logging
W. Trevor King [Wed, 9 Jan 2013 18:20:36 +0000 (13:20 -0500)]
font-reduce.py: Improve ranges/targets error handling and logging

Now the ranges in the fontlog reflect the actual ranges (instead of
being hardcoded to match the defaults).  Also raise an explicit error
if the number of ranges does not match the number of targets.

11 years agomkogg.py: Upgrade from optparse to argparse
W. Trevor King [Mon, 31 Dec 2012 12:06:20 +0000 (07:06 -0500)]
mkogg.py: Upgrade from optparse to argparse

11 years agomkogg.py: Prefix imports with underscores for a clean namespace
W. Trevor King [Mon, 31 Dec 2012 11:52:18 +0000 (06:52 -0500)]
mkogg.py: Prefix imports with underscores for a clean namespace

12 years agoposts:bugs: mention Hub "pull request warning" pull request
W. Trevor King [Thu, 13 Dec 2012 15:20:52 +0000 (10:20 -0500)]
posts:bugs: mention Hub "pull request warning" pull request

12 years agoposts:script: write up the terminal-recording utility
W. Trevor King [Mon, 10 Dec 2012 13:54:54 +0000 (08:54 -0500)]
posts:script: write up the terminal-recording utility

12 years agoemerge-lastsync.py: handle the never-synced case
W. Trevor King [Sat, 8 Dec 2012 23:58:11 +0000 (18:58 -0500)]
emerge-lastsync.py: handle the never-synced case

12 years agoemerge-lastsync.py: use open() instead of file()
W. Trevor King [Sat, 8 Dec 2012 23:56:47 +0000 (18:56 -0500)]
emerge-lastsync.py: use open() instead of file()

12 years agoposts:bugs: mention PyCuda relative .gitmodules URLs
W. Trevor King [Sat, 8 Dec 2012 19:20:23 +0000 (14:20 -0500)]
posts:bugs: mention PyCuda relative .gitmodules URLs

12 years agoposts:bugs: mention distlib depgraph.rst merge into database.rst
W. Trevor King [Sat, 8 Dec 2012 19:19:26 +0000 (14:19 -0500)]
posts:bugs: mention distlib depgraph.rst merge into database.rst

12 years agoposts:git:notes: mention `git remote prune`
W. Trevor King [Fri, 7 Dec 2012 13:20:54 +0000 (08:20 -0500)]
posts:git:notes: mention `git remote prune`

12 years agoemerge-status.sh: cleanup Bash command substitution and testing
W. Trevor King [Thu, 6 Dec 2012 17:46:20 +0000 (12:46 -0500)]
emerge-status.sh: cleanup Bash command substitution and testing

12 years agoemerge-lastsync.py: convert lastsync.pl to Python
W. Trevor King [Thu, 6 Dec 2012 17:45:19 +0000 (12:45 -0500)]
emerge-lastsync.py: convert lastsync.pl to Python

I don't always have Perl installed.

12 years agoemerge-current.sh: strip trailing whitespace
W. Trevor King [Thu, 6 Dec 2012 17:44:48 +0000 (12:44 -0500)]
emerge-current.sh: strip trailing whitespace

12 years agoposts:conky:*.sh|*.pl: add emerge scripts for conky.
W. Trevor King [Thu, 6 Dec 2012 17:39:58 +0000 (12:39 -0500)]
posts:conky:*.sh|*.pl: add emerge scripts for conky.

Scripts are from http://conky.sourceforge.net/screenshots.html:

http://conky.sourceforge.net/emerge-current.sh
http://conky.sourceforge.net/emerge-progress.sh
http://conky.sourceforge.net/emerge-status.sh
http://conky.sourceforge.net/lastsync.pl

12 years agoposts:git:notes: show how to tag a file (e.g. junio-gpg-pub)
W. Trevor King [Wed, 5 Dec 2012 17:20:09 +0000 (12:20 -0500)]
posts:git:notes: show how to tag a file (e.g. junio-gpg-pub)

12 years agoposts:btrfs: use mkfs.btrfs instead of mkbtrfs
W. Trevor King [Tue, 4 Dec 2012 19:37:33 +0000 (14:37 -0500)]
posts:btrfs: use mkfs.btrfs instead of mkbtrfs

Version 0.19 of btrfs-progs installs the mkfs version.

12 years agoposts:bugs: mention html2text initial crowded <pre> patch
W. Trevor King [Sun, 18 Nov 2012 15:10:10 +0000 (10:10 -0500)]
posts:bugs: mention html2text initial crowded <pre> patch

12 years agoposts:mlmmj: use virtual aliases to match mailing list addresses
W. Trevor King [Tue, 13 Nov 2012 16:17:55 +0000 (11:17 -0500)]
posts:mlmmj: use virtual aliases to match mailing list addresses

Also convert tab indents to spaces.

12 years agoname-by-date.sh: change default exif field to 'Date and Time (Original)'
W. Trevor King [Tue, 13 Nov 2012 16:17:16 +0000 (11:17 -0500)]
name-by-date.sh: change default exif field to 'Date and Time (Original)'

12 years agoposts:git:notes: add cat-file example
W. Trevor King [Mon, 12 Nov 2012 01:30:11 +0000 (20:30 -0500)]
posts:git:notes: add cat-file example

12 years agopost:irc-server: Convert Global.NoPAM -> Options.PAM for ngIRCd v18+.
W. Trevor King [Mon, 1 Oct 2012 12:33:52 +0000 (08:33 -0400)]
post:irc-server: Convert Global.NoPAM -> Options.PAM for ngIRCd v18+.

12 years agoposts:bugs: reference update-copyright pull request for python-kmod.
W. Trevor King [Mon, 22 Oct 2012 18:43:11 +0000 (14:43 -0400)]
posts:bugs: reference update-copyright pull request for python-kmod.

12 years agoposts:bugs: add some bugs/patches (including git submodule add --branch).
W. Trevor King [Mon, 22 Oct 2012 17:44:40 +0000 (13:44 -0400)]
posts:bugs: add some bugs/patches (including git submodule add --branch).

12 years agoposts:git:notes: talk about submodule updates and the branch config option.
W. Trevor King [Mon, 22 Oct 2012 16:04:55 +0000 (12:04 -0400)]
posts:git:notes: talk about submodule updates and the branch config option.

12 years agospectrum.py: add a simple script for plotting power spectra
W. Trevor King [Thu, 18 Oct 2012 20:56:40 +0000 (16:56 -0400)]
spectrum.py: add a simple script for plotting power spectra

Sometimes you want more frequency detail than the standard
calibcant-plot.py scripts will give you.  This script plots a single
(not chunked and averaged) power spectrum, which increases frequency
resolution at the expense of statistical significance.  Example usage
would be something like

  $ spectrum.py -f detail.png -t 'Vibration 15' -F 50000 \
    calibcant/2012-10-01T16-51-15-calibcant-data.h5 /vibration/15/raw/data

12 years agocompare-unfold.py: add --single option for less crowded plots.
W. Trevor King [Thu, 18 Oct 2012 17:10:36 +0000 (13:10 -0400)]
compare-unfold.py: add --single option for less crowded plots.

12 years agogallery.py: add caption title/alt to images.
W. Trevor King [Wed, 17 Oct 2012 22:42:27 +0000 (18:42 -0400)]
gallery.py: add caption title/alt to images.

12 years agogallery.py: escape XML chars (<, &, and >) in caption paragraphs.
W. Trevor King [Wed, 17 Oct 2012 22:41:59 +0000 (18:41 -0400)]
gallery.py: escape XML chars (<, &, and >) in caption paragraphs.

12 years agogallery.py: adjust CGIGalleryServer._image() to handle no kwargs case.
W. Trevor King [Wed, 17 Oct 2012 22:31:21 +0000 (18:31 -0400)]
gallery.py: adjust CGIGalleryServer._image() to handle no kwargs case.

12 years agocompare-unfold.py: add bit-level comparison between my and Marisa's programs.
W. Trevor King [Tue, 16 Oct 2012 17:55:49 +0000 (13:55 -0400)]
compare-unfold.py: add bit-level comparison between my and Marisa's programs.

Marisa was using Prof. Yang's LabVIEW unfolder, while I use my
pyafm-based unfolder.  The `compare-unfold.py` script allows bit-level
comparison between the two approaches, reading the native data saved
by each approach.  Here's an example using local data on my system:

  $ ./compare-unfold.py \
    ~/rsrch/analysis/labview-comparison/gyang/2012-10-01-unfold/ \
    ~/rsrch/analysis/labview-comparison/wking/unfold/

12 years agogit-publish.py: bump to Python 3.
W. Trevor King [Fri, 12 Oct 2012 14:35:30 +0000 (10:35 -0400)]
git-publish.py: bump to Python 3.

12 years agogyang_curve.py: reader for LabVIEW unfolding experiments.
W. Trevor King [Thu, 11 Oct 2012 22:19:34 +0000 (18:19 -0400)]
gyang_curve.py: reader for LabVIEW unfolding experiments.

12 years agoposts:aspire_one: mention sys-kernel/linux-firmware package for brcm firmware.
W. Trevor King [Thu, 11 Oct 2012 22:17:24 +0000 (18:17 -0400)]
posts:aspire_one: mention sys-kernel/linux-firmware package for brcm firmware.

12 years agocaption: add a captioning script.
W. Trevor King [Sun, 30 Sep 2012 01:04:37 +0000 (21:04 -0400)]
caption: add a captioning script.

12 years agoscgi-test: update byte/string handling for Python 2/3 compatability.
W. Trevor King [Sat, 29 Sep 2012 13:24:12 +0000 (09:24 -0400)]
scgi-test: update byte/string handling for Python 2/3 compatability.

12 years agoscgi-test: convert urlparse -> urllib.parse for Python 3.
W. Trevor King [Sat, 29 Sep 2012 12:44:00 +0000 (08:44 -0400)]
scgi-test: convert urlparse -> urllib.parse for Python 3.

12 years agoposts:xmodmap:gen_sampler.py: update to Python 3.
W. Trevor King [Fri, 28 Sep 2012 04:33:36 +0000 (00:33 -0400)]
posts:xmodmap:gen_sampler.py: update to Python 3.

12 years agoposts:yacc2dot: edit the post, update script to Python 3, and rename to .py.
W. Trevor King [Fri, 28 Sep 2012 04:12:25 +0000 (00:12 -0400)]
posts:yacc2dot: edit the post, update script to Python 3, and rename to .py.

12 years agoposts:pdf-forms: fix XFDF specs link reference.
W. Trevor King [Fri, 28 Sep 2012 02:20:53 +0000 (22:20 -0400)]
posts:pdf-forms: fix XFDF specs link reference.

12 years agopost:irc-server: Convert Options.PAM -> Global.NoPAM for ngIRCd v17+.
W. Trevor King [Fri, 28 Sep 2012 01:28:01 +0000 (21:28 -0400)]
post:irc-server: Convert Options.PAM -> Global.NoPAM for ngIRCd v17+.

Also replace tabs with spaces in the Markdown source.

12 years agocontact: update email to tremily.
W. Trevor King [Fri, 28 Sep 2012 00:26:14 +0000 (20:26 -0400)]
contact: update email to tremily.

12 years agoposts:ldap: update Python scripts to explicitly use Python 2.
W. Trevor King [Fri, 28 Sep 2012 00:08:16 +0000 (20:08 -0400)]
posts:ldap: update Python scripts to explicitly use Python 2.

python-ldap doesn't have a Python 3 version yet.  I made a few other
changes to increase Python 3 compatibility, and added a full copyright
blurb to abook-ldif-cleanup.py.

12 years agoposts:kerberos: link to my reverse-DNS trace patch and git clone URL.
W. Trevor King [Thu, 27 Sep 2012 21:12:33 +0000 (17:12 -0400)]
posts:kerberos: link to my reverse-DNS trace patch and git clone URL.

12 years agoposts:ldap: remove duplicate `-d 1` arguments to ldapwhoami.
W. Trevor King [Thu, 27 Sep 2012 20:50:25 +0000 (16:50 -0400)]
posts:ldap: remove duplicate `-d 1` arguments to ldapwhoami.

12 years agoposts:x.509: add certificate verification examples for OpenSSL and GnuTLS.
W. Trevor King [Thu, 27 Sep 2012 20:22:25 +0000 (16:22 -0400)]
posts:x.509: add certificate verification examples for OpenSSL and GnuTLS.

12 years agoposts:ldap: mention release which fixes OpenLDAP bug 7271.
W. Trevor King [Thu, 27 Sep 2012 18:48:43 +0000 (14:48 -0400)]
posts:ldap: mention release which fixes OpenLDAP bug 7271.

12 years agoposts:bugs: add link to Slink to Gitorious typo/permissions cleanup.
W. Trevor King [Thu, 27 Sep 2012 18:27:13 +0000 (14:27 -0400)]
posts:bugs: add link to Slink to Gitorious typo/permissions cleanup.

12 years agoposts:bugs: add link to SMC1211TX PCI ID patch.
W. Trevor King [Wed, 26 Sep 2012 02:05:33 +0000 (22:05 -0400)]
posts:bugs: add link to SMC1211TX PCI ID patch.

12 years agoposts:pdf_forms: link to TextFieldFonts.java example for PDF font tweaks.
W. Trevor King [Thu, 20 Sep 2012 23:04:35 +0000 (19:04 -0400)]
posts:pdf_forms: link to TextFieldFonts.java example for PDF font tweaks.

12 years agoposts:pdf_forms: add PDF forms post (FDF and pdftk).
W. Trevor King [Thu, 20 Sep 2012 20:42:02 +0000 (16:42 -0400)]
posts:pdf_forms: add PDF forms post (FDF and pdftk).

12 years agoposts:pdf_bookemarks: fix Ubunto -> Ubuntu typo.
W. Trevor King [Wed, 19 Sep 2012 07:08:55 +0000 (03:08 -0400)]
posts:pdf_bookemarks: fix Ubunto -> Ubuntu typo.

12 years agoposts:comparing_velocity_clamp_experiments: add expected unfolding force line.
W. Trevor King [Mon, 17 Sep 2012 18:04:39 +0000 (14:04 -0400)]
posts:comparing_velocity_clamp_experiments: add expected unfolding force line.

For comparing crunched results against previously published numbers.

12 years agoposts:comparing_velocity_clamp_experiments: extract pull velocity.
W. Trevor King [Mon, 17 Sep 2012 18:03:04 +0000 (14:03 -0400)]
posts:comparing_velocity_clamp_experiments: extract pull velocity.

For determining the expected unfolding force.

12 years agolocal.css: add curve to the bottom-left sidebar border.
W. Trevor King [Mon, 17 Sep 2012 13:41:43 +0000 (09:41 -0400)]
local.css: add curve to the bottom-left sidebar border.

12 years agoposts:FRC: add reproduction of Livadaru's figure 14.
W. Trevor King [Sat, 15 Sep 2012 01:47:01 +0000 (21:47 -0400)]
posts:FRC: add reproduction of Livadaru's figure 14.

12 years agoposts:comparing_velocity_clamp_experiments: added post.
W. Trevor King [Fri, 14 Sep 2012 22:02:10 +0000 (18:02 -0400)]
posts:comparing_velocity_clamp_experiments: added post.

12 years agoposts:mutt: add local Postfix caveat.
W. Trevor King [Fri, 14 Sep 2012 19:48:00 +0000 (15:48 -0400)]
posts:mutt: add local Postfix caveat.

12 years agoposts:mutt: prefer single quotes over double quotes.
W. Trevor King [Fri, 14 Sep 2012 19:28:45 +0000 (15:28 -0400)]
posts:mutt: prefer single quotes over double quotes.

12 years agoposts:mutt: update link for Drexel mail server address information.
W. Trevor King [Fri, 14 Sep 2012 19:27:46 +0000 (15:27 -0400)]
posts:mutt: update link for Drexel mail server address information.

12 years agoposts:mutt: assorted editing. no major changes.
W. Trevor King [Fri, 14 Sep 2012 19:05:55 +0000 (15:05 -0400)]
posts:mutt: assorted editing.  no major changes.

12 years agoposts:mutt: copy post over from Drexel Liki.
W. Trevor King [Wed, 4 Feb 2009 18:06:00 +0000 (13:06 -0500)]
posts:mutt: copy post over from Drexel Liki.

This is my

  http://www.physics.drexel.edu/liki/index.php?title=Mutt&oldid=2213

translated into Markdown.  I had been the only contributor to that
liki page at that point.

12 years agoposts:gstreamer:beep: use argparse default values for frequency.
W. Trevor King [Fri, 14 Sep 2012 16:32:56 +0000 (12:32 -0400)]
posts:gstreamer:beep: use argparse default values for frequency.

12 years agoposts:gstreamer:beep: no need to import gtk for an endless loop.
W. Trevor King [Fri, 14 Sep 2012 16:07:10 +0000 (12:07 -0400)]
posts:gstreamer:beep: no need to import gtk for an endless loop.

12 years agoposts:gstreamer:beep: refactor to create the Beep class.
W. Trevor King [Fri, 25 Nov 2011 12:52:18 +0000 (07:52 -0500)]
posts:gstreamer:beep: refactor to create the Beep class.

12 years agoposts:gstreamer:beep: add Jono Bacon's GStreamer beep tutorial.
Jono Bacon [Mon, 12 Oct 2009 18:59:39 +0000 (18:59 +0000)]
posts:gstreamer:beep: add Jono Bacon's GStreamer beep tutorial.

From:
  http://www.jonobacon.org/2006/08/28/getting-started-with-gstreamer-with-python/
  http://jonobacon.org/files/gstreamertutorial-1.py

12 years agoposts:postfix: make generic regexp rules more specific.
W. Trevor King [Fri, 14 Sep 2012 12:09:55 +0000 (08:09 -0400)]
posts:postfix: make generic regexp rules more specific.

The earlier rule remapped *everything* (including the "To" addresses),
which made it hard to send email to anyone but myself ;).

12 years agoposts:postfix: also add a link for `relayhost`.
W. Trevor King [Fri, 14 Sep 2012 11:50:54 +0000 (07:50 -0400)]
posts:postfix: also add a link for `relayhost`.

12 years agoposts:postfix: use smtp_generic_maps instead of sender_canonical_maps.
W. Trevor King [Fri, 14 Sep 2012 10:34:01 +0000 (06:34 -0400)]
posts:postfix: use smtp_generic_maps instead of sender_canonical_maps.

Thanks to David Craig (0x94081B81) for suggesting the shift from
canonical to generic.

I also:

* Switched from hash- to regexp- tables, because I'm mapping all
  outgoing mail to the same From address.
* Added links for the various configuration parameters.
* Wrapped the first "Incoming mail" paragraph.

12 years agoposts:FRC: add freely rotating chain post.
W. Trevor King [Wed, 12 Sep 2012 14:53:52 +0000 (10:53 -0400)]
posts:FRC: add freely rotating chain post.

12 years agoposts:dotfiles: fix `installation framework` link to dotfiles-framework.git.
W. Trevor King [Mon, 10 Sep 2012 17:14:36 +0000 (13:14 -0400)]
posts:dotfiles: fix `installation framework` link to dotfiles-framework.git.

12 years agoposts:git:notes: point people towards git notes ref base thread.
W. Trevor King [Wed, 5 Sep 2012 17:57:15 +0000 (13:57 -0400)]
posts:git:notes: point people towards git notes ref base thread.

Thanks to Johan for the pointer:

From: Johan Herland
Subject: Re: [PATCH 0/2] Add --expand to 'git notes get-ref'
Date: Wed, 5 Sep 2012 17:58:37 +0200
Archived-At: <http://permalink.gmane.org/gmane.comp.version-control.git/204833>

On Wed, Sep 5, 2012 at 2:48 PM, W. Trevor King <wking@tremily.us> wrote:
> The second commit makes the expansion less strict about the location
> of note refs.  In his initial mail introducing 'git notes', Johan says
> that note refs should live under 'refs/notes' [1].  This seems like a
> good place for local notes, but note refs from remote repos should
> probably live somewhere else (e.g. 'refs/remote-notes/' or
> 'refs/remotes/<name>/notes/'.  In the initial thread there are a few
> messages talking about looking up reverse mappings under 'refs/notes/',
> but this seems to all have been before the 'refs/notes/<namespace>/'
> stage.  If I'm missing a good reason to keep everything under
> 'refs/notes/', feel free to ignore the second patch.

This has been discussed a couple of times on this list, but it never
resulted in any actual changes. Read up on this thread to get some
context:

http://thread.gmane.org/gmane.comp.version-control.git/160503

12 years agoposts:git:notes: add missing origin/master to format-patch example.
W. Trevor King [Tue, 4 Sep 2012 21:44:59 +0000 (17:44 -0400)]
posts:git:notes: add missing origin/master to format-patch example.

12 years agoposts:Git:notes: add a quick intro to `git notes`.
W. Trevor King [Tue, 4 Sep 2012 01:34:12 +0000 (21:34 -0400)]
posts:Git:notes: add a quick intro to `git notes`.

12 years agoposts:pygrader: update description to match pygrader v0.3.
W. Trevor King [Sun, 2 Sep 2012 20:29:26 +0000 (16:29 -0400)]
posts:pygrader: update description to match pygrader v0.3.

12 years agogallery.py: restore `*args` handling in _ogv() and ._mp4().
W. Trevor King [Sat, 1 Sep 2012 21:09:41 +0000 (17:09 -0400)]
gallery.py: restore `*args` handling in _ogv() and ._mp4().

This was broken by an overly exuberant:

  commit 6506f908b65778cb17ef200560c2873babeb48b6
  Author: W. Trevor King <wking@tremily.us>
  Date:   Sun Aug 12 18:53:00 2012 -0400

    Pass stream into ._error() calls in gallery.py.

    Avoids 502 errors when ._response() tries to .write() when stream is
    None.

12 years agoposts:Git:notes: add commit signing example.
W. Trevor King [Thu, 30 Aug 2012 12:15:14 +0000 (08:15 -0400)]
posts:Git:notes: add commit signing example.

12 years agolocal.css: add curves to content and header borders.
W. Trevor King [Thu, 30 Aug 2012 11:52:33 +0000 (07:52 -0400)]
local.css: add curves to content and header borders.

12 years agoAllow gallery.py to serve original images.
W. Trevor King [Sat, 25 Aug 2012 13:55:24 +0000 (09:55 -0400)]
Allow gallery.py to serve original images.

This reworks some of the internals to clean up URL validation and
error handling.  Rather than pass `stream` around, we raise the new
HTTPError wherever we want.  These errors are caught and dealt with
higher up, so low level internal functions don't need to care.  That
way I don't get nervous the next time I forget about
ProcessingComplete ;).

12 years agoAdd --port option to gallery.py.
W. Trevor King [Sat, 25 Aug 2012 13:54:17 +0000 (09:54 -0400)]
Add --port option to gallery.py.

Also make the option defaults simpler.

12 years agoAdd DOCUMENT_URI to scgi-test.py.
W. Trevor King [Sat, 25 Aug 2012 12:59:49 +0000 (08:59 -0400)]
Add DOCUMENT_URI to scgi-test.py.

12 years agoFix Unicode tag encoding in mkogg's mp3 output.
W. Trevor King [Wed, 22 Aug 2012 00:37:36 +0000 (20:37 -0400)]
Fix Unicode tag encoding in mkogg's mp3 output.

12 years agoRename related files in name-by-date.sh (XYZ.jpg and XYZ.mov stay together).
W. Trevor King [Mon, 20 Aug 2012 14:35:14 +0000 (10:35 -0400)]
Rename related files in name-by-date.sh (XYZ.jpg and XYZ.mov stay together).

12 years agoAdd Roundup section to Bugs post.
W. Trevor King [Mon, 20 Aug 2012 14:33:52 +0000 (10:33 -0400)]
Add Roundup section to Bugs post.

12 years agoMention igor package on Gentoo overlay post.
W. Trevor King [Sun, 19 Aug 2012 17:06:15 +0000 (13:06 -0400)]
Mention igor package on Gentoo overlay post.

12 years agoAdd SOCKS post.
W. Trevor King [Wed, 15 Aug 2012 20:36:04 +0000 (16:36 -0400)]
Add SOCKS post.

12 years agoAlso search on displayName in mutt-ldap.py and ldap-jpeg.py.
W. Trevor King [Wed, 15 Aug 2012 14:13:20 +0000 (10:13 -0400)]
Also search on displayName in mutt-ldap.py and ldap-jpeg.py.

Also prefer displayName to cn when formatting names.

12 years agoUpdate rpath post with information about setting RPATH and RUNPATH.
W. Trevor King [Tue, 14 Aug 2012 13:54:16 +0000 (09:54 -0400)]
Update rpath post with information about setting RPATH and RUNPATH.

12 years agoAdd AFM/STM hardware links to the open source force spect. post.
W. Trevor King [Thu, 2 Aug 2012 14:21:13 +0000 (10:21 -0400)]
Add AFM/STM hardware links to the open source force spect. post.

12 years agoAdd AVR-libc ATMega32u4 support patch to bug post.
W. Trevor King [Mon, 30 Jul 2012 12:24:23 +0000 (08:24 -0400)]
Add AVR-libc ATMega32u4 support patch to bug post.