Skip to content

{ Author Archives }

Something simple – like a socket set, maybe

Understand from the start that I have forgotten more about TCP port programming than many people ever get to know. I’m not joking, either; I don’t remember large APIs at all well, and have always relied on decent documentation to keep it all together. Liz and I sometimes remark that my modus operandi is that […]

Tagged

Amazon lists

I have created two Amazon booklists, one for WebObjects, the other for Cocoa. They should show up if you do a search on Amazon (UK only, I think), for “Cocoa Programming”, or “WebObjects”. I don’t get any referral fees from these lists, so they are a labour of love, and I intend to keep them […]

Tagged , , ,

Mary Berry's Ultimate Cake Book

I bought this book a few weeks ago because it seemed to be close enough to being an important reference book for English cake baking. On that basis, it comes close, but doesn’t win. As a large compendium of English baking, it is very good. Since then, I have baked my way through about a […]

Tagged ,

Books about Bread

I promised to give my suggestions on books about break making. Down below I list a few books that are absolutely first rate, with every aspect showing a deep understanding. Further down I add a few extra books that have helped me along the way, although they may not be as comprehensive as the first […]

Tagged , ,

Bread Making Tips

First, some background: I think the first time I made bread I was about eight. I can remember doing the shopping for my mother, and buying a ‘bloomer’ from the local bakers in Hayes, or from Parkers in West Ealing; and the special treat of having the top off a cottage loaf. The bread I […]

Tagged , ,

Cocoa Internet Version Checking – check for updates…

It seems that almost every new app you see out there has an on-line version checking system. I remember when the first ones started to appear in Cocoa land (probably from Omni), and I sort of coasted and ignored them. Anyway, this week I was running a Cocoa class, and the question arose. There’s an […]

Tagged

Python

I like Python. It’s a scripting language, in a similar vein to Perl. However, to steal an analogy from someone else, where Perl is executable line-noise, Python is executable pseudocode. It’s an easy language to get into. Its most immediately visible difference from, say, C or Java is that it doesn’t use semi-colons or {}. […]

Tagged

Search and Replace

This is more complex than it needs to be, for unobvious reasons. The problem, succinctly stated, is implementing regular expressions with Java. For historical WebObjects reasons, I have not had easy access to a regexp library. Java people have used the open source JEdit libraries to implement regular expressions, but with WebObjects this was too […]

Tagged ,

Decision tables, when to use

This is genuine 1960s technology, but it moves forward into 1970s technology (OOP) very well. Here’s the situation: you have a combination of two variables that need checking; for an example, perhaps an object has a status flag with a few different states, like failed, on hold, incomplete and registered – and you need to […]

Tagged , ,

Java date arithmetic

I am used to using the old (deprecated) WebObjects NSTimestamp class to do basic arithmetic on dates; it was easy with one method call to add an arbitrary number of days/weeks and get the correct date, or even to calculate the difference between two dates. In the new (release 5.0, so not that new) world […]

Tagged ,