10.5 support

At the moment I believe that both SQLEditor and HTMLValidator are compatible with Mac OS X 10.5 and should work without functional difficulty.

A minor issue that I found is that the toolbar icons don’t look very good against the 10.5 window style. These have already been redrawn and the new icons will appear in the 1.4 release.

This assumes that there weren’t any major changes between the version that I used to test and the release version of 10.5 which will be released on October 26th.

Overall it looks good though.

Posted in Macintosh, SQLEditor | Leave a comment

OneMonthApp and SQLEditor

OneMonthApp is using SQLEditor!

OneMonthApp is a project where they are building a complete web application in a month. It’s going to be a simple and easy to use cash flow application, apparently. And they’re going to make it free, which is great too.
I’ve signed up to be notified when it’s done, which the counter is promising for sometime in the next couple of days. (They started in September, so less than a month)
Stephen over at OneMonthApp very kindly included SQLEditor in a list of 20 tools for web application development that they’re using for the project.
Maybe I need an “I use SQLEditor” badge icon or something?

Posted in Company News, Internet Stuff, SQLEditor | Leave a comment

DHL

Got a package this morning delivered by DHL and an interesting thing happened.

I recognised the delivery person and the delivery person recognised me. Which was nice. 🙂

I think they must work a particular route, because the same woman tends to deliver most of my (DHL) packages.

Posted in General | 1 Comment

Automatically fill in captcha fields

I get tired of filling in captcha fields on forms.

Wouldn’t it be handy if there was a facility in web browsers to fill them in automatically.

🙂

Posted in General | Leave a comment

Television

This says it all really.

(Though saying that there are still some smart shows on tv. I just wanted to link to that page)

Posted in General | Leave a comment

Google Tech Talks

I’ve been watching educational stuff on the internet recently.

One of the things that I really like is Google Tech Talks on Google Video.

These are talks given at Google on different subjects and many are now available online.

Amongst the really good ones I’ve seen:

(And there are lots of others, these are just ones I could find the links to easily!)

Posted in General | 1 Comment

iTunes tv shows in the UK

Well the iTunes store is finally offering tv shows in the uk. It’s totally disappointing. The prices are ridiculously expensive and the list of shows is small.
All of the MalcolmHardie software sales are denominated in dollars so I watch the exchange rate with great interest.

The current exchange rate at xe.com as of today is 2.01599 USD to 1 British Pound. (In the reverse direction that is 0.49603 British Pounds to 1 USD).

iTunes in the US charge 1.99USD for most tv shows. Therefore the UK price correctly should be 99 pence. (0.99 British Pounds). Given the usual kind of price gouging that goes on, possibly 1.29 or even 1.39 would have been acceptable.
Instead they have decided to charge 1.89 British Pounds. This is almost twice as expensive!
Add 9 pence and it would be exactly twice as expensive.

I almost thought of writing to them and asking if they have mistaken the exchange rate somehow.

The most annoying thing is that while the catalogue will increase in size, the prices will probably be fixed.

Posted in Internet Stuff | Leave a comment

XML, UTF-8 and Java

Apparently, valid UTF-8 strings aren’t necessarily valid XML. You can get a situation where you have valid UTF-8 strings which fail xml parsing.

Fortunately Mark McLaren offers a solution.

Posted in Writing Software | Leave a comment

Retro Mac OS WordPress theme

This made me laugh when I saw it:

http://www.modernlifeisrubbish.co.uk/article/retro-mac-os-wordpress-theme

Definitely memories of simpler times 😉

Posted in Internet Stuff, Macintosh | Leave a comment

Native Mobile apps almost impossible to develop?

I’ve been reading stuff recently about creating native (non-java) mobile phone apps.

The key thing is application signing.

In an attempt to prevent viruses and malicious code from being run on mobile devices, the major platforms require that applications are signed using a cryptographic key before being distributed. The two platforms have different requirements, but this signing process is expensive and difficult in both cases.

Things range from really hard (if you have time and money) to almost impossible (if you lack either time or money).
Windows Mobile:

“I can’t emphasise enough, just how bad the current code-signing mechanisms are in WM5 / Smartphone”

[At WindowsMobile Team Blog]

Symbian

“Having your application, which you’ve slaved over and spent countless hours perfecting, stuck in the signing process for over a month is unacceptable.”
[At SymbianGuru]

