I have been using docker for a while in a project and thank god it exists. There is no need in installing many project dependencies. In this case this is a Ruby on Rails 3 project, yes very old. Everything was fine until my root partition “/” was out of space! I thought to myself […]Read More How to remove Docker files
Today I solved this algorithm that is the third problem in Project Euler. This still need some improvement, because even when the last prime number is found it still counts and takes a really long time when given big numbers. I will update this code as soon as I find a better solution but for […]Read More Solving Algorithms – Largest prime factor
I’ve got this book last week. It’s the most expensive I’ve ever bought and I do not regret! I am still in the beginning and learned what are Design Patterns, the catalog of the 23 design patterns in this book and how they solve problems. After, will be shown how to select and use a […]Read More Design Patterns
Today I encountered an algorithm to solve and the amazing Ruby syntax made me solve this problem with a succinct code with testing included. All words in the title should be capitalised except a few ones like “a”, “the”, “to”, “at”, “in”, “with”, “and”, “but” and “or”. To make this very short the solution is […]Read More Solving Algorithms – Title Capitalisation
Early today I was doing my first homework assignment for the SaaS course by University of California – Berkeley, and was making a Rspec test work. This method was meant to take 2 arguments, one array with integers and one integer. What we have to do is sum two numbers in the array until it […]Read More Ruby permutation method rocks!
2 weeks ago I went to an Equal Experts Conference and after while mingling, in a conversation with one of the organizers, some were saying that language X was better than language B, and his response was: “Languages are just tools to build applications to serve the world”. That just killed. And this is the […]Read More What are Programming Languages ?
I finish my day with this project in the amazing Ruby Koans learning method, and had completed 216/282! Got to see the Ruby documentation and feels like I am getting more into the syntax. Here is the code I made in the about_dice_project.rb:Read More Ruby Koans Dice Project