News for hackers. Stuff that matters.
Re:Use native context menus on Mac OS by chrismorgan on Tuesday May 25, 2021 @04:00AM (#27274146)
Closing issues automatically after a certain period of time is a disastrously stupid thing to do for a bug tracker that helps no one (not users, not reporters, not maintainers), and is actually counterproductive in systems where search excludes closed issues by default (which is most of them), because you’re certain to end up with more duplicates.

There are other types of trackers where automatic closure can be justified, but a bug tracker is not one of them.

I’ve said it before and will keep on saying it: GitHub’s stale bot should be removed with prejudice.

Re:Use native context menus on Mac OS by lloydatkinson on Tuesday May 25, 2021 @04:51AM (#27274507)
1000% this. The lodash library for Javascript had the authoritarian dictatorship extreme version of this for the longest time.

Any issue was immediately closed and only closed issues would be reopened if enough people gave said closed issue enough thumbs up (and "enough" wasn't even defined). And of course, this process wasn't explained anywhere except in replies to closed issues.

The obvious problem with this was that no issues were ever acted upon ever because no one ever looked at closed issues, because why would they?

I had created a proposal for a new function to be added that was and still is sorely missing. After it was closed and a long discussion ensued between many devs, I gave up and a year later I simply replied that I retract the proposal due to the ridiculous policy of actively being hostile to users. The maintainer deleted the whole issue and along with it all proof of their hostility and hypocrisy.

It was then that I decided I would boycott lodash and simply use better libraries in my projects now like Ramda, which is actually OSS. Looks like lodash is now no longer maintained and has hundreds of tickets open after the hostile maintainer (and it's not hard to guess who from looking at the commit counts) appears to have stopped maintaining it.

Funny how that works, closing tickets constantly ensures no one will want to help, and then the maintainers feel overwhelmed because they are doing it alone.

Basically closing issues is an awful practice that helps no one, as you say.

Re:Use native context menus on Mac OS by Rompect on Tuesday May 25, 2021 @10:02AM (#27276859)
I never understood how people used lodash. Basically every function can be copied and just inserted into ones own codebase and you have one less dependency, which is very pleasant. And they are all so simple that there will never be a problem.
Re:Use native context menus on Mac OS by meetups323 on Tuesday May 25, 2021 @12:46PM (#27279146)
> And they are all so simple that there will never be a problem.

"Simple JS can't have unexpected security/performance pitfalls".

Hah.

https://www.cvedetails.com/vulnerability-list.php?vendor_id=...

Re:Use native context menus on Mac OS by no_wizard on Tuesday May 25, 2021 @02:33PM (#27280491)
Disclaimer: I am not a security expert! This is my layman's attempt at mentioning a common vulnerability too many programs have but not enough knowledge is spread about it. It's easy enough to mitigate in most apps but I don't think most do.

I know this isn't directly related, however one of the vulnerabilities is prototype pollution [0], a deceptively simple technique that I think so many apps are vulnerable to. It goes like the following:

- Get an application to serialize or take `__proto__`, `constructor` or `prototype` as an input so it's a key on a JS Object

- Serialize its value to something nasty, like `'{"auth": {"name": "user", "password": "pwd"}, "message": { "text": "", "__proto__": {"canDelete": true}}}'` [1]

This high jacks the prototype of the object and adding those specified properties. If you do things like deep merging of objects on data, you are susceptible to this without the proper guards in hydration / rehydration. The mitigation is simple: don't allow objects to have `constructor`, `prototype`, or `__proto__`. You can delete them by customizing JSON.parse (by passing a reviver [2]) or using something like `mergeWith` to skip these keys

A similar vulnerability exists with `constructor` and `prototype` as well [3]

[0]: https://portswigger.net/daily-swig/prototype-pollution-the-d...

[1]: https://github.com/Kirill89/prototype-pollution-explained

[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[3]: https://shieldfy.io/security-wiki/prototype-pollution/introd...

Re:Use native context menus on Mac OS by unilynx on Tuesday May 25, 2021 @06:10PM (#27283368)
What's the security risk?

A prototype can only be modified by code that is actually being run. If you can get someone else's application to run code under your control, you've already won.

Re:Use native context menus on Mac OS by meetups323 on Thursday May 27, 2021 @01:37PM (#27305786)
The security risk is you accept a JSON object from an API, that object gets merged with some set of defaults, oops turns out that object was specifically crafted to override the global __proto__ with some way of escalating privileges ({__proto__: {_isAdmin: true}}) and now you're owned.

It requires some knowledge of the inner workings of the system (in the above, you'd have to know that the auth provider checks for a cached `isAdmin` prop on some object before executing the authentication routine to generate it). But if your system is designed to only be secure if no-one knows the inner workings, you're probably owned anyways.

Re:Use native context menus on Mac OS by Qub3d on Tuesday May 25, 2021 @09:38AM (#27276592)
Also known as the "Cascade of Attention Deficit Teenagers" (CADT) development model:

https://archive.is/l4svG (jwz link, so archive.is)

Re:Use native context menus on Mac OS by goldenkey on Tuesday May 25, 2021 @05:19AM (#27274680)
Don't forget that Lodash was basically JDalton's rip of Underscore.js. There used to be a mention of it, since the selling point was benchmarks. Now, I don't see any mention of Underscore...
Re:Use native context menus on Mac OS by hinkley on Tuesday May 25, 2021 @05:28PM (#27282926)
How is underscore these days?

Lodash as an npm module is out of control, file-size wise, and I'm not sure I'm really getting anything for it, other than once a year having to make sure we don't have ten copies of it that can't be deduped (Currently it's occupying 29MB of disk space on my production machines)

Re:Use native context menus on Mac OS by capableweb on Tuesday May 25, 2021 @05:45AM (#27274840)
Not sure I'd call it a "rip", "ripping" for me is associated with "ripping media" which is copying video/music/data from CDs to local hardware. Lodash is more of a re-implementation of a MIT library, not something that should be shameful.

As I remember it, Lodash biggest difference was its modular approach also, not all about performance. Lodash also addressed some inconsistencies in Underscore.js.

Re:Use native context menus on Mac OS by dorian-graph on Tuesday May 25, 2021 @06:36AM (#27275187)
> "ripping" for me is associated with "ripping media" which is copying video/music/data from CDs to local hardware

For many others, the OP's use is common and correct—in a lot of areas.

"They ripped me off" is very prevalent in English speaking countries too, outside of tech.

Re:Use native context menus on Mac OS by capableweb on Tuesday May 25, 2021 @06:44AM (#27275231)
Yeah, that's my understanding as well, from "ripped me off", implying stealing or something negative.

Having the (almost) same API surface as another MIT library is hardly a "ripoff" but a re-implementation.

Edit: since new evidence has come forward (https://news.ycombinator.com/item?id=27275379) I think we can all agree that Lodash is a fork of Underscore.js, nothing more and nothing else.

Re:Use native context menus on Mac OS by cowsandmilk on Tuesday May 25, 2021 @07:09AM (#27275379)
Really, lodash was a fork of underscore, not a reimplementation. The git history shows it.

https://github.com/lodash/lodash/commits/0.1.0?after=e0971cd...

Re:Use native context menus on Mac OS by capableweb on Tuesday May 25, 2021 @07:40AM (#27275613)
Perfect, even better! Now we can all correct ourselves and call it a fork, which sounds much nicer than "rip", "ripoff" or "clone".
Re:Use native context menus on Mac OS by goldenkey on Tuesday May 25, 2021 @10:35AM (#27277317)
Most forks mention their origins somewhere in their bio. I'd still call it a rip considering no credit is being given at all. Why should I need to dig into the Git history to find out the creative origin of Lodash?
Re:Use native context menus on Mac OS by Karunamon on Tuesday May 25, 2021 @04:44PM (#27282383)
The license file reads: Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>

If they were giving "no credit at all", they would be in violation of the MIT license.

Re:Use native context menus on Mac OS by capableweb on Tuesday May 25, 2021 @04:43PM (#27282375)
> Most forks mention their origins somewhere in their bio

Ok, does that make forks who don't mention where they forked from rips? Huge leap in logic.

> Why should I need to dig into the Git history to find out the creative origin of Lodash?

Well, if you're interested in the origin you either look for information available in threads like this, where other people dig or you dig yourself. Not sure what the problem is. Someone published a library under MIT, another person forked that library and created a new one, also under MIT, and somehow the fork is now a rip? Give me a break

Re:Use native context menus on Mac OS by design-material on Tuesday May 25, 2021 @03:59PM (#27281836)
More accurate is 'stolen code without proper attribution'
Re:Use native context menus on Mac OS by Karunamon on Tuesday May 25, 2021 @04:43PM (#27282371)
https://raw.githubusercontent.com/lodash/lodash/4.17.10-npm/...

> Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>

They've given precisely as much attribution as is required.

Re:Use native context menus on Mac OS by capableweb on Tuesday May 25, 2021 @04:42PM (#27282362)
Hope you don't publish any MIT code and then blame people when they fork it. That'd be really against the spirit of the MIT license.
Re:Use native context menus on Mac OS by goldenkey on Tuesday May 25, 2021 @06:13AM (#27275019)
Allowed or legal doesn't imply couth. As far as I can tell, Lodash no longer mentions Underscore anywhere. This seems wrong..as if one wants to look more original than one actually is.

I have no qualms with forks or reimplementations (ie. Android - Java.) I actively support the paradigm.

But in this case, it's pretty shitty to try to erase all evidence of said inspiration. Most forks and reimplementations don't do that. They pay homage to their origin with at least a shout out.

Re:Use native context menus on Mac OS by capableweb on Tuesday May 25, 2021 @06:48AM (#27275253)
I don't think Lodash ever "credited" Underscore.js for it's origin. Lodash used to have a "compat" version that promised to work the same as Underscore.js but with better performance, but I think that's about it.

After some digging, it seems like the Lodash website stopped mentioning Underscore.js around 2015 sometime, but even before that, it never had "evidence of said inspiration" as claimed by you.

Here are the versions I looked at:

- https://web.archive.org/web/20120826202523/http://lodash.com...

- https://web.archive.org/web/20130502014523/http://lodash.com...

- https://web.archive.org/web/20140517192947/http://lodash.com...

- https://web.archive.org/web/20150513014815/https://lodash.co...

- https://web.archive.org/web/20160803063412/https://lodash.co...

- https://web.archive.org/web/20170830163720/https://lodash.co...

- https://web.archive.org/web/20180703043557/https://lodash.co...

- https://web.archive.org/web/20190803030353/https://lodash.co...

- https://web.archive.org/web/20200615092636/http://lodash.com...

- https://web.archive.org/web/20210314233141/https://lodash.co...

Re:Use native context menus on Mac OS by goldenkey on Tuesday May 25, 2021 @10:30AM (#27277247)
Good digging. The 2012 banner is

    > A drop-in replacement\* for Underscore.js
I'd consider this to be an admission of where the API came from.

You are right though, my memory failed me. No mention of forking.. Shameless!

Re:Use native context menus on Mac OS by DonHopkins on Tuesday May 25, 2021 @07:58AM (#27275764)
"Rip-Off Menu" is another term of art for "Tear-Off Menu". ;)

Inside Macintosh > Macintosh Human Interface Guidelines > Part 2 - The Interface Elements > Chapter 4 - Menus > Tear-Off Menus and Palettes

http://mirror.informatimago.com/next/developer.apple.com/doc...

http://mirror.informatimago.com/next/developer.apple.com/doc...

>A tear-off menu allows users to move a menu around the screen like a window. Tear-off menus save desktop space because the user can place them on top of a document or move them to a convenient position. If you implement a tear-off menu rather than a fixed palette in a window, you allow the user to have a larger workspace in document windows. Users can also choose to leave the menu in the menu bar, or tear it off and close it when necessary. Tear-off menus give the user more flexibility than fixed palettes do.

Re:Use native context menus on Mac OS by theta_d on Tuesday May 25, 2021 @06:13AM (#27275021)
Rip short for rip off which can mean a clone essentially.
Re:Use native context menus on Mac OS by achempion on Tuesday May 25, 2021 @09:27AM (#27276504)
You could try to look on in from another perspective.

The library is free and worked on by maintainers in a spare time from main duties (not talking here about lodash specifically).

Maintainers don't own you any support nor obliged to work the way you may think they should.

I would say that it's great that we have many tools and should give more respect to maintainers which basically save you a ton of resources and maximum they ask for is to follow the established processes.

Re:Use native context menus on Mac OS by NetOpWibby on Tuesday May 25, 2021 @11:02AM (#27277727)
You haven’t addressed the hostile attitude of the maintainer, which was the point.
Re:Use native context menus on Mac OS by a1369209993 on Tuesday May 25, 2021 @04:03PM (#27281876)
The hostile and deceptive attitude of the maintainer. If they honestly admitted that they didn't give a crap about bug reports, or even just didn't bother setting up any system for recieving them, that would disappointing, but achempion's comment would cover the situation nicely. The problem (assuming the previously stated facts are accurate) is they actively set up a system to solicit and recieve bug reports, and then systematically sabotaged and neglected that system when people tried to actually report bugs.
Re:Use native context menus on Mac OS by hinkley on Tuesday May 25, 2021 @05:30PM (#27282934)
I feel like we could have the same conversation about the Docker folks and so this feels more like a popularity contest than an objective conversation.
Re:Use native context menus on Mac OS by CRConrad on Thursday May 27, 2021 @03:31PM (#27307134)
It's not as if "Person or group B are also objectively arseholes!" logically invalidates "Person or group A are objectively arseholes", is it?
Re:Use native context menus on Mac OS by bassdropvroom on Tuesday May 25, 2021 @07:41AM (#27275621)
I disagree. It entirely depends on the behaviour.

I've lost count of the number of tickets that have been raised that has no information, or is not reproducible, or something else. When I then ask for more information, or something else, they never reply. I've no incentive to keep such tickets open.

So I set up stale bot and auto-close the tickets. Individuals can come and re-open if it happens to them, or more information is added.

Now I do agree, if it is a genuine issue, then it shouldn't be closed until it is sorted out it. So you can set up stale bot to ignore labelled or something. So that's how I've set up all of my repos. For me this has taken off a huge burden.

I don't agree with locking threads after they've closed though. There is very little reason to do so.

Re:Use native context menus on Mac OS by kubajastrz on Tuesday May 25, 2021 @08:01AM (#27275788)
One way that I found out recently in the vite github repository [0], is to use github actions cron job to automatically close issues with certain labels, like "needs reproduction".

This way maintainers need to at least explicitly set the label before the issue is closed automatically, and not the other way around.

[0]: https://github.com/vitejs/vite/blob/b6d12f71c1dbd5562f25bc2c...

Re:Use native context menus on Mac OS by eptcyka on Tuesday May 25, 2021 @07:53AM (#27275721)
This is different from closing legitimate bugs/issues that are well described and testable, just not fixed.
Re:Use native context menus on Mac OS by bassdropvroom on Tuesday May 25, 2021 @08:26AM (#27275992)
That's right. It's all use-case based. Indiscriminately closing issues automatically is definitely wrong. Automatically closing issues that cannot be reproduced or have other issues is a perfect use-case for stale bot.
Re:Use native context menus on Mac OS by eptcyka on Tuesday May 25, 2021 @08:50AM (#27276167)
Show me a bot that can tell the difference between a testable and well described bug and one that's affecting lots of users but has bad descriptions.
Re:Use native context menus on Mac OS by bassdropvroom on Tuesday May 25, 2021 @09:23AM (#27276465)
Using GitHub's stale bot you can set it to ignore labelled issues, and so it's up to maintainer to label things correctly. Once the maintainer does so, stale bot won't touch it.
Re:Use native context menus on Mac OS by mook on Tuesday May 25, 2021 @04:22PM (#27282089)
I believe that's backwards — it requires active effort from the maintainer (who may be on vacation) to prevent closing, when the ball is in the maintainer's court (to check if it's a reasonable ticket). The process described elsewhere in this subthread, where the maintainer has put a label on the issue before it can be auto-closed, is better (since the next action is on the reporter); that must only happen if the reporter hadn't responded, though.
Re:Use native context menus on Mac OS by eptcyka on Tuesday May 25, 2021 @06:01PM (#27283294)
How is that different from someone closing the issue manually?
Re:Use native context menus on Mac OS by hinkley on Tuesday May 25, 2021 @05:35PM (#27283006)
I think the problem is that the bot is the wrong solution to the problem.

It's like when I was clearing out my inbox of spam - about 10% of the garbage was legitimate spam, the rest was self-inflicted spam - ads for places I frequent, and mailing lists that I kept thinking I would read 'some day'.

What I needed was a way to group all of the suspicious messages so that I could machine gun my way through them spending less than a couple of seconds each. First hour got a lot of dead messages quickly, slowing down over time and totaling about 4k messages by hour four (most of that spent in front of a TV, which let me finish but also made it take longer - if you ignore the divide by zero error).

What you need is a way to tag suspicious issues so that you can go through and veto the 20 that are legit, and delete the rest. But that may require some feature requests to GitHub, and a different bot.

Re:Use native context menus on Mac OS by dawnerd on Tuesday May 25, 2021 @04:03AM (#27274172)
Worse is when they prevent you from reopening or if you comment after it’s closed you get a rude response to open a new ticket.
Re:Use native context menus on Mac OS by heinrichhartman on Tuesday May 25, 2021 @04:23AM (#27274316)
I can get behind closing stale issues, to a certain degree, but this practice sound straight-out stupid: Why would you discard the context of a previews discussion?
Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @04:42AM (#27274439)
At the risk of spinning of a tangent flamewar: this ties into a wider issue that boggles my mind to this day - the concept of "necroposting" as something negative. People will commonly want to eat you alive if you post a new reply under a stale discussion thread, but that reaction feels really dumb. The old context is useful.
Re:Use native context menus on Mac OS by detaro on Tuesday May 25, 2021 @06:20AM (#27275086)
If the old context is useful, sure. but it often isn't, and that's what causes people to dislike necroposting. But without a specific policy/instance in mind discussing this is a bit moot, since everyone has a different level of reasonableness in mind.
Re:Use native context menus on Mac OS by twic on Tuesday May 25, 2021 @05:19AM (#27274684)
There's at least one forum out there where necroposting is actually valued by the culture. It's considered cool and fun to make a relevant post on a thread that was last updated five years ago. I love that.
Re:Use native context menus on Mac OS by smeyer on Tuesday May 25, 2021 @02:33PM (#27280492)
Which forum?
Re:Use native context menus on Mac OS by alpaca128 on Tuesday May 25, 2021 @05:42AM (#27274825)
For me the reason I see it mostly as something negative is because most necroposts are pointless. They're often only written because the author forgot to check the date and thus didn't realise their comment won't contribute anything useful. Like when a user tells others in a 7 years old, obsolete thread they're wrong because shiny new solution XYZ exists.
Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @06:11AM (#27275007)
> the author forgot to check the date and thus didn't realise their comment won't contribute anything useful

I have a different view of those in most cases - particularly on large, or publicly accessible, boards. That comment may not contribute anything useful for the people previously involved, but it may very well be useful for everyone else - such as any person that finds the thread through a search engine.

> Like when a user tells others in a 7 years old, obsolete thread they're wrong because shiny new solution XYZ exists.

That's a specific case about one-upping someone much later, but a more generalized case - posting modern solution under unresolved problem thread - is very valuable for people who find the thread looking for a solution. Conversely, blanket ban on "necroposting" discourages accumulation of knowledge on tough problems.

See also: https://xkcd.com/979/

Re:Use native context menus on Mac OS by smichel17 on Tuesday May 25, 2021 @06:44AM (#27275229)
I agree that a blanket ban on necro-posting has the negative consequences you mention. It is commonly discouraged as a heuristic, because necro-posts often have a high time cost to those who were previously involved. First, because by that time they've forgotten the context, and since the new post often does not summarize the entire previous conversation, it forces someone who wants to make sense of it to go back and re-read it to understand that context. In contrast, a new issue is more likely to stand on its own and be easier to process. It can still link to the old issue in order to keep the chain intact. And second, because the new commenter is often wrong that their bug is the same, or has missed some of the context and is just adding duplicate information. Note that both of these apply more to long threads.

I think this suggests two things:

1. There is an opportunity for better tooling. I'm thinking something like those annoying infinite scroll news/blog sites, where you reach the end of the article and it dynamically sticks another one on the page below (& updates the url). Imagine that but with any bug that's been marked as a duplicate (which the bug reporter should be able to do). Now you get the best of both worlds -- a way to view the new post with or without context.

2. Necro-ing would be less problematic if bug tracking were less centralized. More long, support-type bugs between distributors and users, where is preferable to log a new issue than necro an old one; more short summaries of confirmed bugs submitted by maintainers to the upstream repo. GitLab's separation of issues and epics is a good idea here, although their implementation is awkward at best.

Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @07:28AM (#27275518)
> And second, because the new commenter is often wrong that their bug is the same, or has missed some of the context and is just adding duplicate information. Note that both of these apply more to long threads.

That's a good point I haven't considered. Yeah, the consequence of mistakenly starting a new topic under an unrelated old thread is that the new discussion is now miscategorized and harder to find.

> It can still link to the old issue in order to keep the chain intact.

Yes, that would be great. If one could pull off an UI that nudged people to correctly link back to older threads, so that such links were typical, I think it would mostly solve the necropost problem - the etiquette could be changed to "don't necropost; if starting a new thread on a topic that was discussed in the past, ensure your post links back to those old discussions".

(I think I saw a few boards automatically generating a box with "related topics", but IIRC, their method of finding related topics yielded lots of false positives. If improved, this could work too, though I would still prefer explicit links that don't change over time.)

> I'm thinking something like those annoying infinite scroll news/blog sites, where you reach the end of the article and it dynamically sticks another one on the page below (& updates the url).

I personally don't want that. I hate this UI pattern. In particular:

- As implemented on social media platforms, it makes it nearly impossible to find your way back to something you saw a minute ago but scrolled past.

- As implemented on news sites, auto-appended articles are usually not relevant to the one you just finished.

- The URL substitution is particularly annoying - usually, the time I care about the URL is when I read/skim the article to the end, and then decide to share or bookmark it. At that point, the URL will already be changed to point to a different article, and it's easy to miss. And the way these feeds are implemented, if you follow the link to a follow-up article and scroll up, you won't get back the article you actually wanted.

Re:Use native context menus on Mac OS by lucideer on Tuesday May 25, 2021 @06:04AM (#27274961)
but that's just a reasonable response to a specific type of comment, not a general defense of banning necroposts outright.

The reason the term exists is because it's a blanket rule based on the age of the reply, not based on the intent or context.

Re:Use native context menus on Mac OS by chc on Tuesday May 25, 2021 @03:51PM (#27281726)
The blanket rule is because even "good" necroposts tend to encourage bad ones. If I'm on an active forum and I revive some ancient discussion with a useful comment, lots of people will click on the thread and try to argue with the old posts.

The generally recommended alternative is to make a new thread and simply link to the old one so you don't confuse people.

Re:Use native context menus on Mac OS by wott on Tuesday May 25, 2021 @05:17AM (#27274673)
> boggles my mind to this day - the concept of "necroposting" as something negative.

I never understood it either. I mean, as a religion.

What is even sillier, is that as far as web forums are concerned, you have 50% of them which will go mad if you "necropost", and the other 50% which will go mad if you open a new thread when there is already an existing thread on the same topic (even buried), because these have the exact opposite written or unwritten rule. The latter ones love their 800 pages long topics; the former ones forbid you to follow up with a discussion even when it is the exact same topic, if the discussion stopped for a while.

Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @06:17AM (#27275049)
You know what beats that still? I've been using a few boards where people believed in both these things at the same time. So when a topic stalled, it was nigh-impossible to resume it later.
Re:Use native context menus on Mac OS by wott on Tuesday May 25, 2021 @07:03AM (#27275335)
Ah! :)

I've seen something a bit like that: moderators who would come down hard on people who ask a question, both in an old thread or a new one (because the first time they were told not to create new threads or not to necropost so they tried again, following the advice, in the opposite manner), by telling them "why can't you search the fucking forum 2 minutes before digging an old thread / creating a new thread, stupid; this has been answered multiple times: here, here and here; topic locked", and of course none of the links he gives does answer the specific problem the posters had and clearly specified, because the mod didn't spend the said 2 minutes reading the posters' questions and just stupidly copied the first search results in the rush he had to punish the intruders. So, when you hit the same problems as the posters, you are out of luck, because their questions were not answered before, and they will never be.

Re:Use native context menus on Mac OS by kergonath on Tuesday May 25, 2021 @11:21AM (#27278005)
I have seen this unfortunate behaviour in mailing lists for some Open Source software as well. Gatekeepers with anger issues and too much time on their hand (but not enough to actually answer the question). Sometimes I wish these people realised how hostile they are and unwelcoming to new users and potential contributors, but maybe that’s the point.

The result is ~10 relevant hits when you Google an error message with not a single useful solution.

Re:Use native context menus on Mac OS by zerocrates on Tuesday May 25, 2021 @03:15PM (#27281167)
Getting redirected to post on a locked thread where that's not allowed... I propose to call this the Catch-302.
Re:Use native context menus on Mac OS by travisjungroth on Tuesday May 25, 2021 @05:00AM (#27274555)
Agree for intelligent discourse about a slow-moving topic. Disagree for conversations about personal opinions (most of forums), especially ones with time context. When you post on a three year old thread, everyone else has left the room. That's fine if you want to share how you finally got this old sound card working on a specific OS, lame if there was a lively discussion about working at Lyft versus Uber.
Re:Use native context menus on Mac OS by lucideer on Tuesday May 25, 2021 @06:13AM (#27275020)
Firstly there's a 3rd type: someone asks for help and you post a suggested solution 3 years later. Extremely useful for all the lurkers who also had the same question and are reading looking for possible solutions.

But secondly, even your own counterexample I don't think checks out. If I'm browsing your forum & interested in perspectives on working at Lyft v Uber, I absolutely want to read a recent update and contrast that with what people thought 3 yrs ago v now.

Tbh, the "I got my sound card working" post seems least appropriate of them all (but still ok to do imo, necroposts are good)

Re:Use native context menus on Mac OS by travisjungroth on Tuesday May 25, 2021 @06:59AM (#27275310)
My sound card example was supposed to be like your 3rd type, so we agree there.

Old and current experiences are definitely both valuable. Just start a new thread. It's too easy for other members to miss the dates when it comes back to the top. Then they're reading and responding to old posts from absent people like they're here and now.

Re:Use native context menus on Mac OS by strogonoff on Tuesday May 25, 2021 @04:46AM (#27274473)
I don’t think “necroposting” is something inherently bad[0], but specifically insisting (or expecting) that open-source project maintainer remembers a 100-screen thread every time anyone wants to bring it up is IMO ill-mannered.

A random person online invests an afternoon to read through a years old issue thread and decides to comment, expecting the maintainer to reply. Meanwhile, maintainer has dozens of such issues, and dozens of frustrated users bringing up each of them every week. Asking the submitter to respect a previously made maintainer’s decision, file a new issue and invest their own time to concisely summarize the status quo seems only fair.

In other words, diverting discussion to a new thread is a chance to compress old context into a short summary, like you would squash a Git history—except in this case the old closed issue thread is fully linkable and isn’t going anywhere.

[0] That said, it depends on maintainer’s personality. I can see how some could feel losing control and demoralised by ever-evolving difficult-to-track discussions on previously closed issues.

Re:Use native context menus on Mac OS by lucideer on Tuesday May 25, 2021 @06:16AM (#27275046)
You're right that this behaviour is bad and I know that what you describe happens but it seems like a strawman argument in the context of this discussion.

What you describe is about the community respecting foss maintainers; closing tickets is not going to solve this problem.

Re:Use native context menus on Mac OS by strogonoff on Tuesday May 25, 2021 @05:01PM (#27282603)
I was responding to the point about comments piling on a closed issue. It is not bad by default, but still there can be valid reasons for maintainers to discourage it.

Whether an issue should be closed or should be allowed to be re-opened by the public is not even up to debate as far as I’m concerned, this is up to maintainer’s policy.

Re:Use native context menus on Mac OS by Arathorn on Tuesday May 25, 2021 @05:17AM (#27274671)
+1E100. On a busy project it's disasterous if long-lived chronic bugs which are serious enough to be tracked in the first place, but have never quite made it to the top of the todo list, randomly got closed for no good reason. This issue is a classic case in point. We have too many similar ones on Matrix (but which we've been slowly working through over the years).
Re:Use native context menus on Mac OS by Jenk on Tuesday May 25, 2021 @04:14AM (#27274249)
Meh. It's just a method of filtration.

When you can only tackle so many things there is 0 point in having a bug tracker that will only inflate and with little in the way of automatic triage determining the priority it is a borderline impossible task to wade through them.

Allowing duplicates is fine, the important stuff comes up again whilst the unimportant bits die off.

Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @04:30AM (#27274374)
> When you can only tackle so many things there is 0 point in having a bug tracker that will only inflate

A public bug tracker isn't just for you. It, arguably, isn't even primarily for you. It's for all your users who experience a problem and want to confirm if someone else also had it, and if there's a known solution.

(It's something that particularly annoys me as a developer. I can fix problems on my own just fine, thank you. But I want to know if my problem is something tied to my configuration, or a known issue of some software that's failing for me - so that I don't waste time looking for the cause in the wrong place. I want the project's issue tracker to help me answer that question quickly - and auto-hiding/archiving/closing stale issues makes this job much harder.)

Re:Use native context menus on Mac OS by toyg on Tuesday May 25, 2021 @06:13AM (#27275022)
> A public bug tracker isn't just for you. It, arguably, isn't even primarily for you.

There is a lot of work still to be done on bug-tracking. The eternal attempt to keep users away from bugtrackers has meant that, when they inevitably became public because of FOSS growth, their interfaces did not really work for users.

I think it's high time we accepted bug trackers are also forums. There should be a way to mark certain comments as "effective workaround", and surface them at first glance. There should be ways for developers to mark certain comments as "useful info" so that the rest can be filtered. There should be ways to have lengthy discussions attached to the bug but not forced on the developer. There should be incentives to actually solve "historical" bugs first. In short, there should be different ways to look at a bug depending on one's role, without losing anything, without alienating anyone, and accepting the complexity of user-developer relations.

But there is very little money in it, I guess.

Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @07:15AM (#27275421)
That's a great perspective. I agree with what you wrote here.

With that in mind, I believe that properly supporting all the various use cases an issue tracker serves without turning it into another JIRA is a hard UI design task.

But at the same time, practices like closing or locking stale bug reports can be seen as UI workarounds. Some people feel their boards are cluttered, so they reach for the only tools available - the close button, the lock button, an autoclosing/autolocking bot. It solves the UI issue for them, at the expense of other groups of board users.

This is to say: it's ultimately an UI deficiency on the part of a common issue trackers. Developers should be able to restructure their board as they see fit, but it shouldn't impact other users' ability to utilize the data stored on it. It would be great if major software forges solved this on their end.

Perhaps we need a concept of a "stale" issue/thread that's distinct from a "closed" one. A stale issue would be one that's not actively being looked at, but is nevertheless not resolved. The way it would differ from a regular open issue is:

- It doesn't sort itself up when somebody posts a comment on it.

- Posting on it doesn't notify people who didn't explicitly subscribe to it - all activity on stale issue is grouped under a single, inconspicuous indicator, that can be easily ignored.

- Stale issues are always sorted to the bottom or kept on a separate tab, and are trivial to filter in or out during searches. But the tab marker itself stays visible, so that people can find out there are such issues in the first place.

- Stale issue can be explicitly promoted to active at the discretion of the developers (or perhaps by community vote).

Hopefully this would reduce the need to aggressively close - and especially to lock - older issues.

Re:Use native context menus on Mac OS by handrous on Tuesday May 25, 2021 @10:38AM (#27277353)
PHP's documentation allowed (allows? Not sure anymore) comments. Especially in the pre-StackOverflow days, this was absolutely brilliant. I'm sure that's a pretty heavy moderation burden for any successful language (especially these days, maybe not as much when PHP's docs first added that feature) but damn it's nice.

I love the idea of bugtracker-as-forum (you're right that they already are and we're just in denial about it and don't design them to do that well) but it's the kind of thing that doesn't seem productizable (how many companies would want that, for instance? I doubt many) and non-commercial non-trivial open source isn't such a lively field, lately.

Re:Use native context menus on Mac OS by rkeene2 on Tuesday May 25, 2021 @08:47AM (#27276144)
As an example of this, the SQLite bug tracker [0] is closed for submissions from non-developers (or some set of trusted people), and instead the SQLite forum [1][2] is used to discuss possible bugs.

[0] https://www.sqlite.org/src/reportlist [1] https://www.sqlite.org/src/wiki?name=Bug+Reports [2] https://www.sqlite.org/forum/forum

Re:Use native context menus on Mac OS by rectang on Tuesday May 25, 2021 @07:29AM (#27275523)
> There should be a way to mark certain comments as "effective workaround", and surface them at first glance.

Is there a reaction emoji that signals "effective workaround"?

Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @07:35AM (#27275576)
We need a "duct tape" reaction emoji.

Come to think of it, we need a "duct tape" emoji. I'm surprised it isn't in Unicode already.

Re:Use native context menus on Mac OS by Jenk on Tuesday May 25, 2021 @10:11AM (#27276959)
Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @10:35AM (#27277327)
Close enough. That's arguably even better to represent a workaround.
Re:Use native context menus on Mac OS by feu on Tuesday May 25, 2021 @05:13AM (#27274641)
Closing an issue shouldn't prevent anyone from finding it though. At least on GitHub closed issues are still visible in the issue tracker.
Re:Use native context menus on Mac OS by kenniskrag on Tuesday May 25, 2021 @05:30AM (#27274743)
I think closed issues shouldn't be a problem on the current release. So why search through them?
Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @07:32AM (#27275547)
Because - per the pattern of behavior we're discussing in this thread - some developers close old issues, whether they were actually resolved or not, and it's becoming a common practice, particularly with the appearance of bots performing this function automatically.

Also, not everyone is using the most recent release.

Re:Use native context menus on Mac OS by spacechild1 on Tuesday May 25, 2021 @07:52AM (#27275710)
Some issues are not actually bugs but user errors (e.g. because they haven't read the manual). Personally I'm not sure if it's better to close such issues or keep them open with a special label.
Re:Use native context menus on Mac OS by innocenat on Tuesday May 25, 2021 @05:27AM (#27274723)
Who search for closed issues when searching if other have the same bug?
Re:Use native context menus on Mac OS by TeMPOraL on Tuesday May 25, 2021 @06:28AM (#27275136)
I do, because I realized people close stale issues just because (and then there are bots that do it now too). I'm happy I can still do it, and I worry that one day someone will have a bright idea to "archive" closed issues to where they cannot be easily found.
Re:Use native context menus on Mac OS by NicoJuicy on Tuesday May 25, 2021 @07:05AM (#27275353)
I do. Because perhaps it's fixed in a newer version or ...
Re:Use native context menus on Mac OS by Jenk on Tuesday May 25, 2021 @08:15AM (#27275913)
Stalebot (the popular one on GH) has exemptions which are configurable - branch, author, label, commenter, and probably more. AKA owner/maintainer can do as little as drop a label or even just a reply on an issue and it won't be pruned.
Re:Use native context menus on Mac OS by MaxBarraclough on Tuesday May 25, 2021 @04:56AM (#27274531)
> Meh. It's just a method of filtration.

No, it's a method of automatically discarding valuable information.

To put a different spin on what TeMPOraL said: a bug is roughly defined as a deviation from expected program behaviour. It is not defined as a deviation from expected behaviour which we intend to fix soon. There is value in keeping track of all the bugs in a codebase, even the ones you don't intend to fix soon.

That is to say, a bug tracker is for tracking bugs. It is not a to-do list. (edit Although I wouldn't want items on my to-do list to expire without my knowledge, either.)

If you want to mark a reported bug as Not a bug or Won't fix, that should be done manually. If a bug was fixed in passing as a result of some other work, the bug should be manually marked as fixed. It doesn't make sense to have a timeout act as a stand-in for a triage decision, in a way that fails to distinguish between these two outcomes.

Re:Use native context menus on Mac OS by Jenk on Tuesday May 25, 2021 @08:22AM (#27275966)
> No, it's a method of automatically discarding valuable information.

So.. a filter.

I didn't claim it is a perfect filter. I did claim it is _a_ filter and one may subjectively decide it is a better choice than trying to track an ocean of issues which, if you're someone the size of Mozilla, will be a vast majority of "It crashed" useless issues anyway.

_If_ something is that important, it will come up again and closed issues can be referenced. Again, no claim that this is perfect from me.

Re:Use native context menus on Mac OS by CRConrad on Friday May 28, 2021 @09:30AM (#27315092)
No, not "a filter". A filter is like "SELECT .... FROM TABLE WHERE ...."

This is "DELETE .... FROM TABLE WHERE ...."

Re:Use native context menus on Mac OS by MayeulC on Tuesday May 25, 2021 @04:54AM (#27274523)
> Allowing duplicates is fine, the important stuff comes up again whilst the unimportant bits die off.

You lose a lot of context from other reporters, and some discussion that could happen between reporters. All of this allows diagnosing an issue, and sometimes solving it without input from the team ("ah, this 3 years old bug? I solved it, turns out I had faulty memory, check yours").

I dislike closing them, especially as github only has two states: open and closed, and doesn't distinguish with invalid, wontfix, fixed, stale, needinfo, etc.

At least they are still searchable and interactable with when closed, but who thought it was a god idea to lock them? All the original subscribers won't be notified of new discussion on the topic.

Re:Use native context menus on Mac OS by Jenk on Tuesday May 25, 2021 @08:23AM (#27275973)
AFAIK when a closed/locked issue is referenced, watchers get notified. If they don't I agree they should.
Re:Use native context menus on Mac OS by tinus_hn on Tuesday May 25, 2021 @04:24AM (#27274319)
It’s fine, as long as the time he submitter spent to write a decent bug report is worthless to you.
Re:Use native context menus on Mac OS by frereubu on Tuesday May 25, 2021 @04:31AM (#27274379)
That's a straw man. It's a balance between your time and theirs, and I presume you don't think that all bug reports are carefully considered and well-written. Many are even obtuse, aggressive and self-entitled. I'd bet most well-written, civil bug reports are at least taken seriously, even if they end up as a wontfix.
Re:Use native context menus on Mac OS by tinus_hn on Tuesday May 25, 2021 @04:44AM (#27274464)
You don’t need to wait for a certain period of time to decide that a bug report is poorly written.
Re:Use native context menus on Mac OS by ForHackernews on Tuesday May 25, 2021 @04:53AM (#27274516)
There's nearly zero cost to leaving a stale bug report open. A few kB, and maybe not even that because closed tickets are rarely actually deleted.

If you're not working on a bug, then, by definition, it's not taking up your time.

Some people are just obsessive about not wanting to look like they have open bugs on their project. But closing tickets and fixing bugs are not the same thing.

Re:Use native context menus on Mac OS by marcosdumay on Tuesday May 25, 2021 @06:32AM (#27275157)
> There's nearly zero cost to leaving a stale bug report open.

Triaging an endless list is very costly.

I do agree with the idea that if you expect your project to be public (and not just something you did that you'll share if somebody wants) it is a cost you are expected to take. But it's wrong to pretend it's free.

Re:Use native context menus on Mac OS by oooooooooooow on Tuesday May 25, 2021 @07:50AM (#27275701)
Triage is what happens when you first look at a new ticket and decide what to do with it, any encounter/interaction after that is not a triage.

If maintainers feel like they need to close tickets only to keep order, than that's a problem with the tooling: tickets should only be closed if they're malformed, solved, or (arguably) wontfix.

Re:Use native context menus on Mac OS by marcosdumay on Tuesday May 25, 2021 @09:34AM (#27276564)
> If maintainers feel like they need to close tickets only to keep order, than that's a problem with the tooling

Oh, yes. Yes it is!

I think you were downvoted because the first part of your answer is wrong, but this one hits right on the mark.

Re:Use native context menus on Mac OS by oooooooooooow on Wednesday May 26, 2021 @04:56PM (#27295989)
I've always interpreted "triage" as the first response whenever something comes up (paralleling the medical term were it's from), is that not how it is?
Re:Use native context menus on Mac OS by Jenk on Tuesday May 25, 2021 @08:09AM (#27275858)
Priority is a constantly moving slide.
Re:Use native context menus on Mac OS by thaumasiotes on Tuesday May 25, 2021 @04:58AM (#27274540)
> But closing tickets and fixing bugs are not the same thing.

You can't measure how many bugs you have, but you can measure how many bug reports you have. ;D

Re:Use native context menus on Mac OS by steerablesafe on Tuesday May 25, 2021 @05:14AM (#27274642)
If you can automatically close old bugs then you can automatically filter those same bugs, without closing them.
Re:Use native context menus on Mac OS by rvz on Tuesday May 25, 2021 @06:01AM (#27274938)
> I’ve said it before and will keep on saying it: GitHub’s stale bot should be removed with prejudice.

Imagine if the Linux kernel or even Chromium had stale bots closing reported vulnerabilities everywhere. It's like they are burying bugs waiting to be exploited by drive-by security researchers.

Re:Use native context menus on Mac OS by handrous on Tuesday May 25, 2021 @10:42AM (#27277412)
Android, notoriously, does this. When (not if) you hit an Android bug while developing an app, more than likely you'll find it closed as stale. Luckily they don't usually block comments, so you'll get to see confirmation from within the last few weeks that you're not crazy and this bug is still present, and maybe some up-to-date workarounds if you're lucky.
Re:Use native context menus on Mac OS by jlarcombe on Tuesday May 25, 2021 @07:52AM (#27275709)
Amen. About once a year I spend an entire day reopening bugs in the Qt bug tracker while somewhere in Finland someone is sitting there closing them, like a sort of really annoying game. The process consists of (a) downloading the minimal test app attached to the bug, (b) making a trivial change to get it building with the latest Qt, and (c) reopening the bug with the remark "this still happens in Qt X.latest". Unfortunately I can't quite do this as fast as they can close them...
Re:Use native context menus on Mac OS by frereubu on Tuesday May 25, 2021 @04:28AM (#27274359)
In an ideal world I'd agree with you, but if you or your team don't have the time to fix every bug - some of which will not be critical - then having a mass of open issues pile up often leads to people being overwhelmed and fixing even fewer. Also, over time, some issues are superceded by changes elsewhere so they become moot anyway.
Re:Use native context menus on Mac OS by bayindirh on Tuesday May 25, 2021 @04:31AM (#27274375)
Why not move them to a low visibility category like a back-burner?

Some long standing problems get progressively easier to fix when the blockers around a bigger problem gets conquered slowly due to requirements.

Re:Use native context menus on Mac OS by asoneth on Tuesday May 25, 2021 @10:29AM (#27277224)
I agree that auto-closing bugs is unfortunate, but I understand the motivation.

I've worked on legacy codebases with thousands of unresolved issues old enough to drink. Those issues were probably triaged and reproduced by the people who hired the people who hired me and had been lovingly transferred during multiple bug tracker migrations, but they never achieved high enough priority to warrant development attention. And certainly no one on the current team had any interest (or time) to dig up and attempt to reproduce issues that no human has touched in a decade. Just reading through all the old issues would require a larger team than the product revenue could sustain, let alone reproducing and resolving them.

Having said that, there was no harm in keeping old issues "open" because everyone on the team used metadata to filter old issues out of their views so they were effectively "closed" in that no one ever saw them unless they deliberately went looking and they stopped being included in summary reports. No idea whether people would consider that better or worse than explicitly marking them as "Closed".

Re:Use native context menus on Mac OS by ryandrake on Tuesday May 25, 2021 @12:02PM (#27278539)
Not sure if relevant to open source bug tracking, but I've worked in more than one company whose "old bug" policy boiled down to: If after we found this bug, we chose to ship an update that did not include a fix, then the bug is not important enough to ever fix and should be closed as "Won't Fix". In other words, customers have lived with this bug for at least two release cycles and the world didn't come to an end, so don't prioritize it. I don't agree with this policy but I think it's a pretty common mentality in the commercial software world.

EDIT: Additionally, I've never worked anywhere where the capacity/willingness to fix bugs exceeded the incoming rate. So net bug count minus fixes would always grow forever unless you regularly purged unfixed bugs. This seems almost universally true in software.

Re:Use native context menus on Mac OS by CRConrad on Friday May 28, 2021 @09:36AM (#27315152)
> Just reading through all the old issues would require a larger team than the product revenue could sustain,

Yeah, well, if it weren't so full of decades-old still-unsolved bugs, then maybe the product would have more users and therefore more revenue?

Re:Use native context menus on Mac OS by asoneth on Thursday June 10, 2021 @04:57PM (#27465721)
That's a good point in general, though the product example I gave was primarily funded by government contracts and (at least based on the negotiations) the contracts were far more sensitive to price than quality.

But I will say that my experience in enterprise software has been similar. The relationship between software quality and company success is more a bell curve than a linear one: if you neglect quality you'll certainly lose customers, but above a certain point if you spend too much of your budget fixing every bug you'll eventually lose to competitors with mediocre quality but lower prices and/or more capabilities.

It's all about finding the right balance.

Re:Use native context menus on Mac OS by mumblemumble on Tuesday May 25, 2021 @10:18AM (#27277044)
In general I don't disagree, but I'd moderate the position with context.

For projects that have some sort of product manager who is personally in charge of managing and perhaps de-duplicating the tickets, I'd leave the choice up to them. Some like having only one ticket that captures all discussion about an issue. Some don't care, and aren't so worried about losing track of comments from several years ago. That feels to me like a work style issue, and I don't need to tell them how to do their job.

Or, for projects that are working with an issue tracking system that makes it really difficult to juggle large numbers of open tickets, I also see it as potentially valuable. It's a trade-off. Yes, you get a little extra chaos from broken discussion around perennial issues. But, if you simply cannot effectively manage and prioritize more than, say, a hundred open tickets, then that might be the lesser of two evils.

Re:Use native context menus on Mac OS by arghwhat on Tuesday May 25, 2021 @08:38AM (#27276090)
It depends solely on the definition of "stale".

An issue where the reporter is unreachable and developers do not have local reproduction should absolutely be closed as it serves no function other than generating noise in the issue tracker.

Open issues is a liability to overview and planning, and having bad open issues is therefore directly harmful to maintainers, reporters and users.

Closing a bad but ultimately real issue will just make way for a possibly good report to take it's place (i.e. a new reporter rather an old unresponsive one) so it only provides benefit.

Re:Use native context menus on Mac OS by MrOxiMoron on Tuesday May 25, 2021 @04:07AM (#27274200)
not searching closed issues is always bad, things that are fixed in a newer version or after long discussion are closed as won't fix won't be found either
Re:Use native context menus on Mac OS by agilob on Tuesday May 25, 2021 @12:23PM (#27278822)
This is even worse, competitive projects are compared to each other based on number of OPEN issues, making the project that ignores "stale bugs" look better than project that keeps bug until actually solved. I've seen this thinking twice in action, a teach leads decided to use react native over flutter, because RN had fewer issues
Re:Use native context menus on Mac OS by johnchristopher on Tuesday May 25, 2021 @09:42AM (#27276636)
As a bug reporter I take it very personally when it happens to me.

When I try to debug a problem and I see it has already been reported and closed due to inactivity (that is :not fixed. Not tagged won't fix) I give up, I won't fight the machine.

Re:Use native context menus on Mac OS by zaphirplane on Tuesday May 25, 2021 @07:35AM (#27275578)
I disagree for bugs in volunteer open source because it requires someone to triage it and recreate the bug cross versions. Vlc version x.y.z on Ubuntu version a.b.c cross versions of vlc and Ubuntu is it still valid

The process of closing it means pushes that work back on the users obviously this requires the coders to keep an eye on the bugs and assess their importance

Having 8000 bugs cross 10 years with ancient versions helps no one

FWIW In this case it’s a feature request

Re:Use native context menus on Mac OS by CRConrad on Friday May 28, 2021 @09:40AM (#27315187)
> Vlc version x.y.z on Ubuntu version a.b.c cross versions of vlc and Ubuntu is it still valid

This sentence missing lot grammar.

So much so that I really can't even see which direction of the argument it's arguing for or against.

Re:Use native context menus on Mac OS by fn1 on Tuesday May 25, 2021 @05:39AM (#27274803)
This came up in the javascript-world.
Re:Use native context menus on Mac OS by xattt on Tuesday May 25, 2021 @09:11AM (#27276352)
It helps people gain a sense of productivity when a lot of yak shaving place.