RSSAmplifier

Blog

// Álex Go{,5z}

Recent content on // Álex Go{,5z}

agonzalezro.github.ioRSS feed ↗31 posts

Latest posts

Why imposter syndrome can be your best friend

The infamous imposter syndrome is always perceived as a bad thing but if you ally with it you could become Best Friends Forever (aka BFF). I am pretty sure that in my case the imposter syndrome has helped me to develop my abilities, especially in tech which is my “area of knowledge”. Life is split into stages, some of those stages are better for your growth than others. There are times…

How to prepare the Certified Kubernetes Administrator exam

Finally last weekend I did the CKA exam, I was procrastinating it a bit in part because I didn’t know what to expect since Kubernetes is huge and I thought that each day extra I spend reading about it would help me. TLDR; I did pass the exam and if you work daily with Kubernetes or variants as Openshift you will be ok, they are not trying to catch you in some weird question that not even…

Projects I didn't do in 2017

If you know me you probably know that I am always complaining that I want to start some pet project that could give me some kind of income. The income is a nice incentive, but not for the income itself if not because it would be really nice to have somebody paying for a project that you started from scratch. In 2017 I had some ideas that after further investigation or after just chatting with some…

How to read a Reader twice

Some time ago I read about TeeReader but to be fair, I didn’t give it that much thought. However, few month back I saw a video by @francesc and his nice use case and I wrote down a new item in my mental TODO list about things I wanted to use. Last week I had the chance to do it; we have a service that requires reading a request body to check for a Status field and also it requires to store…

Closing 2016, a list of talks I gave

Thanks @rais38 for the photo! We are almost at the end of January but I didn’t want to end the first month of the year without doing a small recap of the talks I gave last year. When I moved to Spain at the end of 2015 I said to myself that I didn’t want to forget the little English I knew so I needed to force myself to keep traveling outside of Spain and to do some public speaking.

Scheduling Your Kubernetes Pods With Elixir

This was originally posted on deis.com. Kelsey Hightower gave a really interesting talk at ContainerSched about how to create your own scheduler using the Kubernetes HTTP API. The talk was awesome. It’s incredible to see what kind of things you can do with a base system as good as Kubernetes. However, I missed one thing. The example provided by Kelsey was a Go application. Which is the main…

Save hook for major modes

One of the things I like the most about Go is its go fmt tool. I don’t worry about formatting my code while I am writing it because I know that fmt is going to be there and it will do the work for me later. Said that, the Go layer for Spacemacs is the one that is going to run it for you. Sometimes we need to deal with languages that don’t have this functionality, in my case, I found…

Key bindings for Spacemacs

I am a happy user of Spacemacs since few months ago. I was (and I still am) a vim user but Spacemacs provide you extremely good defaults and the installation of layers isn’t painful at all, things that I sadly can’t say about vim. I ended up with a lot of configuration on my dot files and everytime I wanted to try, for example, a new language, it was difficult to get it working well.

Signing your GitHub work with your Keybase keys

As you may know, yesterday, GitHub has presented a way to verify your commits on their platform. This is not something new, it’s part of the git protocol, but now, they will show a fancy “verified” label everytime you push a signed commit. Cool? Yeah, pretty cool. One of the problems I always had since I know GPG is to keep my keys locally. I am pretty sure that some other people…

Using Kong with Kubernetes

This was originally posted on k8s.uk. If you don’t know about Kong yet, you should take a look. It’s an Open Source API Gateway, they define themselves as: “The open-source management layer for APIs, delivering high performance and reliability.” and they are quite right. I was playing with Kong lately at work (jobandtalent.com, we are hiring!) and I think that it could be…

Kubernetes volume plugins and Flocker

Last month I was working with the guys from Jetstack & ClusterHQ developing a plugina for Kubernetes that will allow the people to easily use Flocker there. Yesterday I had the pleasure of sharing the stage with Rimas Mocevicius, Kelsey Hightower & Ivan Pedrazas at the Kubernetes London meetup to present the plugin and show the audience that creating volume plugins for Kubernetes is easier than it…

How to deploy and update a python app using Kubernetes

Two days ago I gave a small talk in the DJUGL (Django User Group London) explaining how we could deploy a test application into Kubernetes. This post is going to explain something pretty similar, how to deploy a Flask app into Kubernetes and how to rolling update it. Before starting, you can find all the materials of this post in my k8s-py-example repo. Download the app and build it twice, one for…

Log your Docker containers from a container with packetbeat

packetbeat is one of the best application performance management tools in the opensource community. It’s now part of the beats that Elastic provide us to monitor our applications. What it does is analyze our data packets to send some useful information to ElasticSearch. After the introduction you probably realize that we will need: ElasticSearch installed and if you want to see something…

Go introduction at Shopa

Here at Shopa we use Go for some services but we use a lot of Rails as well so not everybody needs to know Go. This is why I’ve decided to do a small introduction to it in one of our workshops. The slides are mainly examples with a little bit of history around the Go world. If you find them useful, feel free to grab them here: https://github.com/agonzalezro/slides/tree/master/go Probably…

Docker workshop at Shopa

Today I gave a workshop at Shopa about Docker: what is it, why it’s useful for us and why it can even be more useful. I understand that just the slides without any context can be a little bit misleading, but in case that it helps somebody I will share them here: The design of the PDF looks uglier than it really is, so if you want the html slides you can always use the Dockerfile provided…

