whatip.info

whatip.info
Introducing whatip.info. A very very simple Go program behind an NGINX server to resolve and return the remote IPv4 (and soon IPv6) address. My motivation behind it is dead simple: I need that exact functionality from something I know I control. Prior to this, I was using several alternatives: ifconfig.me ifconfig.co icanhazip.com All work great but I wished to curl something of my own making. Thus whatip.info was born.
read more →

Stroke

Stroke
I had a TIA (Transient Ischemic Attack) or as people know it, Brain Stroke on August 9. After 2 months of recovery, I’m back to normal and I feel great :) It seems it had to do with an issue with my blood coagulation and my heart health… It disturbed my vision and motricity… but I’m ok now. Needless to say, it was a very scary experience. I got a bit depressed and sometimes anxious when I was recovering, but I stuck with a strict diet and exercise regime which helped enormously and helped with the mood changes.
read more →

How to create your npm card

Lately, our company started growing so I had to start interviewing frontend engineers, UI/UX designers and other developers who focus on the UI aspect of web development At first, my expectation was that the process wouldn’t involve anything else but talking to a person. I was caught off guard about the fact that a lot these amazing developers shared with me their portfolios, websites or even demos. It was surprising and inspiring to see some of the creative ways people standout.
read more →

How I got my AWS CSAA. Notes included

Disclaimer: I’m not being paid to promote anything here. I just received an email containing the badge from acclaim.com. It made me look back on how much things have changed for the better since I made this exam, so I thought of making a blog post on how things went for me. AWS Certified Solutions Architect – Associate was issued by Amazon Web Services Training and Certification to Oscar Chavez
read more →

Blocking Ads with PiHole

Before going into the post carefully documenting my process in setting up everything, here’s what this post is about in short: Installed PiHole on a Raspberry Pi Zero W and connected it to my network to have DNS level ad blocking. It was reasonably fast to complete and works well. Here’s how it looks before and after: Now, for whomever wants to understand why and how to build this, carry on…
read more →

De Mexico al Reino Unido

De Mexico al Reino Unido
Ya tiene mucho, muchísimo (10 meses) que no escribo/tengo ganas de escribir acá. Me han preguntado si olvidé por completo del blog y del diminuto momentum que tuvo cuando lo estaba manteniendo, pero yo me cuestiono si fue uno de esos momentos de brillantez y dedicación completamente mal distribuida, como el que cualquier programador pasa: Debería registar mis pensamientos en algún lado… haré un blog ! O quizá debería enfocarme en artículos técnicos, con código y todo… reharé mi blog !
read more →

Merge Sort in Go and Javascript

