Some BSD Multimedia

Here’s several things to look at:

Michael Lucas’s “BSD Needs Books” talk from NYCBSDCon 2010, on Youtube.  I’ve talked about it before because I saw it in person; it’s a good talk.  Ironically, he talks about getting a publisher interested in your book, and he just self-published.

Hubert Feyrer linked to the slides of two pkgsrc talks at FOSDEM; one about bringing pkgsrc to MirBSD, and one about pkgin, which is included in DragonFly.

GCC 4.6 now possible

John Marino has made it possible to build world and kernel on DragonFly using GCC 4.6 in the form of gnat-aux.  (We’re currently on GCC version 4.4)  Note that version 4.6 isn’t included with DragonFly, so you would need to download and compile GCC 4.6 a very recent version of lang/gnat-aux, and set CCVER=gcc46 before building world and kernel to try this out.

Update: John Marino points out in comments that you need to set WORLD_CCVER, not CCVER as his original message said.

Lazy Reading for 2012/02/05

It’s like early spring here in the northeast US.  Which would be fine if it was actually spring.  I miss snow.

  • An explanation of the classic UNIX hierarchy.  (via thesjg on EFNet #dragonflybsd)  I’m behind any explanation that uses the phrase “accretion disk” to describe an organization.
  • Hipster BSD.  If this doesn’t make sense to you, it’s based on this.
  • Would you like to have DNSSEC upgrading explained to you?
  • Hooray for Unicode!  (via)
  • What Commons Do We Wish For?  I was, briefly, technically, an AOL employee after the Time Warner merger in 2000.  I didn’t like the notion of working for a walled garden then, and I think that’s why Facebook and other companies irk me now.  Anyway, read that article for a good explanation of why that feeling is important.

Your unrelated link of the week: Top Shelf 2.0.  A small comics publisher that has put much of their comics online to read.  Their stuff on paper is worth buying too, as I have been doing for a while now.

Book Review: SSH Mastery

I’ve reviewed Michael Lucas’s book here before, so when he offered a chance to read his newest, SSH Mastery, I jumped at the chance.  Michael Lucas has published a number of technical books through No Starch Press, and started wondering out loud about self-publishing.  This is, I think, his first self-published technical volume.

It’s a very straightforward book.  The introduction opens with a promise not to waste space showing how to compile OpenSSH in text.  Chapter 2 ends with the sentence, “Now that you understand how SSH encryption works, leave the encryption settings alone.”  This stripping-down of the usual tech-book explanations gives it the immediacy of extended documentation on the Internet.  Not the multipage how-to articles used as vehicles for advertising, but an in-depth presentation from someone who used OpenSSH to do a number of things, and paid attention while doing it.

It’s a fun read, and there’s a good chance it covers an aspect of SSH that you didn’t know.  In my case, it’s the ability to attach a command to a public key used for login.  It even covers complex-but-oh-so-useful VPN setups via SSH.

If you’re looking for philosophical reasons to buy it, how about the lack of DRM?

The physical version is not available yet, but the electronic version is available at Amazon (Kindle), Barnes & Noble (Nook), or from Smashwords (every other format ever, including .txt).  The Smashwords variety of formats means that you’ll be able to read it on your phone, one way or another; I’d like to see more books that way in the future.

 

Lazy reading for 2012/01/29

This is the week of the funny, apparently.

Your totally unrelated video link of the week: The Necronomicon.  Pitch perfect.

Up-to-date packages and pkgsrc

Ulrich Habel wants to update some of the Perl 5 modules in pkgsrc.  He published a request for comments, describing what he plans to do for changing some dependencies.  He does note that Perl 5 in pkgsrc is at 5.14.2, which is very recent.

I was talking to a relative today who works at a large financial company, which is standardizing on Red Hat Enterprise.  I find it strange that Red Hat, which has a lot of money behind it, still ships a years-old and arguably broken version of perl.   By using pkgsrc, you’re getting more up-to-date software than people that actually shell out money for the privilege of compiling software.

Book review: The Linux Command Line

I received an email from No Starch Press about reviewing this book, and my first reaction was to say no.  I assumed this was essentially a book about using Bash, and therefore probably not useful to people reading the Digest.

I read it despite my knee-jerk reaction, and I didn’t need to reject it so suddenly.  Almost all of the book will apply to any Unix-like system.

My first real experience with something that wasn’t Windows or a Mac was at a summer job during college, sitting in front of a SparcStation 5 editing files and processing data for real estate.  Much of my muscle memory about vi and file manipulation dates from then.  This book, even though it’s technically for a different operating system, would have been just what I needed.  There’s no system administration in the book, just making your way around a filesystem and the tools you need to get results.  It’s the kind of skills I think people lose out on when they boot to a graphical interface in Ubuntu, for example, and then never experience these tools.

Negatives: a few areas won’t be of use to most BSD users, like the section on packaging, or the bash-centric instructions in the shell programming area.  There’s the occasional off comment, like that OpenSSH originates from “the BSD project”.  There’s surprisingly little of this however, and I had to think a bit to write this negative paragraph.

Positives:  The book puts the proper focus on some complex but rewarding aspects of command line use, like using vi (alright, vim) and understanding regular expressions.  Much of what it covers is the same material I’ve learned to use over time, and explained to others.

There’s clearly two areas to the book; the first half is about using the command line to accomplish work, and the second is about shell programming.  Making it at least through the first half will result in being able to work at a prompt with little issue, with the shell programming a nice bonus.  It’s not the normal mix of admin tasks and introductory text; it’s about working at the command line.  I imagine giving it to new software testers in a lab, or to a Windows user that has to deal with the occasional unfamiliar environment.  There isn’t an equivalent BSD-centric book like this, so it wouldn’t hurt a BSD user, either.

It’s available now at the No Starch website.