Friday, February 19, 2010
Jobs at Canonical
Mallard Documentation

GCalctool now has a new help document in Mallard format. This is my second Mallard document I've written, the first was the help for Simple Scan.
Wow. Mallard is really, really easy to use!
Mallard documents are topic based which basically means writing a few paragraphs on each activity your readers can do with your application (like how to use trigonometric functions or an automatic document feeder). I wrote the topics over a week with a text editor and marked them up at the end.
Testing is great. Just run yelp with the directory the files are in to browse the documents immediately.
If you want to contribute, take the ten minute tour, pick your favourite GNOME application, ask if they've got documentation that needs updating and get writing!
(I recommend starting by copying an existing document; I used the gbrainy help as a basis for the Simple Scan and GCalctool help).
Thursday, February 18, 2010
AdWords Experiment
So, if you got here via a Google ad. leave a comment!
Maybe I should have advertised a rickrolling site instead... :)
*Free if you include having to spend $20 to set up the account.
Monday, February 15, 2010
Saturday, February 13, 2010
Simple Scan 0.9.0

If you haven't tried it, it comes by default in Ubuntu 10.04 (Lucid), you can enable the PPA in Ubuntu 9.10 (Karmic) by going to System>Administration>Software Sources>Other Software>Add and adding ppa:robert-ancell/simple-scan then installing the simple-scan package.
Any other GNOME system should be able to build it from source.
From now to 1.0 I wont be adding any new features, just fixing bugs and polishing.
Post 1.0 the major features I'm most interested in are colour management, optical character recognition, integration with gscan/gnomescan, integration with photo management software and storing density information in saved files.
Please help if you can!
Thursday, February 04, 2010
Linux.conf.au 2010
Interesting Projects
Weta Digital (i.e. the New Zealand graphics company behind Lord of the Rings, Avatar)
Albany Senior High School is a New Zealand school who have successfully implemented an entirely open-source infrastructure running Ubuntu Desktop and Mandriva servers.
The Village Telco project showed off their Linux based VoIP mesh network solution for small villages.
There seemed to be a rocketry/Linux theme going on. The White Label Space project talked about their ambitious space program funded by advertising and the TeleMetrum project talked about using Linux and open hardware to make telemetry for amateur rocketry.
FOSS and Proprietary Software
Jeremy Allison from Samba talked about the elephant in the room (Microsoft) and how we shouldn't forget their threats against open-source, especially in the light of the recent Tom-Tom patent lawsuit. However he also said that the best thing to do was keep making better software as not doing that is the more likely reason for us to fail.
Benjamin Mako-Hill talked about Antifeatures - in where he described how proprietary software often comes with features you don't want (e.g. digital rights management) and how you often have to pay to remove these features (for example paying extra money to Sony to get a computer without crapware).
I sat in on some government and open-source talks and the short answer seemed to be "policy was good but not seeing major uptake".
Technology
Python 3.0 looks really well managed. There are a number of tools now available to transition from Python 2.0 to Python 3.0 and even tools to produce Python 2.0 compatible applications from a Python 3.0 codebase. The improvements by Google in Unladen Swallow are planned to be integrated into the official Python 3.0. There will be no syntax changes until Python 3.3 (a duration of two years) which will encourage Python 3.0 uptake.
The PyPy project talked about what they do. I thought they were a Python interpreter implemented in Python but in fact they are Python interpreter generator. That can generate different types of interpreters (e.g. stackless)... For different targets (e.g. C code, .NET, Java bytecode)... for different dynamic languages (e.g. Perl). So a really interesting technology. They see themselves as more of a research project at the current time.
In graphics the Cairo project talked about accelerating 2D on the GPU. The Clutter project mentioned their release cycle is now synchronised with GNOME/Moblin.
The pandora-build project talked about how they'd made autotools easier to use. A quick survey of the audience showed everyone uses autotools but no-one understands it. By using pandora-build you can write less autotool magic (pandora sets up sane defaults and provides simple macros for common things) and are have a more portable build system (pandora handles multiple versions of autotools).
Distributions
Lucas Nussbaum talked about the Debian QA team and tools (e.g. Ultimate Debian Database, debcheck, piuparts, lintian, DEHS, bapase, MIA team) they have produced to keep track of what is going on in Debian. He also talked about the relationship between Debian and Ubuntu which seems to be in reasonable state. There was some concern that Ubuntu did not provide many resources to help Debian and that Debian did not want to become Ubuntu's "package supermarket".
The vcs-pkg project showed their aims in making moving patches between distributions easier.
The Launchpad developers talked about how they are improving integration with external bug trackers and translations.
And finally; When the videos are available I highly recommend watching Glyn Moody's keynote talk. He talked about how open-source has influence other revolutions of sharing that have occurred in the last 30 years. He skilfully shows how FOSS is more than just about software.
Friday, January 15, 2010
gbrainy in Lucid

