Bitcoin Forum

Other => Meta => Topic started by: 7788bitcoin on November 26, 2019, 01:09:17 PM



Title: @Admin there is a glitch in the merit system if you refresh the page
Post by: 7788bitcoin on November 26, 2019, 01:09:17 PM
It looks like there is a glitch when you give out merits and then if you refresh the page the same amount of merit is going out without doing any manual entry. I was giving out merit to some users and eaLiTy was the last user i gave the merit and i went out to have a smoke and on returning i just refreshed the page and another set of merits is gone to the last merited user. I am not sure whether this is reported earlier as i searched and could not find anything relating that.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: Steamtyme on November 26, 2019, 01:11:31 PM
This was a known issue. I believe the fix was that you couldn't send the same merit transaction immediately through a timeout period. Going out for  a smoke would put you past that I'm sure. I can't think of where this was posted, but it used to happen frequently.

Edit: Here is a post (https://bitcointalk.org/index.php?topic=5090492.msg48939584#msg48939584) it's 60 seconds that the timeout prevents a double send.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: 7788bitcoin on November 26, 2019, 01:20:13 PM
This was a known issue. I believe the fix was that you couldn't send the same merit transaction immediately through a timeout period. Going out for  a smoke would put you past that I'm sure. I can't think of where this was posted, but it used to happen frequently.
A short time out period wont help either, there must a much longer holding period for merit to be released for the same thread post, yeah more 45 minutes and hence i was refreshing the page and the same amount of merit is gone  :o, i have searched the forum but could not find anything regarding this.
 


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: DdmrDdmr on November 26, 2019, 02:05:51 PM

<…>
I figure you mean post (not thread). The cool down time is set at 1 minute as indicated by @ Steamtyme, and it seems fine to avoid the most recurring case of refreshing the page after remeriting. Making the cool down remeriting interval any longer may work against real intent to remerit, even in a larger proportion to accidently remeriting after refreshing a page.

A few days ago I had the opposite issue: I merited @masulum with a quantity less that I has intended, and had to wait out the minute to sent the remaining sMerits I intended to send. Determining error from intent on a larger time interval seems an impossible mission, unless you are queried (i.e. popup) on whether you really want to remerit the post.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: DireWolfM14 on November 26, 2019, 02:13:54 PM
I remember when the issue was brought up before, but I must say I've never had it affect me.  I guess I've never been tempted to refresh the merit page for whatever reason.  When the issue came up last time I thought that maybe theymos could add a script to close the tab right after hitting the send the button.  I don't know how difficult that would be to implement, just a suggestion.


It looks like there is a glitch when you give out merits and then if you refresh the page the same amount of merit is going out without doing any manual entry. I was giving out merit to some users and eaLiTy was the last user i gave the merit and i went out to have a smoke and on returning i just refreshed the page and another set of merits is gone to the last merited user. I am not sure whether this is reported earlier as i searched and could not find anything relating that.

Surgeon General Warning: Smoking is dangerous to your health and could lead to a reduction in sMerit.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: hosseinimr93 on November 26, 2019, 02:41:55 PM
I remember when the issue was brought up before, but I must say I've never had it affect me.  I guess I've never been tempted to refresh the merit page for whatever reason.  When the issue came up last time I thought that maybe theymos could add a script to close the tab right after hitting the send the button.  I don't know how difficult that would be to implement, just a suggestion.
I don't think the implemention of your suggestion is difficult. Because now there is a same thing in "report to moderator" page. After you click on "report" button, you navigate to the board containing the reported post.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: tbct_mt2 on November 26, 2019, 04:07:39 PM
I remember when the issue was brought up before, but I must say I've never had it affect me.  I guess I've never been tempted to refresh the merit page for whatever reason.  When the issue came up last time I thought that maybe theymos could add a script to close the tab right after hitting the send the button.  I don't know how difficult that would be to implement, just a suggestion.
Closing merit tab manually is what I always do and I guess most of the others do it too.
They only refresh their merit tab if there are connection problems with their Internet, that are rarely happen.

Moreover, it seems nothing serious if a good post deserves merit receives one or two merits. It deserves merits. I know meriters likely feel regret a bit will missent merits but there is nothing bad because merits come and go. If both meriters and receivers are good posters, merits will do find them again.

Is it helpful (lots of versions)?
Enhanced merit UI [1.1] (https://bitcointalk.org/index.php?topic=2833350.0)


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: The Sceptical Chymist on November 26, 2019, 04:18:33 PM
This was a known issue.
Oh yeah, it's been known probably since right after the merit system was implemented--I fell victim to the glitch early in 2018 if I'm not mistaken and learned to be careful about accidentally refreshing that page after merit has been sent.  I thought Theymos had somehow fixed it, but apparently not even if there's a timeout period.

It's not a big deal except if you don't have a lot of sMerits, and then it could be a really big deal.  Plus you don't want the merit-watchers to think you're doing something shady, either--if there are members still watching people's merit giving habits, which I'm not certain about.

Sorry for your sMerit loss, OP (lol).  Just be careful next time.

Closing merit tab manually is what I always do and I guess most of the others do it too.
Yeah, that's exactly what I do and have always done.  That one mistake I made, I don't know how it happened.  I'm not sure why I would have reloaded that page but I did.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: 7788bitcoin on November 27, 2019, 01:49:24 PM
I figure you mean post (not thread). .
Yeah i meant post and not thread, my bad  :).

Determining error from intent on a larger time interval seems an impossible mission, unless you are queried (i.e. popup) on whether you really want to remerit the post.
A pop up message would be fine, but how can that be sorted in the code when the issue happens when you refresh the page.

Surgeon General Warning: Smoking is dangerous to your health and could lead to a reduction in sMerit.
Either you die with pollution or die smoking  :D. The end result is same for everyone  :-*.


Sorry for your sMerit loss, OP (lol).  Just be careful next time.
This is the only solution right now lol, to be careful and close the window after meriting :D .

They only refresh their merit tab if there are connection problems with their Internet, that are rarely happen.
My connection is great, but it is a habit i have for a long time to refresh when i take a break.


Title: Re: @Admin there is a glitch in the merit system if you refresh the page
Post by: Vod on November 28, 2019, 02:29:06 AM
It looks like there is a glitch when you give out merits and then if you refresh the page the same amount of merit is going out without doing any manual entry.

That is not a glitch - that is the way the STATELESS web works. 

I always close the merit window as soon as I send them.