Tue, 2009-09-15 13:04

How long time old of book?

Submitted by chatsiri on Tue, 2009-09-15 13:04.

Posted in | | chatsiri's blog | 1 comment | quote | 1113 reads »

Ask people in IT fields "How many time for old of software book?".Software's have feature and new version in limit time.Limit of time cause new edition of software books.I not sure after read "Linux Kernel in a Nutshell" because are relating hardware programming not same software programming.
If talking about How start to learn technology of hardware book?,Sure!You should to read old technology for the purpose of understand hardware thinking.
Should translate to Thai language?.That link below.

http://www.kroah.com/lkn/

Sun, 2009-08-16 13:24

Retroshare of Dooble(Note).

Submitted by chatsiri on Sun, 2009-08-16 13:24.

Posted in | | | | chatsiri's blog | add new comment | quote | 1005 reads »

After built Retroshare with script.Script advise by Max( Dooble Developer ).It's cannot process all job in script because set "exit" before download Retroshare.I move exit command to end line of script.

From chatsiri.com

Behind build project with "qmake" command for create libretroshare.pro are problems about library path and include path.It's can see link here for install Retroshare in Linux OS.One problem found in "MakeFile" at directory retroshare-gui is cannot found "lgpgme".

From chatsiri.com

Line at define "LIBS",You able config MakeFile path specific libgpgme by start with -L flag(I found library name libgpgme at path "gpgme-1.1.8/src/.libs").Example :

-L/gpgme-1.1.8/src/.libs
Thus,
LIBS = $(SUBLIBS) [...] gpgme-1.1.8/src/.libs/ -lgpgme [...]

After save MakeFile in retroshare-gui and type make command again.
Other problem with include path.It can specific path with "INCPATH" for include header file.Assume after show error "I cannont find "gpgme.h" in directory."(I found problem among build retroshare-gui.It's show Networkdialog.o cannot found "gpgme.h" in directory).MakeFile able to specific path by at "INCPATH" line.See example below.

INCPATH = [...] -I/gpgme-1.1.8/src/ [...]

After save MakeFile and type Make command again.Success!.

Sun, 2009-07-26 12:49

MySQL Error Nr. 1064.When you create table.

Submitted by chatsiri on Sun, 2009-07-26 12:49.

Posted in | | chatsiri's blog | add new comment | quote | 1167 reads »

After tried to create tables in MySQL database(5.0.51a) by MySQL Query Browser.People took about MySQL Query Browser suck!.One problem begin from create table.It's cannot "DEFAULT NULL" in SQL statement.See picture below.

From chatsiri.com

Dialogue for create table.Column name "Default Value"("Column Name" column specify "id").After you click apply button.MySQL Query Browser will be generate SQL statement for create table.SQL statement below cannot create table because "DEFAULT NULL" in SQL command.

CREATE TABLE COMPANY( id BIGINT DEFAULT NULL AUTO_INCREMENT PRIMARY KEY 50,
...);

Above problem can solve by delete "DEFAULT NULL" from SQL Statement.Why cannot set DEFAULT NULL by specify AUTO_INCREMENT?...