I am sitting in a bus... the bus passes my parents house over 200 m away, with unconnected laptop on my lap - well, my computer tried to connect to their WIFI
Years ago, someone gave me an old HD that was ancient even then. I think it might've had a capacity of 20MB. It was larger & heavier than a brick, and generated so much heat you could use it to keep your coffee warm. However, it was almost as noisy as a vacuum cleaner, so I didn't run it very often.
Son: Please give me water. Dad: Get up and take yourself. Don't be lazy. Son: Please give me water (x3) Dad: If you ask me once again, you are getting slapped. Son: Ok. When you come to slap, get the water along.
It is raising an exception then why does it says `"We don't want to raise an exception because upon __exit__ the save() call will create the document if necessary. `
@MYGz The exception from the fetch is only re-raised again when the error code is not 404. So in other words: The exception is only swallowed for 404 errors
Which matches the comment since, when the document does not exist (404), then the error can be ignored since it will eventually be created at the end of the context.
@MYGz AFAICT, the usual convention is to use your own timezone, especially when making general announcements, but it's also common to use the other person's timezone when replying to a specific person. Or just use UTC. :)
I’m currently struggling with the “compensation and benefits” list, because “Health benefits” is absolutely important but also irrelevant in Germany where it’s a default companies cannot take away.. stupid US oriented questions..
> If two developers are sharing an office, is it OK for one of them to get a mechanical keyboard with loud "clicky" keys?
The developer survey isn't accepting my perfectly valid email address:
I suspect the + throws it off. The censored part is just some letters.
My profile accepts the address just fine. Note that the + is a perfectly valid part of the email address.
There should be an option at the very beginning like “I have the time, give me all the questions instead of filtering out random ones”. — poke1 min ago
@MartijnPieters apparently you, @poke, and me need an office together. We'll get poke some Cherry Blues and at any given moment it will sound like machine gun fire pouring from our office.
Would anyone care to comment on the appropriateness of my last comment on stackoverflow.com/questions/41617014/… please? I'm not sure I'm entirely right about whether deletion is an appropriate suggestion
Is there a better / safer way to ensure that a file name is in the current directory (including within one of its sub-directories, or their subdirectories, etc) than what I propose here?
Modern Python has os.path.commonpath, which does what os.path.commonprefixshould have done.. wouldn't be surprised if there were something clever in pathlib now too.
@DSM I forgot about os.path.commonpath (& didn't notice it in the docs in my rush to fix my old answer). But I've just added another alternative that uses it. stackoverflow.com/a/41634356/4014959 Thanks again for your help!
@WayneWerner Who needs OPs? They can only give you 25 points, but Future Readers may give you hundreds. :) I don't know SQLAlchemy, but I'm willing to give you the benefit of the doubt for writing a good answer to an old question that looks like it could be an asset to the site.
Well that's the obvious solution but since I'm dealing with a lot of text it's very slow so I was wondering if there is something like readlines() method but for tkinter text widgets
@holdenweb I guess it's a bit hard to give the OP more specific advice without knowing what roto.command.CommandExecute is doing, but they seem to be happy with the suggestion in your previous comment, and the suggestions in your final comment sound perfectly fine to me.
No thank you. It wouldn't be constructive because I know nothing about pandas.
"ask someone a simple stdlib question, then ask them an unrelated question about a specific library" is a cunning plan to get someone engaged, but the drawback is the person you hook might just have no idea how to help with the second part
So the untrusted end-user has no control over any aspect of the object? This is not a rhetorical question, I actually don't know anything about Celery.
Hey @AndrasDeak There's a recent Numpy / matplotlib question that you might be able to offer some suggestions on: stackoverflow.com/questions/41635737/…
If I were in your position, then, I'd have no problem using pickle.
Although I'd probably be lazy and just use whatever is the default, which is apparently json
Everything goes swimmingly until davidism runs into the room and yanks on the big red "HALT SERVER" lever on the wall and tells me about the corner case I forgot about.