Fix for Crow C++ websocket which could not receive beyond 128 chars

Context of the post can be found here Chatgpt modified the websocket.h file and made it workable. Working codes below: #pragma once #include #include #include “crow/socket_adaptors.h” #include “crow/http_request.h” #include “crow/TinySHA1.hpp” namespace crow { namespace websocket { enum class WebSocketReadState { MiniHeader, Len16, Len64, Mask, Payload, }; struct connection { virtual void send_binary(const std::string& msg) =…

Read More

Farsi Image generator – DEV Community

During the development of a personal project, I needed to build a script that converts Farsi (Persian) text into an image. To make the process easier — and a bit more fun — I chose the excellent Gradio framework to build a simple interactive interface. What is Gradio? Gradio is a popular open-source Python library…

Read More

Accepted Into Enye Cohort 5

Welcome to Enye Cohort 5 [Feb 8, 12:25 AM] I saw the mail some minutes after midnight while making fixes to an app I was building. I had kept my mail tab open because Mr. Uche Nnandi had promised us via the Slack group that we’d get mails that weekend. I smiled when I saw…

Read More

Pi-hole v6: Setting up wildcard domains

In my previous article, I talked about my password and login troubles on Pi-hole V6, it seems that this isn’t the end of my journey, as I’ve ran into new ones while trying to set up wildcard domains on Pi-hole v6. TLDR version: Dnsmasq config files no loads by default on Pi-hole v6. Enable it…

Read More