Oct 08

Rewiring the Heated Bed on a Monoprice Select Mini v2 3D Printer

Recently I acquired a Monoprice Select Mini v2 3D Printer and I’ve been having a great time learning and experimenting with 3D Printing on it. It’s a wonderful little printer that is inexpensive (At around $220), puts out great quality prints, it’s easy to work with and to work on. That said, it has a fatal flaw in its design: The wiring for the bed heater and thermistor is routed along a horrible path that lets the wires rub against the gears moving the bed, and these two pairs of wires are zip tied in a place that makes them kink as the bed moves. Between these two problems, the wiring is prone to short, fray, or break entirely. Unsurprisingly, I had to repair mine, read on to find how how.

Continue reading

Aug 27

Upgrading to FreeBSD 9.x with a whole-disk gmirror

My FreeBSD desktop workstation has been on 8.x since I built it just over two years ago. When I made it, I bought two 1TB HDDs and setup a RAID-1 volume with gmirror, following what was at the time the recommended instructions from the FreeBSD Handbook. After delaying the upgrade to 9.x repeatedly over the last several months I finally decided to give it a try after 9.1-RC1 was announced. Read on for how it went wrong, since FreeBSD 9.x more correctly handles partition integrity checks.

Continue reading

Aug 24

Setting Up a FreeBSD SVN Mirror

According to discussions on the FreeBSD-stable list, CVS support for FreeBSD sources is not just dying, it’s practically dead. (I’ll skip over the jokes about Netcraft confirming it…) So I setup an SVN mirror of the FreeBSD base and ports repositories and documented the process a little. I did this mainly because there are a lot of servers in two locations that need frequent access to the base and ports repositories, and there are currently cvsup mirrors running (one at each place) to keep the load off the upstream servers and for faster local access.

Continue reading

Apr 07

How to make a Tweetdeck Chrome Application shortcut in KDE

The other day I found that the Tweetdeck Chrome extension worked on FreeBSD (With Chromium 18.0.1025.142, probably earlier as well). I had been missing a full GUI to monitor some things on Twitter on my FreeBSD box. I have a much larger monitor on my FreeBSD workstation than on my Windows laptop, so I’d rather use the extra screen space there to keep a search column up (For pfSense, mainly).

Continue reading

Jan 06

Asus Transformer Prime Review

Seeing as I was one of the lucky few to get their hands on an Asus Transformer Prime so soon, a couple people have asked me to write up a short review of the device.

Having never possessed a tablet before I do not have any baseline for comparison so there may be some skew in my opinions due to that fact. Some of my positives and negatives may be true for all tablets — or at least those of this size/form factor.

Continue reading

Feb 10

Rapidly Growing SpamAssassin Bayes Tokens File (bayes_toks)

On a mail filter I maintain, there is a site-wide bayes database that is periodically trained by hand. It sits quietly and doesn’t change much over time. That is, until the Bayes database was moved to a new server. The SpamAssassin configuration was identical between the old system and the new system, there was just one problem: On the new server, the bayes_toks file was rapidly growing until it was quite large. Huge, in fact. Its size was expanding by several gigabytes per hour.

I checked all the usual things: auto learning was off, auto expiration was off, the permissions and user were set correctly, and so on. And yet it grew, constantly and swiftly.

After hours of searching and not finding anything, and various methods of tinkering, I found the answer. I backed up and restored the bayes database like so:

sa-learn --backup > bayes_backup.txt
sa-learn --restore bayes_backup.txt

After that, the toks file was once again left alone and didn’t grow. I suspect the problem was due to moving from a 32-bit platform to a 64-bit platform but that’s just speculation really, or it could be some other difference in the perl versions and libraries on the two servers.

In case you couldn’t tell, I was trying to use a bunch of different ways to word this problem, going off of the various Google searches I did trying to track it down. Hopefully others will hit this post in the future and it will save them some time. :-)

Sep 12

Brother HL-2170w

I picked up a new Brother HL-2170w last week. It’s a network-enabled (wired and wireless) black and white laser printer. At just under $100, and with $30-50 replacement toner cartridges good for thousands of pages worth of output, it was quite a steal in terms of features for the money.

I had been looking for an all-in-one color printer to replace my scanner and inkjet, but the more I looked, the more horror stories I saw. And when I didn’t see horror stories, I saw absurd ink costs on a per-page basis. The sheer number of horror stories was astounding. I have always considered printers to be evil, banes of our very existence but the tales of woe that wait on printer reviews are really like no other components.

So as inconvenient as it may be for color, it seems that doing photo prints (99% of what I want in color) is cheaper to do at an in-store lab (such as Wal-Mart) than to do it at home, plus I don’t have to worry about the crazy quality of inkjet printers, or expensive-yet-not-photo-quality color laser output. I still have my existing inkjet for the rare case where I might need a print fast, but at what seems to be about $0.50/print, it’s really not worth it.

The Brother printer was pretty easy to setup. Plug it into the network, and it pulls a DHCP address. I went to the printer’s web interface and setup a static IP, changed its name, and had all the PCs printing in no time. The Windows 7 boxes found the driver automatically, XP I had to pick the driver by hand, and my FreeBSD workstation needed the hpijs-pcl5e driver for CUPS, but needed no other special configuration.

Given all the negative experiences I’ve had with printers (and everyone else has had), I thought I’d share this positive one.