BSDCam Trip Report

The FreeBSD Foundation has posted my BSDCam trip report. I also want to sincerely thank the Foundation for helping defray my expenses.

Robert Watson runs an excellent event. And what I learned at BSDCam will appear through the new Absolute FreeBSD.

Speaking of which, I need to go make some words. Bye.

Contributing to FreeBSD

I’ve talked to a whole bunch of folks who say things like “I’m a junior programmer. I’m looking for a way to help. I have no specific expertise, but I’m willing to learn.” Today, I present such junior programmers with an opportunity. An opportunity for you to learn skills that will be incredibly valuable to your career, and will simultaneously expand your career opportunities.

I’m at the FreeBSD BSDCam devsummit, gathering dirt information for the new Absolute FreeBSD. One of the topics is testing.

For decades, FreeBSD has relied on its users for testing. They expect users to install pre-release versions of the OS and exercise them to identify regressions. That’s necessary, but it’s nowhere near enough.

The FreeBSD Testing Project is building an automated test suite for the entire operating system. They have a whole mess of work to do. There’s only four people on the team, so each additional person that contributes can have a serious impact. They have tutorials on how to write tests, and sample tests.

There’s a whole bunch of tests left to be written. You have an almost open field. They need tests for everything from ls(1) to bhyve. (Yes, ls(1) broke at one point in the last few years.) Everything needs testing. Learning to write, submit, and commit small tests is valuable experience for developing the big tests.

And “I perform automated testing of my own code before the test team gets to see it” is a valuable item on your resume.

What’s more, learning to write tests for a system means learning the system. Developing tests will transform you into a FreeBSD expert. Once you’ve demonstrated your competence, worth, and ability to work within the project, other FreeBSD teams will solicit your help and advice. The Project will suck you in.

Testing is perhaps the most valuable contribution anyone can make to an open source project. And this door into the FreeBSD Project is standing wide, wide open.

AF3e Status, 17 July 2017

For those who are watching me write the third edition of “Absolute FreeBSD,” here’s where things stand.

It’s at 77,400 words. 7 of 24 chapters exist [edit: oops, typo, not “chapter sexist,” spellcheckers are useless] as first drafts. Three more chapters are partially finished.

The current outline looks like this. Chapter titles subject to change. For reference, the ideal chapter length of a No Starch book is about 5000 words.

0 – Introduction (7500 words, d1 done)
1 – Getting More Help
2 – Pre-Install Considerations (4900 words)
3 – Installing (write last, because screenshots are evil)
4 – Booting (8300 words, SOL hates me)
5 – Backups
6 – Kernel
7 – Networking (8800 words, d1 done)
8 – Configuring Ethernet (7700 words, d1 done)
9 – Security
10 – Partitioning & GEOM (10700 words, d1 done)
11 – UFS (8000 words)
12 – ZFS
13 – Other Filesystems
14 – More Security
15 – /etc
16 – Packages (8600 words, d1 done)
17 – Ports (6800 words, d1 done)
18 – Software Management
19 – Upgrading
20 – Small System Services
21 – Performance
22 – Jails (6100 words, d1 done)
23 – Misc Crap
24 – Panics & Bugs
Afterword

Why write in this order?

When writing a large book, I always write the hard parts first. This means the book gets easier as it goes on. I don’t waste time or energy dreading That Topic.

It also means that I can write the really easy stuff when I literally cannot write the difficult stuff. I went to London, Ontario last weekend and was able to spend a few hours writing. I didn’t have my test lab, but I could sit on the front porch and write the Introduction.

Some of these chapters are difficult because of the research and testing. IPMI Serial over LAN is really ticking me off right now. I’m sure there’s a minor setting that I’m missing, and that once I find it everything will fall into place. Finding that setting will tell me what I don’t know, and let me explain and provide context. People buy my books for context. So, the product here is my frustration and suffering.

Some of these chapters are difficult because I’ve done too much research. I get a chapter on ZFS? Cool. But Allan Jude and I wrote two entire books on ZFS. Distilling that down to one-sixteenth the length, while providing context, and not shamelessly shilling those two books? Ugh.

Why these topics?

Because that’s what FreeBSD sysadmins must know.

Some of you will ask “where is bhyve?” Fair question. The bhyve developers are actively rototilling bhyve configuration. If I write a bhyve chapter now, it will be obsolete before the book hits print. That’s bad Including a bhyve chapter depends entirely on the bhyve devs.

If the bhyve devs settle on a configuration before the end of October, I’ll squeeze a chapter in after the jails chapter.

If they don’t, then you’ll have to wait for FreeBSD Mastery: Bhyve.

Get My Books Cheap

A novel and a story, at least.

I was recently invited into two different book bundles, where you can get a whole bunch of books by different authors at a cheap price. A bundle is pretty much a sampler pack of similar stuff.

If you’ve read my fiction and liked it, here’s your chance to discover a bunch of new authors in my genres.

If you haven’t read my fiction, here’s a chance to inexpensively try it and a bunch of other stuff.

First up is the Sci-Fi July bundle.

