Category archives: Snaking
Discussions of programming, particularly of programming Python
PyGTA this Tuesday (ctypes-ing the night away...)
Written by
on
in
Snaking.
Peter Hansen, one of the original founders of PyGTA will be discussing, among other things, Engenuity's use of ctypes. Normal place and time (7pm, Third Tuesday of the Month).
Involuntary upgrade (Eric3 install hosed on the work laptop...)
Written by
on
in
Snaking.
Came into the caffe intending to "install" the little laptop and then get a few hours of billable work in so that I can pay the rent and buy some cookies. Instead it turns out that I mistakenly allowed Gentoo to upgrade the qt/PyQt version on this laptop when doing a system update.
I could ...!-->!-->
Use sys.settrace to animate Python code? (Evil ideas that cross one's mind...)
Written by
on
in
Snaking,
Young Coders.
To make a GUI/text IDE work similarly to the Logo-style animated execution you'd need to make the Python code work more slowly than normal. You could probably hook up a sys.settrace that stops when you finish a given operation and waits on a message from the GUI that it's drawn the results (and waited for ...
I want the perfect IDE for kids (Or do I?)
Written by
on
in
Snaking,
Young Coders.
A couple of things over the last couple of days have focused my mind on the question of IDEs.
The first is moving to Eric4 from Eric3. The change isn't really all that much, in fact, in the pieces I use there is no particular advantage to the new version (other than that it builds ...!-->!-->
Eric 4 builds nicely on Gentoo (With some PORTAGEDEV stuff...)
Written by
on
in
Snaking.
Finally got around to updating to Eric 4 on the home workstation/server. Nice looking, though I basically turn off the bulk of the features save the project and file-editing views, and it seems a bit slower and less "snappy" than the Qt3 version. At the moment it doesn't work with my project-management script, so I'll ...
Ctypes for C++ is going to be a pain due to politics (Bothering language creators is fun...)
Written by
on
in
Snaking.
Why can't we have compatible C++ name mangling and/or introspection/reflection such that we could write an FFI library for C++ similar to ctypes for C?
Dr. Stroustrup seemed to be of the mind that there is no technical reason not to be able to do it, but that the individual compiler writers and platform developers ...!-->!-->
Compiled GLE DLL for Win32 (For the compiler-less masses...)
Written by
on
in
Snaking.
I managed to get the regular Toolkit compilation toolchain all configured and ready-to-go this morning. Result is that we now have a pre-compiled GLE DLL available for Win32 for use with PyOpenGL 3.x. Still missing a pre-compiled TCL/Tk extension (Togl) to get to full coverage of the PyOpenGL 2.x functionality.
Need to look at the ...!-->!-->
PyGTA on Tuesday (CSound for Python)
Written by
on
in
Snaking.
Seneca is currently in the midst of trying to get CSound's Python binding to build. She's going to try to have a presentation ready for Tuesday on how to use the library, particularly her experiences in trying to put together a Theremin-like control mechanism for the laptop.
No luck getting OpenGL docs built (Tools just not working...)
Written by
on
in
Snaking.
xsltproc and saxon are producing mutually unintelligible files and/or taking dozens of computer-hours of processing time to do the merge. Bit of a PITA, especially as these are the old source documents still (haven't received word back from the OpenGL board guys about using the 2.1 documentation set) so I will need to re-do anything ...
Should do some work on the PyGTA site (At least replace the front page...)
Written by
on
in
Snaking.
Sent off the cheque to pay for the pygta.org domain name yesterday. Would be nice to have the key information on the front page (e.g. our regular meeting time), some basic who/what/why/when/how information too would be good for the front-page. Guess I should find some time to work that up and ask Peter to update ...