External Blogs

Firebug UI failure

Anarcat - Wed, 03/03/2010 - 22:02

Now that's a spectacular failure:

Don't get me wrong: I love firebug. I think it's a great tool for webdevelopers, sysadmins and curious people alike. It's just that... how am I supposed to read those release notes *while I'm starting my browser*?!

Categories: External Blogs

Upcoming Sprints

Montreal Python - Sat, 02/27/2010 - 12:56

ConFoo brings several experts in town and we take this opportunity to launch two sprints: one on TurboGears with Chris Perkins on 2010-03-13 starting at 10h30 am and one on Distribute with Tarek Ziadé on 2010-03-15 starting at 6 pm. Both sprints will be at Brasseurs Numériques’ office, 1124 Marie-Anne, suite 11.

The TurboGears sprint will focus on polishing the code base and the documentation for the upcoming 2.1 release. Some work on the Sprox from generator and on the C5T CMS is also very likely. Anyone somewhat familiar with Pylons should be able to contribute.

The Distribute sprint will focus on implementing the newly accepted PEPs: 345, Metadata; and 386, version schemas. Anyone who’ve used Setuptools to some exetent should be able to contribute.

Bring your laptop or make a pairing agreement on with someone else. As usual, capacity is limited to 12 sprinters so please sign up on the mailing list.

Categories: External Blogs

It's full of stars!

Waglo - Fri, 02/26/2010 - 20:25
J'ai décidé de mettre un peu plus de contenu sur ma page d'accueil, question de rendre ça un peu plus gai. J'utilise Google Reader depuis quelques semaines et j'essaie de bien classer mes découvertes sauf que je ne peux pas faire ça tous les jours. Ce que je vous propose sur ma page d'accueil c'est un échantillon de ce que je star, c'est à dire des trucs que je vais lire plus tard et classer. Voilà la version brute.
Categories: External Blogs

Robin Millette

Waglo - Tue, 02/23/2010 - 17:50
Nothing to see now. Rien à voir maintenant.
Categories: External Blogs

Typical day at $HOME

Anarcat - Sun, 02/21/2010 - 22:41

So here I am, on a sunday night playing with various open source projects instead of having a proper non-geek life like I'm apparently supposed to be doing in our modern society.

en lire plus

Categories: External Blogs

Upgraded to drupal 7 yet?

Anarcat - Fri, 02/19/2010 - 18:15

I tried upgrading this blog to Drupal 7 today during the Koumbit/Montreal D7 code sprint today, which lead me to work on the D6 to D7 upgrade path and submit two patches that fixed update.php enough so I got through the upgrade. The results aren't as satisfying as they could (the site is basically broken) but at least it bootstraps. :)

Categories: External Blogs

Follow-up on the second Django sprint

Montreal Python - Thu, 02/18/2010 - 10:28

The second Django sprint was another clear success. It was a pleasant surprise to have so many volunteer and we filled the Brasseurs Numériques’ office at capacity with 12 sprinters.

Thanks to Agence Universitaire de la Francophonie for sponsoring the event and a very special thank to all the sprinters:

  • Davin Baragiotta
  • Benoit Caron
  • Stéphane Duchesneau
  • Alexandre Forget
  • Yannick Gingras
  • Ali Jetha
  • Collin Lavoie
  • Martin Paquette
  • Cyril Robert
  • Francois Savard
  • Jean Schurger
  • Alexandre Vassalotti

We will try to have another translation sprint toward the end of March.

Categories: External Blogs

ConFoo: buy online before Monday for the best rate

Montreal Python - Thu, 02/18/2010 - 09:17

Sunday is officially the last day to register for ConFoo at the current price.

Actually, that not quite exact because as a way to thank you for reading this blog, we offer you $100 of rebate. Simply follow this link to register at the community rate: http://confoo.ca/pymontreal

You probably recall that Chris Perkins is giving a one-day training session on Web development with Python and Turbogears. You get an additional $100 of rebate if you attend to both the training and the conference. Having seen Chris in the tutorials at PyCon, I can’t put enough emphasis on how good a teacher he is. This is a very unique opportunity to get high quality training on Web development with Python right here in Montréal.

Categories: External Blogs

Learning Python, 4th Edition: Python Learning Reloaded!

Montreal Python - Thu, 02/18/2010 - 08:29

Learning Python is a well-written book by an experienced Python trainer that has served the Python community well since the first edition was published, back in 1999. Now at its fourth edition, this book by Mark Lutz arguably continues to be Python’s bible. This article reviews the fourth edition by discussing the target audience, scope, content, and pedagogical features. It concludes by a recommendation.

Audience

This book is intended as an introductory text to programmers new to Python.  Although people with no programming experience are not discouraged from reading it, they are warned that time is mostly spent teaching Python, not programming fundamentals. I agree with this picture, though from my own experience as well as those of others, the book is equally valuable to more experienced Python programmers both as a pseudo-reference, and as an introduction to more advanced topics. The critical point here is that the book does not make assumptions about educational or vocational experiences and provides many examples, which renders the book approachable by a large audience.

