367 reputation
17
bio website holyhandgrenade.org
location New York, NY
age 29
visits member for 3 years, 10 months
seen Nov 5 at 14:53

Hammer on keyboard and make the code good.


Jun
13
awarded  Autobiographer
May
30
awarded  Nice Answer
Oct
19
comment Negate exit code without using shell features
What do you mean by "negate"? Exit codes aren't boolean.
Oct
9
answered How to install PHP 5.3 on RHEL5
Oct
8
awarded  Commentator
Oct
8
comment How to send all output to a pager by default?
Why not just set your terminal emulator to unlimited scrollback?
Sep
30
comment the return built-in
There is absolutely no way for separate shell processes to communicate in the way you're describing. The only information returned to the shell from a subprocess are an exit code and the contents of standard output if you choose to capture it.
Sep
30
answered Extracting help message from script itself
Jul
20
comment Renaming a bunch of files with date modified timestamp at the end of the filename?
The code absolutely works fine for me, but Craig's definitely got the better solution with date -r. If this is uncommon, it must be some weird Red Hat customization.
Jul
19
comment Renaming a bunch of files with date modified timestamp at the end of the filename?
coreutils 8.4 on RHEL 6.
Jul
18
answered Renaming a bunch of files with date modified timestamp at the end of the filename?
Feb
23
comment Case-insensitive file system for production server?
This is completely insane, but IMO the least insane of all other options.
Feb
20
comment Move /var/www/ to /srv/www/ on Fedora 16
If you're using SELinux, note that you'll also need use semanage to duplicate the contexts from /var/www onto /srv/www. If you don't, your SELinux filesystem contexts will get clobbered if you ever have to do a filesystem relabel.
Feb
9
awarded  Yearling
Jan
5
answered Poor random read SSD performance on Linux
Oct
26
comment What is the fastest Virtualization solution for Linux?
If you're saying that things like VMware's virtual e1000 network adapter or LSI Logic SCSI controller that are presented to the guest are nothing more than shims to CPU extensions, I have to question whether you've even used a virtualization product before.
Oct
26
comment Why are network interfaces not in /dev like other devices?
Everything in Unix being a file doesn't necessarily mean it behaves that way to the entire userland, just that the underlying APIs operate sanely and uniformly on file descriptors. When you open a socket, for example, you can use read() and write() the same way that you would on a file, but the utility functions recv() and send() do a lot more legwork for you.
Oct
26
comment What is the fastest Virtualization solution for Linux?
The performance difference between OS-layer and full hardware virtualization (with hardware shadow page tables) is negligible; most virtualization platforms these days will have a performance hit under 5% for most workloads. OS-layer virtualization can arguably get you better consolidation ratios, but generally at the cost of QoS and uptime. There's lots of reasons to choose one over the other, but performance is not chief among them.
Oct
26
comment What is the fastest Virtualization solution for Linux?
Speed is assuredly not identical between all virtualization platforms; the hypervisor is a lot more than a wrapper around the instructions already provided by the CPU. It has to emulate virtual (or paravirtual) hardware, manage memory allocations and paging, schedule CPUs (to my knowledge, nothing but VMware implements relaxed co-scheduling) and so forth. There's lots of benchmarks out there for lots of different workloads on lots of different hypervisors.
Mar
8
awarded  Critic