Staples and the state of tech.

Walking through the local Staples store today, I mesmerized about the current state of computer technology. I happened to run into an HP Mediacenter PC, a Windows PC heavily focussed on digital media (as you may tell from that picture).

Here’s something I don’t get. In which part of the house is that PC supposed to be installed? The living room? The bed room? Should it be on its own desk? I’m asking this because I find that remote control (that comes with it) confusing. I associate a remote control with my TV. And why play DVD’s on a laptop or computer at home if you can do the same on a player and a big screen TV on a comfortable couch. What’s the point?

Posted in Truro NS | 6 Comments

Let and let die

It looks like the Senate has reached a compromise on a bill that’s aimed at restoring the feeding tube of a severely brain-damaged Florida woman. Bipartisan support, too.

Looking around on Metafilter, I ended up over at Abstract Appeal, which has plenty of good and factual remarks on the case. I find the timeline on that page deeply concerning and disturbing. Also read the objective comments of the judges. Here’s one pick (on the parent’s argument that Terry was reacting to her mother):

  “The court opinions indicate that similar videos were viewed in their entirety by the trial court, which found that Terri’s actions were no more than reflexive and could not be reproduced with any consistency. The Second District affirmed that decision.”

It’s rather sad that this case has become a political issue, not only because of the stakes but also because of the media frenzy around this case. A hotbed of emotion.

Links inside.

Posted in We-reflect-news | Comments Off on Let and let die

Nike vs. Adidas

Via Nike SunMarshall Brain’s, I ended up comparing the sites of the two mentioned sportswear producers, Nike and Adidas. Both producers use advanced Flash stuff to try to sell their warez to us and…

I was suprised to find that Nike’s favicon shows a Sun logo (initially, I suspected it to be SGI’s). If you can make a Flash site, it shouldn’t be too hard to create a mini version of the Nike logo.

Related: I was a big Nike fan too in the Eighties.

Posted in Hyperlinks | Comments Off on Nike vs. Adidas

Bow wow wha?

Besides rediscovering Pizzicato 5 (they split up in the Nineties I hear), today I also remembered I had an mp3 (legitimate) of Bow wow wow. To be more specific, of the song ‘Do you want to hold me’. It comes from a collectors CD and I think I only bought it for that song, because, it’s basically an older Eighties song.

Actually, one of those Eighties songs, but then of the one-hit-and-that’s-it-type1. It’s still a fun song, because it has all those silly references to that specific time: it’s a mix of reggae, ska, punk sung together on a overly sweet melody by a (then) very young lead singer, Annabella Lwin.

It won’t surprise anybody that the band has been, uh, CPR-ed, so to say. You can find the whole story over at the BowWowWow site: that is if you’re bored enough.

1 I consider the LA’s ‘There She Goes Again’ of the same quality. I can’t wait for the return of the Bay City Roller’s ‘Saturday Night’. On preview, skip that last comment.

Posted in Past-the-bridge | Comments Off on Bow wow wha?

LinkThroughs II

A couple of minor changes to the ‘Related Links’ portions that appear in the individual posts. There’s no need to show the ‘Related Links’ portion when there are no external links. This is what the code looks like right now (in the file single.php):


<div id="sidebar">
<?php $stage = get_post_meta($id, '*YOURCUSTOMFIELDNAME*', TRUE);
if (!empty($stage)) { ?>
<ul><li>
<h2>LinkThroughs</h2>
<ul>
<?php $arrays = explode("\n", $stage);
foreach ($arrays as $value) {
echo '<li class="postmetadata alt">' . $value . '</li>'; } ?>
</ul>
</li>
</ul>
<p class="postmetadata alt">The
author of this site is not responsible for
the content of external internet sites </p>
<?php } ?>
</div>

Make sure to name your custom field name and to change it in the code above. Also note that I use the newline character as the divider and that the $id is a global variable too! That text area box in the post.php is a bit small. Another part: I added a new ‘div’ box (class of sidebar) to the single.php file, because my template can handle that extra box. If you do not use a Kubrick-like theme, play around with floating boxes (careful: IE may not really like it, while Firefox and Opera will take those).

Next up, actually integrate this into a plugin or in the post.php page itself.

Posted in Truro NS | Comments Off on LinkThroughs II

Wildlife weirdness

Today, the US Senate voted for drilling in the Arctic Wildlife Refuge. For over two decades this was a topic that never made it through the Senate: the Senate voted 51 to 49 for drilling.

Here’s the weird part: I originally read first about it on this CBC news page where it quoted Senator Cantwell saying:

  We won’t see this oil for 10 years. It will have minimal impact —

However, over at the CBC they’ve deleted the comment but it’s still showing on the CNN’s one: on her own (Senate) site she appears to be vehemently against drilling:

Continue reading

Posted in Hyperlinks, We-reflect-news | Comments Off on Wildlife weirdness

LinkThroughs

I added ‘Related Links’ to the individual posts / pages/permalinks: basically these are (as the name reveals) links that may or may not have much to do with the post. Check for example over here to see what they’re all about. This post has ‘Related Links’ too. Just press the ‘permalink’ above in the title.

