やっちまった……。きっとだれもが通る道。というかとっくに FAQ か。 mod_perl における C10K problem" - 竹迫良範 恥ずかしながら、知らなかったッス。これって mod_ruby でもありうる話だよね? Apache で mod_perl を使用する時は MaxClients 設定に注意! Apache の MaxClients(子プロセスの最大数) デフォルト設定は 150。 他のモジュールにも影響されるが、mod_perl 組み込み時、子プロセス1つのメモリサイズが 20〜30MB 程度になる。 よって、同時接続数 150 までアクセスされると 3G から 4.5G メモリを喰うことになる。 そんなメモリねぇ〜www なので、スワップ・スワップ(SWAP x SWAP と書いてみたがヤな感じだった)。swap もオーバーしちゃったり。 対策: MaxClient
I spent days looking for new Javascript libraries and finally made a comprehensive list of almost all libs out there. Pure JS Application libraries / Frameworks: Prototype Prototype is a JavaScript framework that aims to ease development of dynamic web applications. Homepage: http://prototype.conio.net Documentation: http://blogs.ebusiness-apps.com/jordan/pages/Prototype%20Library%20Info.htm ht
元Vine SPARC開発者。2003年度未踏ユース採択者。海外でも活躍できる国際的なLinuxエンジニアになることを夢見て日本で頑張っています。ウノウ株式会社にて写真共有SNS「フォト蔵」を開発中。 みなさんは UNIX系 OS で環境変数 PATH の設定をどうしてますか? UNIX系 OS では微妙にディレクトリ構成が違ってたり、 同じ OS でも後から追加したパッケージの関係で PATH が違ってたりして面倒です。 僕の場合、環境変数 PATH は自動で設定するようにしているので、 ほとんど数年間シェルの設定は変わっていません。 すごく便利なので、僕が使ってる方法を紹介します。 まずは次のようなシェル関数を定義する。 function add_env(){ env_name=$1 shift for i in $@; do if ! dirs=`eval echo $i` > /d
元Vine SPARC開発者。2003年度未踏ユース採択者。海外でも活躍できる国際的なLinuxエンジニアになることを夢見て日本で頑張っています。ウノウ株式会社にて写真共有SNS「フォト蔵」を開発中。 昨日のエントリYahoo でカスタマイズされた apache のまとめに引き続き、Yahoo でカスタマイズされている PHP についてのプレゼン資料をまとめてみました。 2002年5月に採用 PHP 以前は yScript という独自のプロプリエタリな言語を使ってた PHP が採択された理由 ハイパフォーマンス 安定性 C/C++のようなコンパイラ言語で拡張できる FreeBSD で動作する i18n 習得が容易 コミュニティの規模が大きい HTML にコードが書ける 充実したツール郡 オプションなしでコンパイル(./configure --disable-all) 必要な拡張はライブラリ
Recently, Stephen O’Grady asked what is included in my Ruby tool set so I will attempt to answer that question, and describe why I choose these toolsI speak of this in the present tense because the set of tools I use is always evolving. Everyday I choose afresh the tools I am going to use.. Text Editor/IDE A text editor or IDE is probably a software developers most important tool. I use the One Tr
From the buildbot manual: "The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. The guilty developer can be identified and harassed without human interv
まず検索して、一致する対象を確かめてから、その対象に対して置換を実行する。 最後に検索に使用した検索ワードは、 <C-r> / と入力すると呼び出せるので、これを使う。 (<C-r>はCtrlキーを押しながらrキーを入力。) 関連 vimエディタの「レジスタ」第4話 http://advweb.seesaa.net/article/517151.html 検索に使用した文字は「/」のレジスタに入る。 手順としては、 まず、検索して、置換する場所を確認したら、 次に、範囲と置換を指定して、 :%s/ さきほど使用した検索ワードが「<C-r> /」で入力できるから、 これを利用して、検索ワードを入力。 <C-r> / 最後に、置換後の文字を入力して、置換を実行。 「/」「?」を使うと、 インクリメンタルサーチで細かな正規表現の結果を確認しながら、検索語を作れるので、 私はよく表題のようなことを
Welcome to the website of Vim Intellisense. This site provides you the information about the intellisense for Vim, documentation and on how to enable intellisense for new languages. Needless to say intellisense is very helpful while developing the programs. While developing Java or in .NET (C#) it is not possible to remember all the interfaces and its methods, APIs etc. The IDE or editor should he
Macromedia Dreamweaver風のテンプレート、およびライブラリの機能を提供するvimスクリプトです。 あるテンプレート、ライブラリに変更が行われた時に、ファイル内から そのテンプレート、ライブラリが使用されている場所を探し出して、更新する仕組みを持っています。 (Windows, Mac) 概要 VUT : Vim Universal Templates http://www.vim.org/scripts/script.php?script_id=1078 Macromedia Dreamweaver風のテンプレート、およびライブラリの機能を提供するvimスクリプトです。 あるテンプレート、ライブラリに変更が行われた時に、ファイル内から そのテンプレート、ライブラリが使用されている場所を探し出して、更新する仕組みを持っています。 このスクリプトは、コメントを利用して、テン
This page is deprecated and may contain some information that is no longer relevant or accurate. The AJAX Toolkit Framework (ATF) Project An Eclipse Incubation Project Proposal January 2006 1 Introduction The AJAX Toolkit Framework is a proposed open-source project to be incubated within the Eclipse Web Tools Platform ("WTP") Project. This document describes the content and the scope of the propos
MGeoRSS: Google Maps API Extension for GeoRSS Update! Google Maps now supports GeoRSS natively! (Use MGeoRSS if your feeds are private or behind a firewall) GeoRSS is the easiest and most effective way to share and build maps. GeoRSS is supported by Yahoo!, worldKit, and many others, and is on its way to standardization. Wouldn't it be great if Google joined up and supported a common way to commun
We love web feeds. They keep us up to date with what is going on in the world. We always have the latest information on the subjects that we are interested in. Examples of web feeds are news articles and video and audio blogs. You can also find information feeds that show you certain information in a geospatial context. On this page, you find what you need to add your GeoRSS feed to your personal
PythonSpeed 多くの人がPythonプログラムの速度について心配を持っています。でもPythonを使わないと、堪らないくらい実行速度上のロスがありますよね? 中には「なんだ、インタプリタのスクリプト言語か、まるっきり遅いや」なんて結論づける人もいます。また、Pythonを実際に試してみて、実行効率が十分なことに気づく人もいます。でも時には、 とっても遅いプログラムができあがることもあります。 実行速度がそんなに重要?ホントに? 多くの人が必要以上に速度に取りつかれていて、このような種類の問題では、Cが優れた実績を示していることから、全ての面で優れた言語だと考えています。別の人々は、開発の速度がより重要で、Pythonを選ぶのはそのような時に限り、まあそれなりの速度だろうと考えています。そして頻繁に、期待を超えた速度で動いていることに驚かされています。時には、同じ開発時間を費やした
Created 30 September 2004, last updated 29 December 2012 NOTE: I am no longer updating this page. Michael Bernstein has a copy at Python Parsing Tools that will be easier to keep up-to-date. The python.org wiki also has a page called LanguageParsing.A few years ago, I went looking for Python parsing tools. I spent a long time researching the various options. When I was done, I had a cheat sheet on
Python Performance Tips このページはPythonプログラムの実行効率を改善するさまざまなTipsやトリックの紹介に特化しています。誰から得た情報であっても、その情報源を紹介するつもりです。 "fast python"ページをはじめて書いた1996年以降も、Pythonは著しく変化してきました。このことは、幾つかの規則も変化しているということを意味しています。そこで、他の誰かがこのページのメンテナンスを手伝ってくれるという期待をもって、ページをPython wikiに移動させました。 注意:これらのTipsはいつでも、読者のアプリケーションや、実際に使用するバージョンのPythonで盲目的に受け入れるだけでなく、実際に試してみることができます。 これらの新しく独自に書かれたパッケージ、例えば Pyrex 、 Psyco 、 Weave や PyInline のようなも
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く