• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2024

help-circle





  • Flipper@feddit.orgtoLinux@programming.dev*Permanently Deleted*
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 months ago

    Curl has a limited buffer and bash reads a line and then executes it, before reading the next line.

    So first you need a command that takes time if executed. So a delay, downloading a big file, user input work. Next you fill up the buffer. Just your normal script. Maybe some comments etc.

    Now the server can detect if after the first kB the stream stops.











  • I got something better for you.

    namespace 🔵 = std;
    using 🔢 = int;
    using 💀 = void;
    using 🕖 = time_t;
    using 👌 = bool;
    #define 👂 auto
    #define 🎌 enum
    #define 👎 false
    #define 👍 true
    #define 👹 "evil"
    #define 💪 🔵::make_shared
    #define 🍸 virtual
    #define 🖥️ 🔵::cout
    #define 🔫 🔵::endl
    template<class 🔮>
    using 📚 = 🔵::vector<🔮>;
    template<class 🔮>
    using 👇 = 🔵::shared_ptr<🔮>;
    
    🎌 🐒 { 🐵, 🙈, 🙉, 🙊 };
    🔢 🎲() { return 🔵::rand(); }
    👌 😎() { return 👎; }
    
    struct 🍴 { 🍸 💀 👀() = 0; };
    struct 🍊 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍊" << 🔫; }; };
    struct 🍉 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍉" << 🔫; }; };
    struct 🍒 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍉" << 🔫; }; };
    struct 🍓 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍓" << 🔫; }; };
    struct 🍍 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍍" << 🔫; }; };
    struct 🍅 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍅" << 🔫; }; };
    
    🔢 main()
    {
        if(😎() == 👎)
            🖥️ << "💩" << 🔫;
    
        📚<👇<🍴>> 🍛 = { 💪<🍊>(), 💪<🍉>(), 💪<🍒>(), 💪<🍍>(), 💪<🍅>() };
     
        for (👂 🍏 : 🍛)
            🍏->👀();
    
        return 🎲();
    }
    



  • I want to disagree on German. It isn’t verbose. We’ve got several words where there isn’t an equivalent in pretty much any other languages. Including Schadenfreude und Torschlusspanik (the feeling that you are getting older l, can’t find a partner and will die alone).

    The same EU legal text has in German 22.118 words Vs English 24.698.

    The making me cry part, that’s fair. Overcomplicated, could be worse.