tarfile module in Python3.3 can make .tar.xz packages. So all you must do is using Python3.3. Current Python3.3 is alpha version, but I have no trouble about it.Python3.3のtarfileモジュールは.tar.xzパッケージに対応しています。なので、単純…
Problem - 問題 I placed foo.ogg in my web server and foo.html such as私はウェブサーバにfoo.oggというファイルと、以下のようなfoo.htmlを設置しました。 <html> <body> <audio controls><source src="foo.ogg"/></audio> </body> </html> I accessed foo.html to play foo.ogg. But my web browser (Filefox) does not play.私は…
rush is a interactive shell of run. rush's base is zsh, so rush's UI is same as that of zsh.Visit rush's web site.
from python import funは、プログラミングを題材としたマンガです。ひとりの女の子が、PythonとFreeBSDでプログラミングを始めます。from python import fun is a comic whose theme is programming. One girl starts programming with Python on FreeBSD.V…
Unnamed Fukidashi font is a font for Japanese comics. It is based on Takao Fonts. http://neko-daisuki.ddo.jp/~SumiTomohiko/UnnamedFukidashi
Unnamed Fukidashi font is a font for Japanese Comics. It is based on Takao Fonts. http://neko-daisuki.ddo.jp/~SumiTomohiko/UnnamedFukidashi
Unnamed Backup Tool is a backup tool for Unix. Features are; backuping to a remote server or a local directory. using SSH for remote backup. backuping into year-month-dayThour:minute:second,millisecond directory. incremental backup using h…
I made an above image. For more information, see http://neko-daisuki.ddo.jp/~SumiTomohiko/425.gif
I opened personal pages. URL is http://neko-daisuki.ddo.jp/~SumiTomohiko/index.html
Platform Dell Latitude x300 FreeBSD 8.2 Problem My FreeBSD machine shutted down with the following logs; WARNING: system temperature too high, shutting down soon! acpi_tz0: WARNING - current temperature (84.0C) exceeds safe limits "sysctl …
Yog is a dynamic script language like Python and Ruby. Yog's web site is https://github.com/SumiTomohiko/Yog . The documentation is at http://SumiTomohiko.github.com/Yog/.
Flourish is an action game, with strong inspiration from Brandish for Nippon Falcom.Flourish's web site is http://SumiTomohiko.github.com/flourish/.
sumix is a 1-CD Linux distribution based on Tiny Core Linux. The objective of this distribution is providing an easy way for trying softwares written by SumiTomohiko.sumix's web site is http://SumiTomohiko.github.com/sumix/.
Yog 0.0.9をリリースしました。Yogは、PythonとRubyの真ん中を目指した軽量スクリプト言語です。 主な変更点 正規表現エンジンがcorgi (http://github.com/SumiTomohiko/corgi) になりました。 特徴 PythonとRubyに似た構文 オブジェクト指向 ガーベージコレ…
corgiは、正規表現ライブラリです。Pythonの正規表現をベースにしています。ドキュメントは、http://SumiTomohiko.github.com/corgi/にあります。ソースコードは、http://github.com/SumiTomohiko/corgi/downloadsからダウンロードできます。
corgiは、正規表現ライブラリです。Pythonの正規表現をベースにしています。ドキュメントは、http://SumiTomohiko.github.com/corgi/にあります。ソースコードは、http://github.com/SumiTomohiko/corgi/downloadsからダウンロードできます。
環境 この記事の内容は、pygame 1.9.1で確認しました。 はじめに 私はよくライブラリをソースからビルドして${HOME}下にインストールしているのですが、このようにしてインストールしたlibpngのヘッダファイル${HOME}/include/png.hを、pygameのconfig.pyが…
Yog 0.0.8をリリースしました。Yogは、PythonとRubyの真ん中を目指した軽量スクリプト言語です。 主な変更点 文字列の内部エンコーディングがUTF-32になりました。 特徴 PythonとRubyに似た構文 オブジェクト指向 ガーベージコレクション MITライセンス 必要…
Yog 0.0.7をリリースしました。Yogは、PythonとRubyの真ん中を目指した軽量スクリプト言語です。 主な変更点 パフォーマンスチューニングしました。 Windows 2000がサポート外となりました。 特徴 PythonとRubyに似た構文 オブジェクト指向 ガーベージコレク…
lddがどうやってライブラリのパスを得ているのか、ソースを読んで調べてみたら、TRACE_LOADED_OBJECTS_ALLという環境変数を設定して対象のファイルを実行するかdlopenしているだけだった。 FreeBSDの場合 $ LD_TRACE_LOADED_OBJECTS=yes src/yog-generationa…
環境 この記事の内容は、以下の環境で確認しました。 Ubuntu Linux 8.04 binutils 2.18.1 行単位のプロファイル gprofは従来、関数単位で実行時間を出力します。しかし大きい関数をプロファイルしたとき、関数内のどこで時間がかかっているか知りたくなりま…
この記事は、http://hacks.mozilla.org/2009/07/tracemonkey-overview/の無許可日本語訳です。Firefox 3.5 has a new JavaScript engine, TraceMonkey, that runs many JavaScript programs 3-4x faster than Firefox 3, speeding up existing web apps and …
afo is a yet another command line interface for ditz (http://ditz.rubyforge.org/). afo aims to give almost information of an issue by command line parameters (no interaction). Dependencies The Glorious Glasgow Haskell Compilation System, v…
こうかなあ。 import Codec.Binary.UTF8.String (encode) import Data.ByteString.Lazy (pack) import Data.Digest.Pure.SHA (showDigest, sha1) main = do putStr $ showDigest $ sha1 $ pack $ encode "寿限無寿限無五劫の擦り切れ海砂利水魚の水行末雲来…
System.FilePathモジュールにあります (http://hackage.haskell.org/packages/archive/filepath/1.1.0.2/doc/html/System-FilePath.html).
Text.Printfモジュールにあります (http://cvs.haskell.org/Hugs/pages/libraries/base/Text-Printf.html).
問題 GHC 6.12.2を使って、Text.Regex.Posixモジュールをimportしているコードをコンパイルしようとすると、 ghc -o sourcegrep Main.hs compilation IS NOT required Main.o: In function `s1z1_info': (.text+0x28f1): undefined reference to `__stginit_…
not演算子を使います。 $ ghci GHCi, version 6.12.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading …
System.FilePathモジュールのtakeFileNameが使えます。 $ ghci GHCi, version 6.12.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base …
&&演算子と||演算子を使います。 $ ghci GHCi, version 6.12.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done.…