static void dispatch(int cmd, Interp interp, Thing[] argv) throws HeclException
That method then does a plain old 'switch' on the cmd int to go to the correct block of code. The code that calls this is simple, and it has to be, because one gets instantiated for every command, and so it's imperitive that it doesn't take up much memory:
class MathCmdFacade implements Command
private int cmdtype;
public MathCmdFacade(int cmd)
cmdtype = cmd;
public void cmdCode(Interp interp, Thing[] argv) throws HeclException
MathCmds.dispatch(cmdtype, interp, argv);
So far, I'm pretty happy with the results. By making the 'facade' (I'm not sure it's really the facade pattern, but... oh well, the name works for me) small, I don't waste memory. Plopping all the code in the switch statements is probably loathsome to purists, but it makes the code smaller, something that's never far from mind when working on Hecl. Things are also a bit faster, because we don't do the string comparisons to dispatch commands either. All things considered, the code isn't illegible by any means, either. Furthermore, because the new 'facade' commands still just implement the regular old Command interface, which means that Proc still works, and that you can still associate a class implementing Command with a string, so that it remains very easy to implement new Hecl commands in Java, and the interface hasn't changed.
Faster, smaller, backwards compatible, and 'rename' works too... life is good!
Wouter's HOWTO perform a study on Open Source or Free Software (and get away with it without annoying people)
Where do you use Linux?with possible answers
at home,
at workand
at schoolis nice, but not if you can not choose more than one of them at the same time.
study
English (Queen's English) is the only real language.After this required short announcement by our main sponsor, Daniel Stone, lets go ahead and explain something of interest to the many Catalan X.Org users out there. Ivan and I have been looking at the issues that block a GNU/Linux user from using the compound geminate L, , instead of the more usual L L spelling. The and characters are unfortunately not included in ISO-8859-1, so fonts were the first big problem we faced. When modern X desktops started using True Type fonts by default, the de-facto free font in most distributions became Bitstream Vera as soon as they were licensed under a Free Software license back in 2003. Bitstream did not include the Unicode glyphs U+013F and U+0140, but some time after, chatting with daf, I learned he was working on Olwen, a Vera extension which would add proper Welsh coverage. He promptly added the Catalan glyphs, but Olwen never got widely exposed in distributions. Luckily, things are changing lately. Due to the lack of bugfixes or new releases of Vera, the list of Vera derivatives like Olwen started growing. The DejaVu project is building a font family, based on Vera, which merged many of these smaller purpose Vera derivatives, including Olwen. DejaVu, is, as far as I know, slowly replacing Bitstream Vera as the standard free, high quality true type font in free desktops. With the font blocker easily solvable now, the next problem was making the input easy. Some terminals, such as GNOME's or rxvt, allow you to insert Unicode typing a Unicode code point. The Spanish layouts don't provide a shortcut for it though, and if you try to do Level3-Shift+l, you'll get a Polish character, , that is of no use in neither Catalan, Spanish, Galician, Basque or other languages in the Spanish state. We wanted to replace that with , but when we had a look at it last Saturday night during our stay in Bruxelles, we couldn't find what the name for Unicode's U+0140/U+013F was in XKB-speak. So, as I said, on Sunday I went looking for Daniel and Keith to see if we would be clued up. The solution is easy: there is no name mapping, but you can use Unicode in 0x100XXXX notation directly in your X config file to make it work. He tried in his laptop, and why not, generated a patch for X.Org 7.0's xkeyboard-config. Daniel can't be that good, so he forced me to spread lies about the English language in this blog entry if we wanted the patch committed. :) Support for X.Org 6.8 and 6.9 isn't planned, unless you bribe your X maintainer to add a tiny patch. This has been implemented as an "es" keyboard extension (named cat ) because other systems don't have that feature in the Spanish layout, and X.Org wants to remain compatible with the rest. We'll have to add a
Option "XkbVariant" "cat"
option to our keyboard section in xorg.conf.
If you're not using X.Org 7.0, you might want to try:
xmodmap -e "keycode 46 = l L U140 U13f U140 U13f"but I don't know if that'll work in all systems. To test in your keyboard, that'll probably be AltGr+l or AltGR+L . What we need to do now is to add support for the character in more fonts, alternative spellings for words using the ela geminada (ie, col labora and co labora ) in dictionaries, wordlists..., and of course, teach users about the avalability of this, and promote its usage.

