おはようございます。

はじめまして。私は日本語がくしゅう。いまははちじいっぷんです。すみません、日本語がすこしわかります。ありがとうございます。いってきます。さようなら!

Russia Invading Georgia?

TBILISI — Russia sent columns of tanks and reportedly bombed Georgian air bases Friday after Georgia launched a major military offensive Friday to retake the breakaway province of South Ossetia, threatening to ignite a broader conflict.

Click here to read more...

Hiragana and Katana Kana Charts

Since I'm taking Japanese 1001 this fall, I decided to make some kana charts for my notebook. Check them out.

The Kana Charts by Michael Cotterell are licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

KarateDepot.com

For middleweight karate pants and high quality martial arts uniforms, shop the web's #1 martial arts retailer, KarateDepot.com. Save big with $2.95 shipping every day.

Lateris

Modo alius later in murō nōn sum.

はじめまして!

すみなせんはじめまして! あのねあぶない! 私かマイケルです。 すきですか。 日本語おはなせません!

Interesting Idea

I think I'm going to try and write a blog post in another language at least once a week. I hope it turns out to be as interesting an idea as I anticipate.

Drupal Pear Module

Just wanted to let everyone know that I've started working on the Drupal Pear module. It aims to provide an easily deployable PEAR environment on any system that Drupal can run on. It manages packages, and it automatically adds PEAR to PHP's include path.

http://drupal.org/project/pear

To be more specific, this module will:

  • Manage PEAR channels (places where package information is stores)
  • Manage PEAR packages just like PEAR's official web-frontend
  • Implement a Drupal-compatable frontend to PEAR
  • Allow the path to PEAR to be included in Drupal's include path
  • Provide a path to PEAR that other applications can use

Some of the extra features will include:

  • installation migration (moving the PEAR directory to a different
    location)
  • an awesome user interface courtesy of Drupal's theme implementations
    and Form API
  • detailed logging courtesy of Drupal's watchdog

Latin - De Bello Gallico 1.1.1-3

Gallia est omnis divisa in partes tres, quarum unam incolunt Belgae, aliam Aquitani, tertiam qui ipsorum lingua Celtae, nostra Galli appellantur. Hi omnes lingua, institutis, legibus inter se differunt. Gallos ab Aquitanis Garumna flumen, a Belgis Matrona et Sequana dividit.

- C. IULI CAESARIS DE BELLO GALLICO COMMENTARIUS PRIMUS 1.1.1-3

All Gaul was divided into three parts, of which one the Belgae inhabit, another the Aquitani , the third those who are called in their language the Celts, by ours the Gauls. All these differentiate themselves by language, institutions, and laws. The Garumna river divided the Gauls from the Aquitani, the Matrona (river) and Sequana (river) divided (the Gauls) from the Belgae.

- Translation by Michael Cotterell

The "Matrona et Sequana" are rivers named after Celtic Gods: Dea Matrona (River Marne) and Dea Sequana (River Seine).

PHP Include Path

Recently, I've been getting a lot of questions concerning how to add a directory to a PHP include path. There are a couple of different ways of doing this. However, I've found that the easiest way to do it is include some code at the beginning of any scripts that might need their include path changed.

As an example, I've included a snippet of code below which adds the location '/path/to/PEAR' to the PHP include path.

 
  /*
   * Define the path to PEAR
   */
  $pear_path = '/path/to/PEAR';
 
  /*
   * Create an array of paths. Paths will be used in the order that they
   * appear in the array. This will include the current contents of PHP's
   * include path.
   */
  $include_path = array(
    $pear_path,
    get_include_path(),
  );
 
  /*
   * Replace the current include path with the contents of the array.
   */
  set_include_path(implode(PATH_SEPARATOR, $include_path));
 
  /*
   * We're done with our variables, so let's unset them. This helps
   * prevent errors.
   */
  unset($pear_path, $include_path);