claudiordgz

Take Control

Small Notes on std::unique_ptr and Data Structures

Been studying some good ol' data structures, but before taking on the subject, I needed some sauce. I have been wanting to get on the smart_ptr wagon ever since boost introduced them. And then this blog post by Herb Sutter So to get on the unique_ptr bandwagon I

Written By
Claudiordgz on C++, programming, unique_ptr on C++, programming, unique_ptr Comments

Rotating 2D Arrays in C++

Problem Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? Analysis I have one problem basically... it does not specify if is Clockwise or Counterclockwise. Guess

Written By
Claudiordgz on C++, programming on C++, programming Comments

Yet Another Anagram algorithm between two strings... and how to make it better

I am reading "Cracking the Coding interview" and doing some exercises I began coding a algorithm to find is a string is permutation of another. I found that the first implementation I did was completely wrong since I was taking repeated characters as one. The wrong version So there I

Written By
Claudiordgz on C++, Complexity on C++, Complexity Comments

Using Gaming and Faqs as Technical Interview Questions

Disclaimer: The following is pure comedy :D Today I realized that asking in a job interview "Do you use game guides or faqs when playing a videogame?" is an excellent question... here's why: "So... Do you use game guides or faqs when playing a videogame?" Dude, Faqs are for the

Written By
Claudiordgz on blog, Comedy on blog, Comedy Comments

Burned out

Don't Worry Banging your head againts the desk is just as effective as any other thing. Keep pushing forward.

Written By
Claudiordgz on Exhaustion on Exhaustion Comments

Unit Testing in Python... a regular Use Case with code

Unit Testing Testing is essential. The worst part of not having a team that believes unit testing is essential for production is mostly that you'll be on your own when designing each test. Most tests are procedural, having parts that will repeat in concept but may differ a little in

Written By
Claudiordgz on Python, Unit Testing on Python, Unit Testing Comments

OMG Godzilla is all out of gum

Sweet!

Written By
Claudiordgz on Godzilla on Godzilla Comments

And We Are Back Online

Migrating to a new computer is tough. This was the general setup for my new computer: Prepare dual boot of Windows 8.1 and Ubuntu 14.04 LTS Setup TeX development environment in Windows. Setup C++11 in Ubuntu Setup Cygwin in Windows Setup an external hard drive for file

Written By
Claudiordgz on C++, OpenGL, Ubuntu 14.04 LTS, Windows 8.1 on C++, OpenGL, Ubuntu 14.04 LTS, Windows 8.1 Comments