hns - 日記自動生成システム - Version 2.19.9

  • 04/25(木) Interface
  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 04/30(火) NTT 東 払込期日
  • 04/30(火) ○ 固定資産税振替・支払
  • 05/01(水) atactl check
  • 05/01(水) 不燃ごみ
  • 05/03(金) 0900-1500 東京コンテスト
  • 05/14(火) All JA ログ締切
  • 05/15(水) 不燃ごみ
  • 05/18() 木之本会議
  • 05/19() CQ Ham Radio
  • 05/19() 別冊 CQ
  • 05/25() Interface
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2024年04月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2022年10月12日(水) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [openscad] resolved

10/10 に書いた問題 について、 @tristelo さんに教えてもらった。 線で接していると、問題が起きるらしいので、少しだけ くいこませたような形になっている。でも目で確認出来るような 「少し」ではない

cube も使って、簡潔に書いてある

module slope (L, H, W, D) {
     bind = 0.000001;
     translate([-W, -D, 0])
         cube([W, D, H]);
     polyhedron(
         points = [[  0,  0 - bind, 0],
                   [ -W,  0 - bind, 0],
                   [ -W,  L, H],
                   [  0,  L, H],
                   [  0,  L, 0],
                   [ -W,  L, 0]],
         faces  = [[ 0, 1, 2, 3],
                   [ 3, 2, 5, 4],
                   [ 4, 5, 1, 0],
                   [ 0, 3, 4],
                   [ 1, 5, 2]]);
}

slope (100, 50, 100, 10);


2014年10月12日() 旧暦 [n年日記] [更新:"2014/10/22 21:59:02"]

#2 [git] create a new repository on gitolite

repo <REPONAME>
    RW+     =   <KEYNAME>
Typical operation: init -> add -> commit -> remote add origin -> push origin
cd REPONAME
git init
git add .
git commit -m 'initial commit' -a
git remote add origin git@YOUR_SERVER_HOSTNAME:REPONAME
git push origin master:refs/heads/master
First trial as suggested above
modena@makoto 16:13:19/141012(~)% cd /tmp
modena@makoto 00:11:24/141013(/tmp)% mkdir pkgsrc
modena@makoto 00:11:27/141013(/tmp)% cd pkgsrc/
modena@makoto 00:11:30/141013(/tmp/pkgsrc)% git init
Initialized empty Git repository in /tmp/pkgsrc/.git/
modena@makoto 00:11:34/141013(/tmp/pkgsrc)% git add .
modena@makoto 00:11:42/141013(/tmp/pkgsrc)% git commit -m 'Make empty repository (init)' -a 
On branch master

Initial commit

nothing to commit
modena@makoto 00:12:01/141013(/tmp/pkgsrc)% git remote add origin git@HOSTNAME:pkgsrc
modena@makoto 00:12:32/141013(/tmp/pkgsrc)% git push origin master:refs/heads/master 
error: src refspec master does not match any.
error: failed to push some refs to 'git@HOSTNAME:pkgsrc'
(Try adding dummy)
modena@makoto 00:14:25/141013(/tmp/pkgsrc)% touch dummy
modena@makoto 00:17:12/141013(/tmp/pkgsrc)% git add dummy
modena@makoto 00:17:16/141013(/tmp/pkgsrc)% git commit -m 'Add zero size dummy' .
[master (root-commit) 34677d9] Add zero size dummy
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 dummy
modena@makoto 00:17:49/141013(/tmp/pkgsrc)% git push origin master:refs/heads/master
Counting objects: 3, done.
Writing objects: 100% (3/3), 213 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To git@HOSTNAME:pkgsrc
 * [new branch]      master -> master
