Friday, May 30, 2014

BSDCan Trip Report: Warren Block

BSDCan 2014 was held earlier this month and the Foundation provided travel grants to several committers. The first trip report is from Warren Block of the doceng@ team:

Every year, BSDCan is preceded by a developer summit, where FreeBSD committers and invited guests can get together to discuss proposals, difficulties, and plans.  Registration this year was at the intriguingly-named "Goat BOF".  There are stories behind this, but I'll just point you to https://twitter.com/GroffTheBSDGoat and https://plus.google.com/109575245711252585947/photos.

For the documentation developer summit group, Benedict Reuschling made the case for helping documentation translators from our outdated manual system to using gettext-based PO files.  These systems eliminate much of the manual work translators are forced to do with the current setup, allowing them to concentrate on translating. They also provide "translation memory", remembering phrases and sentences that have already been translated so it is not necessary to retranslate them when they appear in different documents.  The room had been fairly quiet up until Benedict began demonstrating this, at which point there was a loud "oooh!" from the back of the room.  There is still a bit of work to be done to fit these tools into our translator workflow, but the research is mostly done and the rest is just pounding it into a shape that can be used with our existing documents and setting up the first translation team to use it.

Each night, we had a "doc lounge", where people were welcome to come to learn about or work on documentation.  We split up the individual time with a few short presentations.  I showed how I used textproc/igor to proofread documentation changes, and it surprised me at how others were using it, and surprised them at how I was using it.  This in-person communication with a crowd of differing experience and viewpoints is one of the best features of BSDCan.

BSDCan itself began on Friday with a keynote session from Karl Lehenbauer, CTO of FlightAware.  This was one of the best presentations I've yet seen at any BSDCan, and worth the time to watch.   As in previous years, the FOSSLC group was there, making high-quality recordings of the presentations.  Compared to videos taken with a traditional camera, screens in the FOSSLC videos are easy to see and the speakers can be heard.

There were talks aimed at using FreeBSD on embedded hardware, with Warner Losh speaking about using NAND flash memory (apparently no video available, but an associated video is here) and Sean Bruno describing installation of FreeBSD on wireless routers with MIPS processors.

John-Mark Gurney showed how he had improved geli(8) encryption performance from less than 150MB/second to greater than 900MB/second.

Daichi Goto gave a talk called "Shellscripts and Commands", which was an interesting combination of traditional shell-based tools and fast hardware to process huge datasets.

Saturday morning, Ingo Schwarze from the OpenBSD project talked about "New trends in mandoc", the excellent full-text search abilities developed for this OpenBSD replacement for groff(1).  Ingo also attended several of our doc lounge
sessions, and we had some interesting comparisons between the document checking provided by igor and that in mandoc.

Vsevolod Stakhov talked about the new solver in pkg (no video available yet).  What I find particularly encouraging about this and other aspects of the new package system is the amount of research into other systems. That is the "good kind of lazy": the problem is difficult, and rather than jumping in and hacking together a solution that partly works, doing the research to find how other groups have done it.

FreeNAS is becoming increasingly popular, and John Hixson talked about how to add custom applications to it (no video yet).  Later, Fabio Balzano described a FreeBSD-driven ROV (remotely operated vehicle) using a Beaglebone Black ARM single-board computer.

At another doc lounge session, we covered the complete process to fix an error in the FreeBSD documentation, from installing the tools, to editing, checking, and build-testing the document, through to submitting a patch.  It's very good to note that some of the people we worked with have already had patches submitted and accepted since then.

FreeBSD developer Li-Wen Hsu was at several of the doc lounge sessions, and one night asked about integrating igor with the Jenkins continuous improvement framework.  I was skeptical about using igor for this, but we talked about some tests that would avoid false positives.  The next night, he returned.  Not only had he modified igor to produce the required output, he'd already set up a Jenkins test! It showed just how useful this continous automated testing can be, even if the test tool is not perfect.  In hindsight, I should have realized that this sort of thing is just an extended use of automation, which is the point behind igor: we have these nice computers, let's use automation to help us accomplish our goals.

