2005年7月31日 星期日

Fake News

http://www.weeklyworldnews.com

http://www.weeklyworldnews.com/features/sex/61260


--
fake....

creating mysql account

grant all on weizh.* to ""weizh@"" identified by ""pass"";
GRANT USAGE ON * . * TO ""weizh3""@ ""%""IDENTIFIED BY ""pass"";

random generate password

apg -a 1 -M ncl -E l1O02ZB8 -n 6 -m 8 -x 8

game theory

asymmetrical information

2005年7月29日 星期五

BBS the Documentary

- AN INFOFALLOUT RELEASE -
IN ASSOCIATION WITH THE DOCUMENTARY ARCHIVE
TITLE: BBS: The Documentary - Part 1 - Baud
SOURCE: DVD
RIPPER: Acey the Sexiest Hippie
CODEC: XviD 1.0.3
RLS DATE: 6/12/2005
RELATED URL: http://www.bbsdocumentary.com/

RELEASE NOTES/DESCRIPTION:
the releases of the rest of the episodes in the series will be staggered.
there are 8 eps. we're sorry we have to stagger the releases of the episodes
like this, but several of our 100mbit affil sites are currently down. :(

Long before the Internet escaped from the lab, connecting the planet and
redefining what it meant to meant to be a computer user...

...there was a brave and pioneering band of hobbyists who spent their time,
money and sanity setting up their home computers and phone lines to welcome anyone who called. By
using a modem, anyone who knew the phone number of these machines could
connect to them, leave messages, play games, send and receive files in a
virtual community... and millions did.

They called these places ""Bulletin Board Systems"", or BBSes. Their collections
of messages, rants thoughts and dreams became the way that an entire
generation learned about being online.

When the Internet grew in popularity in the early 1990s, the world of the BBS
faded, changed, and became a part of the present networked world -- but it
wasn't the same.

In the Summer of 2001, Jason Scott, a computer historian and proprietor of
the textfiles.com, noticed the lack of materials covering the history of
these BBSes. So, he took it upon himself to produce what turned out to be one
of the most comprehensive histories on the subject.

Four years, thousands of miles of travelling, and over 200 interviews later,
""BBS: The Documentary"", a series of 8 episodes about the history of the BBS,
is now available. Spanning 3 DVDs and totalling five and a half hours,
this documentary consists of eight episodes each covering different aspects
of this important story in the annals of computer history.

Ideal as either a teaching tool or a reminder of things past, the BBS
Documentary Collection brings back this nearly-forgotten time in a way that
will tell the story... one caller at a time.

DESCRIPTIONS OF THE EPISODES
Baud introduces the story of the beginning of the BBS, including interviews
with Ward Christensen and Randy Suess, who used a snowstorm as an inspiration
to change the world.

Sysops and Users introduces the stories of the people who used BBSes, and lets
them tell their own stories of living in this new world.

Make it Pay covers the BBS industry that rose in the 1980's and grew to
fantastic heights before disappearing almost overnight.

Fidonet covers the largest volunteer-run computer network in history, and the
people who made it a joy and a political nightmare.

Artscene tells the rarely-heard history of the ANSI Art Scene that thrived in
the BBS world, where art was currency and battles waged over nothing more
than pure talent.

HPAC (Hacking Phreaking Anarchy Cracking) hears from some of the users of
""underground"" BBSes and their unique view of the world of information and
computers.

No Carrier wishes a fond farewell to the dial-up BBS and its integration into
the Internet.

Compression tells the story of the PKWARE/SEA legal battle of the late 1980s
and how a fight that broke out over something as simple as data compression
resulted in waylaid lives and lost opportunity.

BBS the Documentary

http://www.bbsdocumentary.com/

http://software.bbsdocumentary.com/

http://www.textfiles.com/index.html

http://slashdot.org/article.pl?sid=05/05/25/0023230&from=rss

匪方似乎有人在著手翻譯計畫,字幕還沒出來前,練個聽力吧!

2005年7月26日 星期二

irssi

包個新版 irssi 吧

http://irssi.org/

http://blog.yam.com/pwchi/archives/262348.html

http://tavi.debian.org.tw/index.php?page=irssi

http://yungyuc.net/253

http://jedi.org/blog/archives/003191.html

http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/irssi.html

2005年7月22日 星期五

Minesweeper is NP-complete!

http://web.mat.bham.ac.uk/R.W.Kaye/minesw/ordmsw.htm

http://www.hermann-uwe.de/blog/minesweeper-is-np-complete

http://episte.math.ntu.edu.tw/articles/mm/mm_10_2_04/page4.html

Debian 參考手冊

http://qref.sourceforge.net/Debian/reference/reference.zh-tw.html#contents

Ubuntu 與 Debian 相容性暫時解套方法

http://www.ubuntu.org.tw/modules/newbb/viewtopic.php?topic_id=71&forum=2

由於兩套系統漸行漸遠,許多套件都不能直接拿來互用…其實有許多小撇步是可以用的…
以 pcmanx-gtk2 為例

1. 首先硬裝看看能不能用

dpkg -i --force-all pcmanx-gtk2_0.1.7.9-1_i386.deb

2. 如果可以用的話,就可以開始幫這個 deb 動小手術了

mkdir tmp
cd tmp
dpkg -x ../pcmanx-gtk2_0.1.7.9-1_i386.deb ./
dpkg -e ../pcmanx-gtk2_0.1.7.9-1_i386.deb
vi DEBIAN/control (把裡面的 libc6 (>= 2.3.2.ds1-21) 改成 libc6 (>=
2.3.2.dsl-20ubuntu13) 這樣)
dpkg-deb -b . ../pcmanx-gtk2_0.1.7.9-1ubuntu1_i386.deb

好了,再來就可以正常安裝這個新出爐的套件

dpkg -i ../pcmanx-gtk2_0.1.7.9-1ubuntu1_i386.deb

2005年7月21日 星期四

n!

____   n n
n! ≒ √2xπxn (──)

2005年7月19日 星期二

MySQL 5.0.9-beta

1.Download MySQL 5.0.9 beta from
http://dev.mysql.com/downloads/mysql/5.0.html
Tarball (tar.gz) 5.0.9-beta
# wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.9-beta.tar.gz/from/http://mysql.cdpa.nsysu.edu.tw/

2.
# cd /tmp
# tar zxvf mysql-5.0.9-beta.tar.gz
# cd mysql-5.0.9-beta
# dh_make
如果沒有 dh_make 這個指令,安裝 dh-make。
安裝時期會需要 termcap/courses 順便裝。
# apt-get dh-make libncurses5-dev termcap-compat
# vi debian/rules

底下幾行註解掉
#CFLAGS = -Wall -g
#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
# CFLAGS += -O0
#else
# CFLAGS += -O2
#endif

加入
CFLAGS=-Wall -g -O3 -march=pentiumpro
CXX=gcc
CXXFLAGS=-O3 -march=pentiumpro -felide-constructors -fno-exceptions -fno-rtti
config.status: configure
dh_testdir
# Add here commands to configure the package.
CFLAGS=""$(CFLAGS)"" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info --localstatedir=/var/lib/mysql
--with-unix-socket-path=/var/run/mysqld/mysqld.sock --with-charset=big5

後面是 configure 時的參數,可依照需求更改,
--with-charset=big5 若不加入,中文會有問題。
詳細參數可參考 INSTALL-SOURCE

3.
# cd /tmp/mysql-5.0.9-beta
# dpkg-buildpackage

4.
# cd /tmp
# dpkg -i --force-all mysql_5.0.9-beta-1_i386.deb


Note:
1.一般來說,編譯時需要的軟體大概如下 dpkg-dev gcc g++ make patch dh-make
debhelper devscripts fakerootgnupg debmake

2.通常不建議 MySQL 進行大幅度的升級,例如 3.23 --> 4.0 差了一個版號,
但並非不可。3.23 和 4.0 系列重要的差異在於 ""mysql"" 資料庫內的權限資料,
4.x 以後使用較安全的密碼格式? 可使用下列指令修復該資料庫。
# mysql_fix_privilege_tables root_password
其餘資料庫應由原版本 MySQL server 使用 mysqldump 將資料 dump 出來。
# mysqldump -uuser -ppassword -opt database_name > database.sql
復原:
# mysql -uuser -ppassword
mysql> drop database database_name;
mysql> create database database_name;
mysql> quit;
# mysql -uuser -ppassword database_name < database.sql
或者配合 phpMyAdmin 做 dump 和 restore 的動作。

3.剛安裝好的 MySQL 是沒有 root 密碼,可使用下列方法更改
方法一
# mysql -uroot mysql
mysql> UPDATE user SET password=password('new_passwd') where user=root;
mysql> FLUSH PRIVILEGES;
方法二
# mysqladmin -u root password 'new_passwd'

4.若是忘記 MySQL 密碼,使用下列方法
# killall -9 mysqld
# mysqld_safe --skip-grant-tables &
# mysql -uroot mysql
mysql> UPDATE user SET password=password('new_passwd') where user='root';
mysql> FLUSH PRIVILEGES;

Reference:
Debian New Maintainers' Guide
http://www.debian.org/doc/manuals/maint-guide/index.en.html

2005年7月15日 星期五

小悍將滿週歲!

小悍將
92.07.14 領車
累積里程數 309xxKM
今天他滿兩歲了!!
平均一天跑 42 KM!

2005年7月11日 星期一

Google Toolbar for Firefox

http://toolbar.google.com/firefox/index.html

http://toolbar.google.com/firefox/extensions/index.html

2005年7月10日 星期日

Proftpd (FTP Server)

1.Install proftpd
# apt-get install proftpd

2.Setting
# vi /etc/proftpd.conf
ServerName ""Math FTP Server""
AllowRetrieveRestart on
AllowForeignAddress on
DefaultRoot ~
# for chroot

3.Anonymous FTP

User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
MaxClients 100
DisplayLogin welcome.msg
DisplayFirstChdir .message
RequireValidShell off
AllowRetrieveRestart on
AllowForeignAddress on
MaxClientsPerHost 2
TransferRate RETR 1000
TransferRate RETR 1000 user ftp


Order allow,deny
Allow 140.115.0.0/16
Deny from all



DenyAll



AllowRetrieveRestart on
AllowOverwrite on
AllowStoreRestart on

AllowAll