You can read more about the latest release in a blog post by Jordi Mas (the author).
gbrainy is a great game and we want to find any problems before final release so please try it out! If you don't already have it installed then you can get it from the Ubuntu Software Centre (search for gbrainy).
If you find a problem the best thing to do is file a bug in GNOME. If you don't have an account on GNOME Bugzilla but do have a Launchpad account you can file a bug against Ubuntu. I am working on getting the "Report a Problem" menu entry into the help menu which will make this even easier!
Have fun!
Monday, December 21, 2009
Translate Simple Scan
Your translations need to be reviewed by the Ubuntu Translators team, if you are a member please review any translations!
Here is the UI for 0.7.6 in Romanian:
Tuesday, December 15, 2009
The demise of the function key

I recently upgrade to a new Dell Studio 15 and retired my old Inspiron. One thing I've noticed is the function keys are now secondary - these keys are now multimedia/system functions by default and you need to use the blue Fn key to activate the old F1-12 behaviour. Other Dell and Apple laptops (at least) seem to be doing the same thing.
Is this the end of the function key? The Litl keyboard got rid of them entirely. The key combination to use them on my laptop is sufficiently difficult that they might as well not exist for me.
So this leads me to the conclusion:
- I can never rely on function key shortcuts in any software I write.
- The existing window management shortcuts (e.g. alt-F4 to close window) don't work anymore. Now I understand when people complain how applications don't consistently bind the same key to close window (Ctrl+Q or Ctrl+W or something else or nothing?).
- At the Lucid UDS we discussed Compiz keybindings - often these were bound to function keys. I notice the macbook uses the old F3 key for "show all windows". I hope some standard could emerge for these functions on PC keyboards.
I can't say I'm going to miss them overly.
Friday, December 11, 2009
Introducing Simple Scan

