8,747 reputation
1657
bio website l0b0.wordpress.com
location Oxford, United Kingdom
age 34
visits member for 3 years, 3 months
seen 3 hours ago

Developer - Hobby & work


3h
comment Does `sl` ever show the current directory?
@tne The modulo doesn't solve that. For example, if you use a rand() which returns a number between 0 and 109, there's an almost 2% chance of rand() % 100 < 10. With a minimum range of 32767 the difference is pretty small, but not zero.
13h
reviewed Edit suggested edit on Move files and change ownership at the sametime
13h
revised Move files and change ownership at the sametime
Make the chown conditional on the result of mv. Split the long line for improved overview and no hor. scrolling
14h
reviewed Approve suggested edit on Move files and change ownership at the sametime
18h
comment Does `sl` ever show the current directory?
+1, but that's not exactly 10% - rand() "Returns a pseudo-random integral number in the range between 0 and RAND_MAX," which is library-dependent but may not be divisible by 100.
18h
comment Does `sl` ever show the current directory?
@MrLister Surely that would only be possible if the filesystem also had a bug in it to allow such files to be created. Do you have a reference?
18h
awarded  Nice Answer
1d
revised Does `sl` ever show the current directory?
added 5 characters in body
1d
answered Does `sl` ever show the current directory?
Apr
12
revised How can I cleanly add to $PATH?
added 102 characters in body
Apr
12
answered How can I cleanly add to $PATH?
Mar
29
answered What constitudes a 'field' for the cut command?
Mar
25
asked Extremely loud crack and mangled sound over S/PDIF using ALSA
Mar
23
revised How to get last crash log from ArchLInux
Link formatting
Mar
22
revised Is it possible to remount USB drive after unmounting in Thunar?
added 247 characters in body
Mar
22
comment Is it possible to remount USB drive after unmounting in Thunar?
But it's a different distro, which means even an accepted solution may not be applicable. Voting to reopen on that basis.
Mar
21
comment Is it possible to remount USB drive after unmounting in Thunar?
@JosephR. No, I already linked to some of the answers there that I have tried.
Mar
21
asked Is it possible to remount USB drive after unmounting in Thunar?
Mar
21
comment How to reconnect a logically disconnected USB device?
Assuming dmesg reports the correct device ID ("usb 9-4: USB disconnect [...]"), this does not work on latest Arch Linux. There is no path /sys/bus/usb/devices/9-4 afterwards.
Mar
15
asked How to enable all STIX font glyphs in Firefox?