Aleksey Tsalolikhin's blog

Conference report: Configuration Management Summit 2010

Submitted by Aleksey Tsalolikhin on Wed, 2010-08-25 00:27.

My report from USENIX 2010 Configuration Management Summit is at http://www.linux-mag.com/id/7841

Cool things I saw at SIGGRAPH 2010 exhibition hall

Submitted by Aleksey Tsalolikhin on Thu, 2010-07-29 10:14.

SIGGGRAPH 2010

Trip Report of Cool Things Aleksey Saw in the Exhibition Hall

(Coolest stuff at the top.)

- FusionIO had the coolest demo!! 1500 DVD-quality videos streaming
from a single Fusion IO (RAM-based) 640 GB drive displayed onto a large
virtual screen (composed of 16 - that's 4x4 large displayes). all 1500
videos were displayed simultaneiously in tiny little rectangles.

- Digital Double Agency - a French company (www.adnda.com) used to capture
your face (three sessions of 4 hours each) and a wide variety of facial expression; and capture your voice; and then the double can talk and interact -- so you can capture a celebrity's likeness and have the digital double act in movies; or so you can have an avatar online.

Results of trying to vary GNU tar blocking factor to increase tape write/read speed for 2K content

Submitted by Aleksey Tsalolikhin on Fri, 2010-07-09 16:17.
My results transferring 685 2K frames (11MB per file, 8.1 GB total) using GNU tar to/from LTO4 tape

Turning perl regular expressions from line noise into documented code

Submitted by Aleksey Tsalolikhin on Fri, 2010-06-25 12:21.

Problem: Sufficiently long regular expressions start to look like line noise and become unmaintainable

Solution: Use perl regular expressions with the /x modifier

perlre manpage reads:

/x
Extend your pattern's legibility by permitting whitespace and comments.
These are usually written as ``the /x modifier''...

The /x modifier itself needs a little more explanation. It tells the
regular expression parser to ignore whitespace that is neither
backslashed nor within a character class. You can use this to break up
your regular expression into (slightly) more readable parts.

The # character is also treated as a metacharacter introducing a

Aleksey at SCALE 8x

Submitted by Aleksey Tsalolikhin on Sat, 2010-02-20 07:58.

Going to SCALE 8x today - I'll be in the LOPSA booth, PostgreSQL booth and doing FOSS tours. Do I know how to overcommit or what?

Preventing rsync from picking up rsync temp files.

Submitted by Aleksey Tsalolikhin on Wed, 2010-02-17 15:06.

If you have multiple vias in your rsync path (e.g. a -> b -> c) you
can use an rsync filter rule to tell rsync: don't transfer files that
have . in the beginning of the filename!

--filter '- .*'

This way you won't have rsync temp files (named something like
.filename.xxyyzz) from the a -> b transfer ending up on c.

Yay! My Cfengine 3 post is out on the SysAdvent Calendar.

Submitted by Aleksey Tsalolikhin on Thu, 2009-12-24 09:40.

Just submitted an article on Cfengine 3 to the Sys Advent Calendar blog

Submitted by Aleksey Tsalolikhin on Fri, 2009-12-18 21:26.Applications

Just submitted an article on Cfengine 3 to http://sysadvent.blogspot.com/ - I guess it'll be a few days before it's posted.

Use dblatex to generate PDF's from DocBook XML

Submitted by Aleksey Tsalolikhin on Tue, 2009-12-08 07:27.Documentation

After much tearing out of hair, learned to use dblatex (not passivetex) to generate PDF's from my DocBook XML. Runs faster and smoother - that is to say it actually generates the PDF instead of just spewing out LaTeX errors.

Getting AsciiDoc -> DocBook XML -> PDF pipeline working on CentOS 5.3

Submitted by Aleksey Tsalolikhin on Fri, 2009-11-27 16:39.Documentation

I'm trying AsciiDoc to obviate the XML "tag soup" I am eating with my DocBook docs.

There were two things I had to tweak to get the asciidoc .TXT -> DocBook XML -> PDF pipeline working on CentOS 5.3:

1. Remove or comment out every mention of the "--nonet" switch in my xmlto (v0.0.23) (xmlto is the wrapper script for the DocBook XML -> PDF process). AsciiDoc generates DocBook XML 4.5, and the CentOS docbook-dtds package only goes up to 4.4, so we need to be able to access the DocBook XML 4.5 DTD over the net.

2. Do NOT put any author info into the AsciiDoc file, as leaving it in would break the LaTeX leg of the process. (DocBook XML -> XHTML would work fine, but DocBook XML -> PDF (or DVI) would break.) Once I took that out, I was able to generate PDF files.

XML feed
GNU tar Blocking Factor Write LTO4 Read LTO4
1024 2m34s 1m16s
2048 1m24s 1m16s
4096 1m19s 1m34s