we have these two questions that have the exact same cause - referencing another instance variable when declaring another instance one. However the source code, and thus the answers don't match, would it make sense to merge them, or just leave them as is? stackoverflow.com/q/32351343/1974224, stackoverflow.com/q/32693150/1974224
If the answers don't match, then merging makes it worse, since the merged answers will be referencing something not in the question they were merged into and thus sound incoherent.
darn, both are duplicates of an older question stackoverflow.com/questions/25854300/…, however, the error message specified there is from an older swift version, thus won't be find in search results...
Is it helpful to duplicate the advice in the accepted answer, then extend the question scope so that you can add value to the page? ...I've almost certainly done this in the past ...but is it good for Stack Overflow? ex: stackoverflow.com/a/71413003/2943403 Thoughts?
there are multiple reasons of why the "instance member cannot be used on type..." error: referencing instance members as class/static ones, initializing properties dependant on others, using as default value for params...
and currently we have these reasons and solutions scattered among multiple questions/answers
@mickmackusa Meh, if it's not quoting a novel, then I'd say it's fine. If you say something like "Yes, A works but contrast with B" it helps if both of these are in the same place. Rather than having to hunt down where one of it is.
yes, it's annoying, and also a source of time waste, for both the asker, who has to skim hundreds of questions and answers, and curators who need to find the best duplicate for that particular case
That's what I meant by annoying. I've been on both sides of this: trying to find a solution to something I faced, and the solution which is scattered all over the place, and having to find a solution for somebody else when I know what the root cause is and probably the correct keywords and still I just find little pieces.
I'm actually opposed to "super-canonicals" like "what does this error mean" and "what is this regex symbol" (not real page titles in quotations). Takes longer to scan the page than it would to search for specific answers.
It's artificial and it's useful only to gold badgers to hammer stuff. I don't know who actually searches for "regex reference" on SO. If I want a regex reference, I just go find it on some specialized site where it's comprehensive and full of examples
For JS we have What does this symbol mean in JavaScript? but AFAIK, it's almost never used as the primary target. It makes it super convenient to find the correct target for questions about different symbols, though.
@blackgreen It has some support in some environments, and there has been at least one question for it. Many things in JS are implemented before they are officially part of the standard.
Which also means that by the time the proposal is ratified and available officially, we might already have several Q&As for it.
@mickmackusa there are cases, like NPE where a single canonical is needed
we shouldn't have to explain to every novice why their code crashes because they forgot a null check
also, answers on such canonical questions cover a broader range of possible causes and solutions, without the canonical we'd had the same content scattered on several pages instead of one, and even worse, some of the answers being almost identical
@Cristik I suppose my position on such a topic would be that only one page should be the canonical for how to resolve a NPE. Then there might be loads of signposts that demonstrate different ways to encounter the error, and those sign posts should point to the canonical.
@mickmackusa The problem here is how does one know they have the same problem as the canonical? If somebody googles "NullPointerException in WidgetFoo" and land on "Here is how to fix a NullPointerException in Bar" then many would just think it's not relevant to them, even if it's exactly the same cause and solution.
That's why we get so many duplicates to begin with - users have different variable names and thus the existing duplicate doesn't apply to them. Making sure the duplicate is further removed, exacerbates the problem, IMO
Ideally, we should have a signpost for every possible (generalized) encounter and all of those which can be resolved the same way (or by one of the ways listed in the canon) should be closed by the canon.
@RyanM Thanks! Didn't expect an edit by the author to push it out of the LQA queue. To me that doesn't look like a good idea. In my experience, edits are not uncommon but rarely an actual improvement.
@JeanneDark I think the idea is that one might comment a suggestion (e.g., it's currently link-only, please fix that) and the author could fix it and not require you to retract the flag. On the other hand, that makes the auto-downvote in that scenario absolutely nonsensical.
In general, the VLQ flag is rather poorly designed.
@RyanM The idea with the edit marking the flag helpful is not so bad, but the VLQ flag is not well-defined. However, it may make sense to not invalidate a LQA review also. Too many bad posts may slip through the crack.
Maybe I should suggest my idea about the new flags on MSO one day...
should the first paragraph from stackoverflow.com/a/72605266/1974224 be removed? or only the part mentioning the book? or it's not frowned upon to reference own books/articles?
I don't think it's unreasonable to offer yoor own book for an in-depth explanation with suitable disclosure; I agree that this one might be slightly iffy but I would leave it
Ugh, I've seen that kodlogs site before in SO posts. It didn't seem like it was spam at the time - the author didn't seem to be affiliated with the article. At least, I couldn't find anything that overtly confirms it but I suspected a relation. Now I believe that it's either being spammed by author A promoting an article by author B. Or it's all fake accounts.
The previous spam I suspected was similar in nature - a link only "found a solution here" thing.
@Adriaan It's some sort of minified code. Whether it answers the question or not, I cannot say. Which also means it's a very useless answer. My best guess is that it's copy and paste of some library.
Well, it's not even a full copy and paste. It just stops in the middle. The code cannot work - there is a syntax error. Nor is it clear how to make it work.
Ugh, it's not even real code. I just noticed - it's the HTML source of some page. The title of the page is "Avoid "This gas fee has been suggested by" message - Google Search". Which also reveals what it is. It's the HTML code for the Google search results page when you search for "Avoid "This gas fee has been suggested by" message".
@JeanneDark I'd say on-topic. It's about granting access programmatically via single sign-on. Although it's asked from more of user perspective, it would be of interest to developers who want to know what access they need to ask for their application. I'd say it's also on-topic for SU as asked, though, but the focus of the answers might be slightly different. And maybe it's the same other stacks that would take Office365 questions.
@TylerH I'll offer a disagreeing position. I think needs debugging details is valid, because the question author left out a clearly important case, for when the 0 occurs between two non-zero numbers. That issue was raised in the comments.
Personally, I voted details/clarity, but I think there's a lot of overlap between that and debugging details.
@IanCampbell That means it needs details/clarity, doesn't it? While there is some overlap with those close reasons, I don't see how "needs debugging details" could possibly apply when there's no code to debug. And I don't mean code that exists, but is missing from the question, but where no code exists at all.
If something is missing information, but undoubtably would be a duplicate should it ever gain that missing information, should it instead be a duplicate
and folks provided answers that do just that as well
@IanCampbell Whether it's important to cover that case is a matter of debate. OP said "remove all zeros. The only time zero should remain is when you start with 0". That is clearly interpretable to me (and to a computer)
One could ask for the example set to be updated to include such an example of a non-trailing zero or non-leading zero, but it's technically not needed as the question was phrased
I thought the human flag crushing machine (AKA Ryan M) would have taken care of the custom queue. But I see one of my relatively straightforward flags from June 8th is still up (please don't go looking for it, it's nothing important).
Normally it's hard to pin down why it gets large, but we had one user with a ton of non-disclosed posts who flagged all of them for undeletion. That was a pain. Then we got a glut of plagiarism flags. That's still a lot of the current queue
@IanCampbell That's possible. I read that bullet as only applying to questions where code is provided, but desired behavior is missing. BTW, did the question really need to be deleted immediately? OP was asked for missing details, and the question was closed, so there seems to be no need to rush the deletion, especially since it would have roomba'ed anyway.
In the current state, it's unclear. You could close it as a duplicate of the "remove trailing zeros" version or the "remove all zeros except the single zero" version, or both.
But if someone finds that question in it's current state, it doesn't help people who want either option.
There appears to be a "remove trailing zeros" target, but I can't seem to find one for "remove all zeros". A google search for it only shows the question we're talking about.
The question has answers applying to both options as well, so in fact, it's going to help people looking for either solution.
If the question gets undeleted, I'll ping polywhirl and see if they feel like updating their answer to include both options. If they do that, then the question can be edited to only focus on the "removing all zeros" aspect, which all other answers already cover. If polywhirl agrees, I'll just edit the question, and vote to reopen (assuming no one finds a duplicate in the interim).
@IanCampbell There are a lot of flags each day. Some mods seem to be on holidays. In the past 30 days top 5 mods handled 23.5k flags. If you divide it up that's >150 flags per day per mod. Some flags are easier than others, but many take a significant amount of time to handle. Even if we consider a minute per flag, that is 2h a day of handling flags. Some flags are prioritized and some are just left for later.
Before I became a mod I wondered why some of my flags were pending for weeks. Now, I understand that it's not because mods aren't handling them, but because there are too many flags.
Well, the IS department at my employer decided there were too many open tickets. So they just closed them complete if they were older than 6 months. Problem solved. (True story)
If you manage to memorize an extensive grammar, implement the syntax and morphology for kicks, then you're maybe in a place that would allow you to make a meaningful NLP application.
@IanCampbell I follow some of Humbolt uni's theoretical output, in practice for the stuff I've worked with PyTorch falls short of state-of-the-art, basically I use proprietary costum built solutions for everything.
We're training our own model using BioBERT. Admittedly it's one of my collaborators that set up the first model, but I've been fiddling with things. And our research compute cluster has some fancy GPUs which makes the training fast.
@jmoerdyk There are a few userscripts which add a "reply" link to your own messages. However, the stock UI doesn't have a "reply" link on your own messages.