> When a suggested edit is approved, the user who suggested it gets +2 reputation. The regular daily reputation cap applies, and the total cap for reputation gained via suggested edits is 1,000. Like any other reputation, the +2 is reversed if the edited post is ever deleted.
emphasis mine
so did I misunderstand you, or does the faq need an update?:)
so i love context managers, but if the context manager could possibly throw an exception, i need to catch it. but two levels of nesting any time i use such a pattern drives me crazy. i could reduce nesting by not using the context manager, but then i risk unclosed/uncleanedup resources
even just with ... except would be cool
maybe this need is limited to with
for example i have a codebase that uses a with ChangeDirectoryContext(dir): which could fail if the path doesnt exist. but not existing isn't a nominal case, and i feel that readability suffers from the double nesting of try: ... with:
even in this answer for example, with a try: ... for ...: ... except:, it would be sexier with try for ;)
because im too lazy to try and i bet someone here knows ... if you have a classmethod ... it should have the same id(memory location) everywhere it is available right?
The new documentation feature seems like a more formal version of "Answer your own question." I've only glanced at C-language's documentation page and it appears well organized and insightful.
it does though. see my example above. more specific use case is, with open(...) raises an OSError, but I want to catch it, and then rethrow a friendly error message at the right layer of abstraction
I have a project in php (fuelphp framework). It's load iframe inside and inside for load window without page refresh. I'm using,
IIS server
sqlsrv driver use PDO connection
mssql server
when i load iframe in my application randomly connection lost with sqlserver. which mean PDOException retur...
I flagged 3 of them with a note on the last one that it was same user for every one without citation (yes, BSD license requires a citation) and that it seemed to be the entire topic....not sure what this will do as mods aren't allowed(?) on SOD
@WayneWerner I was discussing a new language feature I'd like to see in Python 4 or something. There's no problem I need help solving. Was just discussing it with people :)
considering I am in academia I don't like plagiarism - and I actually do worry that SOD could start associating SO members with this (not a good thing when your just starting ones academic career)
I'm trying to access the "Table_Name variable" of the Child class to make the "Load_Data" method do different stuff depending on the child who cast the parent Class.
Also, is there method to know the child who summoned the parent class?
class DataBaseClass(obj):
..
def Load_Data():
...
Yeah, that's logical, but most of people in Europe know English as it's their native language, because we start learning it so young. So you're not strangers to us
Are you speaking multiple languages or just one
I don't got those ops (usually noobs) that accept answer without upvoting it
I only speak English, although I did 5 years of French in high school, and I also studied linguistics for a year. I've studied bits and pieces of a couple of other languages, including Russian and Sanskrit, but certainly not enough to do anything useful with them, just enough to get a vague idea of the grammar.
@holdenweb Thanks. It's taken me long enough. But I finally got there. :)
These things tend to go in spurts. Took me like three months to get from 7,800 rep to 8,000, but I've added almost another 200 in the last three days. Just keep chiselling away!
@MarkoMackic if there were a "how many languages" pissing contest I could win it as long as programming languages were included. Alas natural languages are English (for some value of English) with a smattering of French
I don't get the point of blogging , I just get nervous, I write text 3000 times, and then I realize that it's bullshit, and then give up. I tried many times :D
@Gemtastic you're proficient at java, I liked java for a while, when I was 13 I think :) I learned with help of thenewboston channel on youtube, but now didn't left much of sintax in my head, but as more as I program, more I spot similarities between the languages.. :)
possibly? Not sure... does seem to be an overlap between people that plag. on Docs that also plag. on Q&A... suspending them on main locks 'em out of docs... but don't think there's anything directly specific to docs
"In need of moderator intervention" flags on Documentation don't seem to be real flags yet; they show up as improvement requests and don't enter the moderator queue.
I would treat this as any other plagiarism case: valid grounds for warning and suspension. If they're abusing Documentation, they'...
I wrote a lengthy and informative flag, had to use a url shortener since one of the sources is on google books. It let me spend ten minutes on the flag, then on submit told me "Mwhaha, loser". Flag gone without a trace.
fuck it
I'll just write my meta later when I get home
we don't need flags, we need vigilantes vigilant community members
Unlucky, @Andras. I flagged one the other day and it went in an "improvement request". I also explained the meaning of plagiarism to the "author" in the docs chat and they took it down themselves. It is a real issue in some of the docs stuff, though.
I've adopted Martijn's position basically, though:
> I quickly learned to let things go, it'll all sort itself out in the end.
Well, my search for URI schemes turned up a lot more than I expected. Some pretty esoteric ones in there. TIL - thanks @holdenweb for piquing my interest.
I assume Martijn's workplace is a lot like the beam breaking complex in The Dark Tower. He sits in an easy chair by the fire while his dark masters mystically leech the coding energy from him.
Picture this: someone contacted you about a job at your startup/company under an alias. They're a great fit for the job, and you decide that you'll hire them. When you respond to them, they disclose that their real name (and possibly the country of residence) is different, but the rest of the information is accurate. Would you still hire them?
Let's say that you do actually have a startup/company
trust is important, I have to trust that the rest of the information is correct, and that not only makes me distrust the other information provided it makes me wonder why they needed an alias
I would still judge them. For all they know, I'm a mole of that discriminatory fascist government and they've revealed that they are Bruce Wayne too soon
But no, seriously. All about trust. I'm a one man band, and I would currently rather employ an absolute hack that I could trust, rather than a "coder/rockstar" that I couldn't
For the first time, one of those "we're a recruiter that analyzed your github profile" emails actually found a good match: remote work, cool sounding company / team, would be working directly with Flask. Unfortunately, the pay is below what I make now and I wouldn't get any of the other benefits I currently get. :-(
you have to trust that they are actually as good as they thought they were. Hired an intern once who passed all the Java problems he was given, 90s, but ended up he had cheated - more just studied for specific questions and parroted information - and cost our company time and resources we didn't need to lose
I personally think I'm going to go down the absolute yammer road, and hire on a string of unpaid interns. The first one that seems like a good fit will actually get hired
I'll note we also hired an intern who came in stating he only had a basic understanding of Java, demonstrated a solid knowledge of algorithms and data structures, and we were able to train him and moved him to actual position
actually, that kid turned into a really good employee (really loyal to the company for giving him chance & training)
@vaultah I don't know what your circumstances are, but it might not be as bad as you think. I was pretty worried about associating real information with online information for a while.
@corvid by the way his personal blog (linked in that article) expands that quote to Everyone should learn computer programming. It should be taught to our kids, in our school.
Here's some fresh fish for your listening pleasure. The Samantha Fish band with special guest Sara Morgan performing a rather swampy number, No Angels. Get it while it's hot. :)