| bio | website | |
|---|---|---|
| location | Seattle, WA | |
| age | ||
| visits | member for | 1 year, 4 months |
| seen | 4 hours ago | |
| stats | profile views | 157 |
I am a computer programmer. Knowledge representation and algorithmic complexity are my main interests.
|
4h |
answered | Emacs: make portion of buffer readonly |
|
19h |
awarded | Nice Answer |
|
May 12 |
answered | How to check if the ISO was written to my USB stick without errors? |
|
May 12 |
comment |
How to disable caps-lock, without remapping or disabling it? Please provide details as to what you tried, i.e. the exact xmodmap expressions. Without details we can't tell whether you knew what to do and did it wrong, or whether you did it right but the code failed for some other reason. Also give us the OS you're using because some have keycode processing that occurs below the X server level. |
|
May 7 |
answered | Is it common to split larger script into multiple scripts and source them in the main script? |
|
Apr 30 |
comment |
Removing all spaces, tabs, newlines, etc from a variable? @magixx Thanks for the correction. |
|
Apr 30 |
revised |
Removing all spaces, tabs, newlines, etc from a variable? corrected 010 to 011 as per @magixx comment |
|
Apr 24 |
awarded | Necromancer |
|
Apr 24 |
comment |
How to demonstrate invalid PID assumptions? To end up killing the wrong process you need 1) a process that uses a PID file to die without removing the PID file, 2) the process not be restarted by systemd/init/launchd/whatever, which would put a new PID in the PID file, 3) 100,000 PIDs have been assigned so that PIDs start being reused, 4) a kill() system call directed at the PID of that old process while a new process is using the PID. If the user running the process isn't root, the odds of killing the wrong process decrease even further. There's no way to orchestrate these conditions easily on a live system. |
|
Apr 9 |
comment |
I have a route to the network but from the traceroute output it doesn't leave the server @depquid Yes, but 10.32.32.1 is being used as a gateway and it may be able to talk to 10.32.13.128/25 on another interface. There's no way to know whether it can from this table, but assuming that it can there's nothing wrong with the route. |
|
Apr 4 |
comment |
Emacs: mode-local macro with dashes and dots If you do regex searches using \w, dash and period are now going to be matched in buffers using the altered syntax table. Cursor motion commands will also be affected; forward-word will no longer stop before these characters. Similarly kill-word will delete more text than before. I think this behavior would be quite surprising and unpleasant in programming mode buffers, but in a text mode like HTML, I don't think it would cause much grief. |
|
Apr 4 |
comment |
Wrong behavior of xargs Shell variables do not maintain their values across different invocations of the shell, so what you're doing will never work. Try piping find's output to wc -l to count the lines of output. |
|
Apr 4 |
comment |
I have a route to the network but from the traceroute output it doesn't leave the server The routes look OK to me. Your gateway is on the same subnet, and you have a route through it to your destination. You need to make sure that 10.32.32.1 is actually acting as a gateway, and that it will respond to ICMP ECHO packets. Some admins turn off ping responses. |
|
Apr 4 |
answered | Unknown btrfs error, partition won't mount |
|
Apr 4 |
revised |
Emacs: mode-local macro with dashes and dots corrected require statement |
|
Apr 4 |
answered | Why is `kill -s INT <zsh PID>` behaving differently from `Ctrl-C`? |
|
Apr 4 |
answered | Emacs: mode-local macro with dashes and dots |
|
Mar 31 |
comment |
mount error “is not a block device” newdir should be the name you want created that points back to olddir. newdir should not already exist. |
|
Mar 6 |
answered | Why does my Emacs toolbar look different over ssh w/ X forwarding on Cygwin vs CentOS? |
|
Feb 13 |
answered | Killed `rm` and `cp` on nfs share |