Discreet Blogmarks

Daily Link 2010-03-02

Benchmarking twisted
I recently did some benchmarking of twisted on top of PyPy. For the very impatient: PyPy is up to 285% faster than CPython. For more patient people, there is a full explanation of what I did and how I performed measurments, so they can judge themselves

Daily Link 2010-02-12

obfuscate
Obfuscate and unobfuscate text using classical encryption algorithms. Includes Caesar cipher, rot13, rot5, rot18, rot47, atbash, Playfair, Playfair6 and Playfair16,Railfence (encryption only), Keyword, Affine, Vigenere,frob (xor) and others.
Grok book published
The book is the result of a year’s work and is intended for developers more or less familiar with the concepts of web applications who want to write their applications using the Python programming language. No familiarity with Zope is assumed from the start.

Daily Link 2010-02-06

BlueBream v1.0 documentation
BlueBream is a web framework written in the Python programming language. BlueBream is free/open source software, owned by the Zope Foundation, licensed under the Zope Public License (bsd like, gpl compatible license). BlueBream was previously known as Zope 3.

Daily Link 2010-01-30

Twisted on IronPython
With this in place Seo Sanghyeon, maintainer of FePy the community distribution of IronPython, has been looking at getting Twisted working with IronPython. Twisted is an open source event-driven networking engine written in Python.
The Python GIL Visualized
In preparation for my upcoming PyCON'2010 talk on "Understanding the Python GIL", I've been working on a variety of new material--including some graphical visualization of the GIL behavior described in my earlier talk. I'm still experimenting, but check it out.
音楽産業とマスメディアの次にインターネットが破壊するのは金融業界だ–ついに
インターネットのいちばんすごいところは、いろんな業界を破壊したことだ。ファイル共有(Napsterなど)とiTunesは音楽産業の姿を完全に変えてしまった。ブログなどオンラインのコンテンツは古いメディアを殺した。そしてオープンソースとsoftware-as-a-service(SaaS) は、高価な、社内据え付け型の、企業用ソフトウェア製品をたたきのめした。
Adobe AIR 2 example: UDP sockets with PyAMF and Twisted � PyAMF blog
We created an example, using Adobe AIR 2.0 and the PyAMF and Twisted libraries for Python, that echoes ByteArray messages every x seconds to a Twisted UDP server. The example application also enumerates available hardware and software network interfaces on the client computer using the new NetworkInfo API.

Daily Link 2010-01-26