Make --bare clone (this may be wrong ?, I did this certainly and later fine)
makoto 00:23:59/141013(/tmp)% git clone --bare HOSTNAMEgit:pkgsrc
Cloning into bare repository 'pkgsrc.git'...
Enter passphrase for key '/home/makoto/.ssh/id_rsa': 
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
Checking connectivity... done.
Then mirror --bare repository to your server
@makoto 00:25:34/141013(..usr/pkgsrc)% git push --mirror  HOSTNAMEgit:pkgsrc
Enter passphrase for key '/home/makoto/.ssh/id_rsa': 
Counting objects: 133350, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (128546/128546), done.
Writing objects: 100% (133350/133350), 65.30 MiB | 2.39 MiB/s, done.
Total 133350 (delta 11337), reused 0 (delta 0)
To HOSTNAMEgit:pkgsrc
 + 34677d9...f8e3a44 master -> master (forced update)
 * [new branch]      mef -> mef
@makoto 00:41:10/141013(..usr/pkgsrc)%

#1 [NetBSD] PAE kernel

The first time
>> NetBSD/x86 BIOS Boot, Revision 5.10 (from NetBSD 7.99.1)
>> Memory: 631/2096064 k

     1. Boot normally
     2. Boot single user
     3. Disable ACPI
     4. Disable ACPI and SMP
     5. Drop to boot prompt
     6. Boot Xen with 1GB for dom0 (PC)    
     7. Boot Xen with 7GB for dom0 (PC)    
     8. Boot Xen with 7GB for dom0 (PC)    

Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 0 seconds.     
13975480+559900+463804 [642704+642074]=0xf88fd0
WARNING: couldn't open /etc/entropy-file
WARNING: 1 module failed to load
fatal double fault in supervisor mode
trap type 13 code c027e6ee eip 8 cs 246 eflags 20 cr2 0 ilevel 0 esp ce
curlwp 0xc0ec87a0 pid 0 lid 1 lowest kstack 0xc108e2c0
kernel: user trap double fault, code=0
Stopped in pid 0.1 (system) at  8:      invalid address
db{0}> bt
The second time
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.1 (PAE) #0: Sun Oct 12 10:43:37 JST 2014
        root@lets-note-w4:/export/git-work/netbsd-src/sys/arch/i386/compile/obj/PAE
total memory = 8190 MB
avail memory = 8032 MB
kern.module.path=/stand/i386/7.99.1/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Inc. PowerEdge T105  ((none))
mainbus0 (root)
...
lets-note-w4@makoto 12:46:59/141012(~)% \
cd /export/git-work/netbsd-src/sys/arch/i386/conf/
lets-note-w4@makoto 12:47:13/141012(..i386/conf)% cat PAE
include "arch/i386/conf/GENERIC"
options PAE


2011年10月12日(水) 旧暦 [n年日記] [更新:"2011/10/14 07:26:36"]

#1 [無題] 新宿にて会合(某打合)

六人ほど集まる。


2006年10月12日(木) 旧暦 [n年日記] [更新:"2006/10/12 20:04:57"]

#1 [pkgsrc][NetBSD] graphic/ImageMagick

First I've got followin error
===> Configuring for ImageMagick-6.2.9.3
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Checking for "test ... == ..." in configure scripts
ERROR: [configure.mk] if test "$with_modules" == 'no' ; then
ERROR: [configure.mk] Found test ... == ... in configure script.
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/graphics/ImageMagick
But put -xv on configure script to debug and see what's going on, the error disappears.
ttyp1:makoto@st4200 11:11:19/061012(...graphics/ImageMagick)> diff -u work.st4200/ImageMagick-6.2.9/configure{~,}
--- work.st4200/ImageMagick-6.2.9/configure~    2006-10-12 11:08:36.000000000 +0900
+++ work.st4200/ImageMagick-6.2.9/configure     2006-10-12 11:11:10.000000000 +0900
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/sh -xv
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for magick/magick.h  .
 #
ttyp1:makoto@st4200 11:11:26/061012(...graphics/ImageMagick)> 

Compaq Dual NIC:

