Andros Fenollosa

115 Followers
124 Following
2K Posts

🏗️ Full-Stack developer (Mainly Python and Stimulus)
✍️ Writer ("Building SPAs with Django and HTML Over the Wire" and "Don Clojure de la Mancha")
🐧 Creator of Django LiveView, Maza ad blocking, Tadam, Glosa and soon
🐍 Python Valencia organizer

👨‍🏫 Old teacher
🟣 Emacs addicted
🐱 Cat food opening

I write in 🇬🇧 English and 🇪🇸 Spanish

Websitehttps://andros.dev
Bloghttps://blog.andros.dev
XMPP[email protected]
Repositorieshttps://git.andros.dev

How to Compose JavaScript Functions That Take Multiple Parameters (The Epic Guide), by @jrsinclair:

https://jrsinclair.com/articles/2024/how-to-compose-functions-that-take-multiple-parameters-epic-guide/

How to compose JavaScript functions that take multiple parameters (the epic guide)

Function composition is beautiful. It lets us create elegant function pipelines. And when everything lines up, the data flows like maple syrup over pancakes. But what happens when the functions don’t line up? What if some of those functions expect more than one argument? What do we do?

Publico un artículo donde enseño a desplegar un sitio estático con Docker desde el punto de vista de un dev con marcas de guerra.
Incluyo una configuración de Nginx que he ido ajustando y perfeccionado.
https://programadorwebvalencia.com/desplegando-un-sitio-estatico-con-docker/
#docker #nginx #html
Desplegando un sitio estático con Docker

A menudo me encuentro con la necesidad de desplegar sitios simples en HTML, muchos de ellos estáticos. Me gustaría enseñaros como podemos desplegar un sitio estático o como incorporar un servidor web a Docker. Primero vamos a definir la configuración del servidor web, el responsable de hacer accesible el sitio. Usaré Nginx para tal fin. ¿Por qué no Apache, Caddy u otros? Principalmente uso Nginx porque es un estándar en la industria. Sin embargo hay otros motivos igual de interesantes, como que es muy rápido, ligero y es el servidor web que yo conozca con más configuraciones avanzadas. Puedes activar...

Programador Web Valencia
Un artículo corto pero interesante de @jimniels donde nos enseña las ventajas de tener urls con el patrón "/:id/:slug" en lugar de "/:slug". Además de los problemas que supone para un generador de sitios estáticos.
https://blog.jim-nielsen.com/2024/cool-uris-and-humans/
#web #webdev #html
Cool URIs Don’t Change — But Humans Do

Writing about the big beautiful mess that is making things for the world wide web.

Sencillas reglas para que las descripciones en tus commits sean metódicas y de calidad.
https://www.conventionalcommits.org/es/v1.0.0/
#Git
Commits Convencionales

Especificación para dar significado a los mensajes de los commits haciéndolos legibles para máquinas y humanos

Commits Convencionales
Un simple despliegue CI/CD para una web con pasos gracias a n8n.
Todo se inicia con Gitea que envía un webhook después de cada Push. A continuación, se conecta a la máquina por SSH para lanzar un script encargado de hacer unas tareas de despliegue. Si todo ha ido todo bien recibo una notificación al móvil con ntfy y si ha ido mal un email con el informe.
Todo software libre y alojado en mi servidor.
#selfhosting

About a month ago, the new version of the book “Django 5 By Example” by Antonio Melé, for which I wrote the preface, was published 🚀

I talked about this new experience a little in my most recent blog post 👇
https://www.paulox.net/2024/06/21/django-5-by-example-preface/

#Django #Book #Django5ByExample

Paolo Melchiorre - Django 5 by Example preface

The story of my experience in writing the preface of the book “Django By Example” by Antonio Melé.

Paolo Melchiorre
Interesting 🤔: «Command Line Data Processing: Using DuckDB as a Unix Tool»
https://duckdb.org/2024/06/20/cli-data-processing-using-duckdb-as-a-unix-tool.html
Command Line Data Processing: Using DuckDB as a Unix Tool

DuckDB's CLI client is portable to many platforms and architectures. It handles CSV files conveniently and offers users the same rich SQL syntax everywhere. These characteristics make DuckDB an ideal tool to complement traditional Unix tools for data processing in the command line.

DuckDB
«No necesitas JavaScript para crear una página web.
No necesitas JavaScript para escribir estilos.
No necesitas JavaScript para hacer una animación.
No necesitas JavaScript solo para mostrar contenido.»
Frank M Taylor
Fuente: https://blog.frankmtaylor.com/2024/06/20/a-rant-about-front-end-development/
Recomiendo leer el artículo. El autor aboga por un enfoque más reflexivo y moderado del desarrollo front-end, uno que priorice la simplicidad, la mantenibilidad y el contenido.
#javascript #html #css #webdev
A Rant about Front-end Development

I am a front-end developer who is FED up about front-end development. If you write front-end, this isn't about you personally. It's about how your choices make me angry. Also this is about how my choices have made me angry. Also this is mostly just about choices, the technologies are incidental. Note: The views expressedRead More

Frank M Taylor
¿Qué es más rápido? Flask o FastAPI
https://stackoverflow.com/questions/76297879/benchmarks-of-fastapi-vs-async-flask
¿Ya has visto la respuesta? Te doy un poco de contexto.
Los resultados tienen sentido si te pones a pensarlo. Quien gestiona las peticiones no es el framework sino el ASGI o WSGI (Web Server Gateway Interface). Es la pieza de software, o interfaz, que habla con el servidor web. Puede estar en cualquier lenguaje. Por lo tanto, ganará aquel framework en Python con la mejor complejidad: Flask
#flask #fastapi #python
Benchmarks of FastAPI vs async Flask?

I'm a developer without an interest in benchmarking and I'm trying to decide whether I should use Flask or FastAPI to build some Python/Vue projects. I'm seeing stuff online about how FastAPI was ...

Stack Overflow
¿Qué recomendáis para hacer alojar una instancia de #activitypub para microblogging que permita importar todos los toots de #mastodon ?