Howto
Pulse Code Modulation (PCM) Basics
Submitted by Steve on Sun, 06/07/2008 - 5:02pmA simple example of sampling a sine wave at different sampling rates, and different number of levels. You can see how increasing the sampling rate and number of levels produces a digital waveform closer to the continuous sine wave. But in practice this comes at the expense of an increased required data rate to send the digital data.
Frequency: 1HzSamples: 50 per second
Levels: 10
Recommended BibTeX Format
Submitted by Steve on Thu, 05/06/2008 - 11:33amHere are some of my recommendations and personal preferences for maintaining a BibTeX file for a bibliography to be used with LaTeX.
General
Paper titles do not need capital letters for the first letter of all words. Example:
title="This is the Title of a Paper on the {ABC} Protocol",
BibTeX will typically convert all but the first letter to lowercase ("This is the title of a paper on the ABC protocol"); this is ok. However you should force uppercase for acronymns or names using the braces. You should avoid using formats like (let the BibTeX style deal with the case):
title="{This is the Title of a Paper on the ABC Protocol}",
AIS GPRS/EDGE on Samsung G600
Submitted by Steve on Wed, 04/06/2008 - 10:09pmThe second problem I had with my Samsung G600 was with configuring GPRS/EDGE. I use the AIS network in Thailand (brand name 1-2-Call) and tried to follow the instructions through the AIS Call Centre. The first attempt last night I told them my phone and they send me the SMS for Over-the-Air (OTA) configuration of GPRS. However when I tried to view the SMS my phone returned an error
So I tried again tonight. After making it clear it was the G600, they resent the SMS but the same
In the menu I selected: Applications -> Internet (called t-zones on my phone) -> Browser settings -> Browser Profiles and then edited a new profile with the following settings:
Profile name: AIS Home URL: http://google.com Bearer: GPRS Only Proxy: Disable GPRS Settings: DNS1: 202.183.255.20 DNS2: 202.183.255.21 APN: internet Login: blank Password: blank GSM Settings: I didn't change
Then Internet access worked fine. You may want to do the same GPRS settings for Messages -> Settings -> Multimedia messages -> Multimedia message profile.
Samsung G600 Not Working with PC Studio: How To Fix
Submitted by Steve on Sun, 01/06/2008 - 8:30pmI recently got a Samsung SGH-G600 mobile phone. It replaces my 5+ year old Nokia 2100. The Nokia was a great phone - it still works fine, apart from the battery that lasted about 1 day and the numbers are almost wiped off the keypad. It is nice to now have a colour screen ... and EDGE Internet access ... and a 2GB MP3 player ... and a 5 megapixel camera.
The phone works great, but I had a problem with connecting with the provided Samsung PC Studio software (which lets you organise contact, files, music etc). After plugging in the mobile to the USB cable, selecting
- Unplug the usb cable from the phone
- Type *#52828378# into phone
- The following menu comes up:
- 1 Trace setting
- 2 OTA type setting
- 3 Serial test
- 4 TFS reset
- Select 3 Serial test
- And then this menu comes up:
- 1 PPP UP
- 2 Serial download
- 3 Run TCK
- Select 2 Serial download
- The phone will reboot and once its rebooted connect the usb cable and PC Studio will work.
It works with no problems - no data is deleted from your phone. Thanks AVForums!
LaTeX, Emacs and Ubuntu Linux
Submitted by Steve on Mon, 02/04/2007 - 10:05amSyntax Highlighting LaTeX within Emacs
Syntax highlighting by default in Emacs both colours the text, and for section headers changes the font size. I like the coloured text but not the change in font size. To turn off the font size changes, set the variable font-latex-fontify-sectioning to color:
Templates for Right Click Menu in Ubuntu Linux
When you right-click on a folder in Ubuntu Linux you are given an option to Create Document. Initially no templates are installed. To install a template simply create blank document in the ~/Templates directory and it will appear in the right-click menu.
Currency Conversion
Submitted by Steve on Mon, 18/12/2006 - 7:54pmWhen referring to money in my site, I try to refer to the local currency. For example, while in Thailand I refer to Thai Baht.
There are many websites available for conversion into the currency of interest. I tend to use XE.com's Universal Currency Converter.
Creating DVD Slideshows in Linux
Submitted by Steve on Sat, 29/04/2006 - 12:24pm- Install libquicktime 0.9.8:
tar xzvf libquicktime-0.9.8.tar.gzcd libquicktime-0.9.8./configure
Installing ns2 on Fedora Core 4
Submitted by Steve on Wed, 29/03/2006 - 7:12amns2 is a popular, free package for simulating computer networks and protocols, e.g. TCP, satellite links, ad hoc networks, routing protocols.
- Download the following packages from the ns2 website and extract them into your working directory. For example in my case
/home/sgordon/ns2is my install directory, therefore all the.tar.gzfiles are saved in this directory and applytar xzvf filename.tar.gzon each:
Configuring Fedora on Dell Latitude D410 Laptop
Submitted by Steve on Wed, 18/01/2006 - 7:57amHere are some notes from my installation and usage of Fedora Core 4 on a Dell Latitude D410 laptop.
Installation
My Dell Latitude D410 laptop already had Windows XP Professional installed on one partition, and a second partition was already created (when ordered through Dell).

