タグ

2010年10月25日のブックマーク (13件)

  • Flask | The Pallets Projects

    Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer

    Flask | The Pallets Projects
    laiso
    laiso 2010/10/25
  • Redis VS Memcached (slightly better bench)

    Hello! First read this if you haven't yet. I will now continue the back-and-forth obnoxiousness that benchmarking seems to be! In my tests, I've taken the exact testing method antirez has used here, the same test software, the same versions of daemon software, and tweaked it a bit. Below are graphs of the results, and below that is the discussion of what I did. Wow! That's pretty different from th

    laiso
    laiso 2010/10/25
  • peter - geventでWebSocketを使ったチャットを作る(Python備忘:06)

    先日、一生懸命、twistedを使ってWebSocketのデモを作ってみたわけですが「twistedなんて疲れるし、ナウでヤングな人はgeventだよ!」と今年の4月に、おおたにさんが書いているのを見つけてしまって、すっかりショック。 Twisted教は面白いのですが、疲れるのも事実です。…… jbkingより「ナウでヤングな若者はgeventだ(意訳)」と教えてもらって、 http://blog.liris.org/2010/04/gevent.html 時代は変わっていたみたいです。 なので、ナウでヤングなgeventで、さらにナウでヤングなWebSocketチャットをやってみました。 geventを使おう geventとは、コルーチンベースのネットワークライブラリ。 libeventライブラリのイベントループに対してハイレベルな同期APIを提供するために、Stackless Py

    laiso
    laiso 2010/10/25
  • Modeling relationships in App Engine - Nick's Blog

    Posted by Nick Johnson | Filed under python, app-engine, datastore, relational-modelling One source of difficulty for people who are used to relational databases - and certain ORMs in particular - is how to handle references and relationships on App Engine. There's two basic questions here: First, what does a relationship entail, in any database system? And second, how do we use them in App Engine

    laiso
    laiso 2010/10/25
  • 鈴木早智子自伝「津田と食事している」 - 芸能ニュース : nikkansports.com

    子ある俳優との不倫騒動で芸能活動を自粛していた、元Winkの鈴木早智子(41)が、初の自叙伝「負けじ魂」(光文社、11月6日発売)を出版し、芸能活動を再開することが24日、分かった。Wink結成前の苦労から、パートナーの相田翔子(40)への思い、アダルトDVDでヌードになったこと、そして不倫騒動などをつづっている。11月7日には、都内で発売記念イベントも行う予定。 鈴木は今年6月、俳優津田英佑(39)との不倫が報じられ、週刊誌の取材に対し不倫を認めるような発言をしたこともあり、批判や騒動が広がった。その後、ブログで芸能活動を自粛すると宣言し、公の場には一切出ず、ブログの更新もやめた。関係者によると、鈴木は自粛中に気持ちを整理していく中、自分の思いをまとめたいと感じるようになり、執筆に至ったという。ピンチのたびに感じた「負けるもんか」という気持ちをタイトルに込め、7~9月の3カ月間で書き上

  • http://atnd.org/events/9234

    http://atnd.org/events/9234
    laiso
    laiso 2010/10/25
  • https://www.pyhed.com/index_us.html

    laiso
    laiso 2010/10/25
  • aha

    Unverified details These details have not been verified by PyPI Project links Homepage Meta License: BSD License (BSD) Author: Atsushi Shibata Tags web, appengine, framework Aha is a framework made specially for Google App Engine. Here are some quick instruction getting started with it. For more details, visit our website :-). http://coreblog.org/aha Or you can get source code from the repository.

    aha
    laiso
    laiso 2010/10/25
  • aha

    Unverified details These details have not been verified by PyPI Project links Homepage Meta License: BSD License (BSD) Author: Atsushi Shibata Tags web, appengine, framework Aha is a framework made specially for Google App Engine. Here are some quick instruction getting started with it. For more details, visit our website :-). http://coreblog.org/aha Or you can get source code from the repository.

    aha
    laiso
    laiso 2010/10/25
  • フリーペーパー:SCRAP:京都全域で配布中 » GPSリアル勇者シリーズ第一弾「誰がドラゴンを殺したか?」

    京都の町が、冒険のフィールドに変わる。 2010.10.31 @平安女学院 ある日、京都を守っていたドラゴンが殺された。 最強の力を持ち、永遠の生命を持っていたはずのドラゴンがなぜ死んだのか? 謎は一切解けぬまま、京都の地脈は乱れ、悪霊が跋扈し始める。 この混沌を救うことが出来るのはあなただけだ。 あなたは町を探索し、聞き込みをし、時には戦って、京都の町を救うことが出来るだろうか? このイベントはあなたが勇者となって、 実際に町を探索し、謎を解き明かす参加型ゲームイベントです。 ※注意 このイベントでは携帯電話の GPS 機能を利用します。 GPS非対応の携帯電話では参加できませんので、お手持ちの携帯電話をご確認下さい。 日時 10月31日(日) START時間:12:00/13:00/14:00/15:00 受付はSTARTの1時間前より行います。 受付終了後、随

    laiso
    laiso 2010/10/25
    おもしろいこと考えるなー。@平安女学院 が実際どのぐらいの広さなのかわからないけど。
  • GPSリアル勇者シリーズ「誰がドラゴンを殺したか?」

    10/31(日)、京都でGPS携帯を利用したゲームイベント「誰がドラゴンを殺したか?」が開催されます。 このイベントは、「リアル脱出ゲーム」など熱狂的なファンを持つイベントを手がけているSCRAPさんが開催するイベントです。 こちらで利用するWebシステムの開発を1×1が担当させて頂いています。 GPS 携帯をゲームに利用したイベントというのはこれまでなく、さらに、こういったイベントが東京ではなく関西(京都)で開催されるというのは珍しいと思います。 先日、実地試験というわけで京都に行ってゲームを体験してきたのですが、これはなかなか新しい感覚ですね。具体的な内容については書けないのですが、こういった新しいイベントは東京先行が多いので、今回は関西で体験できる貴重な機会になりそうです。 ゲームに参加するには、GPS対応携帯(docomo/au/Softbank)もしくはiPhoneが必要です。つ

    laiso
    laiso 2010/10/25
  • いまどきのGAE/Py bulkloader - すぎゃーんメモ

    GAE/Pyでbulkloaderを使ってデータをアップロードする - すぎゃーんメモのあたりからGAE/Pyをほとんど触ってなくて最近の事情も知らなかったのだけど、最近久々に触ってみたらこのへんもちょっと変わっているようで。 Backing Up and Restoring  |  Python  |  Google Cloud Platform 以前はbulkloader.Loaderを継承したクラスの.pyを作ってそれを使う、というやり方しかなかったと記憶しているのだけど、今はそのへんの変換方法をyamlで指定することで代替可能になっているようで。 #!/usr/bin/env python from google.appengine.ext import db class Tweet(db.Model): date_time = db.DateTimeProperty(requir

    いまどきのGAE/Py bulkloader - すぎゃーんメモ
    laiso
    laiso 2010/10/25
  • GC/extend/Partial Mark and Sweep - GC¥¢¥ë¥´¥ê¥º¥à¾ÜºÙ²òÀâ

    laiso
    laiso 2010/10/25