The conflict between Steven Crowder and The Daily Wire has made people in the conservative sphere argue who is in the right, but to me it's simple, and I don't understand why people don't see the obvious math. I contend I can prove mathematically who was shittier. Let's start with a few facts: We don't … Continue reading Mathematically proved: Steven Crowder v. The Daily Wire
A meta discussion about the burden of proof
Most people don't understand what the burden of proof is, they claim they do but when push comes to shove they makes mistakes that show that's not the case. Not understanding the difference between not-guilty and innocent is one clear example of not understanding the burden of proof.
Ruby: for the love of god, stop using sudo
A summary of all the discussions about ruby bundle using sudo to install gems without asking the user.
Fixing Ruby gems installation once and for all
ruby bundle by default installs gems into system directories calling sudo without asking the user, let's fix that.
My tone doesn’t make me wrong, or how I convinced the Ruby project to fix an inconsistency
Back in 2012 I stumbled upon an inconsistency in Ruby's handling of time zones which took me a lot of discussions to get fixed, but eventually I managed to get it done. Essentially this didn't work: DateTime.strptime('0 +0100', '%s %z') The time zone part (+0100) was ignored. If you are not familiar with strptime/strftime, the … Continue reading My tone doesn’t make me wrong, or how I convinced the Ruby project to fix an inconsistency
Good taste
I finally managed to write my illustration of what good taste in code looks like based on an example Linus Torvalds presented in his TED interview
Matemáticas de la revocación de mandato
Para la revocación de mandato el INE redujo el número de casillas necesarias un 70%, sin embargo no redujo la lista nominal. ¿Cómo? Incrementando la capacidad de todas las casillas al triple. Como poner a nueve mujeres a hacer un bebé en un mes.
dot-team: a new way of managing dotfiles
dot-team is a new project with the aim of sharing configurations in a distributed and collaborative way
xfce-config-helper 0.1 released
Over the years I've tried many ways to store my Xfce configuration in a way that is easier to read and maintain, and ultimately I ended up creating my own format and developed a tool to make use of it. Xfconf Xfce's configurations are handled with Xfconf, a hierarchical configuration system. Essentially configurations are grouped … Continue reading xfce-config-helper 0.1 released
Refactoring JavaScript promise tests
I've been writing some tests for promises in QUnit, and I noticed many areas of opportunity to simplify the code. Tests in QUnit are simple: test('error check', assert => { const error = 'Bad Request'; assert.equal(error, 'Bad Request'); }); Not so much when promises are involved: test('promise', assert => { const done = assert.async(); /* … Continue reading Refactoring JavaScript promise tests