Name: A C
Member since: 2004-03-07 12:51:42
Last Login: N/A
Homepage: http://www.monkeez.org
Notes: Lead developer of JILetters http://jiletters.sf.net
All I have to do now is think of project number 2.
First I read this< from Ross and also this from RMS, and it makes me think even more about switching to python. Just what exactly are Sun up to and what are their long-term plans? The 'Java trap' is actually a nice way of putting it and drives me further to look into alternatives.
Am thinking about nice projects for python - the first that comes to mind is this one which stores the magazine articles - all I need now is an idea about how to store them - XML or just in plain files? I'm open to suggestions - please feel free to write to adamc@linuxmail.org with your ideas if you have them.
Feel free to try it for yourselves (note that advogator doesn't really look after indentation, or I haven't found out how to do it yet). Indentation is key in python.
First impressions are that python is nice and clean. I could do some special stuff with this, given my time commitments now. I'm thinking about writing a little app which keeps tracks of my computer magazine collection and the articles within (I waste loads of time flicking through all the magazines to find an article from Nov 2002). If something comes of this, I'll post it here.
#! /usr/bin/env python import sys
arg1 = raw_input("What is your first number?:") oper = raw_input("What operation: +, -, *, / ?") arg3 = raw_input("What is your second number?:")
num1 = float(arg1) num2 = float(arg3)
if oper == "+": answer = num1+num2 print answer elif oper == "-": answer = num1-num2 print answer elif oper == "/": answer = (num1/num2) print answer elif oper == "x": answer = (num1*num2) print answer
print num1, oper, num2, "=", answer
So, Python beckons - and looks nice too. How does it compare with the multiple widgets system, and which one to chose?
kabads certified others as follows:
Others have certified kabads as follows:
[ Certification disabled because you're not logged in. ]
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!