Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. What is going with this spam detection here?
Forum Updated to NodeBB v4.3 + New Features

What is going with this spam detection here?

Scheduled Pinned Locked Moved Solved Qt.io webservices
spam
21 Posts 7 Posters 8.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrjjM mrjj

    if u add code and it looks a certain way, its considered spam :)

    J Offline
    J Offline
    Jakob
    wrote on last edited by
    #3

    @mrjj So what does 'a certain way' mean - can I find the rules somewhere, such that I can format the snippet differently?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Hi
      Not seen any info about it.
      I just have tried myself being told it was spam when trying to post code. :)

      J 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        Not seen any info about it.
        I just have tried myself being told it was spam when trying to post code. :)

        J Offline
        J Offline
        Jakob
        wrote on last edited by
        #5

        @mrjj Oke, a bit unfortunate that no more info is available, but fortunately there are code-paste bins all over the Internet!

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #6

          yeah its not mega show stopper
          but kinda surprising when it happens.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #7

            Hi,

            Do you have small example that reproduces this ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            J 1 Reply Last reply
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #8

              i forgot what it was. Been a while since last time.
              @kshegunov help at one point, maybe he can remember
              as he found what part of code that triggered the spam checker.
              ( I asked him on chat)

              kshegunovK 1 Reply Last reply
              0
              • mrjjM mrjj

                i forgot what it was. Been a while since last time.
                @kshegunov help at one point, maybe he can remember
                as he found what part of code that triggered the spam checker.
                ( I asked him on chat)

                kshegunovK Offline
                kshegunovK Offline
                kshegunov
                Moderators
                wrote on last edited by kshegunov
                #9

                @mrjj
                It was Wieland's code and this triggered the spam filter (editing is not checked, so that's a workaround):

                #include <QDebug>
                #include <QQuickItem>
                #include <QQmlContext>
                

                Read and abide by the Qt Code of Conduct

                1 Reply Last reply
                1
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by SGaist
                  #10

                  So writing includes ?

                  #include <QDebug>
                  #include <QObject>
                  #include <QWidger>
                  

                  Makes it trigger ?
                  [edit: Fixed code after testing SGaist]

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    Ok after a quick test, the includes themselves are innocent. It's the < > signs that triggers the detection. I think they might detected as html tags. A simple fix for that is to tell markdown that you are writing C++. Simply add c++ after the three ` when you write a code block and you're good to go.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    kshegunovK J 2 Replies Last reply
                    1
                    • SGaistS SGaist

                      Ok after a quick test, the includes themselves are innocent. It's the < > signs that triggers the detection. I think they might detected as html tags. A simple fix for that is to tell markdown that you are writing C++. Simply add c++ after the three ` when you write a code block and you're good to go.

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by
                      #12

                      @SGaist

                      It's the < > signs that triggers the detection. I think they might detected as html tags.

                      Not all headers trigger the anti-spam plugin. In my investigation from the 10-15 includes only this block appeared to be troublesome. If I had to guess, the combination of <, > and the words debug or object are the prime culprit.

                      Kind regards.

                      Read and abide by the Qt Code of Conduct

                      1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Ok after a quick test, the includes themselves are innocent. It's the < > signs that triggers the detection. I think they might detected as html tags. A simple fix for that is to tell markdown that you are writing C++. Simply add c++ after the three ` when you write a code block and you're good to go.

                        J Offline
                        J Offline
                        Jakob
                        wrote on last edited by
                        #13

                        @SGaist Hm, I tried that - didn't help

                        1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Hi,

                          Do you have small example that reproduces this ?

                          J Offline
                          J Offline
                          Jakob
                          wrote on last edited by
                          #14

                          @SGaist It is the exact code snippet that is now in the ubuntu paste bin, for which I posted the link.

                          1 Reply Last reply
                          0
                          • J Jakob

                            I'm trying to ask a question about a crash I'm seeing with a very small code snippet, but somehow the question is blocked, without any explanation as to why.

                            Why? Why?

                            J Offline
                            J Offline
                            Jakob
                            wrote on last edited by Jakob
                            #15

                            I adjusted the title a bit, now that I'm not so frustrated anymore. But in conclusion:

                            Number 1: I think it is a very good idea to have some protection on a forum like this.

                            However: introducing such a thing, without letting any user of the forum know, apparently without even some of the moderators(!!!!) knowing exactly about the details, to me, is a very, very bad idea. To the user it feels they are not taken seriously, and the maintainers of the forum just do whatever they like. That is a very, very uncomforting feeling to get from a forum in the 'Qt-world', where usually a high standard of professionalism is the standard.

                            1 Reply Last reply
                            0
                            • mrjjM Offline
                              mrjjM Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on last edited by
                              #16

                              Hi
                              well considering I have posted around 2000 posts and been
                              hit 2 times, its not overly aggressive if u ask me :)

                              Also its VERY normal not to tell/make public available how to cheat a filter as it
                              then stops working very fast.

                              Also, it has been here all along. At least since I started. My first "SPAM" was
                              like in my first week.

                              But I agree. I would be nice to know WHY it triggers on pretty normal code.

                              1 Reply Last reply
                              0
                              • JKSHJ Offline
                                JKSHJ Offline
                                JKSH
                                Moderators
                                wrote on last edited by
                                #17

                                Pinging @tekojo -- the false positives with code snippets are still happening :(

                                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                tekojoT 1 Reply Last reply
                                0
                                • JKSHJ JKSH

                                  Pinging @tekojo -- the false positives with code snippets are still happening :(

                                  tekojoT Offline
                                  tekojoT Offline
                                  tekojo
                                  wrote on last edited by
                                  #18

                                  @JKSH
                                  Hmm, I thought it was fixed.
                                  Should be ok now.

                                  1 Reply Last reply
                                  0
                                  • tekojoT Offline
                                    tekojoT Offline
                                    tekojo
                                    wrote on last edited by
                                    #19

                                    As for why it hits code snippets... I'm not completely sure. My feeling is that it mistakes them for some sort of scripting attack.

                                    To be honest the main type of spam we have had, has mostly been chinese false educational spam and weird korean stuff.

                                    1 Reply Last reply
                                    0
                                    • mariakatosvichM Offline
                                      mariakatosvichM Offline
                                      mariakatosvich
                                      wrote on last edited by mariakatosvich
                                      #20

                                      I find the rules somewhere, such that I can format the snippet differently?I just have tried myself being told it was spam when trying to post code.
                                      Thanks
                                      My Expertise - setup nfs server Kubernetes

                                      "A pen in the hand of this president is far more dangerous than a gun in the hands of 200 million law-abiding citizens."

                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #21

                                        Hi,

                                        I usually append c++ after the opening three back ticks when writing C++ code.

                                        Interested in AI ? www.idiap.ch
                                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply
                                        0

                                        • Login

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Users
                                        • Groups
                                        • Search
                                        • Get Qt Extensions
                                        • Unsolved