Discreet Blogmarks

Daily Link 2010-06-16

TwistedSim
TwistedSim is a network simulator supporting code transparency. Code transparency means that TwistedSim user doesn't have to change his code to interface with the simulator.

Daily Link 2010-05-19

Xpresser: Python library for GUI automation with image matching � Labix Blog
A while ago I found out about Sikuli, a very interesting project which allows people to script actions in GUIs based on screenshot excerpts. The idea is that you basically take images representing portions of your screen, like a button, or a label, or an icon, and then create a script which can detect a position in the screen which resembles one of these images, and perform actions on them, such as clicking, or hovering.

Daily Link 2010-05-08

txwsgi
txwsgi is a fork of twisted.web.wsgi, that, unlike the original implementation, executes the WSGI application in the main I/O thread. txwsgi implements the x-wsgiorg.suspend extension (originally proposed during a discussion on the twisted-web mailing list!), that enables support to asynchronous WSGI applications that can use Twisted API.
Sphinx Mercurial = My favorite CMS
How can a collaborative site like ours best be edited and updated? Well, I would like to report some modest initial success with an experimental approach: I now maintain the site as a Sphinx-powered documentation system stored in a BitBucket repository into which I pull changes made by my collaborators. The advantages are several.
PyCon 2010:Cooperative Multitasking with Twisted: Getting Things Done Concurrently.
How I learned to stop worrying (about threads) and use timed events to yield to the reactor so that synchronous tasks can cooperate with each other in a single thread.

Daily Link 2010-05-03

Filesystem structure of a Python project
Name the directory something related to your project. For example, if your project is named "Twisted", name the top-level directory for its source files Twisted.
Python Testing Tools Taxonomy
Unit Testing Tools, Mock Testing Tools, Fuzz Testing Tools, Web Testing Tools, etc.

Daily Link 2010-04-13

Brian Eno : "Je défends l'idée d'une écologie de la culture"
Je n'ai plus besoin de courir les distributeurs. I no longer need to run the distributors. J'ai enregistré dans mon studio plusieurs disques dont j'ai réalisé les pochettes, et que nous vendons par correspondance grâce à Internet. I recorded several discs in my studio which I designed the covers, and we sell by mail through the Internet. Même si cette vente n'atteint que 200 exemplaires, elle me rapportera quand même de l'argent, ce qui serait impossible si je passais par une maison de disques. Even if this sale is only 200 copies, it still brings me money, which would be impossible if I was going through a record company.

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.
9月 2010
   1 2 3 4 5
6 7 8 9101112
13141516171819
20212223242526
27282930   
6月
2010
 10月
2010

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

XML-Image Letterimage

© 2010, Yasushi Iwata