Scope

Both Python 2.6 and 3.x are covered in this edition. However, the latest 3.x line is considered the reference from which variations in 2.6 are discussed when appropriate. This approach is logical; the new Python 3.x presents a major change to the language, but is not sufficiently dominant to warrant exclusive treatment.

This book discusses the Python language and excludes the Python standard and non-standard libraries. The latter are discussed in other places, including Lutz’s own Programming Python, which stands at its third edition at the time of writing of this article. I find this separation necessary because of size considerations and, in fact, this division did not exist in the first edition of the book! However, one topic does not seem to fit in the language/libraries division, and that is packaging and deployment.

I will argue that there aren’t many (if any) books that discuss packaging and deployment of Python programs. I will also argue that this topic should be included in the book being reviewed here since it is essential to real Python programming. Since Lutz discusses the Python run-time environment, I do not think it would detract from the book’s coherence to include a single chapter on packaging.  It is possible that the proliferation of various packaging and deployment options such as distutils, setuptools, pip, buildout, virtualenv, paver, fabric and others, is the reason for this exclusion. Or it could be that these tools are in a state of major flux that any text will be quickly outdated.  If size is the reason for this exclusion, maybe Lutz or someone else can publish a “Packaging and Deploying Python” as a separate volume.

Content

The book starts by making a case for the use of Python. Both the features of the language and its prominent users are discussed to build credibility. Then, the run-time environment is discussed: how to run programs in various ways on various operating systems and language interpreters.

Types and statements, which are at the core of any language, are discussed next. Notably, there is an excellent discussion on the topic of iterators and generators (both are also covered in a later chapter).  Functions, modules and classes are then introduced. The text also includes a discussion of general object-oriented programming (OOP) principles which I find to be invaluable, as it brings the topic of classes to life.

Exceptions are introduced and discussed in detail. The placement here is appropriate since exceptions are now objects in Python so classes had to be discussed first. This chapter should prove to be especially useful for people migrating from other languages that do not have simple, yet effective, exception-handling constructs.

Finally, four advanced topics are covered: decorators, unicode, managed attributes, and meta-classes. I find the first two to be absolutely necessary for almost any system nowadays, even the smaller ones! The latter two are not as ubiquitous, but should be useful to more experienced programmers.

I should mention here that the discussion of the topics mentioned above doesn’t stop at the basics, but provides comprehensive coverage. This is also the case with the discussion of topics such as dynamic typing, inheritance order, iterators, generators, comprehensions, and functional programming, among many others. There is even an interlude on documentation and the pydoc library.

Pedagogical Features

Like many programming texts, Learning Python uses small programming examples (appropriately executed in the Python interactive shell). These small examples hope to capture the essence of the topic at hand, and it does that well within the limitations of a small-scale context. This fourth edition adds a new chapter on classes (Chapter 27) that contains a more realistic code example presented in a tutorial format.

In addition to examples, each chapter ends with a summary of the chapter’s content as well as a quiz. The quiz is immediately followed by its answers for easy reference. I have to admit that I do not use any of these two features, so I will not be able to comment on their efficacy.

Conclusion

Like many O’Reilly books, this is a well-written, coherent, and beautifully type-set book. I highly recommend it to anyone who wants to, or already does, program using python. It should help the novice in their transition to an excellent programming language, or otherwise, make an already familiar environment more powerful in the hands of veterans.

About the reviewer: Ahmed Al-Saadi is a Software Analyst who works for a Montreal Python house. He wrote his first lines of code on a Sinclair ZX Spectrum+, though unfortunately not in Python at the time.

Categories: External Blogs

Changement de look

Anarcat - Thu, 02/11/2010 - 20:11

Vous aurez probablement remarqué que j'ai changé le "look" graphique de ce site. Suite à une mise à jour automatisée (grâce à aegir) de mon blog par l'excellente équipe de Koumbit, il s'est avéré que le thème que j'utilisais auparavant ("Zen classic", un sous-thème de Zen) est maintenant périmé. Qu'à cela ne tienne!

en lire plus

Categories: External Blogs

Little Google Buzz trick while you wait

Waglo - Wed, 02/10/2010 - 13:26

If like me you’re not Buzzed yet, you can have some sort of preview. First, go to your Google Mail labs, enable the Multiple inboxes experiment. Next, in your settings, hit Multiple inboxes and add “is:buzz” (no quotes) to one of the empty panes. Voilà, now you have direct access to your Buzz, directly from your Google Mail inbox.

UPDATE: 12 hours after posting this and I just noticed a silly mistake. Where it said to use “is:spam”, it really should have been “is:buzz”, obviously.

Trick #2: Now you’ve got the Buzz and you find out some are actually polluting your inbox. There’s a fix for that too. Create a filter by putting “is:buzz” in the “Words:” field. When you hit the “Next” button, you’ll get a warning but you can disregard that, it will work. On the next page, either Archive (skip the inbox) or Delete those mails and voilà, problem solved.

