第27回 浦佐温泉 耐久山岳マラソン大会
By びる on 2013/09/05 12:22 AM - 0 Comments - Marathon
1km: 3:58
2km: 4:21
3km: 4:52
4km: 4:53
5km: 5:13
6km: 5:30
7km: 4:58
8km: 5:03
9km: 4:20
10km: 4:08
11km: 4:21
12km: 4:49
13km: 5:29
14km: 5:02
15km: 4:23
16km: 4:16
17km: 4:09
18km: 4:08
19km: 4:00
20km: 4:11
Fin: 4:32 (1:36:43)
上りは高心拍を維持して走れていい感じ。下りは故障が怖くて抑え気味になってしまった。ぺらいシューズにしたのが失敗だった気がしなくもない。とはいえ、とりあえず最後までスピードを維持して走れたし目標のタイムも達成できたので全体としては合格点。
このレースを通じて筋力が大分ついてきて強度の高い練習ができる下地ができた印象。新潟まではスピードと LT の向上に努めることとする。新潟の目標は 1:24:00 くらいかな。
Hyperlapse
By びる on 2013/08/13 8:06 AM - 0 Comments
Google Street View Hyperlapse from Teehan+Lax Labs on Vimeo.
http://hyperlapse.tllabs.io/
remote_api 404 Not Found
By びる on 2013/01/24 4:20 PM - 0 Comments
app.yaml の handlers 定義の順序に気をつけましょう、というオチ。悲しい。
以下、引用:
9. The order that handlers in app.yaml, web.xml, and appengine-web.xml are specified in matters
One of the more common and subtle mistakes people make when configuring their app is to forget that handlers in the application configuration files are processed in order, from top to bottom. For example, when installing remote_api, many people do the following:
handlers:
- url: /.*
script: request.py
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
The above looks fine at first glance, but because handlers are processed in order, the handler for request.py is encountered first, and all requests - even those for remote_api - get handled by request.py. Since request.py doesn't know about remote_api, it returns a 404 Not Found error. The solution is simple: Make sure that the catchall handler comes after all other handlers.
The same is true for the Java runtime, with the additional constraint that all the static file handlers in appengine-web.xml are processed before any of the dynamic handlers in web.xml.
from 10 things you probably didn't know about
Joe Gebbia, Airbnb
By びる on 2013/01/17 11:54 PM - 0 Comments
サービスの着想から立派に立ち上がった現在までを振り返ったプレゼンテーション。
Joe Gebbia: The Airbnb Story from Piers Fawkes on Vimeo.
次旅行に行く時にぜひ使ってみたいっすね。
Flask で認証チェック
By びる on 2012/12/22 10:35 PM - 0 Comments - Flask , Python
結論から言うと、before_request という annotation を使えばよい。また before_request を付けたメソッドのなかで redirect を使うこともできるので、認証の状態をチェックして、ログイン画面に redirect なんてことも可能。
Flask のメーリスでも流れていたっぽい。- Intercept all requests
こういうわりとよく使われそうな機能は Tutorial あたりでほんの少しだけでも言及していただけるととても助かるんだけど、言及されていないということは意外と使われていないということなのだろうか。
おしまい。
ipx - Extended IP Implementation
By びる on 2012/11/18 1:00 AM - 0 Comments - Java
ipx - Extened IP Implementation @ github
こんな感じで使うことができます:
ポイントとしては以下な感じです。
- CIDR 形式、IP 形式どちらでも範囲判定できる
- unsigned int としての値を取得できる
また上記で使っている IP クラスの他に CIDR クラス、IPRange クラスも用意しました。
同じ範囲に対して複数の IP を判定したい時はこれらのインスタンスを生成して使うのがいいと思います。
国判定のロジックも一緒に発掘されたので後ほど機能として追加する予定です。
皇居(26km)
By びる on 2012/11/14 2:10 AM - 0 Comments - Marathon
昔のようには全く走れないのだけれども、それでも大分体ができてきた印象。
この調子でしばらく続ければ、春くらいにはもうちょっとシャキッと走れる気する。
11月:36km
TED : Jane McGonigal: Gaming can make a better world
By びる on 2012/07/10 1:34 AM - 0 Comments - TED
手軽さと意義深さの両立が今後の課題ですかね。
TED: Renny Gleeson: 404, the story of a page not found
By びる on 2012/06/11 12:20 AM - 0 Comments
とはいえ、リンクが切れてたらすぐにホームにリダイレクトしてもらったほうが僕はうれしい。



