RSSAmplifier

Blog

byandrev.dev

Tutorials, guides, and insights on React, TypeScript, JavaScript, Java, Python, AI, and Machine Learning written by software developer Andres Parra.

byandrev.devRSS feed ↗50 posts

Latest posts

Cloudflare Edge TTL

A practical deep dive into Cloudflare's Edge Cache TTL. Learn the difference between Edge TTL and Browser Cache TTL, and walk through the three Edge TTL modes in Cache Rules. And how to use Purge Cache. Includes a real example of excluding a dynamic API route from a broad caching rule.

A Beginner's Guide to Cloudflare

Learn how to protect your website from EDoS attacks. This guide walks through setting up Cloudflare for free: adding your domain, enabling SSL and Always Use HTTPS, configuring WAF custom rules to block bots, setting up rate limiting to cap requests per visitor, and using CDN caching with Edge TTL to slash bandwidth costs on platforms like Vercel or Netlify.

No Longer Human

Review of Osamu Dazai’s No Longer Human: a read that left me feeling anxious, sad, and as though I had witnessed something heart-wrenching. The story of Yozo, his social mask, his alienation, and his existential emptiness.

How Custom Opencode Skills Boosted My Coding Productivity

Discover how creating custom AI skills for architecture, testing, and reusable components transformed my development workflow, better code quality, less duplication, and faster feature delivery with Opencode and Feature Sliced Design.

The basics of Java you need to know

Java is one of the most important programming languages in the world, and it's widely used by large companies. You need to know concepts such as OOP, Abstract classes, Strings, Generics, Exceptions, and Optional if you want to work with Java.

Optional in Java: how to say goodbye (almost) to NullPointerException

If you've been programming in Java for a while, you're probably very familiar with NullPointerException. It always seems to appear at the worst possible time, almost always in production, and its error message rarely tells you exactly which variable was null.

The cheapest option for AI programming

OpenCode Go: GLM, Kimi, Qwen, and DeepSeek models for $5–$10/month. I analyze the limits, how to connect it, and whether it’s worth it compared to Claude.

My son, the OpenAI server

Sam Altman has said that he finds the comparison made regarding the energy consumption of artificial intelligence unfair, and that no one questions how much energy is used to "train" a human.

10 tips to get the most out of OpenCode

OpenCode is a powerful tool, but like any tool, the difference between using it and mastering it lies in the details. These are the tips that have helped me the most in my day-to-day work.

Using Artificial Intelligence to read books

Use AI to learn from books quickly, like Andrés Bilbao from Rappi. It's the ideal "entry point" for new topics before delving deeper.

What is GraphQL?

GraphQL is a query language for APIs and a runtime environment for those queries, created by Facebook (Meta) in 2012 and released as open source in 2015.

How to use OpenCode and GitHub Copilot Pro for free?

OpenCode is an AI-powered terminal agent that edits entire projects. It allows you to use GitHub Copilot for free for students and offers Plan and Build modes to track code changes.

Classifying Product Reviews with Naive Bayes

A step-by-step exercise on how to classify customer reviews of products using NLP with the Naive Bayes classifier to determine if they are positive or negative.

What is JSON-LD and why is it important?

Learn what JSON-LD is and how to use this linked data format to improve your website's SEO and appear in Google's knowledge panels.

Linear regression to predict salary

I built a linear regression model in Python with sklearn to predict salaries: cleaning, splitting, training, and metrics.

Using OpenAI's Whisper to transcribe videos

Whisper is OpenAI's artificial intelligence tool that has revolutionized audio and video transcription. In this guide, you will learn how to install this open-source system on your PC or integrate it using its API to automatically generate subtitles (SRT/VTT).

Performance metrics in machine learning

Evaluating a model means measuring where it fails. In regression: MSE, RMSE, MAE, and R2. In classification: Accuracy, Precision, Recall, F1, and ROC AUC.

Applying Fine-Tuning to RoBERTuito

Application of Fine-Tuning of a pre-trained language model, specifically designed to classify teacher evaluations into three levels of criticality.

Vector and matrix operations in Python

Have you ever wondered how Netflix decides what to recommend to you or how an algorithm measures how “good” a candidate is? The answer is not magic, it's linear algebra.

Basic concepts of linear algebra

Algebra allows us to represent and manipulate real-world problems using numbers. Thanks to algebra, we can model relationships, analyze data, and find solutions in a logical and structured way.

Feedback analysis with Gemma 3

Process of integrating Gemma 3 into teacher evaluation analysis (SET). Moving from hundreds of disordered comments to structured, private summaries using local AI.

Machine Learning Fundamentals

Machine learning is a branch of artificial intelligence that uses mathematical models to learn from data and make predictions or discover hidden patterns without being explicitly programmed.

Installing Ollama and Gemma 3B on Linux

Ollama is a tool that makes working with Large Language Models (LLMs), like Gemma 3B, much easier. Instead of having to install a mountain of dependencies and configure complex environments, Ollama simplifies the entire process.

Customize the password recovery flow with Firebase

By default, when a user forgets their password, Firebase sends them to a domain such as your-project.firebaseapp.com. This can undermine user trust and aesthetics.

Set up your SSH keys on GitHub

Stop typing your username and password every time you do a git push, or if you simply want to improve security.

AWS Elastic Container Service (ECS)

