In whatever language you are programming you eventually end up in a situation where you are working with so many libraries that you need to manage them somehow. Up until a couple of days ago, I used Maven for this when dealing with Java. But Maven might be a bit more than what you normally want. It not only manages dependencies but also comes with its own project life-cycle management system. You can use Maven for compiling, testing, deploying, generating the documentation, publishing it on a website, and so on. But at least for me, all I normally want is a simple build system. If it has some nice extras, fine, but I don't really like to be forced in some kind of life-cycle management. So basically give me something like Make or Ant and then give me something that manages dependencies. This is more or less how I discovered Ivy.
Read more about "Ivy: A dependency manager for Java" ...Archive for development
-
Ivy: A dependency manager for Java
Primary link: ant.apache.org
-
Know your rate-limit on Twitter
When you write an application that uses any kind of web-API out there, you eventually get to a point where you hit some kind of rate-limit. It's especially a problem when the API has a frequently changing rate-limit as Twitter's has. Well, at least on this front, there is now an easy way around :-)
Read more about "Know your rate-limit on Twitter" ... -
First taste of Pylons: Rocky
For the last week or so I've been messing a little bit around with Pylons during my limited free time in order to be of at least of some help for Martin with his new project. I'm not really sure how I should feel about this framework, though.
Read more about "First taste of Pylons: Rocky" ... -
Django now with more Unicode
Yesterday Malcolm Tredinnick merged the so called unicode-branch of Django into the main branch and with this made all Unicode goodness available to those people sticking to the primary development tree of Django.
Read more about "Django now with more Unicode" ... -
Plans for the summer: Getting into Cocoa
For the last couple of months, or to be honest since I got my Powerbook, I wanted to get into development on Macs for Macs. So I've been playing around with Objective-C for example to integrate one of my scripts with Safari and things like that.
This summer I finally want to take the time to do something with Cocoa and GUIs and am therefor looking for some good books about this topic as addition to the articles available on Apple's developer site.
Read more about "Plans for the summer: Getting into Cocoa" ... -
Pagination in Articles is Evil
Mike Davidson has a nice article on his blog about the evil of pagination for articles. As he said, it's a cheap way of getting more ad-clicks per article that doesn't really benefit the actual user, although quite a few content providers will probably state, that they only did it to make reading easier for the user.
Read more about "Pagination in Articles is Evil" ... -
Migrating custom node type modules
Today I finally started porting the modules I had written for zerokspot.com from Drupal 4.7 to 5.0. So far everything has worked out just fine apart from one little thing:
I added the modulename.info file to my book review module and there it was in the admin panel. Everything's great. Then I wanted to create a new node with this type and noticed (1) that it doesn't appear in the main listing but only in the navigation sidebar and (2) that when I try to submit the new node, I get an error similar to this one:
array_merge_recursive() [<a href='function.array-merge-recursive'>function.array-merge-recursive</a>]: Argument #2 is not an array in /opt/wwwdev/htdocs/drupal-5.0/modules/node/node.module on line 1916.
Read more about "Migrating custom node type modules" ... -
jQuery 1.0.2 released
John Resig just released a new version of his JavaScript library/framework jQuery. This release (version 1.0.2) seems to be focused on cross-browser related problems.
jQuery is a light-weight JavaScript library which is in many parts similiar to the heavyweighters such as Prototype and aims to help developers with tasks such as dynamic style-changes, AJAX etc. In the recent months jQuery seems to have gained a lot of popularity in the Drupal world and is planned to be included in the next release of the CMS (5.0.0)
[via pixelgraphix.de]
-
App'ing with py2app
Today I wanted to write a small little tool that I could stick into my MacOSX dock and simply drag'n drop stuff onto it. Since the whole processing in the background is already done using some Python libs I wanted to see how I could get a simply Python script into that dock. The problem here is, that MacOSX has two different areas in the dock:
- One for handling applications
- and one for files and folder (like the trash bin)
... and MacOSX recognizes scripts as the later one. Everything following in the first category seems to be a really .app.
Read more about "App'ing with py2app" ... -
Random Python stuff
Some random Python hints I learned over the last week while writing on my first Django website (Note: All things mentioned here are in the official docs, but I haven't noticed them before looking at code others have written):
If you want to have a tuple, better play it safe and write ("hello",) instead of ("hello"). Since the braces can also be used to control the precedence of a statement, adding the extra "," will make sure, that you really get a tuple, no matter what number of elements is in there.
Named groups is in my opinion one of the coolest things I've seen with RE done so far. I don't know, if this also works in other languages, but it just makes regex much more readable if you have something like this:
Read more about "Random Python stuff" ...