SQLEditor Cocoa B11a

Unfortunately there was a crashing bug in SQLEditor beta 11 and I had to release b11a.

It was one of these things were format strings caused the crash. I’d transposed two of the entries

[NSString stringWithFormat:@” %@ %d”,aDecimal,aString]

instead of

[NSString stringWithFormat:@” %@ %d”, aString, aDecimal]

and of course cocoa crashed, probably because it tried to send a message to the aDecimal variable.

It’s unfortunate that this can’t be detected at compile time, because it’s really annoying and very easy to do.

Possibly this could be caught in an exception handler of some kind though. I’ll have to do some more work on it.

Posted in General, SQLEditor | Leave a comment

HP unveils paper-thin flexible screen technology – ZDNet UK News

HP unveils paper-thin flexible screen technology – ZDNet UK News

This is a really amazing development. There are some images too. The most impressive one is probably the first image which has been unplugged for two years!

They also demonstrate a color version which offers 125 colors at the moment.

The advantages of this technology are obvious, although it isn’t (yet) fast enough for digital video. It can be used to create clever signage, smart display panels for places like airports and railway stations. Intelligent motorway signs and many other things. It will allow lower cost and better display quality.
Think how much fun it could be in airports if a late passenger announcement also included a giant photo of the passenger holding up the flight. 🙂

Maybe one day we might even have proper electronic paper. A unit as thin and light as real paper but with all of the qualities of a computer display.

Posted in General | Leave a comment

SQLEditor Cocoa B11 Released

Released SQLEditor Cocoa B11 today. Lots of new features included in this release.

I almost missed the release today actually because I found an unfortunate bug just before I was about to upload. It turned out that an object wasn’t correctly removed from the notification center list, which caused a crash when the application tried to clean up by sending messages to various objects (including one that had actually been deleted already). But I fixed it and released just slightly late (it wasn’t really a serious bug)

Posted in General | Leave a comment

UGC Cinema Pass & recent films

Well I finally signed up for this. After about 5 minutes and an amazingly scarey form, I’ve now got a commitment to pay £120 and a pass good for 30 days. The actual pass will be delivered by post later.

Saw Wimbledon. Along similar lines to many recent British romantic comedies, but pretty good none the less. The tennis scenes were suitable dramatic and it had a happy ending.

Saw “Sky Captain and the World of Tomorrow” last week. Excellent film in the Indianna Jones style.

Now I have my cinema pass I must see more films though.

Still wanting to see

Shark Tale

Posted in Films | Leave a comment

Mental Control of Computers

Yahoo! News – Scientists gingerly tap into brain’s power

This is a really great piece of news. If this technology can be extended then it will really improve the quality of people’s lives immensely.

Plus they’re also promising non-invasive approaches too.

Posted in General | Leave a comment

Cocoa#

I’ve been playing around a bit recently with mono and cocoa#.

There also seems to be an experimental build of Mono-develop.

I begin to think that .net and mono are going to be excellent java competitors. I also think that the idea of supporting platform differences makes more sense than the java swing approach of lowest-common-denominator functionality.

I started off SQLEditor in java swing and then switched to cocoa. I wonder if there will eventually be another rewrite to mono and .net?

Posted in General, Macintosh, Writing Software | Leave a comment

UGC Cinema Pass?

I’ve been wondering yet again about the UGC Cinema pass. It’s a 12 month minimum subscription pass that gives apparently unlimited cinema screenings. Pay £10 a month and see every film if you so desire.
I’ve been wondering about this for a while now. As I see it there are advantages and disadvantages:
Advantages

  • £10/month is less than twice the evening ticket price
  • I would see more films if there is no additional cost per film
  • The UGC is a good cinema with nice screens and plenty of showings
  • It would be really good if people I know also get one which some already have and several are talking about

Disadvantages

  • I would have to see everything at the UGC unless I want to pay again
  • UGC showing times can be a bit odd sometimes
  • I have to get to the UGC which does cost money and take time. Fountainbridge is some distance from me
  • 12 month minimum term direct debit (or presumably £120 payment).

At the moment I’m a bit undecided. I think I’ll probably go for it if enough of my friends also do, because that would make a lot of sense if we all had passes and went to the same cinema. I might also cancel VideoIsland (dvd rentals) because I think I’m not watching enough DVDs (I keep missing the post).

Posted in Films | 2 Comments

Sorry about lack of postings

Not much happening here recently. I don’t think I’ve posted anything since September. This is mainly because I’ve been really busy with other stuff. SQLEditor has been making good progress and I’ve been working on some other projects too.

Posted in General | Leave a comment

SQLEditor Beta 9 Released

Lots of fun new features in SQLEditor Beta 9.

I think SQLEditor is getting quite close to the final release version actually, which is good.

I have set up a new bug reporting and tracking system.

Posted in SQLEditor | Leave a comment

SQL Import from database for SQLEditor

I now have the first version of database import working for SQLEditor. This means that you can point it at a database and it will grab the structure of the database directly.

Currently it’s missing foreign key support, but it seems to support most other functionality.

On a related note, I have finally fixed the bug that sometimes meant that you could end up with bad sql code. The new version now uses “alter table” rather than “references”, it creates all of the tables first and then adds the foreign keys. This means that even circular dependencies will now be exportable.

Posted in General | Leave a comment

Amazing looking computer

The people over at mini-itx.com have a picture of a most amazing looking pc. It is mounted vertically in a table like case. With amythtv software, a video projector and a wireless keyboard it would make a wonderful, stylish and invisible home entertainment system.

Posted in General, Internet Stuff | Leave a comment

the non-life of Leynos

David (leynos) has set up a blog: the non-life of Leynos!

Posted in General | Leave a comment

