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?
QtWS25 Last Chance

What is going with this spam detection here?

Scheduled Pinned Locked Moved Solved Qt.io webservices
spam
21 Posts 7 Posters 8.0k Views
  • 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.
  • M mrjj
    11 Mar 2016, 14:15

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

    J Offline
    J Offline
    Jakob
    wrote on 11 Mar 2016, 14:54 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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 11 Mar 2016, 15:08 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 11 Mar 2016, 15:14
      0
      • M mrjj
        11 Mar 2016, 15:08

        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 11 Mar 2016, 15:14 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
        • M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 11 Mar 2016, 15:15 last edited by
          #6

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 11 Mar 2016, 22:19 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 14 Mar 2016, 12:04
            0
            • M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 12 Mar 2016, 07:29 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)

              K 1 Reply Last reply 12 Mar 2016, 09:49
              0
              • M mrjj
                12 Mar 2016, 07:29

                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)

                K Offline
                K Offline
                kshegunov
                Moderators
                wrote on 12 Mar 2016, 09:49 last edited by kshegunov 3 Dec 2016, 09:51
                #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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 12 Mar 2016, 21:09 last edited by SGaist 3 Dec 2016, 21:10
                  #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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 12 Mar 2016, 21:15 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

                    K J 2 Replies Last reply 13 Mar 2016, 00:49
                    1
                    • S SGaist
                      12 Mar 2016, 21:15

                      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.

                      K Offline
                      K Offline
                      kshegunov
                      Moderators
                      wrote on 13 Mar 2016, 00:49 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
                      • S SGaist
                        12 Mar 2016, 21:15

                        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 14 Mar 2016, 12:03 last edited by
                        #13

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

                        1 Reply Last reply
                        0
                        • S SGaist
                          11 Mar 2016, 22:19

                          Hi,

                          Do you have small example that reproduces this ?

                          J Offline
                          J Offline
                          Jakob
                          wrote on 14 Mar 2016, 12:04 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
                            11 Mar 2016, 13:51

                            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 14 Mar 2016, 12:17 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
                            • M Offline
                              M Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on 14 Mar 2016, 12:25 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 4 Apr 2016, 00:24 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 4 Apr 2016, 06:04
                                0
                                • JKSHJ JKSH
                                  4 Apr 2016, 00:24

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

                                  tekojoT Offline
                                  tekojoT Offline
                                  tekojo
                                  wrote on 4 Apr 2016, 06:04 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 4 Apr 2016, 06:08 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 14 Jun 2016, 09:44 last edited by mariakatosvich 9 Aug 2020, 13:32
                                      #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
                                      • S Offline
                                        S Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on 14 Jun 2016, 20:01 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