Apple iPhone

Apple of course don’t publicly allow any 3rd apps to run on the iPhone. However by comparison it seems simplicity itself to run whatever you like using unofficial methods.

Java

Java application aren’t native. But to fully access all of the features without warnings requires a code signing certificate too.

Code Signing Certificates

Code signing certificates are very expensive. Often costing several hundred dollars. Which is ok if you charge several hundred dollars per copy, or you sell thousands of units. But it’s really bad if you charge nothing and give away the source code. It’s also bad if you are a very small company trying to sell relatively cheap software.

I think that if I own a device I should be able to do what I want with it (within the limit of the law).
Buying something and then being told that I can’t run my choice of applications on it seems really bad.
Charging people who want to give away stuff is bad too.

It looks like I won’t be buying Symbian for my next mobile phone. 🙁

Posted in General | Leave a comment

SQLEditor 1.4b2

Another day, another beta. (Kind of)

SQLEditor 1.4b2 is now available, which is pretty much bug fixing against 1.4b1.

There were several issues with 1.4b1 including an annoying bug that would sometimes delete foreign key connectors when you deleted an unrelated table.

There are some fixes for other bugs which turned up and some improvements to undo/redo, to make it more stable when you undo or redo lots of things, one after the other.

I’ve also moved SQLEditor to Sparkle. Sparkle replaces an update system that I wrote myself and it should offer better update support as well as a nice html based ‘what’s changed’ window.

SQLEditor also now tells people that it is a beta and exactly when it will expire. It probably should always have done this, but it does it now, which is probably good.

There are also some minor fixes to the live source view, so that it changes with the document sql dialect and appears correctly when reopening existing documents.

[Download] (3.4MB DMG File, changelog)

Posted in Company News, SQLEditor | Tagged , , , , | Leave a comment

Site redesign

So, if you’ve visited the MalcolmHardie.com site today you’ll have seen the new site design.

It’s Blue.

But that’s not all. The layout structure of each page has been substantially changed (for the first time since 2004, I think)
. The new 2 column design is also wider (960px) and offers more flexibility than the old 3 column design. There are new graphics and section headings and a new about page (with a message from me!).
The MalcolmHardie logo has been used in a reversed white on blue form, which I think worked out quite well and the main body is black/dark gray 13px Lucida Grande on a white background. (With Verdana as the second choice)

The content management has also been improved. The whole site is now a sort of wiki. Although it is somewhat static as wikis go. Each web page is now a wiki page that is rendered when necessary to deliver the page. Page expiry dates match the wiki source document expiry and all of the meta-data is cached into a database so that things like recently changed lists can be generated. The next iteration of the system may also cache the text as well.

Apache is configured to serve the wiki pages only after any existing index pages, so the whole thing can be switched to static html without recoding (if necessary).

There were several things that I really wanted to do with the re-design.

The first, obviously, was to get the web2.0 thing going. The first step in the design process was therefore to identify the gradient that I wanted to use. The blue/blue gradient seemed to be a good choice here. Although I didn’t in the end go for reflection or glass effects, several prototypes had glass effects. 😉

The second was to serve html pages as html pages with a .html extension. Which was achieved (mostly)

The third thing was to clean up the arrangement of the site, previously there had been a mix of systems used to generate content from an interesting (but probably obsolete) attempt at a php visual class library, through ordinary php to finally plain html. The new wiki style system is consistent across the site. (I’m hoping that this will last)

Software

The site is written in php and uses a mysql database (standard, boring even!)

I used the PEAR Text_Wiki classes to handle the wiki side of things.

The wiki dialect is Text_Wiki default with extra classes to do php includes and page meta data in the same document.

Things I hope to improve

At the moment there are some limitations to the wiki syntax. This means there are more blocks of raw php and html than I want. Eventually I hope to write some more wiki plugins to reduce this

Another area that could be improved is the concept of relative pages within the site. Currently the wiki links are hierarchical with the full link required each time.

I’m very interested to know if you like the new design. Feel free to send me email or add a comment below.

Posted in Company News, Internet Stuff | Leave a comment

HTMLValidator 1.0

HTMLValidator 1.0 is finally released.

As I write this, it’s been out since Friday, so I guess I’m a bit late in writing this. HTMLValidator 1.0 is identical to HTMLValidator 1.0b8, except of course that it 1) doesn’t expire and 2) asks for registration.

