Bitcoin Forum
April 23, 2024, 06:59:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 »  All
  Print  
Author Topic: [RELEASED] @mention notification bot - now with Telegram  (Read 37657 times)
bitart
Hero Member
*****
Offline Offline

Activity: 1442
Merit: 629


Vires in Numeris


View Profile
November 25, 2018, 02:29:29 PM
Merited by LoyceV (1)
 #161

Just make sure that you won't share your code... I've read in another topic that spammers/copypasters are now fishing for anti-spam anti-plagiarism methods, to upgrade their systems in order to have less accounts banned in the future...
He's not the admin so I don't understand your point, if he prefers to be open source, he's free.
Absolutely, it's his decision.
I'm just wondering if it worths the efforts to develop a system to catch the bad boys, where the bad boys can easily check how they are identified to be a bad boy or not and they can modify their system accordingly to escape the checks...
If open source, there will be no catch after the bad boys have adapted themselves, so the new system would be just unnecessary...
But bad boys would stand up for the open source system of course Smiley
1713898772
Hero Member
*
Offline Offline

Posts: 1713898772

View Profile Personal Message (Offline)

Ignore
1713898772
Reply with quote  #2

1713898772
Report to moderator
1713898772
Hero Member
*
Offline Offline

Posts: 1713898772

View Profile Personal Message (Offline)

Ignore
1713898772
Reply with quote  #2

1713898772
Report to moderator
1713898772
Hero Member
*
Offline Offline

Posts: 1713898772

View Profile Personal Message (Offline)

Ignore
1713898772
Reply with quote  #2

1713898772
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713898772
Hero Member
*
Offline Offline

Posts: 1713898772

View Profile Personal Message (Offline)

Ignore
1713898772
Reply with quote  #2

1713898772
Report to moderator
1713898772
Hero Member
*
Offline Offline

Posts: 1713898772

View Profile Personal Message (Offline)

Ignore
1713898772
Reply with quote  #2

1713898772
Report to moderator
1713898772
Hero Member
*
Offline Offline

Posts: 1713898772

View Profile Personal Message (Offline)

Ignore
1713898772
Reply with quote  #2

1713898772
Report to moderator
bitart
Hero Member
*****
Offline Offline

Activity: 1442
Merit: 629


Vires in Numeris


View Profile
December 07, 2018, 09:58:52 AM
 #162

Were there any outage last night with the bot?
I was mentioned two times last night, but only one of them is showing up in my notification thread
The two posts were I was mentioned:
Digital goods section this is missing
CLUB this was mentioned OK

asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1489


I forgot more than you will ever know.


View Profile
December 07, 2018, 10:35:12 AM
 #163

He might have made a typo and edited his post afterwards.
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 07, 2018, 10:37:41 AM
 #164

Were there any outage last night with the bot?
I was mentioned two times last night, but only one of them is showing up in my notification thread
The two posts were I was mentioned:
Digital goods section this is missing

As far as i can see from the log there have been no problem last night around that time.

There may be the chance the message was actually edited and the mention added afterwards, in that case you would not see the notification. (as asche hinted)
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18507


View Profile
December 07, 2018, 08:49:11 PM
 #165

Just signed up Piggy and received this reply:

Important: since your username contains space/s in it to receive notification you need to be called by: @oeleo

Obviously it is misinterpreting underscores as spaces. Is this something that can be fixed?
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16540


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 07, 2018, 09:11:02 PM
 #166

There may be the chance the message was actually edited and the mention added afterwards, in that case you would not see the notification. (as asche hinted)
That's not the case, bitart was mentioned in the unedited post. In case you want to troubleshoot it, I scraped this at most a few seconds after posting:
Code:
AverageGlabella
392646
48500217
<a href="https://bitcointalk.org/index.php#4">Other</a> / <a href="https://bitcointalk.org/index.php?board=24.0">Meta</a> / <b><a href="https://bitcointalk.org/index.php?topic=5080577.msg48500217#msg48500217">Re: Digital goods section</a></b>

@bitart We don&#039;t need a sub board dedicated to merit discussion. But I think it would be wise to add a account problems. But it should be limited to ban appeals, locked accounts and banned accounts. Otherwise it will be flooded with &quot;why cant I post images&quot; threads. I think if we can consolidate the above 3 things then it might improve the communication between the community and the admins.<br /><br />Maybe only allow users to post threads and reply to their own threads. But they cant reply to other peoples threads. Like a personal support ticket. Better yet keep all threads posted in there private and only viewable by staff members and the original poster.
(from top to bottom: username, userID, postID, raw HTML headers, raw HTML post without quotes)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
December 07, 2018, 09:31:41 PM
 #167

I know it's not that case here, but what will happen if someone is mentions using homographs?
I will test it here.
@Piggy
@LoyceV
The letters in red are in Cyrillic Wink

asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1489


I forgot more than you will ever know.


View Profile
December 07, 2018, 10:00:58 PM
 #168

I know it's not that case here, but what will happen if someone is mentions using homographs?

Obviously it won't work.
But what if you try signing up using these?  Cool
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
December 07, 2018, 10:16:30 PM
 #169

I know it's not that case here, but what will happen if someone is mentions using homographs?

Obviously it won't work.
But what if you try signing up using these?  Cool

