]
トップ «前の日(06-20) 最新 次の日(06-22)» 追記

Yukiharu YABUKI の tDiary



このtDiaryを検索します。

2004-06-21

_ 天気

台風 --- 大阪直撃

_ 台風さん....

http://www.asahi.com/national/update/0621/015.html今日、わたし大阪から岡山に行くのですが....

_ はなしあい

13:00ごろから、18:00ごろまで。

_ 岡山

岡山にて、Nせんせい、Wさんと一緒に夕御飯。おいしかったです。生バンドとかある場所でした。


2005-06-21

_ 天気

はれ

_ [OpenOffice.org] m111

check out できました.今回も無事check outできたかどうかの判定のために log を出しておきます.(http://build.good-day.net/~yabuki/checkoutlog.SRC680_m111)

_ bcm5820

今は,hwcrypto に変っているとのこと.SSLハードウェアアクセラレータにいりますよ.

_ [Debian] dazuko

insmodできた.(http://www.dazuko.org/tload.shtml#GENERAL-INSMOD-ERROR)の5.2節 /var/messagesに該当メッセージはでてないけど,rmmod capability;insmod dazuko.ko;modprobe capablityでいけました.

_ [DPiS] sdparm - Output and modify SCSI device parameters

The sdparm utility outputs and in some cases modifies SCSI device parameters. It can be used to output and modify parameters on any device that uses a SCSI command set. Apart from SCSI disks, such devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI tape drives and SCSI enclosures.

_ [DPiS] hsqldb-server - Java SQL database server

HSQLDB is an SQL relational database engine written in Java. It has a JDBC driver and supports a rich subset of SQL-92 (BNF tree format) plus SQL:1999 and SQL:2003 enhancements. It offers a small, fast database engine that offers both in-memory and disk-based tables. Embedded and server modes are available. Additionally, it includes tools such as a minimal web server, in-memory query and management tools (can be run as applets), and a number of demonstration examples.

This package contains the files necessary to run an HSQLDB server. More commonly, HSQLDB is used as an embedded database engine, which does not require this package.

Web site: http://hsqldb.sourceforge.net/

_ [DPiS] postgresql-8.0-pljava-gcj - Java procedural language for PostgreSQL

PL/Java is a loadable procedural language for the PostgreSQL database system that enables the use of the Java language for creating functions and trigger procedures. This variant is compiled using the GNU Compiler for Java (GCJ).

Web site: http://gborg.postgresql.org/project/pljava/projdisplay.php

_ [DPiS] gaim-meanwhile - gaim plugin for Meanwhile

The heart of the Meanwhile Project is libMeanwhile. This library provides the basic Sametime session functionality along with the core services; Presence, Messaging, and Conferencing. This extensible client interface allows additional services to be added to a session at runtime, allowing for simple integration of future service handlers for whiteboard, screen-sharing, and file transfer.

Rather than design a custom client around libMeanwhile, we turn to the excellent and very popular open source project Gaim. Gaim provides a flexible framework for any number of client protocols, and integrates multiple messaging services into a single application. The Meanwhile plugin for Gaim provides presense tracking, customizable user status, messaging, conferencing, and will soon include a user directory.

Homepage: http://meanwhile.sourceforge.net/

_ [DPiS] tex-common - Common infrastructure for using and building TeX Debian

This package contains a number of scripts and common configuration files that are needed to install a TeX System, either teTeX or TeX-Live.

It also contains some files used when creating tetex packages from the Debian source packages, and which allow a synchronisation between the two source packages of teTeX (tetex-base and tetex-bin) and tex-live.

_ [DPiS] helpdeco - decompiler for windows help (WinHelp) files

へえ,WinHelp の デコンバイラかあ

helpdeco dissects windows help files (WinHelp .hlp) of Windows 3.0, 3.1, 3.11, and '95 and many MVB multi media viewer titles into all files required for a rebuild using the appropriate help compiler HC30, HC31, HCP, HCW, HCRTF, WMVC, MMVC or MVC.

_ [DPiS] hplip-ppds - HP Linux Printing and Imaging - PPD files

This package contains PPD (printer definition) files for the printers supported by the HP Linux Printing and Imaging System.

These PPDs should work well with this version of HPLIP and HPIJS, but may not be the most up-to-date PPDs available for a given printer. See the foomatic-filters-ppds and foomatic-db-hpijs packages, or http://linuxprinting.org/ for the latest version of the PPDs.

_ [DPiS] laptop-detect - attempt to detect a laptop

普通の人はいらないげど,laptopかどうか判定するのに使う.

Laptop mode attempts to determine whether it is being run on a laptop or a desktop and appraises its caller of this.

_ [DPiS] gallery2 - web-based photo album written in PHP

PHPで書かれたwebベースの写真アルバム

Gallery2 is a web-based photo album with multiple user support. It provides users with the ability to create and maintain their own albums via an intuitive web interface. Photo management includes automatic thumbnail creation, image resizing, rotation, ordering, captioning, searching and more. Albums can have read, write and caption permissions per individual authenticated user for an additional level of privacy.

Gallery2 (G2) has been redesigned from the ground up and is database driven. Two years of design and development have gone into G2. It has customizable themes and layouts using XHTML compliant templates which make it much easier for you to personalize your G2 install. G2 is modularized and features can be enabled and disabled separately for maximum control.

The upstream web site is: http://gallery.sf.net

_ [DPiS] im-switch - Input method switch framework

im-switch provides the framework to switch default of input method on X Window System. Input method is usually needed by Japanese, Chinese and Korean to input their native language characters.

By installing this package, input method, and conversion engine, you can use input method (XIM and IMmodule) soon without any more configuration. You can also choose your favorite input method by 'im-switch' command.

_ [DPiS] vncsnapshot - A utility that takes JPEG snapshots from VNC servers

うーん,sshトンネルには対応してないのか.セキュアな環境なら使えそう.

VNC Snapshot is a command-line program for VNC. It will save a JPEG image of the VNC server's screen.

To use this you must be able to connect directly to the VNC server via a TCP connection. It does not yet work for connections tunnelled over SSH.

More information: http://vncsnapshot.sourceforge.net/

_ [DPiS] xfce4-appfinder - Application finder for the Xfce4 Desktop Environment

XFce 4.2がやってきた.

This is an application finder for the Xfce4 Desktop Environment. It will search for installed applications on your system.

Homepage: http://www.xfce.org/

_ メモ

大企業が注目した小さなオープンソース・ウィンドウマネージャ(http://japan.linux.com/enterprise/05/06/20/0138205.shtml) 小さくてかるいものが,みんなに提供される.また,企業と開発者の良い関係.これは良い事例になるかも知れない.

_ XFce4.2

良い.xffmでsmbも見えるようになっている(Workgroup and Domain).テーマ xfce が個人的には好みだ.

_ 健康診断

16:00より.いってきました.身長,体重,聴力,血圧,視力,採血(3本),レントゲン,心電図,問診 をしてくれました.

_ やっと

ごはんを食べていいのことになった.阪神までもどって食事.サラダは必須.

_ メモ

ソースネクスト、コモディティ化戦略をOSにまで拡大(http://www.itmedia.co.jp/enterprise/articles/0506/21/news053.html) 1980円と3970円でターボリナックスをベースとするソフトを売りだす.それよりも,特打ちなどのソフト50本がLinuxに移植する予定だというのがすごい.

_ lotus sametime

gaim-meanwhileは,lotus sametimeの互換プロトロルだそうです.説明されている用語では,リアルタイム・コラボレーションといわれています.Lotus Instant Messaging/Web Conferencing (Samtime)(http://www-6.ibm.com/jp/domino07/lotus/home.nsf/Content/Sametime)

_ 生活習慣

(http://www.nhk.or.jp/gokinjo/backnumber/050609.html) デジカメで食事管理.exif情報も役立ちそう.


2006-06-21

_ [Debian] Debian Weekly News: Debian Community Conference Italy.

Debian コミュニティカンファレンスがイタリアのベニスにて、9月16日と17日に開催される。(http://lists.debian.org/debian-events-eu/2006/06/msg00010.html) 開発者だけやユーザだけのカンファレンスではなく、翻訳者、開発者、ユーザを含めたカンファレンスだそうだ。


2007-06-21

_ [Debian] Orphan されたパッケージを引き受ける

Debconfで、話をしていて Debian Developer になるために、Package の活動をもっと増やす必要があることを思い至ったので、O (Orphan)されていた canna-shion を引き受けることにした。

upstramのwebpageが、なくなっているのでまずは作者の人捜しからはじまる。Vine Linux の ML で lain さんを捜すべきか。最悪、web page自体は、internet archives で見ることができる。しかしながら、どこかで shion 辞書の再公開を手助けするのがよいのか。

メールは distortion@coolbrain.net へ出して届かないことを確認。

_ [Debconf7] ddtp.debian.net

deの grisu さんと、ddtp の翻訳について、お話をする。翻訳およびレビューの Web interface ができていること。翻訳データベースは、EUC-JPからUTF-8に変換していること。メールで Description 翻訳する方法だとインターネットにつながってなくても翻訳ができるので便利だということなどを語ってもらいました。

ftp://ftp.jp.debian.org/debian/dists/sid/main/i18nのファイルについては、これからftp masterと相談して sync する話をするよとのこと。そのため、(http://lists.debian.org/debian-release/2007/06/msg00121.html)のメールで説明しているよとのこと。

grisuさんは、日本に興味をもってくれているようだ。日本のカンファレンスで、英語で講演して議論できるところがあると嬉しそうなのだが。

_ [Debconf7] 訳語表

(http://kleptog.org/cgi-bin/ddtss2-cgi/ja)の訳語表を追加するには、de の場合は wiki を使っていると grisu さんから教えてもらった。日本の場合はどうなっているのかな? webインタフェースだと、ポイントするだけで定訳が出るのは便利そうだった。日本語の場合は、単語に関する定訳の表示はないように見えた。

_ memo: pootle --- Web inerface でよってたかって po を翻訳

(http://takanory.net/plone/japanese/pootle/) po を取り扱うプログラム emacs po-mode/vim po-mode/kbable/poedit / .... roseta はいいみたいね。
Package: poedit
Priority: optional
Section: text
Installed-Size: 3344
Maintainer: Daniel Baumann 
Architecture: i386
Version: 1.3.5-2
Depends: libaspell15 (>= 0.60), libatk1.0-0 (>= 1.12.2), libc6 (>= 2.3.6-6), lib cairo2 (>= 1.2.4), libdb4.4, libfontconfig1 (>= 2.4.0), libgcc1 (>= 1:4.1.1-12),  libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libgtkspell0 (>= 2.0.2), libp ango1.0-0 (>= 1.14.7), libstdc++6 (>= 4.1.1-12), libwxbase2.6-0 (>= 2.6.3.2.1.5) , libwxgtk2.6-0 (>= 2.6.3.2.1.5), libx11-6, libxcursor1 (>> 1.1.2), libxext6, li bxfixes3 (>= 1:4.0.1), libxi6, libxinerama1, libxrandr2, libxrender1, gettext (> = 0.10.35)
Filename: pool/main/p/poedit/poedit_1.3.5-2_i386.deb
Size: 751902
MD5sum: d5a97341a184b630e310caeb4c068a72
SHA1: 687a507800c9053e4ca1a76f89813bb751e75ae4
SHA256: 5228f9492d5a3c46cf346d913a9d6ca463d6dd5b4b16e16498beb3be76463707
Description: cross-platform gettext catalog editor
 Generator for po to mo. It is built with wxWindows toolkit and can run on Unix
 or Windows.
 .
 It aims to provide convenient way of editing gettext catalogs. It features
 UTF-8 support, fuzzy and untranslated records highlighting, whitespace
 highlighting, references browser, header editing and can be used to create new
 catalogs or update existing catalogs from source code with a single click.
Tag: devel::i18n, interface::x11, role::program, scope::utility, uitoolkit::{gtk ,wxwidgets,wxwindows}, use::editing, x11::application

2010-06-21

_ Debian で MTUの値を確認したいなら

 

Debian GNU/Linux Lenny において MTU*1を確認したい場合は、どうするだろうか。

  • ifconfigを使う
    yabuki@kuroboxpro:~$ /sbin/ifconfig 
    eth0      Link encap:イーサネット  ハードウェアアドレス 00:16:01:a4:c2:b8 
              inetアドレス:192.168.11.240 ブロードキャスト:192.168.11.255  マスク:255.255.255.0
              inet6アドレス: fe80::216:1ff:fea4:c2b8/64 範囲:リンク
              UP BROADCAST RUNNING MULTICAST  MTU:1500  メトリック:1
              RXパケット:502427 エラー:0 損失:0 オーバラン:0 フレーム:0
              TXパケット:305430 エラー:0 損失:0 オーバラン:0 キャリア:0
          衝突(Collisions):0 TXキュー長:1000 
              RXバイト:202209688 (192.8 MiB)  TXバイト:44367860 (42.3 MiB)
              割り込み:21 
     
    lo        Link encap:ローカルループバック  
              inetアドレス:127.0.0.1 マスク:255.0.0.0
              inet6アドレス: ::1/128 範囲:ホスト
              UP LOOPBACK RUNNING  MTU:16436  メトリック:1
              RXパケット:4624 エラー:0 損失:0 オーバラン:0 フレーム:0
              TXパケット:4624 エラー:0 損失:0 オーバラン:0 キャリア:0
          衝突(Collisions):0 TXキュー長:0 
              RXバイト:388759 (379.6 KiB)  TXバイト:388759 (379.6 KiB)
    
  • netstat -iを使う
    カーネルインタフェーステーブル
    Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR フラグ
    eth0       1500 0    502381      0      0 0        305411      0      0      0 BMRU
    lo        16436 0      4624      0      0 0          4624      0      0      0 LRU
    
  • その他。他にもいろいろありそうだ。

*1 Maximum Transmission Unit

_ netstat -i の表示が崩れて見づらい。ので、awk をつかって整形した。

上の表示をみると、微妙にずれてて、いらっと来る。これでインタフェースが多かった日には... って感じ。文句をいうよりは、自分で整形したほうが良い。ってことで

$ netstat -i | awk '{printf("%7s %6s %3s %10s %6s %6s %6s %10s %6s %6s %6s %6s \n", $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12)}'
カーネルインタフェーステーブル                                                                                   
  Iface    MTU Met      RX-OK RX-ERR RX-DRP RX-OVR      TX-OK TX-ERR TX-DRP TX-OVR フラグ 
   eth0   1500   0     502311      0      0      0     305385      0      0      0   BMRU 
     lo  16436   0       4624      0      0      0       4624      0      0      0    LRU 


2013-06-21

_ [Debian][Python] python-bottle が wheezy になってから変わった所

python-bottleとは? 1ファイルで pythonの WSGI*1を使い、Apacheの mod_wsgi, mod_python を用いたり、python-macron と協調して動く、軽量 web フレームワーク。軽量なので、画面数の少ないWeb UIや、APIなどの作成時に検討され、使われることがある。

Rubyだと、Sinatraが似たような感じなのかな。

upstreamが、squeezeの時代は、0.8系であったが、wheezyでは、0.10系になり、 plugin の機能がはいっている。これでより簡単に sqlite3 を扱えるし、 memcache や radis とも連携が取れるようだ。

HTTP サーバーとブラウザーがお話ししている内容を、だいたい分かるレベルのひとなら、(http://bottlepy.org/docs/dev/tutorial.html)のチュートリアルを読むと、使い方が分かるだろうし、1ファイルなので、テンプレートの部分や、WSGIの部分をどれと切り替えることができるかとか、ソース読むと、こまらなさそうなのもよさげ。

*1 Web Server Gateway Interface

*2 本家の FAQ では、マイクロ・フレームワークと呼んでいる