3 ms·
Thanks. (I'd upvote you but for some reason votes don't stick, on comments and stories: When I reload the page, the arrows return, as if I hadn't voted. flag/v
by wolverine876 5y ago
Thanks.
(I'd upvote you but for some reason votes don't stick, on comments and stories: When I reload the page, the arrows return, as if I hadn't voted. flag/vouch behaves normally. Perhaps a mod will read this.)
- dredmorbius 5y agoVotes typically take a few seconds to resolve, possibly longer under load. HN's JS indicates them immediately when you're on the page. Check your profile's upvoted comments / posts link (https://news.ycombinator.com/upvoted?id=wolverine876&comments=t https://news.ycombinator.com/upvoted?id=wolverine876&comment... -- that's private for you only) to see if your upvotes have been registered. If not, drop a line to hn@ycombinator.com as I suspect they'll be interested.
- wolverine876 5y agoThank you. No upvotes in 2 days via that link and I'm not that stingy! I upvoted your comment just before I wrote this.
- dredmorbius 5y agoI'm confirming either no upvotes (or at least balanced ones) on my GP comment above.
- dang 5y agoWhat browser are you using? We changed hn.js a few days ago to use the Fetch API - I wonder if this is related.
- wolverine876 5y agoIt's probably not a configuration you test against (and almost certainly not worth testing against), both an unusual and an old browser used for compatibility with something else. Tor Browser 8.5.5 - built on Firefox 60.9.0 ESR NoScript 11.2.11 - ycombinator.com is 'trusted', which has always been sufficient for voting to work So I'm not filing a bug report, so to speak, but if it helps you track down something useful: * It happened once before, I think sometime in 2020 (sorry I don't recall more precisely), and it likely would have been in the same browser. I forget what fixed it but it went away eventually. Possibly it was just restarting the browser, which I can try if that will help (but that will lose the current state, of course, and Tor Browser deletes a lot of the current state on a restart; it may create a new profile). * The top comment on my upvote page is this one from 2 days ago: https://news.ycombinator.com/item?id=29062312 https://news.ycombinator.com/item?id=29062312 * I don't know the precise times of my comments, of course, but if you see I was commenting then I was very likely voting (though my voting slowed a bit in the last day or two when I noticed they weren't registering). * I just upvoted your comment at 22:44:07 UTC
- dang 5y agoI think the problem is that our JS now does this: fetch(url); where it used to do this: new Image().src = url; ... and that seems to breaking a few edge cases of older browsers. Can you try collapsing a comment somewhere and then refreshing the page to see if it stays collapsed? If it doesn't stay collapsed, that's another sign that fetch() calls aren't making it to the server.
- wolverine876 5y ago> Can you try collapsing a comment somewhere and then refreshing the page to see if it stays collapsed? I tried a few times on a couple pages, and they don't stay collapsed after refresh. EDIT: Using another browser on this computer, I just logged into HN, and upvotes and collapsed threads seem to stick. I upvoted your comment (i.e., the parent to this one I'm writing) at 00:27:49 UTC. This browser (another old and unusual one, but much more recent): Brave Version 1.25.72 - built on: Chromium: 91.0.4472.101
- dang 5y agoIt looks like you managed to upvote https://news.ycombinator.com/item?id=29101929 https://news.ycombinator.com/item?id=29101929 - did you do anything different to get that to work? e.g. different browser or turn JS off?
- wolverine876 5y agoYes, different browser. See my edit in the GP (which seems to have crossed on the wire with your comment).
- dang 5y agoI reverted the change for voting and collapsing. Does it work now?
- 5y ago