IoT hackathon with Intel Edison and Go

I spent last weekend in a hackathon organised by Intel to show their Intel Edison platform. I can just say that it was awesome, the quality of the projects, the prizes, the food, the freebies (yes, they gave us an Intel Edison)… But this post is not about that, I want to explain my project and how I made Golang work in an Intel Edison thanks to gobot. As you are already aware, Go easily…

The well deserved Golang UK conference is here

Hi mum & dad (my 2 followers on the blog?) some friends, (Johanna, Sam & David) and myself have decided to organize a Go conference in the UK the next August 21. He had opened the blind bird at the beginning of the week and we are already close to finish those cheap tickets, so hurry up and buy a ticket. We can see for the call for papers already received that the quality of the talks is going to…

Graph your meetup.com group with Neo4J and some Go

Last days I’ve been spending sometime in a small project for fun. Sadly I couldn’t do anything for production so I hacked gotagmee which is a tiny thingy that will created some goroutines to get all the members in a meetup.com group with their interests and store them in a Neo4J DB as Member or Topic entities with their respective relations. I wrote this because I wanted to get the…

How I prepared my Mac to make some Docker development

This post is about how I did it! not about a standard way or something like that, if you use any other way I would be happy to hear it on the comments. I usually use boot2docker on my machine to run container, but it looks like it was misbehaving a little bit when I was trying to create the binary of my dev branch with: $ make binary Actually, it was just not creating it.

Dockerizing Pligg with Fig

For a pet project I needed Pligg which is kinda a social network site in the style of the old-digg (with karma and this kind of things). Installing a LAMP system is kinda boring stuff, so, for that and for the sake of learning I decided to go with Docker & Fig. Sadly or luckily, every time that I dockerize something I find a lot of unexpected problems that slow me down, but… you always…

How to manage multiple errors in Go

Let me start with a disclaimer, I don’t really know if this is a pattern that must be followed or it’s just a weird idea coming out of my head. The second disclaimer is that I am pretty sure that I am not the only mind that thought about this, but I didn’t see it in use in any place. Why? Error handling in Go has his advantages and disadvantages, for me, the most important…

Draw (and more) your architecture with Neo4J

As some of you already know I work at Green Man Gaming (mainly at the playfire project). We were planning to do some changes in our architecture but it’s extremely hard to have an idea of all our services and DBs in just a piece of A4 paper. I was trying, trust me, but it was impossible. When I started with this task I did it with lucidchart, after it got so messy I moved to graphviz, but…

How to find a flat in London with some help

EDIT: I’ve added a little bit more of code to the gist to get the latitude and longitude of the flat. This way the process of plotting them is more accurate and incredibly easy. Thanks again CartoDB! At the end of this month I am going to move with a friend. This movement is going to be something like the 7th one since I am living here (little bit less than 2 years).

12 Go Best Practices

Last Monday I had the chance to see @francesc talking on the Go London User Group. His talk was about best practices (and advices) when you are programming in Go. Summarising it a little bit, I would say that some of the cases explained there are things that you are going to finish doing even without knowing that you are doing “best practices”, but they are other examples that are…

Tailing multiple logs with tmux

I had a system that was creating a different log for each worker. Those logs where in the form: /var/log/baselog, /var/log/baselog.1, /var/log/baselog.2 and so on. I wanted to tail them but they were being updated simultaneously so the output of the tail was being a mess. I am a tmux user since few months ago (if you aren’t, you should!) so I’ve decide to open all of them in different…

Python and Scala smoke the peace pipe

This was my talk on the PyGrunn conference last Friday. I was explaining how can you communicate services written in different languages using Apache Thrift for that. In few days the videos will be available, but TBH, I don’t really know if I will publish it here. It was not the first time that I talk in public using English, but it will be the first time that it is recorded… I…

Here I go PyGrunn'13!

I am really proud of say that the next month I will be giving a talk at PyGrunn! This is a really good new for me because PyGrunn is the conference that my old colleagues organize since years ago. I was on it first time in 2011 just one week after I started working at Paylogic. I meet a lot of interesting people there and I will see them again this year!

codereview from the POV of a noob

Hi g(irl|uy)s! I would like to start with a disclaimer: I am not (and I don’t pretend to be) a craftmanship trooper (they like to be called like that isn’t?), senior engineer with more years of experience that the technology has, guru, blablabla… I just want to show my opinion about this process (which I really like!). But more important that share my opinion, is to know what is…

Best vim colors ever!

Sometimes a developer needs a change, and what can you change better that the color scheme that you use to develop? You are more than 8h per day in front of your vim with some beautiful, or crappy, code in front of you. In the first case the colors doesn’t matter, but in the second it’s really important to enjoy, at least, the colors! The colors scheme that you use is something really…

PyGrunn Winter Hackathon 2012

Few days ago, actually, more than one week ago (but I was very busy :) we made our first PyGrunn hackathon. I was lucky and from all the list of ideas, the selected was one of mines! The slides generator, that finally we call hovercraft. Here is a small introduction about what I wanted: A small platform to create slides and have them always associated to a web with this possibilities:

backbone.js + underscore: small intro

Today, Oleg gave a talk about backbone at Paylogic. We were using it for a really fancy application inside our backoffice, it was quite funny write it and Oleg decided to share the knowledge. I used the techtalk to take some notes and, since this piece of code will have no sense out of our backoffice, I’ve written a small example that you can find as a gist on my github.