128 reputation
4
bio website
location Sydney, Australia
age
visits member for 1 year, 6 months
seen 1 hour ago

Jun
29
comment why would curl and wget result in a 403 forbidden?
@starfry You need to tick Enable persistent logs on the settings tab of Firefox's dev tools to prevent it from clearing network logs on a redirect. Chrome has a similar option. Incidentally, "Copy as cURL" has been in Firefox Nightly/Aurora/Beta for a while now, and is due next major release (31.0).
Jun
29
comment why would curl and wget result in a 403 forbidden?
Incidentally, you can use the network tab of Firefox's dev tools to inspect sent and received cookies without any addons. Ditto for Chrome/Chromium.
Jun
4
comment Why does nginx starts process as root?
> This is one of the pros of using Linux for web servers as opposed to Windows. Sorry, but I don't buy that argument. Windows likewise allows service accounts with interactive logon disabled, and also supports ACLs. That said, there are other reasons Apache httpd and Nginx shouldn't be run on Windows (IIS is preferred) without extenuating circumstances, but that's beside the point here.
Apr
20
comment strange NTP traffic
It's possible that external access was allowed via UPnP rather than an explicit port forward. Unlikely, though.
Apr
6
comment What are the platforms that Linux is being used frequently on besides x86?
@trysis Don't forget all the servers that run Linux, the vast majority of which are on x86.
Mar
8
comment How are system commands like ls created?
For the identical test, you really should be using something like md5sum or sha1sum, not just checking file sizes and times.
Jan
22
comment How can I parallelise the upload of a directory by FTP?
The is one possible approach, but has the drawback of needing to authenticate once for every file - again, a lot of overhead made worse by high latency.
Jan
19
awarded  Scholar
Jan
19
awarded  Supporter
Jan
19
accepted How can I parallelise the upload of a directory by FTP?
Jan
19
awarded  Editor
Jan
19
revised How can I parallelise the upload of a directory by FTP?
Forgot to mention CLI.
Jan
19
awarded  Student
Jan
19
asked How can I parallelise the upload of a directory by FTP?
Jul
17
comment Optimizing a `while` loop
For your last example, you could sleep for a fraction of a second. Something like 0.1 or maybe 0.2 should be able to detect very short presses and still leave plenty of CPU time for other threads.