Django 1.0 Template Development, published by Packt, is a book that focuses on the templates portions of Django. Django is a popular Python web framework. Django models are easy to build but I always found the templates rather hard to understand.
Chapter 1, 2 and 3 gives an overview of how Django views work together. If you’re a developer, you shouldn’t skip that. I found myself understanding the Django MVC architecture better. (I come from a CakePHP background.) The author (Scott Newman) also did a good job introducing custom filters in Chapter 7. It’s something I haven’t explored till I read the book. There is also a chapter dedicated to pagination, also a must read.
The book is 272 pages, not too long. If you’re looking to improve your understanding on templates, this could be a good companion. I should also stress that the book is well organized. You can skip through the chapters and go straight to what you need without missing out much.
The decision is made! I’ve selected a DVCS to use for Python. We’re
switching to Mercurial (Hg).
To me, the advantages of using *some* DVCS are obvious. At PyCon,
Brett already announced that Git was no longer being considered —
while it has obviously many fans, it also provokes strong antipathies.
So it was between Hg and Bzr (both of which happen to be implemented
in Python FWIW). Based on a completely unscientific poll (basically
whatever feedback I received in my personal inbox or on Twitter), Hg
has a strong following among Python developers and few detractors,
while few (except Canonical employees) seem to like Bzr. In addition,
most timing experiments point towards Hg being faster than Bzr for
most operations, and Hg is (again, subjectively) easier to learn for
SVN users than Bzr. (Source: Python mailing list)
Who would have thought opensource projects could be ripped off that blatantly. Django is a registered trademark of the Django Software Foundation, perhaps a warning could be issued. There’s really no point wasting time and resources pursuing this incident.
The man behind Django 2.0 is Ray Horn whose public LinkedIn profile can be viewed here. He owns a patent, a Python blog where he blogs as “Guido Python” and wrote some dubious Python software. (Guido van Rossum, by the way, is the Python’s Benevolent Dictator For Life.)
In the LinkedIn profile, he claims to be:
Supporting around over 2 million lines of Python codes.
It appears it is not the first time, he did something like this. He has been criticized for taking BlogCFC, rebranding and releasing it for profit.
I am unsure if he did anything wrong here. He probably didn’t as the license might have allowed him to alter the software for commercial purposes so it is attributed back to the author. (I am not expert in software licenses.) But what he did here violates commonsense software ethics because there weren’t significant change from the opensource version. It just start to get me thinking – how to stop such activities. At the end of the day, it’s up to buyers to decide if they are willing to trust the Ray Horn brand or not.
It’s the first Python User Group meeting in Singapore. It’s interesting to see that the number of people using Python in Singapore (we’re a population of 4.5 million when I last counted with my fingers).
Let me first say I’m not really a Python programmer developer. I work with PHP more but Python has always been interesting for me mainly because of the beauty in the syntax. I probably would blog more about it in future (not near).
Anyhow, the Singapore Python User Group is organized by several Republic Polytechnic lecturers, mainly teaching Diploma in Interactive & Digital Media. Two of the courses that in the diploma actually uses Python – Multimedia Programming I and II. I think Temasek Polytechnic has a little bit of Python in this shell scripting course too.
The first meetup is mainly a sharing session, the later part of the meetup broke in lightning talks ala Barcamp. There is also mention of PyCon Singapore 2010. I hope things would work out right. Things should be interesting.
I figured I should too mentioned that there are women present in this meetup and they are not PR people.
The meetup finished at 7 where I rush home for dinner. Met Jonathan on my way out of SMU and we chatted a little. And yeah, he didn’t know what’s Python.
Interestingly, there actually are people interested in Python in Singapore. Most Singaporeans are Java or .NET language programmers due to the things they teach in school. Java and .NET languages are great but alternate languages won’t hurt.
The Python User Group is on coming Thursday, i.e. October 9, 2008.
Venue: SMU, SIS (School of Information System) NSR 2.1
Time: 5:00pm – 7:00pm
What’s the session about?
Introduction of the group
Sharing of Python initiatives (open invitation to anyone)
5 to 10 minutes each
Please bring your own laptop, if necessary
Sharing of PyCon Singapore 2010 initiative
Invitation to participate
Of course you know I probably be there for the tea since Singapore Institute of Management have no more free tea breaks and we now have to pay a dollar seventy cents to get our own bun and coffee. To think Irene and I spend one whole semester complaining that the coffee sucked, the tea sucked, the plain water sucked and the flatten bun did not look at all appetizing. Now there’s no more. We only appreciate things when we miss it.
Rants aside, anybody going to the Python User Group meeting?
Aptana acquires Pydev. Pydev is an Eclipse plugin.
Aptana Acquires Pydev to add Python Support to Studio
We are very excited to announce that Pydev, the popular Python and Jython IDE, is now part of the Aptana product family and that Pydev creator, Fabio Zadronzy, will head up continued efforts to advance Pydev as part of the Aptana team. Like our products for Ruby on Rails, Ajax, and PHP, Pydev offers code completion, refactoring, code analysis, debugging support, and lots lots more. Pydev’s popularity in the Python community and Eclipse ecosystem made it the clear choice for Aptana. The acquisition sets the stage for a full Python suite of products and services ranging from local development to cloud deployment. (Source: Aptana)
Aptana is pretty neat. I use it for PHP and Ruby on Rails last time. But I didn’t find the syntax highlighting as good as Eclipse PDT and syntax highlighting is one of the main reasons I switched away. Pydev is pretty good already, lately they don’t have much significant updates.
Reddit decides to go open source. Reddit is already using open source software – Debian, lighttpd, HAProxy, PostgreSQL, Slony-I, various python libraries, Psychopg, pylons, Solr, Tomcat, Ganglia, Mercurial, Git, gettext (translation), daemontools, and memcached. The only thing that isn’t open source is Reddit itself so they decide to open source it.
TheUnixGeek compiled a list of salaries of programmers. It’s of course not reflective in Singapore but it’s interesting to do some comparison as always. All salaries are in United States currency.
Visual Basic: $64,000
Objective C? Erm… Okay, don’t think we use that a lot in Singapore. And well, I search some additional languages just for fun. COBOL programmers are said to be paid $72,000. ActionScript, an average of $73,000. Lisp people get $77,000. And of course, I can’t help it but to search for FORTRAN, apparently those people are still in demand – $75,000. I used to do FORTRAN for 4 months. I cried every day.