Finally, Allan Jude of BSD Now (and many other FreeBSD-related things) had clearly been in line for a commit bit for some time now.  Benedict had a plan to keep it a secret and surprise him with the announcement during an interview. The full interview will be seen on a future episode of BSD Now.

This was all just a tiny part of BSDCan 2014.  There were numerous other talks that you should watch, like the already-famous one by OpenBSD's Bob Beck on LibreSSL, their fork of OpenSSL: http://www.youtube.co/watch?v=oM6S7FEUfkU, or http://www.youtube.com/watch?v=GnBbhXBDmwU.

All of the FOSSLC videos are here.

All the presentations and informal talks are still just a small part of BSDCan.  There is the "hallway track", where it is common to start talking with another person about something that's important to both of you... and then getting so caught up that you miss a presentation or two.  There are before- and after-hours talks with others on things that seem to have been overlooked, but it turns out were important to them also.  Lots of people you may only know by email address will be there, almost always looking completely unlike imagined.  At one point or another, almost everyone is drafted by Dan Langille to help carry boxes or set up power strips. There's lots of caffeine and more than a little sleep deprivation. Conferences like these help provide the motivation that drives projects throughout the rest of the year.

A big thanks goes to the FreeBSD Foundation for sponsoring my trip this year.  Thanks also to Dru Lavigne, Benedict Reuschling, Allan Jude, Dan Langille, and everyone who came to the developer summit, doc lounge, and BSDCan.  Your time and attention are appreciated.  Thank you all for helping to improve FreeBSD!

Monday, May 5, 2014

FreeBSD Foundation Newcons Project Highlight

Spring Fundraising Campaign - Newcons Project Highlight

Our Spring Fundraising Campaign is in full swing, and we couldn't be more grateful for all your support! We are honored to be the stewards of your donations for the FreeBSD Project and community. Around half of our funding goes towards project development to help keep FreeBSD an innovative, reliable, and high-performance operating system. 

During our Spring Fundraising Campaign, we are highlighting the projects we are funding to show our commitment to helping FreeBSD. Please take a moment to read about the Newcons project.

What is the Newcons project?
The Newcons project provides a replacement system console for directly-attached displays, keyboards, and mice.  It replaces the legacy syscons driver, sc(4), and is short for “new console.”  Because it won’t be “new” forever and will become just “the console,” it is more correctly known by the name of the device driver, “vt.”

Why does FreeBSD need a new console?
Newcons provides a number of benefits, including support for Unicode and UTF-8, and double-width characters.  This eliminates the historical text-mode limit of 256 characters, and allows for Chinese, Japanese and Korean (CJK) and other character set support on the console.

Without Newcons it’s not possible to switch back to the console after starting the X graphical environment.  Newcons allows this by integrating with Kernel Modesetting (KMS), the method of changing graphics modes used by current display hardware drivers and X.org releases.  This integration also enables high-resolution consoles.

Newcons also provides an improved infrastructure that is not user-facing, but enables simplified support for new hardware.

What work is the Foundation sponsoring?
The Foundation awarded a development grant to Aleksandr Rybalko to implement missing functionality, and finish integration tasks.  Completed tasks include history buffer improvements, kernel mode setting integration, and additional hardware device support.  This work is already available in FreeBSD-CURRENT.

Documentation and performance improvements are the main outstanding tasks; font setting and other user interface features are also in progress.  The “vt” driver is expected to be available in the FreeBSD 10.1 release.


Donate today to help us continue and increase our support of the FreeBSD Project and community worldwide! To make a donation go to: http://www.freebsdfoundation.org/donate/.

Monday, April 28, 2014

FreeBSD Foundation Spring Fundraising Campaign - Funding Highlights

