29 September 2005
26 September 2005
French translation (traduction française)
The article "Writing win32 applications with python and glade" has been translated in french language. This translation can be read here: http://nzeka-labs.com/BitPodder_fr.pdf.
[French - Français]
Suite à certaines demandes, j'ai traduit mon article "Writing win32 applications with python and glade" en français ( qui porte le nom : "Développer des applicatrions win32 avec python et glade" et qui peut etre trouvé à l'adresse suivante: http://nzeka-labs.com/BitPodder_fr.pdf ).
24 September 2005
my article is on PyGTK website !!!
14 September 2005
New domain: www.xendor.c.la
Like that you don't need to write the (long) url provided by blogspot.
>>>>> www.xendor.c.la <<<<<<
10 September 2005
Xendor, coming soon...
I decided to write Xendor in order to use podcasting methods in a P2P/F2F soft.
For some time, I can see on some blogs and websites some texts about the future of podcasting and RSS. I think that podcasting could be used with RDF-based P2P in order to create strong P2P/F2F networks. Theses networks could be secure (by using https servers to store the RSS Feeds), reliable and scalable. Theses new networks would be similar to blognet network (http://www.newsmonster.org/blognet.html).
What is blognet?
"Blognet is a P2P
networkbased on the existing weblog infrastructure, RSS 1.0, mod_subscription, mod_link, Web Services Description Language ( WSDL) and Simple Object Access Protocol (SOAP)... Blognet allows users to include subscription information within the RSS channel for their blog. Each RSS channel represents a node and subscriptions represent edges within the network. This allows us to build a P2P network by connecting each blog (represented by its RSS channel). WSDL and SOAP provide services for each blog such as searching, reputation, etc."
But unlike blognet, such P2P/F2F networks will allow to look for music, video... and informations (like news)... And like podcasting uses existing RSS Feeds to share informations about files/informations, developers don't need to create new protocols but only imagine how each RSS Feed can be a node for the network. Why? because the protocols have been already written like HTTP, HTTPS, JXTA... and why not Gnutella, Fasttrack (by modifying the informations that are sent, but for that the protocol has to be Open Source).
I will go further... Why not allowing each peer of the network to have an RSS Feed on their systems? like that the network will be composed by normal RSS Feeds hosted on blogs/websites and by RSS Feeds each peer of the network can create on his system. Such network would allow us to create a new net.
A such network will simplify research and download. But a big problem appear: reputation of a node. This problem appear in traditional P2P network and on the net (but Google with his PageRank is trying to bypass this problem) but in a such network, this problem would be a BIG problem because its so easy to create a new node (peer have to create a new RSS Feed). The main solution I found was to create a "Popularity Index" -like system updated by the comments each peer can add about a node. The other advantages of such network are: the use of XML, that everybody (developer) can easily understand, to create meta-informations about a file, the fact that the network can be flexible and extensible (for updates)...
The theory behind such networks is simple and short. So I will finish the post by introducing you my new P2P app: Xendor. Like I said, Xendor is a Web/P2Pcaster soft (written in Python) allowing to create private P2P networks (named F2F - Friends 2 Friends), so it's a third generation P2P app. It can be used to create trusted networks between friends, collaborators... The working of Xendor is similar to the theory I explained. Like I said in the title: Xendor is coming soon because I'm testing it with my friends and I'm searching new people to beta-test the network with me. Now the first public screenshot of Xendor:
09 September 2005
Writing win32 applications with python and glade
To this question, I will be able to write a 200-pages book to descrive how wonderful is python, how powerful is python, how clear is python... I can be a good python prophet !!! But to be unbiased I will quote the definition that can be found in Python homepage:
"Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing... Python is also usable as an extension language for applications that need a programmable interface.
The Python implementation is portable: it runs on many brands of UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms..."
What is Glade?
"Glade is a free user interface builder for GTK+ and Gnome".
There is a GTK+ binding for python and thanks to Glade it's possible to create an ui in a visual way.
I decided to write an article explaining how to use python and glade to create win32 apps (a compiled app!!!).
I stopped writing articles and books for 5 months so it's my first article of the year (I hope I will be able to write a new security book this year).
In this article, I show how I coded BitPodder: from the ui creation with Glade to the making of the installer with NSIS and zip2exe. I hope this article will help people that start pygtk programming...
Here is the index of the article:
- What are we going to do?
- What you should have before starting...
- What is PyGTK?
- Let us start
- Building the windows
- How to code this app in python?
- How to compile BitPodder?
This article can be found at: http://www.nzeka-labs.com/BitPodder_doc.pdf and http://sourceforge.net/projects/korriban/.
Sajeeth Cherian the developer of videora introduce his application like that: "Videora is the first personal video downloading program. Utilizing BitTorrent and Really Simple Syndication, Videora automatically and intelligently finds and downloads video you want to watch."
The matter is that Videora is a commercial app.
So I decided to write a GNU XPodder-like app. But this new app (named BitPodder) search .torrent files and print the .torrent metainfo in order to let the user see if it's a valid torrent file.
BitPodder is a small torrent podcatcher written with Python + Glade allowing to download or consult .torrent files.
How to use BitPodder? Open the soft, click on the Options button, add the link of the RSS Feed you want to consult/download the published .torrent files then click on Add button. Now, you only have to select the feed you want and click on the Go button. You have 2 options : you can print the torrent file's metainfo by clicking on the Info button and/or you can download the torrent.
BitPodder download the .torrent in the "Torrents Files" directory located at the install dir of BitPodder.
To install BitPodder, first download and install the GTK+ runtime ( that you can find here ) then download and install BitPodder (that you can find here ).
If you have already installed the GTK+ runtime, just download and install BitPodder.
PS: BitPodder comes with 10 new RSS Feeds.
The sourceforge page of BitPodder is http://sourceforge.net/projects/korriban/.
I'm glad to announce you a new release of one of my tools: XPodder.
XPodder is a small podcatcher written with Python + Glade allowing to download or stream audio/video files.
What is podcasting? (from wikipedia.org)
"Podcasting is a method of publishing audio broadcasts via the Internet, allowing users to subscribe to a feed of new files (usually MP3s)."
How to use XPodder? Open the soft, click on the Options button, add the link of the RSS Feed you want to listen music/view video clip then click on Add button. Now, you only have to select the feed you want to consult and click on the Go button. You have 2 options : you can stream the media by clicking on the Play button or you can download the file with your favorite Download Manager thanks to the Clipboard button.
For the streaming, XPodder uses Media Player Classic: an Open Source media player for windows platform.
To install XPodder, first download and install the GTK+ runtime ( that you can find here ) then download and install XPodder (that you can find here ).
If you have already installed the GTK+ runtime, just download and install XPodder.
PS: XPodder comes with 15 new RSS Feeds.
The sourceforge page of XPodder is http://sourceforge.net/projects/korriban/.
08 September 2005
Why I created a blog? In order to introduce you my filesharing tools, and my "How to"/articles about programming especially about P2P programming.
For the moment, I am finishing the tools so the blog will not be updated day by day...
My personal website is here (www.nzeka-labs.com)