Thursday, March 27, 2008

pyCologne Python User Group, Cologne, Germany, March 12, Notes

The Python User Group in Cologne met at the computer centre of the University of Cologne. The meeting was attended by about 13 people. German speakers might want to refer to our wiki page: http://www.pycologne.de.

After welcoming and introducing the new participants, there were some announcements of upcoming events:
  • March, 13th - 16th PyCon in Chicago, IL, US.

  • March, 15th demonstration against extensive electronic suveillance in Cologne.
  • March, 21th - 24th Easter Hack Location: Bürgerhaus Stollwerck, Cologne

  • March, 26th 19:30 party/information-meeting about the "Document Freedom Day". Location:
    Hallmackenreuther, Brüsseler Platz 8, 50674 Köln.

  • April, 12th - 13th, RuPy Conference, Poznàn, Poland

  • May, 9th - 10th, PyCon Due Italia Konferenz, Florence, Italy

  • August, 13th - 24th, FrOSCon 2008 St. Augustin near Bonn, Germany.

Proposals for upcoming meetings:
  • Christopher Arndt offers to give his talk "How to write pythonic Code" at the next pyCologne-Meeting. He will give this talk at RuPy 2008.

  • Stefan Pampel offers to introduce the vi(m)-Editor.
  • Thomas Richter proposes that pyCologne organize Talks at FrOSCon 2008.
  • Günther Jantzen asked for a sequel to the MoinMoin-Talk from Reimar Bauer.

Talk:
  • Günther Jantzen talks about a project to convert an extensive scientific document written with an old version of Word-Perfect to a modern format preserving text-formatting and footnotes. This is done by using XML, Trees and the visitor-pattern.

The next meeting will be held on, Wednesday, April, 9th.

The minutes of the meeting in German language can be found here.

Monday, March 10, 2008

pyCologne Python User Group, Cologne, Germany, March, 12th, Announcement

The next meeting of pyCologne will take place

Wednesday, March, 12th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Talk: "XML-Processing - A different approach - using Sax-Parsers, trees and the Visitor-Pattern" by Günter Jantzen
At about 8.30 pm we will enjoy the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Thursday, March 6, 2008

Omaha Python Users Group, Mar 5, Notes

We met at Rosken's Hall, Room 402 on UNO's campus courtesy of Burch. Thanks Burch!

Jeff gave a presentation on Elixir. Topics covered included defining objects/tables and relationships. Examples of queries, 1:n and m:n joins were also to be had. Talked then turned to projects that members were currently working on. We finished the meeting by talking about PyCon. There are 3 of us, that we know of, that will be attending PyCon this year.

Topics:
Lightning TalksGroup Q and A session
The door prize for the meeting was, "Python Pocket Reference"

Thanks to everyone who attended.

After the meeting we gathered at Clancy's to socialize.

Wednesday, March 5, 2008

pyCologne Python User Group, Cologne, Germany, Feb 13, Notes

The Python User Group in Cologne met at the computer centre of the University of Cologne. The meeting was attended by about 14 people. German speakers might want to refer to our wiki page: http://pycologne.de.

A Key-Signing-Party was organized by Christopher Arndt.
Christopher gave an introduction into encryption and the key-signing process.
Several e-mail programs were discussed: plugins for thunderbird, mutt, outlook.

Rex Turnbull held a talk about bicycle repair man, a tool for refactoring.
  • It can be downloaded from http://bicyclerepair.sourceforge.net
  • Refactoring is possible from within idle, emacs, vim, scite
  • Because refactoring actually makes changes to the code, it is recommended to check the result using unit tests.
  • Examples for several types of refactoring: (find references, find definition, extract method, rename, extract, local variable, inline local variable)
The next meeting will be held on, Wednesday, March, 12th.

The minutes of the meeting in German language can be found here.

Monday, March 3, 2008

Notes from the SoCal Piggies meeting on Feb. 28th

