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
Web APIはその名の通り、Web上で提供される。そのため、ネットワークにつながっていない状態では利用することができず、不便な思いをする。常時接続が当たり前になりつつあるが、近所のカフェや移動時間などで開発を行いたいときもあるだろう。 サービスを立ち上げたところ また、Amazonが提供する各種Web APIの中には有料で提供されるものもある。この場合は開発中もWeb APIを利用する上で課金されることになってしまう。開発中はバッチやテストなどで利用頻度は激しいだろう。その度に課金されてしまうのではスムーズな開発が行えない。そこで利用するのがこれだ。 今回紹介するオープンソース・ソフトウェアはSimpleDB/dev、Python製のSimpleDBクローンだ。 SimpleDB/devはAmazon Webサービスの一つ、SimpleDBをローカルでも動作させられるものだ。Simple
エッシャーっていう画家は知っていますか?分かんない人のために説明しますと、こんな感じのふしぎーな絵を書いている人です。名前は知らなくても一度は見たことがあるのではないでしょうか。 それでなんですが、適当な画像からなんかエッシャーっぽいふしぎな画像を生成するフィルタ「エッシャーくん(仮称)」をPython Imaging Library(PIL)で作ってみました。これを使えばどんな画像もエッシャーっぽい世界にご招待です。ソースは近々公開します。 追記(09/24) ソースコードをアップロードしました。subversionで管理されてますので、 svn checkout http://svn.coderepos.org/share/lang/python/escher Somewhere でチェックアウトしてください。 たとえば、こんな感じのイラストにエッシャーくんを適用させてみると… こんな
共にEncode::JP::Mobileのdat/*-table.yamlのデータで検証。 SoftBankのShift_JISからUnicode規則が分かったのでスッキリした。これでShift_JIS(cp932)⇔Unicode⇔UTF-8を機械的に変換できる。 def softbank_sjis_to_unicode(sjis): high = sjis >> 8 low = sjis & 0xff if high == 0xf7: if low else: base = 0xe200 elif high == 0xf9: if low else: base = 0xe300 elif high == 0xfb: if low else: base = 0xe500 else: raise ValueError("not softbank emoji") if low elif lo
Python & Java A Side-by-Side Comparison Stephen Ferg Home Updated: 2007-05-01 For best results when printing, set your browser's font size to SMALLEST before printing. This work is licensed under the Creative Commons Attribution 2.0 License You are free to copy, distribute, and display the work, and to make derivative works (including translations). If you do, you must give the ori
Welcome to NodeBox NodeBox is a Mac OS X application that lets you create 2D visuals (static, animated or interactive) using Python programming code and export them as a PDF or a QuickTime movie. NodeBox is free and well-documented. Read more » Download NodeBox for Mac OS X (version 1.9.5) Universal Binary Compatible with Mac OS X 10.5 (Leopard) and 10.6 (Snow Leopard) Mac OS X Lion (10.7) and Mou
管理人(はむ!)は最近スクリプト言語Lua(るぁ)に入れ込んでいます。と思ったら「ARカプセル」とかやってます。 ※iPhoneの方は右上の「PC」ボタンでPC用表示のほうが良いと思います。 eguoさんの日記(無断でアンテナ捕捉させて頂いてます m(_ _;m )でstackless pythonに触れているのを見て、そういえばスタックレスって何だっけな、と思って再度調査。まとめることにしました。 MLなどを見ていると、Lua5.0(5.1)はスタックレス(stackless)であるそうです。Lua4.0はスタックレスではなく、Lua5.0でコルーチンを実装するためにスタックレスにしたのだそうな。参考までに、pythonは公式のものはスタックレスではなく、傍流であるstackless pythonはその名の通りスタックレスのようです。 そんでそんで、スタックレスって結局何よ、というわけで
iCalendar package for Python The iCalendar package is a parser/generator of iCalendar files for use with Python. It follows the RFC 2445 (iCalendar) specification. Introduction I (Max M) have often needed to parse and generate iCalendar files. Finally I got tired of writing ad-hoc tools. So this is my attempt at making an iCalendar package for Python. The inspiration has come from the email packag
Generator Tricks for Systems Programmers, v3.0 Copyright (C) 2008, 2018 David M. Beazley http://www.dabeaz.com Presented at PyCon'08, March 13, 2008, Chicago, Illinois. Updated to Python 3.7, October 29, 2018. Related Tutorials A Curious Course on Coroutines and Concurrency. Presented at PyCon 2009 (Chicago). Generators: The Final Frontier. Presented at PyCon 2014 (Montreal). Introduction This tut
2008.04.28 新しい出版の形と IronPython 本 (1) テーマ:プログラミング言語 Python を使う(339) カテゴリ:IronPython IronPython in Action が Manning から出版されるが、出版前であるけれども、すでに一部を読むことができる。 これは、MEAP (Manning Early Access Program) という販売方法で、著者が1章仕上げるごとに、それを出版前に電子的に読める仕組みで、できたところから読ませてねという感じになる。MEAP で出版(電子的に読者に公開)された部分については、フォーラム (Author Online forums.)を通じて、読者がコメントを送ることができるので、間違いがあれば、それを本として出版される前に直してもらうということも可能になる。読者は MEAP だけ買ってもいいし、書籍として
IMPORTANT: S3 Backup will stop working on June 28, 2023 Changes to AWS will make our current S3 Backup app no longer able to connect to S3 servers on June 28, 2023. Codebase for the app is very old at this point and we determined that we cannot issue an update that would allow it to continue working. The app was very stable and was doing its job with no updates for quite a few years now and we pla
Welcome to the home of Guido van Robot! Guido van Robot, or GvR for short, is a programming language and free software application designed to introduce beginners to the fundamentals of programming. GvR runs on Windows, Macintosh, and GNU/Linux, in a variety of languages! It's great in both the classroom and the home as a way of introducing people to the basic concepts of programming. Are you inte
西尾泰和(にしお ひろかず) http://www.nishiohirokazu.org/ サイボウズ・ラボ株式会社に勤務。 プログラマのためのコロシアム「どう書く?org」をβ公開中。 2005年、Lightweight Language Day and Nightにて出された 「計算機を作れ」というお題に対して、Jythonで「関数を定義できる関数電卓」を作成。 2006年、Lightweight Language Ringにて「ネットワーク通信をしてじゃんけんを戦う エージェントプログラムを作れ」というお題に対して Pythonのワンライナーで参戦。(動画) 2007年、Lightweight Language SpiritにてJython担当としてパネルディスカッションに参加、 Jythonでフィボナッチ数列を曲にするデモなどを行う。 本書の「はじめに」を転載します。 みなさんはど
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く