38,528 reputation
480125
bio website chrisdown.name
location London, England
age
visits member for 3 years, 3 months
seen 2 hours ago

Dec
11
awarded  Good Answer
Nov
21
awarded  Nice Answer
Nov
12
awarded  Good Answer
Nov
11
comment Process with randomized name
What do you mean by "what is enabling the change of name"? A process can name itself whatever it likes whenever it likes by changing the contents of argv. If it's the same process, you might consider inspecting it by PID instead.
Nov
9
revised How to display the IP address of the default Interface with Internet connection?
added 216 characters in body
Nov
9
comment How to display the IP address of the default Interface with Internet connection?
@MarcellodeSales Yeah, /proc/net/route. I've posted an answer to that effect.
Nov
9
answered How to display the IP address of the default Interface with Internet connection?
Nov
9
comment How to display the IP address of the default Interface with Internet connection?
If you're going to do this on Linux, you might consider using procfs instead of parsing :-)
Nov
3
comment .vimrc does not working as expected
Do you source some other settings file after those lines?
Nov
3
awarded  Nice Answer
Nov
3
comment What's the easiest way to find an unused local port?
@Lekensteyn Successful port binding results in the kernel returning EADDRINUSE if you try and use it again, it's not possible that "the port which just got checked might be reused".
Nov
2
comment What's the easiest way to find an unused local port?
@Lekensteyn: Where do you see a race condition here?
Oct
30
comment Help understanding and using Symlinks
I'm not sure what you're asking here. Symlinks to a directory work just fine, what problem are you having? This question doesn't seem to ask any questions at all..
Oct
29
comment Nginx leaves old socket
My point is that I don't think having nginx create the socket is a typical outcome of the listen directive, so it probably doesn't have code to remove the socket on exit. Typically, you have some other application that creates the socket, and nginx just listens on it. It probably doesn't remove it since it doesn't know what the other application wants to do with it.
Oct
29
comment Nginx leaves old socket
I'm not sure if that's a typical way of operating, typically the socket is external. It wouldn't surprise me if nginx doesn't consider itself responsible for removing the socket after terminating.
Oct
29
comment Nginx leaves old socket
Unles I'm misunderstanding, nginx is listening on that socket, it doesn't create it. Why would you expect it to remove it?
Oct
29
comment How to output the directory structure to Json format
@Fearghal Just put it in a script and run the script.
Oct
28
comment How to output the directory structure to Json format
@Fearghal: It already has that, read the instructions again :-)
Oct
28
comment How to output the directory structure to Json format
@Fearghal Just run it as a script, I don't believe __name__ is __main__ in the REPL.
Oct
28
revised How to output the directory structure to Json format
EAFP