Merge Sort in Go and Javascript
Here’s my implementation of the Mergesort algorithm in Golang package main import ( "fmt" "io/ioutil" "math/rand" "strconv" "strings" "time" ) func main() { start := time.Now() arr := randArr(20) // Merge sort array fmt.Println("\n Sorted \n", mergeSort(arr)) fmt.Println("Sorted in: ", time.Since(start)) } // Function to generate random array func randArr(size int) []int { arr := make([]int, size, size) rand.Seed(time.Now().UnixNano()) for i := 0; i < size; i++ { arr[i] = rand.
read more →

Understanding Recursion

Understanding Recursion
Rather than using the popular joke about recursion (see bottom), I’ll reference a very peculiar adage which makes use of this particular mental model: The Hogstadter’s Law, states that: It always takes longer than you expect, even when you take into account Hofstadter’s Law. See what happened there? The law is a self-referential adage, that tries to describe the widely experienced difficulty of accuratelly estimate the time it will take to complete tasks of substancial complexity.
read more →

Shortest Fibonacci

Shortest Fibonacci
Here’s an incredibly short anonymous fibonacci function in Js. It takes a parameter n to calculate the fibonacci number at position n (n => (n <= 1 ? n : n - 1 + n - 2))(5);
read more →

3 Meses sin Facebook

Última Actualización: 09/Junio/2018 A ver si se acuerdan de algún compañero del kinder/primaria primaria, cuyos padres neo-liberales, le prohibían ver televisión en favor de actividades diurnas al aire libre. Ese mismo compañerito que, forzado por la voluntad de sus padres, se quedaba fuera de las discusiones de quien era el ‘Chico del Pórtico’, episodio de Hey Arnold en Nickelodeon, o quien podía decir ‘Omelette du Fromage’ durante un día entero, como le pasó al Dexter en El Laboratorio de Dexter de Cartoon Network.
read more →

¿Qué es un chatbot?

¿Qué es un chatbot?
¿Qué es un chatbot? Un chatbot es un servicio impulsado por reglas y aveces inteligencia artifical con el que se interactúa a través de una interfaz de tipo chat. Sacado de la plática de Iván Ruiz, en Mobile Day 2017. Chatbot as a Service Los chatbots fungen como servicio para transformar sitios web en Experiencias Conversacionales Enrolamiento Uno de los casos de uso de los chatbots es el enrolamiento de usuarios a una plataforma.
read more →

Cómo hacer un Proxy de Tor

Cómo hacer un Proxy de Tor
Descarga el PDF +++ Video Requisitos Raspberry Pi (2 o 3) ISO de Raspbian Jessie (Debian) Descargar Tarjeta SD > 8Gb (SDCard) Tarjeta Inalámbrica (Wifi Dongle) Conexión a Router por Ethernet Periféricos (Teclado, Mouse, Monitor, Cable HDMI) Iniciando Flashear el ISO de Raspbian a la SDCard. Yo usé ApplePi Baker. Aquí hay un excelente tutorial Conectar todos los periféricos (mouse, teclado, monitor) y el micro Usb para encender el Raspberry Abrir una terminal y escribir bashsudo raspi-config Ir a ‘Interfacing Options’ > ‘SSH’ y habilitar el server de SSH y salir.
read more →

What is an ICO

What is an ICO
What the hell is an ICO ? And why the f#ck does something like Tezos fundraised more than 65,697 BTC and 361,122 ETH, which in total stands for around: 271,328,610 USD … Jokes aside, I’ve dig a bit more on the project and found out that their main value proposition, relies on their whitepaper which explains their tech. So I went further and found their github, where I discovered they only have ~510 commits and 1 contributor… !
read more →

How to become independant

A ‘short’ post by @oschvr +++ In this truly fast moving world, one must stop for a moment, look back and ponder what is it exactly that a man required to achieve something great by him/herself? What about if he/she could organize a group of people to achieve a much larger goal? How about when someone set to dedicate his/her entire life and the life of his/her descendants to achieve a seemingly impossible and life-lasting task?
read more →

Notes on Solidity

Notes on Solidity
Notes on Solidity The Ethereum Smart Contract languaje. by oschvr Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed to target the Ethereum Virtual Machine (EVM). Based on the documentation provided by the Ethereum Foundation, the Solidity programming languaje provides the tools to create Smart Contracts that interact with the Ethereum Blockchain. I will cover the following topics: Smart Contracts Blockchain Basics Ethereum Virtual Machine I’m using VS Code for MacOS, here’s an example of how it looks, with the extension by Juan Blanco:
read more →

Profundizando Tensorflow Pt 1

Profundizando en Tensorflow. Pt. 1 Plataforma de Aprendizaje Automático de Google Por Oscar Chávez (@oschvr) Tensorflow es una plataforma a código abierto de aprendizaje automático para todos. Estrictamente es una libreria para computación numérice mediante gráficos de flujo de datos. Los nodos en los gráficos representan operaciones matemáticas, mientras que los bordes de los gráficos representan las matrices de datos multidimensionales (tensores) comunicadas entre si. Tensores La unidad central de Tensorflow es el tensor.
read more →

Building a Trading System

So, for the next and most ambitious project we’ve ever had at VR3, I self-assigned to me the tremendous task of building a Trading System that includes some sort of Trading Model or Trading Bot, that can, but is not limited to do HFT(High Frecuency Trading). All build in Node.js, Express and some other tools that I will explore on another post. As I face a this big challenge, I’ve come to realize that it’s crucial to read, investigate, learn the best practices and come up with some general considerations.
read more →

Nuevas Direcciones

Nuevas Direcciones
Europa 2016 Uno de los últimos y más memorables viajes que he hecho en mi vida, sin duda fue recientemente fue a Europa con mi novia. Es increible la cantidad de aspectos en las que uno puede mejorar, y aprender por tan solo viajar. Por ejemplo, considero que mejore bastante mi habilidad para transitar aeropuertos pues hay un par de consejos que parecen no tener importancia pero son sumamente útiles en el momento.
read more →

Hola Mundo 👏

Hola ! Por primera vez voy a utilizar este blog Después de unos 2 meses (años) de esfuerzo (no continuo), por fin creo que está listo para ver la luz. Este espacio fue construido en su totalidad por mi como experimento y como lugar para subir tutoriales, guias, reposts, eventos, prácticas, o cualquier cosa que me parezca interesante. Incluso algunos posts los haré en inglés. Para quien le interese saber el stack que está detrás:
read more →