Trick #3: To reduce the Buzz noise from your Google Mail: create a filter to remove Buzzes from your Sent Mails with “is:sent -{is:buzz}” (no quotes), labelling that “Emails Sent” and hiding the default “Sent Mail” label.

Categories: External Blogs

Google Buzz

Waglo - Tue, 02/09/2010 - 13:35

Sure, just when I decide to leave Facebook, Identica, Twitter and Friendfeed behind, Google comes out with this!

Google Buzz API documentation

Google Buzz API

Google Buzz is their new social media tool, real time, for public and private sharing and works directly from Google Mail.

You can find out more about it by reloading ReadWriteWeb’s live blogging session continuously.

More links:

I was planning a couple of posts:

  • Why I left Facebook, Identica, Twitter and Friendfeed and why you probably shouldn’t
  • My life in Google’s hand

Hoping those will explain what’s happening with me recently.

Categories: External Blogs

Observatoire d’informatique libre québécois | Logiciel Libre, Free Software et Open Source au Québec

Waglo - Mon, 02/08/2010 - 11:25

J’ai changé le nom de domaine pour l’Observatoire de l’informatique libre québécois : Observatoire d’informatique libre québécois | Logiciel Libre, Free Software et Open Source au Québec. J’espère ainsi lui donner une identité plus précise. C’est un message d’André Cotte sur la liste de FACIL où il disait

« Quand on peut s’intégrer dans un site d’agrégation de flux comme
Informatique libre
, on a le meilleur des deux mondes : son blogue et la
diffusion. »

qui m’a fait penser à ça.

L’ancien domaine fonctionne toujours, bien sûr, mais tout le traffic est maintenant redirigé vers le nouveau nom, OILQ.org.

Je suis toujours ouvert à vos suggestions pour améliorer le site, ainsi qu’à vos dons pour aider à réaliser ces suggestions.

Categories: External Blogs

From Creative Commons to the Olympics

Waglo - Sun, 02/07/2010 - 17:50
Misteur Valaire is a Québec electro-jazz band who sold around 1000 albums yet got their ticket to the Olympic Games in Vancouver. Their secret? Over 40,000 downloads of their web album Friterday Night available through a Creative Commons non-commercial share-alike licence since 2007.
Categories: External Blogs

Animated news, hey, that’s my idea!

Waglo - Tue, 02/02/2010 - 17:03

Slashdot has a story today about animated news as this clip shows:

I’m only mentionning it because it’s something I wanted to do maybe five years ago and car accidents was my first thought. Without the Tiger Wood caracter of course. You can read more about this in The blurry lines of animated ‘news’ on the CNN website.

Which reminds me of another idea I had: why not make a site to predict the stories that will appear on Slashdot tomorrow or in a couple of days? It could even become a fun gambling site. Who knows…

Categories: External Blogs

TurboGears training on 2010-03-09

Montreal Python - Mon, 02/01/2010 - 10:57

As we mentioned during the last Montréal-Python meeting, Chris Perkins, core developer of TurboGears2, will be giving a one-day hands on training on TurboGears2 on March 9th. His tutorial covers several parts of TurboGears2 that are common to Pylons so those who were interested by the presentation by Alexandre Bourget will certainly get the opportunity to dig deeper into Pylons and the other parts of the WSGI ecosystem. At $300 and with the $100 rebate if you go to conference, it’s a real bargain.

Categories: External Blogs

User Groups Gathering on 2010-02-05

Montreal Python - Fri, 01/29/2010 - 11:14

Next Friday, why not celebrate the end of the week with members of
other user groups? Montréal-Python, W3Québec, PHP-Québec, AMUG, Montréal Girl Geek Dinners, and many others invite you for a drink or two at Pub Ste-Elizabeth starting at 6pm.

Categories: External Blogs

Do hash secrets (but also use HMAC)

Anarcat - Fri, 01/29/2010 - 10:17

Someone pointed to me this pretty good article about password hashing and HMAC. I must admit that before reading the article, I was barely familiar with HMAC. I am, however, familiar enough with one-way hash functions to comment a bit on the article, and since I feel there are incorrect conclusions in this article, I also feel I should try to correct those.

en lire plus

Categories: External Blogs

Review of Learning Python 4th edition

Montreal Python - Tue, 01/26/2010 - 11:59

When I first got the book, I was surprised by the number of pages it had (>1000).

But still, I managed to finish it relatively quickly because the font is big and the content well organized / spaced. I have also ignored a quite a few pages on how to install and configure your environment.

The target audience is without doubt beginners. If you want to learn the Python language, get the book. You won’t be sorry.

If you already know Python 2.6 you can just learn the language changes introduced in 3.0.

Read the rest of this review on Alex Gal’s blog.

Categories: External Blogs

Recent comments

Powered by Drupal, an open source content management system

Syndicate content