Archive for the Programming Category
Published August 20th, 2008
While searching for some python documentation for my new personal project I stumbled upon this very interesting site.
The Python Challenge is “the first programming riddle on the net”. It has 33 levels of programming riddles to solve using python (or other language) coding.
I recommend it to every programmer, it’s a nice way to raise your [...]
Published August 20th, 2008
If you use Feedsmith (the Feedburner plugin for Wordpress) you have probably noticed that it redirects all the feeds in your wordpress blog to your feed in Feedburner. This is very handy, except if you want to have feeds of posts filtered by tag and/or by category. The URL for such a feed is something [...]
Published August 19th, 2008
Finally I’ve finished the Firefox extension for hashr. The extension is a toolbar that allows quick access to create hashes with more than 40 different hashing algorithms. In fact it’s just a XUL front-end to the online tool.
You can find it here and maybe soon, find it also at the official Firefox Add-ons site, if [...]
Published May 5th, 2008
Tenho andado recentemente a investigar a plataforma .NET dado que, apesar de não simpatizar muito com esta “tecnologia”, necessito de corrigir uns bugs num site que se encontra todo feito sobre esta plataforma da Microsoft.
Ao fim de algumas pesquisas pelo google, ao passar num site sobre várias linguagens de programação, encontro este exemplo de código [...]
Published April 4th, 2008
No PHP 5 o parsing de ficheiros XML foi completamente recriado de raiz. Por isso efectuar esta operação tornou-se bastante simples.
Dando o exemplo com o seguinte ficheiro XML:
<?xml version=”1.0″ encoding=”utf-8″ ?>
<posts>
<post>
<title>Ler ficheiros XML em PHP 5</title>
<year>2008</year>
</post>
[...]
Published February 24th, 2008
Recentemente criei um script PHP que executava um processamento de dados intensivo. Ao correr esse script o processamento parava incompleto e obtia um erro do PHP:
“Fatal error: Maximum execution time of 30 seconds exceeded in /localhost/script.php”
Isto é um mecanismo de segurança do PHP. Por omissão limita a 30 segundos o tempo de execução de um [...]