User login

Reference

Explode takes a parameter to stop exploding after a set number of splits

Explode has a limit parameter. Happy day at Agaric!

This code below was written offline when I was merely hoping that explode could be limited to splitting on its first parameter only the first time said parameter is seen:

Relationship processing code from SCF custom Ontology module

<?php
    db_query('delete from {ontology_relationships}');
   
    $bio_process_vocab = taxonomy_extra_get_vocab(6);
    $cell_components_vocab = taxonomy_extra_get_vocab(7);
    $molec_functions_vocab = taxonomy_extra_get_vocab(8);
   
    $term_glossary = array(); // format: term name => taxonomy ID
    $term_index = array(); // format: GO ID term => taxonomy ID

Snips of TCS import function for Taxonomy XML for future reference

<?php
// commented out below from TCS, possibly of interest
  //  $term = (object) array(
  //    'predicates' => array(),
  //  );
   
//    $term->id = $concept->getAttribute('id');

//    $term->uri = $url;

//      $term->name = $termname->textContent;
//      $term->namerefs[] = $termname->getAttribute('ref');

Everyone's Voices, Nobody's Noise post-submission strategy session with Nathaniel Catchpole

<ben-agaric> All right.  My brain's utterly fried.  Do you see a starting point with this stuff?  For a while I felt that a modular messaging framework, a whole replacement for Sympa / Mailman / that stuff was necessary, and while I think ultimately it is (and was going to be a second application to Knight, and if I can get a grasp on the field and put a proposal together will shop around anyway)  -- I do think with mailhandler and notifications and suc
<catch> mailhandler's very cool.

Not seeing CCK fieldsets when you form_alter your form?

In #drupal channel on IRC, mikey_p reminds that the CCK fieldgroup module has a weight of 9, so your module implementing hook_form_alter has to have a heavier weight (higher number) if you want to see that.

Resolution

Poor performance of Drupal 5 internationalized site due to lack of database table indexes?

One issue is that in Drupal 5x the i18n_node table does not have indexes where you really need them.

See the CivicActions post When to Index - Databases, Tables, Explain.

Resolution

Capistrano and Git a bit output-happy

So after a good vi Capfile and updating the values necessary as per our new method, it's time to try Stefan's dev to test deployment:

Ebony-II:seacoastoutright ben$ cap agaric:init

Battery Care PSA

If you are a "normal" person, you probably have at least one device kicking around your arsenal that uses a good old lithium ion battery. These are usually found in phones, mp3 players, laptops, etc... basically portable things that use a lot of power.

There are a lot of opinions out there on best practices with batteries, below are some decent guidelines that should keep the relationship between you and your precious device happy and productive...

Resolution

The main points are bascially:

Tomboy GNU-Linux Gnome notetaking application on Mac OS X

The open source free software world once again proves better than the locked-down proprietary world on truly wanted features with Tomboy: http://www.gnome.org/projects/tomboy/features.html

Syndicate content