These pages are written by only Japanese.
|
Namazu for hns による簡易全文検索です。 詳細は 詳細指定/ヘルプをご参照下さい。 |
||||||||||||||||||||||||||||||||||||||||||||||||
\78,000円…
yoya@cam$ audiorecord audiorecord: failed to open /dev/sound0: Device not configuredあれ… 何のサウンドカード挿したんだっけ… (汗 サウンドブラスター系だという記憶だけはあるけど…
PeerGroup group; <略> group.startApp(null);だけで良いようです。
import net.jxta.peergroup.PeerGroup; import net.jxta.peergroup.PeerGroupFactory; import net.jxta.exception.PeerGroupException; public class RunJxtaShell { public static void main(String[] args) { try { PeerGroup group = PeerGroupFactory.newNetPeerGroup(); new RunJxtaShell(group); } catch(PeerGroupException e) { e.printStackTrace(); } } public RunJxtaShell(PeerGroup group) { group.startApp(null); } }
yoya@awm.jp% javac RunJxtaShell yoya@awm.jp% java -Dnet.jxta.tls.principal=yoya -Dnet.jxta.tls.password=<略> RunJxtaShell
The Java implementation of the shell uses two system properties to configure its graphics: SHELLNOWINDOW SHELLFONTSIZEとあり、
SHELLNOWINDOW If true, then no AWT window is creaetd; the shell will run in the current terminal window.↑この記述が前々から気になっていたので、試してみる。
yoya@awm.jp% java -DSHELLNOWINDOW=true \ -Dnet.jxta.tls.principal=yoya -Dnet.jxta.tls.password=<略> RunJxtaShell <略> JXTA>以上…
測定サイト http://speedtest.excite.co.jp/ v1.13 測定時刻 2003/02/22 03:36:48 ホスト名/IPアドレス FLH1Aal149.kng.mesh.ad.jp/220.144.161.149 プロバイダ/回線/地域 BIGLOBE/Bフレッツ ニューファミリータイプ/神奈川県 推定最大スループット 49.1Mbps(6284kB/s)
測定サイト http://speedtest.excite.co.jp/ v1.13 測定時刻 2003/02/22 03:42:23 ホスト名/IPアドレス 15.16.111.219.st.excite.co.jp/219.111.16.15 プロバイダ/回線/地域 BB.excite/Bフレッツ ニューファミリータイプ/神奈川県 推定最大スループット 49.55Mbps(6342kB/s)
for(my $i=0; $i<360; $i+=10) { my ($r, $g, $b) = hsv2rgb($i, 0.1, 255); <略>( ソースコード )
sub str_hash { my $value = 0; foreach my $str (@_) { foreach my $c (split('', $str)) { $value += unpack("c", $c) * 5; $value = $value * 5 + 11; } } return $value; }本気でやるなら MD5 とか SHA とか使うのでしょうけど、 上記の方法だとデータに合わせてチューニングしやすいメリット *1 があります。 ( ソースコード )
yoya@alt% ifconfig -a <略> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 inet 220.144.161.149 -> 218.227.247.101 netmask 0xff000000 inet6 fe80::250:8bff:fe66:248e%pppoe0 -> prefixlen 64 scopeid 0xb yoya@alt% ping 220.144.161.149 PING FLH1Aal149.kng.mesh.ad.jp (220.144.161.149): 56 data bytes <無反応> ^c yoya@alt yoya% ping 218.227.247.101 PING 218.227.247.101 (218.227.247.101): 56 data bytes <無反応> ^c20分程待ってみても繋がらないので、試しに、
yoya@alt% ifconfig pppoe0 down yoya@alt% ifconfig pppoe0 upとした所、復旧しました。
sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5 sb1: Creative SB AWE64 PnP Audio: dsp v4.16 audio0 at sb1: full duplex, mmap, independent
isapnp0: <Creative SB AWE64 PnP, CTL0022, , WaveTable> port 0x620/4 not configuredキニシナイ‥ キニシナイ‥
bash-2.05$ mpg123 <略>_L.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! <略> Directory: data/ Playing MPEG stream from <略>_L.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo音も鳴りました
audioctl -w record.gain=127とパラメータを変えて、以下のコマンドで録音が出来ました。
audiorecord -F wav rectest.wav*2 ただ… 噂では聞いていましたが、本当にひどい雑音がのります。
Audible Magicのソフトはデータストリームの内部まで深く入り込むことのできる 新世代のツールで、ネットワーク管理者は具体的に何のファイルが交換されているのか を知ることが可能。 ワイオミング大学では学生が交換しているファイルの内容と量を調べ、 例えばある24時間の例を取ると、Gnutellaネットワーク経由で最も多く交換されて いたのはラップアーティストBig TymersのMP3ファイルで、回数は188回に上っていた。
PCの電源アースを十分にとってみてはいかがでしょうか? PC本体の設計思想は、もともとノイズの発生を想定していて 電源コードでアースをとるようになっています、 しかし日本の環境は電源アースが十分にとれず様々の問題が起きています。 PCの電源コードにアースピンがあるのは、 リークした電流の除去/ノイズの消去などのためです。我が家には、アース線は存在しません。(ρ_;
yoya@alt% ifconfig pppoe0 down yoya@alt% ifconfig pppoe0 upで復旧。
jigdo='http://us.cdimage.debian.org/jigdo-area/3.0_r1/jigdo/i386/woody-i386-1.jigdo' debianMirror='ftp://ftp.dti.ad.jp/pub/Linux/debian/' nonusMirror='' tmpDir='.' jigdoOpts='--cache jigdo-file-cache.db' wgetOpts='--passive-ftp --dot-style=mega --continue --timeout=30' scanMenu=''
yoya@awm.jp% ls -l debian-30r1-i386-binary-1.iso -rwxr--r-- 1 yoya yama 612073472 Feb 23 14:24 debian-30r1-i386-binary-1.iso* yoya@awm.jp% md5sum debian-30r1-i386-binary-1.iso 16c8650697ac9b04c0d3072d2d146368 debian-30r1-i386-binary-1.iso
今後、関東地域に予想以上に厳しい寒波が到来した場合、 供給が間に合わず大停電が起こる可能性もある。
以下のパッケージがアップグレードされます: TrueType-base TrueType-kochi XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-Xnest XFree86-Xvfb XFree86-cyrillic-fonts XFree86-devel XFree86-doc XFree86-gl XFree86-gl-devel XFree86-legacy XFree86-libs XFree86-tools XFree86-twm XFree86-xdm XFree86-xf86cfg XFree86-xfs libpcap perl tcpdump tetex tetex-extra
alt# mount -r -t ufs -o ufstype=44bsd /dev/hda1 /mnt/hda mount: fs type ufs not supported by kernelinstall に用いた cdrom から drivers.tgz を探して、 その中の ufs.o を /lib/modules/〜/fs/ にコピーして、 insmod してと…
alt# mount -r -t ufs -o ufstype=44bsd /dev/hda1 /mnt/hda mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)
yoya@alt% make <略> gcc -I.. -I/usr/X11R6/include -O2 -Wall -c argsresources.c argsresources.c:26: X11/Xaw/Toggle.h: No such file or directory make[1]: *** [argsresources.o] Error 1 make[1]: Leaving directory `/home/yoya/vnc/vnc-3.3.6-unixsrc/vncviewer' make: *** [all] Error 1カーネルが 2.2 系の為か、rpm でバイナリを入れても、 libc6 が無い等と叱られて起動できない。
LILO 22.2 Loading LinuxEBDA too big .でも起動できず…
独自に node リスト(プロトコル://ホスト/ポート番号)の 共有サービスを作成して、お互いの持っているノード情報を 共有し、文字列を取得して uniq を取って、 各ノードは、その node リストを元に特定の数の コネクションを保持するように動く。 勿論、FireWall の中か外かで、プロトコル、ホスト/ポート番号 等が使えるか変わるので、Ping で反応の無い奴を一定特定時間で expire したり、優先度を下げるような処理が必要だけど。とまぁ、そういった独自のプロセスがあっても良いのではないか? connectToRdv メソッドで rdv を追加できる事ですし。
alt# cd /usr/src/sys/i386/conf alt# cp GENERIC PPPOEKERNEL <identity の GENERIC を PPPOEKERNEL に変更> <options NETGRAPH を追加> alt# config PPPOEKERNEL Kernel build directory is ../compile/PPPOEKERNEL Don't forget to do a ``make depend'' alt# cd ../compile/PPPOEKERNEL/ # 4.x 系と場所が違う… alt# make depend rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/. ./include -I/usr/include /usr/src/sys/modules/vesa/../../i386/isa/vesa.c \ /usr/src/sys/modules/vesa/../../dev/syscons/scvesactl.c alt# make <略> awk -f /usr/src/sys/modules/vesa/../../conf/kmod_syms.awk vesa.kld \ /usr/src/sys/i386/compile/YOYAKERNEL/modules/usr/src/sys/modules/vesa/export_syms | \ xargs -J% objcopy % vesa.kld ld -Bshareable -d -warn-common -o vesa.ko vesa.kld alt# make install <略>
Feb 27 23:27:24 alt ppp[225]: tun0: Warning: deflink: Device (PPPoE:eth0) must begin with a '/', a '!' or contain at least one ':'
alt# cd /usr/local/etc alt# cp dhcpd.conf.sample dhcpd.conf alt# vi dhcpd.conf <パラメータの名前等を変更> alt# /usr/local/sbin/dhcpd fxp1 Internet Software Consortium DHCP Server V3.0.1rc11 Copyright 1995-2003 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP old name service update routine line 11: illegal expression relating different t ypes if (defined (ddns-fwd-name) and ddns-fwd-name != ^ can't parse standard ddns updater!サンプルをそのまま使って起動しても同じエラーになります…
The PEER_ADDRESS structure specifies the information about the IP address. typedef struct peer_address_tag { DWORD dwSize; SOCKADDR_IN6 sin6; } PEER_ADDRESS, *PPEER_ADDRESS; Members dwSize Specifies the size of this structure. sin6 Specifies the IP address of the node in the peer-to-peer infrastructure.SOCKADDR_IN6 って… まさかね…
以前から一部で話題になってた、C. Huitema の PNRP(Peer Name Resolution Protocol) が実装されている様子です。
他に気になるのは、Pastry(http://research.microsoft.com/~antr/Pastry/)が 実装されているのかどうか、つー所です。はぅっ… 見逃してました…
if (System.getProperty("STARTJXTASHELL").equals("true")) { group.startApp(null); }としていたが、API ドキュメントを見ると、
if (Boolean.getBoolean("STARTJXTASHELL") { group.startApp(null); }の方がどうもお勧めらしい。
*default release=cvs tag=RELENG_4一方、standard-supfile は、
*default release=cvs tag=RELENG_5_0なので、後者を利用する。
yoya@alt% su Password: alt# cd
alt# /usr/share/examples/cvsup/standard-supfile . alt# vi standard-supfile <CHANGE_THIS.FreeBSD.org を cvsup2.jp.freebsd.org 等に変更> alt# cvsup -g -L 2 standard-supfile > & cvsup.log & alt# tail -f cvsup.log Parsing supfile "standard-supfile" Connecting to cvsup2.jp.freebsd.org Connected to cvsup2.jp.freebsd.org Server software version: SNAP_16_1f Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Edit src/UPDATING <略>
alt# cp ~yoya/java/NetBSD/bsd-jdk131-patches-7.tar.gz /usr/ports/distfiles/. alt# cp ~yoya/java/j2sdk-1_3_1-src.tar.gz /usr/ports/distfiles/. alt# cd /usr/ports/java/jdk13 alt# make ===: Command not found. alt# ===> Verifying install for /usr/X11R6/lib/libXm.so in /usr/ports/x11-too lkits ===: Command not found. alt# /open-motif /open-motif: Command not found. alt# >> openmotif-2.2.2.tgz doesn't seem to exist in /usr/ports/distfiles/openmotif. alt# >> Attempting to fetch from ftp://openmotif.opengroup.org/pub/openmotif/R2.2/tarう〜ん
>> Checksum OK for j2sdk-1_3_1-src.tar.gz. >> Checksum OK for bsd-jdk131-patches-7.tar.gz. ===> jdk-1.3.1p7_2 depends on executable: gm4 - found ===> jdk-1.3.1p7_2 depends on executable: zip - found ===> jdk-1.3.1p7_2 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.3.1p7_2 depends on file: /usr/local/linux-sun-jdk1.3.1/bin/javac - not found ===> Verifying install for /usr/local/linux-sun-jdk1.3.1/bin/javac in \ /usr/ports/java/linux-sun-jdk13 ===> linux-sun-jdk-1.3.1.06_1 You must manually fetch the Java 2 Development \ Kit 1.3.1.06 archive (j2sdk-1_3_1_06-linux-i586.bin) from \ http://java.sun.com/webapps/download/Display?BundleId=7163, download \ the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then \ run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13.linux-sun-jdk-1.3.1.06_1 を取ってこないといけないのですが、 http://java.sun.com/j2se/1.3/ j2se1.3 download では、linux-sun-jdk-1.3.1.07_1 しか見付かりません。