Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Another big-ticket item added to the feature-list (Long day's coding, though)


One of the things that kinda freaks me out is just how huge a feature set we're packing into this product. The one I built today is available from one of our competitors as a stand-alone tool that costs as much as our entire product. Sure, it'll take a few more days of work to ...

Continue reading

More finishing and polishing (LivePages get a little closer to real-world usability...)


Day was filled with reversion of some changes on Friday, and then moving forward to get the LivePages looking and working more like the Zope TAL Template wrappers. Quite a bit of housekeeping in there as well. Toward the end of the day I modified the trigger LivePage so that as you enter trigger values ...

Continue reading

I need to do *something* tonight (Too pitiful to sit here working all weekend)


Spent hours last night borking up all my lovely work on Cinemon with an attempt to go way too far way too fast. I should try to back out all the extra stuff this afternoon.

Problem is, I'm in the mood to talk. <Elided> is off visiting her dad. I've invited some people over, but ...

Continue reading

What a wonderous thing is integration (Making the enhanced Zope Templates accessible to the Nevow LivePages...)


Today was largely a "completion" day. I finished the trigger-editing LivePage spike test as a spike test and converted it into a real page in the system. That worked nicely, it was just a matter of changing a few lines to make the right triggers show up when editing instead of always being a temporary/testing ...

Continue reading

Adding handlers to Nevow template tags (How do you keep the code separate from the presentation)


After a bit of annoyance with nevow:attr, I did figure out how one works with it, but in doing so, I found what seems to me to be a far more reasonable approach. Rather than having an extra nevow:attr tag, with a slot inside it that you fill from your render method, you can simply ...

Continue reading

Bit'a Open Source house cleaning (Working through the backlog of todo items...)


I have literally hundreds of todo items piling up in the various Open Source projects I run, so I figure I may as well plow through a few tonight. For instance, I fixed a small bug in PySNMP-se (that is, the speed-enhanced version of PySNMP 3.x) and re-released it. Spent quite a bit of time ...

Continue reading

It's so much nicer when you can *see* progress (Get OpenGL-ctypes to the point where something shows up on-screen)


My primary interest in computers is graphics. Comes right down to it, I like computers because they let you create virtual worlds, and while a simple cube floating in space isn't much of a virtual world, it's just enough of a reward to make me happy :) . Basically I'm just loading the PyGame context ...

Continue reading

Choose between fixing trivial regression bugs and management meetings... (Tough choice, eh-what?)


Management meeting went longer than normal (and it start the day much earlier than normal for me). After that I fixed a stupid refactoring bug that had crept in while I was trying to simplify a very rarely used case... unfortunately it showed up on one of the live systems!

I'm actually done for the ...

Continue reading

Notes from the Ajax front (Fought a good battle...)


Okay, this is going to seem trivial to you Nevow gurus out there, but bear with those of us just starting out (and thanks to dialtone for pointing out both things I'd missed (rend.Fragment) and the eventual hack-around)...

Task: create a single-page editor wherein you click on a button (set of buttons) to add a ...

Continue reading

Web-client javascript is even worse than VRML-client javascript (And VRML-client javascript was pretty fundamentally broken)


Today has been an all-consuming quest to get new Ajax features working. Spent a huge part of the day looking for a standard, reliable way to convert a passed XML string (i.e. passed from the Nevow LivePage) into a set of XML DOM nodes.

AFAICT there's no standard mechanism available, though there's an article which ...

Continue reading