shino's interests

Nov 09 2009
+
ハッカーの起業家のほとんどは、すべての時間をプログラミングに使いたがっている。失敗しない限り、そうはできない。これはこんな風に言い換えられる。すべての時間をプログラミングに費やすと、失敗する。
Most hacker-founders would like to spend all their time programming. You won’t get to, unless you fail. Which can be transformed into: If you spend all your time programming, you will fail.
+
Reminder, what is Dbspj:
- It’s a new feature for Ndb
- It gives the possibility to push-down linked operations (e.g in SQL terminology: joins)
- It currently only supports left-outer-joins, and only some kinds of joins
- It is currently *not* in anyway integrated with mysqld (for accelerating SQL access)
+

This is a partial Japanese translation of draft version of “CouchDB: the Definitive Guide”, which has been translated under the license term of CC-3.0. If you have any commentary feel free to contact UENISHI Kota.

この翻訳は、Web上で公開されている書籍 “CouchDB: the Definitive Guide” の ドラフト版 の一部を、翻訳したものです。ライセンスは、原文に従って Creative Commons - Attribution 3.0 Unported としています。また、翻訳に対するコメントをお待ちしています。翻訳に対するコメントは、 Bitbucketのページ か、 CouchDB_JP までお気軽にどうぞ。

+
localization of “CouchDB: the Definitive Guide
Nov 08 2009
+

<GeoHexの概要>

1. 日本中を隙間の無い六角形ポリゴン(ヘックス)で敷き詰めます。ヘックスに含まれる緯度経度を、ヘックスのサイズ(60段階)により4〜7桁の短いコードに変換します。
2. 緯度経度から直接変換を行うため、ロジック単体で変換が可能です。
3. 矩形メッシュと異なり、マス目間の距離がほぼ等しくなります。(緯度により南北方向の長さは多少異なりますが、実用範囲内。)
4. 一定の精度幅を持つため、プライバシーの保護に向いています。
5. 隣接するヘックスを6方向で表せるため、連続した軌跡をヘックスコード+[1-6]*nで表すことが可能です。

Nov 07 2009
For a quick way to put the video conversion on a background process, I was able to use Tom Anderson’s Spawn plugin. Note that this wouldn’t be a very efficient way to scale it if you expect to have a lot of users uploading at the same time, as it forks another process to handle the conversion. This does work well if there aren’t a bunch of videos getting uploaded at the same time. If you do need to scale the uploading, I recommend using Ap4r(Asynchronous Processing for Ruby). Here we go!
+
始めのうちは、HT-03Aのカメラシャッター音を消すためのroot化に必要なものなんだろうなぁと思っていましたが、実はroot化機能は副産物的なものであって、本当に目的はHT-03Aシステムのバックアップやリカバリ、ファクトリーリセット、カスタムROMの適用などよりすばらしい機能を提供してくれるツールだということがわかりました。
+
# omake -j による並行ビルドが可能。マルチコアだと大変にうれしい。完全に依存を解析するからこそできる芸当。
# omake -P による継続監視ビルド。omake -P はビルドが終了した後も依存関係を持ったまま居残り、ソースファイルを監視し続ける。ソースが更新されたことを検出すると、必要なビルドのみを瞬時に開始する。このため、-P を使うと強力な依存検出にもかかわらず、make を使っていた時とは比較にならないほどストレスなくコンパイル+デバッグループの遂行が可能になる。
+

小崎氏は「Linuxカーネルの開発は難しくなりすぎて、若い人がなかなか入ってこないことが世界的に課題。そこで、開発者を増やしていこうという活動を展開中だ」と述べた。

 同氏は、Linuxカーネルメーリングリスト(LKML)での議論を通じた自身の経験を踏まえ、言葉が通じないというのは言い訳に過ぎないし、通じなければ再度投稿すればいいと指摘し、参加を促した。例えば、Linusの右腕とまで呼ばれるAndrew Morton氏だが、スレッドの流れの中で、そのオーストラリア英語が「分からない」と言われることがあるという。そもそもLinus氏にせよMorton氏にせよ、はたまた著名なLinux開発者であるAlan Cox氏にせよ、母語が異なり、メールの中で使う単語もまったく異なる。そこに各国の開発者が絡んでくるのだから、一種のカオス状態になるのは当たり前。「日本人が使う英語だけが変というわけではない。『旅の恥はかきすて』モードで参加を」と述べた。

+

Katharnavas
Senior Developer
Senior Developer


Joined: 04 Dec 2007
Posts: 100
Location: India

+

<form action=”ファイル処理CGIのURI”
method=”post” enctype=”multipart/form-data”>

氏名    :<input type=”text” name=”username” />
送信ファイル:<input type=”file” name=”submitfile” />

</form>

このエンコードで送られたフォームのデータは、URLエンコードではなく、次のようなMIMEのマルチパートデータとしてプログラムに届きます。

(送信データ例)

Content-Type: multipart/form-data; boundary=-AabbZ

—-AabbZ
Content-Disposition: form-data; name=”username”

Masahide Kanzaki
—-AabbZ
Content-Disposition: form-data; name=”submitfile”; filename=”myfile.txt”
Content-Type: text/plain

This is a sample file….
(ファイルの中身)
—-AabbZ—

+

public class FilePart
extends PartBase

This class implements a part of a Multipart post object that consists of a file.

Since:
2.0

+
INTENT_ACTION_STILL_IMAGE_CAMERA The name of the Intent action used to launch a camera in still image mode.
Page 1 of 193