Chalkboard paint

Chalkboard Paint makes a chalkboard anywhere you can paint.

Some ideas on what to actually do with the stuff on the walls.

I like the idea of a calendar made of the stuff.

Posted in General | Leave a comment

SoyLatte 10.6 bundle template


This is a simple template to use SoyLatte in Mac OS X 10.6 and have it appear in the JavaPreferences system.

You need to copy all of the contents of the /usr/local/soylatte16-i386-1.0.3/ directory into the directory contents/Home (inside the package), then copy the .jdk folder to /Library/Java/JavaVirtualMachines/

soylatte16-i386-1.0.3.jdk_1

[Edit] revised based on suggestions by Mike Swingler, it now doesn’t advertise capabilities that the SoyLatte distribution doesn’t offer.

Also another version: This simply symlinks to the existing installation in /usr/local/soylatte16-i386-1.0.3/ and doesn’t require anything except copying the result to the /Library/Java/JavaVirtualMachines/ folder.

soylatte-103-symlink

Posted in General | 1 Comment

Mac OS X will still have Java in the future.

There has been lots of stuff written recently about how Java on the Mac has been deprecated.

The reality is that one particular Java runtime has been deprecated: the one that Apple write themselves. Java as a language will still be available, only it won’t be Apple that writes it and possibly it might be an optional download.

The confusion is because up until now there has really been only one Java runtime on the Mac, which Apple wrote themselves using code licensed from Sun. Now Apple has chosen to discontinue their own particular runtime, but this doesn’t mean that there won’t be any Java at all.

There are already alternatives, in particular the OpenJDK and SoyLatte variants; a little rough in places possibly, but they definitely work. Undoubtably in time they will improve and others will appear, including possibly an Oracle one.

Obviously it would have been nice to have the deprecation notice and an endorsement of another runtime made at the same time, but given how long it will be until the current runtime becomes unsupported, I’m not terribly concerned.

Also, whether such a future Java release has a native visual appearance is not of virtal importance. While the Apple Java team has made enormous efforts to get it to look and feel native, it takes quite a bit of work to create an application that looks seamless. The very first version of SQLEditor was a Java Swing application and although it looked fairly good, it was taking too much time making things match exactly. Switching it to a native cocoa application made my life much easier (but killed off any immediate hopes of a Windows version)

I think most people accept that Java Swing apps don’t look native and will accept that the visual appearance will differ.If you want a truly native feeling Java app in the future you should look at SWT or better Rococoa, not Swing.

What is important is that future Java runtimes don’t require X11 for Swing. But I’ve seen good progress by several projects towards this goal and I’m not worried about it either.

Ideally of course, Apple would release their Java Runtime as open source, but whether they are in a position to do that with respect to licensing is unclear.

Having seen the deprecation notice last week and been somewhat concerned, I’m now fairly confident about the future of Java on the Mac,

Posted in Computing, Macintosh, Writing Software | Tagged , , | Leave a comment

Drizzle JDBC supports MySQL

I came across the Drizzle JDBC driver today, which seems very interesting

Most interesting though, is that it supports MySQL and it is BSD licensed. This could solve some of the licensing problems that applications like SQLEditor run into.

I’m hoping to have a good look at it later this week.

Posted in SQLEditor | 1 Comment

A Microsoft vision of the future

A vision of a technology future that is almost magical in its fluidity and the absence of any obvious equipment. This is what the future should be:

Posted in General | Leave a comment

Helpful forums?

Spotted recently in a technical forum (which shall remain nameless):

Your answers are useless. Thank you anyway. I found answers on my questions from another source.

Although I still don’t know what the final answer was, alas…

Posted in General | Leave a comment

Real buyers getting tired of speculators

Real cocoa buyers, who are probably chocolate manufacturers, are getting tired of excessive speculation in the cocoa market; they’ve threatened to move from London to unspecified US cocoa futures exchanges if something isn’t done to improve things:

Telegraph Article
(Third section, after Gold movements and Shipping rates)

I suppose speculation is good if it balances demand and evens out prices, but bad if the end customers feel that they are being cheated.

More

Another article: Mystery trader buys all Europe’s cocoa.

No wonder people are annoyed.

Posted in General | Leave a comment

Apple WWDC videos

Brilliant work on Apple’s part in releasing all of the WWDC videos to registered developers. In previous years these were only available for a fee (I seem to remember $500), so including them is very nice.

Posted in Macintosh, Writing Software | Leave a comment

Pay to play?

