วันอังคารที่ 13 กรกฎาคม พ.ศ. 2553

error: extra qualification ‘Item::’ on member ‘Item’

Today I download some fp growth source code from some site.

and compile them and got this error.

error: extra qualification ‘Item::’ on member ‘Item’.

I think it may cause by new compiler didn't want Item:: (class meaning)ahead of Item (function meaning).

วันจันทร์ที่ 5 กรกฎาคม พ.ศ. 2553

CUDA in VS some variable type not found while linking

such as FILE.
right click that *.cu > Properties > General > Excluded From Build : Yes

Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'

It's about manifest.
Set Project property > Configuration Properties > Linker > Manifest File > Generate Manifest : Select No.

วันจันทร์ที่ 21 มิถุนายน พ.ศ. 2553

The annoying adaptor , Tunnel adapter Local Area Connection




After you type "ipconfig /all" in command line in window 7 (or vista).
you may see these Tunnel Adapter

I am very annoy about these adapter It now show 94th adapter on my computer.

I guess these Tunnel adapter is come from Teredo Tunneling Pseudo-Interface.

http://webbosworld.co.uk/blog/?p=30

To solve them. there has several method.

The one solution rather brute force solution (but I still select to do it with this method = =")
is
1. open device manager
2. select view > show hidden devices
3. then you will see
then I manually right click at each adapter and choose uninstall option.
Wish this may help.

and Then if you didn't want to see them again you can disable Teredo adapter by follow this instruction.
http://www.mydigitallife.info/2007/09/09/how-to-disable-tcpipv6-teredo-tunneling-in-vista/

Ubuntu Running in low graphic mode

the cause of this problem is the graphic driver is override by some other software update.

you should download some driver that suit your graphic card and then reinstall.

1. press Ctrl+Alt+F2 (Ctrl+Alt+F8 and BackSpace I can't remember meaning)
then close x server by command "/etc/init.d/gdm stop"
2. sudo ./your driver.run
3. "etc/init.d/gdm start or restart"

Finish then "sudo shutdown now" if you can't back to normal graphic mode = ="

วันเสาร์ที่ 17 เมษายน พ.ศ. 2553

Solve Password for Start-dfs.sh


if you set hadoop command in permission folder then you can't run this command.

my method is "move all of hadoop to home folder".

this may solve.

or if you should insert password 2 times don't tired to type.

the first for datanode and the second for secondary namenode.