iPhone,そして「いつか音楽と呼ばれるもの」#001 App Storeのミュージックカテゴリの目玉であるRjDjについて,その可能性に言及しているBlog記事をあまり見ないので,早い者勝ちってことで先に書いておく(別に勝ち負けはないでしょうが・・笑). かなり技術的にも突っ込んだ話を含め,iPhoneのプラットフォームとしての可能性を探っていく. RjDj is promoting a music genre that we call “reactive”.(http://rjdj.me/) 図1. Sceneのリスト画面 / 図2. EargasmのPlay画面 RjDjはReactive Music(反応音楽)のプラットフォームである.それはiPhoneアプリケーションという形で登場した.App Sotreの登場によってReactive Music(反応音楽)という新たな音楽ジ
Android Market配布を目指しEclipseでHelloWorld!:Androidで動く携帯Javaアプリ作成入門(1)(1/3 ページ) 本連載で、SDKとEclipseを使ってAndroidの携帯端末で動くJavaアプリを作成し、Android Marketでの配布を目指しましょう。ドコモやauでも端末が発売されるAndroid。その前に自分が作ったアプリを配布できるようにしておくと大きなチャンスです! Android Marketでアプリを配布しよう 2008年7月、日本のケータイ市場(本連載では、携帯電話/PHS/スマートフォンなどの端末をまとめて「ケータイ」と表記します)に黒船として来航し、巻き起こされたiPhone旋風は記憶に新しいと思います。これまでになかったスタイリッシュなデザインと操作性で、新しい物好きが飛び付いたわけですが、それとは別の旋風がIT業界でも起こ
参考サイト iPhone Tutorial - Archivers, unarchivers, and serialization on Vimeo Cocoaフレームワークには、もともとオブジェクトをシリアライズするための仕組みが用意されているので簡単です。 NSCodingプロトコルで定義されているメソッドを実装すれば、オブジェクトがシリアライズ可能になります。 例えば、下のような設定画面の値を保存するときに便利です。 設定の保存にはもうひとつ、NSUserDefaultsを使う方法もあります。 しかし、設定画面がiPhoneの「設定」のところになってしまい、設定項目に気づかないことがあったり、設定を変更するためにはアプリケーションを終了しなければならないなど、不便なので私は使いません。 手順 シリアライズされるクラスにNSCodingプロトコルのメソッドを実装する。 NSKeyedA
Enterprise Strategy Group: Go-to-market Expertise to Help You Win
Unleash your team Sharpen their skills to keep them ahead of the curve Get ahead Give your teams every advantage Build skills. Find answers. Improve collaboration. It’s essential for your teams to stay ahead of the latest tech. And they need to be able to solve problems in the flow of work and get back to it fast. 66% of Fortune 100 companies count on O’Reilly to help their teams do just that.
Recent entries 宣伝:C/C++のための開発補助ツール、GCCSenseをリリースしました matsuyama 2010-04-15 宣伝:Rubyのための開発補助ツール、RSenseをリリースしました matsuyama 2010-03-21 Emacsは死んだ matsuyama 2010-02-22 WebアプリケーションをiPhoneに対応させるための技術メモ matsuyama 2009-10-13 tokyo-emacs#x02の個人的レポート matsuyama 2009-09-07 Recent comments replica louis vuitton Anonymous User 2010-12-22 Re:テキスト入力中に補完候補を自動的に表示してくれる auto-complete.el をリリースしました Anonymous User 2010-12
Emacs is the world's best text editor. It's not just the best for editing program source; it's the best for any kind of text-editing. Mastering Emacs will make you more effective at writing and editing email, documentation drafts, blogs, HTML pages, XML files, and virtually everything else that requires any typing. The tips in this little document are geared towards Emacs power-users. You should b
iPhone・iPod touch ラボ:「iPhone・iPod Touch」のニュース、便利な使い方、アプリの紹介、アクセサリのレビューをお届けする総合情報サイト iPhone 3G をモデム代わりにし、ラップトップなどをインターネットに接続する手順が公開されていました。(source: cre.ations.net) 『iBrickr』(初代 iPhone のJailbreak ツール)などの開発で知られる、Nate True氏が公開したもので、大まかな手順は、 iPhone 3G を Jailbreak する (Pwnage) iPhone 3G に 『3Proxy』と『Terminal』をインストール ラップトップ上のWi-Fiのアドホック接続を設定 iPhone 3G をアドホック接続 iPhone 3G のIPアドレスをメモ Terminal から 3Proxy を起動 iP
みたいなタイトルの記事を Digg 経由で発見。チートシート代わりにと思い超訳。*1 A Software Architect PHP 最適化 ベストプラクティス! 01. static にできるメソッドは static として宣言しよう。(4倍速い) 02. echo の方が print より速い。 03. echo '文','字'; (カンマ区切り)の方が、'文'.'字' (ドット連結)より速い。 04. ループの最大値は、ループ「内」ではなく「前」にセットしておこう。 05. 大きい配列のような変数は unset() してメモリを解放しよう。 06. マジックメソッド(例: __get, __set, __autoload)は使用を避けよう。 07. require_once はハイコストなのです。 08. include や require でファイルはフルパスで指定しよう。 09
JavaScriptwindowのonbeforeunloadハンドラで、Event#returnValueに値を入れると、ページ遷移直前にユーザーに確認ダイアログを表示することができる(んだって)。 以下コードの正常動作を、Firefox 2.0とIE 7で確認した。Operaでは実行されなかった。 window.onbeforeunload = function(event){ event = event || window.event; event.returnValue = '?'; } 以下は、IEとFirefoxの確認ダイアログのキャプチャ。 MochiKitでは、Event#confirmUnloadで確認ダイアログを出せる。 connect(window, 'onbeforeunload', function(event){ event.confirmUnload('?'
svn HEAD でパッチをつくる作者は svn HEAD で作業をしています。release されたパッケージからつくられたパッチがおくったばあい、svn HEAD にあてるのが面倒という理由でリジェクトされる可能性があります。svn repos が公開されている場合は svn HEAD にたいしてパッチをつくりましょう。
2008/2/22: sotarok様より、連絡がありコードを一部訂正 参考1)http://d.hatena.ne.jp/odz/20080215/1203099900 参考2) http://d.hatena.ne.jp/cocoiti/20080221#1203611811 PHPでファイルをDLさせる際のPHPコード例 通常、PHPでファイルをダウンロードさせるとすると、次のようにシンプルにかけます。<?php header('Content-Type: application/octet-stream'); readfile("dl.zip"); ?> が、これだと、ダウンロード時に、保存名がアクセスしたphpでのファイル名になってしまいます(例えば、dl.php)。 そこで次のように Content-Disposition でファイル名をブラウザに通知することで、dl.zip
24 ways is the advent calendar for web geeks. For twenty-four days each December we publish a daily dose of web design and development goodness to bring you all a little Christmas cheer. Learn more Drew McLellan puts the chairs up on the tables, sweeps the floor, and closes off our season, and indeed the entire 24 ways project with a look back at what it’s meant to run this site as a site project,
ここでは、Rubyによるネットワークプログラミングの説明を行いたいと思います。 ここで対象としている読者は、ネットワークプログラミング初心者(もしくは入門者)です。 TCP 簡単なTCPサーバとクライアント TCPクライアント(エラー処理付き) 何度も受信できるTCPサーバ TCPサーバ(acceptした相手の確認) UDP UDPを使う UDPでブロードキャストを使う UDPでマルチキャストを使う(マルチキャストを送信する) UDPでマルチキャストを使う(マルチキャストを受信する) UDPでマルチキャストを使う(TTLを設定する) Web 簡単なHTTP GET(Net::HTTP) HTTP HEADと全てのHTTPヘッダの表示(Net::HTTP) HTTP POST(Net::HTTP) 簡単なRSSクライアント その他 IO::selectを使う IPアドレスからホスト名への変換
function backgroundLoad ( ids ) { for ( var i=0; i < ids.length; i++ ) { var a = getArticleWithCache(ids[i]); backgroundLoad(a.children); } } このbackgroundLoadはIDの配列を引数に取り、その各IDに対して上で定義したgetArticleWithCacheを呼び出します。これでIDに対応する記事のデータがキャッシュされます。そして読み込んだ記事の子記事のIDに対してbackgroundLoadを再帰的に呼び出すことで、ツリー全体をキャッシュすることができます。 ここまですべてうまくいっているように見えます。しかし、一度でもAjax開発を経験したことのある方ならば、これではうまくいかないということはすでにおわかりだと思います。これまでの例で
PHPで絵文字を壊さずに文字コードや全角半角変換を行う方法 Tweet 2007/11/26 月曜日 matsui Posted in PHP | 1 Comment » 通常「mb_convert_encoding」や「mb_convert_kana」を使うと、iモードやEZWebの絵文字(SJIS形式)は壊れてしまいます。 壊れてしまう例 $str = '絵文字[晴れ]'; $str = mb_convert_encoding($str, 'EUCJP', 'SJIS'); $str = mb_convert_encoding($str, 'SJIS', 'EUCJP'); // 出力 echo $str; 例:通常のコンバートの場合 しかしちょっとしたことで、絵文字の破壊を防ぐことができます。 文字コードを指定するときに SJIS EUC-JP ではなく、 SJIS-WIN EUCJ
実はこの[Z]ZAPAブロ~グ2.0、プログラミングに関連する記事もけっこう多かったりするんですが、雑記に紛れてしまっているため、探そうとするとなかなか大変です。 そこで、2004年から書き続けている記事の中から、プログラミング関係の記事を中心に参考になりそうなTIPSをジャンルごとにまとめてみました。 Ajax、JSONP、ActionScript3、AIR、PHP、PEAR、アクセラレータ、Webサービス、Webデザイン、SEO、Alexa、iアプリ、動画ダウンロード、スパム対策、顔認識、サムネイル画像生成、ファイル圧縮…この辺りの単語にピンと来た方は、何か参考になる記事があるかもしれません。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く