Fun with exact matching in Zoe

24 Mar 2016

I'm currently working on something related to Zoe that has some complex/dangerous operations. Given that it is an agent, I would like to communicate with it using Telegram or Jabber. Using natural language commands results in a comfortable communication for regular users. However, this has some drawbacks when dealing with sensitive stuff.

Tags: natural commands zoe match

Good old text adventures

14 Mar 2016

Some days ago I fixed/updated my micro-engine for text adventures: texture. This project was first created for a minigame we had planned at GUL UC3M for an event at the University: El discurso de Zoe (Zoe's speech). Here is a showcase of the game in action (in Spanish).

Funny thing is, this is not my first project related to text adventures.

Tags: text python adventure texture game gul

The server is full!

06 Jan 2016

Ok, even I have to admit this is getting a bit out of hand. You see, some weeks ago I started subtly influencing my brother so that he would start playing the MMO Guild Wars 2 with me, given that it recently became free-to-play.

He finally agreed to do it (yay!), if I came up with a name for his character. I asked a friend for help and we came up with a list of names, including some hilarious ones that my brother discarded right away. Anyway, before he could create his character, he had to choose a server to play in and I told him which was the only Spanish server, but it was full. Huh, weird. We tried again the next days with no luck, so I thought of something (you must surely know what is coming).

Tags: api bot zoe game agent gw2

Let's Encrypt public beta

06 Dec 2015

Now that Let's Encrypt is in public beta, I thought I'd revisit my previous post with some additional details.

Tags: nginx ssl certificate let's encrypt security

Using Let's Encrypt certificates

22 Oct 2015

Now that Let's Encrypt is a trusted certificate authority in major browsers and that I got access to the beta program, I decided to take it for a spin in my server with nginx (and uWSGI).

Tags: nginx ssl certificate let's encrypt security

fumi 0.3.0 released

22 Sep 2015

About time! New version of fumi. Things that changed:

  • Cleaner output (I hope!)
  • Real-time output for remote commands
  • Added password authentication (use-password and password fields in the deployment file)
  • Minor fixes and enhancements

As always, you can install it with:

$ pip install fumi

And I'd recommend that you read the documentation for a quickstart and more details: https://fumi.readthedocs.org

Source available at: https://github.com/rmed/fumi

Tags: tool deploy fumi

Zoe, Telegram and transportation

05 Sep 2015

These past days I decided I wanted to end my summer holidays (back to university... yaaaay...) doing something cool with Zoe. So now Zoe can communicate through Telegram and has some knowledge on the public transportation system in Madrid (in particular, buses).

Tags: transport bot zoe telegram agent madrid

WaffleConf and multiprocess

25 Aug 2015

Version 0.2.0 of Flask-WaffleConf has just been released and includes support for multiprocess deployments. Here I will explain the problems encountered and the "solution" reached.

Tags: python extension flask multiprocess waffleconf database


19 Aug 2015

Flask-WaffleConf is a Flask extension that allows you to store configuration variables in the database, read them on startup and update them on runtime. It's kind of an experiment in order to try making a Flask extension from scratch and add the functionality to the website in a modular way. If you are wondering about the reason behind the name, go ask @adolphenom @captainepoch.

The way it works is pretty simple:

  • You define a database model that will act as configuration store
  • Instantiate the WaffleConf object with the application
  • Register the view with any Blueprint

For the time being (you know... alpha state), I've just added a peewee configuration store, but creating stores for other databases should not be too complicated: simply subclass the WaffleStore class and you are ready to go. However, I would recommend checking the documentation first, just in case :)

Released under GPLv2+ license.

Comments, issues and pull requests are more than welcome!

Tags: waffleconf flask extension database python

Installing Zoe in a VPS

16 Aug 2015

I recently acquired a VPS for... things? Obviously, one of the first things I did was installing Zoe, especially since I wanted to use the sysinfo agent. Here's how that went.

Tags: zoe linux debian server

1 2 3 4