About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Dec 2010»»
SMTWTFS
    1234
567891011
12131415
16
1718
19202122232425
262728293031

Mailing List

My RSS Feeds








Latest tagged entries for 'PYTHON'



Dear Lazyweb, best of breed flow based/pipeline programming in Python

2010.10.25 Mon 11:11 A GMT-07
Yes, Python makes it easy to roll your own. I want to use pipeline programming soon (I actually started my own a while back), but upon further investigation there are quite a few existing tools/libraries: Pypes - "Pypes provides a scalable, standar

Python at UTOSC

2010.10.05 Tue 11:02 P GMT-07
UTOSC (Utah Open Source Conference) is rearing its head, now in its 4th year. It's turned into a nice local geek gathering for the intermountain west. The organizers do a great job putting this show on for the love of open source. This year Python

"Elementary" Python 3 weeks in

2010.10.05 Tue 3:09 P GMT-07
We've done 3 classes of Elementary Python and I think it is pretty successful. A few things that we've learned: Computers are dumb What Integers are. What Floats are What Booleans are What Strings are What concatenation is Simple math If you type 10

"Elementary" Python

2010.09.13 Mon 10:37 A GMT-07
Many moons ago I was given a 3 question "computer" test. In a moment of misfiring synapses, I missed the question "which finger do you type 'T' with?". Because of this I was not able to take the "programming" class in 5th grade. Now, that many moo

[ANN] coreit - helper to throw Python code onto cores

2010.07.01 Thu 11:46 A GMT-07
I've got some Python batch processes that run sequentially and take up 100% of a core. I've got a 4 core machine that was begging me to use it. So I pulled out multiprocessing and wrote a little wrapper. I'm calling it coreit. Here's the code. E

More python code coverage support for emacs

2010.02.21 Sun 12:46 P GMT-07
Ned, hooked me up with Brian Warner of Tahoe and Twisted fame. He's also got some code for highlighting coverage in emacs. Interesting to note that we both get coverage data in different ways. (Note to coverage framework writers, please implement

Ram friendly Python list?

2010.02.10 Wed 10:00 A GMT-07
Just wondering if anyone out there can point me to list implementation that can hold large amounts of data without eating ram. My search-fu is not finding anything. To be more specific, I'm going to subclass UserList that writes its contents to a fi

Baby steps....

2010.02.01 Mon 11:02 P GMT-07
After figuring out that I should use linum, I started the lisp code for emacs support for python code coverage from scratch. It felt a little like chaining generators. Write a small function, test it in the scratch window.... Notice the pretty red

On the importance of standards

2010.01.12 Tue 11:14 P GMT-07
My brother has a good anecdote about using OpenGL. It allowed him to take software that he had written 12 years ago and easily port it to both the iphone and python in about 2 days (1 day each). This would have been impossible had he used DirectX (

The "promise" of faster Python

2010.01.05 Tue 2:55 P GMT-07
I spent this morning trying out promise. Promise is a project that hints at speeding up native python by decorating functions. From the README: This is a module for applying some simple optimisations to function bytecode. By promising that a functi

2009 Year in review

2010.01.01 Fri 1:54 P GMT-07
In the spirit of the Planet Python 2009 meme, I'm doing a more general review (that still includes Python). Worky Work was pretty busy this year, which is good things are looking well for 2010. In the spirit of Google's 20% projects, we just release

[ANN] ScriptMachine

2009.12.22 Tue 2:45 P GMT-07
I've got a few scripts at work that I think are getting hairy. Not in the code smell sense, but rather in the maintenance of forking sense. They are batch scripts (run on weekly/daily intervals) customized to a users environment. They work but as

Cheatsheets/Handouts/Slides for Intermediate Python (and Testing)

2009.10.07 Wed 11:06 P GMT-07
Tomorrow I'm giving a workshop on Intermediate Python at the UTOS. In the session I'll discuss testing with the unittest and doctest modules for Python. Then I discuss a bunch of what I consider to be intermediate Python constructs. Included are d

Python and emacs (6): (exuberant) tags and Python

2009.09.15 Tue 10:39 P GMT-07
Welcome to 80's style code navigation! Ctags is a program the analyzes code and creates an index (called a TAG file). Unlike a compiler that knows what's going on, the index makes best guesses (using advanced technology such as regexes). The basic

[ANN] pykeyview

2009.09.14 Mon 11:28 A GMT-07
In preparation for my Python Workshop at UTOSC, I thought it might be nice to have a little OSD widget for showing keystrokes. (ie if I'm typing an Emacs command, that keystrokes I've typed will show up in big letters) I've seen something similar i

Countdown to UTOSC 2009

2009.09.14 Mon 11:15 A GMT-07
The Utah Open Source Conference is coming up soon. This a regional community run conference that is now in its 3rd year. Clint and crew do a bang up job organizing, soliciting participation and generally making sure things run smoothly. Talks run

Tornado: Another Python web framework

2009.09.10 Thu 1:03 P GMT-07
It's cool that Facebook is open sourcing part of the FriendFeed acquisition (it doesn't appear to be a "throw over the fence"-type open sourcing). Tornado is an part of that effort. What does Tornado buy you that isn't already available in the many

Python and emacs: Articles

2009.08.28 Fri 9:09 P GMT-07
In an attempt to be more proficient at emacs, I've written some articles discussing my adventures. There seems to be confusing sources of information floating around on the intertubes regarding this subject. The most authoritative seems to be the P

[ANN] pycoverage.el

2009.08.27 Thu 11:55 P GMT-07
I thought it might be nice to have code coverage support for Python in emacs. So I started hacking pycoverage.el tonight. The beginnings of the project is on github. This is just a few hours of hacking, and is in a really nascent state. Right now

Python and emacs (5): pdb and emacs

2009.08.13 Thu 4:27 P GMT-07
pdb is an interactive debugger (much like gdb). Though I've heard that many prominent programmers only use print to debug, sometimes pdb is useful. (Besides that I'm coming to the realization that most production code shouldn't have print statement

OSCON Scripting with Python Handout

2009.07.23 Thu 11:57 A GMT-07
As promised, here's the slides and handout from my recent OSCON talk, Best Practices for Scripting With Python.

Helping the Python Excel story

2009.06.19 Fri 3:15 P GMT-07
I have posted previously about Excel and Python. Which led to my blog being a top hit for those terms for a while. Chris Withers has decided that there should be a central hub for reading and writing Excel with Python. This is great and should hel

Python and emacs (1): Keyboard macros

2009.01.13 Tue 1:19 P GMT-07
I'll admit I'm mediocre at emacs. Which is kind of silly because other than a few years of eclipse use it's been my main editor for some 11 years. In an effort to help me start using features I don't normally use, I'm going to go over Jonathon's fe

[ANN] rst2odp - Convert rst to OpenOffice Impress

2008.12.02 Tue 3:34 P GMT-07
Goodbye S5. I might miss you. You were nice but you kind of died. And all the cool kids bought macs and moved on to keynote... But my slides weren't written in html, they were written in rst... Enough with the silly talk. Here's a little side pr

Slicing web pages with inkscape (and python)

2007.09.28 Fri 10:42 A GMT-07
Using the plugin Was watching this video describing how to "slice" web page designs two days ago and it inspired me. After a tiny bit of digging I found that one can easily script inkscape using python. Here's the process I've used for slicing web