February 17, 2011
Python 2 or Python 3?

Actually, that’s not the question. I would ask you what’s the problem you want to solve.

Recently some guy created the Python 3 Wall of Shame, which it’s supposed to expose a problem with Python 3 being released in 2008, but currently most of the packages don’t support Python 3 but Python 2.

As you may know, Python 3 isn’t exactly backwards compatible with Python 2, so it’s not as simple as using the latest version.

I’m my opinion, the aforementioned Wall of Shame is plainly wrong: the timeline for solid Python 3 adoption is 5 years, according to Python developers. There’s another site (Get Python 3), that it’s more positive, and I think it’s the way to go.

When I started with Python, I read Should I use Python 2 or Python 3 for my development activity?, and summing it up is just use the best tool available at the moment, keeping an eye in the new stuff.

February 7, 2011
"Python surged hugely this last year — more than any other language. […] I’m not convinced. I suspect part of the new adoption comes from Perl programmers who are throwing in the towel."

From The Rise And Fall of Languages in 2010.

This guy is good! Count me in!

by jjm on 7:12pm  |   URL: http://tumblr.com/ZPorZy2ylXhI
(View comments
January 9, 2011
"Programming language Python has become programming language of 2010. This award is given to the programming language that gained most market share in 2010. Python grew 1.81% since January 2010."

From TIOBE Programming Community Index for January 2011.

In other news PHP had a real bad time in 2010. Interesting, I moved from PHP to Pyhton with my job change at the end of 2010.

June 8, 2010
"Let’s try an experiment. Think of a project you use all day. Maybe it’s Rails or Python or something. Now, name 4 people on the core team without looking them up. I can’t do that for anything I use."

From There Are No Famous Programmers, by Zed A. Shaw.

Man, sadly I agree: there are not famous programmers.

I can remember once, I was having a coffee with a good friend and I started to comment the new OpenBSD weblog (undeadly, back in the days!), made in C (werid) by one guy. I remember saying: “You may know that guy, he’s Daniel Hartmeier”.

That was an awkward moment. Even explaining he programmed OpenBSD’s Packet Filer (the first initial version, at least), it didn’t help at all.

So, if you’re a programmer, no matter how good you are. You’re not likely to be famous. Let’s face it.

by jjm on 7:26pm  |   URL: http://tumblr.com/ZPorZyeNjEw
(View comments
Filed under: programming fame software users facts 
March 16, 2010
"Proposal: “{” and “}” to be known as openstache, closestache."

From {{ mustache }} (from Logic-less templates), via buzzfeed.

+1 to this new naming.

January 22, 2010
"Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems."

From Jamie Zawinski, on comp.lang.emacs.

Seems that the now they have two problems kind of quote can be quite adaptable (s/regular expressions/threads/), but today it’s as true as back in 1997.

The now they have two problems is one of my favourite, followed by History repeats itself, first as tragedy, second as XML (a Karl Marx quote evolved).

December 25, 2009
"Principle: Powerful languages inhibit information reuse."

From The Rule of Least Power.

The “Rule of Least Power” suggests choosing the least powerful language suitable for a given purpose. It’s nothing new, just another flavour of the KISS principle of design (Keep It Simple, Stupid), but it’s an interesting idea anyway: Overall, the Web benefits when less powerful languages can be successfully applied. Because the web must be reusable data not tied to a complex language, I might add.

I’m not sure if this idea can be applied to other fields, because when you have a cool hammer… everything starts looking like a nail. Let’s say you hammer is Java and you won’t solve the problem with some PHP lines, even when you can do it.

July 2, 2009
And Test Automation Saved the Day!

Well, not. Actually I was the guy working like crazy from 9 to 15, but all this hard work was possible just because we had a nice set of 122 automated tests, and I can’t miss this opportunity to say: I told you!

The pre-production machines were supposed to be ready last Thursday to start the integration of our shiny SOAP web service into our partner SaaS platform (woah, look at me! I’m using modern buzzwords), but the machine wasn’t operational until Friday.

After that, our partner started today the integration, one week after we have planned to. So, let’s say we had the need to make things right today (no matter who gets hurt).

Besides that, isn’t easy working with Australian technicians because the time difference with Spain (+8 hours).

Fortunately today was my best programming day in some time and we had automated tests to do the quality control of the different changes we had to introduce in our web service. Without that stuff, which very often is treated as useless waste of time, we wouldn’t have been able to validate those last minute changes and the project would be either delayed or buggy (or both!).

To sum up: people out there, program your tests because they’re worth your time!

by jjm on 4:42pm  |   URL: http://tumblr.com/ZPorZy7-yW4
(View comments
Filed under: testing automation programming 
June 16, 2009
Coding Again!

After… a year and a half? I don’t know, but I’m sure it’s too much time, I’m programming again. Professionally I mean.

It’s a small project, with the downside that we have little time to finish it and move to production state, but I’m having some fun coding a SOAP service in PHP, with some testing in Perl.

First thing I’ve noticed is yeah, I still know how to do it, and the second one is damn, I mix Perl and PHP code. But the most surprising part is that SVN is really addictive.

No, seriously. I’m sure that every disgusting task in your job would turn into something better just with a SVN alike interface.

$ svn ci coding-again-post.html

by jjm on 10:41pm  |   URL: http://tumblr.com/ZPorZy7S56i
(View comments
Filed under: life programming SVN fun 
February 23, 2009
When Did you Learnt to Program?
Today my workmates were talking about Fortran and Cobol in the coffee break. Yeah, I know it’s scary.
I wasn’t really on the conversation, but I said something like I learnt Cobol 85 when I was 14, and I don’t keep a good memory about it, although it had some advanced stuff then.
That ended the conversation with all of them staring at me: When did you learnt to program?. My answer was: I was 13, and learnt almost all I know from an Olivetti Gwbasic interpreter (more or less heh).
Seems that my answer was surprising, and the younger of my workmates asked: Why?. I remember it like one of the most important times of my life: Because of a silly program to change the screen color pressing space that my cousin wrote on a ZX Spectrum. I saw potential.
And the funny part it’s that I’m not alone. One of my workmates confessed he was there with us because of the same home computer from the 80s.
Photo by Bill Bertram, Cc-by-2.5 Attribution.

When Did you Learnt to Program?

Today my workmates were talking about Fortran and Cobol in the coffee break. Yeah, I know it’s scary.

I wasn’t really on the conversation, but I said something like I learnt Cobol 85 when I was 14, and I don’t keep a good memory about it, although it had some advanced stuff then.

That ended the conversation with all of them staring at me: When did you learnt to program?. My answer was: I was 13, and learnt almost all I know from an Olivetti Gwbasic interpreter (more or less heh).

Seems that my answer was surprising, and the younger of my workmates asked: Why?. I remember it like one of the most important times of my life: Because of a silly program to change the screen color pressing space that my cousin wrote on a ZX Spectrum. I saw potential.

And the funny part it’s that I’m not alone. One of my workmates confessed he was there with us because of the same home computer from the 80s.

Photo by Bill Bertram, Cc-by-2.5 Attribution.