Thursday, March 13, 2008

Numpy Tutorial overview

My first tutorial was on Numpy, which was also had bits from MatPlotLab and Scipy. Really awesome stuff that lets you easily play with arrays of many dimensions, and is actually a set of Python wrappers for C. The end result is that it is 5-20 times faster than regular pythonic list manipulation of these sorts of things. The long and the short is that this will let me optimize certain things to an unprecedented degree. Better yet, the room was filled with Engineer, Mathematicians, and Scientists and it was awesome to hear these people talk things out. I grokked bits of their dialogue, and looked up things I didn't understand at the time.

Got lots of notes, lots of great ideas, and can already cook up useful applications for things learned today. Awesome stuff!

Monday, March 10, 2008

2 days until Pycon and Chicago

Am I excited about Pycon 2008? Heck yeah!

Do I care about being in Chicago? Erm. Not really. I've never been but I don't like it when its cold and windy. And I doubt staying in a hotel park next to the airport is conducive to doing anything noteworthy in a city. Naples was filthy, but historical. The food was all really good. We walked a lot. Drank cheap but incredible table wine. Sampled pizza and pasta at places in gastronomical history.

Someone give me something fun to do or a good place to eat in Chicago.

Please.

Replacing a legacy CMS with Plone

At work we have a legacy home grown CMS that I've been forced to maintain under protest for a little over 3 years. After yet another problem report, I decided to apply Plone as a possible solution.

20 Minutes later I had duplicated all of the functionality in the home grown CMS and by default added in search, 508, usability, performance, RSS, user groups, and so much more. Skinning it to look like a modernized version of the old CMS would be easy. The hard technical part would be migrating the data from the old CMS into the new Plone version, but with Generic Setup I don't expect it to be too hard.

Convincing the powers that be that this sort of conversion effort would be a good, cost effective thing will be the real challenge.

Anyway, this is the sort of thing that Plone 3.x feels made to do. I bet with a couple weeks of work this could be done. I'll keep my fingers crossed for now.

Thursday, March 6, 2008

Django fun

  • Very predictable behavior with a few weird exceptions. Learning curve is very gentle compared to Plone's big hump.
  • I couldn't seem to use inheritence in my data models, but I'm wondering if they use old style classes. In which case I think I have to run the __init__ method on classes when I inherit them.
  • Django templates are nice. IMHO, better than MYGHTY, GENSHI, or KID. For non-XML I would say its as good as TAL. For XML, TAL has the lead since its easier to read. One nice thing is how you are really blocked from doing any logic in templates and when you do call logic its done in an elegant way. Yeah, the other methods have it too, but the Django way is fun.

Tuesday, March 4, 2008

Pycon 2008 travel update

  • Got my plane tickets purchased.
  • Hotel reservations complete. I'll be at a DoubleTree Inn. I wonder if they have laundry I can use?
  • Conference registration delayed. Can't pay cause no option to pay is listed! Submitted a ticket but have yet to receive a response!

Sunday, March 2, 2008

Working from Panera today

Working from the Falls Church Panera today. Things on the to-do list:
  • Work on a ticket for Plone Software Center.
  • Work on a ticket on a project worked with aclark.net is mostly CSS.
  • Work on a Django project James Saint-Rossy.
  • Working some stuff for the day job with NASA that is Plone 2.5.4.

Saturday, March 1, 2008

Mistakes not to make again

Its not good to check in your code after working 16 hours and then not run a test on it the following morning. I made this mistake this week. Ack.

If you see 'trunk' as a package directory on a server, don't delete again without checking for links. Even if you think you accidentally created it with a svn checkout yourself. Ack.

Work at a job where managers are where they are supposed to be so you can get all your Pycon 2008 papers approved and signed right away.