Search results

  1. O

    Keep getting a read access violation in c++.

    Hey I keep getting a read access violation error. Here is where c++ gives the error. if (!(fromSq + 15 & 0x88) && isOpponentsPiece(fromSq + 15, colorToMove) && (pieceMailbox[fromSq + 15] == Piece::RED_PAWN || pieceMailbox[fromSq + 15] == Piece::BLUE_PAWN)) return true; Which is from this...
  2. O

    Is it feasible to code RevCMS style to be PDO?

    To get started with composer simply go to https://getcomposer.org/. Then click Download and find Download and run Composer-Setup.exe - it will install the latest composer version whenever it is executed. Then click Composer-Setup.exe. That will go through the installation process on your...
  3. O

    Is it feasible to code RevCMS style to be PDO?

    I would recommend using EasyDB by Paragonie. It makes using PDO a breeze. - https://github.com/paragonie/easydb
  4. O

    My C++ console keeps returning the same value as the last.

    #ifdef _WIN32 #include <Windows.h> #else #include <unistd.h> #endif #include <sstream> #include <iostream> #include <array> #include <vector> #include <map> int main() { std::string ttoken; std::string index; std::string token; std::string dataEn1; std::string dataEn2...
  5. O

    My C++ console keeps returning the same value as the last.

    For some reason the second command I send to my C++ console it keeps returning the same value as the last. std::string delimiter = ";;"; std::string line = ""; while (std::getline(std::cin, line)) { size_t pos = 0; while ((pos = line.find(delimiter)) != std::string::npos) {...
  6. O

    Visual Studios is saying my variable is undefined for some reason.

    Hey for some reason visual studios is saying variable score is undefined but looking at the code, I can't see why it would not be set. Here is my code below. int reduction = 1; if (moveCount == 0) { Score score = -search(position.makeMove(move), -beta, -alpha, depth - reduction, ply + 1); }...
  7. O

    ZucaCMS ~ RevCMS Edit ~ Feedback

    You must be in the dark. Here’s 5, I’ll be happy to list more. 1. Spotify (uses Symfony Framework) The music streaming service relies on Symfony to maintain more than 75 million active users. There are almost 600 thousand requests per second, according to the website, and a huge traffic that...
  8. O

    lottery remake from revcms

    Yea I noticed an error in my code, the numbers will never start with zeros so 0127 would not be generated since the min was 1000.
  9. O

    ZucaCMS ~ RevCMS Edit ~ Feedback

    I’d rather build it using standalone Symfony components. It will take more time but it will be fast. Worth it in my opinion. Laraval is not so sweet, Laravel bends over to make it as easy as possible but it’s also the slowest. Fact is easy = slow and hard = fast in programming.
  10. O

    ZucaCMS ~ RevCMS Edit ~ Feedback

    It does not take long to build a basic cms from scratch. I have built a fully-featured login system with account recovery and email verification using Symfony components and it only took 1 month to build. Plus after its built you can resuse that same code for other projects. My point is I would...
  11. O

    GoldFish CMS [1.3.0][Arcturus Morningstar]

    Laravel is kinda slow tho.
  12. O

    lottery remake from revcms

    This might be better. function randomChance($min, $max) { return random_int($min, $max); } The random_int function generates cryptographically secure pseudo-random integers. So you can guarantee randomness. The mt_rand function can be predictable. Also you could also rewrite your...
  13. O

    AstroCMS (Comet Emulator)

    You mean password hashing? encryption and hashing are two different things.
  14. O

    HylibCMS - All Emulators

    The structure of the code is ugly, also no website is completely safe. Thanks for sharing I hope it improves.
  15. O

    Show DevBest [PHP] HTML Minifier

    Nice code, but I would use HTML purifier due to the saying “reinventing the wheel” is pointless.
  16. O

    System that counts the data in the table in the database ( I wrote it from Translator ) [PDO]

    Why would you prepare a statement with no where values lol.
  17. O

    Show DevBest PHP/OAuth 2.0 Discord Login Script

    Why not use https://github.com/thephpleague/oauth2-client.
Top