Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Farook Al-Sammarraie
    @The-EDev
    regardless, coverage is being reported and all seems fine
    Farook Al-Sammarraie
    @The-EDev
    So some time back I got a notification on the base repo about an issue called "let's work together bla bla" and the first thing in my head was "is ipkn finally back!??". but it was a random dude with some library called raven, which in no way even close to crow, oh well XD
    Igor Mróz
    @mrozigor
    I've seen it - there is no code at all, is there? Or I've searched in wrong place on his repo? ;)
    Farook Al-Sammarraie
    @The-EDev
    nope, absolutely no code, just license files and images
    grober82
    @grober82
    maybe ipkn is in prison or dead
    Farook Al-Sammarraie
    @The-EDev
    That's a little dark...
    His twitter is rather active (when I checked it last year), so my guess would be that he just has too many responsibilities to care for github or Crow
    grober82
    @grober82
    oh right, his twitter is alive
    Farook Al-Sammarraie
    @The-EDev
    Update on Catchall, it works, need to combine the example with the others then create a test and finally add documentation
    Farook Al-Sammarraie
    @The-EDev
    image.png
    Unit test done :)
    Farook Al-Sammarraie
    @The-EDev
    Just fixed a problem with mustache coverage, also probably helped me figure out another problem with coveralls reporting
    Also forking cpp-coveralls is looking more and more appealing
    after all it's in a situation similar to crow, and is being used by crow.. so why not!
    Igor Mróz
    @mrozigor
    :D
    Farook Al-Sammarraie
    @The-EDev
    Working on a C++ version of my REST API called Forest, already found a way to improve crow's JSON library and make it more accessible
    Farook Al-Sammarraie
    @The-EDev
    it's at https://gitlab.com/The-EDev/forestpp for those interested
    currently supports user creation, login (no logout yet), and uploading / downloading files
    Igor Mróz
    @mrozigor
    nice job, +1
    Farook Al-Sammarraie
    @The-EDev
    2 new areas of change that I'll probably implement in crow once forest is finished, crow::json::rvalue (specifically converting their items to std::string), and query_string (specifically adding a pop function alongside get)
    Farook Al-Sammarraie
    @The-EDev
    If anyone has any suggestion, something they think would be useful to add to any part of crow.. please either open an issue or let me know here, I'm still working on Forest and already have many more changes to json wvalue and query_string than the above message
    Farook Al-Sammarraie
    @The-EDev
    I think i'm done making Forest for the most part
    Here's a list of the crow upgrades (just so I don't forget to implement them in crow properXD)
    Farook Al-Sammarraie
    @The-EDev
    • Added pop() method to query_string, same as get(), but removes the item from the querystring
    • Added std::string() operator to json::rvalue (allows std::string(json["abc"]), which returns any value that isn't a container to string)
    • Added lo() method to json::rvalue, returns a vector of json::rvalue containing whatever a json object or list has (difference being a list has no keys)
    • Added keys() method to json::rvalue, returns a vector of std::string containing the keys of a json object
    • Made json::wvalue use either std::map or std::unordered_map instead of just std::unordered_map
    • Added copy constructor to json::wvalue
    • Added size() method to json::wvalue, returns 1 or the size of the json list.
    I need to iron out some things + make some docs, and then I'll make a PR to crow
    Farook Al-Sammarraie
    @The-EDev
    • Added constructor to create json::wvalue from std::vector
    Farook Al-Sammarraie
    @The-EDev
    Added keys() method to query_string
    Farook Al-Sammarraie
    @The-EDev
    okay, Everything is implemented and documented. Just need to write some unit tests and run them then I should be able to open a PR
    thinking-tower
    @TowerThinking_twitter
    @mrozigor @The-EDev With respect to CrowCpp/crow#108, what's your thoughts on recommending vcpkg (https://github.com/microsoft/vcpkg) for the Windows Platform?
    Farook Al-Sammarraie
    @The-EDev
    @TowerThinking_twitter Honestly, I have not developed anything on windows since 2018. So I don't exactly have any opinion in that regard.. I have attempted to get crow working with Visual Studio, but didn't fully commit to it.
    Like I said in the issue, if you can help, either through instructions or adding crow to vcpkg (even if it's just pointers on how I or someone else can do it). I would be absolutely thankful. The original author of the issue has not been active since February (don't get me wrong, I don't blame him/her). but consider that issue open for anyone to help out with.
    thinking-tower
    @TowerThinking_twitter
    @The-EDev Oh I meant with respect to compiling a simple main.cpp file using crow in Visual Studio. There are issues with installing Boost + ZLib in Windows (not impossible, just annoying) so I was wondering if it'd be appropriate to suggest Microsoft's package manager here.
    I'm happy to help!
    Farook Al-Sammarraie
    @The-EDev
    I'm happy with any help getting Crow on windows, whether it's through VS or a package manager. if you can open a PR adding support to either, or an issue with instructions on how it can be done. I would be beyond thankful.
    Farook Al-Sammarraie
    @The-EDev
    Okay, Forestpp is now complete, turning my head towards v0.3 now
    thinking-tower
    @TowerThinking_twitter
    @The-EDev is there a particular version of Visual Studio you want to support?
    Farook Al-Sammarraie
    @The-EDev
    @TowerThinking_twitter whichever one is most used and supports C++14
    thinking-tower
    @TowerThinking_twitter
    @The-EDev Awesome I think I got the example_with_all.cpp working!
    I'll see if I can avoid using vcpkg before I make a PR
    Ayaan Khan
    @ayaankhan98
    Hey can anyone of you please provide a bit of explanation of this to me CrowCpp/crow#36
    Ayaan Khan
    @ayaankhan98
    Does crow offers file support?
    Igor Mróz
    @mrozigor
    Regarding CrowCpp/crow#36 - there is possibility to provide lambda (functions) to template, to process data in different way than normal. Feel free to read more at https://github.com/mustache/spec/blob/master/specs/~lambdas.yml
    Ayaan Khan
    @ayaankhan98

    Regarding CrowCpp/crow#36 - there is possibility to provide lambda (functions) to template, to process data in different way than normal. Feel free to read more at https://github.com/mustache/spec/blob/master/specs/~lambdas.yml

    :+1:

    Farook Al-Sammarraie
    @The-EDev

    Does crow offers file support?

    I just noticed this.. What exactly do you mean by file support?
    If you mean static file uploading to crow, then yes, your client just has to do it.
    If you mean static file downloading from crow, then also yes.
    If you mean HTML file rendering, also yes.
    If you're talking about using a json file with mustache, then it's already been done in the mustache tests.
    If you mean outputting the CROW_LOG_X to a file.. not yet, but shouldn't be hard to implement since it just outputs to std::cerr
    I'm really not sure what you mean by file support

    To put into perspective the size of v0.3, v0.2 was 20 PRs ahead of the base repo. v0.3 is 48 PRs ahead of v0.2 :D
    Farook Al-Sammarraie
    @The-EDev
    v0.3 changelog is ready, just waiting on @mrozigor to approve #142 and I'll make the 0.3 branch
    Farook Al-Sammarraie
    @The-EDev
    Good morning everyone. It is definitely good for Crow. v0.3 just released!!
    thinking-tower
    @TowerThinking_twitter
    Awesome!
    Farook Al-Sammarraie
    @The-EDev
    image.png
    ummm, is that a glitch? or do we actually have 1400+ downloads??
    thinking-tower
    @TowerThinking_twitter
    we got the MSVC crowd coming in now :laughing: