Programación

Programación

Rust eBooks Nightly — Rust books in EPUB, AZW3, MOBI, and PDF

Posted on Tue, 21 Apr 2026 in Programación • Tagged with rust, ebooks, epub, calibre, github actions

Artur Sulej's project that automatically builds and publishes the latest versions of top Rust books as eBooks. Updated daily.


Continue reading

Disable git autocrlf

Posted on Tue, 21 Apr 2026 in Programación • Tagged with git, windows, wsl, line endings

If you use Windows (or WSL), Git has been silently converting your line endings. One command fixes it.


Continue reading

Installing GitHub Skills

Posted on Sun, 19 Apr 2026 in Programación • Tagged with github, cli, agentes-ia, skills

Comparing gh skill vs npx skills for installing and managing AI agent skills.


Continue reading

Crit: The Review Loop for Agents

Posted on Sun, 22 Mar 2026 in Programación • Tagged with ia, agents, review, opencode, productividad

Crit is a tool designed to close the code review loop for AI-generated code, providing an intuitive and efficient web interface.


Continue reading

sem: Semantic Version Control

Posted on Sun, 15 Mar 2026 in Programación • Tagged with cli, versionado, rust, herramientas

Discovering sem, a CLI tool that understands your code's semantics and tells you what entities changed, not just what lines.


Continue reading

os.click: Operating System ISO Download Center

Posted on Thu, 12 Mar 2026 in Programación • Tagged with linux, windows, iso, operating systems, herramientas

Quick reminder about os.click for downloading official ISOs.


Continue reading

DeepDiff: The Swiss Army Knife for Data Comparison in Python

Posted on Fri, 20 Feb 2026 in Programación • Tagged with data, cli, herramientas, diff

When working with structured data in Python, we often need to compare two dictionaries, JSONs, or complex objects to find out what has changed. While direct comparison (==) is useful, sometimes we need to understand exactly what is different: which keys were added, which were removed, or where values have changed …


Continue reading

Shot-scraper: Automated Web Screenshots

Posted on Fri, 20 Feb 2026 in Programación • Tagged with cli, herramientas, web, scraping, screenshots

Have you ever needed to take screenshots of a web page programmatically? Perhaps to document your project, monitor UI changes, or generate images for social media. There are many ways to do it, but shot-scraper stands out for its ease of use and power.

Created by Simon Willison, shot-scraper is …


Continue reading

Pandas Styler: Improve the Presentation of your DataFrames

Posted on Thu, 25 Dec 2025 in Programación • Tagged with pandas, data-science, visualizacion, estilo

Discover how the Pandas Styler object allows you to apply conditional formatting and CSS styles to your DataFrames for better data visualization and presentation.


Continue reading

Reduce Noise in Your Python Logs: A Smart Approach

Posted on Thu, 25 Dec 2025 in Programación • Tagged with logging, logs, debugging, desarrollo

Learn how to configure Python's logging module to avoid message overload from third-party libraries, keeping your logs clean and useful.


Continue reading

Poe the Poet: Automating Tasks in Python Projects with uv

Posted on Thu, 25 Dec 2025 in Programación • Tagged with uv, poethepoet, automation, pyproject.toml

Discover how Poe the Poet allows you to define and execute custom commands directly from your pyproject.toml, optimizing your workflow in uv environments.


Continue reading

How I Use Git Worktrees for Concurrent Work

Posted on Wed, 23 Jul 2025 in Programación • Tagged with git, worktrees, flujo-trabajo, productividad

A practical approach to using git worktrees and maximizing productivity with multiple simultaneous work contexts


Continue reading

Hybrid Search with SQLite: Vector + Full-Text

Posted on Sun, 06 Oct 2024 in Programación • Tagged with sqlite, busqueda, vectores, fts, sql

Combining vector search and full-text search in SQLite using Reciprocal Rank Fusion for better results


Continue reading

Geospatial Data Conflation with DuckDB and Embeddings

Posted on Tue, 01 Oct 2024 in Programación • Tagged with duckdb, geoespacial, embeddings, ollama, h3

Advanced techniques to integrate geospatial data sources using DuckDB, H3, Ollama, and embedding models


Continue reading

