Currently Browsing Programming
Timing C/C++ Code on Linux
For my last post, I played around with C++ and a little programming competition. While on the topic, I decided I’d get slightly more serious and enter the next challenge.
One of the things that slightly annoyed me during the process is having to compile/run the program on Windows to enter the competion, while I’m [...]
The Difference Between Dijkstra’s Algorithm and A*
Over the last couple weeks, I’ve had an interest in brushing up my C++ skills. Friday, I came across a programming challenge that looked somewhat interesting and I thought I’d give it a shot.
The object was to find the lowest cost route between 10 cities encoded in a map of integers. Each integer [...]
GTK+ programs with GtkBuilder and dynamic signal handlers.
Well, I decided to review some GTK+ and Gnome development lately. With GTK+, a nice way to create a user interface is with the Glade Interface Designer. Glade produces an xml file with a glade-interface element that can be loaded by libglade. You can then change attributes of the user interface without [...]
Using YUI to Create Nested Tabs
Recently, I was browsing the YUI JavaScript forums and found a post about nesting the tab control. I haven’t done that before personally, but have done things where my tabs had Ajax or DHTML dependencies inside the tabs. I decided I’d take a whack at this one and see what I could come [...]
Using Multiple Python Environments With Gentoo
It’s been some time since Python 2.5 became stable and released. Version 2.5 has plenty of new features that have helped me in deciding that it was time to go ahead and start using it for primary development of all my new projects. One of the reasons I was still using version [...]
Using YUI components in a templated environment
If you develop sites anything like I do, you’ll end up setting up a site wide layout and theme before you start coding any individual pages. I like to add YUI components where they are useful, but I’ve come across a couple little quirks that were annoying me. Here are my observations and [...]