Note that I opted to have these links show on the frontpage but then decided against it because of the load it may put on Alfons’ computer (these custom fields are currently dynamically loaded): it would be nice to literally hook them into a (save/published) post but as far as I can see it doesn’t look like its possible in WP (unless I opt to rewrite the whole post.php page).

The idea is simple: create a custom field for your (any) post. Then in (any) template, call the ‘get_post_meta’. Parse the data and echo.

Naturally, heavily inspired by the BBC’s Related Links. More on this (hopefully) after: it’s not perfect yet.

Posted in Ordinateurs, Wordpress | Comments Off on LinkThroughs

Collectible video clips

Over at Rhino’s, there’s a bunch of older videoclips, people from my generation were thrown at during the Eighties and (early) Nineties.

There’s Billy Bragg (with Kirsty MacColl) singing ‘Sexuality’ (I liked ‘Accident waiting to happen’ better).

There’s Ben E. King’s ‘Stand By Me’, repackaged for the movie ‘Stand By me’. Hey that’s Wil Wheaton and River Phoenix in there!

Or Chaka Khan’s ‘I feel for you’, The Ramones (yes, that’s what everybody looked like those days), and yes even the Talking Heads.

Gentlemen (and women), start your Audacities (the program, I mean).

Posted in Hyperlinks | Comments Off on Collectible video clips

Huzzah

Is it Spring, yet? It looks like it is. Once again the snow is melting around the house making the ground as soggy as it can be. More interesting is the fact that my tiny maple-tree-turned-into-bonsai seems to be doing fine.

Last year, I found a little (2 or 3 year old) maple tree stem stuck in a piece of concrete: I carefully repotted it in a small bowl using a combination of soil and rocks. When Fall arrived I faced one dilemma: put it outside or leave it inside. I ended up leaving it inside, however, I found the perfect spot to have it lose its leafs: our porch happens to be the coldest place in the house. It actually lost its leafs, a wee bit later than the trees outside.

With the heat slowly returning, and the porch heating up faster than the rest of the house, I expect the tree to open its buds soon too. Time to do some repotting.

Posted in Truro NS | Comments Off on Huzzah

Also

Also, if you plan to hack a lot in WordPress, CenMayo’s WordPress Crossreference is handy to have. You’ll probably soon find out you can’t live without it anymore. Someone should make a html version out of that so you can browse it locally. Go figure.

I probably already linked to it before in my Elsewhere links section (which can not be shown individually, until I find time to hack and clutch something together). Uh. I’m busy.

Posted in Hyperlinks | Comments Off on Also

Get the comments

OK: the first WordPress hack, the last 7 comments on your blog (or whatever number you’d like). I like the way this is on Alan’s page where it’s called ‘Active conversations’. On Alan’s page the whole thread is lifted out (which is particularly neat too), in my case I only wanted to see the comments (and their permalinks).

<?php if ( $comments = $wpdb->get_results(“SELECT comment_author, ” .
“comment_author_url, comment_ID, comment_post_ID “.
“FROM $wpdb->comments WHERE comment_approved = ‘1’ ” .
“ORDER BY comment_date_gmt DESC LIMIT 5”) ){
?>
<li>
<h2><?php _e(‘Comments’); ?></h2>
<ul>
<?php foreach ($comments as $comment) {
echo ‘<li>’ .
sprintf(‘%s on %s’, $comment->comment_author,
‘<a href=”‘. get_permalink($comment->comment_post_ID) .
‘#comment-‘ . $comment->comment_ID . ‘”>’ .
get_the_title($comment->comment_post_ID) . ‘</a>’);
echo ‘</li>’; }
}
?>

</ul></li>

Paste the code in your theme’s sidebar.php file (somewhere between line 44 and line 50).

Some observations: First of all, I like to see a date. Maybe I should group the data first and then print (echo) it off. Secondly, look at the get_the_title! It gets an ID as a parameter which means that there’s going to be another query fired off on the server. Not really efficient (note, this code you can also find [minus the small change] in your WordPress dashboard) . Tell the boys that.

More after.

ed: I went through great lengths getting the code to show up nice. Watch out for extra spaces when you copy the snippet. Also, if you have a spare *nux computer to play with, I highly recommend you to test it on that machine first.

Posted in Ordinateurs, Wordpress | 10 Comments

Dogville

Just finished watching the movie ‘Dogville’ and thought it was brilliant. First of all, not knowing anything about the movie, I was first surprised seeing everything play out on a stage, where houses were marked out with white lines.

Secondly, the storyline was amazing and food for thought after the movie ended. With almost 3 hours on the dot (177 minutes according to IMDB), it’s a long but fascinating experiment.

Posted in Truro NS | Comments Off on Dogville

At last

We did have our load of snow eventually over night and managed to clean (most of) it up this morning and noon. After so many storms it gets boring to make pictures of that white fluffy wet stuff. Right?

Last night, we watch two movies: ‘The Recruit’ (Al Pacino and Colin Farrell) and ‘The Grudge’. We had been seeing a couple of trailers of the last movie and was surprised to see that Sam Raimi (yes, that one) was on the producers list. Hence the choice to pick up that one. It’s a thinking-man horror movie, Japan-style. I noticed that, despite her image, Sarah Geller is smarter than the impression she leaves behind, after seeing the extra features section. Which is good.

Later this night, Dogville.

Posted in Truro NS | Comments Off on At last