Pablo Aguiar
http://pabloaguiar.me/
Recent content on Pablo AguiarHugo -- gohugo.ioen-usCopyright (c) 2016-2017, Pablo Aguiar. All rights reserved.Wed, 04 Jan 2017 20:48:12 -0300Multiples of 3 and 5
http://pabloaguiar.me/post/multiples-of-3-and-5/
Wed, 04 Jan 2017 20:48:12 -0300http://pabloaguiar.me/post/multiples-of-3-and-5/This is the first post of a series entitled Project Euler In Under 0.1ms
Project Euler #1 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.
Common (and slow) solution The most common, naive solution involves a simple loop from 0 to x, checking whether n is multiple of 3 or 5 and then adding n to the sum.Blogging in less than 500ms
http://pabloaguiar.me/post/blogging-bellow-500ms/
Wed, 26 Oct 2016 15:48:53 -0300http://pabloaguiar.me/post/blogging-bellow-500ms/Building this blog was very entertaining, educative and … arduous!
Months ago, I decided to revamp my old blog, make it entirely static and thus fast. After a brief research and some test drives I quickly adopted Hugo, a “fast and modern static website engine” written in Go, a language I’m comfortable with – although none was required.
Real fun was about to enter when, after experimenting lots of themes, I decided to build my own.Announcing R2D2-CouchDB
http://pabloaguiar.me/post/announcing-r2d2-couchdb/
Sun, 04 Sep 2016 17:38:17 -0300http://pabloaguiar.me/post/announcing-r2d2-couchdb/A couple of months ago – before I could bring this blog together – I published a new crate, r2d2-couchdb. And it was fun!
While learning Rust, instead of just play with it, I wanted to create something useful. And I’d like it to be something small, for I was still getting the hang of the language.
One of the other things I’ve been playing with in this learning journey is a generic connection pool, r2d2, which maintains a set of open connections to a database, handing them out for repeated use.About
http://pabloaguiar.me/about/
Sat, 25 Jun 2016 01:22:04 -0300http://pabloaguiar.me/about/pythonista ✒ qual meu objetivo com o blog (? talvez em home) # Pessoal ✓ meu gosto por café ✓ meu gosto por literatura ✓ meus esportes favoritos ✓ o que gosto de fazer -- Short bio The name is Pablo Santiago Blum de Aguiar. A passionate software engineer from Brazil, he currently has fun working with great people at Kite-Consult GmbH in beautiful, calm, cozy Munich – and also cold at times.