## Oops Code | |
``` | |
Oops: 0002 [#1] PREEMPT SMP | |
``` | |
This is the error code value in hex. Each bit has a significance of its own: | |
- bit 0 == 0 means no page found, 1 means a protection fault | |
- bit 1 == 0 means read, 1 means write | |
- bit 2 == 0 means kernel, 1 means user-mode |
docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash |
background” on windows. subprocess.Popen.wait() returns
immediately even thought it’s actually still running and if I
invoke a python process in a .cmd file, the same thing happens
** inestical ([email protected]) has joined
channel #python
zenwryly: what are you launching with subprocess.Popen?
* kesor ([email protected]) has quit: Read error: No
route to host
* wilfish ([email protected]) has quit: Quit: Zzz…
Cleaned IRC log of #python starting Monday, 25 July, 2011 at 17:13:55 EDT.
Gems are highlighted in bold.
GothAlice | How do I determine if a given object is a @classmethod, and, additionally, how do I determine if it is a @staticmethod? 1 |
---|---|
KirkMcDonald | GothAlice: Why would you care? |
GothAlice | KirkMcDonald: Enforcing interfaces, not that it matters. |
dash | GothAlice: you’re right, it doesn’t matter |
_habnabit | GothAlice, if you wanted an answer to the question as asked, why don’t you try ##python-friendly? #python is about writing better code. |
nedbat | GothAlice: what KirkMcDonald should have said was, “The Python culture is to not check ahead of time, do you have an unusual requirement that means you really have to know?” |
Over the years myself and others have attempted to utilize the #python support channel on irc.freenode.net when solving problems. For the most part the time spent explaining the problem, the rationale behind the design, uncovering the exact question to ask to get the desired (helpful) response, and personality conflicts have resulted in more frustration than problems solved. So I’m writing up this lessons file in an effort to not repeat the past mistakes in supporting my own users.
What it really comes down to, other than wasted development hours, is not having to explain to your boss that your team should rewrite 30% of your project because some random git in a chat room said you were Doing it Wrong™.
In an effort to produce a place where individuals can ask questions without fear of being directly or indirectly called an idiot, I’ve opened #python-friendly, the friendly place to discuss Python, ask questions, and get helpful answers. #pyt