Archives Dec. 11, 2008
Was looking into mitigating some of the slowdown from the recent fix, mainly be rewriting this little function:
def from_param( cls, instance, typeCode=None ):
pointer = cls.dataPointer( instance )
except TypeError, err:
array = cls.asArray( instance, typeCode )
pp = ctypes.c_void_p( cls.dataPointer( array ) )
pp._temporary_array_ = (array,)
return ctypes.c_void_p( ...
Having to work with svn again at a client site... I miss bzr. Even bzr-rebase is turning up fondly in my memories. It's really just the merging... merging with svn seems to always be an "Oh good Lord! We have to MERGE!" event, filled with conflicts and crashes halfway through switching that leave 1/2 of ...
Installed kvm on the laptop. Was a bit annoyed to discover I had to reboot (to alter the BIOS in order to enable the virtualization support in the processors), but other than that was extremely easy to install (just aptitude install kvm (I already had QEMU)).
Compared to vanilla QEMU on the same box the ...
When you code, do you consciously think about the principles in the Zen of Python? Do you find yourself following them automatically without thought? Do you find they are pointless/irrelevant to your coding? Do you ever defend your decisions (to yourself or others) by reference? What about other programming "rules" (formal patterns, XP principles)? Do ...