Yves Junqueira’s blog

How to install VirtualBox on Scaleway's x86_64 servers


Scaleway offers reasonably priced dedicated servers that are now even cheaper than Hetzner’s robo market. I wanted to use them for doing Ansible tests using Vagrant. The problem is you can’t easily install VirtualBox there, and it’s needed for Vagrant to work. Here’s a script that should do most of the work for you: #!/bin/bash # Expects Ubuntu 16.06 (xenial) and kernel 4.x. # Based upon a blog post by Zach at http://zachzimm.…
Read more ⟶

I've built something: stardew.farm


I’ve built something called stardew.farm. It helps Stardew Valley players to share screenshots of their pretty farms. It’s a bunch of open-source software written in Go. A Windows client watches the player’s save files and uploads them to a RabbitMQ server whenever the game saves state (once a day in the game). Then there’s a Go program that parses every new save game and renders a screenshot using the image/draw and github.…
Read more ⟶

sync.Pool is coming soon


I predict that sync.Pool, an upcoming Go 1.3 feature, will be everywhere. Everyone will know how to use it and will change their existing programs to use it. sync.Pool is a nice way to save allocations. In one example, I’ve replaced the buffer in bencode-go (used by Taipei Torrent) with a sync.Pool and it lead to massive savings in allocations. And the resulting code isn’t ugly. Readable and fast code == WIN.…
Read more ⟶