Spring Fundraising Campaign - Funding Highlights
As we embark on our 15th year of serving the FreeBSD Project and community, we are proud of what we've done to help FreeBSD become the most innovative, reliable, and high-performance operation system. During our Spring Fundraising Campaign, we are going to highlight where some of our funds are going to show our commitment to helping FreeBSD.

The first project we are highlighting is the UEFI Boot Support. Please take a moment to read about the work going on in this area.

What is UEFI and why is the FreeBSD Foundation sponsoring this work?
UEFI is the Unified Extensible Firmware Interface, a new standard for boot firmware -- the software that runs from the time a computer powers on, until the main operating system is loaded.  It was originally developed for Intel’s “Itanium” CPU many years ago, with x86 and ARM support arriving later. 

Many desktops and servers sold today provide the option to choose between UEFI and legacy BIOS boot modes, but some support only UEFI. UEFI-only systems will become increasingly common in the future, so supporting UEFI boot is a requirement for FreeBSD to remain viable on contemporary hardware.

Why did we need a new boot firmware?
The PC BIOS is over three decades old, and was designed with different goals than are relevant today. It was responsible not only for booting, but for providing runtime services like reading files or printing characters on the screen.  As operating systems evolved from 16-bit code to 32- and 64-bit, the BIOS was relegated to providing only the initial boot functionality, but limitations of 16-bit code from the 1980s persisted.  BIOS boot does not inherently support features like large disks, multiple operating systems, or network booting that are now standard.

These issues have all been worked around with various add-ons, but often in a vendor-specific or inconsistent way.  UEFI replaces the workarounds and layers of complexity with a consistent and powerful set of boot services.

What work is the Foundation sponsoring?
In 2013 the Foundation sponsored Benno Rice to perform some initial investigation and infrastructure work for amd64 UEFI booting, which resulted in a working proof of concept.  Ed Maste later refined that work and brought it to the main FreeBSD development branch, giving FreeBSD-CURRENT the ability to boot via UEFI.

Ed and Foundation staff members Glen Barber and Konstantin Belousov will continue with work to build snapshot images, fix bugs, address hardware compatibility issues.  We’re committed to finishing UEFI boot integration, documentation, and installer support, and appreciate the support of the FreeBSD community’s collaboration on some of these pieces.  Initial UEFI support will appear in the FreeBSD 10.1 release, due later this year.

Donate today to help us continue and increase our support of the FreeBSD Project and community worldwide! To make a donation go to: http://www.freebsdfoundation.org/donate/.

Friday, April 11, 2014

FreeBSD Foundation Spring Fundraising Campaign!

We're kicking off our Spring Fundraising Campaign! Our goal this year is to raise $1,000,000 with a spending budget of $900,000.

As we embark on our 15th year of serving the FreeBSD Project and community, we are proud of how we've helped FreeBSD become the most innovative, realiable, and high-performance operating system. We are doing this by:
  • funding development projects,
  • having an internal technical staff available to work on small and large projects, fixing problems, and areas of system administration and release engineering,
  • providing legal support,
  • funding conferences and summits that allow face-to-face interaction and collaboration between FreeBSD contributors, users, and advocates,
  • and advocating for and educating people about FreeBSD by providing high-quality brochures, white papers, and the FreeBSD Journal.

We can't do this without you! You can help by making a donation today.

Help spread the word by posting on FaceBook, Twitter, your blogs, and asking your company to help. Did you know there are thousands of companies that wil match their employee's donations? Check with your company to see if you can automatically double your donation by having your company match your donation.

Thanks for your support!

Thursday, April 10, 2014

FreeBSD Journal Issue #2 is Now Available!



The FreeBSD Journal Issue #2 is now available! You can get it on Google Play, iTunes, and Amazon. In this issue you will find captivating articles on pkg(8), Poudriere, PBI Format, plus great pieces on hwpmc(4) and Journaled Soft-updates. If you haven't already subscribed, now is the time!

The positive feedback from both the FreeBSD and outside communities has been incredible. In less than two months, we have signed up over 1,000 subscribers. This shows the hunger the FreeBSD community has had for a FreeBSD focused publication. We are also working on a dynamic version of the magazine that can be read in many web browsers, including those that run on FreeBSD.

