Category: Perl

Quiki 0.01 released

quikiQuiki 0.01 was released last night. It can’t be considered a stable release. While it is usable (in fact Quiki homepage is hosted in Quiki) we know that a lot of details are missing to make it a real wiki system. The truth is that the Request Tracker queue created automatically for CPAN modules is only created for indexed modules, and beta versions (the versions we released before) are not indexed (or indexed in some different index) and therefore a RT queue is not created automatically. In fact at the moment the Quiki RT queue was not created yet, but we expect that to be done very soon.

I will not detail here what is the current development state as you can read it in the Quiki homepage. Positive comments, ideas of new features and requests for cooperation can be added here in comment while we do not have that RT queue.

Tags: , , ,

categories Perl, web

Dicionário-Aberto Restful API

In the last days I have been developing a Restful API for Dicionário Aberto. While Dicionário Aberto is a dictionary for the Portuguese language and therefore most users are Portuguese I prefer to describe the API here in English.

You can use a JSON or XML approach. URLs are the same. You can just change your ACCEPTS HTTP header to request xml or json documents, or you can add a .json and .xml in the URL as shown in the examples bellow.

To search for a specific entry, say cavalo, use http://dicionario-aberto.net/search/cavalo.xml or http://dicionario-aberto.net/search/cavalo.json

I know the json is not very readable, but it is being generated automatically from the XML. The XML is a subset of the TEI standard for dictionaries. Unfortunately this is not yet the final annotated version, but the main structure will not change.

If you would like to have a suggestions box, you can get ten words starting with a specific sequence of words. The next examples search for words starting with cav: http://dicionario-aberto.net/search/cav.xml?list=1 and http://dicionario-aberto.net/search/cav.json?list=1

If you use this API please give me some feedback on how I can make it better, or on what applications you develop so I can advertise them on Dicionário-Aberto main page.

Quiki, yet another Perl wiki

quiki

At the present moment in my free time (that is going to be all day if I do not find a job in the next days) I am developing, together with Smash, another wiki in Perl,named Quiki.

Quiki is being developed with DokuWiki in mind. The main idea is to have a small base of dependencies, easy to install, and full of interesting features.

It is still in the first steps of development (as you can see in Git log, it is not yet two weeks old), but we expect to publish a beta version to CPAN in the next week.

Why we decided to implement a new system instead of using or contributing to one of the existing wiki projects can be a tricky question. I was involved in Kwiki development but the Ingy dot net crazyness does not help on stability. It is great to learn Perl, it is great to test different implementation approaches, it is not good to be used in production. Things change too often. twiki is a great wiki but we found it to be too complex for most wiki needs. MojoMojo might be a good wiki but we got tired installing dependencies. Moose, Catalyst and KinoSearch are just three examples of its dependencies. Unfortunately not all these modules (or dependencies) install cleanly. There is also socialtext. It is not properly open. Probably there are other wikis in Perl that we are not considering. But looking to the time involved writing current version and its achievements I am too happy.

If you want to be a test user, please download it from Git (check Quiki homepage) or wait for the CPAN release, install and submit bug reports. If you do not agree about my comments about wikis, you can leave a comment, but do not expect to raise a war. I will not answer you 🙂

Tags: , ,

categories Perl

YAPC::EU::2009

YAPC::EU::2009Next week will be held in Lisbon, Portugal, the tenth Yet Another Perl Conference Europe, also known as YAPC::EU::2009. This event was proposed by José Castro and myself, and is being organized by us with Magda Joana Silva.

Things are almost ready. T-Shirts were bought, proceedings are printed, badges are ready (not for late registered people, sorry), the place is rented, there is food ordered. I think everything is ready, missing some small details.

We have about 320 committed attendees. The problem is that we have just 320 tshirts, and just 300 proceedings books. If you are registering now, be advised that you might not have one tshirt or proceedings.

If you can not come and watch the talks by yourself wait for the videos. We will try to record most talks. They will be made available in the web some time later.

Tags:

categories Perl

Asking God for Help…

Today I’ve sent an email to Michael Schwern, creator of ExtUtils::MakeMaker module asking for some help. In the subject line I wrote something like: “Need help from the God“.

This is his answer…

1. And God said unto ambs:
2. Blessed are the built-ins; for they shall work for all.
3. Blessed is require(); for it is simple and always works.
4. It shall forever and always find modules which have strayed from your flock
5. As long as they are in the eyes of @INC.
6. And God saw that ambs was troubled and he comforted him saying.
7. Rejoice and be glad for this is the keyword of the Lord.
8. And God finished the letter to ambs
9. And He saw that it was silly and that it was good.
10. And He closed His laptop and lay His crown upon the pillow
11. And in the third hour, He rested.

What else can I say?

PS: I am ‘ambs’. It is my CPAN nick.

Tags:

categories Perl