Latest Updates

Documenting code, one commit at a time.

Implementing a Unified Credit Conversion System for AI Services

Introduction

Managing costs associated with AI-powered features, such as text, image, and video generation, can be complex. Our platform needed a unified system to convert these costs into credits, manage profit margins, and track consumption effectively.

The Challenge

Previously, our credit system lacked a standardized approach. Calculating costs for various AI services (text, image,

Read more

Refactoring Primary Keys with Foreign Key Constraints in Reimpact Platform

When refactoring database schemas, developers often encounter challenges with primary and foreign key relationships. In the Reimpact platform, a recent update focused on modifying a primary key (priority_product ID) while ensuring existing foreign key references remained valid. This process highlights the importance of managing dependencies during schema alterations.

The Problem

Read more

Refactoring Data Access in Reimpact Platform: Removing Redundant Relationships

Introduction

The Reimpact platform is undergoing continuous improvements to enhance its data model and overall efficiency. One recent focus has been on refining relationships between models to ensure data integrity and reduce redundancy.

The Challenge

In a recent update, a specific issue was identified within the LatestMassiveUploadsWidget. The MassiveUpload model, designed for

Read more

Automatización de la publicación con separacion de tareas en landing

Introducción

En el proyecto landing, buscamos optimizar el flujo de publicación automatizada, permitiendo un control más granular sobre cada etapa del proceso. Anteriormente, la automatización era un bloque monolítico. Ahora, dividimos este proceso en componentes independientes, mejorando la flexibilidad y permitiendo a los usuarios activar o desactivar funciones específicas según sus

Read more