• entries
17
6
• views
9660

My posts/images from work or home about my programming projects and experiences with OSS.

## Untitled

Some poppet removed my jernal from the index page.

May you rot in hell poppete.

I'm not posting here anymore because I'm too busy with school & work. I, however, say that the project I'm working on will be sold for a very high price ($600+) to doctors around the world. ## Been busy So far so good. I've been working a lot on some non-GUI related things such as saving profiles in XML and adding configuration options (and making them work.) So a screenshot would probably not show much progress. Here is a mockup of what I would like to have next week ... speaking of, I was approached by my manager (one of them) yesterday and he told me next week is kind of the... well the first deadline. He wants to show this to people and demonstrate it. Anyway, without further ado: By the way, I'm using TinyXML for the XML parsing, reading, and writing. I'm using wxWidgets for almost everything else apart from the GUI. ## Screenshot Current manifistation. Should compile on Mac OSX and Linux. ## I got banned from #afternet I've updated my journal layout to be a little more pretty. Just wanted to let you know. Oh and I got banned from #afternet for mentioniong two websites with goats in tubs that can see girls. ## Nothing to see here, move along... I've got nothing interesting to post about today. I just want my blog to be at the top of the page so my vpenis can grow. If you want somthing interesting to read about, you programmer you, and can relate to then visit Joel on Software. Print it out on paper to digest it fully. Okay bye. I have to go. My hands hurt all day from digging holes. We're putting up a fance to get some privacy in this queer neighborhood. ## Ice-cream and peanut butter I'm depressed today because I didn't get any real work done at all. I just sat around in my cubicle all day fucking around with this little client and didn't get very far at all. So when I go home today I'm going to sit in front of the television and eat my ice-cream and my peanut butter. You see, this whole "Open Source" thing is not as good as it seems when it comes to development tools. Currently I'm using Bloodshed Dev-C++ as my main IDE... for a corporate product. It sucks, it sucks a lot. Crazy. Crazy like a fox, but I'm getting Microsoft Visual C++ 2003 sometime next week when the order ships. We're ordering over$10,000 of stuff from Microsoft: an exchange server, Office corporate licensing... the works.

I'll be a LOT more productive once I get that, oh yes yes yes I will.

Anyway, screenshot from a day worth of "effort":

## It's aliiiiive

I'll be updating my progress throughout this Friday.

10:40am:

Rawr.

~7 morning:

Looking good so far.

## Open letter to Oluseyi

I've seen that Oluseyi has been doing some speculations in his blog about User Interface and usability and I want to get his opinion on what he thinks about my layout for an app I'm developing.

Here it goes.

Hi!

I've seen from your blog that you're doing some UI usability pondering. I like usability, and it's exactly what I'm dealing with right now and I'd like to get an opinion from you on a sketch for an application that I've made.

What you're seeing here is the application I've developing outlined in a recent post of mine.

I'd like to get some opinions from you on how "usable" it is. You can get the Photoshop file if you want to make some changes (witch would be very appreciated) to illustrate what needs to be changed.

The pages on the notepad (a.k.a. tabby control) will have controls such as other buttons, multi-item selector menus, and some images of the Claw device.

I thought about having something like a tree control on the side and switch pages like that, like WinAmp does, but then most of that would be blank. On the plus side I can have sub-pages for every doctor profile.

Any thought on this?

Any thaughts yourself?

## What's going on: developing for the manufactured

I don't usually post non-technical posts, but today I went home early and don't have anything to show (think screenshots,) so I'll explain what exactly what I'm developing.

I work at a company that has lots of doctors that use a computer and a special Claw device to navigate a software package created by Fuji.

The company (sorry, can't say the name) is going to sell "packages" to doctors that allows them to work from home. Basically this is all the equipment that they need. Including:

Dell computer, Optiplex or Dimension
Desk
Chair
Claw device

Currently we are using the OEM provided software, and we can not sell the packages with this software. The company, more specifically one of my managers, wants complete ownership of the software because they are going to brand the device and get a manufacturer to create the devices specifically for us.

I'm developing that software.

It's basically a client application that sits in the Notification Area (http://blogs.msdn.com/oldnewthing/archive/2003/09/10/54831.aspx) maximizes when the icon is clicked. When minimized or closed it goes back the notification area.

I got the Windows Driver Development Kit (DDK) from Microsoft a couple of weeks ago and I'm using the USB HID driver faculties to work with the device. The device is opened using CreateFile and is read using ReadFile. One word of advice: don't ever use overlapped files for device reading; just don't go there unless it's a complete necessity.

It's looking pretty good so far. I'm using wxWidgets as the application framework. I've separated all platform dependant code from non-platform dependent code because. Hopefully one day they will also need clients for Linux or Mac and that's where wxWidgets helps me.

I really urge anyone that needs a good application framework in general, but can benefit from a wonderful GUI manager, should use wxWidgets.

Happy coding!

## Looking better...

So Sizers on wxWidgets are a perfect sollution for a dynamic UI. If you ever wanted to easely make a user interface that dynamically resized it's controls based on the window size then wxWidgets Sizers are for you.

UPDATE:

wxNotebook* notebook = new wxNotebook(this, -1);

wxBoxSizer* topsizer = new wxBoxSizer(wxVERTICAL);
topsizer->Add(notebook, 1, wxEXPAND | wxALL, 5);

wxBoxSizer* buttonszr = new wxBoxSizer(wxHORIZONTAL);

new wxButton(this, -1, "Quit"), 0, 0);
new wxButton(this, -1, "Save"), 1, wxALIGN_RIGHT);
new wxButton(this, -1, "Save && Hide"), 1, wxALIGN_RIGHT);

topsizer->Add(buttonszr, 0, wxALL | wxEXPAND, 5);

SetSizer(topsizer);
topsizer->SetSizeHints(this);

## wxWidgets rules

wxNotebook* notebook = new wxNotebook(this, -1);

Creates a nifty little

... and it's multi platform.

## OSS In the workplace

Well I'm developing some "driver" software right now and I'm glad to say that I'm using Subversion for source control. Even though I'm the only developer here it's still nice to have a reassuring feeling that I can back my shit up on my own server.

I'm also using Dev-C++ and a modified Windows DDK driver that was hacked to work with mingw32, but I'm getting MSVC any day now (it's ordered, but hasn't arrived.)

I'm using wxWidgets a lot, almost for everything: the GUI, I18N code, string searching, and debugging functions.

## Apache 2 on FreeBSD is bad news

Word of advice: Don't run Apache 2.x on FreeBSD 4/5, there is no luck. I've tried Apache 2.x with FreeBSD 4.6,4.10 without success and I just tried running Apache 2 on FreeBSD 5.2.1 for a few days without any good results.

If you're lucky, the child processes are going to core dump every 10 seconds and start up again to dump again later.

If you're one of the unlucky ones, as I am, the Apache processes are going to take (cumulatively) 100% of your CPU time.

Trust me on this one. If you are thinking of running Apache on FreeBSD or thinking of upgrading, don't bother. Give it a year or so to develop and stick to the 1.x branch.

## I'll have somthing interesting here...

Tomorow morning, with screenshots! I promise ;)

## I'll have somthing here

Tomorow morning, with screenshots! I promise ;)

## WTF

I just noticed that the calendar row spells WTF.