OSCON 2015

TL;DR I’ve been at OSCON this year (thanks to Locaweb) and this post will summarize my impressions about the conference. I spoke at Locaweb Tech-Talks about it and you can find my slides here (in portuguese). OSCON (Open Source Conference) is one of the most important open source conferences of our time and happened in Portland this year as usual. Portland is a great city, the one I liked the most until now, it doesn’t have high car traffic, MAX (the train) took us for most of the places we wanted to know, nice people all over the place, great convention center and a lot of other benefits.

New layout of PotHix blog

Welcome to the new blog layout of PotHix.com! :) I decided that the time has came to change not just the layout but the blog engine as well. I’m now using middleman instead of wordpress. Just to be clear, I don’t think wordpress is not good at all, but I want to publish static files instead of keeping the wordpress “infrastructure”. I’ve divided into 3 feeds: Only english posts: http://feeds.

Golang and 1.2 version performance improvement

I’ve started using Go last month and I really liked to work with the language. The project I’m working on is dead simple and just retrieves metrics and save on a redis server (the data will be analyzed by a different project that I’m working on). So I have 15 goroutines retrieving data constantly and I’m using just two native threads. I did some CPU profiling on the code using my current machine for Golang 1.

Game Network Programming

English Abstract: This post was about my presentation with Diego Souza (vulgo Marciano) about Game network programming. I was studying and reading Quake source just for fun and decided to learn more about game networking in general, so I decided to prepare this presentation to show other people what I’ve learned. You can see the full video (portuguese only, sorry) and the slides below. Portuguese: Eu e o Diego Souza (vulgo Marciano) fizemos uma palestra sobre Game network programming tanto na Locaweb como no Guru-SP.

A lifestyle

Just a transcript from here, but it reflects my way of life at this stage of my life: We believe in going our own way,no matter which way the rest of the world is going. We believe in bucking the system that’s built to smash individuals as bugs on a windshield. Some of us believe in the man upstairs.All of us believe in sticking in to the man down here. We believe in the sky and we don’t believe in the sunroof.

Javascript and Gamedev discussion

I read the blog post from Impact engine creator Dominic where he shows an email he sent to John Carmack about his opinions on Javascript expressed on his keynote. Dominic is trying to show that Javascript is not a good language to develop the next AAA game but it is awesome to make simple games and have it easily available to the world. We have a lot of negative comments on the post (I really don’t know why) but some good ones too.

Kernel compiling

Since I bought an Acer notebook to use Linux again (I sold my mac, I have a post about it but in portuguese) I started to compile my own kernel. The reasons for the decision: I have a hardware that works better with the newer kernels. I really want to understand the linux kernel better. As Judas Priest sings on Painkiller song: “I’m living on the eeeeeedge”. LOL How to proceed There are some steps to follow when compiling a new kernel for your Linux box:

Simlinks for ruby on Debian Squeeze

Every time we need to deploy a new Ruby application on top of Debian Squeeze we need to fix some Ruby depedencies to make the application work as it should. It happens because we’re building using rvm instead of the packaged version of ruby, but it needed to be that way in order to use our old build server. I’ll keep it documented here: ln -s /usr/lib/libruby-1.9.1.so.1.9.1 /usr/lib/libruby.so.1.9 ln -s /usr/bin/rake1.

Translated Rubylearning presentation

As I promised, here goes my presentation! :) Finally i finished to translate all the presentation! Watched the video a lot of times, pausing and playing to write all I said translating to english. :) Fortunately I had a big help from my friend Victor Goff, that corrected all my grammar errors and typos. I’m posting below all i have about the presentation, slides from Slideshare and a translation pasted here, but you can find the translation at Google Docs too.

Deploying a simple Merb application on Locaweb

I writing this post to help my friends of Rubylearning with a little Merb application deployment on Locaweb. I’m just translating some informations that you can find here”) in portuguese. Lets get started! :D First open the Domain Manager (gerenciador de domínios) on Locaweb Panel (painel da Locaweb) and configure the pointer of your main site to other directory on public_html of your account (this directory don’t need to exist).