著作権を明記すれば,この本の内容を自由に利用・配布・変更してもかまいません. Lua5.1に対応しています. C言語プログラミング入門に比べて執筆スピードは遅いと思います. まずはC言語の方を完成させないと.
著作権を明記すれば,この本の内容を自由に利用・配布・変更してもかまいません. Lua5.1に対応しています. C言語プログラミング入門に比べて執筆スピードは遅いと思います. まずはC言語の方を完成させないと.
マッシュアップアワード5に応募しようとおもって作り始めたのだけど完成しない。 2〜3日もあれば雛型ぐらいはすぐできるよとうそぶいてみたのだけど、そもそも2〜3日をとることがどうも俺にはできないみたいだ。でも、ブログは書く。 今年の6月から「やってみなはれ」ではじまった三鷹プログラマーズカフェ。 やってみないとわからないとは、この事だとおもう。 ど平日の3〜6時という普通の勤め人が集まれないような時間に開催しているにも関わらず、これまでに恐ろしい数の人たちがカフェを訪れた。 大きい部屋の時は20人から、10人しか入らないっていう部屋の時でさえもなぜか10人以上が集まったりしている。 正確に何名の方に来場してもらったのかはカウントはしてはいないのだが、私が名刺交換をした人の数だけで、名刺の厚さをみるにこれまででユニークで200名前後の方がいらっしゃっているのではないかと思う。もちろんすべての方
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
2009/08/06 Webブラウザ上で、ネットワークからダウンロードしたx86バイナリを安全に実行する――。2008年暮れにグーグルがオープンソースプロジェクトとして公開した「NaCl」(Native Client)は、本当に安全なものに仕上げることができるのか。先日グーグルが主催したセキュリティ・コンテスト、「Native Client Security Contest」でNaClの脆弱性を2つ発見して、日本人で唯一入賞したサイバーディフェンス研究所 上級分析官の福森大喜氏に話を聞いた。 静的解析で安全にx86コードを実行 福森氏は、Webブラウザ上にx86バイナリを実行するサンドボックスを載せるというアイデアを評価する。「基本的には、いい考え。コードに悪意がある場合でも、WebブラウザやOSが被害を受けないようにできている。ソースコードを見た印象ではOSのカーネルに似ている」(福森氏
http://www.infoq.com/jp/news/2009/08/CRUDREST 上記URLを読んで自分なりに例題を考えてみる。(todo:あとで状態遷移図を追加) RestBucks cafe 完全にオンライン化されていてWebAPIで注文できるというすごいカフェを想定します。(この手の例にStarbucksを使うのはGregor Hopeさん以来の伝統らしいです) 客側から見たユースケースはこんな感じ 客はレジのサービスを呼び出して、注文を入力して支払い 自席で注文状況をチェック、出来上がっていたら取りに行く。 注文というエンティティと、[注文編集] [支払い] [受け取り] という(アプリケーション)状態によって上手く表現できそうです。 (RESTfulだけど)CRUDな設計 CURDな設計では、リソースをURLにマッピングします。それに対してCRUDするというイメージです
スキーマレスのドキュメント指向データベース、MongoDBがとても面白そうだったので、Javaから使用した場合のパフォーマンスを計測してみました。 MongoDBはCouchDBに似たデータベースで、任意のオブジェクトを保存できますが、MVCCやREST APIを採用しないことで高パフォーマンスを追求しているようです。インデックスやレプリケーションのサポートも充実しています。 RDBMSをKey-Value Storageとして使う場合のパフォーマンス計測(H2, MySQL編) - kaisehのブログ 前に上記のエントリーでBerkeley DB, H2, MySQLのパフォーマンスを比較したことがあるのですが、そのときと同等の条件になるようにして計測しました。 具体的な計測方法は以下の通りです。 Mac OS 10.5.7, 2GHz Intel Core 2 Duo, 4GB Me
僕が、 Star Ruby をどのような考えで実装しているかについて語りたいと思います。ソフトウェア開発的にどう考えているのかという話であって、なぜスーファミっぽさを目指しているのかとかの話ではありません。文章アウトプット練習が不足していると最近思ったのでその練習もかねております。 透過性を保つ ユーザーが Star Ruby を使ったときに、実際の挙動が予想しやすく、納得がいくものになっていることは重要です。たとえば、画像をあらわす Texture は基本的に 32bit のピクセル列だけであり*1、透過的に扱えるようになっています。すなわち、 Texture を変化させるメソッドを呼び出したときの結果が予想しやすくなっています。それに対して SDL の場合、ビットマップ間の描画について考えると、アルファ値を持つ場合と持たない場合で処理が異なり、そのルールが複雑です *2。すべてを 32
2009年07月06日14:30 カテゴリ書評/画評/品評Lightweight Languages 教科書はいらない - 書評 - PHP逆引きレシピ 翔泳社片岡様より献本御礼。 PHP逆引きレシピ 鈴木憲治 / 安藤建一 / 山田直明 / 八木照朗 / 山本義之 / 河合勝彦 ある意味実にPHP的な一冊。PHP本は、これ一冊あれば十分だと強く感じた。 PHPを使うにしても、使わないにしても。 本書「PHP逆引きレシピ」は、「PHPでプログラミングを習う」のではなく、「PHPで動くWebサイトを作る」に徹した一冊。PHPは後者に特化した言語である故に、前者には徹底的に向かない。本書を読めば、PHPを全く知らないプログラマーにもそれがわかるし、PHPを日時使っている人も、そのことが改めてわかるはずだ。 目次 - | PHP逆引きレシピ オフィシャルサポート より 第1章 準備 1.1 サー
K-means法によるクラスタリングでは、あらかじめクラスタ数Kを固定する必要があります。HatenarMapsでもK-means法を使っているのですが、クラスタ数は(特に根拠もなく)200個に決め打ちになっていました。 これに対して、X-means法というK-means法の拡張が提案されていることを知りました。X-means法を使うと、データに応じて最適なクラスタ数を推定できます。 K-means and X-means implementations http://www-2.cs.cmu.edu/~dpelleg/download/xmeans.pdf X-means法の考え方は、K=2で再帰的にK-means法を実行していくというもので、クラスタの分割前と分割後でBIC(ベイズ情報量規準)を比較し、値が改善しなくなるまで分割を続けます。 調べたところ、Javaのデータマイニングツー
MP3をOgg Vorbis形式に変換するのではなく、オリジナルのソースからOgg Vorbisのデータを作成するのが理想だ。とはいうものの、オリジナルがMP3形式である場合や、オリジナルのソースが紛失しているケースもあるだろう。そのようなときは、mp32oggというPerlスクリプトを利用するといい。 mp32oggはCPAN(Comprehensive Perl Archive Network)のPerlモジュールページ(http://www.cpan.org/modules/01modules.index.html)でダウンロードできる。mp32oggを実行するには以下のプログラムが必要となるので、インストールされていない場合はダウンロード/インストールする。oggencは、Red Hat LinuxとTurbolinuxにはインストールされる(インストールで[すべて]を選択した場合
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
Objective Caml 入門五十嵐 淳 京都大学 工学部情報学科計算機科学コース 大学院情報学研究科知能情報学専攻 e-mail: igarashi@kuis.kyoto-u.ac.jp September�24, 2007 Contents Chapter�1�� 1.1��関数型言語 ML と Objective Camlについて 1.1.1��ML・Objective Caml の特徴 1.2��参考書,資料,マニュアル 1.3��環境設定 Chapter�2�� 2.1��インタラクティブコンパイラを使う 2.1.1��簡単な使い方 2.1.2��その他: ファイルからのプログラムの読み込み・コメント 2.2��基本データ型とその演算 2.2.1��unit型 2.2.2��int型 2.2.3��float型 2.2.4��char型 2.2.5��string型 2
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く