<?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 Ianiv Hojman on Medium]]></title>
        <description><![CDATA[Stories by Ianiv Hojman on Medium]]></description>
        <link>https://medium.com/@ianiv?source=rss-27d52c2a040------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XustK8UQeNLYaAG0KxaXZA.jpeg</url>
            <title>Stories by Ianiv Hojman on Medium</title>
            <link>https://medium.com/@ianiv?source=rss-27d52c2a040------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:14:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ianiv/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[Cómo levantar una API en menos de 1 minuto]]></title>
            <link>https://ianiv.medium.com/c%C3%B3mo-levantar-una-api-en-menos-de-1-minuto-2e671e2fba29?source=rss-27d52c2a040------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e671e2fba29</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[replit]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ianiv Hojman]]></dc:creator>
            <pubDate>Fri, 29 Jul 2022 17:54:04 GMT</pubDate>
            <atom:updated>2022-07-29T21:38:27.009Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*O4jMzvltfH2G2zkHFUvftw.png" /></figure><p>Uno de los principales objetivos que una pyme puede cumplir con Xepelin es el de <a href="https://xepelin.com/credito/credito-pyme">financiarse</a>. Este viaje inicia cuando ingresa a nuestra plataforma y solicita un financiamiento 100% digital y termina cuando nos paga el monto financiado en el plazo acordado. Entre esos dos puntos existen distintos hitos que hay que superar para pasar al siguiente.</p><p>Uno de ellos es la generación de documentos legales.</p><p>En particular, uno de los documentos que tenemos que generar requiere que el monto financiado se encuentre tanto en decimales como en palabras:</p><blockquote>$1,049,335.43 M.N. (un millón cuarenta y nueve mil trescientos treinta y cinco pesos 43/100 Moneda Nacional).</blockquote><p>Este formato es bien específico y hacer la traducción de números decimales a palabras puede ser un poco engorroso.</p><p>¿Para qué reinventar la rueda escribiendo mi propio código cuando podemos levantar una API que utilice una librería que se haga cargo de este problema?</p><p>Levantar una API suena difícil, pero con la herramienta correcta no lo es tanto.</p><p>Para esto utilizaremos <em>Replit</em>, un ambiente de desarrollo que nos permite crear servidores a solo un click de distancia. Aquí te enseño cómo:</p><ul><li>Entra a <a href="http://www.replit.com/">www.replit.com</a> y crea un usuario.</li><li>Haz click en el botón <em>Create </em>para crear un nuevo REPL, donde podremos escribir código para luego levantar nuestro servidor.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/0*VKbN0WFRTxnAcJqU" /></figure><ul><li>Selecciona Python como el lenguaje para el REPL y déjalo público para que tengamos acceso al endpoint:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*cgEQrRcrw2vH4lOS" /></figure><ul><li>Este template te entregará un archivo main.py en el cual escribiremos nuestro código.</li><li>En el archivo main.py lo que haremos será escribir una pequeña API con Flask, por lo que tendrás que agregar el siguiente código:</li></ul><pre>from flask import Flask, jsonify<br>from num2words import num2words<br>from threading import Thread</pre><pre>app = Flask(&#39;&#39;)</pre><pre><a href="http://twitter.com/app">@app</a>.route(&#39;/&#39;)<br>def home():<br>    return &quot;I&#39;m alive&quot;<br>def run():<br>    app.run(host=&#39;0.0.0.0&#39;, port=8080)</pre><pre>t = Thread(target=run)<br>t.start()</pre><ul><li>Haz click en el botón <em>Run</em> y observa cómo se levanta nuestro servidor!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/0*YUEnG1_OYevQgBaS" /></figure><ul><li>Ahora, agrega el siguiente bloque de código:</li></ul><pre><a href="http://twitter.com/app">@app</a>.route(&#39;/api/numtowords/&lt;string:num&gt;&#39;, methods=[&#39;GET&#39;])<br>def numtowords(num):<br>    num_to_word = None<br>    if (&#39;.&#39; in num):<br>        parte_entera, parte_decimal = num.split(&#39;.&#39;)<br>        parte_entera_to_word = num2words(parte_entera,<br>                                         lang=&#39;es_CO&#39;,<br>                                         to=&#39;currency&#39;)<br>        if (parte_entera == &#39;0&#39;):<br>            parte_entera_to_word = &#39;cero pesos&#39;<br>        num_to_word = f&quot;{parte_entera_to_word} {parte_decimal}/100&quot;<br>    else:<br>        num_to_word = num2words(num, lang=&#39;es_CO&#39;, to=&#39;currency&#39;)<br>        num_to_word = f&quot;{num_to_word} 0/100&quot;<br>    return jsonify({&quot;number_in_words&quot;: num_to_word})</pre><p>Este bloque de código es el que nos permitira convertir un número de su representación en decimales a palabras.</p><ul><li>Vuelve a hacer click en el botón Run y copia la URL de tu api (en mi caso <a href="https://simple-api.ianivhojman.repl.co/">https://simple-api.ianivhojman.repl.co</a>)</li><li>En una nueva pestaña del buscador pega la URL de servidor y agrégale lo siguiente al final: /api/numtowords/15440</li></ul><p>Debería verse similar a esto</p><pre><a href="https://simple-api.ianivhojman.repl.co/api/numtowords/15440">https://simple-api.ianivhojman.repl.co/api/numtowords/15440</a></pre><p>Presiona enter y ¡mira cómo transformamos un número de decimales a palabras!</p><p>Para que tu servidor siempre esté encendido, haz cick en el nombre de tu proyecto y activa el modo <em>always on</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*h22kaD67_27kGOb4IVpF4g.png" /></figure><p>Ahora puedes utilizar este endpoint directamente en tu aplicación 🤩 . Crear una API nunca fue tan fácil.</p><p>¡Hasta la próxima!</p><p>En Xepelin estamos <a href="https://boards.greenhouse.io/xepelin">contratando</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e671e2fba29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[En casa de herrero, cuchillo de palo]]></title>
            <link>https://ianiv.medium.com/en-casa-de-herrero-cuchillo-de-palo-e481e8fde6f4?source=rss-27d52c2a040------2</link>
            <guid isPermaLink="false">https://medium.com/p/e481e8fde6f4</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[recruiting]]></category>
            <dc:creator><![CDATA[Ianiv Hojman]]></dc:creator>
            <pubDate>Mon, 25 Jul 2022 17:09:48 GMT</pubDate>
            <atom:updated>2022-07-25T17:09:48.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*r4vZH0cb3S4Wx9ks4iuANg.jpeg" /></figure><p>Xepelin se encuentra en un momento crucial como compañía. <a href="https://xepelin.com/blog/fintech/xepelin-levanta-111-mdd-en-serie-b">Con el levantamiento de capital que obtuvimos en nuestra Serie B</a>, nuestro objetivo es poder escalar la compañía para ser capaces de atender al millón de pymes en Latinoamérica que no tienen hoy acceso a servicios financieros.</p><p>Para poder llevar a cabo esta tarea nuestro equipo tiene que crecer, y es por esto que hoy el equipo de<em> Product Engineers</em>,<em> </em>junto al equipo de <em>People</em>, está buscando a l@s nuev@s integrantes para esta nueva etapa.</p><p>Así, junto a <em>People</em>, diseñamos un proceso de reclutamiento que involucra una serie de entrevistas y un desafío técnico. Como <em>Product Engineers</em> (PE) estamos a cargo de realizar una entrevista de carácter técnico, y de elaborar la prueba técnica que le enviaremos a l@s candidat@s.</p><p>El rol de PE dentro de Xepelin se parece al de un ninja 🥷. Somos <em>Software Engineers </em>que nos <a href="https://sherifmansour.medium.com/product-engineers-f424da766871">involucramos profundamente con el ‘por qué’’ de nuestros productos</a> y que podemos experimentar de manera rápida una hipótesis de negocio e iterar de manera continua con nuestros usuarios, utilizando código y herramientas de no-code. Básicamente, agilidad y efectividad en una etapa temprana del producto.</p><p>Desde los inicios de Xepelin, los PE hemos levantado herramientas tecnológicas para todos nuestros equipos, incluyendo Operaciones, Riesgo, Financiamiento, Legal (y muchos otros) a la velocidad de un <em>ago kin geri </em>y con la potencia de un <em>shuriken</em>. Bots de Slack para notificar pagos, generadores de documentos legales, incluso un motor de cesión de facturas — por nombrar algunos — son todos procesos automatizados cuyos desarrollos se encuentran en un intervalo de semanas y quedan disponibles para nuestros equipos al alcance de un <em>click</em>.</p><p>Lástima que para nuestros propios procesos no estaba siendo así. <em>¿Cómo es eso? </em>se preguntarán.</p><p>Para el proceso de recruiting estábamos generando las pruebas técnicas que le enviamos a los candidatos <em>a</em> <em>mano</em>.</p><p>Sí, a mano.</p><p>El desafío consiste en resolver dos problemas de programación sencillos y desarrollar un pequeño MVP con ciertas especificaciones. Para cada candidat@ teníamos que:</p><ol><li>Tomar sus datos</li><li>Seleccionar 2 problemas de programación de un catálogo que armamos</li><li>Crear un Google Sheets, que utilizará el candidato para desarrollar el MVP</li><li>Reemplazar los datos personales en el template de la prueba técnica y escribir la fecha de entrega</li><li>Exportar el documento en PDF</li><li>Enviar el documento vía mail</li></ol><p>El proceso en sí no era muy largo, pero sí había que hacerlo varias veces al día. No poder estar pendiente de esto día a día le generaba un cuello de botella al proceso de reclutamiento, y a fin de cuentas al tremendo trabajo que estaba llevando a cabo el equipo de <em>People</em> para atraer el mejor talento.</p><p>En casa de herrero, cuchillo de palo como dicen por ahí.</p><p>Como PE’s, no queríamos dedicarle tiempo a una tarea repetitiva y tediosa, y tampoco queríamos delegarle un proceso latero a <em>People</em>.</p><p>Para hacerle la vida más fácil a todos, decidimos construir un generador de pruebas técnicas automático para el equipo de People. Teniendo el nombre del candidato, su correo y la fecha de entrega de la prueba, con un solo click los <em>recruiters </em>obtienen en unos segundos el PDF que deben enviar. El programa que corre por detrás se encarga de todo lo tedioso: elegir los problemas, crear un Spreadsheet y compartirlo con el candidato y rellenar los datos importantes.</p><p><a href="https://www.loom.com/share/068bfecdc19644a0b0ef5cc582efaa3c">Demo MVP Generador Pruebas Técnicas PE — Watch Video</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*ZnBqAzWwHbNtoXKa.gif" /></figure><p>Así, logramos independizar el trabajo de nuestros equipos al colaborar en el diseño de esta nueva herramienta, obteniendo un proceso más rápido, asíncrono y ágil.</p><p>Si bien aún quedan procesos por automatizar, nuestros <em>recruiters</em> ya tienen más tiempo para dedicarse a buscar el mejor talento posible y nosotros para seguir hackeando el crecimiento de Xepelin.</p><p>¡Hasta la próxima!</p><p>En Xepelin estamos <a href="https://boards.greenhouse.io/xepelin">contratando</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e481e8fde6f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Doesn’t Everybody Writes Software?]]></title>
            <link>https://ianiv.medium.com/why-doesnt-everybody-writes-software-17f7f49aaf09?source=rss-27d52c2a040------2</link>
            <guid isPermaLink="false">https://medium.com/p/17f7f49aaf09</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[sofware-development]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Ianiv Hojman]]></dc:creator>
            <pubDate>Fri, 30 Oct 2020 00:45:53 GMT</pubDate>
            <atom:updated>2021-09-11T05:39:03.745Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been thinking about software. About writing software. About <em>writing</em> software. We don’t speak nor we draw software (although that could be interesting to try), we write it. Isn’t that curious? t’s like this words by themselves could potentially be software.</p><p>On the other hand, if you take a piece of code, say a Python script, and write it down on a piece of paper then it becomes useless! meaningless! almost like a curse!</p><p>So what amazes me the most about writing software is its capability to be done by almost anyone who knows how to write. But, <strong>is it?</strong></p><p>If you are able to <em>write</em>, does that turns you into a <em>writer</em>? if you are able to <em>speak</em>, does that turns you into a <em>speaker</em>? If you are able to <em>move</em>, does that turns you into a <em>dancer</em>?</p><p>Lets take those professions and distill their purposes, or what I believe their purposes are.</p><p>When we write, are we writing for ourselves or for someone else? are we writing out of our mouth, or are we writing delicately to communicate ideas or feelings in a certain way so that others are able to understand what we are trying to say?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*ujn3jkIJZm-RTxp-mV8tQw.jpeg" /><figcaption>if you know how to write, are you a writer?</figcaption></figure><p>When we speak, are we chatting with our friends while we take some coffee, or are we talking to an audience? Are we singing in the shower or are we performing for a crowd?</p><p>When we move, are we doing because we use it as a transportation mechanism or because we are trying to express a deep and complex feeling through our body?</p><p>I believe that, in the case of <strong>a writer</strong>, this <strong>is</strong> mainly <strong>someone who writes for others</strong>. It is someone who wants to be read by others. So taking down my course notes is not going to make me a writer. But showing them to others over the internet certainly does. I might be a bad writer, but aren’t there a whole lot of those that publish books and call themselves writers?</p><p><strong>A developer</strong> (or programmer, or hacker, or whatever satisfies you to call that) <strong>is someone who builds systems for users</strong>. Coherent, modular and clear pieces of code that work together towards a specific aim or task that can satisfy its users concerns.</p><p>So a writer is writing for others to read, and a developer is building for others to use, as well as a speaker is talking to people to listen to and a dancer is moving so others can experience some sort of emotion.</p><p>There lays one of the core ideas of all of those professions mentioned before: we need the purpose of delivering something to others in order to be a writer/speaker/dancer/developer.</p><p>Having a purpose as a coder is a <strong>necessary</strong> condition, of course. Otherwise, how can you be a developer if you don’t have in mind a project to build or a problem to solve? but it is not a <strong>sufficient</strong> one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*krd3_60K8WyXOFMXUDkkzg.png" /><figcaption>Being in the pink region is sufficient for being in A, but not necessary. Being in A is necessary for being in the pink region, but not sufficient. Being in A and being in B is necessary and sufficient for being in the pink region.</figcaption></figure><p>I’m able to propose at least two reasons why there is a lot of people who are not coding today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*9mVnzGzxqvDfgXToyXQOyw.png" /><figcaption>Photo by Edward Quigley</figcaption></figure><p>The first one is being unable to <strong>identify</strong> that programming is a tool to support your problem-solving framework on you own domain. Just like Word does for you, just like Zoom does. Think for a minute in areas such as the Digital Humanities, or Generative Art or Computational Social Science. There is indeed a niche in each of those worlds, but why isn’t it <strong>more popular</strong> to make use of the tools programming has for you? it probably is the tool’s fault. It probably is that these people are not building their own tools, because they don’t have the tools to do it.</p><p>The second one relates to the first one: there is an <strong>access</strong> barrier. These tools might in some way still be too rough and unfriendly to try them if you do not have a training as a software engineer or similar. Oh, are you a software engineer and have been frightened to look over some API documentation sometime? imagine someone who is completely alien to this world. It is a reason to never come back.</p><p>But there is also another access barrier which native English speakers (surprise, I’m not) might not be aware of: l<strong>anguage</strong>.</p><p>Yes, every programming language that you know and use is in English. All the docs are written in English, all the tutorials are too (well, <em>almost</em> all). In fact, at this stage we might consider English as the <em>lingua franca</em> of the Internet, and certainly of the software industry.</p><p>The big question is,</p><h3>How Do We Get To Incorporate More People To Write Software?</h3><p>Is it by creating new programming languages? Is it by adapting what we already have? How do we enable those excluded people to engage with an enormous part of our culture?</p><p>Let me know what you think below in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17f7f49aaf09" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>