SPSSeverna Park Server |
|
HomeStraboSource CodeDogsLinksYou are visitor number 6805 since 03 Aug 04. |
I'm no longer living in my bethlehem apartment and as such my bethlehem server is siting on the tile floor down here in Severna right next to this server. I just need to find the time to plug it in and configure it to connect to the web. DEAD LINK:my bethlehem server contains some older projects i've worked on Index (September 3, 2004)
Package Config pkg-config MSVC support (October 27, 2004)I really enjoy using command line tools, but do find that the ms compiler is nice for the windows platform. It compiles much faster then gcc and appears to create smaller and faster executables. So, I created this patch for pkg-config, so that I can use msvc (cl.exe) on the command line and still enjoy the benefits of using pkg-config and gmake. So, with this patch applied to pkg-config the following is possible:
The patch: pkg.patch Gtk+ ComboBox Designed for Simo [Simple Integrated Medical Organizer] (October 29, 2004)
Not meant to be a replacement widget for the standard GtkComboBox. Just meant to be an alternative design providing
a closer to feel to the GtkCombo, but with the benefits of having an API similar to GtkComboBox. (November 23, 2005
(October 29, 2004
Bug Fiend a Bug Tracker (October 15, 2004)
BugFiend is a simple tool for keeping track of bugs that you do not want to forget.
Decoding DVD into MPEG or AVIAugust 22, 2004)My Grandfather wants to create a home movie from old VHS tape we had recorded to the mac and then burned to dvd. We burned them to a DVD instead of editing on the mac because my Grandfather does not like to use the imovie software. It's too difficult to do what should be simple like dividing a frame or joining a frame. So, we decided to try the editing software in windows. Then we ran into the issue that windows doesn't know how to read from a DVD, at least after hours of searching the web for something that would take the content on this DVD and convert it to a format that my grandfathers software would understand. I was about to give up, when I decided to look to see if Linux could get the DVD content into avi or mpeg. Turns out, I found this handy little script that does exactly what I needed. I used the script to create an avi file and then burned it onto cds that the windows computer can now grab and my grandfather can edit his video. dvdrip.sh You'll need mplayer. I run fedora core 2, and use Dag, freshrpms, and Livna yum repositories. GtkMozEmbed built for win32 (July 02, 2004)I got it to build for win32 against gtk+-2.4 Here's my screen shot GtkMozEmbed For Windows CC Filter (April 22, 2004)
Update: If you are a C or C++ developer you really should look into using ccache. It is an incredible little
tool that will speed up your development times by dramadically reducing the time it takes you to recompile.
cc_filter is a handy little tool my brother Darin wrote and I modified. It'll take output such as:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/linc-1.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libglade-2.0 -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share"\" -g -O2 -c cong-attribute-wrapper.c and turn it into:(CC) -c cong-attribute-wrapper.cIt will also highlight errors in red and warnings in blue. I add the following to my .bashrc to call this whenever I run make
make()
{
/usr/bin/make $* 2>&1 | $HOME/.local/bin/cc_filter
}
GtkGrid work (Mar 21, 2004)
Did some work today on gtkgrid. Added support for displaying row numbers as an optional feature. I also, compilied it on win32, so included in the modified source for GtkGrid is a gtkgrid.def There seems to be a bug in the win32 version, which isn't showing itself on my linux box where cell selection box is being covered up by the gtkcellrenderertext... I hope to get this fixed next but am at a lose as to how to fix it. Seems like the issue is within gtk no gtkgrid :(... I also, tweaked the demo app -screen shots are below Anyway... Update: 3-22-2004Here's my lastest changes to date. It includes some fixes for selection issues with different themes (i.e. the problems experienced with selection in win32 were theme related not platform related). I'll be out of town for about a week hope these patches help. Note: this new patch doesn't require the first patch.
Gtk Spell Checker Box (Nov 20, 2003)I frequently found myself opening gaim to do quick spell checks. So, to save myself from being caught up in needless conversations I wrote this little spell box tool. It would be nice if found the time to make an applet. gspellbox-0.1.tar.gz get gtkspell source GtkSpell rpms: gtkspell-2.0.6-1.i386.rpm Update: (July 3, 2004)I also created rpms for gtkspell for the lastest version you can them here:
Using Gtk+ libraries in windows (win32) (April 27, 2004)I'm working on putting toegether a collection of useful gtk+ resources here for win32 developers interested in using the msvc compilier. gtk+ win32 resources This link should be useful for people interested in using mingw compilier with gtk+ mingw faq-msvcdll Gtk+ MP3 Player - CD Creating Music Center(April 27, 2004)This is a simple music player written in gtk+, with support for burning playlists to audio CDHighlights from this release:
screen shots Plans for the next release
This program works best if cdrecord can run in user mode it depends on the following libraries and applications: The mp3 decoding is based on mpg321GtkTreeView ProgressBar CellRenderer (Aug 24, 2003)Really good GtkTreeView Tutorial I spent too many days trying to figure out how to get progress bars working in the GtkTreeView widget. So, hopefully this page will become easy to find and people won't have to go through the same agony as I did and instead this sample code will make it easy for people to add progress bars into their tree views too :). Here's a very simple application that you can use as an example for using progressbars in a treeview. The source code originated from procman so, don't thank me thank them! I'm just trying to provide a simple example of how to use the progress bar cellrenderer. here's the simple example demonstrating how to use progress bar cell renderers in a GtkTreeView Screen ShotsNOTE:You should avoid using gdk_threads_enter and gdk_threads_leave. It is much better and more robust to use an GAsyncQueue or a pipe to communicate with the main GUI thread. This will lead to easier to understand code and a much easier to maintain project. SO DO NOT USE gdk_threads_enter/gdk_threads_leave As I have in this example. I was still learning how to use gtk+ application with multiple threads when I wrote this example. Also, note that the next version of gtk+ (2.6) should contain progressbar cell renderers anyway. GtkWireless Signal Meter(Aug 24, 2003)My second attempt at writting a GtkWireless app with embeded Signal Meter has prompted me to want to create a GtkWireless Widget that allows people to easily display different attributes about the state of their wireless card. It has a long way to go but I hope this is a helpful start. gtkwireless Screen Shotshere's a recent screen shot of the source in cvsHawk Search Engine (Dec, 7, 2003)I probably should have posted this back in December after we finished... This is a search engine I helped write, my first semester as a graduate student at Lehigh University. here's the source code it's protected by the GPL. search-0.1.7.tar.gz Update (10-20-2005)the crawler code we used crawler-0.5.5.tar.bz2 Google Search with XUL Interface (Aug 27, 2003)This really isn't anything special its just neat to show off how easy it is to build an application using XUL and a nice SOAP interface such as Googles. try it out if you're using a Gecko based browser it should open the xul app when you click here. Otherwise what are you doing at my site viewing it with a non Gecko based browser? Go get one and then come back and we'll talk ;-). here's the source. The reason this doesn't work over the network is because I need to implement it using XUL Remote I also created a python interface for searching google, although its not enable anymore have to find the time to fix this. searching google from my cgi page. google-search.py Parallel Programming Examples For use with a PBS batch system on a beowulf style linux cluster (Jun 28, 2004)I probably wrote these files about 2 years ago now, so it is hopefully safe to post them here. i.e. this is not intended to be used for homework assignments for lehigh university students taking the parallel programming class. it is indented however to help people interested in working with a PBS batch system to follow some working examples. here they are let me know if you have trouble running them: csc376.tar.bz2 You can unarchive the file using bzip2. bzip2 -dc csc376.tar.bz2 | tar -xf. Or with gnu tar: tar -jxf csc376.tar.bz2 Hash Table (Oct 23, 2003)I wrote this hash table its pretty generic and is useful it you are used to std::map but want to use a hash table cause it just fits the problem better then a map. here's a snap shot of what the interface looks like if you are interested in using it:
typedef HashTable<std::string,int,unsigned int, hashstr> StringHashTable;
int main(){
StringHashTable table( 104729 ); // must be a power of two or prime
if( table.inesrt( "hello", 5 ).second ){
printf( "hello is already in the table\n" );
}
return 0;
}
heres the stl like hashtable I know there are
many non-standard hash tables simply because there is no standard hashtable. Now there is another :)
-todd
Want to contact me send e-mail to taf2 at lehigh.edu |
