## Career outside the Matrix

Every year student grads enter the work force. At least they try to. Through job ads they hope to catch a glimpse of ...

Every year student grads enter the work force. At least they try to. Through job ads they hope to catch a glimpse of ...

TF-IDF is a numerical statistic that tells us how important some word is in a document. It stands for term frequency ...

As you know RTFM stands for Read the Fucking Manual. Today, I would like to introduce you to RTWFM which stands for R...

Last evening I was playing around with C and came up with an example showing simple OOP concepts.The working behaviou...

It’s never too late to optimize the code. Never too late to realize there’s a better approach.After writing the last ...

Memoization can be incredible useful for expensive calculations. Just look at the results at the bottom of the post t...

I was working through a way to get a square-root function to work in scheme.(define (sqrt2 x) (sqrt-iter 1 x))(defin...

Delta Debugging is an automated debugging approach based on systematic testing.Programmers follow this approach when ...

Recently I read an article explaining how to use bitwise operations to grant or deny access to something.I liked the ...

I was introduced to sys.settrace in the Udacity course on debugging. Python docs say:>Set the system’s trace funct...

Frequently when debugging software we usually spend lots of time figuring out where exactly is the bug that is creati...

I started Software debugging class on Udacity.SyllabusUnit 1: How Debuggers workTheory: Scientific method and its app...

“Babysitting an Army of Monkeys: An analysis of fuzzing 4 products with 5 lines of Python” was the title of a talk by...

Code coverage is a metric used in software testing that describes the percentage of code that’s been tested.Some type...

Today I started Software Testing class on Udacity.In the first unit Prof. John Regehr talked about a specification is...

Consider the following code:class A(object): passclass B(A): passclass C(B): passclass D(C): passAs you c...

Today I’ll turn you into a decorator. Let’s build a house and decorated it.First things first… the house. In my world...

$ ruby -rubygems -e 'require "jekyll/migrators/wordpressdotcom"; Jekyll::WordpressDotCom.process("...

Today I played with beautifulsoup and wrote a script to query a portuguese online dictionary.$ ./porto-dict <word&...

Today I found Nokogiri.>Nokogiri is an HTML, XML, SAX, and Reader parser. Among Nokogiri’s many features is the ab...

The complexity of this algorithm is O(n log n). This is a divide and conquer algorithm. We take smaller sub-lists and...

git initgit addgit commitgit pushCode has been pushed to Github.

The complexity of this algorithm is O(n log n).The list of elements is recursively divided into smaller ones, each ti...

This algorithm is based on Insertion Sort but instead of starting the comparison between adjacent elements it introdu...

The complexity of this algorithm varies from O(n²) and O(n) on the best case.This algorithm assumes that the array is...

This algorithm (AKA cocktail sort) has a complexity of O(n²).The procedure is similar to the bubble sort. In fact, th...

This sorting algorithm has a complexity of O(n²).The algorithm compares each element in the array with the element in...

This sort algorithm has a complexity of O(n²).For each element in the array the algorithm tries to find the lowest va...

A hash table is a data structure that can map keys to values (objects). If we want to search for a value associated w...

The binary search is a divide and conquer search algorithm. In each step it reduces the size of the array to search, ...

PHP sessions are managed with a little (BIG) help from the cookies.When a user requests a URL and the webpage makes u...

You’re at a reception desk. There are four people waiting in front of you and you have to wait for your turn. That’s ...

Imagine you have to do the dishes and you put one plate on top of the other.The stack data structure works in that wa...