The default version of Python supported on Snow Leopard is Python 2.6. However, in some cases, it could be useful to use Python 2.5. So, how to change the default Python version in Snow Leopard? It’s easy! Open your shell and enter the following commnad:
defaults write com.apple.versioner.python Version 2.5
Instead, to set again Python 2.6 as default version, enter the following command:
defaults write com.apple.versioner.python Version 2.6
For more information enter: man python
Videos and slides related to the WWDC 2010 have been released yesterday by Apple. Developers can download videos and slides using its own Apple ID. To download the video and/or the slides of the WWDC 2010, follow this link.
Having to extend or develop a web application in PHP with support for Semantic Web technologies, one wonders what are currently the main
frameworks which allow to easily manage structured data in RDF. For PHP, the main framework currently available are:
- ARC2: easy to use, it provides an RDF storage with support for the SPARQL query language, various RDF parsers for numerous formats (RDF/XML, Turtle, RSS, microformats, eRDF, RDFa, etc), serializers supporting numerous formats (N-Triples, RDF/JSON, RDF/XML, Turtle), a templating system and many other stuff. ARC2 is easily extendible developing dedicated plugins.
- RAP: it provides an RDF storage with support for the SPARQL and RDQL query languages, an inference engine supporting RDF-Schema reasoning and some OWL entailments, an integrated parsers end serializer supporting numerous format (RDF/XML, N3, N-TRIPLE, TriX, etc.), an integrated system to draw RDF graph and a GUI to manage the RDF back-end
What is the best Semantic Web framework for PHP language? It depends from your needs. Anyway, at the moment, it seems that the development of ARC2 is more active than RAP. ARC2 seems also more stable than RAP.
Marcin Wichary and Ernest Delgado have released a very interesting presentation, developed using HTML5 and CSS3, to show “the coming bleeding edge features for modern desktop and mobile browsers”. The presentation is a good starting point to understand the new features introduced in the new standard. The presentation was originally meant to run in Google Chrome but it can be seen in any recent browser with HTML5+CSS3 support (some experimental features might or might not be run in other browsers).
Some days ago the Stanford University has published new and interesting podcasts about the iPhone/iPod programming. At the moment, the new podcasts are dedicated to Objective-C and related development tools. In addition to podcasts, the slides of the full lessons are available. Podcasts and slides can be downloaded from this link.
During the development of my last iPhone and iPod Touch application I had the necessity to work very much with threads. Looking for as much information as possible on Internet about the correct use of the NSThread class, I found an interesting tutorial (for beginners) which describes how to use the NSThread class to develop a small iPhone application. You can find the tutorial following this link.
I have just published a new tutorial, based on my personal experiences, about how to convert an already existing Subversion (SVN) repository to a new Git repository.
Read the full tutorial…