A Little Blog Debugging Session

Ξ June 7th, 2008 | → 0 Comments |
Blog |, |

I was updating my blog. The expression update is used in the sense that my attention was focussed on design of the information provided by each click, not actually creating new posts. The basic result of design changes is always the same. Everything gets messed up and then follows a bug correction phase.

The latest problem was that my “Previous Entries” link wasn’t working. This was the first symptom, but the link was actually there and pointing to the correct location. My problem was that the selection of posts was always the last five entries.

Each page generated by Wordpress has an associated query that filters pages or posts based on the url you’re requesting. The problem was that by inserting a new “Recent Entries” section I’ve changed that default query to create the list of recent entries.

Lady BugThe solution was to create a personalized query to use in The Loop:

<?php $my_query = new WP_Query('showposts=10'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
  <!-- Generate the required list... -->
<?php endwhile; ?>

 

Blog Focus…

Ξ June 7th, 2008 | → 2 Comments |
Life |, |

I don’t know if you’ve noticed, but withthe previous entry on this blog the ongoing focus was shifted. Well, that was intentional and I hope to continue that way.

This doesn’t mean that there won’t be more computer related topics discussed here. The only difference is that there won’t be only computer related topics. More than a computer geek, I’m also a family man, a [very, very, very] amateur photographer, an assumed autodidact with interests in a lot of other subjects.

Hope you continue to enjoy my random ramblings.

 

I Went…

Ξ June 7th, 2008 | → 0 Comments |
Event |, , , |

RockInRioFor those how don’t know, Rock in Rio is a music festival originally designed in Rio de Janeiro - Brazil (which explains the name of the event). However, it has become an international phenomena capable to move crowds of people in Brazil, Portugal and also Spain.

The last event was in Lisbon, with a well known slogan “Eu Vou” which means “I’ll Go”. So, what I have to say is… I Went!

A. bought the tickets and dragged me and [the little] A. with her. We didn’t stay to the end, because it would be  late for [the little] A., but it was a very good experience.

The place was stacked with people, but the sound was good and the stage had huge side screens for the shorter ones [little A.]. I hope to repeat the experience as soon has possible.

 

On the nightstand...


    The Art of Agile Development


    Beautiful Architecture


    Modern C++ Design


    Large Scale C++ Software Design

Personal

Friends


Interesting


Shared Readings