Sunday, February 22, 2015

25 years of Dennis Dart

Dennis Dart was introduced in 1989 in UK, and arrived HK the next year. Time flies and it is already 25 years since its first introduction.

(EP5213) This is one of the first two sample of KMB fleet. The length and bodywork are unique. It is 8.9m long with a Carlyle body.


The Carlyle body work is more common in China Motor Bus fleet and subsequently the New World First Bus (NWFB). The standard length now becomes 10m. When this photo was taken, IFC was still under construction. 

An example of Dennis Dart 10m with Carlyle body is still survived in Citybus private fleet as of 2014.



This is the production version of KMB Dart in 1993, also 10m long, but now in Duple bodywork.


Another member. When the Hong Kong Science Park was newly opened, many of them serve route 272K from University Station to there. They carried a full advertisement of the Science Park.


In 1996, the wheelchair accessible version has been introduced. It was still 10m long, but will Plaxton body.

Dennis Dart SLF even served in Lantau Island, but roads in Lantau Island was too harsh for them.

Dennis Dart SLF has been further extended to 11.7m. This bus serves Park Island until now.

Even in Discovery Bay
A first hand NWFB Dennis Dart, they are near retirement as of 2015.
NWFB 2063 HY7985 Dennis Dart 10.1m


Dennis Enviro 200 can be considered as the evolution from Dennis Dart. It is 10.4 m long in KMB fleet.
Single door version





Thursday, December 18, 2014

Single-deckers on KMB 87K


A single-deck Volvo B7RLE (AVC56 RG7354) is seen KMB 87K today.
On another day, another Volvo B7RLE AVC27 (PH381) is also spotted.

How, even Scania K230UB also comes to serve 87K (ASC25 PB7069).


Monday, December 1, 2014

To find the files which appear in both file lists

This problem is always encountered in file processing, but in linux, the solution is really simple.

Firstly, sort the file lists

sort file_list_1 > sorted_list_1
sort file_list_2 > sorted_list_2

Then

comm -12 sorted_list_1 sorted_list_2


According  to the help page of comm, what the operation is doing:

Usage: comm [OPTION]... FILE1 FILE2
Compare sorted files FILE1 and FILE2 line by line.

With no options, produce three-column output.  Column one contains
lines unique to FILE1, column two contains lines unique to FILE2,
and column three contains lines common to both files.

  -1              suppress column 1 (lines unique to FILE1)
  -2              suppress column 2 (lines unique to FILE2)
  -3              suppress column 3 (lines that appear in both files)

...

Wonderful.



Monday, November 17, 2014

On running legacy audio driver (oss) on Fedora 20 (for running wavesurfer with alsa-oss)

wavesurfer  (http://www.speech.kth.se/wavesurfer/) is a popular tool for speech scientists to perform speech analysis. However, it uses the old OSS driver for sound output.

Although there is alsa-oss for compatibility, alsa-oss has been obsoleted since Fedora 20 due to no maintainer.

Therefore, in order to make wavesurfer work again, at least play sound, we need to compile alsa-oss by ourselves.

Firstly install the necessary libraries. Since wavesurfer is 32-bit software, we also install the 32-bit version of the libraries.

sudo yum install  alsa-lib-devel
sudo yum install  alsa-lib-devel.i686

sudo yum install alsa-plugin-pulseaudio.i686
sudo yum install alsa-plugin-pulseaudio


Download alsa-oss from
http://www.alsa-project.org/main/index.php/Download

and compiles

sudo ./configure
sudo make
sudo make install

And runs wavesurfer like this
aoss wavesurfer

Wednesday, November 12, 2014

More on electric buses in CUHK

Finally, I took photos of  all the two buses and took a ride on them. Honest speaking, in such a short ride (less than 5 minutes), it is hard to distinguish any performance difference between electric buses and conventional buses.