Blog of Rob Galanakis (@robgalanakis)

pynocle 0.10 released

My first useful open source project, pynocle, is finally ready for me to talk about. Get the code via Hg/GoogleCode here: http://code.google.com/p/pynocle/ Browser the pynocle-generated metrics for pynocle here: http://pynocle.googlecode.com/hg/exampleoutput/index.html pynocle is a series of modules designed to provide the most comprehensive code analysis of python available from a single source....

Read more

Don’t use global state to manage a local problem

Just put this up on altdevblogaday: http://altdevblogaday.com/2011/09/25/dont-use-global-state-to-manage-a-local-problem/ I’ve ripped off this title from a common trend on Raymond Chen of MSFT’s blog.  Here are a bunch of posts about it. I can scream it to the heavens but it doesn’t mean people understand.  Globals are bad.  Well, no shit...

Read more

The skinny on virtual static methods

Today at work, I saw the following pattern in python: class Base(object): @classmethod def Spam(cls): raise NotImplementedError() class Derived(Base): @classmethod def Spam(cls): return 'Eggs' After thinking it over and looking at the alternatives, I didn’t have an objection. I asked for some verbose documentation explaining the decision and contract,...

Read more

Automation must be a last resort

A repost from altdevblogaday.  Original post here: http://altdevblogaday.com/2011/09/10/automation-must-be-a-last-resort/  As is usual, the title is more inflammatory than the contents, the contents muddle the issue, and things are far more clear after reading the comments. As tools programmers and tech artists, we are responsible for the efficiency of our designers and...

Read more

Python software metrics- my first useful OS project?

I’ve tried to open-source code quite a few times, but the projects have been niche enough that they haven’t been very useful.  Well, I finally have something universally useful. I’ve take an interest in code metrics recently (as documented on this blog) and I have been quite upset to learn...

Read more

The Tech Artist’s Creed

Repost of my most recent from altdevblogaday: http://altdevblogaday.com/2011/08/26/the-tech-artists-creed Last month we started a thread on tech-artists.org about creating a tech artist’s creed.  After several weeks of back and forth, we finally came up with something we could all agree upon.  Here it is: I am a Tech Artist, Every day...

Read more

What’s Eating OOP?

Repost from altdevblogaday. Also of note that this was my first blog post that I know of that was reposted on reddit/hackernews, and on reddit especially the comments were sort of brutal… oh, internets. Anyway, I’d suggest heading over the altdevblogaday to read the comments when you’re done with...

Read more

Optional parameters can be harmful

I’ve come around on optional parameters after being an opponent of adding them to .NET.  They can be very helpful, clean up the code by not needing overloads, and inform the caller what the defaults are.  They are an integral part of python and why it is easy to...

Read more

Bored People Quit (I did!)

If you read one long blog article this year, make it this one: Rands in Repose’s Bored People Quit.  It is one of the most important blog posts I’ve read in a long time, and right on the money. If you’ve ever worked a shitty professional job (especially programming),...

Read more

The Open Source community can be mean

I’ve talked a bit about my problems with OSS as an outsider.  Martijn Faassen wrote a great post about his problems with it from the inside: How to Handle Ideas.  It’s an informative, lucid post about improving the ways the open source community receives ideas and criticisms, written by...

Read more

1 15 16 17 18 19 27