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

Installing NVIDIA NEXUS for Debug CUDA , OpenCL

When installing, Nexus Beta 1 says that the required version of Visual Studio is not detected. But Visual Studio 2008 SP1 is installed! What is wrong?

Nexus Beta 1 looks at keys in the Windows registry in order to determine if Visual Studio 2008 SP1 is installed.

The registry keys read by the Nexus Beta 1 installer are:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0 where key ApplicationID has the value: REG_SZ “VisualStudio”

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0 where key SP has the value: REG_DWORD 0x00000001


If your registry does not have those values in those keys, then unfortunately, Nexus Beta 1 will not install.

text from http://supportcenteronline.com/ics/support/KBAnswer.asp?questionID=70

วันเสาร์ที่ 16 มกราคม พ.ศ. 2553

C1083 cuda error

solved by go to C/C++ > Precompiled Headers > Not Using Precompiled Header

or if you need to use

C/C++ > Precompiled Headers

: Created Precompiled Header (/Yc)
: StdAfx.h
: $(IntDir)\$(TargetName).pch

วันจันทร์ที่ 23 พฤศจิกายน พ.ศ. 2552

How Different In Learning English By Game and Book and Movie

I just play some English (with human sound) Game.

and after I read a English book too.

something come into my mind.

Yeah , That is how I feel "Desire to want to use English".

The game give me a feeling expression but reading the book is not.

Same as the movie give but poorly english skill like me can't follow all word in movie.

Little different about game is I can control some part I want to follow like in a strategy talking.

But in the movie you should follow as fast as they talk.

Finally , I think the best learn is learn everything mix together then you will got every skill needed. :)

วันศุกร์ที่ 20 พฤศจิกายน พ.ศ. 2552

Weird about libstdc++.so.5 Error

Yesterday , I try to setup Hadoop on eclipse on Ubuntu in Virtual Box.

I found Error about Missing some class. It say
"BUILD FAILED
build.xml :316: Unable to find a javac compiler
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre
"
".

First , you should download JDK from sun micro system and install it's packages.
Don't forget to "chmod +x " if you can't run install command.
or you may can "sudo apt-get install " that something I don't know too.

if you encounter problem about
"./java_ee_sdk_linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory"
or similar to this you may get the wrong .bin file.
Try to download Other file that not the same as old one.

If you got the right .bin file now. Don't forget to "chmod +x " if you can't run install command.
then run "./".
Additionally , you may move the JDK folder to the well-manner category "/usr/lib/jvm".
(If you can't use copy command then omit it. use move instead it then finish successful.)

After you finish install jdk then do the last step to let's Ant correctly run.

Lastly , Add tools.jar to Ant Runtime Classpath.The Problem solved.

วันอังคารที่ 3 พฤศจิกายน พ.ศ. 2552

AVG Setting Virus Scan

The state of the problem is how to use avg scan after download files by other programs.

The answer is in this URL.
http://www.avg.com/us-en/90495

ในที่นี้จะเขียนเป็นภาษาไทยเลยละกันเพราะภาษาอังกฤษมีใน URL แล้ว
1. ถ้าเป็น OS แบบ 32bit (x86)
จะใช้ path
"C:\Program Files\AVG\AVG8\AVGSCANX.EXE" /scan=%file% /clean /arc
โดยมี parameter ตามด้านหลังเลยครับ

2. ส่วนถ้าเป็น 64bit ก็ตามนี้ครับ
"C:\Program Files (x86)\AVG\AVG8\AVGSCANA.EXE" /scan=%file% /clean /arc

ส่วนแต่ละ program อาจจะไม่ใช้ %file% ก็ต้องเปลี่ยนไปตามแต่ละ program
Each Program may not use "%file%" to reference file path you should follow each program instruction to set this.


This tutorial will show example in Internet Download Manager
First , select OptionsSecond , select DownloadThird , Look at Virus Checking and put address and parameter in textbox.
Ah this picture !! I forgot one parameter "/arc".
Finally , Don't Forget to change %file% to [File]


After Scan Downloaded files you can see Result in AVG.
Select History > Scan resultsYou will see Scan Result in Command line scan.For more Addition if you know how to call Shell scan please notify me too. I still don't know that too.

More Example I will show how to set AVG virus scan in Firefox+Download Status Bar Add-on
First , select Tools > Add-ons
Second , select Options of StatusbarThird , select Vir Then Fourth , Tick Manually scan completed downloads Checkbox and put Scanner Address in Anti-Virus program location and put Parameter to Arguments.
Remember that Don't forget to change %files% to %1 as the recommend text below.

วันอาทิตย์ที่ 25 ตุลาคม พ.ศ. 2552

General Problem And Config

Two last week ago I try Many Program on Windows 7 and Found These Topics.
I just want to say about it.

1. AVG detect LClock as Worm
After update AVG to version 9 and scan whole computer. The AVG detect LClock as Worm. Then I decide to remove it (LClock) after use it for 5 years. now I just use Google Calendar instead but I still required con internet
2. Firefox Crash After Open Printer
I can't remember much about this problem. May be it may happen when I search printer.
3. Google Desktop Not Comfortable to Index
It may not compatible with my Windows XP service pack 3 or something else I don't know.
but I can't easily mange Index (recreate , add or remove destination folder)
4. After use JetStart I prefer it than Google Desktop even it create index only shortcuts in startMenu.

วันจันทร์ที่ 12 ตุลาคม พ.ศ. 2552

Review Windows Utility Programs

1. JetStart Review
jetstart is a freeware you can use some features in free.
First feature I like is search start menu. (like the search bar in vista)
I ever try this in Google Desktop but I can't easily set the indexed file and It's alway build index from almost all file in my computer.
After I try this program it's make me more flexibly call program :)Second I like is I can swap the program on taskbar :)
2. FreeSnap Review
like some other shortcuts to arrange window (in window 7 not need this it build in)
Win+Left , Right , Up , Down

3. ZoomIt Review

Yep this make Window become a Presenter OS.
you can scroll mouse to zoom in/out.
you can draw the color on your screen after freeze screen by shortcuts
you can set screen to write/black.
you can change easily color pen by shortcuts.
etc.