Archive for the 'FOSS' Category

Loads of new Django-based FOSS components from Washington Post

Friday, February 20th, 2009

As you know, several of the core Django developers went to the Washington Post to work, and they just announced several open source components that look promising, quoting them:

  • django-projectmgr it is a source code repository manager and issue tracking application. It allows threaded discussion of bugs and features, separation of bugs, features and tasks and easy creation of source code repositories for either public or private consumption. (Looks like an alternative to Trac, but in Django.)
  • django-supertagging, an interface to the Open Calais service for semantic markup.
  • django-massmedia, a multi-media management application. It can create galleries with multiple media types within, allows mass uploads with an archive file, and has a plugin for fckeditor for embedding the objects from a rich text editor.
  • django-clickpass, an interface to the clickpass.com OpenID service that allows users to create an account with a Google, Yahoo!, Facebook, Hotmail or AIM account.

The source code is released under the permissive Apache License, version 2.0.

(Thanks to Mike for making me aware of this!)

Great interview with Greg Stein

Tuesday, April 8th, 2008

FLOSS Weekly is really on fire! The last episode of the podcast has a really interesting interview with Greg Stein, previous chairman of the Apache Software Foundation, co-founder of the Python Software Foundation, creator of mod_dav and lots of other open source projects. They touch on the disappearence of proprietary software, Google Code, how Microsoft was shipping Python as part of their e-commerce and SiteServer suites, and so on. Highly recommended.

Wrap-up of Django sprint at Exoweb offices

Sunday, December 2nd, 2007

On occasion of the second world-wide Django sprint we got together 12 people to sprint at Exoweb’s office yesterday.

(more…)

Django sprint at Exoweb offices

Tuesday, November 27th, 2007

If you’re in Beijing, know Python, have played around with Django, and want to roll up your sleeves and contribute some code to open source, then feel free to join as at the Exoweb office Saturday Dec 1st from 11:30 until 24:00 for the Django sprint.

If you want to come, please post a comment to this blog and put your name on the Django sprint wiki page under the Beijing section, so that we can gauge how many are coming and keep informed if there are any updates.

(See also Exoweb planet for more information on Exoweb and our office.)

Even simpler way to ssh through a firewall

Saturday, October 27th, 2007

In his article Jacky explained how to easily drill holes through to ports on machines behind a firewall. What I normally want is to have ssh access to machines behind firewalls, allowing me to do scp, and easily ssh in without a stupid stop-over on the firewall machine.

I came across this solution that does exactly that. After the super-simple set-up I’m able to do:


  % ssh rexobox
  % rcp rexobox:some-file .
 

All that’s required is to tweak your .ssh/config. Mine looks like this on my laptop:


  Host rexobox
  Hostname exobox
  HostKeyAlias exobox
  ProxyCommand ssh fw.exoweb.net nc -w 1 %h 22

  … repeated for other hosts
 

Public wifi - how could it get so bad?

Thursday, October 4th, 2007

Warning: This is a rant.

With wifi came the promise of being online (almost) anywhere, but due to incompetent or misdirected implementation and management, it’s pretty much a patchwork of extremely unreliable networks. My experience is that there’s a 30-40% chance of actually being able to get online at an access point.

(more…)

Python 3000 alpha 1 released!

Saturday, September 1st, 2007

Guido just announced it :) Time to experiment.

Blueprint, a CSS framework

Monday, August 13th, 2007

Tired of fighting with browsers on CSS issues regarding layouts, styling of buttons, or generating print versions? Then you’d probably be interested in the Blueprint CSS Framework which I discovered via Mark Boulton. It’s getting great reviews, looks to have a lot of promise… and by a fellow Norwegian to top it off. Check the tutorial for a good introduction.

Finding Python packages

Saturday, July 28th, 2007

Although easy_install might be sufficient to install a Python package (aka egg) onto your system, it doesn’t help you find available packages or see what you have on your system. Most package managers does, so this was a bit surprising. I was frustrated enough that I started looking at what it would take to make one. I came so far as to create a little utility built on top of setuptools that downloaded the Python Package Index (aka cheeseshop, aka PyPI) using httplib2 with caching.

Searching for pypi using this utility I saw a couple of packages, including one called yolk that promised to be a “Command-line tool querying PyPI and Python packages installed on your system.” Great! Saved me a lot of work. :)

Yolk not only allows you to search PyPI using yolk -S <name>, it also gives you a way to query the packages that you have installed on your system using yolk -l. I’ve NEVER seen this before for Python eggs, so it was quite fun. Yolk doesn’t cache stuff from the PyPI, however, so that’s a bit of a downer for us living in bandwidth-challenged areas like China.

If you wonder, yolk is a word play on “egg yolk“, which is the yellow part of the egg. Python packages as done by setuptools are called eggs, thus the name.

By the way, httplib2, although not part of the standard library, is quite a bit better than urllib2 or httplib, and apparently the only way to easily make HTTP requests that use HTTP methods besides GET and POST; i.e., PUT, DELETE, HEAD, etc, as required by REST. It also exposes a very feature-complete client-side cache, so you can do:


  h = httplib2.Http(".cache")
  # don’t refetch until 7200 seconds old
  resp, content = h.request("http://www.exoweb.net/",
    headers={‘cache-control’:‘ public, must-revalidate, max-age=7200′})
  print content
 

I hope the standard library cleanup project that is planned for Python 3000 includes this module, and updates it so that it can support file-like interface to reading, not just returning a string like it does now. A compatibility module with the old http/url modules would be cool too. ;)

Update! Flávio blogs about this too, includes a script for updating Python packages, and in a comment mentions enstaller, an alternative package manager for Python eggs which can do similar things to yolk, but also upgrading of packages. Mikeal also blogs about this and includes a simpler script for updating Python packages.

Slides from “Django Master Class” at OSCON

Wednesday, July 25th, 2007

At OSCON 2007 Jacob Kaplan-Moss, Simon Willison, and Jeremy Dunck held a Django Master Class. Jacob just posted the slides on the web, and it contains a few goodies, like:

  • testing strategies
  • testing support in Django
  • dumpdata
  • templatetags introduction
  • custom model fields
  • OpenID (which seems to be on Simon’s mind a lot lately)
  • a cool example using jQuery to do Ajax-style client-side form validation based on conditions set in the Django model(!)
  • deployment options for high-performance sites
  • Geo Django + PostGIS for geo-coordinate manipulation

tracker