05.30.05

ICFP2005 Contest

Posted in Programming, Uncategorized at 9:12 am by pmatos

ICFP contest will be organized this year by the PLT Team. :)

Think your favorite programming language is the best one out
there? Put it to the test in this year’s International Conference
on Functional Programming’s annual Programming Contest. The
contest is coming up in a little under 4 weeks and we have just
released more information (including a live cd, mailing list, and
prize details) to the web page, at:

http://icfpc.plt-scheme.org/

This year’s competition rewards programmers who can plan ahead. As
before, we’ll announce a problem and give you three days to solve it.
Two weeks later, we’ll announce a change to the problem specification
and give you one day to adapt your program to the new spec. And you
guessed it: the second half will be worth considerably more than the
first.

Important dates:

Problem announced: Friday, June 24th, 9:00am CDT (UTC-6)
Initial entries due: Monday, June 27th, 9:00am CDT (UTC-6)
Revision announced: Saturday, July 9th, 9:00am CDT (UTC-6)
Final entries due: Sunday, July 10th, 9:00am CDT (UTC-6)

ICFP Contest Organizers
icfpc@plt-scheme.org

05.23.05

If no more StarWars Episodes are released, miss them I will…

Posted in Life, Uncategorized at 7:55 pm by pmatos

I’ve seen the last episode of StarWars last Saturday, on the 21st, although I’m not crazy about StarWars I must say it was great and even if we don’t count with Episodes I, II and III, the other, released a long time ago changed the way a lot of people viewed cinema and influenced most of all well-known film makers. Aliens, Titanics, and Lord of the Rings film makers along with many other leave their comment on a DVD full of extras sold in Amazon.co.uk . I must say this DVDs are remastered and their video and sound quality are superb.

I’ve also chosen my favourite StarWars quote which was said before his fight with the Emperor by Yoda:

If so powerful you are, why leave??

You can also search online for your favourite quote in the movies script.

Also, the very nice Language Blog comments on Yodas syntax with the nice post title: “Unclear of Yoda’s syntax the principles are, if any”.

Someone decided to create an online Jedi tournament where public would vote for the winning of the Jedi competitors… Well… it’s original and my favourite won! :D

Oh well, it seems this Jedi/StarWars-mania is returning, after some years of hibernation…

DrScheme 299.106 released

Posted in Scheme, Uncategorized at 7:48 pm by pmatos

The DrScheme version 299.106 (almost getting to v300) has arrived by the announcement of Matthew Flatt on 21st of May, 2005. The incredible thing is that these guys are working a lot to improve our favourite programming tool. In a month time, they are already counting 3 exp-tagged releases with great improvements on code and also a security fix. v299.104 on the 30th April, v299.105 on the 6th of May and v299.106 on the 21st of May.

MzEFL…

Posted in Scheme, Uncategorized at 7:42 pm by pmatos

I’m really, really glad to inform everyone that one of my scheme wishlist item and also one of my TODO item was accomplished. MzEFL arrived! Forged by the fingers of Bruno Deferrari, on the 22nd of May, 2005 he announced MzEFL.

Enlightenment Foundation Libraries (EFL) are the base libraries for E17 window manager. MzEFL are bindings to this libraries :D so that you can now write code in Scheme for E17. Nice, isn’t it? Thanks a lot Bruno! :)

[EDIT]: Oh well, on the first version of this post I had written Bruno Deferrati. Bruno immediatly corrected me. :)

Hehe, I’m glad someone is happy with it, when I mentioned it on
#edevelop I was told it was useless (well, not with that words), and
that I better spend my time writing documentation (well I know that
raster doesn’t like Scheme too much since the first time I mentioned
Scheme to him :P)

By te way:
- Its Bruno DeferraRi not Bruno DeferraTi
- I have been reading the blog, and I belive its a nice blog ;)
- You said that there aren’t a lot of schemers in your country, but..
I belive that I’m the only Schemer in my country!!! (Uruguay)

Well thats all.
Have fun.

[/EDIT]

05.18.05

Achieved the ‘impossible’…

Posted in C++, Computers at 7:55 pm by pmatos

Lately I’ve been having very bad days and… oh well, besides I’m sick for 4 days now, my work is not going as well as I would like. I’ve been running against a semantic C++ error which I just solved 1 hour ago after about a week of searching. The error was terribly simple… I had a class hierarchy as follows:
A -> B -> C
and I had created 2 objects, and I have two objects:
A * a1 = new A();
C * a2 = new A();

I had a public getter in C:
virtual unsigned long getAttr() { return 0; }

and in B I had:
virtual unsigned long getAttr() const { return attr; }

For objects like a1 I received the value of attr and for objects like a2 I received 0. Well, after days of ill-searching (literally, since I’m sick) I found out the problem was with the definition of getAttr. Due to the missing declaration of const in C, polymorphism was not working. Adding const to the definition in C made it work. Fifteen minutes later I add a much nicer. The error resulted in “segmentation fault” without debugging options and worked ok with debugging option on. So I ran valgrind on the debugged version which after various errors and warning outputted told me (what motivated this post):

valgrind: the `impossible’ happened:
Killed by fatal signal

Isn’t this nice… :D

05.12.05

Copenhaga… 1941… Obrigatório!

Posted in Dia-a-Dia, Portuguese at 1:04 am by pmatos

Copenhaga de Michael Frayn… sem dúvida a melhor peça que já vi no teatro. Os actores espantaram-me. Principalmente o Paulo Pires que fez de Heisenberg numa peça que o possível teor de um encontro entre Bohr e Heisenberg. Directamente do ticketline:

No Ano Internacional da Física, o Novo Grupo repõe o espectáculo Copenhaga de Michael Frayn, autor do texto do recente espectáculo Democracia até há pouco tempo em cena aqui no Teatro Aberto.

Premiado em 2003 com os Globos de Ouro para Melhor Actriz, Melhor Actor e Melhor Espectáculo, Copenhaga regressa aos palcos do Teatro Aberto a partir de 19 de Março de 5ª a sábado às 21h30 e domingos às 16h00.

Nela,o autor relata-nos a história inquietante de um encontro, rodeado de mistérios e interrogações, que teve lugar em Copenhaga, durante a ocupação nazi, entre o físico dinamarquês Niels Bohr e o seu ex-aluno Werner Heisenberg, director do programa nuclear nazi e ambos Prémios Nobel da Física. Pensa-se que, no balanço da guerra, este encontro foi decisivo para o lado das democracias europeias, impedindo a criação da bomba atómica,por parte dos alemães.O autor cria uma ficção de profundo significado humano, tomando como base este misterioso encontro.

Com Carmen Dolores no papel de Margrethe Bohr, Luís Alberto no papel de Niels Bohr e Paulo Pires no papel de Werner Heisenberg, este espectáculo tem versão portuguesa de Vera San Payo de Lemos e João Lourenço, cenografia de Henrique Cayatte e João Lourenço, figurinos de Maria Gonzaga e encenação de João Lourenço.

Uma excelente interpretação na qual todos os autores estão de parabéns e a qual ninguém deveria perder. Nunca os 15 euros do bilhete valeram tanto a pena!

Scheme News… a promise…

Posted in Scheme at 1:00 am by pmatos

Oh well, this post serves to promise you that from now on, I’ll be using the Scheme category for news about new releases in the PLT-Scheme community like PLT-Scheme releases, pre-releases, planet releases, and other niceties that I can gather through blogs, SRFI site, comp.lang.scheme and the PLT Mailing list. ;)