Announcement

Collapse
No announcement yet.

Maybe it will be good for a while ...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Maybe it will be good for a while ...

    I was curious about the NZ shooting and wanted to read the shooter's "manifesto" and perhaps watch the video.
    Unsuprisingly, TPTB decided that I wasn't politically correct enough to merit access to that information and began purging the Internet of all copies, or even fragments, of that media.

    I found them in a dark corner of the web anyway and watched the video and read the manifesto. The video wasn't any different from the videos showing the murders of the French, English, or the massacre of almost 150 Nigerian Christians last week by Muslim extremists. The manifesto was similar to that of the MIT bomber a decade ago. IMO, filled with nonsense from across the political spectrum.

    A programmer in NL noticed that his posts on various subjects were being removed as fast as he could post them if they contained certain words or phrases, so he wrote a short program to transform the text into something which wouldn't trigger censorship but could easily be read. I don't know how long this technique will continue to work but here is his code:

    Code:
    // app to transform text into script which does not use english langage characters but 
    // is easy to read.
    // this is to tharwt forum censorship which triggers on certian words for phrases.
    //  g++ -Wall -o transformtext transformtext.cpp
    //
    //  To use execute the command and when you are finished typing press Crtl+D
    //  Copy and past the transformed text into the forum text box.
    //  The code was here : http://markwiering.nl/newzealandshooting.html
    //  but the powers that be think they have the right to control what you see and what 
    //  you can post.
    //
    #include <iostream>
    #include <string>
    //#include "vector.h"
    //#include "splitter.h"
    using namespace std;
    
    typedef unsigned short int kint;
    
    // Ѐ Ё Ђ Ѓ Є Ѕ І Ї Ј Љ Њ Ћ Ќ Ѝ Ў Џ А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь 
    //Э Ю Я а б в г д е ж з и й к л м н о п р с т у ф х ц ч ш щ ъ ы ь э ю я ѐ ё ђ ѓ є ѕ і ї ј љ њ ћ ќ 
    //ѝ ў џ Ѡ ѡ Ѣ ѣ Ѥ ѥ Ѧ ѧ Ѩ ѩ Ѫ ѫ Ѭ ѭ Ѯ ѯ Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ Ѹ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ 
    
    
    string Transformtext(const string &text)
    {
        string code = "";
        
        for(kint i = 0; i < text.size(); i++)
        {
            if(text[i] == 'a') { code += "а"; }
            else if(text[i] == 'b') { code += "ъ"; }
            else if(text[i] == 'c') { code += "с"; }
            else if(text[i] == 'd') { code += "ȡ"; }
            else if(text[i] == 'e') { code += "е"; }
            else if(text[i] == 'f') { code += "ϝ"; } //⨍ of ϝ
            else if(text[i] == 'g') { code += "ɡ"; } // ǥ ɠ ɡ
            else if(text[i] == 'h') { code += "н"; }
            else if(text[i] == 'i') { code += "і"; }
            else if(text[i] == 'j') { code += "ј"; }
            else if(text[i] == 'k') { code += "к"; }
            else if(text[i] == 'l') { code += "ɭ"; } //ι ౹ ɭ
            else if(text[i] == 'm') { code += "м"; }
            else if(text[i] == 'n') { code += "ŋ"; }
            else if(text[i] == 'o') { code += "о"; }
            else if(text[i] == 'p') { code += "р"; }
            else if(text[i] == 'q') { code += "ƣ"; } // moet beter
            else if(text[i] == 'r') { code += "ɼ"; } // ɼ
            else if(text[i] == 's') { code += "ѕ"; }
            else if(text[i] == 't') { code += "т"; }
            else if(text[i] == 'u') { code += "☋"; }
            else if(text[i] == 'v') { code += "ν"; } // ν of ѵ
            else if(text[i] == 'w') { code += "ພ"; } // ພ of ѡ
            else if(text[i] == 'x') { code += "х"; }
            else if(text[i] == 'y') { code += "у"; }
            else if(text[i] == 'z') { code += "ζ"; }
            
            else if(text[i] == 'A') { code += "А"; }
            else if(text[i] == 'B') { code += "В"; }
            else if(text[i] == 'C') { code += "С"; }
            else if(text[i] == 'D') { code += "Ꭰ"; }
            else if(text[i] == 'E') { code += "Е"; }
            else if(text[i] == 'F') { code += "Ϝ"; }
            else if(text[i] == 'G') { code += "₲"; }
            else if(text[i] == 'H') { code += "Н"; }
            else if(text[i] == 'I') { code += "І"; }
            else if(text[i] == 'J') { code += "Ј"; }
            else if(text[i] == 'K') { code += "К"; }
            else if(text[i] == 'L') { code += "Ꮮ"; }
            else if(text[i] == 'M') { code += "М"; }
            else if(text[i] == 'N') { code += "ℕ"; }
            else if(text[i] == 'O') { code += "О"; }
            else if(text[i] == 'P') { code += "Р"; }
            else if(text[i] == 'Q') { code += "Ǫ"; }
            else if(text[i] == 'R') { code += "ℝ"; } // ℝⱤᎡ
            else if(text[i] == 'S') { code += "Ѕ"; }
            else if(text[i] == 'T') { code += "Т"; }
            else if(text[i] == 'U') { code += "Ʊ"; } // ⋃ ℧ 
            else if(text[i] == 'V') { code += "ⴸ"; }
            else if(text[i] == 'W') { code += "Ѡ"; }
            else if(text[i] == 'X') { code += "Х"; }
            else if(text[i] == 'Y') { code += "У"; }
            else if(text[i] == 'Z') { code += "Ζ"; }
            else { code += text[i]; }
        }
        
        return code;
    }
    
    int main(int argc, char* argv[])
    {
        string invoer = "";
        while(!cin.eof())
        {
            getline(cin, invoer);
            cout << Transformtext(invoer) << endl;
        }
        
        return 0;
    }
    ** now back into retirement ...
    Last edited by GreyGeek; Mar 17, 2019, 08:36 PM.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    #2
    Sad commentary on where we are today...
    Good to hear from you greygeek!
    Kubuntu 24.11 64bit under Kernel 6.11.7, Hp Pavilion, 6MB ram. Stay away from all things Google...

    Comment


      #3
      good to read a post from you GG!
      woody

      Comment


        #4
        Great to see you on here GG
        Dave Kubuntu 20.04 Registered Linux User #462608

        Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

        Comment

        Working...
        X