<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Luis Rangel on Medium]]></title>
        <description><![CDATA[Stories by Luis Rangel on Medium]]></description>
        <link>https://medium.com/@luisrangelc?source=rss-5db2c1cc7bca------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bWxeXU0brqtTuN0wlZqcvA.jpeg</url>
            <title>Stories by Luis Rangel on Medium</title>
            <link>https://medium.com/@luisrangelc?source=rss-5db2c1cc7bca------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:10:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@luisrangelc/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Algo grande ya empezó (y todavía no lo estamos viendo)]]></title>
            <link>https://luisrangelc.medium.com/algo-grande-ya-empez%C3%B3-y-todav%C3%ADa-no-lo-estamos-viendo-8b378d6c06f9?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b378d6c06f9</guid>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Thu, 19 Feb 2026 22:59:57 GMT</pubDate>
            <atom:updated>2026-02-19T22:59:57.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bmMbHIa0yrEhM79srW4Lfw.png" /></figure><p>En febrero de 2020, las señales estaban ahí. Algunas personas seguían con atención un brote al otro lado del mundo, pero la mayoría vivíamos como siempre: trabajo, escuela, restaurantes, planes de viaje. Había normalidad… hasta que dejó de haberla.</p><p>Con la inteligencia artificial está pasando algo parecido: hay una diferencia enorme entre lo que el público cree que “es la IA” y lo que las versiones más recientes ya pueden hacer. Y esa brecha es peligrosa, no porque haya que entrar en pánico, sino porque <strong>impide prepararnos</strong>.</p><p>Durante años, la conversación sobre IA se sintió como una evolución gradual: mejoras aquí y allá, una nueva herramienta, una función interesante. Pero en los últimos meses el patrón cambió: los avances ya no se sienten “un poquito mejores”, sino como un salto de época. Y cuando una tecnología cambia de ritmo, también cambia el tipo de decisiones que tú y yo deberíamos estar tomando.</p><h3>La parte que la gente no entiende (todavía)</h3><p>Muchos prueban una IA una vez, obtienen un resultado mediocre y concluyen: “no es para tanto”. Ese juicio suele estar anclado a una experiencia vieja. En IA, “viejo” pueden ser seis meses.</p><p>El efecto real se nota cuando la usas para trabajo diario y de forma seria: redactar, analizar, programar, investigar, sintetizar, proponer estrategias, revisar documentos, crear planes. No es magia; sigue cometiendo errores. Pero el salto importante es este: cada versión nueva reduce el costo (en tiempo y esfuerzo humano) de producir trabajo de calidad.</p><h3>Esto no es automatizar una tarea. Es automatizar el tipo de trabajo.</h3><p>La automatización tradicional reemplazaba acciones específicas. Esto es distinto: la IA apunta al <strong>trabajo cognitivo</strong> en general. Y cuando mejora, mejora en muchos frentes a la vez.</p><p>Eso significa que el “plan B” típico — “me reinvento y ya” — se vuelve más difícil, porque el terreno al que te mueves también está siendo afectado. No es un mensaje fatalista; es un llamado a pensar estratégicamente:</p><ul><li>¿Qué parte de tu trabajo es repetible y documentable?</li><li>¿Qué parte depende de contexto, confianza, criterio, relación humana?</li><li>¿Qué puedes aprender hoy que te ponga por delante mañana?</li></ul><h3>La reacción correcta no es miedo. Es alfabetización.</h3><p>La pregunta útil no es “¿me va a reemplazar?” sino:</p><ul><li>¿Cómo incorporo esto antes que sea obligatorio?</li><li>¿Cómo rediseño mi trabajo para que la IA sea palanca, no amenaza?</li><li>¿Qué habilidades humanas se vuelven más valiosas cuando la producción se acelera?</li></ul><p>Y sobre todo: ¿qué decisiones tomaría hoy si acepto que el ritmo de cambio ya no es lento?</p><p>Porque si algo nos enseñó 2020 es que el mundo puede cambiar rápido… y que los que reaccionan temprano no siempre son los que “adivinan el futuro”, sino los que <strong>se toman en serio las señales</strong>.</p><p><strong>Créditos / Inspiración</strong><br> Este artículo está inspirado en el post “<strong>Something Big Is Happening</strong>” de <strong>Matt Shumer</strong>, publicado el <strong>9 de febrero de 2026</strong> en su blog personal. <br> Idea y referencia original: Matt Shumer (shumer.dev).<br> Nota: Este texto es una reinterpretación y comentario en español; no es una traducción literal del artículo original.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b378d6c06f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algo grande está sucediendo]]></title>
            <link>https://luisrangelc.medium.com/algo-grande-est%C3%A1-sucediendo-0119c5dc13ca?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/0119c5dc13ca</guid>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Thu, 19 Feb 2026 22:59:15 GMT</pubDate>
            <atom:updated>2026-02-19T22:59:15.080Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GxVxEEcs4k83igJ_zYd-gw.png" /></figure><p><strong>Por Matt Shumer</strong> (Publicado originalmente el 9 de febrero de 2026)</p><p>Piensa en febrero de 2020.</p><p>Si estabas prestando mucha atención, quizás notaste a unas pocas personas hablando de un virus que se propagaba en el extranjero. Pero la mayoría de nosotros no prestábamos atención. El mercado de valores iba de maravilla, tus hijos estaban en la escuela, ibas a restaurantes, dabas la mano a la gente y planeabas viajes. Si alguien te decía que estaba acumulando papel higiénico, habrías pensado que pasaba demasiado tiempo en algún rincón extraño del internet.</p><p>Luego, en el transcurso de unas tres semanas, el mundo entero cambió. Tu oficina cerró, tus hijos regresaron a casa y la vida se reorganizó en algo que no habrías creído si te lo hubieras descrito a ti mismo un mes antes.</p><p>Creo que estamos en la fase de “esto parece exagerado” de algo mucho, mucho más grande que el Covid.</p><p>He pasado seis años construyendo una startup de IA e invirtiendo en este espacio. Vivo en este mundo. Y escribo esto para las personas en mi vida que no lo hacen… mi familia, mis amigos, la gente que me importa y que sigue preguntándome “¿qué onda con la IA?” y recibiendo una respuesta que no hace justicia a lo que realmente está pasando.</p><p>Sigo dándoles la versión educada. La versión de cóctel. Porque la versión honesta suena a que he perdido la cabeza. Y durante un tiempo, me dije a mí mismo que esa era una razón suficiente para guardarme lo que realmente está sucediendo. Pero la brecha entre lo que he estado diciendo y lo que realmente ocurre se ha vuelto demasiado grande. La gente que quiero merece escuchar lo que viene, incluso si suena a locura.</p><p>Debo aclarar algo de entrada: aunque trabajo en IA, casi no tengo influencia sobre lo que está a punto de suceder, y tampoco la tiene la gran mayoría de la industria. El futuro está siendo moldeado por un número notablemente pequeño de personas: unos pocos cientos de investigadores en un puñado de empresas… OpenAI, Anthropic, Google DeepMind y algunas otras. Una sola fase de entrenamiento, gestionada por un equipo pequeño durante unos meses, puede producir un sistema de IA que cambie toda la trayectoria de la tecnología. La mayoría de los que trabajamos en IA estamos construyendo sobre cimientos que no pusimos nosotros. Estamos viendo esto desarrollarse igual que ustedes… simplemente estamos lo suficientemente cerca como para sentir que el suelo tiembla primero.</p><p>Pero ha llegado el momento. No de una manera de “algún día deberíamos hablar de esto”. Sino de una manera de “esto está pasando ahora mismo y necesito que lo entiendas”.</p><h3>Sé que esto es real porque me pasó a mí primero</h3><p>Aquí está lo que nadie fuera de la tecnología entiende todavía: la razón por la que tanta gente en la industria está dando la voz de alarma ahora mismo es porque esto ya nos pasó a nosotros. No estamos haciendo predicciones. Te estamos contando lo que ya ocurrió en nuestros propios trabajos, y advirtiéndote que tú eres el siguiente.</p><p>Durante años, la IA había estado mejorando de forma constante. Grandes saltos aquí y allá, pero cada gran salto estaba lo suficientemente espaciado como para que pudieras absorberlo a medida que llegaba. Luego, en 2025, nuevas técnicas para construir estos modelos desbloquearon un ritmo de progreso mucho más rápido. Y luego se volvió aún más rápido. Y luego más rápido aún. Cada nuevo modelo no solo era mejor que el anterior… era mejor por un margen mayor, y el tiempo entre los lanzamientos de nuevos modelos era más corto.</p><p>Yo utilizaba la IA cada vez más, interactuando con ella cada vez menos, viendo cómo manejaba cosas que antes pensaba que requerían mi experiencia.</p><p>Entonces, el 5 de febrero, dos importantes laboratorios de IA lanzaron nuevos modelos el mismo día: GPT-5.3 Codex de OpenAI, y Opus 4.6 de Anthropic (los creadores de Claude). Y algo hizo clic. No como un interruptor de luz… más bien como el momento en que te das cuenta de que el agua ha estado subiendo a tu alrededor y ahora te llega al pecho.</p><p><strong>Ya no soy necesario para el trabajo técnico real de mi puesto.</strong></p><p>Describo lo que quiero construir, en inglés sencillo, y simplemente… aparece. No un borrador que necesito corregir. El producto terminado. Le digo a la IA lo que quiero, me alejo de mi computadora durante cuatro horas, y regreso para encontrar el trabajo hecho. Hecho bien, mejor de lo que yo mismo lo habría hecho, y sin necesidad de correcciones. Hace un par de meses, interactuaba con la IA, guiándola, haciendo ediciones. Ahora simplemente describo el resultado y me voy.</p><p>Permítanme darles un ejemplo para que entiendan cómo se ve esto en la práctica. Le digo a la IA: “Quiero construir esta aplicación. Esto es lo que debe hacer, este es el aspecto que debe tener. Define el flujo de usuario, el diseño, todo”. Y lo hace. Escribe decenas de miles de líneas de código. Luego, y esta es la parte que habría sido impensable hace un año, abre la propia aplicación. Hace clic en los botones. Prueba las funciones. Usa la aplicación como lo haría una persona. Si no le gusta cómo se ve o se siente algo, vuelve atrás y lo cambia, por su cuenta. Itera, como lo haría un desarrollador, arreglando y refinando hasta que está satisfecha. Solo una vez que ha decidido que la aplicación cumple con sus propios estándares, vuelve a mí y dice: “Está lista para que la pruebes”. Y cuando la pruebo, suele ser perfecta.</p><p>No estoy exagerando. Así fue mi lunes de esta semana.</p><p>Pero fue el modelo lanzado la semana pasada (GPT-5.3 Codex) lo que más me impactó. No se limitaba a ejecutar mis instrucciones. Estaba tomando decisiones inteligentes. Tenía algo que se sentía, por primera vez, como <strong>juicio</strong>. Como <strong>gusto</strong>. El sentido inexplicable de saber cuál es la decisión correcta que la gente siempre decía que la IA nunca tendría. Este modelo lo tiene, o algo tan cercano que la distinción está empezando a no importar.</p><p>Siempre he sido de los primeros en adoptar herramientas de IA. Pero los últimos meses me han dejado en shock. Estos nuevos modelos de IA no son mejoras incrementales. Esto es algo totalmente distinto.</p><p>Y he aquí por qué esto te importa a ti, incluso si no trabajas en tecnología.</p><p>Los laboratorios de IA tomaron una decisión deliberada. Se centraron en hacer que la IA fuera excelente escribiendo código primero… porque construir IA requiere mucho código. Si la IA puede escribir ese código, puede ayudar a construir la siguiente versión de sí misma. Una versión más inteligente, que escriba mejor código, que construya una versión aún más inteligente. Hacer que la IA fuera excelente programando fue la estrategia que desbloquea todo lo demás. Por eso lo hicieron primero. Mi trabajo empezó a cambiar antes que el tuyo no porque estuvieran apuntando a los ingenieros de software… fue simplemente un efecto secundario de hacia dónde decidieron apuntar primero.</p><p>Ya lo han logrado. Y ahora están pasando a todo lo demás.</p><p>La experiencia que los trabajadores tecnológicos han tenido durante el último año, de ver cómo la IA pasa de “herramienta útil” a “hace mi trabajo mejor que yo”, es la experiencia que todos los demás están a punto de tener. Ley, finanzas, medicina, contabilidad, consultoría, escritura, diseño, análisis, servicio al cliente. No en diez años. La gente que construye estos sistemas dice de uno a cinco años. Algunos dicen menos. Y dado lo que he visto en solo los últimos dos meses, creo que “menos” es lo más probable.</p><h3>“Pero probé la IA y no era tan buena”</h3><p>Escucho esto constantemente. Lo entiendo, porque solía ser cierto.</p><p>Si probaste ChatGPT en 2023 o principios de 2024 y pensaste “esto inventa cosas” o “esto no es tan impresionante”, tenías razón. Esas primeras versiones eran realmente limitadas. Alucinaban. Decían cosas sin sentido con total seguridad.</p><p>Eso fue hace dos años. En tiempo de IA, eso es historia antigua.</p><p>Los modelos disponibles hoy son irreconocibles frente a lo que existía hace apenas seis meses. El debate sobre si la IA “realmente está mejorando” o “chocando contra un muro” — que ha durado más de un año — ha terminado. Se acabó. Cualquiera que siga usando ese argumento o no ha usado los modelos actuales, o tiene un incentivo para minimizar lo que está pasando, o está evaluando basándose en una experiencia de 2024 que ya no es relevante. No lo digo por desprecio. Lo digo porque la brecha entre la percepción pública y la realidad actual es ahora enorme, y esa brecha es peligrosa… porque está impidiendo que la gente se prepare.</p><p>Parte del problema es que la mayoría de la gente usa la versión gratuita de las herramientas de IA. La versión gratuita está más de un año por detrás de lo que tienen acceso los usuarios de pago. Juzgar la IA basándose en el ChatGPT gratuito es como evaluar el estado de los smartphones usando un teléfono plegable antiguo. La gente que paga por las mejores herramientas, y que realmente las usa a diario para el trabajo real, sabe lo que viene.</p><p>Pienso en mi amigo, que es abogado. Sigo diciéndole que intente usar IA en su bufete, y él sigue encontrando razones por las que no funcionará. No está diseñada para su especialidad, cometió un error cuando la probó, no entiende los matices de lo que hace. Y lo entiendo. Pero socios de grandes firmas de abogados se han puesto en contacto conmigo para pedirme consejo, porque han probado las versiones actuales y ven hacia dónde va esto. Uno de ellos, socio director de una gran firma, pasa horas cada día usando IA. Me dijo que es como tener un equipo de asociados disponibles al instante. No la usa porque sea un juguete. La usa porque funciona. Y me dijo algo que se me quedó grabado: cada par de meses, se vuelve significativamente más capaz para su trabajo. Dijo que si se mantiene en esta trayectoria, espera que pueda hacer la mayor parte de lo que él hace antes de que pase mucho tiempo… y es un socio director con décadas de experiencia. No tiene pánico. Pero está prestando muchísima atención.</p><p>La gente que va por delante en sus industrias (los que realmente están experimentando en serio) no está descartando esto. Están asombrados por lo que ya puede hacer. Y se están posicionando en consecuencia.</p><h3>Qué tan rápido se está moviendo esto en realidad</h3><p>Permítanme concretar el ritmo de mejora, porque creo que esta es la parte que más cuesta creer si no se sigue de cerca.</p><p>En 2022, la IA no podía hacer aritmética básica de forma fiable. Te diría con total seguridad que 7 × 8 = 54.</p><p>Para 2023, podía aprobar el examen de abogacía.</p><p>Para 2024, podía escribir software funcional y explicar ciencia de nivel de posgrado.</p><p>Para finales de 2025, algunos de los mejores ingenieros del mundo decían que habían entregado la mayor parte de su trabajo de programación a la IA.</p><p>El 5 de febrero de 2026 llegaron nuevos modelos que hicieron que todo lo anterior pareciera de otra época.</p><p>Si no has probado la IA en los últimos meses, lo que existe hoy te resultaría irreconocible.</p><p>Hay una organización llamada METR que mide esto con datos. Rastrean la duración de tareas del mundo real (medidas por cuánto tiempo le toma a un experto humano) que un modelo puede completar con éxito de principio a fin sin ayuda humana. Hace un año, la respuesta era de unos diez minutos. Luego fue una hora. Luego varias horas. La medición más reciente (Claude Opus 4.5, de noviembre) mostró a la IA completando tareas que a un experto humano le llevan casi cinco horas. Y ese número se duplica aproximadamente cada siete meses, con datos recientes que sugieren que podría estar acelerándose a cada cuatro meses.</p><p>Pero incluso esa medición no se ha actualizado para incluir los modelos que salieron esta semana. En mi experiencia usándolos, el salto es extremadamente significativo.</p><p>Si extendemos la tendencia (y se ha mantenido durante años sin signos de aplanarse), estamos viendo una IA que puede trabajar de forma independiente durante días dentro del próximo año. Semanas dentro de dos. Proyectos de un mes de duración dentro de tres.</p><p>Dario Amodei (CEO de Anthropic) ha dicho que los modelos de IA “sustancialmente más inteligentes que casi todos los humanos en casi todas las tareas” están en camino para 2026 o 2027.</p><p>Deja que eso se asiente por un segundo. Si la IA es más inteligente que la mayoría de los doctores (PhDs), ¿realmente crees que no puede hacer la mayoría de los trabajos de oficina?</p><h3>La IA ahora construye la próxima IA</h3><p>Hay una cosa más sucediendo que creo que es el desarrollo más importante y el menos comprendido.</p><p>El 5 de febrero, OpenAI lanzó GPT-5.3 Codex. En la documentación técnica, incluyeron esto:</p><p><em>“GPT-5.3-Codex es nuestro primer modelo que fue instrumental en su propia creación. El equipo de Codex utilizó versiones tempranas para depurar su propio entrenamiento, gestionar su propio despliegue y diagnosticar resultados de pruebas y evaluaciones”.</em></p><p>Lee eso de nuevo. La IA ayudó a construirse a sí misma.</p><p>Esto no es una predicción sobre algo que podría pasar algún día. Esto es OpenAI diciéndote, ahora mismo, que la IA que acaban de lanzar fue usada para crearse a sí misma. Una de las cosas principales que hace que la IA sea mejor es la inteligencia aplicada al desarrollo de la IA. Y la IA ya es lo suficientemente inteligente como para contribuir significativamente a su propia mejora.</p><p>Dario Amodei dice que la IA ya escribe “gran parte del código” en su empresa, y que el ciclo de retroalimentación entre la IA actual y la IA de próxima generación está “cobrando fuerza mes a mes”. Dice que podríamos estar “a solo 1 o 2 años de un punto en el que la generación actual de IA construya de forma autónoma la siguiente”.</p><p>Cada generación ayuda a construir la siguiente, que es más inteligente, que construye la siguiente más rápido, que es aún más inteligente. Los investigadores llaman a esto una <strong>explosión de inteligencia</strong>. Y las personas que lo saben — los que lo están construyendo — creen que el proceso ya ha comenzado.</p><h3>Qué significa esto para tu trabajo</h3><p>Voy a ser directo contigo porque creo que mereces honestidad más que consuelo.</p><p>Amodei ha predicho públicamente que la IA eliminará el 50% de los trabajos administrativos (white-collar) de nivel inicial en un plazo de uno a cinco años. Y mucha gente en la industria cree que está siendo conservador. Dada la capacidad de los últimos modelos, la posibilidad de una disrupción masiva podría estar aquí para finales de este año. Tardará un tiempo en propagarse por la economía, pero la capacidad subyacente está llegando ya.</p><p>Esto es diferente a cualquier ola anterior de automatización. La IA no está reemplazando una habilidad específica. Es un sustituto general del trabajo cognitivo. Mejora en todo simultáneamente.</p><p>Si tu trabajo ocurre en una pantalla (si el núcleo de lo que haces es leer, escribir, analizar, decidir, comunicarte a través de un teclado), entonces la IA viene por partes significativas de él. El cronograma no es “algún día”. Ya ha comenzado.</p><h3>Qué deberías hacer en realidad</h3><p>No escribo esto para que te sientas impotente. Lo escribo porque creo que la mayor ventaja que puedes tener ahora mismo es simplemente ser de los primeros. El primero en entenderlo. El primero en usarlo. El primero en adaptarse.</p><ol><li><strong>Empieza a usar la IA en serio:</strong> No solo como un buscador. Paga la suscripción de Claude o ChatGPT. Son $20 al mes. Asegúrate de usar el mejor modelo disponible (GPT-5.3 o Claude Opus 4.6), no el que viene por defecto.</li><li><strong>Empújala hacia tu trabajo real:</strong> Si eres abogado, dale un contrato y pídele que encuentre cláusulas dañinas. Si eres gerente, dale datos trimestrales y pídele que encuentre la historia detrás de ellos. No la uses para preguntas rápidas; úsala para automatizar las partes de tu trabajo que solían tomarte horas.</li><li><strong>Sé la persona que sabe:</strong> El que entra en una reunión y dice “usé IA para hacer este análisis en una hora en lugar de tres días” será la persona más valiosa de la sala. Esa ventana de ventaja no durará mucho; una vez que todos lo descubran, la ventaja desaparece.</li><li><strong>Prepara tu casa financiera:</strong> Si crees que los próximos años traerán disrupción, la resiliencia financiera importa más que nunca. Ahorra si puedes, sé cauteloso con nuevas deudas.</li><li><strong>Apóyate en lo difícil de reemplazar:</strong> Relaciones humanas, confianza construida por años, trabajos que requieren presencia física o responsabilidad legal/licenciada. Esto no es un escudo permanente, pero te compra tiempo. Y el tiempo es lo más valioso que tienes ahora mismo, siempre y cuando lo uses para adaptarte.</li></ol><h3>Lo que yo sé</h3><p>Sé que esto no es una moda pasajera. La tecnología funciona, mejora de forma predecible y las instituciones más ricas de la historia están comprometiendo billones de dólares en ella.</p><p>Sé que los próximos dos a cinco años van a ser desorientadores de formas para las que la mayoría no está preparada. Esto ya está pasando en mi mundo. Está llegando al tuyo.</p><p>Sé que las personas que saldrán mejor paradas son las que empiecen a involucrarse ahora, no con miedo, sino con curiosidad y sentido de urgencia.</p><p>Y sé que mereces escuchar esto de alguien a quien le importas, no de un titular dentro de seis meses cuando sea demasiado tarde para adelantarte.</p><p>Estamos más allá del punto en el que esto es una conversación interesante de sobremesa sobre el futuro. El futuro ya está aquí. Simplemente no ha llamado a tu puerta todavía.</p><p>Está a punto de hacerlo.</p><p><strong>Créditos:</strong></p><ul><li><strong>Autor original:</strong> Matt Shumer (<a href="https://x.com/mattshumer_">@mattshumer_</a>)</li><li><strong>Publicación original:</strong> <a href="https://shumer.dev/something-big-is-happening">shumer.dev</a> (9 de febrero de 2026)</li><li><strong>Traducción:</strong> Generada con asistencia de IA para fines educativos y de divulgación.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0119c5dc13ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Por qué tus hijos nunca aprenderán a programar (y está bien)]]></title>
            <link>https://luisrangelc.medium.com/por-qu%C3%A9-tus-hijos-nunca-aprender%C3%A1n-a-programar-y-est%C3%A1-bien-402fcfa845ae?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/402fcfa845ae</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 18:13:51 GMT</pubDate>
            <atom:updated>2025-06-09T18:13:51.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*avnDTOTNTjCwXqtY.jpg" /><figcaption>“Papá, ¿por qué aprendería a programar si simplemente puedo decirle a la computadora lo que quiero que haga?”</figcaption></figure><p>Mi hija de 12 años me lo preguntó mientras me veía depurar un script en Python. Ella estaba usando ChatGPT para construir un sitio web para su proyecto escolar: describía su visión en inglés y recibía HTML/CSS funcional como respuesta. Sin errores de sintaxis, sin búsquedas en Stack Overflow, sin frustración. Solo creación pura.</p><p>En ese momento comprendí algo profundo: mi hija representa la última generación que tendrá la opción de aprender programación tradicional. Sus hijos casi con certeza no la tendrán.</p><p>Pero esto no es una tragedia: es evolución. Y está ocurriendo más rápido de lo que muchos en nuestra industria están dispuestos a admitir.</p><h3>La gran escalera de abstracción</h3><p>Para entender por qué la programación tal como la conocemos está terminando, observemos la escalera de abstracción que hemos ido subiendo durante los últimos 70 años:</p><ul><li>1940s: los programadores reconfiguraban el hardware físico</li><li>1950s: código máquina (instrucciones binarias)</li><li>1960s: lenguaje ensamblador (mnemónicos legibles para humanos)</li><li>1970s: lenguajes de alto nivel (COBOL, FORTRAN, C)</li><li>1980s: programación orientada a objetos (C++, Smalltalk)</li><li>1990s: lenguajes interpretados (Python, JavaScript)</li><li>2000s: frameworks y librerías (Rails, React, Spring)</li><li>2010s: plataformas y servicios en la nube (AWS, Docker, Kubernetes)</li><li>2020s: programación asistida por IA (Copilot, ChatGPT)</li><li>2030s: programación en lenguaje natural</li></ul><p>Cada paso nos aleja más de la complejidad subyacente y hace que la creación de software sea más accesible. El siguiente paso — la programación en lenguaje natural — será el último. Después de eso, ya no queda nada por abstraer.</p><h3>Lo que realmente hace la generación de mi hija</h3><p>Mientras yo le enseño bucles y condicionales en Python, ella ya opera a un nivel más alto:</p><ul><li>En lugar de aprender sintaxis, describe resultados deseados en lenguaje natural</li><li>En lugar de depurar, itera descripciones hasta que la IA comprende su intención</li><li>En lugar de investigar APIs, le pide a la IA integrar los servicios que necesita</li><li>En lugar de optimizar algoritmos, se enfoca en la experiencia del usuario y la resolución creativa de problemas</li></ul><p>Ella no está aprendiendo a programar: está aprendiendo a diseñar, dirigir y estructurar. Estas son habilidades distintas, mucho más valiosas en un mundo dominado por la IA.</p><h3>La falsa urgencia de enseñar a programar</h3><p>El impulso actual por enseñar a “todos” a programar se basa en un malentendido de hacia dónde va la tecnología. Padres y educadores ven la programación como la nueva alfabetización, esencial para el éxito futuro.</p><p>Pero considera este paralelo: en 1900, saber operar una imprenta era valioso. Para 1950, con la impresión offset y la composición digital, se volvió obsoleto. Hoy nadie argumenta que los niños deben aprender composición manual para entender la publicación.</p><p>Del mismo modo, la programación manual está pasando de ser una habilidad esencial a una curiosidad histórica. Los niños que aprenden a programar hoy están como los que aprendían tipografía manual en 1940: dominando una habilidad que será automatizada antes de alcanzar su auge profesional.</p><h3>¿Qué aprenderán entonces?</h3><p>Las habilidades que seguirán siendo exclusivamente humanas:</p><ul><li><strong>Pensamiento sistémico</strong></li><li><strong>Descomposición de problemas</strong></li><li><strong>Diseño de restricciones creativas</strong></li><li><strong>Razonamiento ético</strong></li><li><strong>Expertise en dominios específicos</strong></li><li><strong>Psicología humana</strong></li></ul><h3>La nueva alfabetización</h3><p>Así como el lenguaje escrito reemplazó la tradición oral, la dirección de IA reemplazará la codificación manual como principal medio de creación de software. La nueva alfabetización será:</p><ul><li>Especificación de intención</li><li>Validación de resultados</li><li>Definición de restricciones</li><li>Ingeniería creativa de prompts</li><li>Integración de sistemas</li></ul><p>Estas habilidades son más abstractas que programar, pero mucho más poderosas.</p><h3>La realidad económica</h3><p><strong>Desarrollo tradicional</strong></p><ul><li>2–4 años aprendiendo a programar</li><li>40% del tiempo en código repetitivo y debugging</li><li>Productividad limitada por la escritura y sintaxis</li><li>Requiere aprendizaje continuo de nuevas tecnologías</li></ul><p><strong>Desarrollo dirigido por IA</strong></p><ul><li>6–12 meses aprendiendo dirección de IA</li><li>90% del tiempo en creatividad y resolución de problemas</li><li>Productividad limitada por imaginación y comunicación</li><li>Enfocado en comprensión del problema y validación</li></ul><h3>La división generacional</h3><ul><li><strong>Generación X y Millennials</strong>: aprendieron a programar manualmente, ven la IA como asistente</li><li><strong>Generación Z</strong>: están en transición, cómodos con la IA, ven resultados por encima de implementación</li><li><strong>Generación Alpha</strong>: aprenderán a dirigir IA, crearán software conversacionalmente</li></ul><h3>La transformación educativa</h3><p>Las instituciones progresistas ya están cambiando:</p><ul><li><strong>Ciencia de la Computación tradicional</strong> → <strong>Pensamiento computacional moderno</strong></li><li><strong>Proyectos clásicos</strong> → <strong>Proyectos impulsados por IA y resolución de problemas reales</strong></li></ul><h3>Implicaciones profesionales</h3><p><strong>Para programadores actuales</strong></p><ul><li>Las habilidades tradicionales seguirán valiosas 5–10 años</li><li>Pero la dirección de IA será crítica para mantenerse vigente</li><li>Enfócate en arquitectura, no solo implementación</li></ul><p><strong>Para empresas de software</strong></p><ul><li>Los ciclos de desarrollo se acelerarán 10x</li><li>Se necesitarán menos programadores, más directores de IA</li><li>La ventaja competitiva estará en la identificación de problemas</li></ul><p><strong>Para startups</strong></p><ul><li>Las barreras técnicas desaparecerán</li><li>El éxito dependerá de la visión y el entendimiento del usuario</li></ul><h3>Argumentos en contra (y sus respuestas)</h3><ul><li>“Necesitas saber fundamentos para dirigir IA” → como no necesitas ensamblador para escribir Python, no necesitarás Python para dirigir IA</li><li>“La IA comete errores que solo los humanos detectan” → las tasas de error de IA están cayendo, las humanas no</li><li>“Los sistemas complejos necesitan visión humana” → la IA ya diseña chips y fármacos</li><li>“Los niños deben aprender habilidades difíciles” → dirigir IA bien <strong>es</strong> difícil</li></ul><h3>Beneficios cognitivos: lo que perdemos y ganamos</h3><p><strong>Lo que perdemos</strong></p><ul><li>Pensamiento paso a paso</li><li>Precisión</li><li>Depuración sistemática</li><li>Comprensión de la complejidad computacional</li></ul><p><strong>Lo que ganamos</strong></p><ul><li>Pensamiento sistémico</li><li>Descomposición creativa</li><li>Colaboración humano-IA</li><li>Enfoque en resultados</li></ul><h3>Cronología del cambio</h3><ul><li><strong>2024–2026</strong>: la educación tradicional predomina, IA asistente es común</li><li><strong>2027–2029</strong>: escuelas progresistas cambian a dirección de IA</li><li><strong>2030–2032</strong>: se vuelve el estándar</li><li><strong>2033–2035</strong>: la mayoría del software se crea así</li><li><strong>2036–2040</strong>: los jóvenes nunca escribieron código manualmente</li></ul><h3>Preparando a los niños para un mundo nativo de IA</h3><p>En lugar de forzarles a aprender sintaxis obsoleta, mejor desarrolla habilidades que sí durarán:</p><ul><li>Pensamiento crítico</li><li>Resolución creativa de problemas</li><li>Comunicación clara</li><li>Conocimiento profundo en áreas específicas</li><li>Razonamiento ético</li><li>Emprendimiento</li></ul><h3>El reto emocional para los padres</h3><p>Como programador, aceptar que mis hijos no necesitarán aprender a programar es aceptar que mi profesión se vuelve obsoleta. Pero cada generación pasa por esto: agricultores, obreros, oficinistas. Ahora es el turno de los trabajadores del conocimiento.</p><h3>La verdadera pregunta</h3><p>No es si los niños deben aprender a programar. Es si los estamos preparando para el mundo en que vivirán, o para el mundo que nosotros conocemos.</p><h3>La oportunidad</h3><p>Este cambio representa una <strong>gran oportunidad</strong>. Quienes dominen la dirección de IA podrán:</p><ul><li>Crear sistemas complejos en horas</li><li>Enfocarse en resolver problemas reales</li><li>Colaborar con IA para lograr lo impensable</li><li>Innovar a velocidades nunca antes vistas</li></ul><h3>Conclusión</h3><p>Mi hija tiene razón: aprender a programar no tiene sentido para su generación. Está desarrollando habilidades más valiosas: identificar problemas, diseñar soluciones y colaborar con IA.</p><p>El pensamiento computacional no desaparece — se libera de la sintaxis y la implementación.</p><p>Y los niños que abracen esta transición tendrán un poder creativo sin precedentes.</p><p>Estarán limitados solo por su <strong>imaginación</strong>.</p><p>Y esa es una hermosa limitación.</p><p>¿Cómo piensas tú en preparar a los niños para un futuro dominado por la inteligencia artificial?<br> ¿Estás enseñando a tus hijos a programar o te estás enfocando en otras habilidades?<br> ¿Qué crees que serán las capacidades más valiosas en un mundo nativo de la IA?</p><p>Articulo original:<br><a href="https://medium.com/@coders.stop/why-your-children-will-never-learn-to-code-and-thats-okay-f4194e888daa">https://medium.com/@coders.stop/why-your-children-will-never-learn-to-code-and-thats-okay-f4194e888daa</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=402fcfa845ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop writing ‘vibe code]]></title>
            <link>https://luisrangelc.medium.com/stop-writing-vibe-code-9a410188d524?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a410188d524</guid>
            <category><![CDATA[vibe-coding-tools]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Thu, 29 May 2025 20:49:44 GMT</pubDate>
            <atom:updated>2025-05-29T21:05:03.837Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why your code feels off, your team hates debugging it, and how to fix it before it turns into a haunted house repo</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7oyroADRHBzMtIDM" /><figcaption>Vibe coding</figcaption></figure><h3>Introduction: The messy vibe of modern codebases</h3><p>Let’s get something straight: your code might be technically correct it runs, passes tests, maybe even ships to prod but it still <em>feels</em> wrong.</p><p>Not broken. Not buggy. Just… weird.<br>You open a file and your brain says “nope.”<br>Variables with names like data1, booleans called click, functions that look like they were written during a caffeine-induced vision quest. You spend more time decoding intent than actual logic. That’s not normal. That’s <strong>vibe code</strong>.</p><p>And it’s everywhere.</p><p>“Vibe code” isn’t about syntax errors or missing semicolons. It’s not something your linter will scream at you for. It’s subtler. Like a horror movie where everything looks fine on the surface but something’s off, and you just know it’s going to kill you during your next refactor.</p><p>This isn’t a problem you can outsource. Throwing a senior dev at it for $200/hour won’t magically fix your vibe. The solution isn’t in more engineers it’s in better storytelling. Because code is a conversation, and right now your functions are speaking in tongues.</p><p>We’re going to break it down. Not with buzzwords or agile fairy tales but real examples, practical fixes, and a developer-to-developer chat on why your repo might be silently making everyone hate their job.</p><h3>1. What the hell is vibe code?</h3><p>Let’s be honest: nobody sets out to write garbage.</p><p>No dev wakes up and says, <em>“Today, I shall create a React component that’s 400 lines long, tracks six unrelated states, and includes both data fetching and UI rendering in a single function. Let chaos reign.”</em></p><p>And yet… here we are.</p><p>“Vibe code” is the stuff that <em>technically works</em> but feels wrong the moment you read it. It’s like opening someone else’s diary and realizing they started three thoughts and never finished any of them. It’s disjointed. Messy. Emotionally unstable, even. You look at it and immediately sense: this code has been through some shit.</p><p>It’s not necessarily spaghetti code. Spaghetti is at least predictable in its messiness. Vibe code, though? It <strong>fakes structure</strong>. It uses modern tools. It might even have TypeScript types and a tests folder. But dig in and you’ll see function names that mean nothing (handleAction, processData, doThing), props being passed like hot potatoes, and state bouncing between components like a caffeinated squirrel.</p><p>Here’s the kicker: vibe code doesn’t break your app. It breaks your soul.</p><ul><li><strong>Cryptic variable names:</strong> data1, temp, res, x, z, y. Why not ??.</li><li><strong>Context collapse:</strong> You scroll one screen and forget what file you’re in.</li><li><strong>Emotional inconsistency:</strong> Parts feel overengineered, others duct-taped together.</li><li><strong>Function overfunctioning:</strong> Helper functions that need their own therapist.</li><li><strong>Comments that lie</strong>:<br>// TODO: refactor later from 2021.</li></ul><p>And the worst part? It spreads. One teammate writes a rushed module, another copies the pattern because “that’s how we’re doing things,” and boom your entire repo starts vibing like a startup that scaled too fast and forgot to document their feelings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PPMR8M0mzs-5WeqonDzFw.png" /></figure><h3>2. How it happens: Death by 1,000 good intentions</h3><p>Nobody sits down and thinks, <em>“Let’s architect a vibe disaster today.”</em> Most vibe code comes from good intentions stacked poorly over time like Jenga pieces balancing on Red Bull cans.</p><p>You’re shipping fast. Maybe it’s a weekend project. Maybe the product team just dropped another feature request three hours before the sprint ends. So you slap on a useEffect, toss a new prop into a component, and tell yourself:</p><p><em>“I’ll clean this up later.”</em></p><p>Spoiler: <strong>you won’t.</strong></p><p>And that’s fine until six more developers do the same thing, in six different ways, across six different files. What was once “temporary” becomes doctrine. What was once “just a quick fix” becomes your new standard.</p><p>Sometimes the AI ​​writes temporary files that I forget to check or delete.</p><p>Before long, your codebase starts to feel like it was written during a blackout by five different people, each of whom had access to only one-third of the requirements and two-thirds of the caffeine.</p><ul><li>Someone renames a function but forgets to update the comment above it. Now it lies.</li><li>You copy a utility from StackOverflow complete with edge-case handling for problems your app will never have.</li><li>A state variable is added “just in case” and no one ever removes it.</li><li>Logic spreads into UI components because <em>“we didn’t want to over-abstract.”</em></li></ul><p>It’s all micro-decisions. All <em>reasonable</em>. All <em>well-meaning</em>. But collectively, they erode the clarity of your repo like code termites invisible, but devastating over time.</p><p>This is how vibe code wins: not with big errors, but with a slow, quiet descent into ambiguity.</p><h3>3. Why vibe code is dangerous</h3><p>Let’s stop pretending this is just about “clean code” or “developer aesthetics.” Vibe code isn’t just annoying it’s dangerous.</p><p>It doesn’t crash your app. It crashes your <strong>momentum</strong>.<br>It creates that low-level anxiety when opening files. That dread when debugging someone else’s logic. That deep sigh before diving into a utils.js file with 800 lines and no exported functions in sight.</p><p>Onboarding takes longer. Feature velocity drops. You spend more time <em>reading</em> than <em>writing</em>. New devs ask the same questions again and again because the code doesn’t answer anything by itself.</p><p>You ever heard someone say, <em>“Just follow the pattern”</em> but there <strong>is no pattern</strong>?</p><p>That’s vibe code.</p><p>There’s tech debt (which we acknowledge).<br>Then there’s vibe debt (which we don’t).</p><p>Vibe debt is when every function you touch requires a mental model of someone else’s emotional state when they wrote it.<br>Was this a rushed hotfix? An abandoned refactor? A passive-aggressive decision by a burnt-out engineer?</p><p>Now you’re not just writing logic. You’re reading mood swings.</p><p>And worst of all…</p><p>You start avoiding certain files. You mentally blacklist parts of the codebase. And if someone assigns you a ticket that touches SidebarLegacyWrapper, you fake your own death on Slack.</p><p>Teams start losing ownership. You get whispers like:</p><ul><li>Yeah, we don’t really touch that module anymore.</li><li>We wanted to refactor it, but… it’s complicated.</li><li>It works though, right?</li></ul><p>And that’s the trap: <em>it works, but no one wants to touch it.</em></p><p>That’s when your codebase turns into a museum of abandoned logic. It becomes sacred not because it’s beautiful, but because it’s cursed.</p><h3>4. Spotting vibe code in the wild</h3><p>You don’t need a linter to find vibe code.<br>You just need to read it and listen to your gut.</p><p>The easiest way to recognize vibe code? You feel like you’re debugging someone else’s brain, not the actual logic.</p><p>Here’s your field guide to identifying it in its natural habitat:</p><pre>const data1 = res.data;<br>const data2 = data1.items;<br>const final = data2.filter(i =&gt; i.flag);</pre><p>tbh, It seems like I had the vibe code style in my early days :D (1,998–2,002)</p><p><em>What’s </em><em>data1? What’s </em><em>final finalizing? What’s even happening?</em></p><p>If your variables sound like temporary storage buckets instead of nouns from your domain, congratulations you’ve got vibe code. These names aren’t just unclear; they’re cowardly. They hide intention.</p><pre>if (isOpen &amp;&amp; !active &amp;&amp; click) {<br>  toggle();<br>}</pre><p><em>What is </em><em>click? A boolean? A noun? A state of being? Did someone astrally project into this if statement?</em></p><p>Boolean flags without clear names (hasClicked, shouldToggleModal, isUserActive) are how vibe code starts gaslighting you.</p><p>You open a React component. You expect, you know… a component.<br>Instead, you find:</p><ul><li>UI rendering</li><li>Business logic</li><li>API calls</li><li>Local storage side effects</li><li>One useEffect that&#39;s longer than your weekly grocery list</li></ul><p>This file has <em>no identity</em>. It’s doing too much. It has no boundaries. It is, essentially, the “Everything Everywhere All At Once” of codebases.</p><pre>const [x, setX] = useState({});</pre><p>No one including the original author remembers what x is.</p><p>State that exists without narrative context is dangerous. If you ever write state like:</p><pre>const [temp, setTemp] = useState(null);</pre><p>…without at least a clear comment or named type, you’ve just created a vibe ghost.</p><pre>// sorry, this is messy. fix later maybe</pre><p>This is the vibe code equivalent of finding a note in a hotel drawer that says “RUN.”</p><p>If your past self wrote an apology into the code, it means they knew they were doing something dirty and now it’s your problem.</p><p>If you ever scroll through a file and think,</p><p><em>“This looks fine… but something feels cursed,”</em><br>you’re probably staring into the abyss of vibe code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3pkSDf4US21TkUwBzJC9BA.png" /></figure><h3>5. How to fix it: Become a code therapist</h3><p>You don’t need to rewrite the whole codebase. You just need to refactor how you <em>think</em> about writing code.</p><p>The goal? Make your code less chaotic roommate, more thoughtful coworker. That starts with <strong>intent</strong> not just implementation.</p><p>Here’s how you turn vibe code into readable, stable, maintainable software:</p><p>If you need a comment to explain what a variable does, it’s probably named wrong.</p><pre>// before<br>const temp = res.data[0].x;</pre><pre>// after<br>const primaryUserId = response.data[0].id;</pre><p>Stop naming things after how they’re implemented (temp, res, obj) and name them after what they <strong>mean</strong>.</p><p>A good function:</p><ul><li>Has one clear purpose</li><li>Reads top-to-bottom without jumps</li><li>Doesn’t require mental backflips</li></ul><p>If your function has:</p><ul><li>Nested ternaries</li><li>Mixed concerns (fetching, transforming, rendering)</li><li>Multiple exit points and side effects</li></ul><p>…it’s a breakup letter disguised as logic.</p><p>Split it. Clean it. Narrate it.</p><p>When rewriting vibe code, don’t just <em>clean it</em> retell the story.</p><ul><li>Start with the outcome: What does this module do?</li><li>Move supporting logic closer to where it’s used</li><li>Delete “legacy” variables still haunting the file</li></ul><p>Refactoring isn’t just about DRY. It’s about clarity.<br>Sometimes, duplicating a few lines is <em>better</em> than shoving them into a generic utility nobody understands.</p><p>Vibe code loves disappearing context.<br>Use commits to <em>talk to your future self</em>.</p><p><strong>Bad:</strong></p><pre>matlab</pre><pre>fix<br>changes<br>cleanup again</pre><p><strong>Good:</strong></p><pre>Refactored handleCheckout to separate payment logic<br>Added explicit variable for selectedCountryId<br>Removed unused useEffect from ShippingSummary</pre><p>Treat your Git history like a journal. If someone had to debug this app after you vanished, would they understand what happened?</p><p>Organize code by <strong>concern</strong>, not by random file conventions.</p><p><strong>Bad:</strong></p><ul><li><em>components/button.js</em></li><li><em>components/buttonUtils.js</em></li><li><em>hooks/useButtonFlow.js</em></li></ul><p><strong>Better:</strong></p><ul><li><em>button/Components.js</em></li><li><em>button/utils.js</em></li><li><em>button/useFlow.js</em></li></ul><p>The folder is the story. The files are the pages. Stop scattering the chapters like you’re writing fanfic on a sugar high.</p><h3>6. Writing code people want to read</h3><p>The highest compliment another developer can give your code isn’t “clever.” It’s:</p><p><em>Oh, I didn’t need to ask anything. It just made sense.</em></p><p>That’s the dream. Writing code that <em>feels right</em> on first read — not because it’s simple, but because it’s <strong>intuitive</strong>.<br>It tells a clear story. It doesn’t try to be cute. It just works — and makes others feel like they could’ve written it too.</p><p>Here’s how to do that:</p><p>Use nouns and verbs that make sense in the domain.</p><p>Instead of something vague like fetchData(), go with something more intentional like getActiveUsers().</p><p>Instead of naming a boolean bool1 or click, call it shouldShowModal or hasUserClicked. Give it context. Make it sound like it belongs in the story you&#39;re telling not a placeholder from a tutorial.</p><p>Readable code isn’t about minimalism. It’s about legibility.<br>Break things into steps. Don’t inline everything just to save lines.</p><pre>// unreadable<br>return a.filter(x =&gt; x.active &amp;&amp; x.roles.includes(&#39;admin&#39;)).map(x =&gt; x.name);</pre><pre>// readable<br>const activeAdmins = users.filter(user =&gt; {<br>  return user.active &amp;&amp; user.roles.includes(&#39;admin&#39;);<br>});<br>const adminNames = activeAdmins.map(user =&gt; user.name);<br>return adminNames;</pre><p>One takes longer to write. The other takes seconds to understand.<br>Guess which one survives refactors?</p><p>Every file should answer these questions:</p><ul><li>What is this file about?</li><li>What is the main thing it does?</li><li>What can I safely ignore?</li></ul><p>Consistent structure builds reader confidence.<br>Give people landmarks: constants up top, function logic below, exports at the bottom. Stop making readers play <em>Where’s Waldo?</em></p><p>Well-written code explains itself.<br>But don’t underestimate the power of a comment when needed.</p><p>Use comments for <strong>why</strong>, not <strong>what</strong>.</p><pre>// this ensures legacy users aren&#39;t shown a blank screen after logout<br>if (!user &amp;&amp; prevUser) {<br>  redirectToDashboard();<br>}</pre><p>That one line prevents 6 Slack questions next week.</p><p>Readable code is empathetic code.<br>It anticipates confusion and prevents it before it happens.<br>It’s the difference between a teammate and a trap.</p><h3>7. But my team doesn’t care why should I?</h3><p>Ah yes, the classic internal monologue:</p><p><em>Why am I naming variables properly when everyone else is out here copy-pasting from ChatGPT and committing directly to main?</em></p><p>Fair. But here’s the hard truth: <strong>clean code is not a group activity it starts personal.</strong></p><p>You write readable code <strong>for yourself first</strong>, for the dev you’ll be three months from now. For the person debugging this at 2AM. For the reviewer who won’t leave 18 comments. For the junior dev who just joined and is trying not to quit.</p><p>Even in a team that doesn’t care, your work can set the tone.</p><p>The biggest mistake devs make is waiting for team consensus before leveling up the codebase.</p><p>Don’t.</p><ul><li>Start with one file.</li><li>Write one good function.</li><li>Leave one helpful comment.</li><li>Rename one cursed variable.</li></ul><p>That’s how you build inertia. Codebases don’t change through meetings they change through example.</p><p>In every team, there’s that one dev whose code people start using as reference.</p><p>Be that dev.</p><p>Others will:</p><ul><li>Copy your patterns</li><li>Reuse your utilities</li><li>Base structure on your commits</li></ul><p>And suddenly, that utils/ folder stops being a dumping ground and becomes your blueprint.</p><p>You still win.</p><ul><li>You grow as an engineer.</li><li>You build a personal portfolio of well-written modules.</li><li>You make the code easier for <em>yourself</em> to maintain.</li></ul><p>Clean code is the most selfishly generous thing you can do.</p><p>So don’t wait for permission. Don’t wait for the rest of the team to read that Clean Code PDF from 2009. Just start.</p><h3>8. The $200/hour myth</h3><p>Somewhere between the fifth broken state hook and the eleventh rerender bug, you start thinking:</p><p><em>Maybe we just need to hire a senior dev for a few hundred an hour to fix this mess.</em></p><p>And look experienced developers are great. They’ll absolutely spot things you missed. They’ll lay out better patterns. They’ll help your team level up.</p><p>But here’s the truth nobody wants to say:</p><p><strong>You don’t need to hire someone to fix your codebase. You need to stop writing vibe code in the first place.</strong></p><p>You can bring in a $200/hour expert.<br>They’ll clean up a few files, document a pattern, and maybe set up ESLint properly.</p><p>But if your team keeps naming variables like thing, stuffing four concerns into one function, and pushing commits like fixed stuff, you’ve just bought a $200/hour Band-Aid.</p><h3>What you really need is perspective</h3><p>Most devs don’t refactor because they don’t read their code like strangers.</p><p>Try this:</p><ul><li>Clone your repo.</li><li>Open it in a fresh editor.</li><li>Pretend you’re onboarding for the first time.</li><li>Ask: “Would I trust this code to run in production… at 3AM… during a Black Friday sale?”</li></ul><p>If the answer is “hell no,” now you know where to start.</p><p>You don’t need to delete and rebuild.<br>You need to make the existing code <em>understandable</em>.</p><ul><li>Rename the unclear variables.</li><li>Move logic into smaller helpers.</li><li>Add comments that explain weird decisions.</li><li>Group files by intent, not by file extension.</li></ul><p>This isn’t about money. It’s about mindset.</p><p>The only difference between a $200/hour dev and a mid-level dev is that seniors can spot problems from a higher altitude. They’re trained to zoom out, trace intent, and connect patterns.</p><p>Good news: <strong>you can learn that.</strong></p><p>Start now, with your own code.</p><h3>9. Conclusion: Code is a conversation</h3><p>At the end of the day, vibe code isn’t a bug it’s a communication failure.</p><p>Your code talks to your teammates. To your future self. To that poor intern trying to understand why a component named ModalHandlerLegacyWrapper2 controls the payment flow.</p><p>So what’s the message?</p><p>Is it:<br><em>Hey, this is clean and thoughtful. You’re safe here.</em><br>Or:<br><em>Good luck. May the commits be ever in your favor.</em></p><p>You decide that one variable, one function, one file at a time.</p><p><em>Readable code isn’t a luxury. It’s a multiplier.<br>It makes you faster. It makes teams calmer. It makes debugging suck less.</em></p><p><em>And no, you don’t need a $200/hour engineer to refactor your mess.</em></p><p><em>You just need to start writing code like it matters.</em></p><p><em>Because it does.</em></p><h3>Helpful Resources because you’re not alone in this mess</h3><ul><li><a href="http://redirect.medium.systems/r-raypafj8u2?source=email-5db2c1cc7bca-1748524193583-newsletter.subscribeToProfile--56e8bce5f137-----------------------bb9bbebb_e839_4c85_bed4_dcc217328f39--------9435bc6b808b"><strong>Clean Code by Robert C. Martin</strong></a><br><em>The book that’ll make you ashamed of every variable name you’ve ever written.</em></li><li><a href="http://redirect.medium.systems/r-NdKUsTMJWe?source=email-5db2c1cc7bca-1748524193583-newsletter.subscribeToProfile--56e8bce5f137-----------------------bb9bbebb_e839_4c85_bed4_dcc217328f39--------9435bc6b808b"><strong>Refactoring Guru</strong></a><br><em>Design patterns explained in plain English not academic nonsense.</em></li><li><a href="http://redirect.medium.systems/r-O7h7Pbw_E3?source=email-5db2c1cc7bca-1748524193583-newsletter.subscribeToProfile--56e8bce5f137-----------------------bb9bbebb_e839_4c85_bed4_dcc217328f39--------9435bc6b808b"><strong>Overreacted by Dan Abramov</strong></a><br><em>Dev wisdom with a human voice, sarcasm included.</em></li><li><a href="http://redirect.medium.systems/r-3OVPAR9_hn?source=email-5db2c1cc7bca-1748524193583-newsletter.subscribeToProfile--56e8bce5f137-----------------------bb9bbebb_e839_4c85_bed4_dcc217328f39--------9435bc6b808b"><strong>A Philosophy of Software Design</strong></a><br><em>Why simplicity is hard and why you should aim for it anyway.</em></li><li><a href="http://redirect.medium.systems/r-S6Ry6xLqRH?source=email-5db2c1cc7bca-1748524193583-newsletter.subscribeToProfile--56e8bce5f137-----------------------bb9bbebb_e839_4c85_bed4_dcc217328f39--------9435bc6b808b"><strong>Google Engineering Practices</strong></a><br><em>How big teams keep their code from turning into vibe soup.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FCfUCfbcQicWSXDd" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a410188d524" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7-Day Motorcycle Journey: Guatemala to Oaxaca]]></title>
            <link>https://luisrangelc.medium.com/7-day-motorcycle-journey-guatemala-to-oaxaca-8e96ece388f2?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e96ece388f2</guid>
            <category><![CDATA[motorcycle]]></category>
            <category><![CDATA[trails]]></category>
            <category><![CDATA[adventure-travel]]></category>
            <category><![CDATA[adventure]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Wed, 21 May 2025 00:39:38 GMT</pubDate>
            <atom:updated>2025-05-21T00:39:38.711Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wRmU_N843WTlkznX" /></figure><p><strong>Pre-Trip Preparation</strong></p><p><strong>Documentation Requirements</strong></p><ul><li>Valid passport with at least 6 months validity</li><li>Mexican tourist card (FMM) — obtainable at the border</li><li>Driver’s license (international driving permit recommended)</li><li>Motorcycle registration documents (original)</li><li>Temporary vehicle import permit (TVIP) for Mexico</li><li>Proof of motorcycle insurance valid in Mexico</li><li>Copies of all documents (physical and digital)</li></ul><p><strong>Motorcycle Preparation</strong></p><ul><li>Complete mechanical inspection (brakes, tires, chain, fluids)</li></ul><p>Consider installing:</p><ul><li>Windscreen for highway comfort</li><li>Saddlebags/panniers (waterproof recommended)</li><li>USB charger for navigation devices</li><li>Extra fuel capacity if possible</li><li>Carry essential tools and spare parts (spark plugs, fuses, cables)</li></ul><p><strong>Packing Essentials</strong></p><ul><li>Riding gear: Helmet, jacket, gloves, boots, rain gear</li><li>First aid kit with personal medications</li><li>Cash in USD and Mexican Pesos (ATMs can be scarce)</li><li>Offline maps and GPS device/smartphone mount</li><li>Spanish phrasebook/translation app</li></ul><p><strong>Day 1: Guatemala City to San Cristóbal de las Casas (Long Riding Day)</strong><br>*Distance: ~380 km (235 miles) | Riding time: 8–9 hours + border crossing*</p><p>Early Morning<br>- **5:00 AM**: Final motorcycle checks<br>- **5:30 AM**: Depart Guatemala City via CA-1 (Pan-American Highway)<br>- **9:00 AM**: Arrive at La Mesilla border crossing<br> * Complete Guatemala exit procedures<br> * Enter Mexico at Ciudad Cuauhtémoc<br> * Process tourist card (FMM) and temporary vehicle import permit (TVIP)<br> * Purchase Mexican insurance if needed</p><p>Afternoon<br>- **12:00 PM**: Quick lunch in Comitán de Domínguez at <a href="https://maps.app.goo.gl/G99u219hH8hY3UuX8">Restaurante El Sabor de Comitan</a><br>- **1:00 PM**: Continue journey to San Cristóbal de las Casas<br>- **4:30 PM**: Arrive in San Cristóbal de las Casas<br>- **5:00 PM**: Check in at <a href="https://maps.app.goo.gl/1jiw8PATqBBY61ZK8">Hotel Posada Diego de Mazariegos</a><br> * Address: María Adelina Flores #2, Centro<br> * Secure motorcycle parking available</p><p>Evening<br>- **7:00 PM**: Dinner at <a href="https://maps.app.goo.gl/iA9CYf12PAD2fuby8">El Fogón de Jovel</a><br> * Try local Chiapas cuisine: sopa de pan, tasajo<br>- **8:30 PM**: Rest and prepare for next long riding day</p><p><strong>Day 2: San Cristóbal de las Casas to Oaxaca City (Long Riding Day)</strong><br>*Distance: ~550 km (340 miles) | Riding time: 10–11 hours*</p><p>Early Morning<br>- **5:00 AM**: Breakfast at hotel<br>- **5:30 AM**: Depart for Oaxaca via Tuxtla Gutiérrez and Mexico 190<br>- **8:00 AM**: Brief stop in Tuxtla Gutiérrez for fuel and coffee<br>- **9:00 AM**: Continue journey through mountains</p><p>Afternoon<br>- **12:30 PM**: Lunch stop in Tehuantepec at Restaurante El Deborah<br> * Quick meal and rest<br>- **1:30 PM**: Continue final leg to Oaxaca City<br> * Challenging mountain roads with switchbacks<br> * Several scenic viewpoints for quick photo stops</p><p>Evening<br>- **6:30 PM**: Arrive in Oaxaca City<br>- **7:00 PM**: Check in at <a href="https://maps.app.goo.gl/epqH9bFqvuQr1R1k7">Hotel Quinta Real Oaxaca</a><br> * Address: 5 de Mayo #300, Centro<br> * Secure parking for motorcycle<br>- **8:30 PM**: Light dinner at <a href="https://maps.app.goo.gl/S5d3Lf5dSgNumv2w5">La Olla</a><br> * Address: Reforma #402<br> * Simple but authentic Oaxacan cuisine</p><p><strong>Day 3: Exploring Oaxaca City — Cultural Day</strong><br>*Local riding only*</p><p>Morning<br>- **8:30 AM**: Breakfast at <a href="https://maps.app.goo.gl/7Pf6YdfmEwpYKVYY7">Boulenc</a><br> * Address: Calle Porfirio Díaz #207<br>- **10:00 AM**: Visit Monte Albán archaeological site<br> * UNESCO World Heritage site<br> * Short motorcycle ride from city center</p><p>Afternoon<br>- **1:30 PM**: Lunch at <a href="https://g.co/kgs/Mj1UTMa">Mercado 20 de Noviembre</a><br> * Try tlayudas and tejate (traditional corn drink)<br>- **3:00 PM**: Visit Santo Domingo Church and Cultural Center<br>- **5:00 PM**: Business meeting at hotel conference room or local business center</p><p>Evening<br>- **7:30 PM**: Dinner at Casa Oaxaca<br> * Address: Constitución #104-A<br> * Reservations recommended<br> * Specialties: Mole negro, mezcal tasting</p><p><strong>Day 4: Oaxaca Valley Exploration — Meeting Day</strong><br>*Short local rides*</p><p>Morning<br>- **8:00 AM**: Breakfast at hotel<br>- **9:30 AM**: Ride to Teotitlán del Valle (weaving village)<br> * ~30 km from Oaxaca City<br> * Visit textile workshops<br>- **12:00 PM**: Continue to Hierve el Agua natural springs<br> * ~70 km from Oaxaca City<br> * Dramatic calcified waterfalls</p><p>Afternoon<br>- **3:00 PM**: Return to Oaxaca City<br>- **4:00 PM**: Business meetings in Oaxaca City<br> * Potential venue: Oaxaca Business Center or hotel meeting room</p><p>Evening<br>- **7:00 PM**: Dinner at <a href="https://maps.app.goo.gl/QeS8ebbdmsv9hiH79">Los Danzantes</a><br> * Address: Macedonio Alcalá #403<br> * Contemporary Oaxacan cuisine<br>- **9:00 PM**: Evening walk around Zócalo (main square)</p><p><strong>Day 5: Oaxaca Culinary Experience — Final Meeting Day</strong><br>*No significant riding*</p><p>Morning<br>- **9:00 AM**: Breakfast at restaurant <a href="https://maps.app.goo.gl/uabsSAKLkw5KzouF6">Ancestral</a><br>- **10:30 AM**: Visit Ethnobotanical Garden (guided tour)<br>- **12:00 PM**: Cooking class at <a href="https://maps.app.goo.gl/5mhcF3tZb2JZsTkr9">Casa Crespo</a><br> * Learn to prepare traditional Oaxacan dishes<br> * Includes market tour</p><p>Afternoon<br>- **3:30 PM**: Final business meetings<br>- **5:00 PM**: Visit mezcal distillery for tour and tasting<br> * Arrange transportation if sampling mezcal</p><p>Evening<br>- **7:30 PM**: Farewell dinner at <a href="https://maps.app.goo.gl/8bcuep5yjcPjmQNN6">Origen</a><br> * Address: Hidalgo #820<br> * Chef Rodolfo Castellanos’ celebrated restaurant <a href="https://maps.app.goo.gl/xS98GV5gihB5MnqDA">Levadura de Olla</a><br>- **9:00 PM**: Motorcycle maintenance check for return journey</p><p><strong>Day 6: Oaxaca City to San Cristóbal de las Casas (Long Riding Day)</strong><br>*Distance: ~550 km (340 miles) | Riding time: 10–11 hours*</p><p>Early Morning<br>- **5:00 AM**: Breakfast at hotel<br>- **5:30 AM**: Depart Oaxaca City for San Cristóbal<br>- **9:30 AM**: Rest stop in Tehuantepec<br> * Refuel motorcycle<br> * Coffee and snack break</p><p>Afternoon<br>- **12:30 PM**: Lunch in Tuxtla Gutiérrez at <a href="https://maps.app.goo.gl/bz5K1qAGtRNKwpvn6">Restaurante Las Pichanchas</a><br>- **2:00 PM**: Continue to San Cristóbal de las Casas<br>- **5:30 PM**: Arrive in San Cristóbal de las Casas<br>- **6:00 PM**: Check in at Hotel Posada Diego de Mazariegos (same as before)</p><p>Evening<br>- **7:30 PM**: Dinner at TierrAdentro<br> * Address: Real de Guadalupe #24<br> * Indigenous-owned restaurant with traditional cuisine<br>- **9:00 PM**: Rest and prepare for final riding day</p><p><strong>Day 7: San Cristóbal de las Casas to Guatemala City (Long Riding Day)</strong><br>*Distance: ~380 km (235 miles) | Riding time: 8–9 hours + border crossing*</p><p>Early Morning<br>- **5:30 AM**: Breakfast at hotel<br>- **6:00 AM**: Depart for Guatemala border<br>- **9:30 AM**: Arrive at Ciudad Cuauhtémoc/La Mesilla border<br> * Cancel Mexican temporary vehicle import permit<br> * Complete Mexico exit procedures<br> * Enter Guatemala and process paperwork</p><p>Afternoon<br>- **12:30 PM**: Lunch in Huehuetenango at <a href="https://maps.app.goo.gl/VEdkxwWYe7N4UeE78">Restaurante Tertulianos</a><br>- **1:30 PM**: Continue journey to Guatemala City<br>- **5:30 PM**: Arrive in Guatemala City</p><p>Evening<br>- **7:00 PM**: Celebratory return dinner at Restaurante Kacao<br> * Traditional Guatemalan cuisine<br>- **8:30 PM**: Final motorcycle check and trip reflection</p><p><strong>Additional Notes for Revised Itinerary</strong></p><p><strong>Fuel Considerations</strong><br>- Premium gasoline (Magna) available at Pemex stations<br>- Plan fuel stops carefully, especially in mountain regions<br>- Fuel quality is generally good on main routes</p><p><strong>Safety Tips</strong><br>- Avoid night riding<br>- Stay on main highways when possible<br>- Keep valuables secure and not visible on motorcycle<br>- Consider traveling with other riders if possible<br>- Check weather forecasts daily (rainy season can affect roads)</p><p><strong>Long-Distance Riding Tips</strong><br>- Start rides before dawn to maximize daylight hours<br>- Take 15-minute breaks every 1.5–2 hours<br>- Stay hydrated and use electrolyte supplements<br>- Consider compression clothing for long riding days<br>- Use earplugs to reduce wind noise fatigue</p><p><strong>Border Crossing Efficiency<br></strong>- Arrive at borders early in the morning<br>- Have all documents organized and easily accessible<br>- Make photocopies of all documents<br>- Keep small denominations of currency for various fees<br>- Be patient and polite with officials</p><p><strong>Safety Considerations for Long Riding Days</strong><br>- Ensure motorcycle headlight is working properly for visibility<br>- Wear high-visibility gear<br>- Plan to arrive at destinations before dark<br>- Share your route and expected arrival times with someone<br>- Consider using a GPS tracker that friends/family can monitor</p><p><strong>Emergency Contacts</strong><br>- Mexican Tourist Assistance: 078<br>- Roadside Assistance (Angeles Verdes): 078<br>- Mexican Emergency Services: 911<br>- Guatemala Emergency: 110 or 120<br>- U.S. Embassy in Mexico City: +52 55 5080 2000<br>- U.S. Consulate in Oaxaca: +52 951 516 2853</p><p><strong>Recommended Motorcycle-Friendly Accommodations (Alternatives)</strong><br>- Huehuetenango: Hotel Los Cuchumatanes<br>- San Cristóbal: Na Bolom Hotel<br>- Tuxtla Gutiérrez: Hotel Fiesta Inn<br>- Tehuantepec: Hotel Calli<br>- Oaxaca City: Hotel Azul or Casa Oaxaca</p><p><strong>Recommended Quick-Service Motorcycle Shops</strong><br>- Guatemala City: Motorrad Service (BMW specialist)<br>- San Cristóbal: Moto Servicio Chiapas<br>- Oaxaca City: Motofix Oaxaca</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e96ece388f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Temporarily Switch to a Specific Commit Without Losing Progress]]></title>
            <link>https://luisrangelc.medium.com/how-to-temporarily-switch-to-a-specific-commit-without-losing-progress-8471646baab8?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/8471646baab8</guid>
            <category><![CDATA[js]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Tue, 20 May 2025 23:50:04 GMT</pubDate>
            <atom:updated>2025-05-20T23:50:04.373Z</atom:updated>
            <content:encoded><![CDATA[<p>When you’re deep into feature development, there are times you need to go back in time — maybe to debug a bug introduced recently, compare behavior between commits, or test something quickly. The good news? Git makes this easy without risking your progress.</p><p>Let’s walk through the cleanest way to <strong>temporarily switch to an older commit</strong>, inspect it, and return to your current work — all without losing a single line.</p><h3>The Scenario</h3><p>You’re on a feature branch with multiple commits. You want to:</p><ol><li>Jump to an earlier commit to run a test or inspect something.</li><li>Then, return to your current commit and continue working like nothing happened.</li></ol><p>This can be tricky if you’re not careful. But Git has a powerful way to handle this:</p><h3>Use git switch --detach</h3><p>The git switch command, introduced in Git 2.23, simplifies how we interact with branches. Here’s how you can use it for this workflow.</p><p>🔍 Step 1: Note your current branch name</p><pre>git branch --show-current<br># Example output: feature/refactor-invoice-endpoint</pre><p>⏪ Step 2: Detach HEAD and move to a specific commit</p><pre>git switch --detach &lt;commit-hash&gt;</pre><p>You are now in “detached HEAD” mode, which means you’re viewing the repository at a specific commit, not tied to any branch. This is <strong>perfect for safe testing or inspection</strong>.</p><p>🧪 Step 3: Run tests, check code, inspect behavior<br>In this state, you’re free to do anything except commit normally (unless you later decide to create a new branch from here).</p><p>🔁 Step 4: Return to your branch</p><pre>git switch &lt;your-branch-name&gt;</pre><p>You’re back where you left off, exactly as you left it.</p><h3>❓ What About git checkout &lt;commit-hash&gt;?</h3><p>You <strong>can</strong> use git checkout, and it does the same thing. But checkout is a bit of a Swiss Army knife—it’s overloaded and can also be used to stage files or restore files from other branches. This makes it more error-prone or confusing.</p><p>git switch was designed to <strong>clearly separate branch switching from file operations</strong>, making your Git usage more intuitive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fl7rtNG5tIH17-Ox" /></figure><h3>🧠 Final Thoughts</h3><p>This simple pattern — <strong>switch, test, return</strong> — can save you time and prevent errors when debugging or comparing commits. And with git switch --detach, it’s safer and clearer than ever.</p><p>Next time you want to go back in time with Git, do it the smart way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8471646baab8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ How I Rewound My Git Branch to Start Fresh (and Why You Might Too)]]></title>
            <link>https://luisrangelc.medium.com/how-i-rewound-my-git-branch-to-start-fresh-and-why-you-might-too-f3cff5874f69?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3cff5874f69</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[js]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Fri, 02 May 2025 20:56:28 GMT</pubDate>
            <atom:updated>2025-05-21T21:07:44.310Z</atom:updated>
            <content:encoded><![CDATA[<p>During development, it’s common to try different things, commit frequently, and end up with a branch history that feels messy or bloated. Recently, while working on a feature branch for my-ticket-2025, I found myself wanting a clean slate—but without deleting everything. Here&#39;s how I surgically rewound my Git history and started fresh from a specific point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RK7QhjLm0QVSFLci" /></figure><h3>🧠 The Scenario</h3><p>I was working on a branch named feat/my-ticket-2025. Here&#39;s a simplified view of the commit history:</p><pre>a1b2c3d chore: update test - bff      ← most recent<br>d4e5f6g chore: remove visa-related code<br>h7i8j9k chore: add docs               ← I want to restart from here<br>z1x2c3v chore: update package-lock</pre><p>After reflecting, I realized everything after chore: add docs was experimental or unneeded. So, I decided to <strong>reset my branch to that specific commit</strong>, wiping the newer ones entirely.</p><h3>🔨 The Goal</h3><p>Reset the branch to the chore: add docs commit <strong>as if the newer ones never happened</strong>.</p><h3>⚙️ The Command That Did It</h3><p>First, I located the commit hash for chore: add docs:</p><pre>git log --oneline</pre><p>Then I executed:</p><pre>git reset --hard h7i8j9k</pre><blockquote><em>Replace </em><em>h7i8j9k with the actual commit hash from your log.</em></blockquote><p>This <strong>erased</strong> everything after that commit — including local changes.</p><p>To update the remote branch and overwrite its history:</p><pre>git push origin feat/my-ticket-2025 --force</pre><h3>⚠️ A Word of Caution</h3><p>Using --hard and --force is powerful, but dangerous:</p><ul><li><strong>Use </strong><strong>--hard only if you&#39;re okay losing local changes.</strong></li><li><strong>Use </strong><strong>--force only when you&#39;re sure others aren&#39;t working on the branch</strong>, or coordinate with your team first.</li></ul><p>For safety, you can always create a backup branch before the reset:</p><pre>git branch backup/my-ticket-2025</pre><h3>✅ Clean Slate, Happy Dev</h3><p>After the reset, my branch had a clean history. I could now recommit only what truly mattered moving forward.</p><p>If you ever feel like your Git history has spiraled out of control — you can always pause, rewind, and restart. That’s the beauty of version control.</p><p>✍️ <em>Have you used </em><em>git reset --hard before? Any horror stories or productivity wins? Drop them in the comments!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3cff5874f69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vim the basics]]></title>
            <link>https://luisrangelc.medium.com/vim-the-basics-88209a8b2c25?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/88209a8b2c25</guid>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[bash]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 19:52:03 GMT</pubDate>
            <atom:updated>2025-02-14T19:52:03.390Z</atom:updated>
            <content:encoded><![CDATA[<p>Embarking on the journey to master Vim can be both exciting and daunting. As a powerful and efficient text editor, Vim offers a unique approach to text manipulation that, once mastered, can significantly enhance your productivity. This guide aims to provide beginners with a solid foundation in Vim, covering essential concepts and commands to get you started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vzV-h0mtPTRI4Yyz" /></figure><p><strong>Understanding Vim’s Modes</strong></p><p>One of the fundamental aspects of Vim is its modal nature. Unlike traditional text editors, Vim operates in different modes, each serving a specific purpose:</p><ul><li><strong>Normal Mode</strong>: This is the default mode for navigation and executing commands.</li><li><strong>Insert Mode</strong>: Used for inserting and editing text.</li><li><strong>Command-Line Mode</strong>: Employed for operations like saving files, quitting, and more.</li></ul><p>To switch to Normal mode from any other mode, press the Esc key. To enter Insert mode from Normal mode, press i. For Command-Line mode, type : followed by your command.</p><p><strong>Creating and Exiting Files</strong></p><p>To create or open a file in Vim, use the terminal command:</p><pre>nginx</pre><pre>CopyEdit</pre><pre>vim filename.ext</pre><p>Replace filename.ext with your desired file name and extension. Once inside Vim:</p><ul><li><strong>To exit without saving</strong>: Ensure you’re in Normal mode (Esc), then type :q! and press Enter.</li><li><strong>To save and exit</strong>: Press Esc to enter Normal mode, type :wq, and press Enter.</li></ul><p><strong>Basic Navigation</strong></p><p>While arrow keys can be used for navigation, Vim offers more efficient keyboard-centric methods:</p><ul><li><strong>Move left</strong>: h</li><li><strong>Move down</strong>: j</li><li><strong>Move up</strong>: k</li><li><strong>Move right</strong>: l</li></ul><p>To navigate to a specific line, press Esc to ensure you&#39;re in Normal mode, type :set number to display line numbers, then use :line_number (e.g., :10) to jump to that line.</p><p><strong>Editing Text</strong></p><p>In Insert mode, you can edit text as in most editors. To delete text in Normal mode:</p><ul><li><strong>Delete a character</strong>: Place the cursor over the character and press x.</li><li><strong>Delete a word</strong>: Place the cursor at the beginning of the word and type dw.</li><li><strong>Delete a line</strong>: Type dd.</li></ul><p><strong>Visual Mode</strong></p><p>Vim’s Visual mode allows for selecting text to perform operations like copying or deleting:</p><ul><li><strong>Character-wise selection</strong>: Press v and use navigation keys to select.</li><li><strong>Line-wise selection</strong>: Press V and navigate to select entire lines.</li><li><strong>Block-wise selection</strong>: Press Ctrl+v and navigate to select a block of text.</li></ul><p>Once the desired text is selected, you can delete it by pressing d or copy it with y. To paste, navigate to the desired location and press p.</p><p><strong>Saving Your Progress</strong></p><p>To save your work:</p><ul><li><strong>Save without exiting</strong>: Press Esc to enter Normal mode, type :w, and press Enter.</li><li><strong>Save and exit</strong>: Type :wq and press Enter.</li></ul><p><strong>Practice with Vimtutor</strong></p><p>For hands-on practice, Vim offers an interactive tutorial. In your terminal, simply type vimtutor and press Enter. This tutorial provides a practical way to familiarize yourself with Vim&#39;s functionalities.</p><p><strong>Conclusion</strong></p><p>Mastering Vim requires practice and patience. By understanding its modes, navigation, and basic commands, you’ll be well on your way to becoming proficient. Remember, the more you use Vim, the more intuitive it will become. Happy editing!</p><p><em>This guide is inspired by insights from Opensource.com’s article on </em><a href="https://opensource.com/article/19/3/getting-started-vim"><em>Getting started with Vim: The basics</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88209a8b2c25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use Cline for AI-Assisted Coding in Visual Studio Code]]></title>
            <link>https://luisrangelc.medium.com/how-to-use-cline-for-ai-assisted-coding-in-visual-studio-code-532e94c6c25e?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/532e94c6c25e</guid>
            <category><![CDATA[vscode-extension]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[cline]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Fri, 07 Feb 2025 12:57:17 GMT</pubDate>
            <atom:updated>2025-02-13T23:02:01.111Z</atom:updated>
            <content:encoded><![CDATA[<p>Cline is an AI-powered extension for Visual Studio that allows seamless integration of AI models like Claude and ChatGPT. It provides an interactive sidebar where you can chat with the AI while it has access to your entire codebase, eliminating the need for constant copy-pasting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wDX-g83z9AlfWVOe" /></figure><h3>1. Installing Cline in Visual Studio</h3><p>To get started, install the Cline extension:</p><ul><li><strong>Visual Studio Code (VS Code)</strong></li><li>Open <strong>VS Code</strong> and navigate to the <strong>Extensions</strong> marketplace.</li><li>Search for <strong>Cline</strong> or go directly to:<br>👉 <a href="https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev">Cline Extension on Visual Studio Marketplace</a></li><li>Click <strong>Install</strong> and restart VS Code if necessary.</li><li><strong>Visual Studio (Full Version)</strong></li><li>Cline currently works best in <strong>VS Code</strong>. For other versions, refer to its official GitHub repo:<br>👉 <a href="https://github.com/cline/cline">Cline GitHub Repository</a></li></ul><h3>2. Setting Up Cline with OpenRouter</h3><p>To use Claude or ChatGPT with Cline, you need an API key. The easiest way is through OpenRouter, which allows access to multiple AI models.</p><h3>Steps to Connect OpenRouter to Cline</h3><ol><li><strong>Sign Up on OpenRouter</strong></li></ol><ul><li>Go to 👉 <a href="https://openrouter.ai/">OpenRouter.ai</a></li><li>Create an account and log in.</li></ul><p><strong>2. Obtain an API Key</strong></p><ul><li>Navigate to <strong>API Keys</strong> under your OpenRouter account.</li><li>Add credits (<strong>minimum $5</strong> required).</li><li>Generate an <strong>API key</strong> and copy it.</li></ul><p><strong>3. Enter API Key in Cline</strong></p><ul><li>Open the <strong>Cline sidebar</strong> in VS Code.</li><li>Click the <strong>Options</strong> button and select your <strong>AI provider</strong>.</li><li>Choose <strong>OpenRouter</strong> and paste your <strong>API key</strong>.</li><li>Save the settings.</li></ul><h3>3. Using Cline for AI-Powered Coding</h3><p>Once configured, you can start using Cline in your development workflow:</p><ul><li><strong>Ask Coding Questions</strong><br>Simply type in the chatbox and press <strong>Enter</strong> — Cline will analyze your code and generate responses.</li><li><strong>AI-Assisted Code Generation &amp; Refactoring</strong><br>If the AI suggests creating or modifying files, <strong>confirm or reject</strong> changes as needed.</li><li><strong>Debugging &amp; Code Review</strong><br>Get AI-powered debugging suggestions and improvements for your entire project.</li></ul><h3>4. Cost Optimization Tips</h3><p>Using AI models can get expensive, so here are ways to <strong>reduce costs</strong>:</p><ul><li><strong>For Free AI Assistance</strong>:</li><li>Use <strong>Deepseek Coder R1</strong> on OpenRouter — it’s <strong>free</strong> and great for general coding tasks.</li><li>You won’t need to spend credits unless you switch to a paid model.</li><li><strong>For Low-Cost Paid Assistance</strong>:</li><li><strong>Deepseek R1 (Paid Version)</strong> is much cheaper than <strong>Claude Sonnet 3.5</strong> while still offering strong reasoning and code generation.</li><li><strong>Qwen2.5-coder-32b</strong> is another budget-friendly alternative.</li><li><strong>For Complex Reasoning &amp; Debugging</strong>:</li><li><strong>Claude Sonnet 3.5</strong> remains one of the best but is costly — use it only when necessary.</li><li>Switch back to <strong>Deepseek R1</strong> or <strong>Qwen2.5</strong> after resolving complex issues.</li><li><strong>Prefer Qwen2.5-coder-32b for General Coding Tasks</strong></li><li><strong>50x cheaper</strong> than Claude Sonnet 3.5 while still being powerful.</li><li>Available via OpenRouter.</li><li><strong>Use Claude Sonnet 3.5 for Complex Problems Only</strong></li><li>More expensive but great for deep reasoning.</li><li>Switch back to Qwen when done.</li><li><strong>Optimize OpenRouter Preferences</strong></li><li>Visit 👉 <a href="https://openrouter.ai/settings/preferences">OpenRouter Preferences</a></li><li><strong>Blacklist Fireworks and DeepInfra</strong> as their Qwen models have a <strong>smaller (33K) token limit</strong>.</li><li>The <strong>full Qwen model supports 130K tokens</strong>, which is much better.</li></ul><p>By following this guide, you’ll have AI fully integrated into your coding workflow, improving productivity while managing costs efficiently. 🚀</p><h3>Troubleshooting Cline Issues</h3><p>If you encounter any issues while using Cline, here are some common problems and solutions:</p><h4>1. Cline Not Responding / Not Connecting</h4><p>✅ <strong>Solution:</strong></p><ul><li>Ensure that your API key is correctly entered in Cline’s settings.</li><li>Check if OpenRouter is online by visiting <a href="https://openrouter.ai/">OpenRouter.ai</a>.</li><li>Restart Visual Studio Code and try again.</li></ul><h4>2. AI Model Not Generating Code or Errors Out</h4><p>✅ <strong>Solution:</strong></p><ul><li>If you’re using <strong>Claude Sonnet 3.5</strong>, you might have hit the rate limit. Switch to <strong>Qwen2.5-coder-32b</strong> on OpenRouter.</li><li>Check your OpenRouter balance. If it’s low, top it up.</li><li>Make sure you have not exceeded OpenRouter’s <strong>token context limit</strong> (e.g., Qwen must use 130K tokens, not the 33K version).</li></ul><h4>3. Slow Responses or Long Wait Times</h4><p>✅ <strong>Solution:</strong></p><ul><li>Try using a different provider in OpenRouter settings (some servers may be slow).</li><li>Use <strong>fewer long-form queries</strong> — break up tasks into smaller parts.</li><li><strong>Clear unnecessary context</strong> — Cline might be processing too much code at once.</li></ul><h4>4. Cline Doesn’t Recognize My Codebase</h4><p>✅ <strong>Solution:</strong></p><ul><li>Make sure the <strong>workspace</strong> is fully loaded in VS Code.</li><li><strong>Check file permissions</strong> — Cline needs access to your project files.</li><li>If needed, manually tell Cline which files or directories to focus on.</li></ul><h4>5. High Costs on OpenRouter</h4><p>✅ <strong>Solution:</strong></p><ul><li><strong>Use Qwen2.5-coder-32b</strong> for most tasks to save money.</li><li><strong>Limit high-context queries</strong> — don’t paste massive blocks of code unnecessarily.</li><li><strong>Blacklist Fireworks and DeepInfra</strong> providers to ensure the full 130K token context.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=532e94c6c25e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NPM versioning strategies]]></title>
            <link>https://luisrangelc.medium.com/npm-versioning-strategies-81a2a9791553?source=rss-5db2c1cc7bca------2</link>
            <guid isPermaLink="false">https://medium.com/p/81a2a9791553</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Luis Rangel]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 21:37:50 GMT</pubDate>
            <atom:updated>2024-07-16T21:37:50.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yVqV4EB0yAO4IM5U" /></figure><p>NPM versioning strategies are based on Semantic Versioning (SemVer), which uses a three-part version number: MAJOR.MINOR.PATCH. Each part has specific implications:</p><ul><li><strong>MAJOR version</strong>: Incremented for incompatible API changes.</li><li><strong>MINOR version</strong>: Incremented for added functionality in a backward-compatible manner.</li><li><strong>PATCH version</strong>: Incremented for backward-compatible bug fixes.</li></ul><h3>Version Ranges</h3><p>NPM allows specifying dependencies using various range specifiers:</p><ol><li><strong>Exact Version</strong>: 1.2.3</li></ol><ul><li>Installs exactly version 1.2.3.</li></ul><p><strong>2. Caret (^)</strong>: ^1.2.3</p><ul><li>Allows updates that do not change the leftmost non-zero number.</li><li>^1.2.3 matches &gt;=1.2.3 &lt;2.0.0.</li><li>^0.2.3 matches &gt;=0.2.3 &lt;0.3.0.</li><li>^0.0.3 matches 0.0.3.</li></ul><p><strong>3. Tilde (~)</strong>: ~1.2.3</p><ul><li>Allows updates to the most recent patch version within the specified minor version.</li><li>~1.2.3 matches &gt;=1.2.3 &lt;1.3.0.</li><li>~1.2 matches &gt;=1.2.0 &lt;1.3.0.</li></ul><p><strong>4. Greater Than or Equal (&gt;=)</strong>: &gt;=1.2.3</p><ul><li>Allows any version greater than or equal to 1.2.3.</li></ul><p><strong>5. Less Than (&lt;)</strong>: &lt;1.2.3</p><ul><li>Allows any version less than 1.2.3.</li></ul><p><strong>6. Hyphen Range</strong>: 1.2.3 - 2.3.4</p><ul><li>Matches versions between 1.2.3 and 2.3.4, inclusive.</li></ul><p><strong>7. Wildcard (*)</strong>: *</p><ul><li>Allows any version.</li></ul><p><strong>8. X-Range</strong>: 1.2.x or 1.x or x</p><ul><li>1.2.x matches 1.2.0, 1.2.1, etc.</li><li>1.x matches 1.0.0, 1.1.0, etc.</li><li>x matches any version.</li></ul><h3>Strategies</h3><ol><li><strong>Fixed Versioning</strong>:</li></ol><ul><li>Use an exact version to ensure reproducibility and stability.</li><li>Example: &quot;braces&quot;: &quot;3.0.3&quot;</li></ul><p><strong>2. Pessimistic Versioning</strong>:</p><ul><li>Use ~ to allow updates for patches but not for new features.</li><li>Example: &quot;braces&quot;: &quot;~3.0.3&quot;</li></ul><p><strong>3. Optimistic Versioning</strong>:</p><ul><li>Use ^ to allow updates for new features and patches but not breaking changes.</li><li>Example: &quot;braces&quot;: &quot;^3.0.3&quot;</li></ul><p><strong>4. Liberal Versioning</strong>:</p><ul><li>Use a broader range to allow flexibility in dependency updates.</li><li>Example: &quot;braces&quot;: &quot;&gt;=3.0.3 &lt;4.0.0&quot;</li></ul><h3>Best Practices</h3><ul><li><strong>Stability</strong>: For production dependencies, prefer ~ or exact versions to ensure stability.</li><li><strong>Flexibility</strong>: For development dependencies, ^ can be used to take advantage of new features and improvements.</li><li><strong>Careful with </strong><strong>* and </strong><strong>x</strong>: These can lead to unexpected breaking changes and should be used with caution.</li></ul><p>Choosing the right versioning strategy depends on the project’s requirements for stability, security, and flexibility in updating dependencies.</p><p>In a package.json file for a Node.js project, the ^ and ~ symbols are used to specify version ranges for dependencies, but they have different meanings:</p><ol><li><strong>Caret (^) Symbol</strong>:</li></ol><ul><li>&quot;braces&quot;: &quot;^3.0.3&quot;: This allows updates to any version that does not change the first non-zero digit. For 3.0.3, this means it will accept updates to 3.x.x where x is any number. So, it will accept 3.0.4, 3.1.0, etc., but not 4.0.0.</li></ul><p><strong>2. Tilde (~) Symbol</strong>:</p><ul><li>&quot;braces&quot;: &quot;~3.0.3&quot;: This allows updates to any version that does not change the second digit. For 3.0.3, this means it will accept updates to 3.0.x where x is any number. So, it will accept 3.0.4, 3.0.5, etc., but not 3.1.0 or 4.0.0.</li></ul><h3>Summary</h3><ul><li>^3.0.3: Accepts 3.x.x versions (e.g., 3.1.0, 3.2.5).</li><li>~3.0.3: Accepts 3.0.x versions (e.g., 3.0.4, 3.0.5).</li></ul><p>Use ^ if you want more flexibility with updates within the same major version. Use ~ if you want to limit updates to patch versions within the same minor version.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81a2a9791553" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>