FireFox PR1 Released

Zdnet and others are announcing firefox PR1 will be released later today. The mozilla homepage is already showing download links but the Mac OS X links aren’t actually working as I write this.

Firefox 1.0PR1 will probably be a defining moment in web browser history, along with Netscape 1.0 and Internet Explorer 3. A browser release that represents a fundamental change in web browsing behaviour.

It is also a milestone in open source development. Firefox is one of the more visible pieces of open source software around and it definitely seems to have caught people’s attention. It is gaining against IE in terms of popularity and without the advantages that IE has, such as integration with windows and the marketing support of Microsoft. It is suceeding on the strength of its own quality as a piece of software.

The Mozilla software project is a sucess!

[edit: download now available]

Posted in Internet Stuff | Leave a comment

Online Store

I’ve been working recently on integrating a registration system into SQLEditor (sorry).

Unfortunately I kind of need to make some money out of my software and so people have to pay for it. I really wish this wasn’t the case but sadly it is.

So I now have an online store powered by swreg. If you visit the SQLEditor page you will now see a couple of purchasing options in the right column and further options are an a subsequent screen. It looks fairly close to the rest of the site and swreg offers better fraud prevention than paypal, particularly for credit cards.

The complexities of integrating everything together are quite great, which suprised me a bit. I was hoping for something easy, but it required a lot of steps to get everything pretty much working.

  • Sign up to online store
  • Add products
  • Create templates for shopping basket
  • Create serial number system
  • integrate serial number system into application and online store

Although I won’t need to do this for any future software that I develop. Most of it was a one-off cost.

One oddity is that the serial number code is written in ANSI C. This is a bit odd, because most of the code that I have been writing recently has been either Objective C, Java or PHP. But ANSI C proved to be the best way of using the same codebase for both the server and client side components.

Hopefully lots of people will love and therefore buy the licenses.

Posted in SQLEditor, Writing Software | Leave a comment

Baking Pizza

Amazon.co.uk: Books: The Pizza Express Cook Book

I just tried the basic recipe out of this book this evening and it made an amazing pizza. It was better than some of the frozen varieties. I used the dough recipe, topped it with a tomato sauce in a jar and added grated mozarella cheese (+ a few olives that I happened to have)

It tasted fairly close to the restaurant pizzas, which is an amazing result for a home recipe. I definitely think I’m going to stop buying frozen pizzas.

Unfortunately the book’s availability isn’t very good. Amazon doesn’t seem to be selling new copies directly. If you get the opportunity pick up a copy, the recipe I tried worked well and tasted great and the book has an interesting history of pizza making and of the Pizza Express company. I think I picked up my copy for £2.99 at one of the cheap book shops. It’s definitely a good book.

Posted in Food and Cooking | Leave a comment

Films I really want to see

Some films that I want to see (in no particular order)…

Shrek 2
Spiderman 2
The Bourne Supremacy
Love Me If You Dare
The Terminal

I Robot

(thanks to Dhruba for the idea)

Posted in General | Leave a comment

Serial Number Systems

I’ve recently been trying to write a serial number system for SQLEditor. I’m also looking for a new name for it. It was pointed out that the current name is generic and difficulty to pronounce, plus there is already at least one other “SQLEditor” out there already. Suggestions are welcome!

But back to the serial number thing. If I could remember more of the maths that I learnt at university I would be happier, but as I tend to do I had forgotten most of the stuff that I don’t use, retaining only the bits I do use (Vectors primarily, plus some other stuff).

Obviously serial number values end up in base 36 (0-9, A-Z), but other than that the problem occurred on how exactly to represent them. I need to have a link between the username and the serial number because that’s one of the methods implemented to discourage copying. If you see someone else’s name on the thing.

I’m currently looking at a graphic convertor like delay (it will wait 20 or 30 seconds at startup after the trial period is ended) rather than a complete lockout. Because I think (a) it’s nicer to do it that way and (b) it offers people a chance to experience the feature set even after 30 days have expired.

One thing I have noticed is that there are very few descriptions of how serial number systems actually work, probably to prevent people reverse engineering them and creating generators.

Of course the most secure system is one that receives a license key directly from a server, but I think that could be too intrusive. I guess we’ll see how well the first version works out.

New features for Beta 7 include “crows-feet” style referential cardinality indication and a new way of exporting foreign keys; following a suggestion they will be placed after the tables as soon as I write the code anyway, the parser is already capable, but the exporter is not.

Finally Beta 7 will also offer selectable colors on the fields, more transparency and prettier connector drawing. Possibly also table type for mysql as well as a new export system for creating databases via scripts on remote servers. More later.

Posted in SQLEditor, Writing Software | 1 Comment

Binary Thoughts (Dhruba’s Weblog)

Lots of fun new features have just appeared over at Binary Thoughts. Dhruba’s site now has loads of really clever new bits. I really like the css3 link icons.

Posted in Internet Stuff | Leave a comment

Not much writing recently

Unfortunately I’ve been really busy recently working on SQLEditor (and some other things) so I haven’t really been writing much.

Not sure how that’s going to change in the weeks ahead, but hopefully I’ll be writing a bit more.

Posted in General | Leave a comment

USB connectable mobile phone

Simple thought today: a USB mobile phone. So you could just plug it straight into a laptop or something, without bluetooth or infra-red. I think Motorola tried something like this with the timeport 280 and also the A920; but I never learnt whether it was much of a sucess (unlikely given earlier timeport designs).

Better yet if the phone could be charged and synchronized over the usb cable while connected.

Obviously that doesn’t mean that I don’t like bluetooth any more, I’m still very much in favour of bluetooth. But now I like USB as well. 🙂

Posted in General | Leave a comment