Archive for November, 2005
CPSMailAccess 1.2.0 released
I have released CPSMailAccess 1.2.0 today. It includes bugfixes, engine and
UI enhancements.
The next steps will become very interesting because it will provide some
features we wanted to have since we started the project:
- Virtual folders classification
- Thread manipulations
- …
Also, a major upcoming change will be on ajax side, as I’ll refactor the
javascript code to make it rely on a third party js library. This will also
be helpfull to start unit testing this part of the app.
Last, I’ll probably add a import feature from other mail clients, in order
to grab configured filters. I’ve been told this was the last thing that was
missing to adopt CPSMailAccess over that exotic and unfamous mail client
called Thunderbird
here’s the annoucement: http://www.cps-project.org/sections/news/cpsmailaccess-1-2-0
(Post originally written by Tarek Ziadé on the old Nuxeo blogs.)
Nautilus + ps2pdf script
Recently i was producing many funkload’s bench results. Firefox lets
you easily create files in PostScript format by printing page to file. I
wanted easy way to convert produced ps files to pdf from Nautilus without
going to terminal. Thanks to Nautilus, it supports custom scripts(more info
here), that after
putting to ~./gnome2/nautilus-scripts directory, appear in popup
context menu.
#!/bin/bash cd $NAUTILUS_SCRIPT_CURRENT_URI for arg in $@ do ps2pdf $arg done
After saving that in ps2pdf.sh and making script executable you can convert
one or multiple selected ps files to pdf by right clicking on selected file(s) ->
Scripts -> ps2pdf
Very nice
(Post originally written by Ruslan Spivak on the old Nuxeo blogs.)
XML-RPC over Zope 3, a quick tutorial
Please read this blog entry from here
What ‘s XML-RPC ?
XML-RPC is a very simple Remote Procedure Control encoded in xml that
can be used to interact with an application server from another program
(another server, a rich client, or some Ajax’ed web Page)
More infos at wikipedia
XML-RPC in Zope
3
Zope 3 comes with a very handy approach to provide XML-RPC features. You
just have to write a view class that provides methods that will be
available as RPC methods.
If you are coming for Zope 2 world, please read up philliKon’s
slides at worldcookery (other Z3 goodies can be found there).
My
First XMLRPC Package
Let’s write a small Zope 3 package to provide an XML-RPC method over
all server folders, that provides a folder listing.
This product is a folder composed of two files:
- xmlprctest.py: contains the xmlrpc view class that
implements the method.
Choosing an IDE for Python (updated)
I am trying to choose a new IDE to write Python code, after a few problems I
had with the *beeeep* generic editor I use.
I’ve read the very interesting blurg from Jonathan Ellis here
but i didn’t find the IDE that fits me yet. I am trying them all.
Wishlist
The perfect IDE for me needs:
- easy encoding configuration: I do iso-8859-15 and some of the IDE out
there don’t want me to. - simple, yet powerfull, code completion. Some of them are just
crazy. - reasonable CPU/Mem load
- A decent learning curve
- good enough code cleaning: trailing spaces removal
- bad syntax notifier: for example SPE hilites bad syntax
- decent debugguer links, with toggles.
- easy macro programming
- XML, ZPT, CSS, and third party editing as well, with proper
*indentation*. 4 is nice for Python, I want 2 for ZPT ! - …
Tried so far: drpython, SPE, Eric3, WingIde, Bluefish, BoaConstructor,
Kate… Read more