Despite living in New Jersey, I don't interact with stereotypical New Jersey residents. I suspect this is because I live ten minutes from the Delaware river and consequently spillover from Philadelphia becomes the dominant component of local culture.
Maybe I should drive thirty minutes east and see how the people there act.
Now, I've spent an appreciable amount of time one hour east, at the seashore, and those people aren't noticeably stereotypical either. But maybe that's because vacation towns adapt themselves into something bland and inoffensive so they don't drive off their primary source of income.
What violence there is, is on par with Tom and Jerry type stuff.
Except possibly when the protagonists pilot their giant robot and "extend the hand of friendship" to mechaDracula but misjudge the distance and impale him through the abdomen.
Do you have enough money for that? I could ship you some. I would need another pie to sell in order to ship you the money so that you can buy me a pie so that I can sell it to get the money to buy a rhubarb pie so that I can send it to you to send to me to send Antii.
That question that you linked had been voted to be closed 4 times before MorganThrapp voted. One vote was for off-topic; one was for unclear; two for for too broad. I am suggesting (jokingly) that he should have said something like duplicate or POB just so that there would be one more different vote.
@MorganThrapp: oh, yeah. I was able to squeeze out a few more characters by avoiding itertools and doing it manually, f=lambda n:sorted(sorted([i+1 for i in range(n)if j>>i&1]for j in range(1,2**n)),key=len). With a little more thought I might be able to remove a sorted and push that into the bit arithmetic.
I keep jython and ironpython around just to make points about implementation differences (pypy I actually use, so it's different). Maybe I should add micropython to the test suite!
I have a feeling that generator expressions are parsed in such a way that their interior expression appears to be inside a function from the point of view of the backend.
So even though mydict = { isn't in a function, yield "".join is as far as the compiler is concerned.
Now in minute 15 of trying to get OP to give me an MCVE. He's well meaning but knows little of our ways and customs.
I have a feeling that the psychic debugging I did 14 minutes ago will turn out to be correct, but OP didn't execute my proposed fix properly. Easy points if so.
Oh, OP flat-out refused to provide a reproducing test case. I guess I'm done.
I am sorry but I haven't been able to post paintJobs.txt. I noticed that the invisible "\n" is generated when outstanding is calculated from int( line.split(",")[3])-int( line.split(",")[5]) — shinji76781 min ago
At least that's what I assume he's saying. The tenses are a little weird.
I wanted to create some VR-ready jpegs, but there is something more to it than just creating an anamorphic image. If I google "how do I create a VR image", I get all kinds of "do this in Photoshop" or "do this in Google Camera".
I posted a question on SO about a month ago, earned the Tumbleweed badge for the lack of response to it.
I downloaded the Cardboard Camera app, and it came with about 6 panorama images to view as VR images. They all have the extension ".vr.jpg". I tried renaming one of my abstract images with this extension to view in the app, but it was rejected with the message "This is not a VR photo".
How do I ...
If I end up not posting, and you end up finding the links useful and writing a .vr.jpg maker, there's nothing wrong with posting an answer to your own question.
I'm trying to persist something that exists within subprocess.Popen() - a docker container - but every time this returns, the docker container is 'dead' -- but only when running from PyCharm. Running from terminal on mac persists the docker image as expected
I wonder if somehow the IDE is handling the process differently so that the OS incorrectly decides that the subprocess is an orphan and terminates it early.
I'm not sure. I had to do this to even get Docker to run in PyCharm, and now I can run the containers, but they just auto exit there even though they are persisted otherwise
I don't know if there is a better way than Popen to launch them, either, it's possible
I can't seem to find anything on this: import _win32sysloader ImportError: DLL load failed: The specified module could not be found.It's from trying to use pyinstaller
I have a very basic subprocess.Popen command like:
cmd = ['docker', 'run', '--name=test','server']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
When I run this in a Python script from terminal, this correctly launches the docker image and the i...
The questions have been drawn out over a fairly long time period so I don't think it's an ordinary homework question... Some kind of online class is plausible if we're talking about codecademy-style "enroll whenever you feel like" courses
That's what I was thinking of: a friend at the office is doing one in R and one in Python as we speak.
Alternatively, I guess it could just be a popular theme. Once someone sees an example involving parsing cell phone complaints, everyone wants to use them to, you know, connect with the young people.
my gosh, how terrible Bridge of Spies was.. it had so much potentials, after all, we watched so many amazing movies from both spielberg and hanks, but this one.. yet another dumb american hero movie, without the cartoon characters (yeah, well, not completely withouth them, but at least withouth their colorful customes..)
Just saw: "it supersized me". I make similar transpositions sometimes too, and "supersize" -> "su-p-r-ize" isn't a crazy mistake to make, but I'm pretty sure I haven't seen that one before.
@enderland It's not for the remote debugger. It's more for the approach of using PyCharm to even configure connecting to a docker container
@enderland But, it was more of a stab in the dark as I actually haven't configured docker for PyCharm. I probably should, considering how much I use it :P
A while back I reported pythoneye.com. Eventually that got shut down, but the guy just transferred it to http://python.developermemo.com/, and still claims to own the content.
It's interesting. I just saw say somebody's question, and was somewhat interested in the user's name. I checked out his profile and saw a question he asked with 2 downvotes. I took a look; what do you know? One of those answers was mine.