Sunday

Make your own HP and Compaq Notebook PCs Start Here Manual

> Skip Registration
Function Key + Alt + F4

> Where are the notebook drivers?
Backup your notebook drivers from C:\SwSetup\Drivers.
Backup the entire C:\SwSetup is better.

> Where is my Windows OS?
Prepare four branded DVDs like Imation, Sony, etc.
Go to Start Button | Recovery Manager | Recovery Media Creation.
You may use pendrive of size 5G * 4 = 20 GB.

> Check your processor speed, memory size, harddisk size, graphics chipset,  YouCam Webcam.

> Charge your notebook PC for 8 hours.

> Pay extra RM100 to extend your notebook PC warranty to 3 years.

> HP Service Center Kuala Lumpur
HP Towers,
Block B, Ground Floor,
No 12, Jalan Gelenggang,
Bukit Damansara,
50490 Kuala Lumpur, Malaysia.
Download HP Towers map from internet.
New Telephone: 03-2332 5458.

> Disable the Function Key (fn) Combination in the BIOS
1. Press the power button to turn on the computer.
2. Press the F10 key to open the BIOS setup window.
3. Navigate to the System Configuration option.
4. Navigate to the Action Keys Mode option, and then press the Enter key to display the Enable / Disable menu.
5. Select Disabled mode.
6. Press F10 key to save the selection and restart the computer.

> Norton Antivirus is only for 60 days.

> Double taps top left corner to disable the notebook mouse pad.
Your notebook mouse pad LED will light up.

Monday

PyBrain v0.3 Installation on Ubuntu Linux


Download and extract http://www.pybrain.org/files/PyBrain-0.3.zip to user directory

Download and copy http://peak.telecommunity.com/dist/ez_setup.py to the PyBrain directory

$ sudo apt-get install python-scipy
$ sudo apt-get install python-numpy
$ sudo apt-get install python-matplotlib
$ sudo apt-get install python-setuptools
$ sudo python ez_setup.py
$ sudo python setup.py install
$ python --version
Python 2.6.5
$ python
>>> import numpy
>>> numpy.__version__
'1.3.0'
>>> import scipy
>>> scipy.__version__
'0.7.0'
>>> import matplotlib
>>> matplotlib.__version__
'0.99.1.1'
>>> quit( )
// test it
PyBrain-0.3/examples/supervised/evolino$ ls -al
-rwxr-xr-x   superimposed_sine.py
PyBrain-0.3/examples/supervised/evolino$ python superimposed_sine.py
// wait for ½ hour

References:
1. http://www.pybrain.org/docs/
2. https://github.com/pybrain/pybrain/wiki/installation
3. https://github.com/pybrain/pybrain/wiki/Dependencies

Wednesday

C++ XML with Xerces in Windows 7 Operating System

Use Visual C++ 2008 and Xerces-c v2.8.0

=> Download [xerces-c_2_8_0-x86-windows-vc_8_0.zip] from http://xerces.apache.org/xerces-c/download.cgi

=> Extract to [D:\xerces-c-2.8.0-vc-8.0]

=> Add [D:\xerces-c-2.8.0-vc-8.0\bin;] to Windows OS System Path

=> Create New Project from Visual C++ 2008
Menubar | File | New | Project... | Visual C++ | General | Empty Project

=> Right click project from Solution Explorer Window and select Properties

=> Add include path
Config Properties | C/C++ | General
Additional Include Directories = "D:\xerces-c-2.8.0-vc-8.0\include"

=> Add library path
Config Properties | Linker | General
Additional Library Directories = "D:\xerces-c-2.8.0-vc-8.0\lib"

=> Add [xerces-c_2.lib] library file to the project
Config Properties | Linker | Input
Additional Dependencies = xerces-c_2.lib  // without double quotes

=> Add [system("pause");] before [return 0;] statement in your cpp source file

=> Right click project from Solution Explorer to add existing items. For examples: item.h, item.cpp, product.h, product.cpp, parser.cpp, items.xml

=> F5 to start debugging

Tuesday

How to make Firefox starts with multiple homepages?

=> Menu bar | Tools | Options...
=> Make sure you are at General tab |  at Startup panel | Select "Show my homepage"
=> At Startup panel | Home Page textbox | type "url1 | url2". Use vertical bar to open multiple homepages.
 

Sunday

How to send a file from your mobile phone to the notebook computer using bluetooth?

+ Turn on the mobile phone bluetooth device.
+ Turn on the notebook bluetooth device.
+ Right click the bluetooth icon which appear on the bottom right taskbar notification to open bluetooth pop up menu.

 
+ From the bluetooth pop up menu, select "Receive a File".
+ Send a file from the mobile phone.

Caveat:
Easy by using micro USB cable for data management

How to disable Acrobat Reader 9 Automatic Update [solved]

  • Menu bar | Edit | Preferences... Ctrl+K
  • Categories: Updater
  • Check for updates: Select Radio Button: Do not download or install updates automatically

7-Zip: How to split a big folder size or a big file size to multiple parts?

1. Make sure you have install 7-Zip program. Let say you want to split a big folder named "directory_to_be_split".

2. Right click the big folder/file size. Select 7-Zip | Add to archive...

3. [Add to Archive] window will pop up. Type directly inside the split combo box your desired size. For this example, 100m stands for 100MB.


4. Press OK.

5. The directory will be split to multiple parts. The multiple split parts will be named as directory_to_be_split.zip.001, directory_to_be_split.zip.002 .. directory_to_be_split.zip.nnn where n is an integer from 0 to 9.

Thursday

No Java Coding for JSlider and JTextfield

Objective: Bind JTextfield to JSlider for 'rho' values of 0.0, 0.1, 0.2, ..., 1.0 without any Java coding at all.

Final Result:


Step 1: Set JSlider Properties Visually
Swing Controls: JSlider
Code
Variable Name: sldRho
Properties
majorTickSpacing: 1
maximum: 10
minimum: 0
minorTickSpacing: 1
paintTicks: True
snapToTicks: True
value: 5  // 5 divides 10 is 0.5, to be scaled down by division operator

Step 2: Set JTextfield Properties Visually
Swing Controls: JTextfield
Code
Variable Name: jtfRho
Properties
text: 0.5 (default value)

Step 3:


Step 4:

If a hater attacked your age and not the goodness of you

Whether young or old, I've always been known what endures. I've known the very idea of people that were all created equal and deserv...