Sci-fi July Fever Fun

It’s eleven novels, including my Montague Portal novel Hydrogen Sleets. The heroine, Aidan Redding, is a redshirt who keeps getting stuck in situations that should slaughter redshirts. No matter how I try, though, I just can’t kill that woman. She’s tough, yes, but better still: she’s smart. Smarter than I am, at least.

Second we have the Crimes, Capers, and Rule-Breakers bundle, that includes my story Butterfly Stomp. It’s on pre-order now for only $0.99.

Crimes, Capers, & Rule-Breakers

I love crime. Well, reading about crime. Fictional crime, not Oracle. As a writer, Beaks is one of those characters that wandered in off the street and said “I’m a horrible person. But you can’t help loving me.” Yes, she’ll shoot you in the head if you’re inconvenient, but she’ll feel really bad about it, so that’s okay. And if you like the Butterfly Stomp short, the story continues in the novel Butterfly Stomp Waltz.

Between the two, you’ll have enough fun reading to round out your summer nicely. Enjoy!

“Absolute FreeBSD 3rd Edition” update

I’d like to have the third edition of Absolute FreeBSD in print by May 2018, for BSDCan. After discussions with No Starch Press, to make that happen I must complete the first draft before November 2017.

That’s four months.

To complicate things further, in those four months I have four weeks of traveling: BSDCam, EuroBSDCon, and a writing business workshop.

So, three months.

My best guess is that I have to write about 15,000 words a week to make that happen. Call it 3,000 words a working day. At my nonfiction cruising speed of 500 words an hour, that’s roughly 30 hours a week, or six hours a day. Provided nothing goes wrong.

I can only maintain that nonfiction speed if I write fiction as well. Without it, my nonfiction speed drops to about 200 words/hour. So I’ll keep doing 90 minutes a day on “Terrapin Sky Tango,” the sequel to Butterfly Waltz Stomp.

That’s 7.5 hours a day.

Plus I have a business to run. I have to assemble the “Core Concepts of ZFS” tutorial for EuroBSDCon. (If you’re in Europe and want to see me, this is your chance until some time in the 2020s.) I need to spend 2-3 nights a week on my martial arts practice.

The upshot is, you won’t see me around much until November.

The good news is, I’ve done the hardest parts of AF3e first. And I’ll squeeze in some time on weekends and evenings to get ahead.

But for now: book!

BSDCan 2017 Auction Swag

BSDCan ends each year with a charity auction. This year is no exception.

I’ll be bringing some unique items for the auction. First, a few things made by my wife. We’ll have a Relayd & Httpd Mastery keychain.

A FreeBSD church key. Yes, she made all the beads. They’re real glass. This is probably decorative use only.

A Puffy wine stopper. Again, all the beads are hand-made. Puffy is real glass.

SemiBUG is donating a Detroit sampler pack. By SemiBUG, of course, I mean me. Because my missus has all the hands-on talent in the family, and I thought I should bring something too. In any case, come by and visit our BUG some time.

Finally, I will have a small selection of 100% authentic, hand-crafted, truly bootleg Groff the BSD Goat merchandise. Get a piece while you can, I expect it to go fast.

See you all next week!

“Relayd and Httpd Mastery,” both the good and the bad

I finally have my grubby mitts on a print copy of Relayd and Httpd Mastery.

The cover is nice, but the inside has a couple problems. Specifically the TLS chapter.

I wrote this book on -current. Shortly after I finished writing about TLS, though, the -b flag for automatic backup was removed.

Someone pointed this out to me before I went to print. In my daftness, though, I misunderstood. (“Yes, yes, I know about the -b flag, what’s the problem?”)

There’s also a couple of other minor things–they changed acme-client -N to -D, and I missed one in an example. A couple sentences no verb.

These are embarrassing, but not critical if you know about them. The total error is about a third of a page, which isn’t bad for a 235-page book.

I’ve corrected the book. All ebook vendors have updated versions as of yesterday morning. Print versions ordered now should also be correct.

That leaves me responsible for three problems, though.

First, there’s no way I can have corrected print versions before BSDCan. It’s just not physically possible. So the copies I’ll have at BSDCan will have the error.

Second, 18 people ordered the print copy before I caught the error. Those 18 people are clearly both hard-core OpenBSD fans, and my hard-core fans. They are the people it’s most important I keep happy. It’s fully understandable that you’d want a correct book. If you desire a corrected print version, contact me. I’ll send you my mailing address. Mail me your incorrect book, and I’ll send you a correct one.

Yes, I’ll lose money on that exchange. Yes, I’m hoping most of you will decide to keep your “Special January 2017 OpenBSD-current Collectors Edition of Relayd and Httpd Mastery.” Yes, I’m hoping possession of that print book will turn into something that gives you hard-core bragging rights.

But you 18 folks? The ones who rushed out to get the book immediately upon release? You’re the ones I must keep happy.

So: the exchange is yours upon request.

If you’re one of those folks, do NOT return the book to Amazon! The Big A will put the incorrect copy on the shelf and ship it to someone else.

