Author: AngusThinks

  • Tea and Coffee and newspaper articles

    So another one of these articles, shock horror, some public body has spent thousands of pounds buying hot drinks for their staff.

    Clearly, the whole lot of them should be hanged  …

    except, if you look at the figures quoted, the outrage breaks down:

    From the article,

    440 staff and a total bill of 70,000 over 3 years.

    Assuming a 48 week working year for everyone for 3 years, this means that the amount spent per week per person is

    (70000/(48*3)) = 486 per week

    486/440 = 1.11 per person.

    Yes, just over 1 pound per person, per week!

    Outrage, I say, outrage!

    Ignoring for a moment, the fact that visitors apparently got hot drinks too for the money; given the large amounts of money and the vitally important decisions that a group like the GHA makes, making the right decisions is important. If spending a few pounds a week on hot drinks makes a key decision even slightly better, then it’s worth it.

    The same is true of biscuits, snacks and even meals. Anything that improves the performance of the organisation at such a low cost is worth doing.

    So as far as I’m concerned, this is money well spent.

  • Best Mobile Broadband?

    Happened to be in a major supermarket’s electronics section the other day and was told that the “3” network offers the best mobile broadband.

    Although oddly all of the O2 retail hardware boxes were sold out, plenty of “3” boxes to be found.

    Unfortunately no reasons were offered by the employee as to this blanket statement.

    EDIT:

    Except this mobile broadband Group Test at the Register proves him absolutely right:

    The clear winner is 3.

  • SQLEditor 1.6 final

    So, if you’ve seen SQLEditor recently, you’ll hopefully have seen that there is a new version out: version 1.6. This got released just at the beginning of December 2009

    1.6 is something that I’ve been working on now for a long time, it is essentially (the unreleased) version 1.5 with improvements and updates. In particular it contains a SQL parser that was written using ANTLR and a new JNI based system for using JDBC drivers with support for Java 6 JDBC drivers.

    It’s also the first release version of SQLEditor that is compatible with Snow Leopard. SQLEditor 1.4.7 and earlier had an unusual architecture. When I originally started writing SQLEditor, it was a Java application with a Swing user interface. After some development it seemed clear that java swing was proving limited in some ways. I rewrote the user interface layer in Cocoa, leaving the model layer in Java and using Cocoa Java to connect the two parts together. The application development continued and new versions were released. Eventually though, Apple decided that Cocoa Java was not the future and decided to deprecate it.

    Work began immediately on rewriting the crucial components of SQLEditor, although there were some issues.

    The first was the model code. Every object in an SQLEditor document is represented by an object and all of the code for these objects was written in Java. All of the object code was rewritten and tested against the earlier versions to check that it still worked. It was very important that files from previous versions continued to work (and as far as I know all of them so far do). New code was written to read and write the SQLEditor document xml format.

    The second major issue was that the database interface used JDBC drivers, which are written in Java. Native code would use ODBC drivers. Although similar this might mean that users wouldn’t be able to use existing arrangements to access databases.

    Eventually code was written to bridge between SQLEditor native code and the JDBC drivers using the Java Native Interface (JNI).

    The other crucial problem was the SQL parser. This is used if you paste SQL code into SQLEditor or if you import a file. The SQL parser was written using JavaCC, a parser generator that is written in and produces Java code. Several parser generators were looked at to replace JavaCC and eventually ANTLR was chosen.

    A new SQL parser was written and tested during 2009 in ANTLR and is included in SQLEditor 1.6. The new parser is completely rewritten compared to the one that existed in SQLEditor 1.4.7 and no code is shared between them.

    A major step in developing the new parser was to port all of the SQL test cases from Java (in 1.4.7) to objective C (in 1.6). These automated unit tests are run against the parser to ensure that the new parser behaves correctly compared to both the 1.4.7 parser and the assorted SQL standards.

    It is still something of a work in progress though, there are things it doesn’t support and it’s still being actively worked on. One particular thing that makes this somewhat harder than it might otherwise be is that it must accept SQL in several different dialects, not just a single standard.

    SQLEditor 1.6 also included user interface improvements and various performance fixes.

    Overall it’s an improved program, although I do wish that it had been released sooner.

    Thanks to everyone using SQLEditor for your patience and also for trying the beta versions.

  • From a recent product manual

    We recommend using 1920×1080, 60Hz(Except for 19/22LU40**, 19LU50**, 19/22/26/32/37/42LH20**, 32/37/42LG21**, 32/37/42LG33**, 19/22/26LG31**, 42/50PQ35**, 42PQ65**), 1360×768, 60Hz(Only 19/22LU40**, 19LU50**, 19/22/26/32/37/42LH20**, 32/37/42LG21**, 32/37/42LG33**, 26LG31**, 50PQ35**), 1024×768, 60Hz(Only 42PQ35**, 42PQ65**) , 1440×900, 60Hz(Only 19LG31**) , 1680×1050, 60Hz(Only 22LG31**)for the PC mode, this should provide the best picture quality.

    So which was recommended again?

    In fairness, the manual is trying to cover about 20 different models, and it actually does a fairly good job in most ways. Except that there are a few passages like the one above …

  • Newspapers and the Web

    Newspapers are in trouble, everyone seems to think this. Most newspapers have seen circulation declines of their paper editions and the web doesn’t pay that well for advertising.

    What to do? Lots of obvious ideas like charging monthly fees or having per article charges.

    Subscriptions overlook the fact that many people don’t subscribe to newspapers, they buy them each day. Sometimes they buy different ones on different days or go a week without buying one at all.

    Per article charges are far too expensive, sometimes as much as 1 cent per word for say a 250 word article costing $2.50. If the article is critical to your business it may be affordable (The FT and the Wall Street journal seem to be doing well in this line) but if it’s about a political crisis or the actions of the local council?

    So my first idea on this:

    Sell the web based newspaper as an digital artifact, not just a bundle of content or a website subscription.

    Allow access to single editions of the newspaper on the internet.

    Give away a code inside each paper copy of the newspaper which would be good for reading the articles in that edition online forever. Once you’ve got the code (say in the morning), you can enter it into the newspaper website and your account is then authorized to read the articles from that day’s edition on any device you own.

    Maybe you could also buy the codes online without having to buy the paper edition, plus if you got a subscription the content would be authorized automatically. Don’t want a particular day? Don’t need to pay.

    Sell blocks of days prepaid in advance for a marginal discount. Because it’s buying a bundle of days rather than a monthly access subscription you should be able to get a slightly higher price, especially since it’s more flexible.

    Plus you could make more money by allowing people to buy codes to access previous days, even after the event. Want to read the newspapers from the last major election, buy it now for 2.50. (You could charge more for old editions obviously)

    Whether this is the idea to save the newspaper industry or not, I think it will take a lot of clever thinking to solve the problems.

  • Drawing all of the states

    This is a brilliant video of Senator Al Franken of Minnesota drawing a map of the United States entirely freehand and  including all of the states.

    YouTube Video

    (via NGM)

  • Good reasons to read Ars Technica

    Fortunately, we were able to re-solder the USB connector back to the PCB and continue testing.

    [Ars Technica]

    How many websites would bother doing this, and more to the point how many websites have reviewers who could do this?

  • SQLEditor 1.6

    The SQLEditor 1.6 public beta has been available now for about 3 weeks and I’m getting more hopeful about a final candidate release.

    SQLEditor 1.6 is required for Mac OS X 10.6 Snow Leopard support, but because major sections needed rewriting to get this compatibility, there are also improvements to the core of the application.

    There is a brand new SQL parser which is based on ANTLR and a new, more extendible, export system. Plus there are lots of other improvements in both user interface and functionality.

    Best of all, it’s going to be a free upgrade for existing SQLEditor customers.

    The beta is currently at version 1.6b7 but 1.6b8 will probably be out very soon.

    I hope that you like it.

    🙂

    Download
    SQLEditor 1.6b7
    (DMG file | 4.2MB)

  • Criticism

    I just saw this comment while reading an article about David Letterman:

    This article is poorly done. It uses sweeping generalizations, it is factually incorrect in several areas, and shows a general misunderstanding of television. …

    I  enjoyed reading the article anyway, but should I have done?

  • The Brothers Bloom?

    I’m puzzled that this doesn’t seem to have a uk release date (or even a distributor as far as I can see)

    The trailer looks great:

    http://www.apple.com/trailers/summit/thebrothersbloom/

    http://www.brothersbloom.com/