独り言の部屋

この部屋は、日々の思いつきを適当に書いてます。
ここで、言いたい事を、思いっきり言って、ストレスを発散しようと言うのが目的です。
私のストレス発散に付き合ってくれる暇な人は、見ていって下さい。
暇でない人は、こんな所に居ず、さっさと他のページに行った方が良いですよ(^_^;。

病気になって愚痴も3倍強化!(当社比)


[このページの最後に行く]

過去のひとりごと

[1998.9.6〜1999.8.27] [1999.8.31〜2000.4.19]


ひとりごと


2001.2.24

 とーーーても久しぶり〜な更新(^_^;。

 今まで何をしてたかと言うと、入院したり、手術したり、手術したり、手術したりしてました(^_^;。
 色々とありましたが、おかげさまで、今月から、会社に行くようになり、アパートにはフレッツ・ISDNが引かれて、 復活の兆しが見えてきました(^_^)。

 2年間、ほげほげしてたら、世の中、随分と変わりましたねぇ(^_^;。
 ついにMacが花柄になったし(笑)。

 これから、またぼちぼちとやっていく予定なので、皆様、よろしくお願い致します。

2001.6.13

 またまた、とーーーても久しぶり〜な更新(^_^;。

 体調不良は相変わらず・・・。
 なんとかしてくれよ。ホント・・・。<オレの身体

 で、そんな私にさらにダメージが・・・(T_T)。

 こちらの情報によると、 なんか満開製作所が大変なことになってるみたい・・・・・。
 すごく悲しいです・・・。
 
2001.7.14

 PS2 Linux Beta Relese1が来ました。
 取りあえず、インストールを2回(^_^;やってみました。

 一度インストールしてちゃんと起動したのですが、二回目の起動で動かなくなったので、再度インストール。
 毎度の事ながら、インストールは苦手だ(^_^;;;;;;;;;;;。

 取りあえず、PS2 Linuxβ 一式は、こんな感じ。

2001.7.22

 そろそろセキュリティも気にしようかなという事で、PS2 Linux Beta Release 1にnmap-2.53を入れる。
 (nmapについては、http://www.insecure.org/nmap/を参照)
 PS2 Linuxでは、コンパイル時に、HAVE_INET_ATONをdefineしてないとダメ。
 取りあえず、インストールは、こんな↓感じ。
$ ./configure --prefix=/home/psv/local CFLAGS=-DHAVE_INET_ATON

間違えました(^_^; $ export CFLAGS=-DHAVE_INET_ATON;./configure --prefix=/home/psv/local の方が、良いです。(2001.7.23 修正)

$ grep HAVE_INET_ATON Makefile CFLAGS = -DHAVE_INET_ATON -Wall -Ilibpcap-possiblymodified $(CCOPT) $(DEFS) $(INCLS) $ make (省略) gcc -O2 -DHAVE_INET_ATON -Wall -Ilibpcap-possiblymodified -I. -DHAVE_MALLOC_H= 1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./pcap-linu x.c gcc -O2 -DHAVE_INET_ATON -Wall -Ilibpcap-possiblymodified -I. -DHAVE_MALLOC_H= 1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./pcap.c gcc -O2 -DHAVE_INET_ATON -Wall -Ilibpcap-possiblymodified -I. -DHAVE_MALLOC_H= 1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./inet.c gcc -O2 -DHAVE_INET_ATON -Wall -Ilibpcap-possiblymodified -I. -DHAVE_MALLOC_H= 1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./gencode.c (省略) $ make install ./shtool mkdir -f -p -m 755 /home/psv/local/bin /home/psv/local/man/ma n1 /home/psv/local/share/nmap /home/psv/local/share/gnome/apps/Utiliti es ./shtool install -c -m 755 nmap /home/psv/local/bin/nmap If the next command fails -- you cannot use the X front end test -f nmapfe/nmapfe && ./shtool install -c -m 755 nmapfe/nmapfe /home/psv /local/bin/nmapfe && ./shtool mkln -f -s /home/psv/local/bin/nmapfe /home/ psv/local/bin/xnmap && ./shtool install -c -m 644 nmapfe.desktop /home/psv/ local/share/gnome/apps/Utilities/nmapfe.desktop && ./shtool install -c -m 644 docs/nmapfe.1 /home/psv/local/man/man1/nmapfe.1 && ./shtool install - c -m 644 docs/xnmap.1 /home/psv/local/man/man1/xnmap.1 ./shtool install -c -m 644 docs/nmap.1 /home/psv/local/man/man1/nmap.1 ./shtool install -c -m 644 nmap-os-fingerprints /home/psv/local/share/nma p/nmap-os-fingerprints ./shtool install -c -m 644 nmap-services /home/psv/local/share/nmap/nmap- services ./shtool install -c -m 644 nmap-rpc /home/psv/local/share/nmap/nmap-rpc $
 --prefixでインストールするディレクトリを指定して、CFLAGSで、HAVE_INET_ATONをdefine。
$ nmap localhost

Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
Interesting ports on psv-ps2linux (127.0.0.1):
(The 1517 ports scanned but not shown below are in state: closed)
Port       State       Service
21/tcp     open        ftp
23/tcp     open        telnet
98/tcp     open        linuxconf
111/tcp    open        sunrpc
515/tcp    open        printer
5680/tcp   open        canna

Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
$
$ nmap 192.168.0.1

Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
All 1523 scanned ports on  (192.168.0.1) are: closed
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
$
という事で、めでたく動作OK。
#インターネットに晒してるマシンのポートが開いてなくてひと安心(^_^)。



 で、ついでにSimple DirectMedia Layer(SDL) というライブラリもインストールして遊んでみる。
Changes for Fri Jun 15: 
1.2.1: Added Linux PlayStation 2 Graphics Synthesizer support 
という事なんで、PlayStation2にも簡単にインストール出来ました♪

 テストプログラムを動かしてみたけど、必要な事は一通り揃ってるような感じ。
 久しぶりにワクワク。

 Win/Linuxだけじゃなくて、MacOSやMacOS Xにも対応ってのはビックリ。
 なんで、今まで知らなかったんだろう?????>私

 とっても良いものを発見しました♪
 得した気分♪(実際に使わないと得にはならないけど(^_^;)
 #その昔、Mac用のシェアウェアのライブラリを買ったりしてたからなぁ。
 #こんな良いものがLGPLだなんて嬉しいねぇ(^_^)。

2001.7.23

 昨日のnmap-2.53のインストール手順では、configure出来ないというご指摘を受けまし たので実験してみました。

[psv@psv-ps2linux src]$ pwd
/home/psv/local/src
[psv@psv-ps2linux src]$ ls
nmap-2.53.tgz
[psv@psv-ps2linux src]$ gunzip -c nmap-2.53.tgz | tar xvf -
[psv@psv-ps2linux nmap-2.53]$ ./configure --prefix=/home/psv/local CFLAGS=-DHAVE_INET_ATON
configure: warning: CFLAGS=-DHAVE_INET_ATON: invalid host type
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... Invalid configuration `CFLAGS=-DHAVE_INET_ATON': ma
chine `CFLAGS=' not recognized

checking for gethostent... yes
checking for setsockopt... yes
checking for nanosleep... yes
checking how to run the C preprocessor... gcc -E
checking for pcap.h... no
checking for ANSI C header files... yes
checking for string.h... yes
checking for getopt.h... yes
checking for strings.h... yes
checking for memory.h... yes
checking for sys/param.h... yes
checking for sys/sockio.h... no
checking for netinet/if_ether.h... yes
checking for bstring.h... no
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking struct ip... yes
checking ip_v in struct ip... yes
checking if sockaddr{} has sa_len member... no
checking whether byte ordering is bigendian... no
checking if struct in_addr is a wacky huge structure (some Sun boxes)... no
checking if struct icmp exists... yes
checking if struct ip exists... yes
checking if struct ip has ip_sum member... yes
checking for bzero... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for memcpy... yes
checking for usleep... yes
checking for nanosleep... (cached) yes
checking for strerror... yes
checking for strcasestr... yes
checking for snprintf... (cached) yes
checking for inet_aton... yes
checking for getopt_long_only... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
configuring in libpcap-possiblymodified
running /bin/sh ./configure  --prefix=/home/psv/local CFLAGS=-DHAVE_INET_ATON --
cache-file=.././config.cache --srcdir=.
configure: warning: CFLAGS=-DHAVE_INET_ATON: invalid host type
loading cache .././config.cache
checking host system type... Invalid configuration `CFLAGS=-DHAVE_INET_ATON': ma
chine `CFLAGS=' not recognized

checking target system type... Invalid configuration `CFLAGS=-DHAVE_INET_ATON':
machine `CFLAGS=' not recognized

checking build system type... Invalid configuration `CFLAGS=-DHAVE_INET_ATON': m
achine `CFLAGS=' not recognized

checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... 2
checking how to run the C preprocessor... (cached) gcc -E
checking for malloc.h... yes
checking for sys/ioccom.h... no
checking for sys/sockio.h... (cached) no
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... (cached) yes
checking packet capture type... linux
checking for net/if_arp.h... yes
checking Linux kernel version... 2
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... no
checking if unaligned accesses fail... no
checking for a BSD compatible install... /usr/bin/install -c
updating cache .././config.cache
creating ./config.status
creating Makefile
configuring in nmapfe
running /bin/sh ./configure  --prefix=/home/psv/local CFLAGS=-DHAVE_INET_ATON --
cache-file=.././config.cache --srcdir=.
configure: warning: CFLAGS=-DHAVE_INET_ATON: invalid host type
loading cache .././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.0.0... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
[psv@psv-ps2linux nmap-2.53]$

 確かにwarningが出てますね。

 んじゃ、正攻法でやってみましょう(^_^;。
[psv@psv-ps2linux nmap-2.53]$ pwd
/home/psv/local/src/nmap-2.53
[psv@psv-ps2linux nmap-2.53]$ export CFLAGS=-DHAVE_INET_ATON;./configure --prefix=/home/psv/local
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -DHAVE_INET_ATON ) works... yes
checking whether the C compiler (gcc -DHAVE_INET_ATON ) is a cross-compiler... n
o
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... mipsel-unknown-linux-gnu
checking for gethostent... yes
checking for setsockopt... yes
checking for nanosleep... yes
checking how to run the C preprocessor... gcc -E
checking for pcap.h... no
checking for ANSI C header files... yes
checking for string.h... yes
checking for getopt.h... yes
checking for strings.h... yes
checking for memory.h... yes
checking for sys/param.h... yes
checking for sys/sockio.h... no
checking for netinet/if_ether.h... yes
checking for bstring.h... no
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking struct ip... yes
checking ip_v in struct ip... yes
checking if sockaddr{} has sa_len member... no
checking whether byte ordering is bigendian... no
checking if struct in_addr is a wacky huge structure (some Sun boxes)... no
checking if struct icmp exists... yes
checking if struct ip exists... yes
checking if struct ip has ip_sum member... yes
checking for bzero... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for memcpy... yes
checking for usleep... yes
checking for nanosleep... (cached) yes
checking for strerror... yes
checking for strcasestr... yes
checking for snprintf... (cached) yes
checking for inet_aton... yes
checking for getopt_long_only... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
configuring in libpcap-possiblymodified
running /bin/sh ./configure  --prefix=/home/psv/local --cache-file=.././config.c
ache --srcdir=.
loading cache .././config.cache
checking host system type... mipsel-unknown-linux-gnu
checking target system type... mipsel-unknown-linux-gnu
checking build system type... mipsel-unknown-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblym
odified ) works... yes
checking whether the C compiler (gcc -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblym
odified ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... 2
checking how to run the C preprocessor... (cached) gcc -E
checking for malloc.h... yes
checking for sys/ioccom.h... no
checking for sys/sockio.h... (cached) no
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... (cached) yes
checking packet capture type... linux
checking for net/if_arp.h... yes
checking Linux kernel version... 2
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... no
checking if unaligned accesses fail... no
checking for a BSD compatible install... /usr/bin/install -c
updating cache .././config.cache
creating ./config.status
creating Makefile
configuring in nmapfe
running /bin/sh ./configure  --prefix=/home/psv/local --cache-file=.././config.c
ache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblym
odified ) works... yes
checking whether the C compiler (gcc -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblym
odified ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.0.0... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
[psv@psv-ps2linux nmap-2.53]$

 今度は、OKなようです。
 それでは、makeとインストールをしてみます。

[psv@psv-ps2linux nmap-2.53]$ pwd
/home/psv/local/src/nmap-2.53
[psv@psv-ps2linux nmap-2.53]$ make
Compiling libpcap
make[1]: Entering directory `/home/psv/local/src/nmap-2.53/libpcap-possiblymodif
ied'
gcc -O2 -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblymodified -I.  -Ilinux-include
-DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
  -c ./pcap-linux.c
gcc -O2 -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblymodified -I.  -Ilinux-include
-DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
  -c ./pcap.c
gcc -O2 -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblymodified -I.  -Ilinux-include
-DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
  -c ./inet.c
gcc -O2 -DHAVE_INET_ATON -Wall  -Ilibpcap-possiblymodified -I.  -Ilinux-include
-DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
  -c ./gencode.c

(省略)

/usr/bin/ld: /usr/lib/libgmodule.so: invalid string offset 23718 >= 703 for sect
ion `.dynstr'
/usr/bin/ld: /usr/X11R6/lib/libXi.so: invalid string offset 25236 >= 1463 for se
ction `.dynstr'
/usr/bin/ld: /usr/X11R6/lib/libXext.so: invalid string offset 28000 >= 2970 for
section `.dynstr'
make[1]: Leaving directory `/home/psv/local/src/nmap-2.53/nmapfe'
END OF SECTION WHERE FAILURES ARE OK
[psv@psv-ps2linux nmap-2.53]$ 

[psv@psv-ps2linux nmap-2.53]$ make install
./shtool mkdir -f -p -m 755 /home/psv/local/bin /home/psv/local/man/man1 /home/p
sv/local/share/nmap /home/psv/local/share/gnome/apps/Utilities
./shtool install  -c -m 755 nmap /home/psv/local/bin/nmap
If the next command fails -- you cannot use the X front end
test -f nmapfe/nmapfe && ./shtool install  -c -m 755 nmapfe/nmapfe /home/psv/loc
al/bin/nmapfe && ./shtool mkln -f -s /home/psv/local/bin/nmapfe /home/psv/local/
bin/xnmap && ./shtool install  -c -m 644 nmapfe.desktop /home/psv/local/share/gn
ome/apps/Utilities/nmapfe.desktop && ./shtool install  -c -m 644 docs/nmapfe.1 /
home/psv/local/man/man1/nmapfe.1 && ./shtool install  -c -m 644 docs/xnmap.1 /ho
me/psv/local/man/man1/xnmap.1
./shtool install  -c -m 644 docs/nmap.1 /home/psv/local/man/man1/nmap.1
./shtool install  -c -m 644 nmap-os-fingerprints  /home/psv/local/share/nmap/nma
p-os-fingerprints
./shtool install  -c -m 644 nmap-services  /home/psv/local/share/nmap/nmap-servi
ces
./shtool install  -c -m 644 nmap-rpc  /home/psv/local/share/nmap/nmap-rpc
[psv@psv-ps2linux nmap-2.53]$

 という事で、無事インストール出来ました。

 多分、昨日出来たのは試行錯誤で何度もconfigureをやっていたので、config.cacheなどが 残っていて偶然上手くいったのでしょう(^_^;。
 #[psv@psv-ps2linux nmap-2.53]$ ls -al | grep config.cache
 #-rw-rw-r-- 1 psv psv 3424 Jul 23 19:15 config.cache
 #[psv@psv-ps2linux nmap-2.53]$

 大変、お騒がせ致しました。>ALL

 という事で、nmap-2.53のインストールは、

[psv@psv-ps2linux nmap-2.53]$ export CFLAGS=-DHAVE_INET_ATON;./configure --prefix=/home/psv/local
[psv@psv-ps2linux nmap-2.53]$ make
[psv@psv-ps2linux nmap-2.53]$ make install

とするのが良いでしょう。
#その他にも方法はあります。

 インストールのポイントとしては、環境変数CFLAGS-DHAVE_INET_ATONを設定すれば良いわけです。
 bash以外のシェルを使ってる方は、それぞれのシェルの方法で環境変数を設定するようにして下さい。


2001.7.28

 Dynamic DNSでドメインを取得してみました。

 使ったサービスは、こちら↓です。
       http://www.no-ip.com/

 参考文献は、MacPower 2001年7月号とこちらです。

 取りあえず、ニフティにある自分のHPのミラーサイトもどきをやってます。→ http://psv.servehttp.com/p-s-v/

 取りあえず、鯖はPS2 Linuxです。

 ファンの音がうるさいので、夜寝る時は止めちゃうかもしれないです(^_^;。>鯖&ルータ−

動いてなくても文句を言わないようにっ!>ALL


2001.7.29

 PS2 Linux Beta Release1で、Squid version 2.4 STABLE1の動作確認が出来ました。

 Squid Web Proxy Cache:
 http://www.squid-cache.org/

 インストールは、squid-2.4.STABLE1-src.tar.gzを解凍した後に出来るINSTALLファイルとQUICKSTARTファイルを参考にすれば、 問題なくPS2 Linuxでも動くようです。
 #普通通りインストールすれば良いってことですね♪

 注意は、cacheディレクトリをlogsディレクトリにsquidが書き込めるようにするってことかね。

$ pwd
/usr/local/squid
$ ls -al
total 28
drwxr-xr-x    7 root     root         4096 Jul 29 09:43 .
drwxr-xr-x   13 root     root         4096 Jul 29 09:26 ..
drwxr-xr-x    2 root     root         4096 Jul 29 09:25 bin
drwxr-xr-x   18 nobody   nogroup      4096 Jul 29 12:09 cache
drwxr-xr-x    4 root     root         4096 Jul 29 12:08 etc
drwxr-xr-x    3 root     root         4096 Jul 29 09:25 libexec
drwxr-xr-x    2 nobody   nogroup      4096 Jul 29 12:09 logs
$


 ちなみに、設定ファイルは、こんな↓感じに修正。
$ pwd
/usr/local/squid/etc
$ diff squid.conf.default squid.conf
48a49
> http_port 8080
406a408
> cache_mem 8 MB
602a605
> cache_dir ufs /usr/local/squid/cache 1024 16 256
1412a1416,1418
>
> #2001.7.29 add this line
> acl allowed_hosts src 192.168.0.2-192.168.0.5/255.255.255.255 192.168.0.1
1439c1445
< http_access deny manager
---
> http_access deny manager all
1447a1454
> http_access allow allowed_hosts
1462c1469,1470
< icp_access allow all
---
> icp_access allow allowed_hosts
> icp_access deny all
1532a1541
> cache_mgr hogehoge
1547a1557,1558
> cache_effective_user nobody
> cache_effective_group nogroup
$

 細かい設定とかあるんでしょうけど、取りあえず動いてるからヨシとしておくです(^_^;。

 これで、内から、(串)外から(波鯖)、24時間PS2をいじめれるようになりました(笑)。

追伸:
MacのIE5.0って、SHIFTキー+[更新ボタン]で、プロキシ強制更新をしてくれないの?(T_T)
ダメじゃん(^_^;。>MS
#NetscapeはOKだよ〜ん。

2002.1.20

 あけましておめでとうって、遅いか・・・(^_^;。
 もう、1月も20日じゃん(笑)。
 という事で、2002年になってしまいました。
 今年もよろしくお願い致します。m(_ _)m >ALL
 私は、今年も廃人のまま過ごす予定です(爆)。

 で、New iMacが気になる今日この頃ですが、 68K MacのMacLC575をWeb鯖&DNS鯖&Mail鯖にしてみました。
 psv@psv.no-ip.comてな感じで動いてます(^_^)。
 UNIX系のOSには逃げず、MacOS8.1で構築。
Classic MacOSマンセー!
ですな(^_^;。
#DNSの設定にしても、メールの設定にしてもえらくラクチンなのよ(^_^)。>Mac
#まぁ、逆に複雑なことをしようとすると大変そうな予感はしますけど、おうちで鯖するなら
#Macはいいねぇ。家で、ガリガリゴリゴリUNIXな鯖を相手にしてたら疲れ果てちゃう(^_^;。

 話は変わりますが、昨日行われたセンター試験の数学・・・。
 新聞に問題が載ってるのでふと見ましたが・・・。
 BASICのプログラムが問題に出てるのですが、いいのか!?あれで?
 おいしいスパゲティプログラムの作り方の一歩手前のような・・・(^_^;。
 GOTOの使い方養成講座か?
 あんなことやってたら、GOTOマンセーな人ばかりになっちゃう(T_T)。
 確かにGOTOがあれば、好き放題だけど・・・。
 条件ジャンプやら無条件ジャンプやらに命をかけたい人は、アセンブラ向きなのでアセンブラを勉強して下さいな。(^_^;
 つーか、あんな問題ばっかりやってるなら、
BASICなんてやめてアセンブラで授業やれっ!(爆)

GOTOでどこに飛ばすのが適切か?ってのを考えるような思考回路に固まると大変ダーヨ(^_^;。

 そーゆー事を考えないと点数取れないような試験ってものアレだけどねー。
受験勉強でプログラムを勉強した人と一緒に仕事をするようになるのがとっても恐いですな(^_^;。
 プログラマー希望の人は、独学で立派なプログラマーになって下さい(^_^;。
#最近は、入社していきなり「SEの勉強中です!」ってのが多いらしい!? プログラマーを経験せずにSE・・・。
#まぁ、仕事はプログラマーなんだけど、肩書はSEって人も結構居るけど・・・(^_^;。
#私は、一生、プログラマーでいいです(笑)。

 ところで、アラン・ケイという方を知ってるのかな?>教育現場の方々
 日本でも、アラン・ケイのような人が出てこないとダメだねー。
 まずは、BASICはやめて、SmallTalk系にしようよ(^_^;。
 せっかく頭が柔軟な若い時に、無理矢理BASICなんかに出会うのは、(今の時代)かなり不幸だと思いますよ。
 昔のようにコンピュータの性能が十分じゃなくて、BASICぐらいしか走らなかったような時代じゃないんですから。
#日本でDynaBookと言えば、東芝のアレですからねぇ(T_T)。


2002.1.22

 あ゛〜、ダメだわぁ〜(T_T)。>niftyのCGI鯖
 どういう思考回路の人がこの設定を決めたのでしょうか? 理解に苦しみます(T_T)。
 niftyのCGI鯖のPerlは、
use strict;を使えません(号泣)。
 niftyを使ってる人にとっては、これって常識なのでしょうか?
 使いたいなら、自分のディレクトリに無理矢理モジュールをインストールしなさい!ってことか!?
 strictは、ディフォルトで使えるようにして欲しいぞ。
 もしかして、汚いソースのやりたい放題プログラムを推奨してるのか?(爆)>ニフ
#つーか、もしかして、niftyの関係者って、use strictしないプログラムしか見たことないのかな?(^_^;。

 おかげで、ホントに疲れたよ・・・(T_T)。
 こんな変な設定にしてるなら、telnet or ssh でのログインを許可して欲しいですよ。
 ローカルのマシンで動作確認してるのに、niftyにアップロードしたら動かないってのはねぇ・・・(;_;)。

 これがniftyの使えないPerlの検証結果(怒)。
 気になる人は、御覧下さい。


  
[続きを読む] [このページの先頭に行く] [過去の独り言へ]

[TOPページへ]