Post Entries
Há mais ou meno 1 mês minha filha enviou o desenho abaixo para um concurso de uma revista local (da Carolina do Norte) chamada Carolina Parent. O concurso chamava-se “TV-Turnoff Week”, um incetivo para que as crianças desliguem-se um pouco da televisão! Ontem foram anunciados os resultados, e infelizmente o desenho dela não foi premiado. Com os olhos cheios de lágrimas “doídas”, pude acompanhar o turbilhão de emoções que por alguns segundos ocuparam a mente dela… Claro que decepção não é algo novo para mim, mas ver isso acontecendo com alguém tão inocente e ainda experimentando a vida foi algo que me fez pensar.
I figured, why not whip up a quick sample code to show off the genericlist I just published? So I chose the Tasks application, written in C/C++, as my target. A few minutes later, my “port” was born: Bigger picture here. The application to the left is the one I whipped up… the one to the right is the real deal! Obviously I didn’t bother writing up the code to actually store information, and this exercise was meant to be like the penguins in the movie “The Wild"… to look cute and cuddly.
Quite a few people have asked me to publish my attempt at simplifying the process of creating and using a Gtk.TreeView (see this post). The truth is that life has been a bit hectic these last 5-6 weeks and I didn’t get to do any more development on it. But I think it is still very usefull, even if only as a learning aid. The code will be published to a few repositories very soon, but in the meantime, you can copy it inline right here (read the rest of this post).
Muitas pessoas já me pediram para publicar meu código que tenta facilitar o processo de criar e usar um Gtk.TreeView (veja este post). A verdade é que minha vida anda meio que de cabeça para baixo nestas últimas 5-6 semanas, e eu não tive tempo de trabalhar neste código. Mas eu ainda acho que isso pode ser útil a alguém, mesmo que como uma ferramente de aprendizagem. O código será publicado em alguns repositórios ainda hoje, mas enquanto isso, você pode copiá-lo aqui mesmo (continue lendo este post).
Pensei, por que não escrever um exemplo bem simples de como usar o código de Gtk.TreeView genérico que acabei de publicar? Escolhi então o aplicativo Tasks, escrito em C/C++, como meu objetivo. Alguns minutos depois, meu “port” nasceu: Foto maior aqui. O aplicativo àesqueda é o que eu acabei de escrever… e o àdireita o “real”! Obviamente não escrevi o código de salvar informações, já que este exercício foi com o intúito de funcionar igual os penguins do filme “The Wild"… to look cute and cuddly.
My daughter Yv had submitted a drawing about a month ago to a contest sponsored by a local magazine called Carolina Parent. The contest, “TV-Turnoff Week”, urged kids to unplug from their televisions and spend some more time outdoors! Yesterday my wife showed me the drawings that were selected, and unfortunately Yv’s was not among them. With tearful eyes, I was able to follow the avalanche of emotions going through her mind… Obviously, frustration and disappointment are not new emotions to me, but seeing it happening to someone still so innocent and unexperienced made me think really hard.
A while back I had written up a post (Brazilian Portuguese only) explaining how I managed to get PyPanel running on my old Ubuntu Feisty Herd 3 installation. The reason for the write up was to explain about how I circunvented two issues that came up during the process of getting PyPanel to actually run. Anyhow, ever since I started writing up about OpenBox, more and more people tried to use PyPanel and seem to have gotten bitten by the same problems.