What is Amazon ECS and how to deploy a containerized application using AWS Fargate, an Application Load Balancer (ALB), and API Gateway. Step by step on AWS.

Publish Docker images to Amazon ECR

Learn step by step how to build a Docker image and publish it to Amazon ECR (Elastic Container Registry). From AWS authentication to the final image push.

Hexagonal Architecture Explained

Through simple examples and visual diagrams, you will discover how to decouple your business logic from frameworks and databases, improve the maintainability of your code, and write cleaner, more testable, and scalable applications.

Recommended architecture for Android with Kotlin

The recommended architecture for Android applications with Kotlin is based on the principles of Clean Architecture, specifically adapted for mobile development. This guide will help you structure your code in a readable and maintainable way.

Why use Conventional Commits?

Opening a project's Git history and finding messages like “various fixes,” “update,” or “fixed something” can be a nightmare. That chaos makes it impossible for anyone to understand what actually happened in the code. This is where Conventional Commits come in.

Google Stitch: AI Design Agent

Creating great applications has traditionally depended on both design and development, and bridging these tasks requires significant effort. Google Labs has introduced Stitch, an artificial intelligence tool that aims to streamline this entire process.

NotebookLM: the AI that only learns from you

Unlike large models such as Gemini or ChatGPT, where information is extracted from numerous web sources that may contain “hallucinations,” NotebookLM relies 100% on the sources you provide, such as PDFs, audio files, YouTube videos, Google Docs, or even articles. By working exclusively with your sources, the tolerance for hallucinations is very low.

Why I decided to leave Next.js and switch to Astro

After several attempts to adapt my personal blog to Next.js, I have finally decided to stop using it for this project. Not because it is a bad technology, far from it, but because it does not fit what I really need and want for this site. The change came after facing a series of frustrations, reading about other developers' experiences, and reevaluating my priorities.

Git Workflow

Git is an open-source project, originally developed in 2005 by Linus Torvalds, the famous creator of the Linux operating system kernel. It allows us to manage change logs in files, collaborative development, and know who made changes to files and when.

Learn to Use Makefiles

Makefiles are files located at the root of a project that allow you to automate and simplify the execution of commands in the terminal. This saves time and also improves consistency in workflows, making collaboration between team members easier and reducing errors from incomplete or mistyped commands.

My introduction to learning machine learning

In very simple and non-technical terms, machine learning is the science of programming computers so that they can "learn" from the data provided.

How to create a sitemap manually in Astro

A sitemap is a list of the pages on a website within a domain. You can usually find it on pages such as www.dominio.com/sitemap.xml. It is commonly used by web crawlers, such as search engines, to index web pages.

Building Docker Images for Multiple Architectures

Applications can run on different types of processors, Intel/AMD servers (x86_64), ARM devices (Raspberry Pi, ARM servers), and Apple Silicon chips (M1/M2/M3). Building Docker images that work on all these architectures will allow you to deploy your application on any infrastructure without compatibility issues.

The Return of RPCIDE

Today, I finally decided to resume this project and improve it with the ideas I have in mind. It was about time.

Publish Docker images to GitHub Packages

Step-by-step guide on how to use GitHub Packages with GitHub Container Registry (ghcr.io) to publish Docker images for free.

Talk is cheap. Show me the code

Linus Torvalds left us with a phrase that goes beyond software development: Talk is cheap. Show me the code. In this article, I share how this quote has shaped the way I work, reminding me that action beats endless planning. From side projects to large startups, true innovation comes from daring to create, even if it's imperfect.

SDKMAN - Java version management

One of the main drawbacks when working with Java and its ecosystem is managing multiple versions of the JDK. You may find yourself using Java 8 in one project and Java 17 in another. SDKMAN is a tool that helps us with this, allowing us to manage multiple versions of Java easily, quickly, and efficiently.

Best free services for PostgreSQL databases

Here is a list of the best free PostgreSQL database hosting services. These platforms offer free plans ideal for small projects, prototypes or development environments.

Changing the Bullet Color of a List in CSS

When trying to style list bullets (•) or numbers (1.) with a different color than the text, it's common to find that the style applied to the text does not affect the markers. This happens when using or tags in HTML, where applying a color directly only changes the text, but not the list markers.

Finite Automaton Simulator

I built this tool with two friends for our Theory of Computation class, and I wanted to share it because I think it could be helpful for other people studying the same subject.

Understand Aspect Ratio in CSS

One of the fundamental elements in web interface design is the aspect ratio. In simple terms, the aspect ratio refers to the ratio between the height and width of an element, which can be images or videos.

Initial Setup for Neovim

Neovim is a modern and renewed version of the Vim text editor. Although Neovim comes with a basic setup that works well for most users, customizing it can take your experience to the next level. In this article, we’ll explore a minimal configuration that you can implement to enhance your workflow in Neovim.

How the RPCIDE is Built

Explanation of How RPCIDE is Built and How It Works, Along with Its Core Components.

Start your journey in Competitive Programming

Competitive programming is an exciting and challenging realm where programmers test their problem-solving skills and their ability to write efficient code within a competitive environment.

Create the Colombian Flag with HTML and CSS

HTML and CSS are often underestimated because they are not programming languages, but they are still extremely important for the web. With CSS, you can do much more than just styling, you can create drawings, illustrations, video games, and more.