Latest Updates

Documenting code, one commit at a time.

HTML JavaScript

Securing Web Widgets: Why Explicit HTTPS URLs Matter

Have you ever embedded a third-party widget or script into your index.html only to find it intermittently failing or triggering security warnings? A seemingly innocuous detail in the URL can be the culprit, especially when dealing with scheme-relative paths. On the 'patitas-al-rescate' project, we recently focused on ensuring the robust functionality of a web translation widget, which

Read more

Decoupling Business Logic with Python and Streamlit: A Metallurgical Calculator Case Study

Introduction

Ever found yourself wrestling with a monolithic frontend script where UI presentation and core business logic are hopelessly entangled? This common scenario makes maintenance, testing, and future development a nightmare. In the metallurgy-smart-calcs project, we faced just such a challenge with an existing JavaScript-based metallurgical calculator.

The motivation was clear:

Read more
JavaScript

Refactoring for Clarity: Updating Code for Maintainability

In software development, maintaining a clean and understandable codebase is crucial. Sometimes, this involves revisiting existing code to improve its structure and readability. Recently, I worked on updating code within the Challengue-amigo-secreto project to enhance maintainability.

The Update

The core of the update involved refactoring existing segments of code. The primary goal was to

Read more