Archive for September, 2007

Emacs: digit more than one char

It happens that sometimes you need to digit more than one character sequentially. This is not a problem if you have to digit it only 3-4 times, but what about 15 or 100s times?

Emacs again come into your help. Let’s say you have to digit character 0 for 15 times

C-u 15 C-u 0 RET

That’s all folks! :)

Comments

Green or red before a break?

I’m quite new to tdd programming. I’m integrating it n my work, while I better learn this technique. Now, I found my self asking, for which should be the better way for managing this situation.

Is it better to stop development with a green bar or a red one before a break? What about when the workday is over and you are going to leave for your real life?

Actually when I’m going to go to a break, I prefer the red bar. It’s a sort of reminder, a todo list. When I get back to the computer, I run the test, see the red bar and say to me: oh yeah, I have to do this.

Instead when I’m going to go home, I prefer the green one. I wrote down what I will have to do for tomorrow (I use tadalist), and be sure to live everything working. So when I get back to the work, on the next day, the first thing to do is to ensure that everything is still working (just run the AllTests).

What about all you readers? Let me see if the 100s visitors per day are only occasional visitors or really read what I write? :)

Comments

Windows XP: Insufficient system resources

It could happen if you have more than 1Gb RAM on a Windows XP SP2, that sometimes when trying to hibernate (suspend to disk), operating system will hang up saying insufficient system resources. As Microsoft say in an article of his knowledge base, it’s enough to download the reported update and everything will be ok.

What I’m asking now is why MS does not provide it with his “beautiful” windows update?

Comments (1)