Author: AngusThinks

  • 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.

  • 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.

  • 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]

  • 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.

  • 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.

  • 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)

  • 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.

  • 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.

  • 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.