Mi mar tropical, negro y vivo.

Mi mar tropical, negro y vivo.


I installed Alfred yesterday and bought the power pack to be able to use the workflows feature. I started playing with it and found out a piece of functionality that I couldn’t find: a Spanish Thesaurus. For English, I found one quickly. However, for Spanish, I was unable to find any, so I decided to build one myself.
My strategy to accomplish this:
My pseudo code looks like this:
I found alfy a nice library that facilitates the creation of Alfred workflows with JS. and based my efforts from there. The documentation is straightforward on how to use it. Before alfy I used axios to make the request but moved back to alfy to reduce dependency.
The final product looks like this:

Is very simple to use. You call Alfred and then type sps (Spanish Synonym). Then you write the word you are looking for, and a series of synonyms appear. You can enter in any of them, and it will take you to the sinonimosenlinea.com page. You can type shift to see a previous as well.
The code is here: https://github.com/sindresorhus/alfy)
The packal site here: http://www.packal.org/workflow/spanish-synonyms
My first open source contribution for a while. Hope someone finds it useful.
…con la cordillera al fondo…

No sé la historia, pero desde hace más de un año en el aeropuerto de Panamá (PTY), en la mayoría de tiendas puede pagarse sólo con efectivo. A mi me huele eso tan mal, no estoy juzgando, pero tiene que haber una razón muy grande para que un establecimiento en un aeropuerto, no acepte tarjetas de crédito, sabiendo que perderá al menos la mitad de sus clientes. O hay algo de lavado, o una artimaña lega, o son muy tontos (tal vez simplemente no les gustan las tarjetas a los dueños). En fin, para mi como cliente es muy molesto y me hace que el aeropuerto huela mal. Por cierto, en los pocos lugares que sí aceptan tarjetas, no suelen aceptar American Express. En fin…un poco de subdesarrollo artificial.
Por lo general este hub me gusta mucho, pero poco a poco hacen que ya no tanto…

Desde la Avenida PResidente Kennedy, viendo un espectacular atardecer en Santiago, un par de días después de que la nieve cayera sobre la ciudad, cosa muy poco usual.


En la izquierda se ve el Canal de Panamá, junto a ella la ciudad de Panamá, encostadas en la costa pacífica de Centroamérica. Al final de cuentas, un pequeño río que une dos océanos.

Entrar a esa manga quiere decir que estoy cerca de llegar a casa…

El camino de la CDMX a Toluca me encanta. Es un frío muy agradable. Y el tren que se viene en camino será genial. Mucha inversión en infraestructura.

Me encanta ver a la CDMX cada vez. Media hora antes de aterrizar, ya hay ciudad…una rica vastedad.

You must be logged in to post a comment.