Rsync Algorithm In Python
An implementation of the rsync algorithm (http://samba.anu.edu.au/rsync/tech_report/node3.html) in Python. As my rolling checksum, I just summed all of the ascii byte values in a given window. Will document when it's not 1 am.

Daily Link 2008-12-15

素数判定
ところで、上の擬素数のコードをCで書いたら、非常に遅くてびっくりしました。... どうやら%=の処理が遅すぎる。というか多すぎる。pythonの組み込みのpowは便利で3項目のパラメタでmodの計算をしてくれているのです。じゃpythonはどうやってるのかとソースを見てみましたが、難しそうなことをやってます。

Daily Link 2008-11-29

Tahoe backend for duplicity
This feature brings a fully distributed and fault-tolerant backend store to duplicity. Usage of GPG encryption is not necessary with this backend because everything is already encrypted by tahoe. The patch is quite small (<100 lines) and makes heavy use of tahoe CLI. It has the advantage of being largely independent from tahoe codebase.

Daily Link 2008-11-19

INET6: Jythonroid: Jython runs successfully on Android Emulator
Jythonroid is a project for porting jython on Android platform. Created by ClassFoo.

Daily Link 2008-11-15

Apache CouchDB で MapReduce フレームワークに基づく問いあわせを行う
本連載では今Web開発者が注目するApache CouchDB[1]に関する技術情報を紹介します。今回は5回シリーズの第3回として、CouchDB のビュー/クエリ機能であるMapReduceフレームワークの利用方法を学びます。

Daily Link 2008-06-15

Mozilla meets Python without rebulding
MozillaとPythonをつなぐPyXPCOMが標準では含まれておらずリビルドが必要で,しかもコンパイラが限定されているというので一旦はあきらめたが,Miroからバイナリファイルをもらってリビルド無しで何とか環境ができたという話.
Yes, Barry, there is a PythonLabs
Barry, your little friends are wrong. They have been affected by the skepticism of a skeptical age. They do not believe except what they see. They think that nothing can be which is not comprehensible by their little minds. All minds, Barry, whether they be men's or children's, are little. In this great universe of ours, man is a mere insect, an ant, in his intellect as compared with the boundless world about him, as measured by the intelligence capable of grasping the whole of truth and knowledge.
avbin
AVbin is a thin wrapper around FFmpeg, providing binary compatibility for applications and languages that need it.
Python Types and Objects
Explains different Python new-style objects, starting with and , and going all the way to user defined classes and instances. New-style implies Python version 2.2 and up. The system described is sometimes called the Python type system, or the object model.
VideoCapture
VideoCapture is a Python extension for Win32 which makes it possible to access video-capture devices (e.g. a USB webcam). It consists of a low-level native module (vidcap.pyd) and a high-level module written in Python (VideoCapture.py) which should be used solely.
Manage Ogg audio streams with OGMtools
When I make videos, I almost always use Ogg to encode the audio. Storing the audio in Ogg saves space on my machine without sacrificing quality. However, I invariably need to loop, concatenate, or change the audio in some way, which can be difficult. For many of these tasks I turn to the OGMtools suite to make the process easier.
A Place for Everyone
Over the years, many have complained that the Twisted core developers are elitist perfectionists who make it impossible for anyone to contribute code. Most of us would object to such a sweeping statement, but we can't deny that there is at least a little truth in that complaint. The ultimate motivation for our standards and adherence to them is quality. We want Twisted to be as stable, useful, and maintainable as possible. However, quality always comes with a cost, and we're tired of paying it.
スタックレスってどういうこと?
eguoさんの日記(無断でアンテナ捕捉させて頂いてます m(_ _;m )でstackless pythonに触れているのを見て、そういえばスタックレスって何だっけな、と思って再度調査。まとめることにしました。
Enamel
Enamel is a Python web framework which provides an abstraction layer over Twisted, Nevow, Formal and SQLAlchemy to converge their concepts under a single framework.

Daily Link 2008-05-10

OpenTK
The Open Toolkit is a game development library for .Net/Mono with an elegant, yet powerful, API. It enables you to bring your ideas to fruition, leveraging the full power of .Net, OpenGL and OpenAL. OpenTK needs no setup. It runs on Linux and Windows and works with all .Net languages, like C#, VB.Net and IronPython. Best of all, it is - and will remain! - free for both commercial and non-commercial projects.
rietveld - Code Review for Subversion, hosted on Google App Engine
This project shows how to create a somewhat substantial web application using Django on Google App Engine. In addition, I hope it will serve as a practical tool for the Python developer community, and hopefully for other open source communities. As I've learned over the last two years at Google, where I developed a similar tool named Mondrian, proper code review habits can really improve the quality of a code base, and good tools for code review will improve developers' life. Some code in this project was derived from Mondrian, but this is not the full Mondrian tool.

Daily Link 2008-05-07

Adobe、「Open Screen Project」でFlashをオープンに
同プロジェクトではFlash技術のオープン化を進めるため、SWFおよびFLV/F4V仕様の使用制限を撤廃し、Adobe Flash Playerのデバイス移植レイヤーAPI、 Adobe Flash Castプロトコル、AMFプロトコルを公開する。またライセンス料を廃し、デバイス向けFlash PlayerとAdobe AIRの次期メジャーリリースを無料にする。
電子念佛機
作品の元をたどると——中国には電子念佛機という、さまざまな念仏が聞ける一般プレーヤーが売られており、再生すれば仏に“会える”。念佛機に着想を得たfm3は、念仏ではなくアンビエントミュージックを楽しめる「ブッダマシーン」を作り出したというわけだ。
Concurrency with Python, Twisted, and Flex
An example of parallel programming using all the CPUs on your computer or cluster. Also shows how to add a Flex user interface.

Daily Link 2008-04-29

Validation with lxml
Apart from the built-in DTD support in parsers, lxml currently supports three schema languages: DTD, Relax NG and XML Schema. All three provide identical APIs in lxml, represented by validator classes with the obvious names.
Generator Tricks for Systems Programmers
This tutorial discusses various techniques for using generator functions and generator expressions in the context of systems programming. This topic loosely includes files, file systems, text parsing, network programming, and programming with threads.

Daily Link 2008-04-21

HTML2PDF converter written in Python. About
Uses the html5lib standard conform parsing the documents. Uses the html5lib standard conform parsing the documents.
3月 2010
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728
293031    
2月
2010
 4月
2010

ブログマークちゅうのはブログ風時系列並びブックマークのこと。

XML-Image Letterimage

© 2010, Yasushi Iwata