Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Luca Schlecker
    @luca-schlecker
    Where did you get your depentencies from? (Boost)
    legendaryzyper
    @legendaryzyper
    vcpkg
    Luca Schlecker
    @luca-schlecker
    I ran into the problem that I had to manually upgrade my Boost installation from 1.75 to the latest.
    That's probably where your problem is coming from.
    So everything should work out for you if you upgrade boost. πŸ‘
    legendaryzyper
    @legendaryzyper
    ok let me try
    wait a minute...
    now its working
    what the hell
    Luca Schlecker
    @luca-schlecker
    Older Boost versions have a problem compiling with the VS2022 (at least through VCPKG).
    But I'm glad it works now. πŸŽ‰
    legendaryzyper
    @legendaryzyper
    awesome framework btw
    thumbs up to the devs
    Luca Schlecker
    @luca-schlecker
    Thanks, we're (I guess I may speak for all of us here) glad to hear it. 😊
    legendaryzyper
    @legendaryzyper
    what does mustache::set_base() do?
    Farook Al-Sammarraie
    @The-EDev
    it sets the directory where your templates will be placed in, the default directory is "templates/"
    legendaryzyper
    @legendaryzyper
    thanks
    so the "." is using the default dir right
    Farook Al-Sammarraie
    @The-EDev
    no, "./templates" is the default dir
    legendaryzyper
    @legendaryzyper
    hmm i used set_base("./my_dir") and put my htmls in "my_dir" but crow still cant find them
    Farook Al-Sammarraie
    @The-EDev
    try set_base("my_dir")
    legendaryzyper
    @legendaryzyper
    hmm still doesnt work either
    i noticed that even if i changed set_base then crow still search in "./templates"
    Farook Al-Sammarraie
    @The-EDev
    interesting
    legendaryzyper
    @legendaryzyper
    hope you look into it
    Farook Al-Sammarraie
    @The-EDev
    I am
    Farook Al-Sammarraie
    @The-EDev
    for some reason it seems that setting the base inside your route works
    I'll look into it further]
    legendaryzyper
    @legendaryzyper
    thanks
    legendaryzyper
    @legendaryzyper
    not sure but in the function handle in class DynamicRule there's a check if the template base is not "templates" then set the base to "templates" which makes it always use "templates" directory
    again im not too sure about this. maybe im missing something
    Farook Al-Sammarraie
    @The-EDev
    Github is down, might be worth creating a Gitlab mirror
    leon0402
    @leon0402:matrix.org
    [m]
    Or switching to GitLab completely :D
    Farook Al-Sammarraie
    @The-EDev
    I would like to. Unfortunately the people (and the original project) are on github, so cutting that off is nothing short of killing this project in the crib
    Luca Schlecker
    @luca-schlecker
    I in fact do have a GitLab account, but I decided to only work on GitHub... Switching to GitLab could definitely starve the Project of potential users which report issues or even contribute.
    I feel like GitHub also seems to be a bit easier on users and maybe even a bit less overwhelming than GitLab. As @The-EDev already mentioned, GitHub is where most people are at.
    Farook Al-Sammarraie
    @The-EDev
    image.png
    So this happened :)
    (I also fixed the matrix avatar problem but that's not as big a deal)
    Luca Schlecker
    @luca-schlecker
    Awesome. πŸŽ‰ Congrats. ☺️
    Farook Al-Sammarraie
    @The-EDev
    @luca-schlecker let me know if you need help with CrowCpp/Crow#258, I'm currently focusing on expanding the documentation but once that's done I think I can focus on async work. If we can squeeze Async handlers in the next release I believe I would confidently call it v1.0
    Farook Al-Sammarraie
    @The-EDev
    Taking on CrowCpp/Crow#25 once more. This time I'm going through the original repo changes since August 2014 and trying to integrate those into Crow's parser
    I don't blame the people at nodejs for dropping the parser XD
    leon0402
    @leon0402:matrix.org
    [m]
    Donβ€˜t do client support :-)
    Do one thing and do that thing good is my believe.
    We already have with cpr a very good client library
    Farook Al-Sammarraie
    @The-EDev
    @leon0402:matrix.org god no! The idea with CrowCpp/Crow#25 is that the Parser is outdated and needs improvements or replacements
    leon0402
    @leon0402:matrix.org
    [m]
    There was some discussion in the end
    Farook Al-Sammarraie
    @The-EDev
    Yes, I was setting up a plan on where to take the parser and needed to know whether there was a chance that crow could become a client
    My plan is 3 stages, the first is to get the code up to date with the latest nodejs parser (only 6 years of updates to implement, the purpose behind that is to make sure we're on solid ground before moving forward). Then strip not needed code (response parsing and client related code), and then slowly change parts to be more in tune with Nginx's parser (so we can ultimately make the change to the latter which is still maintained)
    leon0402
    @leon0402:matrix.org
    [m]
    Iβ€˜m not sure I understand though. We modify an existing library and make it our own?