Steps toward running a Mono app on the OLPC XO

Author admin | 11.12.2007 | Category Developers, WeSay

I created a sd card image to boot the XO separately for our Mono environment.

  • Image the sd card using a developer image as documented here
  • Change all instances of ‘disk:\’ to ’sd:\’ in /boot/olpc.fth
  • add mono.repo to /etc/yum.repos.d as documented here and here
  • yum install mono-winforms

To launch a mono application, run: DISPLAY=:0.0 mono AppName.exe at the developer console. (Alt+= will bring up the developer console.)

We did find that the 200 dpi was not getting picked up by mono. In order to get that working, run echo 'Xft.dpi:200' | xrdb -merge at the developer console.

Solid 0.8.4.1 Released

Author cambell | 04.12.2007 | Category Solid

A new release of Solid is now available for download.

A minor issue where the vertical scrollbar was hidden has been fixed.

Solid 0.8.4 Released

Author cambell | 03.12.2007 | Category Solid

A new release of Solid is now available for download.

A few minor enhancements in this release:

  • Export to LIFT is now much more complete that it has been.
  • Prompt for save if required when opening a new file.

Full details are available on the Solid project web site.

Add Semantic Domains using WeSay

Author John Hatton | 19.11.2007 | Category WeSay

bilumbaby2 WeSay now lets the user edit the semantic domains of a sense from the Dictionary Browse and Edit tab, as an alternative to gathering words using the Gather By Semantic Domain task.


To see how this works, let’s add some of the domains that would apply to a Papua New Guinean bilum


2007-11-19_13-26-38-306


To look for a domain, we click in a box and start typing. First, we start typing "crafts" and see a domain matching that word:


2007-11-19_13-10-48-146


Next, since bilums are used to transport firewood, we type that in.  A promising domain appears, fuel.  But is that right? We don’t want to say that bilums are something you burn.  Happily, when we point to the word Fuel, WeSay displays a description confirming that domain is also for things you use in collecting fuel.


2007-11-19_13-16-51-764


Finally, since at least one of my kids has slept in a bilum, we should find a domain for that.  Here we’ll pretend we know the domain number, and just start typing that until we see Bed:


2007-11-19_13-18-53-958


I had fun finding domains for a few words. I hope you do too.

Solid 0.8.3 Released

Author cambell | 15.11.2007 | Category Solid

A new release of Solid is now available for download.

A few enhancements in this release:

  • Recursive inference for implied tags (such as sn)
  • Export to LIFT is now much faster.
  • Default export is now LIFT
  • Empty values are filtered out

Full details are available on the Solid project web site.

Simple and Advanced Sorting

Author John Hatton | 12.11.2007 | Category WeSay

One of the last big features for version 1 of WeSay has been in a for while.  Someone (I won’t mention any names) did a great job on it but didn’t blog about it.  So I’ll see if I can do it justice.


In this screen shot we see the three ways you can now specify sorting:


2007-11-09_16-45-54-413


Sort like another language


If the text sorts just like some major language, just select that language in the list and you’re done.


Custom Simple


Many languages based on Latin characters introduce a small number of "special characters" used to represent sounds not covered by A-Z, like a barred i. In these situations, you can specify the rules just like you do in many existing apps, like Toolbox and Lexique Pro. When you choose "custom simple", the rules box is filled with rules needed to sort English. You can enter vernacular works in the "Test Sort" area:


2007-11-09_16-56-07-999


We want the barred-i to sort just after i, so we add it to the rules and click the button:


2007-11-09_16-58-41-205


Normally, these secondary distinctions are enough.  But for some languages, tertiary distinctions are needed. We get these in the simple rules by using parentheses. Consider this list of words:


2007-11-09_17-12-49-809


Now, imagine we want the upper-case words to sort together.  We need to add in another level of distinction, so that case can trump the accents.  We do this by adding parentheses around all case pairs, and putting the two sets of e’s on the same line:


2007-11-09_17-17-23-560


Eric has written up the details on our wiki.


Custom ICU rules


For languages that need them, WeSay also supports ICU tailorings, which look like this:


& C < č <<< Č < ć <<< Ć   –for Serbian (Latin) or Croatian


Like many features of WeSay, this simple-to-advanced collating actually lives in our "Palaso Library", which is of course open-source and can be included in other programs.  Thus we foresee a day soon when the setup you do in one program (e.g. WeSay) will be trivially usable in other language-development tools.


Happy sorting!

Solid 0.8.2 Released

Author cambell | 18.10.2007 | Category Solid

The latest release of Solid is now available for download.

A few minor fixes around the LIFT export feature. Main changes in this release are:

  • Fixed a couple of issues where the LIFT export would through a mostly meaningless exception.
  • Added an Exporter for LIFT where data is using the MDF Alternate Hierarchy.

Solid 0.8.1 Released

Author cambell | 16.10.2007 | Category Solid

The latest release of Solid is now available for download.

Main changes in this release are:

  • LIFT Export has been improved.
  • Fixed an issue, where if the data had been edited the export would fail.
  • Minor changed to the MDF templates.

Full details of all changes in this release are available on the Solid Project page.

Giving new life to Spart

Author admin | 30.09.2007 | Category Developers, WeSay

As part of implementing our strategy for simplified sorting rules I needed to write a parser for the rules. Of course I started out looking at parser generators but wasn’t very excited by what I could find. Eventually I came across Spart (an implementation of Spirit in C#). I liked what I saw but it isn’t maintained anymore and it was written before .Net 2.0 so I cleaned it up a bit, took advantage of .Net 2.0 features, and added it to our Palaso library.

Configuration Tool Remodel

Author John Hatton | 21.09.2007 | Category WeSay

One of the benefits of being stuck at home recovering from Dengue Fever is I feel like it’s ok to splurge a bit on stuff that I want to do, rather than have to do. For example, while we have always put a lot of effort into keeping WeSay clean and easy, its companion WeSay Configuration Tool has always been about being just-functional-enough-to-get-by. So I spent two days remodeling it, trying to get it clean and easier to navigate. Here’s the before: (click to see full size) confighomepageb4.png and after: 2007-09-21-17-06-48-750.png Yes, lacking any artistic ability myself, I’ve ripped off a bunch of open-source Tango icons, tweaked them with the indispensable InkScape, and otherwise copied the latest Skype’s options dialog. There are still quite a number of rough edges in there, but this was a good step.