Book Review: “A Mind at Play”

A Mind At Play by Jimmy Soni and Rob Goodman should be on every techie’s gift list this year because it is superb and because everyone in a technology or information field should know who Claude Shannon is.

When Jimmy Soni offered me a review copy of this new biography of Claude Shannon, I immediately said yes. I knew a little about Shannon from reading The Idea Factory and The Information, and I was looking forward to learning more. The results in A Mind At Play are just what I hoped for.

Soni and Goodman do an excellent job of presenting Shannon’s technical work  to a mostly lay audience, although there is enough depth (and footnotes) to allow you to dig deeper if you are interested. The explanation of his information theory work is clearly laid out and builds from the simplifying model of how communication works to the stochastic analysis of letter frequency and redundancy to finally reach the description of the Shannon limit on the communication speed over any medium. They also cover his contributions in other fields like genetics and mathematics.

The technical sections are interspersed with anecdotes from his life, from his education through his career at Bell Labs and MIT, showing how his continual “constructive dissatisfaction” with the state of the world served as a motivating force in his exploration of a wide range of topics. He set his own course and focused on the things he wanted to, and was privileged to have the freedom to do so. While some of the topics seemed like play, his work always exposed something new; at least to him.

For more details, download this interview with the authors on the Software Engineering Daily podcast.

imapautofiler 1.6.0

imapautofiler applies user-defined rules to automatically organize messages on an IMAP server.

What’s new in 1.6.0?

  • TimeLimit Rule (contributed by jacques-cadet)
  • Allow more imap configuration via autofiler config (contributed by Matt Olsen)

imapautofiler 1.5.0

imapautofiler applies user-defined rules to automatically organize messages on an IMAP server.

What’s new in 1.5.0?

  • Add support for using the keyring module to store the IMAP password (contributed by Chris Rose)
  • restore the api documentation
  • Add documentation of mailbox list and example configuration (contributed by Dan Poirier)

tempfile — Temporary File System Objects — PyMOTW 3

Creating temporary files with unique names securely, so they cannot be guessed by someone wanting to break the application or steal the data, is challenging. The tempfile module provides several functions for creating temporary file system resources securely. TemporaryFile() opens and returns an unnamed file, NamedTemporaryFile() opens and returns a named file, SpooledTemporaryFile holds its content in memory before writing to disk, and TemporaryDirectory is a context manager what removes the directory when the context is closed.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

imapautofiler 1.3.0

imapautofiler applies user-defined rules to automatically organize messages on an IMAP server.

What’s new in 1.3.0?

  • add sort action with the ability to derive a destination mailbox name from a message header
  • add sort-mailing-list action
  • add a rule for checking if a message is from a mailing list
  • add a rule for checking if a header exists
  • do not die if there is an error handling one message

pathlib — Filesystem Paths as Objects — PyMOTW 3

pathlib includes classes for managing filesystem paths formatted using either the POSIX standard or Microsoft Windows syntax. It includes so called “pure” classes, which operate on strings but do not interact with an actual filesystem, and “concrete” classes, which extend the API to include operations that reflect or modify data on the local filesystem.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.