There was one more file to change for the bmake import, so if you are running DragonFly 3.3 and updated between the 28th and 30th of October, do a full rebuild.
Month: October 2012
I mentioned this before in the Lazy Reading from last Sunday, but it’s worth a second look: Apple’s new Fusion Drive product appears to be very much like DragonFly’s swapcache. DragonFly doesn’t have exclusive right to the idea of caching on a faster disk, clearly, so I’m not complaining that it’s “ours”. It’s frustrating to see product announcement/press releases stumbling all over this like it’s a new thing.
Then again, having new ideas about technology ideas and making sure they spread is one of the points of the BSD license, so perhaps there’s no good reason to complain at all.
(Before anyone reads too much into this: No, I don’t know of any direct relationship between swapcache and Fusion Drive; they may have no common background other than structure.)
I lost Internet access because of Hurricane Sandy, and couldn’t get my machine to recover until I power cycled. I think it’s because my external IP changed, and pf doesn’t seem to handle that well for NAT or just in general. The recommended fix, putting the interface name in parentheses, doesn’t seem to work. Anyone have advice?
Life is busy, busy, busy. But there’s always time for Lazy Reading!
- Sometimes Google searches turn up DragonFly BSD in odd places.
- Wayland reached 1.0. That’s great, except it isn’t ready for use yet, it’s just feature-stable. I’d argue that means it’s ‘beta’, not 1.0, but there’s no hard and fast rules about that. In any case, does it run on any BSD? I don’t think so.
- OpenSSH server best practices. Nothing too groundbreaking, but they include “BSD” (i.e. pf) examples. I always like articles that don’t assume Linux is the only platform. (via)
- The little SSH that (sometimes) couldn’t. A heck of a network debugging exercise. (via mat in #dragonflybsd)
- The AN/FSQ7, a computer I’m sure I’ve seen in movies a number of times. (via)
- Here’s the OpenBSD slides from EuroBSDCon 2012.
- Oh look, Apple’s got “Fusion Drive“. The cool people call it swapcache and have been using it for years, so there.
- Here’s an essay that starts out talking about Quantum Computing and moves into the ambivalence that quantum computing seems to entail instead of just noting the general scientific description and leaving it there. It’s really quite enjoyable.
- Hey, maybe this is why Facebook reported earnings are up: they’re holding your own data hostage. (via)
- Rob Pike on The Setup. He makes a very good point about how we should access computers. Also, here’s a recent, long slide show he put together about Go. It describes solving some language problems that have been around a long time. (via)
- I was halfway through reading that last slide show link and realized there’s no way I can explain how it was an worthwhile read to someone who hadn’t done some programming. No link or conclusion, just an observation of how esoteric this is. I hope you enjoy it.
- Essential Vim and Vi Skills has hit a 3rd edition. I have this as a Kindle edition, and I’m not sure how that happened.
- Zork in Duplicity, or a bizarre finding of old UNIX history in a completely unrelated place. (via)
- These OpenBSD thin clients are a neat idea.
Your unrelated link of the week: Delilah Dirk. It’s a comic, and the story available to read online is about a tea merchant, which makes it exactly right.
Matthew Dillon’s put more of his Hammer work into DragonFly, with notable parts being the creation of a ‘dmsg’ setup for advertising available block devices to share between machines using Hammer. To anticipate your next question: No, it’s not something you can run right now as a test; this is the underlying framework.
A thread on pkgsrc-users@ reminds me: adding a specific line for bin-install will save time when rebuilding packages; pkgsrc will use existing binary packages instead of rebuilding from source when possible, when this is set. At least, I’m pretty sure that’s what it does.
The pkgsrc packages for DragonFly 3.2 are still building… I’ve tagged the release, so it will be ready as soon as the packages are ready.
Sandip Jadhav asked if anyone was working on an I/O scheduler. Chris Turner replied with a “no”, but also with a list of places to look for details on writing one, which I’m linking here for posterity.
John Marino is working on a very good idea: bringing bmake into DragonFly as a replacement for the current ‘make’. bmake is going through more active development and apparently also in use/will be used? on FreeBSD, so syncing up with the same make flavor as FreeBSD and NetBSD will help everyone. It’ll also remove the problem where you ‘make’ everything in DragonFly, except pkgsrc packages which you ‘bmake’. It’s not changed over yet.
(What does OpenBSD use for make?)
I had some interesting home network troubleshooting over the past week…
- What’s the “scroll lock” key on my computer for? The article almost identifies it: it’s to allow scrolling up in the hardware terminal, if you’re on BSD. Or for changing how navigation via arrow keys works in Excel, on Windows, as I’ve had to show to people a few times. (via)
- “systemd requires HTTP server and serves QR codes” – not really, but it’s a long discussion of just what balance to strike between minimal and excessive for an operating system. Also, it’s Linux, so it’s messy. (via ftigeot on #dragonflybsd)
- Why I Two-Space. I thought this would be about two-space tabs, but it’s about something I care about more: space after the period at the end of the sentence. (via)
- Simplify Your Life with a ssh config file. I keep meaning to do some of these things. (via)
- 9 Enhancements to Shell and Vim Productivity. The last one, about keeping your config files in a git repo, is a good one. Read the comments for some exceptional ideas. (via)
- Huh. 42 really is the answer. (via)
- CSRG‘s SCCS history brought to svn. I like that old code can be revivified, so to speak. (via)
- Commanding Your Text Editor. Text editor tips in a ecumenical style. More specifically, Textmate, Vim, and Emacs tips side by side. (via)
- An Introduction to Graphviz via R. Kelly’s “Trapped in the Closet” Hip Hopera. That… is one of the odder tutorials I’ve ever read. (via)
A conversation about compilers in the DragonFly base system led peeter (must) to describe his group’s use of OpenMPI on DragonFly for physics calculations. Apparently he’s had a significant performance improvement on DragonFly.
Whoops – shiningsilence.com may have been down for a while there; I was on the road for work and pf was confused by an IP change. Sorry! I’ll have more posts as soon as I get through the backlog.
12 18 hours of my life fighting with an Exchange 2010 upgrade this week. To compensate, I will never complain about Sendmail wonkiness ever.
- Homebrew Cray-1A. Duplicating the internals is interesting in a “that’s crazy/difficult” way, but the case is the best part. (via dfcat on #dragonflybsd)
- If you understand the structure of haiku, you can contribute to Absolute OpenBSD, 2nd Ed.
- Here’s a browser-based roguelike called Second Wind, and another called Epilogue. No particular reason to link to them other than I haven’t had much roguelikes linked recently.
- “The role of the troll in social media is to ruin that product.” There’s a line that can be drawn to connect the idea of being esoteric enough that social networks (i.e. Facebook) don’t intrude on your interests, and the idea of being interested in BSD operating system creation. What I’m saying is that BSD is less hyped, and thank goodness.
- Another social media caution: it’s their space, not yours, and they can boot you at any time. (via)
- Yeah, I’m getting curmudgeonly. I’ll stop now.
- Go By Example.
- git-ftp, when the files you are working on are in a location only accessible by FTP – no git or ssh access. This appears to copy them in and out as part of the commit/change process. I can imagine a very specific workflow where this would be useful. (via)
- Bash One-Liners, part 4.
- OS Upgrades powered by Git. That’s a neat idea. I don’t think you actually have to follow the link; that’s the whole concept right there.
- The Ultimate Vim Distribution. (via) I like how slick the single-line install methods are on these things… but I want the number of packaging/install methods on every computer I administer to equal exactly 1, not (1 x number of installed programs).
- Why is Linux more popular than BSD? Some of the answers are just plain wrong, or don’t understand causality… but that’s no surprise. (via)
- Oh, hopefully this will solve the UEFI secureboot issue for DragonFly too. (via)
Your unrelated link of the week: A CD that comes with its own turntable and record. Kid Koala scrapes over culture to find mentions of vinyl and DJing the same way I scrounge the Internet for mention of BSD. His “Nerdball” from Carpal Tunnel Syndrome is an astonishing display of turntable skill.
John Marino did a bulk build of pkgsrc using gcc 4.7.2, and posted the results. The result? About 1% of packages that built with gcc 4.4 did not build with 4.7.2. Whether that’s a problem with gcc or a problem with how each of those software packages were created by the original authors, I don’t know.
Sascha Wildner has committed Markus Pfeiffer’s port of USB4BSD to DragonFly. USB network, input , audio, and storage devices (including xhci/USB3 items) may work, though there’s no guarantee for each driver. This is added but not on by default, so see the first link for instructions on how to rebuild your kernel to use it. This will be in (but not default) the DragonFly 3.2 release.
(This is shaping up to be a much bigger release than I anticipated!)
Remember the new scheduler work? Well, it continued, and now Francois Tigeot has posted pgbench benchmarks of the progress and benchmarks of DragonFly vs. other operating systems. The links are to PDFs; scroll down as each have multiple pages.
The summary result: If you’re running Postgres, you probably want to do it on DragonFly. The numbers are the best results for any BSD, even better to some extent than Linux, which has had its own issues with schedulers and Postgres. DragonFly 3.2 will include these improvements.
Google is hosting a ‘Doc Camp’, where people get together and write documentation for open source projects. There’s a page that talks about it. Last year’s inaugural event was apparently quite successful. I haven’t been to it, but I think a day just for documentation is a good idea.
I’m planning for DragonFly 3.2 to come with pkgsrc-2012Q3, the most recent release. I’m building binary packages to match, and the build should complete by the time we release on the 22nd…
Notice I said “should” – sometimes the universe conspires against bulk builds.
The free download of the October issue of BSD Magazine is available. The theme this month is security, though of course there’s more covered.
I branched 3.2 tonight. That means 2 weeks until release, so sharpen your bug-poking sticks!
(I’m very tired and unable to think of good analogies, sorry.)
DragonFly 3.2 branches tomorrow if all goes to plan. Until then, I have a lot of reading here for you.
- Winners of the International Obfuscated C Code Contest for 2012. (via) The winning entries don’t appear to be listed yet, but you can look at previous years.
- “At often, the goat-time install a error is vomit.” (via)
- This makes the D&D player in me take notice: A set of 12 sided dice that never tie. You can buy them, along with a bunch of other custom dice, right from the maker. (also via)
- “To understand the command line…” There’s some good UNIX history notes in there. Don’t hold the ‘User Friendly’ cartoon image against the author. (via)
- Dan Langille does it right when figuring out where his disk space went.
- Monthly Catonmat geek T-shirts. I know, I know, the last thing the world needs is more nerdshirts, but I like the first one on offer.
- Images to make perfectionists suffer. At first I laughed, and then I started to get irritated. (via)
- This networking change in Linux just makes me feel icky. (via ftigeot on #dragonflybsd)
- An Interview with Brian Kernighan on C and the C Programming Language. (via)
- Statistics from 777 .vimrc files. (via) Hover your mouse over the ‘sparkline’ graphs for more information. That’s a very slick way to get more information into a small space. It also led me to this wonderful Solarized colorscheme.
- OCaml 4 will show up in pkgsrc soon.
- Bob Bagwill got DragonFly added on AlternativeTo.net.
- I link to this step by step sed explanation because I found it useful, and because it has this “perverse” example:
- The “dragonfly issue“. (thanks, Dean.)
- The Hall of Unwanted Dotcoms. Some of these are just fun to say. (via)
- 20 Years of Thinkpad. I have a Thinkpad x220 for work and I like the way it’s built far more than any other laptop I’ve dealt with.
As I typed elsewhere, my general plan is to branch DragonFly 3.2 on the 8th, and release on the 22nd. That should give the recent scheduler and gcc work a chance to settle, and perhaps get a new version of USB support in too. It will probably be using pkgsrc-2012Q3, also, though we may not have binary i386 packages. 3.2 is shaping up to be a much more significant release than I expected.
John Marino has accomplished the difficult task of putting gcc 4.7 into DragonFly. Version 4.4 is still the default, and the older 4.1 version has been disabled. If you want to try this newer version, setting WORLD_CCVER=gcc47 will build kernel and world that way too. If you’re curious about what’s different in this version of gcc, there’s a 4.7 changelog.
Are we the only BSD with this new a version in base? I think so.
P.S.: You’ll want to do a full buildworld if you’re running DragonFly 3.1
P.P.S.: you may need to put ‘NO_GCC47=true’ in make.conf, going from IRC comments.
P.P.P.S.: Nope, now it’s fine.
Pkgsrc-2012Q3 is out, and there’s an extensive release announcement to go with it. It’s worth reading; there’s a few packages that will not be supported after this quarter’s release, and a whole lot of new ones.
The machine that runs www.dragonflybsd.org and bugs.dragonflybsd.org is currently down. While it gets figured out, Alex Hornung has a static copy of the dragonflybsd.org main website available.