21 Jun
The major feature on this release was the (organize imports feature, along with some bug-fixes. There's even one bug-fix I think it's worth talking about:Pydev was using Runtime.exec(cmd) to execute the s…
Idownloaded the first beta release of Python 3 which corresponded withanother threadon FizzBuzz in c.l.p that featured some slick maths using Fermatslittle theorem, (yep it’s really called that). I learnt alittle about…
19 Jun
It seems it is a good time to be a Python developer, after my last post I received a number of good leads. All before I had finished my CV.
14 Jun
Yesterday, I tackled the last problem in the “Aha! Algorithms” chapter of Jon Bentley’s “Programming Pearls”, an anagram detector. It takes a file consisting of words separated by a line and return lists…
DebugFooter middleware with Pygments sql syntax highlighting. Andreas Marr has enhanced my Django DebugFooter middleware with proper syntax highlighting for the logged SQL.
13 Jun
After work we went to the distillery district to see Uncle Vanya. Itwas enjoyable, though I found the motivations post-intermission werehard to empathize with. pre-intermission I was really identifyingwith the c…
Mark your calendars:Tutorial days: Wednesday March 25 & Thursday March 26, 2009. (Two days of tutorials next year instead of one!)Conference days: Friday March 27 through Sunday March 29, 2009.Development sprints:…
So while I was mowing my grass last night*, I got to thinking about Python 2.5’s enhanced generators and how I hadn’t tried them out yet. Here is a simple example that uses the consumer/pipeline model described in…
09 Jun
A recent thread on the IronPython Mailing List discussed products implemented with IronPython. The major ones are:Resolver One - of course! Programmable spreadsheet on steroidsLeeBeLLuL - An RIA style application that…
08 Jun
Sometimes you need to write code that loads python at runtime. Plugin architectures are a good example of this. Plugins allow extensibility but more importantly (for me at least) they enforce a strict API. Anyway,…
So, after years of procrastination, I'm building a game portal, for better or worse. At present I'm only intending to host my own games.The decision I'm facing is whether to invest in google appengine, or…
06 Jun
When in doubt, step away from the IDE — stop typing — start thinking. Here are some epic non-solutions to a standard, well-understood problem.
Well, I finally got my hands on the first (that I know of) copy of my book Essential SQLAlchemy. You can get it from Amazon using the link below. (Disclaimer: this is my affiliate link. Hey, it's my blog after…
I couldn’t find anything on the web that attempted to teach Python to readers who already knew JavaScript, so I thought I’d give it a shot, since a number of my friends at Mozilla don’t know much about Python but…
05 Jun
Sometimes it's hard to shake old habits, especially when you've burned them into your brain as the “standard” way to do things. For example, I've been doing network programming with C and C++ for a very…
I have struck goldmine ! Bored today with another plone innard hacking session I began hunting around on the internet for a django plugins site. I came across this site called http://www.djangoplugables.com/ ! This is…
One of the most visible presentations from last weeks RailsConf was Avi Bryant’s demonstration of MagLev, which is a RubyVM that is based on Gemstone’s S/64 VM for Smalltalk. This caused a stir because the micro…
Here's a nice use of any() with a generator expression: def is_url_interesting(self, url): return any(regex.match(url) for regex in self.interesting_url_regexes) It's fast because any() shortcircuits…
04 Jun
Let’s get back to the statistical module, that will calculate an Hypergeometric Distribution (HD) p value so we can define the overrepresented motifs. Last time we saw it, we just had defined the factorial function,…
31 May
I separated my right shoulder so that arm is going to be out of commission for a while. (I am right-handed.) I’m managing about 25 wpm with one hand, or about 1/4 my normal speed. This is frustrating. The…
I'm considering looking at how to do this, since it looks doable, but wonder if anyone has any experience of actually doing this, even partially. It's a very similar problem, it seems, to running a TV using…
30 May
I’m happy to announce a new podcast which you’ll hopefully consider adding to your iTunes subscription lineup: Core Intuition.The show features my friend Manton Reece of Riverfold Software, makers of Wii Transfer,…
Note: The blog was hacked. I spent all night trying to clean it up. If you have registered here you may think about changing your password. Sorry about this folks it pretty much sucks.Hey everyone,Just to let you know…
29 May
I don’t care what the language is, just please someone give me a runtime with these properties:Namespace restriction. Encapsulation. Capabilities. Whatever: the code should only be able to do what I say it can do.CPU…
I was sick of the hassles of hosting my own blog, so I just switched to Blogger. All of my old feeds should remain the same. so if you are already subscribed, you are all set.The old blog will remain up in read-only m…
The May issue is available online now.Our cover story this month is the first of a 3 part series from Terry Hancock introducing Python programming with PyGame. Terry does an excellent job of covering the basics, and…
28 May
I've been helping a few folks out on IRC lately. They've wanted to know how to setup Twisted and Divmod without doing any installs, running directly from SVN. They've been in luck, because that's…
27 May
Startups are pretty fascinating. I work for a startup, and one of my good friends works for another startup. I’ve also worked for 2 other startups, one during the first “bubble”, and another one a few years later.…
26 May
How many times have you typed an entire URL looking at your keyboard only to lift your eyes and see that you’ve used the wrong keyboard layout? How many times have you typed your email into some obscure form on the…
25 May
Jon Udell has posted an interview he did with me last week at IT Conversations. The title is “High Performance Computing Considered Harmful”, and slides from a talk of the same name that I gave in Austin are…
Click Here! Our brand new community page features all of the top blogs on Python.
Take a look inside to see the latest rankings of all the top blogs and discover exciting new blogs that you have
never even heard of. If you have a blog on Python, find out how to become a community leader!