6,577 reputation
1723
bio website
location Seattle, WA
age
visits member for 2 years, 6 months
seen 18 hours ago

I am a computer programmer. Knowledge representation and algorithmic complexity are my main interests.


Jul
10
comment Would you store the Makefile for later uninstallation?
+1 for the idea of using script. It seems obvious now, but I never thought to do it myself.
Jul
10
comment Copy all files except those that are executable
Crossposted: superuser.com/questions/779137/backup-a-programming-directory
Jul
10
revised Conditional block vs conditional statement (if)
added 159 characters in body
Jul
10
answered Ubuntu freeze after upgrade installation interrupt
Jul
10
answered Conditional block vs conditional statement (if)
Jul
9
answered Recover single file in the $HOME directory
Jun
9
awarded  Caucus
May
27
comment Which command to force a drive to spin up?
Without /dev/raw I think you're out of luck. As for disk buffer cache, it's hard to say. I'm used to using kernels that disable on-disk cache, but it's possible that the drive won't spin up if that cache is used. A further complicating factor are the hybrid drives that use flash+rotating rust.
May
27
answered Which command to force a drive to spin up?
May
22
comment How to print the first three lines and last two lines of a file using perl?
... as in one of the many available at CPAN. For the love of God don't write another parser yourself.
May
20
answered How to move a file without preserving permissions
May
14
comment What does the *.*;auth,authpriv.none -/var/log/syslog line mean in rsyslog config file?
It's implied in the documentation above. The priority part is skipped (ignored) for all but the last facility if you list multiple facilities using a comma. The docs could certainly be improved in this area.
May
14
comment What does the *.*;auth,authpriv.none -/var/log/syslog line mean in rsyslog config file?
auth,authpriv matches both auth and authpriv. The .none part applies to both of them. *.*;auth;authpriv.none would behave as you describe.
Apr
11
comment How to determine eth0 gateway address when it is not the default gateway?
Interfaces don't have gateway addresses, netblocks do. A gateway address tells the kernel where to forward packets destined for some host on some network. If the address is associated with a given interface then that interface will be used, but the address is independent of the interface.
Apr
9
comment Why does parallel slow down after a while?
If you renice the parent process, all future spawned children will share that niceness value.
Apr
8
comment Why does parallel slow down after a while?
Use the renice command.
Apr
8
answered Why does parallel slow down after a while?
Apr
1
answered Why do I need a tty to run sudo if I can sudo without a password?
Mar
29
answered which unix or linux command is used to change root password of remote machine(Just an IP address) without using SSH Login
Mar
25
reviewed Approve suggested edit on Changing a root file system from initramfs to JFFS2