The first non-beta release seems to have gone reasonably well. People are downloading it, trying it and some are starting to buy it. (If you’re reading this, then thank you!).

Oddly enough the most difficult thing about the whole thing was making sure that the order processing system could correctly deal with more than one product. We have a system that interfaces with our payment provider and it handles logging orders and generating serial codes. When it was originally written, HTMLValidator didn’t exist, we sold only one product and there wasn’t really a plan to develop others; So there were several areas that assumed that was only one product. The lesson here is to assume that you’re going to expand and plan accordingly.

Work has already started on the next release of HTMLValidator. The main areas for improvement are speed and memory usage. Plus there are some improvements to validation that the W3C released in their version 0.80 code release that would be nice to have in HTMLValidator. (Which is of course based on the W3C validator).

If you want to try HTMLValidator then we have a page that tells you all about it.

[HTMLValidator]

Posted in Company News, Macintosh, Writing Software | Leave a comment

OpenMoko developer hardware

I love the idea of the OpenMoko platform, an open source mobile phone. It uses linux as the operating system built on a fairly open hardware platform. (Some of the drivers are closed source, apparently due to licensing restrictions)

You can buy a developer unit right now, although the list of currently incomplete features should (rightly) discourage all but the most enthusiastic.

http://www.openmoko.com/

I think when the software is more complete that this could be a great mobile phone. The idea of having almost total control over the operation of a mobile phone seems like a very clever idea.

Some ideas that came to me:

  • Use the onboard GPS to perform actions when in particular locations (automatically forward calls to my home number when I’m at home for instance, or automatically switch off the phone when I’m at the cinema. Possibly  use different answer phone messages when in different places)
  • Simplified user interfaces with more active assistance for people who only want a basic phone
  • A system that uses the location system to look up things on google maps. (like nearby restaurants that are open and have good reviews)
  • games that use the physical location as part of the gameplay. (Like a treasure hunt maybe?)
  • More advanced actions when people call (like bringing up events that they are connected with, or documents they’ve sent)

These are just some ideas I thought up as I was writing this, there are probably other better ideas around. Some of these ideas have been done, but I think that the openmoko scheme has a number of advantages over other hardware.
I really want one 🙂

Although I will probably wait until the software stabilises and they add a camera. The current plans include a new hardware revision in the Autumn (with wifi) and then more models next year.

Posted in General | Tagged , , | 1 Comment

Disable “You have new mail” terminal message

By default in linux you get a message saying something like

You have new mail in

when you log into a linux machine.

Sometimes this gets annoying because you always have new mail, or because there seems to be a delay while checking the mail or because the mail is actually stored on some kind of remote disk.

Disabling this setting is easy. Simply include

unset MAILCHECK

in your .bashrc file (for login shell) or .bash_profile (for non-login shells, i.e. ssh) and the message shouldn’t appear.

For me it speeds up login for my linux server and removes clutter.
I got this from:

http://www.savarese.org/patches/bash.html

There is also a more detailed explanation that I found here:

http://www.cygwin.com/ml/cygwin/1998-08/msg00365.html

This page explans the difference between .bashrc and .bash_profile:

http://joshstaiger.org/archives/2005/07/bash_profile_vs.html

Posted in Linux | Tagged , , , | 5 Comments

The phrase ICT

I really hate the abbreviation “ICT”. Somehow every time I hear it I get slightly annoyed with it.

Fortunately it looks like other people don’t like it either. 🙂
ICT which stands for Information and Communication Technology is usually the phrase used by the public sector in the UK to talk about computers and telephones.

The good news though, is that Register readers don’t like it either. 88% of responders in a web poll wanted it banned. (57% said yes without conditions, 31% wanted it banned but with the condition of more Paris Hilton stories)

If I’m really lucky perhaps this abbreviation can be removed from usage altogether. 🙂

Posted in General | Leave a comment

“I would argue that the fact that there are 100,000 people in China who are paid to play the boring parts of World of Warcraft is evidence of serious flaws in the game’s design.”

Brandon Berg
[link] (in the comments)

This is in response to an article condemning MMORPG gold farmers.

Posted in General | Leave a comment

Email legal statements in headers

