1,386 reputation
1222
bio website realultimateprogramming.blogs…
location Duluth, GA
age 34
visits member for 4 years
seen yesterday

I like to spend time with my lovely wife, our two beautiful daughters, and our dog. I'm also a fan of geek humor, and I've been known to flip out and write codeā€¦ elegant code, if I'm really lucky.


Dec
18
comment Translate GNU ps flags to standard flags
On FreeBSD, I needed to switch it to -U instead of -u. On OpenBSD it doesn't have -A. I am rather sad that my beloved BSDs aren't obeying the standard.
Dec
18
comment Translate GNU ps flags to standard flags
Am I misreading the various man pages, or is there no one combination of flags that will work on OS X, BSD, and Linux?
Dec
16
comment Translate GNU ps flags to standard flags
@StephaneChazelas ps x might be BSD syntax, but it's not a valid flag to ps. man ps On the other hand, it does seem to valid on Linux (a Linux distro's man ps). Since Linux distros use the GNU userland, I assumed it was a GNU thing.
Sep
10
comment Why would someone choose FreeBSD over Linux?
@ashwin FreeBSD handbook is hands-down the best docs I've seen for an OS. The closest I've seen is probably the Gentoo handbook. The BSD man pages also tend to be very nice, although OpenBSD's man pages are probably better than FreeBSD's.
Jul
27
comment How do I perform a reverse history search in ZSH's vi-mode?
Thanks, particularly for zshzle. That is quite informative and useful.
May
30
comment Colorized `cat` for source and script files?
I like the vimpager project for this.
May
15
comment Is there such thing as a “free” equivalent to Microsoft Virtual Server?
@jippie The last time I was looking into this, Xen no longer required a special guest kernel (the necessary stuff was in place in the vanilla kernels for most major OSes) as long as you were on a fairly modern processor.
May
4
comment gparted live CD can't resize a partition?
@user859955 GParted still doesn't handle LVM partitions? :-( Thank you very much.
Apr
25
comment Ubuntu Server: Already have LAMP installed, how do i install and set up Django?
@Nicklas mod_python is deprecated; use mod_wsgi instead. If you go to the Django mailing list or IRC channel and ask for help with mod_python, they're probably going to tell you the same thing. Seriously, pretend you've never heard of mod_python, and it will make your life simpler.
Apr
24
comment Ubuntu Server: Already have LAMP installed, how do i install and set up Django?
@Nicklas You're going to want mod_wsgi, then. Try this guide. It was the de facto default for a really long time, so (assuming that guide is still current; my Django is a bit rusty) it shouldn't be too bad. The architecture behind the nginx+gunicorn solution is just more unix-y; the mod_wsgi stuff probably makes perfect sense if you already understand Apache's way of doing things (I never did, but that's probably because I never used it heavily, whereas I use *nix all day, every day).
Apr
21
comment How do you install mutt on Mac OS X?
Is there a reason you're stuck w/ only pre-compiled binaries? One of the package managers will give you the option of dropping into a very Unix-esque environment any time you need to. I'm using mutt from Homebrew right now, and it's pretty sweet, and not even all that complicated to set up once you have a feel for *nix. I can give you the details of my setup if you'd like.
Oct
13
comment Why would someone choose FreeBSD over Linux?
@marto Glad you found it useful. I remember thinking "This is awesome" the first time I stumbled across it.
Aug
11
comment Install bz2 lib from source
@Moein7tl I don't have a CentOS box in front of me, and I haven't tried these instructions before, but this article supposedly walks you through installing apt using yum. At a glance, it looks reasonable, but that's all I can say for it. I will say one more time that it probably makes more sense to just learn how to use yum than trying to manage a CentOS using apt, but you know your own needs best.
Aug
10
comment 'man' page is too narrow (not taking advantage of terminal size)
It doesn't really address your actual question, but I think it's worth pointing out that you can get real *nix man pages without all the pain of the old toolchain using something like ronn. Also, I seem to recall hearing that the OpenBSD toolchain for man pages is different (I have no real basis for comparison, though). Here's man mdoc
Aug
6
comment How can i view the contents of a tar.gz file (filenames + filesize)
@Gilles Thanks. Oracle should really do something about the fact that googling for "solaris man gunzip" doesn't bring back their pages as the very first result.
Aug
5
comment How can i view the contents of a tar.gz file (filenames + filesize)
@Riccardo Murri Thanks. I didn't think about the possible differences in tar behavior, too. I'll update my answer to include the flags you mentioned.
Jul
13
comment Why would vim return non-zero exit code if I exit immediately after opening?
This is a good point. I had already fixed this particular issue, but it is what led me to suspect that I accidentally fixed an error somewhere else in my .vimrc.
Jun
7
comment Why would someone choose FreeBSD over Linux?
@Tshepang It's possible that this is entirely a personal experience, and it's probably less common among people who have extensive Linux experience before they ever see a BSD. Another explanation that I've come up with is that I learned most of what I know about BSD by reading the official project docs, yet I learned most of what I know about (most) Linux distros by Googling. Gentoo is again the exception (their wiki was an excellent resource when I was exploring Gentoo), which makes me think I understand the reason for certain decisions better on those systems.
Jun
6
comment Why would vim return non-zero exit code if I exit immediately after opening?
Sorry - I'm on my work machine now and it doesn't have this behavior. I'll be sure to check it out once I'm on my home machine again, though.
Jun
6
comment Why would someone choose FreeBSD over Linux?
@Tshepang It's tough for me to put into words, but "integrated" might be a good description. I find that when I guess how something works, I'm right on the BSDs far more often than I am on the Linux distros I've tried (except maybe Gentoo).