875 reputation
1318
bio website
location United Kingdom
age 35
visits member for 2 years, 4 months
seen Mar 25 at 12:35

I am a mathematics enthusiast, although I have no formal training. What I know is what I've been able to glean from searching Wikipedia.

I enjoy writing computer programs, although I have never been employed as a programmer. I've used two-dozen different programming languages, but my current favourite is Haskell.

I also have an interest in various areas of science.

On top of all that, I'm also a bad musician, a mediocre dancer, and a very bad juggler. :-P


Mar
20
awarded  Popular Question
Mar
18
accepted Reading from sysfs returns EINVAL
Mar
18
comment Reading from sysfs returns EINVAL
So if the device is powered off, you can "expect" this file to not work? (Now I'm wondering why the heck the kernel doesn't just not display the file, or at least assume false, rather than doing something very strange like this...) You could probably post that as an actual answer.
Mar
18
asked Reading from sysfs returns EINVAL
Mar
11
awarded  Popular Question
Mar
11
revised Control which process gets cancelled by Ctrl+C
deleted 1 character in body
Mar
2
awarded  Popular Question
Jan
29
awarded  Famous Question
Jan
22
comment Any reason to use or teach `…` substition for new development?
Wait, backticks are deprecated?? Does anybody have a canonical reference explaining why? (Weird syntax characters are very hard to search on.)
Jan
22
answered rpm -R verses zypper info --requires
Jan
22
asked rpm -R verses zypper info --requires
Dec
2
comment Inheriting Bash signal traps
How does one "ignore" a signal? You mean trap - SIGINT permanently disables that signal for all child processes?
Dec
2
comment Inheriting Bash signal traps
How odd... I have no idea why it would do that.
Dec
2
comment Inheriting Bash signal traps
Coming back to my original question, your answer appears to basically say "yes, trap is local to one script file". Is that right?
Dec
2
comment Inheriting Bash signal traps
See my other "answer".
Dec
2
answered Inheriting Bash signal traps
Dec
2
comment Inheriting Bash signal traps
Nope. It's running from a script file, that successively turns on various traps and prints out the result after each one.
Dec
2
comment Inheriting Bash signal traps
I tried grep /proc/$$/status after various combinations of trap. I seem to get SigCgt: 43817efb in all cases. What the heck...?
Dec
2
asked Inheriting Bash signal traps
Nov
30
comment Bash: issuing trap twice
+1 for the POSIX quote.