nose doesn’t discover tests on Solaris

Category: Programming, techie, testing

Note: this is a technical post, to help poor souls that google this
When using nose on Solaris machines, simply running nosetests without specifying the file names will not work if you are the root user. To fix this, you must either not be root, or pass nose the argument –exe. That’s it.
Gory details: [...]

Continue reading » 1 Comment

Avoid the perils of coder customers

Category: Programming

Coders are the worst customers ever. The sooner you wrap your head around that, the better. Actually, any customer that’s technical is a bad customer, but nothing trumps coders. That fact is not intuitive, or at least wasn’t for me, but it can be really painful to find it out by yourself. So here, I [...]

Continue reading » 1 Comment

Stop Coding in the Middle Ages

Category: Programming

Aren’t you sick of wasting your time, your team’s time and precious build cycles for finding the stupidest mistakes ever? I know I’m far more interested in solving the real problems at hand than chasing stupid syntax errors. And even if you don’t mind, you really shouldn’t let your teammates substitute for a decent tool.
Up [...]

Continue reading » 5 Comments

Less Code is More

Category: Programming

As coders, we should always strive to get as much feedback as soon as possible. Agile tells us we should get frequent feedback from our customers in order to make sure we’re always on track. Unit testing and the green-bar loving are all about knowing exactly when your code breaks and when you’re safe.
A kind [...]

Continue reading » 7 Comments

A Week in Nowhere for Better Code?

Category: Uncategorized

I finished my army service (in the Israel Defence Force) 6 months ago. Before anyone gets carried away, let me assure you my service had no Rambo-like scenes involved, but simply required me to do what I always do – code.
But, it being an army and everything, everyone is required to do some “army” stuff [...]

Continue reading » 1 Comment

Every Coder Should Read TDD By Example

Category: Programming

I’ve just finished reading Kent Beck’s TDD by Example, and man, what a great reading that was. It was so good, I’m gonna put it in my top 10 books list (accompanied by other classics, like The Pragmatic Programmer and Beck’s probably most known book, Extreme Programming Explained).
I’ve been doing TDD (to an extent, say at least [...]

Continue reading » No comments

Trying to Find Coder’s Heaven

Category: Programming

I read a post today by Kent Beck:
The prices for programming have fallen so far that just programming for someone isn’t going to meet my financial goals (4 kids to get through college). For my own satisfaction I need to program but to meet my goals I need to do something more than “just” programming.
This [...]

Continue reading » 4 Comments

Becoming a Happier Hacker: Actively Strive to Work with Other Hackers

Category: Uncategorized

After a few years of working in the field, I’ve come to a conclusion: one of the best ways to evolve as a hacker is to work with other hackers. Not just that, I’d rather work alone than work with non-hackers. Wait, I can almost see you reaching to close this tab, mumbling to yourself [...]

Continue reading » 1 Comment

Writing a BuildBot Latent Build Slave

Category: Programming, Uncategorized

We’ve been working on creating a scalable and stable building and testing environment for our team.
After some checking, BuildBot was found to be the best (for our needs, at least).
Gathering the different abilities that are needed for testing our products, and the different limitations we’ve got in our testing lab, we came to the conclusion [...]

Continue reading » No comments

Bash Nitpicking on Redirections

Category: Uncategorized

This little excerpt from the bash man page explains the reason I just wasted 2 hours:
Note that the order of redirections is significant.  For example, the command
ls > dirlist 2>&1
directs both standard output and standard error to the file dirlist, while the command
ls 2>&1 > dirlist
directs only the standard output to file dirlist, because the [...]

Continue reading » 1 Comment