Please try it and report any problems you have.
To install add the PPA and install the simple-scan package or build from source.
The GUI is a mess
Yes. This is the first functional release. The GUI is being redesigned for 0.8. The 0.7 release should contain all the functionality required for 1.0.
Who is simple scan for?
This application is designed for the 95% of users who just want to connect their scanner and quickly have the image/document in an appropriate format.
How does this relate to GNOME scan?
Simple scan does not use the GNOME scan to get the scan data. This is because Ubuntu 10.04 is a Long Term Support release and bringing the whole GNOME scan stack into main is risky (it was previously proposed for 10.04 but was not found to be stable enough). There is an open bug to change to gnomescan when that is appropriate.
Wednesday, July 29, 2009
format not a string literal and no format arguments
warning: format not a string literal and no format argumentsWhat does this mean? GCC is saying that a function in printf style has a format string that it cannot check matches the format arguments. Here is some common code GLib code that causes this error:
GError *error = ...;
g_error(error->message);Why is this a problem? As
error->message cannot be checked it may contain a printf flag sequence, e.g. "Invalid data: 'g^y#%s'" (i.e. %s) that would cause run-time to try and access a non-existent argument. It could be worse and the format string could be user-input that is attempting to exploit your program.So the solution is to always use a string literal for formatting like this:
g_error("%s", error->message);
Wednesday, July 15, 2009
Gran Canaria Desktop Summit 2009
Here are my impressions:
- The community is very alive and active! There are many companies and individuals working on improving GNOME.
- The GNOME foundation is well organised and financially sound. Donations are a big part of this success. If you contribute to GNOME in any way then become member (it's easy to join!).
- Really impressed with the quality of PiTiVi — it's now a very capable basic video editing program. One thing the PiTiVi developers want though is a media manager...
- ...which may be getting closer. Banshee is splitting it's backend out into Banshee Core which will be a database of music, video and photos on your computer. Hopefully there will be some convergence between this and tracker, zeitgeist and akonadi to provide a seamless user experience to your media.
- GNOME Shell is still young but is showing some interesting breaks from the traditional desktop.
- Project Mallard is going to make the GNOME documentation much better.
- Testing initiatives like Mago and LDTP should see an increase in the quality of software.
The future looks really good!
Friday, March 20, 2009
New Job
Tuesday, July 29, 2008
I'm Going To Scale My Foot Up Your Ass
So if you're not afraid of some fairly strong languange then check out his abuse against threading, scalability and serialization.
Sunday, May 18, 2008
Gcalctool 5.23.2
unstable GNOME series.
The following changes have been made from 5.23.1:
- The cursor now behaves correctly when editing numbers with thousands separators (Bug #527669)
- Structural changes in preperation for full unicode support (Bug #530532)
- Updated translations: es (Jorge González), gl (Ignacio Casal
Quinteiro), nb (Kjartan Maraas), nl (Tino Meinen), pt_BR (Leonardo Ferreira Fontenelle), sl (Matej Urbančič)
The release is available from:
http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.23/
Wednesday, May 14, 2008
glChess on Win32

I was very impressed with the quality of the Windows packages for the dependencies. When I tried this about a year ago it didn't appear they were all supported. They are now:
Python
* python-2.5.2.msi
Setuptools
* setuptools-0.6c8.win32-py2.5.exe
GTK
* gtk-2.12.9-win32-2.exe
PyGTK
* gtk-2.12.9-win32-2.exe
* pygobject-2.14.1-1.win32-py2.5.exe
* pycairo-1.4.12-1.win32-py2.5.exe
* pygtk-2.12.1-2.win32-py2.5.exe
Python Imaging Library
* PIL-1.1.6.win32-py2.5.exe
PyOpenGL
* PyOpenGL-3.0.0b1.win32.exe
PyGtkGLExt
* pygtkglext-1.1.0.win32-py2.5.exe
Gnome Games
* gnome-games-2.23.1.tar.bz2
Friday, May 09, 2008
Hello Planet
In my more pays-the-rent side of life I am a software engineer having come from an embedded background and now working for a large financial organisation in Sydney, Australia. I get into open-source code when I have some spare time which leads to fairly unpredictable progress on projects (actually I normally find I have time after a release so I get a release worth of duplicates before the change is released - now that's Murphey's law!).
My goals for Gnome currently is to get the code I'm working on simpler and more reliable. This goal will inevitable slip when I find some flashy feature to introduce :).
p.s. I don't actually play chess so fear ye all who left me writing the Gnome version!
Apport/Bug Buddy disabled in Ubuntu 8.04?
/etc/init.d/apport showed this was disabled so I enabled that by editing /etc/default/apport and set enabled=1. After /etc/init.d/apport restart I could happily file away a nautilus bug.But wait a minute... That report went to Launchpad, not Gnome Bugzilla! (Wouldn't it be a nice world in which Ubuntu got the flood of duplicates for the things we fix but they never update </gripe>). It appears apport is only enabled during development so I shouldn't have had to enable it. I figure it is bug-buddy that normally catches bugs and sends to Gnome; is anyone else getting this/know how to tell if the crash catcher is running?
Sunday, April 20, 2008
Gcalctool 5.23.1
This release contains a number of bugfixes:
* Fixes a number of compiler warnings (Bugs #526976, #526702, #527318)
* Fixes incorrect negation precedence (Bug #526094)
* Fixes issues with thousands seperators and radix in non-english
locales (Bug #527669)
* Fixes regression in constant and function menus (Bug #527545)
* Fixes problem where display is invisible after solving equation
(Bug #524602)
Get it from:
http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.23/
Tuesday, April 08, 2008
Gcalctool 5.22.1
Anyway; let the announcing begin!
The Gcalctool team is proud to annouce the release of Gcalctool 5.22.1.
This release contains the following changes:
- Fix for bug where the initial zero in the display was not cleared (bug #520525)
- Support bracket and multiply keys on non-english keyboards (bugs
#521620 and #526671) - The replacement of sprintf() and strcpy() with the safer snprintf()
and strncpy() (bug #520769) - Remove a .svn directory from the release tarball (bug #524025)
- Updated translations bg(Yavor Doganov), en_GB(Philip Withnall),
et(Ivar Smolin), pl(GNOME PL), sk(Marcel Telka). - New maintainer; Robert Ancell takes the reins from Rich Burridge.
Get it from:
http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.22/
