How do I automatically install missing python modules?
Installing python module within code
Vehicles required/allowed in weigh stations on US interstates read.csv warning 'EOF within quoted string' prevents complete reading of file Post Link for Tag Info Wiki's display text should be better than "unknown" The displayed text for a [Post Link] where the underlying Id corresponds to a Tag/Info Wiki (where the link redirects successfully) is just &quot;unknown&quot;. For example, if you've ever edited a tag wiki: . It would be nice if this could be better identified. meaning of so much as In the following sentence, I want to know if I've understand the correct meaning or not:     This version holds that the wave function does not so much describe the state of the physical system as the state of our knowledge of the system.    Can we say that it means the wave function describes the state of our knowledge  of the system more than it describes the state of the physical system  ?  It is worth noting that in the Cambridge Dictionary, we read:  not so much sth as sth ​ If you say that something is not so much one thing as something else, you mean it is more the second thing: They're not so much lovers as friends. I don't feel angry so much as sad. I have a StreamReader object that I initialized with a stream, now I want to save this stream to disk (the stream may be a .gif or .jpg or .pdf).  Existing Code:  StreamReader sr = new StreamReader(myOtherObject.InputStream);    I need to save this to disk (I have the filename). In the future I may want to store this to SQL Server.   I have the encoding type also, which I will need if I store it to SQL Server, correct? Background: I'm making a retro style game for both fun, and an unofficial contest.   I have bought a song, song X. However, I then found notation for song X, and all the instruments. So basically, it's a program recreating song X in a sense.  I took the notation, and used another program to make it sound like a chiptune does (just for the fun of it, and it sounds good :P). However, I would like to use this in my game. It's non-commercial, but is this allowed? I would've said yes, because I'm not actually using the original, copyrighted song.  I think the main point is can I:   Use the music with no reference to the author Use the music with a reference, since it's non-profit. Not use the music at all since the melody and rhythm is copyright. Accessing System Databases/Tables using LINQ to SQL? MySQL Hashing Function Implementation I know that php has md5(), sha1(), and the hash() functions, but I want to create a hash using the MySQL PASSWORD() function.  So far, the only way I can think of is to just query the server, but I want a function (preferably in php or Perl) that will do the same thing without querying MySQL at all.  For example:  MySQL hash -> 464bb2cb3cf18b66  MySQL5 hash -> *01D01F5CA7CA8BA771E03F4AC55EC73C11EFA229  Thanks! Unable to set DYLD_FALLBACK_LIBRARY_PATH in shell on OSX 10.11.1 In shell scripts used for unit testing with dynamic libraries in a directory other than the typical @rpath, I have previously been able to set DYLD_FALLBACK_LIBRARY_PATH to set the directory containing the libraries. Under 10.11.1, bash seems to ignore attempts to set this environment variable:  $ sh -x testscript.sh + DYLD_FALLBACK_LIBRARY_PATH=/Users/something/testinglibs + export DYLD_FALLBACK_LIBRARY_PATH + exec printenv   and DYLD_FALLBACK_LIBRARY_PATH is not present in printenv's output.  Is this a security-related hack in 10.11's shell? I haven't been able to find this change documented in man pages or online. Due to this question and answer , I assume 1k = 1000, 2k= 2000...  I don't believe it. Or maybe I am wrong. Please check the below images.        You will see 2kviews. But when you navigate to it, the actual view count is 15xx.         What is going on? Is it a bug? Why did my TeX-related GUI program stop working in Mac OS X Yosemite? I've been wondering about this for a while, since getting interested in knife sharpening.  When using a knife, it will get duller. One (the primary) reason being that you "bend" the edge. You fix this using a honing steel.  After a while though, you need to sharpen the knife again.  Another setting: If you have a brittle knife and/or mistreat your knife you will chip it.   As far as I can tell, this should mean that small pieces of metal (dust, shavings, etc.) come lose, and then likely get in the food.  Is this correct? Are there no health considerations when digesting small pieces of very sharp metal? Never delete entries? Good idea? Usual? Is there an easy method for installing binary builds of glibc? Time and time again I see questions such as these:       And these are the types of solutions we're typically pushing:        Is this really the best we can do? Aren't there binary builds of GLIBC that we can simply unzip into a directory such as /opt/myglibc, and set the $LD_LIBRARY_PATH or whatever and run whatever application we want, without issues?   An application, such as the newer builds of Chrome (28+) that appear to require GLIBC 2.14?  NOTE: This thread titled:  on tecmint.com is what ultimately got me thinking about this.  References $\int_0^\infty \frac{\log(x)}{x^2+\alpha^2}$ using residues I'm trying to find $\int_0^\infty \frac{\log(x)}{x^2+\alpha^2}dx$ where $\alpha&gt;0$ is real.  My approach was to take an integral along the real line from $1/R$ to $R$, around the circle counterclockwise to $-R$, along the real line to $-1/R$, and then around the circle clockwise to $1/R$.  I have encountered 2 problems with this:   This path encloses one pole, at $z=\alpha i$.  I found the residue at $z=\alpha i$ to be $\frac{\ln(\alpha)+i\pi/2}{2\alpha i}$.  However, this gives me that $\int_0^\infty \frac{\log(x)}{x^2+\alpha^2}dx=\frac{\pi(\ln(\alpha)+i\pi/2)}{2\alpha}$.  Since I have a real function integrated over the real line, there cannot be an imaginary part.  Where did I go wrong?  (Also, doing a few examples, the correct answer seems to be $\frac{\pi\ln(\alpha)}{2\alpha}$, the same as I have but without the imaginary part.) At first chose my path so instead of going all the way around the upper semicircle, it only went 3/4 of the way around, as I wanted to avoid anything that might go wrong with the discontinuity of $\log(x)$ at the negative real axis.  When I do this, though, I get a different answer than before (the denominator of the fraction is $\alpha(1-e^{3\pi i/4})$ instead of $2\alpha$.  What am I doing wrong that gives me different answers? Identification card for foreigners in trains in Germany I want to go to Berlin to Gottingen by train. I found that to avail myself of the &ldquo;savings fare&rdquo;, I have to book a ticket at least one day in advance. And I saw a requirement on the Bahn website to have a identification card for online tickets.  I am a foreigner in Germany, so does my passport count as valid identification in German trains? Laws and theories What is a , a , and what is the relationship among them?  I know this is a very basic question, so any reference to epistemology will be greatly appreciated :) Problem: A lot of the time I downvote something that clearly shows lack of research or effort on OP's part, and when they edit to improve it, I usually find out pretty late, because there are no notifications to help with that.  Proposition: add a Get notified when this post is edited button/checkbox under a post which you have downvoted (per post, not just all posts ever), so that if there is a significant improvement, you could remove your downvote or even change it to an upvote to show you recognize the improvement.  I believe this would improve public thinking about votes, and make people (who choose to participate like this on the SE sites more often) vote more freely and more often, and everybody else would not think of a &lt;0 post score as a death sentence for their contribution.  I'm not asking to enable this on SO (for a number of obvious reasons), and that's why I propose an opt-in subscription. This would be most useful on lower activity sites like the SE, in my opinion, but who knows.    I want to know if someone has improved their post after a downvote to reinforce the positive behavior and I get -4 on my good intentions? What kind of culture are you trying to cultivate? Please, explain why you disagree without silently downvoting. If you think there's a better way, yes, I want to know your thoughts. How do I backup and restore SMS Messages? How do I backup and restore SMS Messages? Hypothetical party:  1st level human wizard (PC) 3x guard NPC 1x acolyte NPC    This is the player's first time, and it's a solo campaign. The first mini-adventure involves recovering the cargo of a supply caravan that didn't make it to her magic academy due to bandit hijacking (as a sort of graduate-test). The guards and healer are on contract from the school to assist her. The acolyte is essentially just to hang back and tend to wounds and probably won't engage in combat unless someone goes down or the PC is seriously wounded.  So, with that "party" makeup, how do I determine the XP budget for a "medium" or "hard" encounter since there's no clear CR->level mapping in 5e for those NPCs (who will certainly factor into any combat as meatshields and melee damage)? I was thinking about reverse-engineering them as crumby lvl2 fighters (given the 2 HD worth of HP they have), but they certainly aren't on par with a lvl2 fighter, given the lack of action surge, second wind, etc., so the encounters would end up being too hard compared to PCs or DMPCs.   Could they be lvl1-equivalents, essentially trading any abilities a PC would have for extra HP? How would this work at later levels with higher CR NPCs (veteran, priest, mage, etc.)? I'd rather not have to build a bunch of DMPCs as hirelings, because I want the NPCs to be a bit vanilla compared to the versatility of my player. I'm already introducing 1-2 DMPCs to the game for her to take control over as she gets a feel for the flow of the game (for now, she'll handle them out of combat, and I'll effectively show her how to utilize them until she's ready).     Just to be clear, I'm comfortable with the monster-generation rules for crafting NPCs as enemies to determine their CR, but I'm confused on how to use them in the adventuring party when budgeting encounter difficulty XP.