BSDCan 2013, which is happening in a few weeks, is going to have a “Documentation Lounge“, which is essentially a docs sprint, but with a much more relaxed-sounding name. Anyway, it’s a good thing to contribute to.
DPorts and DragonFly 3.5 cheatsheet
John Marino published a ‘cheatsheet‘ (also, typo fix)for DragonFly 3.5 users who want to try dports, using DragonFly 3.4 packages.
dports and gcc versions; an explanation
John Marino has a concise explanation of why dports mostly uses gcc 4.4 still to compile, even if you’re building DragonFly itself with the default 4.7. It’s a reason to not use NO_GCC44 – yet.
entr(1); Run arbitrary commands when files change.
Eric Radman sent along a plug for a utility he is working on called entr(1). The desciption is “Run arbitrary commands when files change.” The site for it has several nifty examples – run make when *.c files change, or convert Markdown files to HTML as soon as they are modified. The really nice thing about it is that it’s perfectly BSD-friendly, and uses kqueue, but will also work on Linux. This beats the “This runs on the one flavor of Linux I use, in one particular shell!” approach I’ve seen from some other developers. See the reddit discussion of it for comparisons to inotify. No, it’s not in pkgsrc/ports yet.
Update: And thanks to Thomas Klausner, it’s in pkgsrc as sysutils/entr, and in ports as sysutils/entr thanks to Eitan Adler. You have no reason not to try it now.
New conference: vBSDCon
This is interesting: Verisign is sponsoring a new BSD convention (PDF link) in October, in Dulles, Virginia, USA. Apparently the use of BSD systems at the company is increasing, and they want to host something for it. The pkgNG presentation may be very interesting for DragonFly users. See the announcement. A new convention to support increased BSD uptake is really a nice surprise.
International Space Apps Challenge this weekend
NASA’s International Space Apps Challenge is this weekend, 4/20/2013. Fancy as it sounds, it’s really a single-day hackathon around open software and hardware, with the problems to fix coming from NASA and therefore probably very unique. It’s happening in a bunch of places around the world, but there’s one right here in my town.
Running a spam blacklist
Peter Hansteen has an extensive writeup of how he has managed the bsdly.net spam blacklists. Normally I’d stick this article in the Lazy Reading links, but the article is good enough to call out separately. It’s excellent not just for the mechanical aspects of how the blacklists were maintained, but for his strict description on how the process is simple, verifiable, and transparent. That last item, transparency, is how many anti-spam groups fall down.
Lazy Reading for 2013/04/14
We are very close to the next release. As always, it comes down to building third-party software. Lots of material here to read, until then.
- E-TeX: Guidelines for Future TeX Extensions – revisited. It’s interesting to look at a software project that has had 20 years to run, with a very specific problem domain, and see that there’s always something more that could be done. (via)
- You SHOULD CONSIDER RFC6919. (via)
- The largest computer ever built. Why are there no SAGE emulators? (also via)
- The newlisp.org logo is a dragonfly, similar to ours. I don’t know why. Oh, wait: I bet it’s parentheses for the wings, which makes sense for Lisp. (thanks, Charles Rapenne)
- UNIX V5, OpenBSD, Plan 9, FreeBSD, and GNU coreutils implementations of echo.c. Not necessarily a fair comparison, but interesting; there’s some useful links in the comments, such as this similar exercise for cat.c. (via)
- Top 10 reasons I Like Postgres Over SQL Server. SQL Server is not that bad a product, but I do wish Postgres was run more often.
- Our Regressive Web. A story on how we’re losing the tools that let us focus on content on the web. The author doesn’t say, but should, that this is partially because we’re using platforms owned by other companies (Facebook, Twitter) instead of talking on our own. (email, blogs) (via)
- The earliest known version of D&D, the “Dalluhn Manuscript“, is on display at a museum right around the corner from me. (via)
- Workflow in Tmux. (via)
Your unrelated link of the week: A bunch of monster models, all taken at a convention called Monsterpalooza. A bit grody, but still some very good construction work. (via)
DragonFly 3.4 release status
Here’s a status report on the 3.4 release, pulled right from my mailing list post:
- We have the ability to use pkgsrc or dports (building from source in either case) now
- Several people have committed the remaining last-minute fixes
- I’m not going to have pkgsrc binaries built for the release.
- dports binaries – John Marino and Francois Tigeot are uploading now.
I’d like to have the release available with binary packages for dports immediately, because I anticipate a number of people wanting to try it out. So, the release will be delayed a few days while the packages upload.
How to put completely new software in DPorts
DPorts is based off of FreeBSD’s ports, but it’s possible to add software packages to it that don’t exist in FreeBSD’s ports system and have them build as any other packages. This is briefly detailed in this GitHub bug report, along with a number of the ports that already exist that way.
SSD/swapcache note
Matthew Dillon wrote a note about SSDs, HDDs, and swapcache that may be useful for anyone building a system soon. Conversations about SSDs, swapcache, and so on have happened before.
Summer of Code reminder for students: talk now
For anyone who is a student considering Google Summer of Code this year: this timeframe we’re in right now is listed by Google as time for “students discuss project ideas with mentoring organizations”. This is the perfect time to find out what the people in an organization are like, and get early feedback on your project ideas.
Chances are, if you’re submitting a proposal for an idea from an org’s project list, you’re one of a number of students all trying for the same thing. The best way to get accepted instead of any other applicant is to be the person they already know.
BSDTalk 244: Marshall Kirk McKusick and George Neville-Neil
BSDTalk 244 is Marshall Kirk McKusick and George Neville-Neil talking about the FreeBSD Foundation, for a generous half-hour.
A BSD auction
The very first copy of Absolute OpenBSD (2nd edition), signed by Michael W. Lucas, is being auctioned off in a charity event for OpenBSD. There’s 5 days left to bid, though the price is already somewhere north of $2 per page.
ftp (tnftp) update
Peter Avalos has updated ftp in DragonFly. It’s actually tnftp, which is the same base ftp client used in FreeBSD/NetBSD/Mac OS X/etc. It’s the 20121224 version, and the 3.4 release branch has it too.
Summer of Code links for everyone
The DragonFly page on the Summer of Code site is set up. If you are a potential mentor that I’ve talked to before, I’ve already sent you an email with details. If you are a potential mentor I haven’t talked to, you can email me or send a request via the DragonFly page. (Google has a new ‘connections’ method for signup this year.)
If you’re an interested student, take a look at the DragonFly Projects Page. Keep in mind that your proposal does not have to be one of those ideas – new projects are always welcome, and often have the advantage of being unique instead of being one of several similar proposals. (hint, hint)
DragonFly and Google Summer of Code 2013: again!
We’re accepted! The application requirements, etc. will be up on the Google Summer of Code site as soon as I can fill out the forms.
Lazy Reading for 2013/04/07
It’s a week past Easter and I’m actually tired of eating chocolate. I never thought I’d say that.
- On fat men and jellybeans, about how the press is reporting DDOS attacks. Related: Reporting on tech stories is very difficult; there’s very little photogenic material. I’d love to have more pictures on the Digest, but what would I show?
- Lisp: A Language for Stratified Design. (PDF) There’s got to be a few readers that will find this a very enjoyable read. (via)
- If you’re using Google Chrome, check your extensions list. Even though it’s not supposed to be possible, I had an spyware extension auto-install itself, from a page that I was going to link here – but now will not.
- Music From Mathematics. Electronic music created with an IBM 7090. (via)
- At first I was like “Yeah, yeah, another terminal emulator”, but then I watched the demo movie for Terminology and was quite impressed. It doesn’t seem to exist in dports/pkgsrc yet. (also via)
- April 1st always leads to a number of announcements of varying quality. I like OpenBSD’s announcement, though.
- The Untold Story behind Apple’s $13000 Operating System. The article hypes up something that wasn’t that exciting, but I like the pictures of the old Apple ][ material. (via)
- Everyone Who Tried to Convince Me To Use Vim Was Wrong. Spoiler: he uses Vim. But: The author makes a very good point about how to get there. (via)
- How the Chess Set Got Its Look and Feel.
- HOWTO turn your shell prompt into a hamburger. The advice is for a Unicode-friendly Mac shell; don’t know if this works on DragonFly. (via)
- Start talking about nail polish, finish by talking about the limited 16-color palette of early PC computers. (via)
- Hello World cake. Based on a programming language called Chef where programs look like recipes. I can’t even make these things up. (via)
- Dragonflies are Monsters.
Your unrelated link of the week: nothing. I didn’t find anything off-the-wall enough to use here. Geez.
Older Postgres versions on the way out of pkgsrc
It looks like Postgres versions less than 9.0 are going to be removed from pkgsrc soon. Be ready to update, if you are running one of those extremely older editions.
USB4BSD: not yet
The upcoming DragonFly 3.4 release will not include the USB4BSD port from Markus Pfeiffer; he’s hoping for it to become default in the next release after 3.4.
You can still try it, as it’s present in DragonFly but not on by default. Help with driver porting is always welcome, of course.
bxr.su announced
Constantine Aleksandrovich Murenin has put together a new site, bxr.su. His announcement to users@ goes into a lot of detail, but here’s a preview: it’s an OpenGrok site that has a forked version of OpenGrok that’s both speedy and takes BSD into account, along with other nice features.
Here’s the catch: it’s currently IPv6 only. IPv4 will be on as a test just today, and on for good shortly after. Read that announcement I mentioned for details.
Over 19500!
John Marino has posted about the state of dports: over 19500 ports built, build logs available, and patches to add even more can be sent through github. XFCE4, KDE3, and KDE4 are building, though he could use some help with GNOME2.
Man, I’m stretching it to make that “Over nine thousand!” joke, now.
Testing out the DragonFly 3.4 release candidate
If you have a DragonFly 3.2 system and you want to try the 3.4 release candidate, you can delete your local source, edit the Makefile to pull down 3.4 instead of 3.2, and run it.
cd /usr
rm -rf src
vi /usr/Makefile;
(in vi) :%s/DragonFly_RELEASE_3_2/DragonFly_RELEASE_3_4/g
(save, quit vi)
make src-create-shallow
… then proceed to make buildworld and so on, as normal.
The caveats: I haven’t tested this yet, and this assumes you don’t have any local changes in /usr/src that you want to save. The usual warnings about lighting your computer on fire, etc., apply.
pkgsrc-2013Q1 available via DragonFly git
The DragonFly Git repository of pkgsrc now has the 2013Q1 branch. You can switch to it by editing your /usr/Makefile (look for existing references to either pkgsrc master or pkgsrc-2012Q3) and using the normal commands.
mfi(4) users and foreign configs
If you have a mfi(4) device – in other words, a LSI MegaRAID SAS driver – you can now see/import/clear/etc. foreign configurations, thanks to this commit from Sascha Wildner, tested by Francois Tigeot, and originally from FreeBSD.
For the confused, ‘foreign’ means any disk hooked to a RAID controller that isn’t part of a configuration the RAID device already knows about. A replacement disk, or more worryingly, a good disk gone bad/unrecognizable. (I’ve had both.)
Do you have a wpi(4) or iwi(4) device?
If you have an ath(4), wpi(4) or iwi(4) wireless network link, and you’re running DragonFly-master, please update. Sepherosa Ziehau has pushed Johannes Hoffman’s wlan_serialize branch, which means bringing up wlan0 is a bit easier – and less crashy.
It needs to be tested for wpi(4) and iwi(4), however, so if you have success or failure with those devices, please say so in reply.
(new post category starting now: “Please test”)
DragonFly 3.4 branched
DragonFly 3.4 is branched – as a release candidate, with the current target for 3.4.0 release as the weekend of April 13-14. See the tagging commit note for a list of all the commit messages.
Note that in previous releases, we tagged “x.y.0″ on branch, and “x.y.1″ on release. I’m now tagging “x.y.0rc” for the release candidate at branch time, and we’ll tag with a more normal (to my ears) “x.y.0″ for the release.
If you build a 3.4.0rc image right now, you’ll get an older quarterly release of pkgsrc. That’ll be changed tomorrow as the DragonFly pkgsrc git source is updated and I change where 3.4′s /usr/Makefile points.
pkgsrc-2013Q1 announced, with extras
The 2013Q1 branch of pkgsrc has been announced. Along with the normal quarterly material, there’s several notes: preliminary Cygwin support is present, ruby 1.8 will be retired in favor of 1.9 after this release, and the pkgsrc.org web page now has a very nice new look and logo.
I plan to branch DragonFly 3.4 very soon, and that version will have 2013Q1 as default.
Update: The 2013Q1 branch should be available by tomorrow on DragonFly’s git; the repository needs to update and convert from NetBSD’s CVS and that takes a little time. I’ll post when it’s ready.
Lazy Reading for 2013/03/31
I hope you like reading; there’s some very meaty links this week. Go get a cup of tea and settle in. You drink tea, don’t you? You ought to.
- Reading about KDE’s repository near-meltdown makes me think we need more checks for DragonFly. We have the advantage of Hammer, of course, which would help in the same way that the linked article names ZFS as a ‘fix’. (via multiple places)
- We know that Apple will reject apps it disagrees with. Google also will do so. Has there ever been a program rejected from pkgsrc or (FreeBSD/OpenBSD) ports on content grounds? Not that I know of – anyone remember differently? I’d argue that’s a favorable point for the BSD packaging systems, though it may just be that no application has tested those boundaries yet.
- Portscanning all IPv4 addresses on the planet. Possibly the largest distributed effort ever? The detail in the maps and returned services is especially interesting. (via)
- Scale Fail, a Youtube video of a 2011 talk about screwing up your services. Mostly about the humor, but the underlying points are valid. (via #dragonflybsd IRC)
- There’s still improvement possible to fsck, apparently based on this. That’s UFS2 fsck.
- What is your most productive shortcut with Vim? A very thorough explanation of verbs, marks, and registers. Holy cow, I wish I had known about ‘: … v’ before. It’s long, but worth it. (via)
- Matthew Garret’s description of Secure Boot vs. Restricted Boot with UEFI, (via a coworker who went to Libreplanet 2013). I’m still not sure what DragonFly will need to do about this.
- I missed mentioning this earlier: 20 years of NetBSD. We’re coming up on 10 soon.
- Dragonfly drones. Unrelated except for name.
- That guy who starts to froth madly every time BSD is mentioned on Phoronix is still there (see comments).
- Mainframe computer supercut. (via)
Your unrelated comics link of the week: Tom Spurgeon of the Comics Reporter asked people for their lists of webcomics that could go in a ‘Hall of Fame’. The resulting list is a lot of really, really good material. Go use up a few hours reading.
A 3.4 release clarification
I saw this Hacker News post and figured I should emphasize: pkgsrc is still going to be available in the 3.4 release of DragonFly; we’re not suddenly switching to dports. I don’t want anyone to think they’re going to have to rip out all their packages and go to a new, untried system, all at once.
Pre-release images for 3.4
If you were thinking, “Hey, I’d like to try an early version of DragonFly 3.4 before it’s released”, I’ll just point you at the recent daily snapshots of 3.3. These are close enough to a release candidate, I think.
Planning for DragonFly 3.4
The next release of DragonFly will be 3.4, and it’s probably going to be mid-April.
Cons and more cons
EuroBSDCon 2013 is being held in Malta at the end of September, and the Call for Papers has just gone out. BSDCan 2013, which is the tenth BSDCan (!) and happening in May, just opened up registration. Same for PGCon.
DragonFlyBSD on OpenGrok
OpenGrok is a source browser that I have not used extensively, but many people say is a great tool. The same people say it’s difficult to run. Zafer Aydogan just posted that DragonFly’s source is available now from his perfectly-functional OpenGrok installation.
(I’ll put it in the links sidebar here, too.)
Book publishing experiences
Michael W. Lucas posted about his results selling an early edition of his recent DNSSEC book through Leanpub. He lays out all the numbers in detail, the sort of thing I love to see. The idea of self-publishing and open source go hand in hand, but the idea of that selling is often talked about in speculative terms rather than concrete. He’s now opening his own direct sales store, which hopefully means more direct BSD material.
Lazy Reading for 2013/03/24
It’s still snowing in my area, which is unusual. And great!
- An IBM Selectric being gutted, in stop motion.
- Apple is Losing the War – Of Words. I’m not interested in it for Apple, but rather the casual reference to the huge quantity of astroturfing going on, all the time, from major tech companies.
- Following up on my earlier tweetspam post: World’s Best Spam. Remember, recommendations from others is the most effective persuasion method to get people to buy, so there’s a big economic incentive to create positive recommendations. (via)
- Related: The Economics of Spam. (via)
- se, a modernized, screen-oriented ed. (via)
- Where the symbols “+” and “-” came from. (via)
- A Partial History of Headphones.
- Geometric shapes in Latex. I’m sure someone will find this useful. (via)
- “The Kung Fu Killing Machine DragonFly” See the second cover. I have this actual series in paper form; it’s great. (via)
- That Afrodisiac comic from the previous link is available from the publisher; there’s a PDF preview.
- Continuing – the best blaxplotation homage ever is Black Dynamite.
- I never promised I’d stay on topic here.
Your unrelated comics link of the week: French cartoonist Boulet knocks it out of the park again.
A short npf note
NetBSD is using/will be using? ‘npf’, a new version of pf similarly-named-but completely-different firewall from pf. Hubert Feyrer put together a bunch of links talking about it. I link this because DragonFly is using a version of pf equivalent to what OpenBSD 4.8, and there’s been some discussion of what to do next; it appears FreeBSD and NetBSD are forking off separately from OpenBSD’s version.
Update: npf and pf share 2 letters in the name and nothing else, as Joerg told me – corrected.
DragonFly and spam
Hey, look, DragonFly BSD showing in tweetspam! Don’t bother following the tweeted links; they don’t have anything useful. It’s entertaining to see the structure and coding of these bots; they’re no horse_ebooks, of course.
Mailing lists interruption
There’s an as-yet-undiagnosed problem with the @dragonflybsd.org mailing lists; you won’t see any mail from them right now. I don’t have an ETA for a fix because I don’t know the underlying cause yet…
Update: Fixed; I think – dragonflybsd.org DNS server was not responding, and it had a ripple effect.
Summer of Code and DragonFly as of right now
I’ve put in an application for DragonFly to be a Google Summer of Code mentoring organization for the 6th year in a row – we have mentors lined up, so we’ll know by the Friday after next. See my post on kernel@ for pretty much what I just said.
Pentest ebook for sale
If you are a BSD Magazine subscriber (meaning you provided your email to download a free issue), you can get a 20% discount on a security e-book from Craig Wright. As the promtional email said, ‘Write to editors@bsdmag.org with “BSD ebook” in the title of message to get the special code’. I have no idea of the contents; just the existence of the sale.
A new OpenBSD identd
OpenBSD has a new identd daemon. Is identd used for anything other than verification when connecting to an IRC network? I’ve never seen it in another context.
Another sh(1) update
Peter Avalos has committed another batch of updates to sh(1), from FreeBSD. I was going to comment on how strange it was to see software getting updated so many years later; you’d think everything there was to update for /bin/sh had been done at this point. Digging casually, the oldest bit on sh that I can find is from 1991 – 22 years old. The man page mentions a rewrite in 1989 based on System V Release 4 UNIX, and there were versions of sh all the way back to version 1.
Here’s a trivia question – what’s the oldest Unix utility, and what’s the oldest code still in use? I don’t know the answer.
Default PHP in pkgsrc moving to 5.4
Right now, if you install PHP, or something dependent on PHP, from pkgsrc, you get PHP 5.3. The default for pkgsrc will move to 5.4, though I assume that’s going to be after the pkgsrc-2013Q1 release scheduled for the end of this month. I don’t know the upgrade path, but it sounds like 5.3 is on the way to retirement, in any case.
pkgsrc-2013Q1 freeze starts
The freeze for pkgsrc-2013Q1 has started; expect the next release at the end of the month. (Ignore the subject line).
Lazy Reading for 2013/03/17
You know what stinks? I find a really cool thing online somewhere, early in the week, or even in a previous week, like today’s unrelated link. Between me finding it and this always-on-Sunday post, other people encounter it, the link gets reposted everywhere, and it’s old hat by the time you see it here. Yeah, I’m complaining like it’s hipster linking!
- Has anyone noticed how there’s been an explosion in nontraditional peripherals lately? Seriously, follow those links. I know there’s more.
- A Roguelike Primer. An excellent overview of a lot of different roguelikes. I didn’t know NetHack had an isometric view. (via)
- There’s a programming language called Quylthulg. That makes me happy, in a D&D/roguelike kind of way.
- Abandoned Apples. I feel bad about the Apple ][ units, and the fatmacs. (via I forget)
- yes `yes no`. The comments on the linking page note how the linking description is all wrong (and here's corrections), but one comment is fun: shell Russian Roulette: [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click* (via)
- A note about Google Reader’s demise from an interview with one of the creators. It strikes me that there aren’t more people mad that RSS feeds are hard to find. There’s lots of conversations on Twitter and Facebook and Google Plus and other places, and I can’t see them without getting an account for each, and logging in. The overall effect of this separation is that it’s hard to follow any one source.
- The Thing, an art BBS.
- Here’s a chart of possible Google Reader replacements, plus my query earlier this week let to a number of comment suggestions. tt-rss looks like a good candidate, because I don’t have to worry about someone deciding not to run it anymore. There’s also newsbeuter, though maybe that’s too minimal.
Your unrelated link of the week: I almost can’t tell this is a parody. Actually, it’s more like a double level of parody. Seen on this inexplicable, wonderful Tumblog; found via arts inscrutable.
Bonus link: Dog Snack Episode 3.
BSD Magazine: March
The March issue of BSD Magazine is out, with topics like handling crash dumps. Apparently April’s issue is going to be all FreeNAS.
RSS reader recommendations
Google Reader, which is what I use to track as much BSD stuff as possible, is being retired as of July 1. I need a new RSS reader – any recommendations? Something that I can access from multiple places (i.e. online app) is best.
Absolute publishing dates
Michael W. Lucas has announced his next two books are coming out in April: Absolute OpenBSD 2nd Edition, from No Starch Press, and DNSSEC Mastery, self published.
Pkgsrc freeze on the way
The freeze for the next quarterly release of pkgsrc – 2013Q1 – has been announced by Thomas Klausner. March 17th to start, March 31st to end.
Lazy Reading for 2013/03/10
I managed to come up with a lot of links this week, somehow, despite the start of the class I’m teaching in addition to normal work. And Summer of Code’s coming up! And we’re due for a release relatively soon! I may appear somewhat… stretched over the next few weeks.
- Hey, other people are noticing that odd linkspam email I’ve been getting. (via)
- The followup: Don’t share that infographic spam. I’m pretty sure I’m the ‘one reader’ mentioned by the author, since I mailed him about the previous story.
- I always enjoy stories about troubleshooting strange performance problems.
- We need something like this Red Book idea for pkgsrc/DPorts.
- Ode to the Semicolon. I love semicolons; I use them more than an em dash. (via)
- The Maker Map. You may find this useful for building resources. I’m gaining one near me soon. (via)
- The Book-writing Machine. Possibly the first book written with a word processor. (via)
- Vim Git Gutter. A brilliant idea: show the git diff as you work in Vim. (via)
- Add everything to Vim! Add nothing to Vim! (via a long twisty path of links)
- An HTML5 roguelike, THE ROYAL WEDDING; nicely done. (via)
- Hey, the Digest is on Google Plus, or at least the RSS feed is.
- Smallest analog computer ever made. This is what computers should look like. (via)
- List of inventors killed by their own inventions. No good reason to link this other than it’s a longer list than I thought it would be. (via)
- This PHP/MySQL assessment made me laugh. (via)
Your unrelated link of the week: I’m the Computer Man. I always thought the mid-1990s were sort of a Internet/computer teenager phase. Everything had potential but everything was also awkward. (via I forget, sorry!)
What’s happening at pkgsrcCon 2013
The 2013 version of pkgsrcCon is happening in a few weeks in Berlin, Germany. As announced, the presentation list is up. If you can’t make it to Berlin, there will potentially be video recordings of the event.
Windows and pkgsrc, of all things
Cygwin is a ‘supported platform’ in pkgsrc now. This means your Microsoft Windows machine can now build packages out of pkgsrc. I have no idea how many packages actually succeed, but it’s interesting to see the same tools there as on other platforms.
Summer of Code for non-students
Meaning, Summer of Code for the teachers, not the students. Google apparently has a grant program for academic researchers, that runs twice a year. I didn’t know this, but I bet there’s someone who is 1: in academia and 2: needs cash money that is 3: reading this.
Early morning distraction
Perhaps it’s not early morning where you are, but: if you go to Google’s 2013 Google I/O site, clicking on the I and O in particular patterns take you to various easter eggs. (see after break for spoilers).
Multiple ring support on Broadcom 5709/5716
It seems Sepherosa Ziehau won’t rest until he’s reached peak performance for every network card in DragonFly; he’s added multiple ring/MSI-X support for Broadcom 5709/5716 chipsets in DragonFly. In more concrete terms, this means better speeds when transmitting and receiving multiple streams of data.
(at least, I think so.)
The simplest web server
Found by way of a NYCBUG newsletter: sws, a webserver written in sh. Brett Wynkoop is the author, and as he points out, sws works on any platform with “/bin/sh, dirname, cat, and date”. The author’s giving a talk at an upcoming NYCBUG meeting – tomorrow!
Patch cross-pollination
I wasn’t aware of this, but apparently DragonFly’s version of patch(1) comes from OpenBSD and NetBSD. FreeBSD’s old version of patch is being replaced by this and modified to match the old one’s behaviors. It would be worthwhile to bring these changes back, if possible, just to reduce the differences in a utility that’s already been around the world, so to speak.
As an aside, I always thought patch was one of Larry Wall’s unsung successes, and I’m entertained by any program that has “Hmm…” as one of its official outputs.
Lazy Reading for 2013/03/03
I am all over the place with links this week – some of them pretty far off the path. There’s a lot, too, so enjoy!
- Puctuation obscurantism, punctuation humor; I like it all. (via)
- Exporting your git repository. Found while looking for something else.
- I want CTRL-D at a terminal to make something like this to happen.
- Visual Representation of Regular Expression Character Classes. I like visual ways of classifying complex data.
- Speaking of which: Anatomy of Data. Not sure how I found it.
- Digital Files and 3D Printing – In the Renaissance? The title sounds a bit linkbaity, but the story of the 14th century map designed to be recreated with a graphing tool is pretty neat.
- Postgres: The Bits You Haven’t Found. Advanced/odd Postgres usage. (via)
- Breaking your arrow keys is the latest idea in improving Vim usage.
- PC-BSD is moving to a ‘rolling release’ format, and also using the new pkg tools that are also in DPorts. Historic details on this new setup are available.
- Fred, taking off.
- Ten hours with the most inscrutable game of all time. I like the idea of Dwarf Fortress more than I actually like playing it. I’m somewhat afraid of it. It looks like this sounds.
- That last comparison wasn’t necessarily fair, but it was fun.
- If I’m going to talk about music like that, I should link Ishkur’s Guide to Electronic Music.
- The Wizard of Pinball. I just want my own standup pinball or arcade cabinet game. Yes, yes, I know, MAME cabinet.
- Appropriately this week, “Ball Saved”, page 1 and page 2 of a 2-page comic about pinball.
- UnReal World, an Iron-Age roguelike. Apparently pretty brutal, and two decades in development. Runs on several platforms, but not BSD. (via)
- You Are Boring. Some of the ‘boring’ items made me laugh. (via)
- The first review of Michael W. Lucas’s Absolute OpenBSD, Second Edition is available.
Your unrelated link of the week: I’ve already been offbeat enough in this Lazy Reading; I don’t have anything else.
Pkgsrc mysql now 5.5 by default
As the title says, if you install MySQL from pkgsrc-current, you’ll now get version 5.5.
Software RAID options
Help with a Firefox plugin
Michael W. Lucas is looking for someone to improve the Extended DNSSEC Validator. Specifically, add BSD support. It’s an idea worth supporting, because the standard it works with makes self-signed certificated perfectly feasible.
3 very different commits
Here’s 3 recent and different commits to DragonFly that I’m commenting on all at once:
- Peter Avalos upgraded libarchive in DragonFly to 3.1.2, with a note of the changes. An ordinary and appreciated update.
- Sascha Wildner updated the ISO639 file to include the newest update: “Standard Moroccan Tamazight”. There’s no particular utility to that; I just like saying “Standard Moroccan Tamazight” out loud.
- Work on poudriere, the utility for bulk-building DPorts packages, has caused some nice speedups for DragonFly in extremely stressful situations. See one of Matthew Dillon’s recent commits.
I really wish the other BSD projects would include commit lines in the mail message subjects, so it was easier to catch things like these.
Lazy Reading for 2013/02/24
A calm week, for once.
- Via Michael W. Lucas: Absolut OpenBSD.
- Another ‘How I customize Vim’ style post. These things always sound great, but I worry that it’s not something that can be duplicated. If you had to rebuild or duplicate your Vim environment elsewhere, you’d have to write out your own instructions. Not impossible, but I don’t have to do that for anything else. (via)
- Twine, a game creation tool that really requires only writing. (via)
- The Oxford Comma, or how it doesn’t matter. (via)
- The Story of the PING Program. I could have sworn I linked to this before. I remember having someone explain ping to me when I was young and had little experience of IP networking; it seemed like magic where the computers would actually talk. (via vsrinivas on EFNet #dragonflybsd)
- ARPANet, 1971, as a tattoo. (via)
Your unrelated comics link of the week: Reid Fleming, World’s Toughest Milkman. All the early issues, available in electronic form, for pay-what-you-want. (And I advise paying; it’s a fun comic) Look at a sample page if you are curious.
DPorts packages for 64-bit DragonFly available
If you want to take advantage of the binary packages of DPorts, and have a x86_64 system with a recent DragonFly 3.3 on it: Francois Tigeot has you covered. There’s no i386 packages yet, which are the ones I could use right now, darnit.
If you want to try DPorts, see my earlier article.
Read shortcut, buffer cache improvements
The new vm.read_shortcut option has been turned on by default by Matthew Dillon, which should lead to some performance improvements. That improvement has been measured for tmpfs, at least. There’s also some buffer cache improvments that help on x86_64 systems, too.
Update: As Venkatesh Srinivas pointed out, tmpfs also no longer uses the mplock, so it’ll take better advantage of multiple processors.
New man page source, abbreviated
Constantine A. Murenin has put together a new man page resource for all the BSDS: mdoc.su. The options for shortened URLs are entertainingly diverse.
More vkernel options: MACs, disk serials
Thanks to Antonio Huete Jimenez, it’s now possible to set the MAC address for each interface and specify the disk serial number in the command line for a vkernel.
DNS(SEC)administrators needed
Michael W. Lucas needs people who know DNSSEC, BIND, have some time, and are willing to criticize him. He’s finished his first draft of DNSSEC Mastery, and needs reviewers.
BSDTalk 223: Michael Dexter and bhyve
BSDTalk 223 is out, with 23 minutes of conversation with Michael Dexter about bhyve.
World backups when upgrading
John Marino proposed a method for backing up world when upgrading, for those rare but catastrophic cases where the installed programs can’t run. After some discussion, he committed an automatic backup method, and there’s a ‘restoreworld’ target to take advantage of it.
The kernel already gets renamed to kernel.old as a backup, if I remember correctly.
Summer of Code ideas, please
If DragonFly is going to participate in Google Summer of Code for 2013, we need project ideas, and lots of them, at any size. There’s an existing project page that anyone can add to, especially if you’re a student and looking to add your ideas.
Tor-BSD list created
The fine folks at the New York City BSD User Group have created a mailing list specifically for using The Onion Router on BSD. Please join if you are interested in TOR, and especially if you are using something other than FreeBSD, since that’s the only ‘supported’ BSD TOR runs on right now.
More IP forwarding stats
Sepherosa Ziehau has posted more statistics on his ifnet/ifaddr per-CPU stats work. It’s doing so well that he’s very close to reaching the maximum physical capacity of the 4x gigabit ethernet hardware he’s using.
BSD Magazine: Rehosting
The February 2013 issue of BSD Magazine, available as a free PDF, talks about VAX/VMS ‘rehosting’, has a PC-BSD preview, and other things. The teaser paragraph for the “Fear, Loathing and Misunderstandings” article (shown on that linked page) is perfect.
Two pkgsrc changes
There’s two changes in pkgsrc recently that might affect you: graphics/png was updated, so many dependent packages will require recompilation. Also, editors/emacs was moved to a general package instead of being specifically named by version, so now you can install ‘emacs’ instead of ‘emacs24′ or whichever version.
Lazy Reading for 2013/02/17
This week I will both post this on the correct day AND get the date in the title correct.
- An oldie but goodie. ENHANCE. This will make anyone who has done photo/video editing twitch. Check the author’s Tumblr for more supercuts. (indirectly via)
- Many people complain about regular expressions (and more recently), but they are an insanely powerful tool if you know them well. If you do, figure out this crossword. (PDF) (via)
- Followup on the first two links in that last item: xkcd drives a lot of traffic!
- If you are on Windows, you probably use PuTTY for ssh. It saves everything in the registry, which can occasionally mean losing all your configuration. There’s manual ways to save it, but there’s also PuTTYtray. (I’ve used portaPuTTY in the past, but it seems to be missing/no longer updated.)
- Actually, holy crap there’s a lot of variations/addons for PuTTY.
- That makes sense given how many terminal emulators there are, really.
- Why piping something off the Internet right to a shell isn’t a good idea. (via)
- Remember when the computer section in bookstores had books that involved programming? (unfair, I know.)
- “Don’t Be A Stranger“, musing on how there isn’t enough meeting strangers through the Internet any more. Here’s the odd thought I had while reading that article: I couldn’t pick most of the other DragonFly developers out of a lineup, but I’ve been working and talking with some of them for a decade.
- You could build Photoshop version 1 yourself – just substitute the original Mac libraries.
- Related: Photoshop is a city for everyone.
- Some of the oldest color film footage. Not the oldest,but possibly some of the earliest commercial film. Of course, the first thing filmed are young, attractive women. This is a re-occurring theme.
- Hey, a comprehensive year-end BSD roundup.
Your unrelated tea link of the week: Epic Tea House Server. Interesting just because of what he does and because I’ve never encountered tea from a samovar, though I’ve read of it. (via)
Wait, this is better! That previous link led to this film from an English chemistry professor about tea chemistry. At first I was just entertained by his hair and his accent, but when he put tea in a NMR spectrometer, I decided this was the best tea thing ever. Even better than Elemental!
Pulling authorized_keys from LDAP
Michael W. Lucas has put together a script for pulling a user’s authorized_keys file for SSH out of LDAP. It’s a very good idea, though he hints pretty clearly that he could use feedback/feedback – there’s already some in the comments.
Updates: from discussion in IRC about this sort of distributed authentication (maybe ‘authentication distribution’ is a better phrase): Tools like puppet or FreeIPA may also be useful. From seeing other conversations about this, it looks like there’s a lot of solutions to pick from, of varying difficulty, and none canonical. That’s both good and bad.
a pf question on VoIP
I have a pf question for anyone who is interested. I have this setup in my /etc/pf.conf, to prioritize my VoIP link. (this system also does NAT.)
extif="em0" intif="nfe0" ipphone = "192.168.0.101"
altq on $extif cbq bandwidth 768Kb queue { std, voip }
queue voip bandwidth 168Kb priority 7 cbq(borrow)
queue std bandwidth 600Kb priority 1 cbq(default)
nat on $extif from $intif:network to any -> ($extif)
pass in quick on $intif proto udp from $ipphone to any tag VOIP_OUT keep state
pass in on $intif from $intif:network to any keep state
pass out on $intif from any to $intif:network keep state
pass out on $extif tagged VOIP_OUT keep state queue(voip)
pass out on $extif inet proto tcp all modulate state flags S/SA queue(std)
pass out on $extif inet proto { udp, icmp, gre } all keep state
When I run this, ‘pfctl -s queue’ shows most of the data getting run through the ‘voip’ queue. I unplug the ATA, I still see the number of packets going up. It seems packets are getting tagged that shouldn’t be, but I’m not sure why. Anyone else have a similar – but working – setup?
Update: it was the underscore character in the tag. Everything matched it, it seems. Removing that made it work as expected.