back in my day, we didn’t pay to win a video game … we simply played them well

Marketing crazy

Posted in General | Leave a comment

SQLEditor + Django

Good news everyone…

the new Django plugin for SQLEditor is now available.

It allows you to import, edit and export Django model classes with SQLEditor.

Django Plugin Page

There are some limitations still, in particular it doesn’t support all of the SQLEditor object types and there are some limitations with foreign key support, but the basics should work pretty nicely.

The Django plugin is also now built using the new SDK, which is getting closer to public release.

I’m really interested in knowing what people think of this, so a feedback on this is particularly welcome. 🙂

Posted in SQLEditor | Leave a comment

Election Day 2010 – Remember to Vote!

It’s the day of the UK general election.

It’s your democratic duty to vote!

If you don’t vote, you can’t complain about the government we get.

So please vote 🙂

Posted in General | Leave a comment

Warburtons Ad

Warburtons Bread Advert

It made me laugh, anyway.

(On their own site too)

Posted in General | Leave a comment

safari supports pdf in img tag

I didn’t know this before but it definitely seems to work.

SVG is more compatible for web pages, though this could be useful for embedded webkit apps.

From High DPI Websites

Posted in General | Leave a comment

Idea: EU prize for learning all of the European languages

In the nature of the European cooperation, I propose that the European Union should give out prizes to people who can speak significant numbers of european languages.
Perhaps 1 million euros for a person speaking all of the EU significant languages.

Then smaller prizes for people who speak some fraction (5 or 10 different languages perhaps)
I don’t know how many people could manage the million euro level (perhaps only a few hundred people, maybe even none?) but it would be a good thing to encourage us all to speak each other’s languages.

It would also offer a clear and obvious reward to study languages. (Like winning the lottery, just more predictably achievable)

🙂

Posted in General | Leave a comment

iPhone multi-tasking

A thought occurs to me (although I don’t do iPhone development).

One possible approach to multi-tasking on the iphone might be to allow a background thread that complied with some sandbox requirements to execute with access to certain apis only. (Sound output being an obvious one, internet access being another, possibly hardware interaction) You wouldn’t be able to do user interface tasks (except some kind of notification system) and definitely no way to switch apps without user intervention.

Apple probably has something totally different on the way which is much cooler but this is my best idea so far

Posted in General | 3 Comments

Wanted: Cookie categories in web browsers

Given that I delete my browser cookies fairly regularly, it would be useful to be able to divide them into categories.Then I could delete marketing and tracking cookies without affecting more important login cookies.

Some categories I would like:

1) Always delete at end of session (for security critical things)

2) Use standard rules

3) Delete at interval

4) Don’t delete unless I tell you

This is sort of confusing the idea of being able to delete cookies by category with overriding the default rules on expiry, but it mostly gives the idea.

I think what I really want is a function called Delete unwanted cookies which would magically determine which cookies I want to retain and which I want to delete.

Posted in General | Leave a comment

Portal for Mac!

Valve have announced Portal for Mac.

Played it for the first time a couple of weeks ago and have been wondering how best to play it at home.

From April I’ll be able to play it (and lots of other Valve games) on my Mac.

Fun 🙂

Posted in General | Leave a comment

Big changes to Mac Developer Program

Apple have rearranged their Mac developer program so that it now costs only $99 and seems to have only one paid variant rather than the three previously available. (Student, Select, Premier). The online only variant is still available and still free of charge.

It appears that this is possibly influenced by the amazing success of the iPhone developer program, which is also $99.

Anything that makes it easier and cheaper for developers to develop applications is probably a good thing. Although obviously you only need this developer program if you need access to pre-releases of Mac OS X and the other benefits it provides. It isn’t now and never has been a required purchase.

They’re still upgrading the sites as I write this, so I haven’t seen all of the details yet, but definitely looking good.

[edited to correct information about the free online program]

Posted in Macintosh, Writing Software | Leave a comment

Rails Migrations and Schemas

  • A schema.rb file is typically a ruby script containing a call to the ActiveRecord::Schema.define method.
  • A rails migration is a ruby class which inherits from ActiveRecord::Migration and contains a method called up

The useful fact that I realized only after doing some ultimately unnecessary work today is that because the schema file contains a method call, it’s actually easier to extract the information from it than with a migration (which needs SQLEditor to figure out a class name and then call the up method)

Hopefully this new work will appear soon in SQLEditor

Posted in Politics, Writing Software | Tagged , , | Leave a comment

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.

Posted in General | Leave a comment