Archive for the 'Development' Category

Useful regular expressions

Sunday, November 19th, 2006

Everybody seems to have his own version of regular expressions for checking the validity of emails and URLs. I’ve combined serveral versions I found on the net to create my own.
Here’s the regular expression for checking the validity of email addresses:
^[a-zA-Z][w.-]*[a-zA-Z0-9]@[a-zA-Z0-9][w.-]*[a-zA-Z0-9].[a-zA-Z][a-zA-Z.]*[a-zA-Z]$
And here’s the regular expression for checking the validity of URLs:
^(http|https)://[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(([0-9]{1,5})?/?.*)$
These regular expressions should work [...]

My first web app

Thursday, November 9th, 2006

I’ve heard people talk about how hard it is to make a page look and work the same way in both Firefox and IE, but I’ve never had the opportunity to hack it out myself. Boy has it been an unpleasant experience. I’ve put up a really simple form and tested it only with my [...]

Open University paper submission form

Monday, November 6th, 2006

I am studying Comp.Sci at the Israeli Open University. Basically what it means is that I don’t have to go to lectures and do all my studying on my free time - weekends mostly.
When you submit a paper to the OpenU via email, you need to attach a special scanned form to it, or the [...]

User interface woes

Thursday, July 13th, 2006

We’ve been at it for five months now, and we still haven’t got it. I’m talking about the user interface concept of our little photo management software called ZPhoto. We’ve been at it for five whole months, planning, drawing, implementing, revising, arguing (quite laudably I might add) and trying to decide. I don’t think that [...]

wxPython-IL

Monday, May 29th, 2006

There was a meeting of the Python-IL (Israel) smallish community tonight where I talked a bit about wxPython.
I went there in a firm intent to write some code and show some neat cross-platform tricks that are possible with the framework, but instead spent quite a lot of time looking a the blue screen of death [...]

Statistics

Wednesday, April 26th, 2006

This has been a long week for me and Arik and it felt like we had quite a lot of work done after Ilay and Benny redesigned the whole interface (yet again..) last week.
Insprired by a discussion that I had with Arik over lunch today about metrics productivity, I thought I’d have a crack at [...]