The SoCal Piggies meeting last week was graciously hosted by Gorilla Nation at their offices in Culver City. There were a lot of new people in attendance -- in fact, when I got there, I only knew 1 out of the approximately 10 people in attendance. More familiar faces trickled in slowly, and we ended up with around 20 people, which was good to see.

The first presentation of the evening was "Django reports with JQuery -- how to build a report system in 60 minutes" by Gorilla Nation's own Steven Wagner and Saravana Reddy. Steven had spent less than 60 minutes the night before coming up with a Django application that shows how easy it is to run reports by navigating data relationships and displaying summary information in Django. I liked the fact that the app was self-contained and easy to grasp. It made indeed for a very good introduction to the reporting capabilities of Django.

Saravana showed us a quick demo of DOM manipulation, event binding and animation using the JQuery Javascript library. It looked fairly easy to use. The code for the Django and JQuery demos is available on code.google.com here.

The next presenter was Chuck Esterbrook, who talked about his new programming language, Cobra. You don't get to see language creators talk about their babies every day, so it was an interesting experience. Cobra is inspired by the other slithering language, but adds features such as (optional) static typing, design by contract (inspired by Eiffel) and language-level support for unit tests. Of course, this last feature made me perk my ears. Here's how unit tests look in Cobra:

def capped(s as String) as String is shared
test
assert Utils.capped(‘aoeu’) == ‘Aoeu’
assert Utils.capped(‘’) == ‘’
expect NullArgumentException
Utils.capped(nil) # ahem
body
...

The tests get auto-discovered when you run the Cobra interpreter with the -test switch. Which is really cool.

I encourage you to check out Chuck's slides, and the various comparisons with other languages available in the Documentation area of the Cobra Web site. One thing that's not exactly clear from the overview of the language on the Web site is that Cobra is really tied to the C# compiler and the .NET CLR. In fact, if you don't have the .NET CLR and the C# compiler available, then you can't run Cobra. Chuck is developing under Mono on OSX, and of course Mono is available for Linux, so it turns out the .NET thing is not as restrictive as it seems. And there are plans for other back-ends, such as the JVM, LLVM, Parrot, etc.

The fact that Cobra is compiled to .NET CLR bytecode gives it an advantage when it comes to using available .NET libraries and frameworks. I asked Chuck when will we see the first Web framework written in Cobra (that of course being the sign that a language has arrived) and he replied that there already are many open-source Web frameworks available for .NET, so Cobra can just use those.

If you're asking yourself why you need Cobra when you already have IronPython, Chuck provides an explanation on the 'Comparison to Python' page:

"Cobra creates the same kinds of classes, interfaces, method signatures, etc. that are found in C# and Visual Basic. Consequently, you can create a class library in Cobra and comfortably vend it out to C# and Visual Basic programmers on the .NET/Mono platform. In fact, it's an explicit goal of Cobra to play nice with .NET's flagship languages so that introducing Cobra to work environments is both technically and politically feasible.

This is different than IronPython whose class libraries are not going to "feel right" or even be readily accessible to other .NET programmers.

Like IronPython, Cobra can use any .NET libraries, whether home grown, open source, commercial, etc. It can also benefit from .NET tools like profilers and ORMs.

(By the way, IronPython is certainly the best choice if you have lots of existing Python code you wish to run on .NET, or you simply wish to stick with Python while using .NET.)"

Personally, I can't say I'm sold on starting to use Cobra -- the fact that's it's currently married to .NET/C# is a fairly big turn-off for me. But that's just me. If you're developing under .NET and are looking for a modern language with a lot of good features, then give Cobra a try and also check out the Cobra forums.

I'd like to thank Steven Wagner and Gorilla Nation for hosting the meeting. The food was really good too :-) Thanks to Steven, Saravana and Chuck for presenting.

The next SoCal Piggies meeting will be at the end of March, after PyCon08. Paul Hildebrandt offered to host the meeting at Disney in Burbank. If you're interested in attending, sign up on our mailing list so you can get all the details.