The Grand' Place was bombed by seb128 in 1695
Ra l and Virginia, our official guides during the weekend, chose a
Vietnamese restaurant in the Stock Exchange area they frequent, and for
little money we got an enormous meal. Back at the Roy d'Espagne, I tried to
say hello to most Debian people I saw around, while at the same time I tried
to be with my hosts and the Catalan people. A while after, I spotted tbm and
azeem downstairs, who I finally met. I talked to Michael for a long while,
and at some point we left as we didn't want to miss the last tram.
Ivan, luckily, only snores rarely, so we slept for a while, and then took
the tram to the Universit Libre du Bruxelles. The main room was already
packed for RMS's keynote, which was pretty good. After that, we went to
several talks here and there, while I kept meeting some people around the
place. Ivan and I left when the show ended and we met with Virginia and Ra l
at the centre.
This time, we hooked up with Xevi and
Jes s Corrius from Softcatal ,
as Toni Hermoso had abandoned us for
a cheap dinner with the Mozilla.org people. We were taken to a packed
bar/restaurant (don't remember the name right now), which had a few
interesting features: they wouldn't sell any Coca-Cola, would not accept
credit cards in protest for the high fees Visa charges on small businesses,
and something I wouldn't expect to see in 2006, their chart of prices hadn't
been rounded up when they switched to the Euro. So some plate would be 9.72,
others 12.43, etc. After dinner we had a few beers at the
Th atre de Toone, located in some tiny alley in
the centre and being pretty tired, we went back home at 23:30 or so.
Sunday was a busy days, due to the number of interesting Debian and GNOME
talks going on. I'd highlight liw's
talk on Piuparts, Enrico's on
debtags and fjp's on Debian Installer in the Debian room, and
kris' on the future of
GTK+. There was also a cool demo of Novell's XGL.
During a dead slot, I approached
Little Daniel and keithp to see
if he could point me at some mapping between UTF-8 and XKB symbol names.
But Daniel was cool enough to solve a problem a lot simpler than expected.
:)
jdub's closing talk was just
fantastic, and telling him "See you in
Vilanova, we left the University, for
our last dinner around Bruxelles.

jdub clues the audience about some basic acronyms
We managed to rescue madduck
from the Debian UK beer trap and went to an Italian for dinner, this time
with Josep and Mia, from Softcatal , making a nice mix of German,
Valencian/Catalan, and Swedish at our table.

Mia, Josep, Ra l, Ivan, Martin and Jordi after pizza
Ra l took us around the city centre and told us about the underground
river, the remaining city wall's tower, and the church that leaned against it.
That night's beer lesson happened in the "2000 beer bar". We all had a 7
Trappist Westvleteren Bleu 8, apparently "the best beer of the world". It was
pretty good, actually.
Our weekend in Bruxelles was about to end. After not that much sleep,
Ivan and I took a tram and a bus to the Airport, arriving in Val ncia
around 10AM, and after seeing the best view of the Pyrenees ever, which were
absolutely covered with snow, as well as many other places in the
Pa s Valenci and Teruel due to massive snows during the two days we were
out.
FOSDEM is probably a "can't miss" yearly event now. Thanks to all the
organisers for their hard work to make it happen. You rock.
deb http://naquadah.org/~jd/debian/xen stable mainOfficial backports will be uploaded to backports.org as soon as we will have uploaded a version to sid. But for now, we have to cancel or bypass the upload Bastian made...
It’ll probably be quite a bit different from #debian-devel on either OFTC or FreeNode; hopefully that’ll turn out to be in a good way. We’ve got (I think) a pretty good variety of ops, who have (I think) some pretty good ideas on encouraging good productive activities on Debian. We’ll see what happens!Since then, we’ve had a couple of significant discussions on it, reflected on the wiki page; the multiarch discussion was interesting and spontaneous, and the release and archive qualification discussions were both potentially highly contentious discussions that seemed to end up being conducted really well, and have both had some pretty significant results. That’s pretty pleasing – this time last year, there wasn’t anywhere I’d’ve been comfortable having those sorts of discussions in public, now there’s somewhere that’s been demonstrated to work fairly well. A more surprising outcome is that we’ve never actually banned anyone from the channel. To some extent, this is to be expected since people who don’t like the concept just won’t join in the first place, and to the extent that’s true, it’s a good thing. And at least Wouter, who’d also objected in the past, was willing to join briefly for one of the discussions important to him and get along fine. Unfortunately that’s not the only reason for the total lack of bans. The other aspect is that people have turned out to be far more ready to ban themselves than the ops have been. To anonymise an example from November last year: Read the rest ...
I’m a rep in the call center at Webloyalty. I have no pity for any of you people. You’re all suckers, plain and simple. Didn’t anybody ever teach you that nothing is free? When all of you idiots made your purchases on whatever website you did business on at the end of your transaction there was an offer asking if you wanted to save $10, or get award miles, or whatever. When you clicked on that link you were not automatically signed up. What happens is that you’re brought to the Reservations Rewards website. On that website it tells you that you are on the website for Reservations Rewards. You see, you can tell that because the banner at the top of the site says “Reservations Rewards”. Unfortunately you were too stupid to notice or remember. It then gives you instructions on how to redeem your “reward”. At that point you are instructed to enter you email address in twice and click accept. Now you have to manually type in the email twice in those boxes. No cut and paste is allowed. Then it tells you to click accept. Now, if you had any fucking brains in your head you would have noticed that right above the box where you enter your email mail address its says, in regular sized type, in plain sight, right out in the open, that entering your email twice will act as an electronic signature and that by clicking accept you are accepting that the website you just made a purchase on can share the billing information with Reservation Rewards. Also in the big box next all of this it gives the exact details of what you are signing up for, again in regular sized print, in plain sight, right out in the open. If you are too stupid to take the time to notice all of that then you deserve what you got. which was a membership in a overpriced bullshit ptogram. Webloyalty depends on idiots like you to not notice this stuff. To be blinded by the idea that you are getting something for “free”. To not look at you credit card statement so charges go through every month. Its unbelievable the amount of dummies out there that fall for this stuff. Even if you do catch the charges eventually, and get a refund they still made money off of you by collecting interest on your money when they had possesion of it. Stay a member or cancel its win-win for webloyalty. So, anyway I hope all you dummies learned a valuable lesson and wont fall for this again. I’m sure many of you will, though. You’d be shocked at how many people are repeat members where they canceled the service a while back but fell for the scam again a few months later.
Next.