The Journal is guided by a dedicated and enthusiastic editorial board made up of people from across the FreeBSD community. The editorial board is responsible for the acquisition and vetting of content for the magazine.

You can find out more information about the Journal by going to https://www.freebsdfoundation.org/journal. Or, subscribe now by going to the following links for the device you'd like to download to:

amazon-apps-store





Available_on_the_Mac_App_Store_Badge

Google Button







Your subscriptions and the advertising revenue the Journal receives will help offset the costs of publishing this magazine. So, consider signing up for a subscription today! 

We know you are going to like what you see in the Journal! Please help us spread the word by tweeting, blogging, and posting on your FaceBook page. You can also help by asking your company to put an ad in the Journal. For advertising information contact freebsdjournal@freebsdfoundation.org.

And, don't forget you can support the Journal and FreeBSD by making a donation today!

Tuesday, March 11, 2014

FreeBSD Foundation Accepting Travel Grant Applications for BSDCan 2014

Calling all FreeBSD developers needing assistance with travel expenses to BSDCan 2014.

The FreeBSD Foundation will be providing a limited number of travel grants to individuals requesting assistance. Please fill out and submit  the Travel Grant Request Application by April 7th, 2014 to apply for this grant.

This program is open to FreeBSD developers of all sorts (kernel hackers, documentation authors, bugbusters, system administrators, etc).  In some  cases we are also able to fund non-developers, such as active community members and FreeBSD advocates. More details are available in the announcement.

Monday, February 10, 2014

The FreeBSD Journal is Now Available!

We are pleased to announce the FreeBSD Journal is now available! This is a new, FreeBSD focused, online publication. 

You can find out how to subscribe to the Journal by going to www.freebsdjournal.com. Or, go to the following links for the device you'd like to download to:

To get the Kindle App click here 
To get the Apple app click here 
To get the Android App click here

Here's the letter the editorial board wrote for this inaugural issue:

Welcome to the first issue of the FreeBSD Journal. A brand new, professionally produced, on-line magazine available from the various app stores, including Apple iTunes, Google Play, and Amazon Kindle.

What you will find in the upcoming issues are feature-length articles and columns that address the entirety of the FreeBSD community. Coverage will be diverse with topics including: managing large scale system deployments, application development, systems programming, embedded systems, academic research, and general software development. All using FreeBSD.

Issue #1 is dedicated to FreeBSD 10, the latest in the FreeBSD Project's line of major releases.  The release of FreeBSD 10 brings many new features not seen in other open source operating systems, including a brand new compiler toolchain based on LLVM, as well as mature support for ZFS as a first class kernel-based filesystem.

The Journal is guided by an editorial board made up of people from across the FreeBSD community, including, John Baldwin, Daichi Goto, Joseph Kong, Dru Lavigne, Michael Lucas, Marshall Kirk McKusick, George Neville-Neil, Hiroki Sato, and Robert Watson.  The editorial board is responsible for the acquisition and vetting of content for the magazine.  The editor is Jim Maurer who is the person with whom our authors work most closely getting their pieces into shape for publishing.  Jim has a long history in the technical publishing business, having worked with Scientific American and the Association for Computing Machinery.

The magazine will publish six issues per year.  The editorial board has planned the first year of issues that will cover topics including Networking, Virtualization, Development Tools, Support for new Hardware Features, and the new software packaging system for FreeBSD, pkgng.

The FreeBSD Journal is financially supported by the FreeBSD Foundation, the 501(c)3 charitable organization whose sole purpose is to help the FreeBSD Project grow and flourish.  Your subscriptions and the advertising revenue the Journal receives help to offset the money the Foundation needs to put in to support the Journal.

We know you'll like what you see in the Journal and hope that you'll let everyone you know about our new magazine.

Sincerley,
FreeBSD Journal Editorial Board