Blogs
Being a technical …
A few months ago I experienced (for the first time) how it feels to be part of a technical reviewing team. I reviewed a packt introductory book about Design Patterns.
Today I'm glad to see that another packt book, of which I was for once again one of the technical reviewers, has been published. The …
Today I'm glad to see that another packt book, of which I was for once again one of the technical reviewers, has been published. The …
BASH: syntax error near …
After making some portability and readability improvements to shell-utils, I used BASH, sh, and dash to test it. While sh and dash were fine, BASH returned the error:
line 358: syntax error near unexpected token `('
line 358: `ls ()'
That is strange. BASH usually introduces shell portability issues …
line 358: syntax error near unexpected token `('
line 358: `ls ()'
That is strange. BASH usually introduces shell portability issues …
Joy of Coding 2014 - My …
I haven't been to a conference for years, but this year I decided to join Joy of Coding. And I don't regret it!
The conference started with a keynote by Dan North: "Accelerating Agile: hyper-performing without the hype". Dan described what he learnt about Agile while working in the trading …
The conference started with a keynote by Dan North: "Accelerating Agile: hyper-performing without the hype". Dan described what he learnt about Agile while working in the trading …
My first book review
During the last month(s) I participated in the review process of a book about Design Patterns in Python. I am happy to see that the book has been released. The title of it is Learning Python Design Patterns.
Reviewing a book is definitely not harder than writing one, but that doesn't mean that it's …
Reviewing a book is definitely not harder than writing one, but that doesn't mean that it's …
mbed USB voltmeter
USB communication with mbed is easy. That's because USB is the default protocol used to transfer programs from a computer to an mbed.
In this prototype I measure the analog value of a pot, I convert it to voltage, and finally I use USB to print it on my computer's screen. That's a simplistic …
In this prototype I measure the analog value of a pot, I convert it to voltage, and finally I use USB to print it on my computer's screen. That's a simplistic …
Numerical string sorting …
The problem: You have an unsorted array of strings (product codes, area codes, etc.) containing both letters and numbers (for example 'A28', 'A3', 'A1', etc.) and you want to sort them numerically (that is, 'A1', 'A2', ..., 'An'). Ruby offers a sort method, so let's see what it does...
Nope, that's …
Why you should try Emacs …
Are you a GNU Bash user but you are not using Emacs? Perhaps you should consider trying it. You will be amazed by the similarities...
I know, your IDE (Eclipse, QT, etc.) is superior and you are extremely productive with it. Why bother using an ancient editor like Emacs? I will not begin another …
I know, your IDE (Eclipse, QT, etc.) is superior and you are extremely productive with it. Why bother using an ancient editor like Emacs? I will not begin another …
Data Structures and …
Definition
Think of a queue as a line of people waiting to buy a ticket for an event (music concert, film, etc.).Photo Credit: Bryan Bedder/Getty Images for Tribeca Film Festival |
Interview question: …
Let's assume that we are asked to solve the following problem in a programming interview: "Write a function that removes all duplicate characters from a string". Piece of cake, you might think. Surely they are not asking us to write a Web Browser but there must be a reason for that.