Archive for Uncategorized

A Week in Nowhere for Better Code?

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

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

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

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

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

Fixing Equations in Word Documents Converted from OpenOffice

This is a short tip post. If you were ever frustrated with the fact that OpenOffice documents with equations don’t show up properly when converted to MS-Word documents you’re gonna love this!
It’s a known problem that converted equations need to be “double clicked” in Word for it to re-render them and show up properly. Turns [...]

Continue reading » No comments

So You Got an Arduino

After playing around a bit with my new Arduino, I’ve gathered a list of a few things that I wish I knew when I started, as it would have saved some of my time. Hope it helps someone. Happy hacking!
There’s a builtin LED
This one I didn’t get right away. There’s a reason most of the [...]

Continue reading » 2 Comments

My “Hello, Arduino”

I ordered an Arduino Duemilanove a few months ago, and other than simply testing it to see that it starts up I haven’t touched it. It’s been lying on my desk, making me feel guilty every time I saw it.
Today, having a few spare hours and because I just finished reading “Programming Embedded Systems”, I [...]

Continue reading » No comments

New version of JUnitConverter is out

I just uploaded the latest version of JUnitConverter (yeah, I’m no big on design), and thought it would be the right chance to talk about it here.
In the summer of 2007 we, at my workplace, decided to upgrade our (non-legacy) code-bases to use JUnit 4 as part of a move to make people more aware [...]

Continue reading » No comments

Sending SMS using Google Calendar’s python API

Soon another semester will start. And, like every semester, I received the list of assignments that are due, with their deadlines. Up till now I used to type into Google Calendar each deadline and set SMS reminders, to make sure I won’t forget to hand the assignment, but this time I realized I’ve had enough [...]

Continue reading » 2 Comments

ANTLRv3 Integration with Eclipse

I’ve been working on a pet project of mine, junit-converter, recently. It’s intended to help people migrate from JUnit 3 to JUnit 4, by adding required annotations and such, but it’s far from perfect. junit-converter is based on TestNG’s converter that uses Java’s Doclet.
For those who aren’t familiar with it, Doclet is something that allows [...]

Continue reading » No comments