After theymos fixed the homographs those characters written in other coding are converted automatically into Latin characters.
I remember now, while we were fighting the homographs with Loyce back then he found out that in the recent posts the homographs were not changed. I think this is where Piggy is gathering his database from, so the above mentions will not work.

It will be interesting to test your suggestion, tho.

LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16540


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 08, 2018, 10:47:09 AM
 #170

I remember now, while we were fighting the homographs with Loyce back then he found out that in the recent posts the homographs were not changed. I think this is where Piggy is gathering his database from, so the above mentions will not work.
Correct, this is your raw unedited post:
Code:
iasenko
1291828
48522256
<a href="https://bitcointalk.org/index.php#4">Other</a> / <a href="https://bitcointalk.org/index.php?board=24.0">Meta</a> / <b><a href="https://bitcointalk.org/index.php?topic=5023605.msg48522256#msg48522256">Re: [RELEASED] @mention notification bot - now with Telegram</a></b>

I know it&#039;s not that case here, but what will happen if someone is mentions using homographs? <br />I will test it here. <br />@&#1056;igg&#1091;<br />@L&#1086;&#1091;&#1089;&#1077;V<br />
I assume you only added the color later, otherwise @Piggy won't work anyway because it's interrupted by HTML. Unless Piggy filters that out first (let's test!).

But what if you try signing up using these?  Cool
It doesn't work. Old usernames can still have weird characters (example: #1M@), but it's no longer allowed for new registrations.
I tried the homograph too:
I tried registering "LoyceV" on this forum, but I get "Invalid character used in Username.". I'm glad this is covered.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 08, 2018, 05:13:05 PM
Merited by o_e_l_e_o (2)
 #171

@o_e_l_e_o you should be able to receive notification with your full username, there is some problem indeed but you can just disregard that message which is actually referring to the alias, which you can change.

If @bitart message was not picked up could be either because there is something particular in the message ( i need to check and see if it gets processed correctly) or simply the bot need to read more messages than i anticipated to avoid missing some.

I'll have a look on monday.  Smiley
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18507


View Profile
December 08, 2018, 08:15:23 PM
 #172

Thanks Piggy, that seems to be working now.

I tried to set my alias as oeleo. I suppose this post will serve as a test to see if that's working.

Edit: Confirmed alias is working as well. Thanks again.
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 18, 2018, 11:58:07 AM
 #173

I have made some fixes for these issues:

  • double notifications happening for the same message
  • notification messages missed (still can occur in those cases where there is a heavy traffic load on the forum / random connection timeout)
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16540


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 18, 2018, 12:49:11 PM
 #174

I have made some fixes for these issues:

  • double notifications happening for the same message
I didn't receive double notifications, until you fixed it Shocked
See here and the next post.

However, when I tested it again, I received only one notification.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 18, 2018, 01:01:55 PM
 #175

I have made some fixes for these issues:

  • double notifications happening for the same message
I didn't receive double notifications, until you fixed it Shocked
See here and the next post.

However, when I tested it again, I received only one notification.

yes, is something that apparently happen just sometimes but still happen, for some reason i don't really understand yet  Undecided

i'll have a look again and see if something comes up.
bitmover
Legendary
*
Offline Offline

Activity: 2282
Merit: 5880


bitcoindata.science


View Profile WWW
December 18, 2018, 11:05:30 PM
 #176

Piggy, I want to congralute you for making such a good service.

This could be officially incentived by bitcointalk forum.

Maybe creating a proper board for bots?  I put my notifications in the archive board, but I believe this is not an appropriate session for it.

Edit:
I didn't receive double notifications, until you fixed it Shocked

I had the same problem. Only after fixed , I received a triple notification

https://bitcointalk.org/index.php?topic=5078217.msg48746192#msg48746192

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 19, 2018, 05:21:24 AM
 #177

Thank you bitmover.

I may have figured out what the problem is, i'll release a fix for it later an see if it solves it. Otherwise i will roll back to the previous more stable version an keep looking. Smiley
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16540


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 19, 2018, 10:35:17 AM
 #178

I may have figured out what the problem is
I'm just speculating here: could it be caused by the way you handle posts from "recent"? I've been scraping that too, and on frequent downloads with slow posts it often gives the same post again. If you keep track of the latest postID, you should be able to easily prevent processing the same post twice.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 19, 2018, 10:51:06 AM
 #179

I may have figured out what the problem is
I'm just speculating here: could it be caused by the way you handle posts from "recent"? I've been scraping that too, and on frequent downloads with slow posts it often gives the same post again. If you keep track of the latest postID, you should be able to easily prevent processing the same post twice.

there was that problem as well but it was fixed with the first changes.

The problem seemed to be related with the order the latest post pages(1,2,3 ...) were downloaded. Since i was downloading them asynchronously, starting them all together, sometimes page 2 or 3 would finish before page 1, screwing up "the most recent message already read".
So at the next iteration if page 1 would finish before page 2 or 3 there would be still 10/20 messages which would get processed again, duplicating notifications.

Now it's updated.
Kriptopsina
Full Member
***
Offline Offline

Activity: 462
Merit: 145


View Profile WWW
December 22, 2018, 10:21:57 PM
 #180

Test.

Dear users, I am from the Russian part of the forum. I try to configure the bot, and also want to translate this topic for the Russian users. Please quote me or reply to me. I must understand that I did everything right and will get notification. Then I will teach others.  Smiley

3301
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!