ppb1 at pci1 dev 7 function 0: Digital Equipment DC21152 PCI-PCI Bridge (rev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
fxp0 at pci2 dev 4 function 0: unable to map device registers
fxp1 at pci2 dev 5 function 0: i82558 Ethernet, rev 5
fxp1: interrupting at irq 25
fxp1: Ethernet address 00:50:8b:66:5e:ef
inphy0 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
A power-on or software reset prepares the 82558 for normal operation. Because the PCI specification already provides for auto-configuration for many critical parameters such as I/O, memory mapping and interrupt assignment, the 82558 is set to an operational default state after reset.
と書いてあるのに、そうなっていないらしいのは、bridge の方に問題があるのかな..

U-MAX (S-900) の PCI slot の 一番目にこの Dual NIC, 二番目に ACARD,6260 を差したら、 うまく動いた。つまり pci-bridge の手前。

StarMax に差して OF で見ると、次のように認識されない。これでは無理 ?

FF83F4F8:   /pci1011,500a@D
FF83F818:   /pci-bridge@E
                               ←本当はここにあるはず
FF840528:     /pcie11,b01f@5
FF840928:   /pci1011,500a@F
単に時期的な問題とか ?

VT612X:

VIA Technologies VT612X (Velocity) 10/100/1000 Ethernet (ethernet network, revision 0x11) at pci1 dev 6 function 0 not configured
add vge?


2004年10月12日(火) 旧暦 [n年日記]

更新: "2004/10/12 23:24:54"

#2 [CVS][WordPress] 枝を考えて見た。

WordPress + ME + Postgress を import する時の枝はこのようなものかな
   1.1      1.2
 ---+--------+------- wp-ME-pg
     \        \ 
      \  1.2.3 +----- wp-ME
       \    
 1.1.3  +---------- wp-pg
         \
   1.1.5  +-------- wp-mingus
また -ko を付けるかどうか悩むのかな。
  • 自分専用: -ko を付けない
  • patch の形で公開するつもりなら : -ko を付ける
確かこうするはずだと思う。

#1 [] 5:15 に起きて、6:53 に家を出るはずが

目がさめて気が付いたら 7:03 くらいだった。
本千葉 7:22 の電車に乗って、
千葉発 7:35 
東京   8:21 
川崎   8:40 くらい。何とか間合った。


2002年10月12日() 旧暦 [n年日記]

#3 [Abuse] locate.code

10218 nobody -18 5 40K 452K uvn_fp2 0:13 18.65% 17.68% locate.code
何かな

#2 [MacOSX] iPhoto 1.1.1 を入れて見る


#1 [無題] 朝から精米

6:00 から精米に行く。

荻窪 .. 東京スタジアム .. 杉並会館:

09:49 本千葉
      錦糸町 (電話用電池)
11:45 荻窪
      ...
12:55 荻窪
13:10 新宿
13:25 飛田給 「とびたきゅう」って読むの知らなかった。
             駅前通りが美しい
      ...    清水エスパルス(0) vs 東京べルディ(2)
16:08 飛田給 
16:40 荻窪
      ...
18:10 杉並会館 
      ..     MacOSX + iPhoto
20:36 荻窪
21:12 東京
21:53 千葉
22:00 本千葉


2001年10月12日(金) 旧暦 [n年日記]

#6 [NetBSD] 最近使っている機械の disk がおかしいので、取替えて入直し中

Seagate ST320420
wd1d bn 949888:
424720-424735

disk の slave と master を入替:

slave のまま起動するには kernel を一ヶ所変更する必要があるが、 多分その余裕がないので。

MacOS 9.2 の CDROM で起動して、区画を作る:

七区画
 1G     MacOS 9.2
 5G     MacOS X
  700M  CD/RW
  128M  /
  768M  swap
  512M  /usr
11350M  /export

1.5.2 の CDROM で起動して:

shell に抜けて、必要なら disklabel wd0 で確認して
mknod /dev/rwd0i c 30 8
mknod  /dev/wd0i b 10 8
これをしておかないと
/dev/rwd0i: open: No such file or directory になる

newfs:

newfs -m 2 /dev/rwd0a
newfs -m 2 /dev/rwd0h
newfs -m 2 /dev/rwd0i 

/mnt/etc/fstab と mkdir /usr:

mount /dev/wd0a /mnt 
しておいて、 cat > /mnt/etc/fstab .... ^D mkdir /mnt/usr umount /dev/wd0a
これで ./sysinst してから Re-install を選んで、後は 指示に従う。
boot hd:,ofwboot.xcf hd:12 で起動して、実は /etc/fstab が一つずれているので直す。 (1.5.2 kernel と 20010801 snapshot は意見が違う)
手元に 20010828 日版の pkgsrc.tar.gz があるので、これを /usr で開ける。

disk speed test 28MB/sec ? 速い。:

Seagate 320420A
makoto@u  19:35:35/011012(~)# dd if=/dev/rwd0a of=/dev/null bs=64k
2048+0 records in
2048+0 records out
134217728 bytes transferred in 4.793 secs (28002864 bytes/sec)
Quantum FireBall Plus 10.3
makoto@u  22:00:31/011012(~)# dd if=/dev/wd1a of=/dev/null bs=64k
11200+0 records in
11200+0 records out
734003200 bytes transferred in 34.636 secs (21191915 bytes/sec)

#5 [Apache] AddCharset ISO-2022-JP .jis ?

httpd.conf に
AddCharset ISO-2022-JP .jis
と書いておくと(書いてあるので) *.jis とすれば Content-Type: header を生成 してくれる ? でも *.txt のものを jis で書きたかったら、その場合は使えない ?

#4 [URL] slashodot.jp に最初の電話回線用モデムのスピード

という投票が出ているが、僕は 1200bps の気がする 最近捨ててしまったので確認難。でもやはり 2400 かも知れない。

#3 [NetBSD] 自分の環境を作る Packages

例えば、機械を新しくした時とか、OS をすっかり入替えてしまった時に、 いつも使っている自分の環境を再現するのに、 personal environment のような pkgsrc を作って、 (それも全て依存関係だけで良くて)そこで make ってやれば再現する ことが出来そうな気がして来た。
ということは、必要なものを並べて書いておくだけで、それが出来る しくみにしてしまえばいい。 (くらいのこと、やっている人がいる気もするが.. 手間だけかかって 得るものが(それほど)ないとつまらない)
wl で make ってやったら emacs-20.7 を入れに行って、それはそれで 当然なのだけれど、
  • 誰でも使える最大公約数的 pkgsrc
  • 自分で調整出来る個人環境 pkgsrc
っていうのがあってもいいと思う。
そうは言うものの Emacs-21.0.106 とか作っている人いるのかな。 xpm ungif は入っているかな Making Emacs-21
ungif -> /usr/pkgsrc/graphics/libungif
xpm   -> /usr/pkgsrc/graphics/xpm

一応作って見たが、Emacs-21 はうまく行かない。:

rcs2logs というのが sh script なのに strip しようとして失敗する。
powerpc--netbsd というのも何故かおかしい。

その他の部分だけ保存しておく:

tar --exclude=CVS 
-zcvf /tmp/mef-pkgsrc.tar.gz mef/{emacs,mef}/{Makefile,R*,d*,p*}

という訳で emacs-21.0.106/wl-2.6.0/apel-10.3 は /usr/local:

の方に入れる

#2 [Emacs] w3 (w3-explicit-coding-system)

Dave Love さんから
I've installed changes to use the w3-explicit-encodings... stuff, e.g. C-u r to reload with a specified coding system and remember it.
というお便りをいただいた。

#1 [Perl] 2001/10/12:02:27:29 のような文字列を time_t にするには ?

perl で簡単にはどうやるのかな。(time_t -> man 3 time)
逆なら簡単そうだけれど
perldoc -f localtime

perldoc -q time 
には出て来ないし

makoto@u ■7:30:37/011012(~)> cd /usr/local/lib/perl5
makoto@u ■7:30:43/011012(...lib/perl5)> find . -name \*Time\*
./5.6.1/Time
./5.6.1/CPAN/FirstTime.pm
makoto@u ■7:30:46/011012(...lib/perl5)> ls 5.6.1/Time
Local.pm      gmtime.pm     localtime.pm  tm.pm
makoto@u ■7:30:56/011012(...lib/perl5)> perldoc Time::Local
から
$time = timelocal($sec,$min,$hours,$mday,$mon,$year);
かな。 出来た
という訳で、 逆参照 のアンテナの方の計数に 24 時間以内というのを付けて見た



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、7 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)