HTTPX: Modern HTTP Client for Python

Posted on Mon, 23 Sep 2024 in Programación • Tagged with http, httpx, async, requests

HTTPX emerges as the natural successor to requests, offering async support, HTTP/2, and a modern API for contemporary Python applications.


Continue reading

Server-Sent Events: Simplified Real-Time Communication

Posted on Mon, 23 Sep 2024 in Programación • Tagged with javascript, sse, tiempo-real, web-apis

Server-Sent Events offer a simple and efficient alternative to WebSockets for unidirectional server-to-client communication in web applications


Continue reading

About Versions

Posted on Mon, 01 May 2017 in Programación


Continue reading

Python: Create Repeating Generators

Posted on Tue, 09 Feb 2016 in Programación • Tagged with generadores, itertools, decoradores, yield

Techniques in Python to create generators that can be iterated multiple times, overcoming the "one-shot" limitation of standard generators


Continue reading

Bootstrap: Two Links in the Same Row in Dropdown

Posted on Tue, 15 Dec 2015 in Programación • Tagged with bootstrap, css, dropdown, flexbox, html

CSS technique to place two links on the same horizontal row within a Bootstrap dropdown menu using flexbox


Continue reading

Galen Framework: Automated Testing for Responsive Design

Posted on Fri, 13 Nov 2015 in Programación • Tagged with galen, testing, responsive, layout, selenium

Galen Framework simplifies automated testing of responsive layouts by verifying the position and appearance of elements across different devices


Continue reading

SQL: Select Rows with Max Value per Group

Posted on Wed, 21 Oct 2015 in Programación • Tagged with sql, mysql, consultas, window-functions, joins

SQL techniques to select complete rows with the maximum value of a column within groups, comparing performance of subqueries, joins, and window functions


Continue reading

Repeating a function with threads

Posted on Sun, 03 May 2015 in Programación

Let's use threads in python to periodically execute a function


Continue reading

Google Code is Closing

Posted on Fri, 13 Mar 2015 in Programación

As I said, Google announced the closure of Google Code.

Today I received the email notifying me (I had a test project hosted there) that I could move my projects simply to github, the de facto repository for free software today (sorry for bitbucket and especially for mercurial).

Its interface …


Continue reading

pgcli the discovery of the day

Posted on Mon, 02 Mar 2015 in Programación • Tagged with postgresql

postresql command line


Continue reading

Ajax view decorator

Posted on Fri, 21 Nov 2014 in Programación • Tagged with django

To force a django view to be called only via AJAX calls.

def ajax_required(f):
    """
    AJAX request required decorator
    use it in your views:

    @ajax_required
    def my_view(request):
        ....

    """
    def wrap(request, *args, **kwargs):
        if not request.is_ajax():
            return HttpResponseBadRequest()
        return f(request, *args, **kwargs)
    wrap.__doc__ = f.__doc__
    wrap.__name__ …

Continue reading

Generic function to use as upload_to

Posted on Sat, 11 Oct 2014 in Programación • Tagged with django

FileFields in Django need an upload_to function that determines where the file will be uploaded. I usually have a generic function in utils.py that leaves them in a subfolder with the model name.

import os

def generic_upload_to(instance, filename):
    """
    Generic `upload_to` function for models.FileField and models.ImageField
    which …

Continue reading

Django: links in object list

Posted on Wed, 21 May 2014 in Programación • Tagged with django

In my projects I usually use links to related items in the admin change_list.

utils.py

I have this in utils.py

from django.contrib import admin
from django.contrib.contenttypes.models import ContentType
from django.core import urlresolvers
from django.utils.datastructures import SortedDict …

Continue reading

Settings vars processor

Posted on Wed, 08 Jan 2014 in Programación • Tagged with django

I usually use this at the beginning of projects.

from django.conf import settings as django_settings
from django.core.exceptions import ImproperlyConfigured


def settings(request):
    """
    Adds the settings specified in settings.TEMPLATE_VISIBLE_SETTINGS to
    the request context.
    """
    new_settings = {}
    for attr in django_settings.TEMPLATE_VISIBLE_SETTINGS:
        try:
            new_settings[attr] = getattr(django_settings, attr)
        except AttributeError …

Continue reading