2007-04-06

Recording in Helix DNA Producer on Ubuntu 6.10

Forrest Sheng Bao <http://forrest.bao.googlepages.com>

I always wanna use Helix DNA Producer for Linux to convert media formats. But I found a little error. So I just tried to set the input as a devices rather than a file, recording from audio devices. Well, it works. My voice was saved as a PCM coded file.

forrest@flavia:/forrest/LinuxSoft/PCsoftware/Multimedia/producer$ ./producer -ac /dev/dsp -o test.wav
Helix DNA(TM) Producer 11.0 Build number: 11.0.0.2013
Warning: Ignoring enableTwoPass for live encoding
Warning: Ignoring enableTwoPass for audio-only encoding
Info: Starting encode
Warning: Channel 0 below -60 dB since 10 seconds.
Warning: Channel 0 clips moderately.
Warning: Channel 0 clips moderately.
Info: Stop encoder request received
Info: Stopping encode
Info: Out- Total Audio Video Pre- Audience Name
Info: Aud kbps kbps kbps roll
Info: Stat1: 1:1 255 255.3 n/a 48 256k DSL or Cable
Info: Total Bitrate = 255 kbps
Info: Encoding successful!
Done Errors: 0 Warnings: 5

2007-04-05

An Inconvenient Truth

Forrest Sheng Bao <http://forrest.bao.googlepages.com>

I know Mr. Gore when I was a high schools student years ago. At that time, I join a program in my school called "GLOBE". (http://www.globe.gov) GLOBE is a program initiated by Al Gore on the Earth Day of certain year(1996?). GLOBE stands for "Global Learning and Observations to Benefit the Environment". It is mainly sponsored by NSF(http://www.nsf.gov/) and NASA(http://www.nasa.gov/).

I was very active during my time in the GLOBE group of my high school. I advocated students and teachers in the campus and started some recycle programs. By using the instruments provided by GLOBE, I can test the COD(Chemical Oxygen Demand) and BOD(Biological Oxygen Demand) of water in a lake in my campus, and other tests.

Today I watched a movie about his advocation on global warming. The movie is called "An Inconvenient Truth". Some people said he is a politician so they don't wanna listen to him, though what he said about global warming is true. I think we can consider this movie as a documentary or seminar about the evidence, effect and solution of global warming. No matter what is the original purpose of this movie, it does will let people know the importance of solving global warming and instruct us how to care our planet by our everyday behavior.

Check it at : http://www.climatecrisis.net/

2007-04-03

if Apache 2 can't display accessible pages

Forrest Sheng Bao
<http://forrest.bao.googlepages.com>

If you have set the privilege to some files and directories to be accessible on Linux, but Apache 2 said

"
403 Forbidden
Forbidden
You don't have permission to access / on this server.

"
That is maybe 'cause you haven't set the privilege on Apache 2 configuration file.
You need to create a <Document "/path/to/your/file"> and </Document> tag pair.

For example, I have set
DocumentRoot "/forrest/work/bme/www"

If I don't set a <Document "/path/to/your/file"> and </Document> tag pair, I will get above warning.
So I insert following into Apache 2 configuration files.

<Directory "/forrest/work/bme/www">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Then, pages can be displayed. OK. Done.

Here is the example tag pair with default setting in Apache2 configuration files.
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/apache2/htdocs">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#

# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#?
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None


#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>