Graham Miln at Dssw has an interesting article talking about adding legally required information to emails using headers instead of using signature blocks. He also talks about a defined microformat for the data.

This is interesting to me, because I’m already doing something similar with some emails sent by the new MalcolmHardie Solutions order processing system. Most orders don’t involve sending any emails at all, the work is done entirely by swreg, who have their own arrangements. However educational orders go through an approval process which involves sending an email. Including all of the legally required information in the body is clunky and inefficient, because most of the time it won’t actually be used; but it has to be present. It appears that we both developed the idea in parallel because I did the coding on this last week and I only read the article today.

The dssw headers aren’t the same of course. More options are specified and it seems more optimized for automated processing. My headers are perhaps slightly more optimized for humans. The strings are the same as the strings that were formerly in the email signatures.

MalcolmHardie Solutions headers:

X-CompanyInfo: MalcolmHardie Solutions Ltd, Registered in Scotland Number SC283129
X-CompanyRegisteredAddress: Office 22, 196 Rose Street, Edinburgh EH2 4AT

Dssw headers:

X-Company-Address: Dragon Systems Software Ltd (DssW), 3rd Floor Suite, ***** Hereford, ******** United Kingdom
X-Company-Registration: EnglishWelsh-3397***
X-Company-Directors: G.C.***, E.A.*****
X-Company-Secretary: J.E.*****
X-Company-About: http://www.dssw.co.uk/about/

(I have replaced some data with stars to slightly reduce the amount of personal data)

I will have to see how to reconcile the two formats, but I think most likely I will use a combination of the two.

I particularly like the X-Company-About header which I think is useful and very functional. The machine parse-able X-Company-Registration header is also a good idea, although I like having the complete human readable string as well (X-CompanyInfo) at the cost of an additional line. It might be worthwhile having both a registered address and a company contact address as many smaller businesses do this. Another heading that might be useful would be X-Company-VatRegistrationNumber which is required if you have one.

Possibly a X-Company-Logo header could indicate a path to a small copy of the company logo which could then be displayed next to the email address in suitable clients.

Note that MalcolmHardie Solutions doesn’t add the names of the directors as a policy decision. My understanding, based on information from Companies House, is that displaying this information is optional, so we don’t.

While the details may differ I definitely think this is the way to go on legal information in headers. Structured data should be stored in a structured format and not appended randomly to unstructured data.

Hopefully we can work towards some kind of common standard, which could then be included in email programs and other tools. Think how much easier it would be to comply with the law if it was a simple preference in your email program and the program asked for the details when you install and displayed the information in the headers section when viewing emails.

Posted in General | Leave a comment

WWDC: Windows

It looks like Apple is not moving into any kind of virtualization or emulation of Windows. Although Boot Camp is said to be included, it doesn’t appear that it will work noticably differently to current arrangments (ie. dual boot).

This is probably good news for Mac developers. I seriously believe that if you could run windows apps natively within Mac OS X without extra software then people would start buying windows software not Mac software in some cases. Look at what happened to OS2, it offered windows compatibility as standard; users asked why bother? Then they switched to Windows proper. Although OS2 also had other difficulties which may also have affected its future, supporting the applications of the main competitor probably had an effect on the number of OS2 applications released. Similarly I think Windows apps natively on Mac would affect the number of Mac apps in certain categories.

Posted in General | Leave a comment

WWDC keynote: Games

(Watching WWDC keynote log over at MacRumors.com)

(It seems to be a blogging day for me?)
Gaming seems to be one of the big things at this year’s WWDC keynote. EA is apparently going to be doing simultaneous releasing of some games this year including Harry Potter. This is interesting because EA is so important in mainstream gaming.

Whether EA will follow Blizzard in putting both games on the same CD (hopefully YES) or have separate releases for the two platforms will be a point to note. Dual platform releases like Blizzard are great because it means that you can buy Mac games at mainstream gaming stores and the titles then get released on budget labels (often with the Mac part still attached). I’ve picked up several of the Blizzard games at my local branch of Game here in Edinburgh this way as impulse purchases.
(Of course where this leaves the Mac Porting development companies is anyone’s guess)

They also had John Carmack doing a demo of 3D stuff which looked interesting, but, since I’m reading a transcript and looking at photos, doesn’t really make as much impact.

Posted in General | Tagged , , , , | Leave a comment