Home » Archive

Articles in the Python Category

Bash, Internet Goodness, Open Source, Python, Web Development »

[29 Oct 2008 | No Comment | ]

I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.
So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.
So first thing I did was:
$ cd /usr/share/doc/boo/examples/asp.net$ xsp2
and then from your browser you can run any of the “inline” samples
http://localhost:8080/InlineBooButtonClick.aspxhttp://localhost:8080/InlineBooExpression.aspxhttp://localhost:8080/InlineBooHelloAspNet.aspx
but if you try and run one of the code behind samples, you get something …

Music & Audio, Open Source, Python »

[20 Oct 2008 | One Comment | ]

There’s three options available for achieving this, as far as I can see:

TheLastRipper – This is a fully featured streamripper for last.fm that has a great feature set (ID3v2 tags, international characters, automatic directory hierachies) BUT you can not listen to the streams while it’s ripping. It’s got the ‘love’ / ‘ban’ buttons but how can you tell if you can’t hear the bloody music right?
LastLonger – Is a command line client written in Perl and you can output the stream to a music player also. When I saw this, …

Django, Ecommerce, Finance, Internet Goodness, Open Source, Python, Web Development »

[28 May 2008 | 4 Comments | ]

A couple of new open source Ecommerce products out and about that will hopefully see the end of the monstrosity called OSCommerce and it’s less ugly incarnations –
Whilst they have served me well in the past and I may feel tempted to use Virtuemart for a customer who:
a) Will never ever need any customisations done to itb) Already has a Joomla installation and is very comfortable using Joomla
What’s the issue with Zencart, OSC or Virtuemart you may ask?
The issue is this. First OSCommerce is a mess. Every single module …

Django, Javascript, Open Source, Python »

[16 Oct 2007 | No Comment | ]

Generic Serialization using JSON – here ’tis
Django + Ajax Presentation (pdf) – page 35 onwards – here ’tis
Thread on ExtJS forum specifically Django + JSON + ExtJS – here ’tis
Aah, also five part ipython series on showmedo.com
Technorati Tags: django, extjs, json, ajax
Powered by ScribeFire.

Cross-Platform, Django, Internet Goodness, Javascript, Python »

[9 Oct 2007 | One Comment | ]

Visual WebGui looks very interesting from a perspective that it allows you to develop a winforms application as you normally would and deploy it as a webapp (also).
As per some previous posts, I like to be able to jump seamlessly between platforms. I don’t want to be tied down to anything if I can help it. This is why I wouldn’t buy an Ipod and like Mark Pilgrim, I don’t get the iphone phenomena. I want to use my application online, offline seamlessly. I want to have the same experience, …

Django, Python »

[2 Oct 2007 | 4 Comments | ]

**Edit: I did blatanly miss something, which was pointed out to me on django irc#, which is that you can’t call binary data into a template. You create a view and then call the view from your template. I will leave the below for prosterity and in case it trips someone else up. It was my blonde moment.
Forgive me if I am blatantly missinged something (which is very likelyobviously), but since the unicode integration into django, I can’t seem to generate non-text images from a view, into a template ie: …

Django, Open Source, Philosophy, Python »

[27 Sep 2007 | No Comment | ]

Not much time to write but all I can say about Django is:
I came for the models, I stayed for the templates
While it’s not all been smooth sailing for me mostly due to my lack of python experience, the guys on IRC especially “Magus” have been tremendous. Is he paid to help people??? Someone should give him a fulltime position on the IRC channel.
The other part that tripped me up was newforms library as it’s still under development and isn’t fully documented as yet. This article at Big Nerd …

Django, Python »

[21 Sep 2007 | No Comment | ]

Have been busy working on a project in Django, so haven’t able to write as much as I like but:
Siddhi has some nice Django screencasts over at Showmedo.com
I was also reading the Trac / Babel website which ended up hooking me up to a great article from a guy who was thinking about succesful open source projects and came to the conclusion to how powerful api’s are in both open source and proprietary applications. The article pointed out how much having a good, documented api lowers the entry barrier for …

Automotive / Transportation, Hardware & Gadgetry, Internet Goodness, Open Source, Philosophy, Python, Transportation, Virtualization (Virtualisation) »

[21 Aug 2007 | One Comment | ]

Is it just me or is this the year of open source? That ever elusive “year of Linux” may not arrive but certainly, it seems the virus of open source is taking hold. It certainly is happening in the kind of Web2.0 projects we are seeing coming up, and many businesses are choosing open business models of traditional models. Green is in, Green is good and open source is along for the ride. Or is it that suddenly because I am kind of focused on Open Source technologies, it starts …

Cross-Platform, Internet Goodness, Open Source, Python »

[3 Aug 2007 | One Comment | ]

Whether you are trying to study for your RHCE, MCSE, Solaris, Linux+  or some University exams or maybe even trying to learn a new language, having some flashcards can be extremely helpful – for both short-term and long-term learning.
I have a pretty good system setup: cross-platform, remote learning.
I have played with both Jmemorize and now Granule – Granule is written in C++ & GTK and Jmemorize is Java both run on different platforms and are based on the ‘famous’ Leitner system. Jmemorize has some fancy graphs and Granule doesn’t. Both …