Skip to main content

Posts

Symfony API Documentation

How to Have Good API Documentation in Symfony How to Have Good API Documentation in Symfony API documentation is one of those things every developer understands is important , but it’s also quite easy to put off until “later”, which (let’s be honest) might never actually happen. Whether you’re building a project solo or as part of a team, good documentation is a lifesaver for both your current self and anyone who might (or will!) work with your API in the future. Why Good API Documentation Matters Let’s set the stage: you’re building an API backend with Symfony, and there’s a frontend team eagerly waiting to hook into your endpoints. Without clear, accessible documentation, every conversation becomes an ad-hoc Q&A session. Details get lost, mistakes creep in, and for every new teammate, the onboarding cost gets higher and higher. Good API docs are like a friendly guide—empowering your frontend team to work independently and confidently. But Do...
Recent posts

Symfony enable authentication

Enable authentication on Symfony There are many ways to enable authentication on Symfony. The most documented are listed in the documentation (no... really?) . The drawback of those methods is that they tend to push the user to use Doctrine. But I dont use Doctrine on my projects. I wrote the tutorial to show how to do without Doctrine: https://github.com/rakotomandimby/symfony-enable-database-authentication

Compose Compiler Kotlin

React Native: Compose Compiler and Kotlin version When building my React Native project on EAS build infrastructure, I encountered this error: This version (1.5.15) of the Compose Compiler requires Kotlin version 1.9.25 but you appear to be using Kotlin version 1.9.24 which is not known to be compatible. Solution: upgrade Expo and fix dependencies npx expo install expo@latest npx expo install --fix

Global AI under attack

Gemini a bit slower when Deepseek under attack (January 2025) In recent weeks, I've noticed a peculiar trend: the Gemini REST API, a widely-used service for developers, has shown signs of latency. Even more troubling are the frequent "503 Overloaded" error messages many have encountered. It seems this degradation in performance corresponds with an attack on Deepseek, another prominent player in the artificial intelligence ecosystem. This notion isn't baseless; after some digging, I stumbled upon a discussion thread where Logan Kilpatrick, a representative voice in the AI community, provided some insights. He mentioned, "Hey folks, we are not moving capacity away from 1.5 models right now. Looks like we might be getting hit by a DDoS attack. Will follow up as we mitigate this." There is a time correlation between Deepseek and Gemini capacity issues The temporal relationship between the issues facing Deepseek and Gemini is hard to ignore....

Neovim Java IDE

Neovim Configuration that makes JDTLS work JDTLS: The Eclipse JDT Language Server JDTLS, the Eclipse JDT Language Server, is a Java language specific implementation of the Language Server Protocol. It can be used with any editor that supports the protocol, providing robust support for the Java language. This allows developers to leverage features such as code completion, refactoring, and error checking, enhancing their productivity and coding experience. Configuring JDTLS with Neovim While JDTLS offers great features, getting it to work with Neovim is not straightforward. Manual configuration is required to ensure that the language server integrates seamlessly with the editor. Below are the configurations needed to set up JDTLS in Neovim. Plugin Configuration: lua/plugins/jdtls.lua return {...

Workstation 17.6.2 Changelog

VMware Workstation Pro 17.6.2 has beeen released 17th December 2024. Build Id is 24319023 Resolved Issues from the VMWare Website After performing snapshot operations in the Snapshot Manager, VMware Workstation for Linux crashes Taking, deleting, or restoring snapshots through the Snapshot Manager might cause VMware Workstation for Linux to crash. This issue is resolved in VMware Workstation 17.6.2. Unable to take and use snapshots on a Linux guest operating system Taking or trying to use snapshots on a Linux guest operating system causes Workstation to stop responding. The issue is resolved in Workstation 17.6.2 / Fusion 13.6.2. Virtual machines on Windows 11 hosts become unresponsive after unlocking the device After locking or unlocking the device with a virtual machine installed on a Windows 11 host, the virtual machine becomes unresponsive. The kcompactd kernel process causes virtual machines on Linux hosts to become unresponsive Virtual machines on Linux ho...