You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Script Junkie | Creating Responsive Applications Using jQuery Deferred and Promises (日本語訳: jQueryのDeferredとPromiseで応答性の良いアプリをー基本編 | ゆっくりと… ) をみて、 (ε・◇・)з Deferred… Promise… お 覚えられん… (ε・◇・)з 脳みそちっちゃいので、もっと気軽に使えて、簡単に書けるのがいいなぁ~ って思ってました。 なので、自分なりに、 複数の同期/非同期処理を同時に実行し、処理の合流ができたり多少の失敗があっても前に進める Future 複数の同期/非同期処理を順番/同時に実行し、流れを直感的に記述できる Stream という2つの仕組みを考えました。 Stream は一本の流れを制御し Future は同時多発的な流れを制御するため、こ
JSON(http://www.json.org/)データはけっこうよく使うので、何度か話題にしたことがあります(例えば「もう一度、ちゃんとJSON入門」)。でも、JSONには型情報/メタ情報が付けられないのがとても不満で、JSON改なんてもんを考えたこともありました。(後でXIONに改名) JSONデータに対するスキーマ定義の仕様がかたまりつつあることを、ごく最近になって知りました。 http://json-schema.org/ JSON本体はRFC 4627になっていますが、JSONスキーマの標準化のステータスは、あまりハッキリとは分かりません(僕には)。http://groups.google.com/group/json-schema?pli=1 を覗き見した感じでは、現状ワーキングドラフトという位置付けらしいです。 なかなか面白いし役に立ちそうなので紹介します。ただし、僕にとっ
EventMachine is a Ruby library that implements non-blocking I/O using the reactor pattern similar to Python's Twisted. It allows Ruby applications to handle thousands of concurrent connections using a single process by avoiding blocking on I/O and using callbacks. EventMachine works across various Ruby implementations like MRI, YARV, Rubinius, and JRuby using different underlying reactors. It is c
When writing web applications, or any application for that manner, any passwords should be stored securely. As a rule of thumb, one should never store passwords as clear text in the database for the following reasons: If the database ever gets leaked out, then all accounts are compromised until every single user resets his password. Imagine that you’re an MMORPG developer; leaking out the database
食品スーパーマーケット最新情報 ブログ6,500日、800万アクセスを突破! 最新情報を経営コンサルタント鈴木が独自な視点で発信します! 2/5の日経ヴェリタスでクックパッドが特集された。興味深い内容であり、食品スーパーマーケット業界とも、ここへ来て、密接な接点が発生している。特に、記事の中で興味深いのは、昨年12月から食品スーパーマーケット7社と共同でID-POS分析を用いて、クックパッドの会員と食品スーパーマーケットの会員とのIDを通じて連携をとり、クックパッドの会員にその食品スーパーマーケットで購入した顧客限定のレシピを提供するサービスをはじめたとのことである。 これにより、食品スーパーマーケット側は、これまでのように顧客の購入履歴がわかるだけでなく、その顧客とクックパッドの会員が共通の場合は、その会員の購入属性が把握でき、様々な販売促進に活用ができるようになるとのことである。さらに
Charles Oliver Nutter Java, Ruby, and JVM guy trying to make sense of it all There's been a little bit of buzz about David Heinemeier Hansson's announcement that Josh Peek has joined Rails core and is about to wrap up his GSoC project making Rails finally be thread-safe. To be honest, there probably hasn't been enough buzz, and there's been several misunderstandings about what it means for Rails u
For a while now, the Ruby community has become enamored in the latest new hotness, evented programming and Node.js. It's gone so far that I've heard a number of prominent Rubyists saying that JavaScript and Node.js are the only sane way to handle a number of concurrent users. I should start by saying that I personally love writing evented JavaScript in the browser, and have been giving talks (for
事故とその後の回復の経過 revised 2015-5-18 岡崎先生は1996年5月に交通事故に会い、重傷を負いました。私たち岡崎ファンは衝撃を受けましたが、先生の容態についての情報はほとんどありませんでした。私たちは必死に情報を集め、ネットで交換しあいました。 先生の容態は数年間は厳しい状況が続いたようですが、2000年に入ってからは徐々に元気になってきたようです。 事故から現在まで、岡崎先生の回復していく過程をまとめました。出典の明確な、確かなものだけを集めました。 岡崎京子先生が1996年5月19日18時半、東京都世田谷区の自宅の近くで夫の朱雀正道さんと散歩中 に飲酒運転の4WDにはねられる。頭部打撲・頭蓋骨骨折・脾臓破裂で東京女子医大に入院、緊急手術するも、意識不明の重体。テレビのニュース速報、ラジオ、インターネット、朝日新聞、読売新聞、日刊スポーツ等で報道される。 夫は全身打撲
Quick notes before things get crazy OK, things might get a little crazy in this blog post so let’s clear a few things up before we get moving. I like the gritty details, and this article in particular has a lot of gritty info. To reduce the length of the article for the casual reader, I’ve put a portion of the really gritty stuff in the Epilogue below. Definitely check it out if that is your thing
rubyスレッド スレッドは「みんな一斉に動く」というのが建前だが、実際には少しの時間ず つ順番に動いているわけだ。厳密に言えばマルチCPUのマシンでそれなりに工 夫すれば同時に二つ動いたりもできるが、それでもCPUの数以上のスレッドが あればやはり順番に動かなければならない。 つまりスレッドを作り出すためにはどこかで誰かがスレッドを切り替えてやら ないといけないわけだが、その手法には大きく分けて二種類ある。 カーネルレベルスレッドと ユーザレベルスレッドだ。これはどちらも読んで字の如く、ス レッドというものをカーネルで作るかユーザレベルで作るかという違いである。 カーネルレベルならマルチCPUを生かして複数のスレッドを同時に動かしたり もできる。 ではrubyのスレッドはどうなのかと言えば、これはユーザレベルスレッドで ある。 そして(それゆえ)同時に動けるスレッドは厳密にただ一つと制限
シグナルはユーザプロセスの任意の時点で処理される可能性がある。そのため、シグナルハンドラの中で行えることは、再入可能な関数の呼び出しなどのような、状態の一貫性に影響しないものに制限される。 インタプリタのユーザ言語でシグナルハンドラも書けるようにする場合は、割込まれたときに直接実行せず、インタプリタが安全に処理できる時点まで遅延させる方法がとられる。 シグナルが発生すると、実装言語のシグナルハンドラではシグナルが送られたことの記録だけを行う。一方、インタプリタは適当なタイミングでそれをチェックしていて、割込みが記録されていればユーザ言語で書かれたハンドラのコードを実行する。 UNIXのシグナル処理 プロセスにシグナルが送られると、カーネルはプロセス表のビットを立ててシグナルの発生を記録する。 シグナルの処理はカーネルからユーザプロセスに処理が移るタイミングでのみ行われる。すなわち、ユーザプ
今回は南国高知からお伝えしています。agoです。 前回の記事でもちょっと紹介したのですが、deliciousにはいくつか本家のHelpに記載されていないAPIがあるのでご紹介したいと思います。 ・情報を取得するときにURLで渡す。 deliciousは各URLのブックマーク数等を取得するとき基本的にURLのmd5を渡しますが、以下の方法であれば直接URLを指定して情報を取得することができます。 http://badges.del.icio.us/feeds/json/url/blogbadge?url=http%3A%2F%2Ftech.kayac.com%2F また、返り値にはURLのmd5も含まれているので、URLのmd5がほしいときにも使えるかもしれません。 (deliciousへのアクセス以外でURLのmd5がほしい状況というのも思いつきませんが。。。) ・一度のアクセスで複数のU
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more info. When you visit websites, they may store or retrieve data in your browser. This storage is often necessary for the basic functionality of the website. The storage may be used for marketing, an
期末のお忙しいところ失礼致します。iPhoneアプリ開発担当の七尾です。 iOS5がリリースされてしばらく経ちましたが、iOS5の新機能のひとつである、Appleカラー絵文字についてUTF-16な文字コード表を作りましたので、お知らせ致します。 iOS Emoji - GitHub Pages テーブルの横幅が大きくなってしまったので、GitHub Pagesに乗せてしまいました。 また、画像数が多いので、GitHub Pagesで公開しているものは、カテゴリごとのhtmlに分割しています。統合版htmlはmasterブランチに入っていますので、必要な方はそちらをご利用ください。 iOS5からどこでも入力できるようになった絵文字は見た目はSoftbankのUnicode絵文字ですが、実体はAppleカラー絵文字(Unicode6互換)に変わっています。 ちなみに従来のSoftbank Un
Effective Scala Marius Eriksen, Twitter Inc. marius@twitter.com (@marius) Table of Contents Introduction Formatting: Whitespace, Naming, Imports, Braces, Pattern matching, Comments Types and Generics: Return type annotations, Variance, Type aliases, Implicits Collections: Hierarchy, Use, Style, Performance, Java Collections Concurrency: Futures, Collections Control structures: Recursion, Returns,
Cloudera Founder’s Big Data Management Startup WibiData Raises $5M From NEA And Eric Schmidt Exclusive: WibiData, the big data management startup co-founded by Cloudera founder Christophe Bisciglia and Aaron Kimball, is announcing $5 million in new funding from NEA and Google Chairman Eric Schmidt. Past investors in the company include Cloudera CEO Mike Olson, and SV Angel. As we’ve written in the
Tddium is hosted test and continuous delivery service for Ruby that speeds up your development process, parallelizes your tests automatically, and frees you from managing your test environment. Also check out our Heroku Add-On for fast, easy setup CI for your Heroku apps! Work faster and smarter. Works with any Ruby test suite Integrates with any git server Detects your app's dependencies and sets
This question boils down to one thing: are you part of the transaction or not? Data Integration grew out of the adoption of relational databases and the need to move information between them. Typically, data integration is batch-orientated and deals with data at rest. In other words, the process that created the data has already completed. Application Integration, on the other hand, deals with int
ピボット(方向転換)をしたことで成功する企業が数多く見られる。 ユーザ数1,400万人以上の写真共有アプリ「Instagram」は、元々HTM5でできたロケーションチェックインアプリだった。 わずか5ヶ月でユーザ数100万人を突破したコマースサイト「Fab.com」は、元々ゲイ向けの出会い系サイトだ。他にも、Youtubeは出会い系サイトから、PayPalはPDAアプリからピボットしている。 では、スタートアップはいつピボットするべきなのか? Fab.comの場合 FabのCEOであるJason Goldbergによると、ピボットする理由は3つあった。 1)改めて計算したら大きなビジネスではなかった:ゲイ向けのサイトを運営していた時は、3ヶ月で5万人のユーザーが集まった。しかし、いざ計算してみると、今のビジネスモデルのままでは年間売り上げが1,000万ドルを超えないことがわかった。Fabを
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く