Category Archives: Programming

Example YUI Image upload with YUI 2.6.0

I wanted to add an example of the yuiImgUploader script working with YUI version 2.6.0. If you haven’t read the original YUI Image Uploader page, start there. After that, you can use this page for an example getting the script … Continue reading

Posted in Programming | Tagged , , , , , | 39 Comments

A few open source tips for the Cypress FX2LP (EZ-USB Cy7c68013A)

I’ve had the enjoyable experience of playing around with the Cy7c68013a chip on the Ez-Usb development board for the past few weeks. I thought I’d post a few tips for developing in this type of environment with open source software. … Continue reading

Posted in Hardware, Programming | Tagged , , , , , , | 42 Comments

Sharing git branches

I’ve been learning git lately. Here are a few tips for sharing branches I’ve collected during the past few weeks. Create a branch In git, branches are stored on your local machine. Even the commonly named “master”, is just a … Continue reading

Posted in Programming | Tagged , , , | 4 Comments

Custom Derived Classes for wxPython XRC resources

First of all, this isn’t a topic that is bran new or which requires new documentation. I have learned a few quirks about the process for creating custom controls, panels, frames, and other elements with XRC files in wxPython and … Continue reading

Posted in Programming | Tagged , , , , , , , | Comments Off on Custom Derived Classes for wxPython XRC resources

How much overhead does C++ bring compared to straight C?

The other day, I had a conversation about putting C code onto an embedded chip. I wondered if it was possible to put C++ code on there. The gist of the conversation was that the C++ libraries had a lot … Continue reading

Posted in Programming | Tagged , , | 2 Comments

3 Optimizations for speeding Visual C++ compiled code.

For fun, I participated in a programming contest. Instead of describing the process this time, I thought I’d include a function. Can you guess what it does? I’m changing some of the variable names so it isn’t obvious. unsigned short … Continue reading

Posted in Programming | Tagged , , , , | 2 Comments