Third? Sponsors. Sponsors will get a copy of the good version. This means I must ship them after BSDCan.

Did this happen because I’m self-published? Nope. I submit the first sentence of Absolute OpenBSD as a counter-example.

Most of the time I don’t worry much about errata. I fix urgent daftness and move on. This one is particularly egregious and notably embarrassing, though–especially as it was pointed out to me before release.

The top of page 86 now reads:

find it easiest to create the backup file when create or renew a certificate. Back up the cert.pem, chain.pem, and fullchain.pem files. As I name each certificate file after the site, I can put all the backups in a location like /etc/ssl/acme/backups. Your update shell script needs something like this after a renewal.

DATE=$(date +%Y-%m-%d-%H:%M:%S)
cp /etc/ssl/acme/www3/www3.crt /etc/ssl/acme/backup/www3.crt.$DATE
cp /etc/ssl/acme/www3/www3.chain.pem /etc/ssl/acme/backup/www3.chain.pem.$DATE
cp /etc/ssl/acme/www3/www3.fullchain.pem /etc/ssl/acme/backup/www3.fullchain.pem.$DATE

Yes, anyone who bought the book could script better in their sleep. But the screwup is my fault and my responsibility.

“Relayd and Httpd Mastery” is out!

I’m pleased to say that Relayd and Httpd Mastery is now available in print and ebook.

Sponsors should be able to log into their accounts and download the updated book.

I don’t have a print copy of the book in my hands yet, but they’re on the way. Unless something goes wrong, I’ll a) have copies mailed to all the print sponsors before I leave for BSDCan, and b) have a few copies for BSDCan.

Now to put in some quantity time for the third edition of Absolute FreeBSD before BSDCan…

Conferences and Traveling

obsolete: now on its own page.

If you want to ask me to come talk at your con, event, or show, that’s cool. I like to meet my readers. Here are things I consider when you ask me to show up and talk. This stuff only applies if you ask me to come as a speaker: if I decide to come to your event without an invite, that’s on me.

I get enough invites that I could speak at a different conference every week. Even tiny conferences meet these requirements without trouble. Don’t bother telling me your conference should be an exception: it is not.

Everything is political, and everything is financial. I don’t consider either more important than the other. But let’s talk money first.

For me to speak at your event, I need you to cover my expenses: notably, travel, lodging, and meals. I’m not going to fly across the country on my own dime to give your keynote. Yes, I’ve been asked to do that.

Put me in the bouncy back of a plane and I’ll be nauseous for three days. (I can’t do roller coasters or fast elevators either.) Me being ill at your event is counterproductive. I don’t need first class airfare, or even business class, but basic economy “condemned prisoner on way to execution” class doesn’t work. I need on the wings or in front, preferably on the aisle. Regular economy is fine, although if the carrier has one of those $100 upgrades for Less Torment Economy I’d really prefer that if I’m flying long across the country. And I need transportation between the airport, hotel, and event.

I need a quiet hotel room. Young Lucas didn’t mind sleeping on someone’s couch, but I’ve hit the age where “sleeping wrong” is a thing.

I’m fine with hotel continental breakfasts, sandwiches for lunch, and modest dinners. Mind you, it’s a shame to visit cattle country and not get a good steak, or a coast and not have seafood, so one meal like that is nice.

Want to get on my good side? Arrange a couple 20-oz bottles of cold Coke Zero per day.

For that, I’ll do one prepared talk a day and sit on as many panel discussions as you want. I can do a second standalone talk in a day, if it’s a talk I’ve given before. I also promise not to hide in my hotel room between talks.

I make my living off my writing. If I’m speaking at your event, I’d like the chance to sell a few books. I don’t sell near enough to cover a flight, but it generally covers airport parking and incidentals. I’d need a spot to stash a suitcase of books between talks.

For the political side:

Your event needs a harassment policy. It needs to be obvious. You need to enforce it. If there haven’t been complaints about your group, that’s fine. If someone’s upset with your group, well, that happens. If you had complaints, instituted a policy in response, and have improved, that’s okay–we all learn. But if your group or the organizers have a history of letting harassment slide, or if the event organizers of have a history of sexual and/or racial harassment, then I’m going to pass. I pretty much agree with Scalzi’s post on his policy.

This is not about “safe spaces” or “special snowflakes.” This is about me and my readers not being subjected to creepy jerks. (The word I want isn’t “jerks,” but I’m trying to keep this post G-rated.) I already loathe traveling. I’m not going to go somewhere that welcomes jerks, because jerks go where they are permitted.

If you don’t identify your organizers, I’m going to ask. Save everyone a round of email and post them on your web site. Be proud of what you’re doing, even if you’ve never done it before.

If I’m aware of your event and decide to show up on my own, as a guest, of course I’ll pay my own way. But I’ll check for your harassment policy. If you don’t have one, or if you have a bad history in that regard, I won’t attend. And you’ll never know.

Am I saying you have to have a harassment policy? Nope. I’m saying I will choose to not attend your event unless you have one.

And I’m not interested in debating this policy here, or anywhere online. Talk to me in meatspace about it.