You are here

Computers

Image: 

Drupal 7

Computers

It has been a very long & bumpy road, but I have finally managed to upgrade this site to Drupal 7. Just in time, as Drupal 8 is getting finished and polished. There is still stuff that needs to be converted, most noticeable are the taxonomy_browser and taxonomy_image functionalities, that will be fixed in the next couple of weeks.

If you see anything abnormal, just leave a note in the reply section !

The quest for a new netbook

Computers

Netbooks are laptops done right. I had no idea how true this was before I actually bought a netbook myself. While only being slightly larger than a DVD-cover, my eeePC-900 was so portable, I've taken it with me around the world, both for work and holiday trips. My eeePC has been indeed so successful, it has completely wiped out my need for my laptop, which has been mostly gathering dust since the netbook purchase.

However, a (first generation) netbook still has some serious disadvantages :

  • disk is mostly a combination of SSD and SD, and very limited in space.
  • the keyboard is way too small to type comfortably
  • the battery is very limited in life expectancy.

My new netbook had to overcome those three limitations. Not a big deal, since most current netbooks deal with this already. In addition, I wanted a minimum of 2GB RAM and a CPU with virtualization possibilities. As I was very happy with the eeePC line, I almost opted for a eeePC-1201HA, which sports the Z520 CPU, which had Intel-V support. Unfortunately, the netbook got slaughtered in every review because of its slow performance.

My final choice was the Samsung N220 Premium Plus, a N450 based laptop with 2GB RAM and a 350GB hard disk. As the laptop is red, I feared a bit for too much of hardware bling, but the color is nicely darkish red, so it doesn't scream out in a meeting room. So far, I've been really happy with the netbook itself. The following are only (very) minor annoyances, but indeed are things that could have been better :

  • If some netbook manufacturer brands a netbook with a Premium label, I expect the least they can do, is to include a pouch with it. As a netbook gets carried along everywhere, you want a cover for it to avoid excessive scratching, unless it is not made in plastic. No pouch with my edition, though I've heard that latest Samsung netbooks come again with this addition.
  • The Power button comes in some sort of a slide button, which is on the front of the netbook. A true button would have been better, and would have been better if been protected by the lid.
  • If the lid is closed, it is very hard to see if the netbook has been suspended, as the LEDs are hidden by the lid itself.

What is exellent is that netbook is completely silent : the hard disk is perfectly mute, and the fan makes only a slight noise under high stress. The netbook comes with Windows 7 Home Premium Edition, which starts its installation when you power on for the first time. The good thing is that it lets you choose the partitioning, so the hard disk is split by default into 3 partitions :

  • first partition carries the Windows7 OS
  • the second partition is a 14GB restore partition
  • the third is an empty D-drive, which can be used for data & installed programs.

In a next post, I'll describe what tweaks were necessary to install & use a 64bits Ubuntu on the 3rd partition.

The periodic table of typefaces

Computers

Squidspot, a web and print design group, has created a table representing a list of the most popular, influential and notorious typefaces today, in a format we are all so familiar with – the Periodic Table.

Android based netbooks

Computers

Looks like Google is serious about Android : it's not only meant for your mobile, cause Google plans Android-based netbooks by 2010.

Taxonomy_image : alignment of taxonomy images

Computers

I discovered the taxonomy_image_node_display module, where a site admin can specify through the admin menu of the taxonomy_image module if he wants to display taxonomy images while displaying a node. This results in Slashdot like appearance, without having to manually modify the theme files. This is a great add-on for people who want to tweak the layout of their Drupal powered sites, but who aren't php professionals : Drupal themeing still remains a technical domain.

However, the image is specified as

&lt img src=...&gt

, resulting in an image, followed by a line break, and then the node text. This results in many whitespaces in the page, certainly if the used taxonomy images are starting to get a little big. It would be nice if an alignment attribute is added, (even better yet, though the taxonomy_image module settings menu), resulting in code like

&lt img src=... align=left &gt

(or align=right for that matter).

So I entered a feature request for this module, but that got rejected, because the module provides a div wrapper for image display. Tried that, but for some reason I never got the css working. So I digged into the code, and found a way of doing this, by adding an extra tag to the taxonomy_image_display API :

      $my_attrs = array(
        'width' => $current->width,
        'height' => $current->height,
        'align' => "right",
        );

As you can see, taxonomy_image behaves cleanly again with this code snippet.

Pages

Subscribe to RSS - Computers