Apr
16
awarded Popular Question
Apr
13
awarded Good Question
Apr
8
revised Why doesn't docker run support using --rm and -d at the same time?
added 191 characters in body
Apr
8
asked Why doesn't docker run support using --rm and -d at the same time?
Apr
6
awarded Excavator
Apr
6
awarded Editor
Apr
6
revised How to disable auto-maximize windows in GNOME?
Removed irrelevant comments.
Apr
2
comment How can I see dmesg output as it changes?
Wow a sysadmin answer that uses --descriptively-named-flags instead of cryptic single-character flags. BRAVO, SIR. BRAVO.
Mar
28
awarded Guru
Mar
25
comment clear terminal in python
I hope os.system fans don't write code that accepts any kind of user-entered data (i.e. the vast majority of applications)...
Mar
25
revised Clear a terminal screen for real
No need to draw attention to yourself. Also, answer is attributed to you at the bottom already.
Mar
24
answered Understanding recursive functions calls
Mar
24
revised Understanding recursive functions calls
Everyone: stop apologizing for not knowing stuff. Nobody was born knowing things.
Mar
24
comment Python: My try/except block always return True
I'm guessing that there is something else (i.e. something you haven't shown us) in your program that is affecting the behavior.
Mar
24
comment Python: My try/except block always return True
I don't know why you are getting different behavior, but I wanted to comment on your design: don't handle exceptions by returning False. Just let the exception propagate, and let the caller deal with it. If you want to add information, Python 3 has raise ... from: python.org/dev/peps/pep-3134 Otherwise, you can "manually" wrap the inner exception with your own. E.g. try: asplode() except Explosion as e: raise MoreDetailedExplosion('more information', e)
Mar
15
comment Some emacs desktop-save questions: how to change it to save in ~/.emacs.d/.emacs.desktop
setting desktop-dirname seems to be insufficient; I couldn't get it to work until I also changed desktop-path :/ self.herp_derp()
Mar
8
comment how to get uuid of a device using udev
This only works on partition devices E.g. /dev/sda. This does not work on block devices. E.g. /dev/sda
Mar
7
awarded Necromancer
Mar
4
comment How do I make Linux recognize a new SATA /dev/sda drive I hot swapped in without rebooting?
You are my new best friend :D
Mar
1
comment Actual meaning of 'shell=True' in subprocess
re "the process is directly started": Wut?
1 2 3 4 5