eric’s extremeboredom

adventures into and out of extreme boredom.

Post archive for ‘Software Development’

Simplifying Gtk# IdleHandler

One of the problems with using Gtk# is that Gtk/X are not thread safe, meaning you cannot manipulate the GUI from another thread and expect it to work very well. To get around this, there you can have GLib run methods in the main loop by using GLib.Idle.Add. In windows, Form.Invoke performs the same task, [...]

A preview of things to come…

More details to come soon :)

Meshwork meet C#

So I finally broke down today and converted libMeshwork from VB.net to C#. I used SharpDevelop which has a converter tool. Unfortunetly it’s quite incomplete and still left me with about 6 hours of cleanup work (over 700 build errors). The main problems were: Doesn’t convert MyArray(index) to MyArray[index]. Manually replacing hundreds and hundreds of [...]

New Meshwork Updater

Those of you who test Meshwork will be very happy to know that I wrote a brand new auto-updater that’s simple, fast, and much more efficiant than all preveous attempts. Rather than just compare version numbers, it compares MD5 hashes of each file, so it won’t download unchanged files for no reason. Files are also [...]

Encryption in Meshwork

So I’ve decided to start blogging about Meshwork, since thats what I spend most of my time on anyway. I’ve created a seporate category for Meshwork Development posts, however I’ll mark all posts under “Software Development” as well. I finally got around to get socket< -->socket encryption up and running in Meshwork. It’s currently 192-bit [...]

FastOpen & Custom keyboard shortcuts with metacity

So I noticed FastOpen on GnomeFiles today, which is a simplified (and much faster) run dialog replacment for gnome. It’s written in C# so I can hack it to do exactly what I need, which is basically nothing (I dont like automatic completion as you type, etc). For some reason I never thought about remapping [...]

BlogX on Mono

In the GotMono IRC channel someone mentioned that the RSS feed in BlogX (An asp.net blogging application) doesn’t work in mono, so I set out to fix it… I found several problems with the code, as well as several questionable coding practices. Concatinating a “/” and another string instead of using Path.Combine (Windows and Linux [...]

GnomeAgent Website

Here’s another little tool i’m working on, it’s an ssh-agent/ssh-add frontend for GNOME. It’s actually avaliable for download so go check out the website!

Digitally signing Windows applications

So one of the changes in Windows XP SP2 (That I highly highly recomend everybody download and install) is an increased presense of the digital signature support for signing applications. I decided not to be an outsider and start signing all Meshwork code. Read on for how I did it… Authenticode works exactly like SSL, [...]

gMeshwork Network Map

So I ported all the network map code from vb.net to C# and restructured it so it can be used cross-platform. It’s not completly done yet but I managed to get initial rendering to work! The basic idea now is that all the painting methods reside in NetworkMapCommon which is then inherited by a class [...]