Work.

I don’t usually talk much about work and stuff I do there, because, honestly, no-one is interested.

I’ve been doing some research the last couple days about how to deal with some tricky little issues in swing – we have some designers at work who work with us and then design storyboards based on how they think things should work. Then it’s up to us to figure out a way to make it happen. Here’s the problem I’ve been working on for our thick client (Java/Swing). Let’s say that I have a JTable and I want to have multiple things appear in a cell.. for our example, we have a person’s name in column one, and a list of the foods they like in column 2. So far, so good, right? You make a multi-line renderer with a text area or Jlist, and have it calculate the appropriate size, etc.

Now it gets tricky. What if the user should be able to select one food from the list inside a single cell?

And then drag it out into another component.

Not easy but doable.

—–
COMMENT
AUTHOR: Rob [Visitor]
DATE: 04/08/2006 04:29:08 PM
Oh yes HHH one of my favorites.
“All the goood themes have been done. Used up, and turned into theme parks.” Maybe a theme park is what we need here. Maybe we just need to get away from the whole mess we call wrok and life for a while. There is an interisting question in this post somewhere I think. What would we do if money didn’t matter and we were left up to our own devices to do what we wanted to do with our day. I know if I was not driven by the need for a paycheck I would do something else with the daylight hours
—–

Elvish Catholic Orthodox.

Chris and I were talking about weddings and marriages and I had an interesting question, or, perhaps thought-stream would be more accurate.

Let’s take the D& D realms and have a posit:

1) Assume that there is an Elvish Catholic Orthodox church.
2) Elves can’t be resurrected.

Now we get to the real interesting thing: In catholic wedding ceremonies, there is a “till death do us part” clause (looking at it from the POV of a contract. If one of the two dies, the other is effectively ‘released’ from the contract.

Now, let’s just say that two humans(Sam and Suzie) convert to this religion, and are married. Sam stays home, and Suzie dies fighting a grumpy troll. She is later resurrected. Meanwhile, Sam, trying to cope with Suzie’s untimely demise has sought the comfort of Arwen, a comely elven lass. Suzie returns and finds Sam locked in some unforseen pose with Arwen and a feather duster, and is incredibly mad. She attempts to ‘divorce’ him and take him for all his inherited wealth, citing grounds of adultery.

Sam countermands with the fact that once Suzie died, they were no longer married, and he was free to seek out any companionship that he desired.

Now throw in the fact that Arwen is really a money grubbing floozabel who has no desire to be with Sam, and in fact has her eyes on Elhand the Half-Elf gardner from next door.

Does the fact that Suzie died nullify the marriage, or does the ressurection constitute grounds on which the marriage is still legal?

—–
COMMENT
AUTHOR: Jason [Visitor]
DATE: 04/07/2006 12:59:13 PM
I’m pretty sure that when the death trigger was invoked the marriage was set to NULL and when the resurrect human callback subsequently occurred trying to access the marriage caused this exception. I recommend a reboot to clear memory.
—–
COMMENT
AUTHOR: dworst [Visitor]
URL: http://dworst.blogspot.com
DATE: 04/04/2006 07:22:20 AM
Before I can make my final opinion, I need to know what color was the feather duster?

—–

Saturday Morning Passion

It’s saturday morning and I’m waiting for the conference to begin. I really like coming to conferences because they get me excited about what I do again, even if it’s just for a little bit. When I was younger, I really liked work. I loved coding and I did it even in my spare time. Now, I’ve almost completely lost that, as I’ve transitioned into a bitter career programmer. I know that there are people that really do well and love it, but I don’t know how to keep that spark. The thing that kind of struck me was two speakers: Bob Lee, from Google, and Justin Gehtland, from… I don’t remember (and I’m writing this offline, so I will need to go look it up later). They both had really interesting talks, and both are fairly young (+/- 5 years of my age, I’d guess) – and they both have tons of accomplishments. Books, architecture, speaking engagements, working for cool companies. I wonder where they find the time, as well as how they keep the interest in what they do. I’m not interested in what I do, most of the time. I don’t have very many stimulating conversations (technical ones, anyways) and I don’t usually have the desire to code or work on tech stuff once I’ve left work. Come to think of it, I don’t have much desire when I’m at work either, but i doubt very much that I’m alone on that one. I think that in the next couple weeks I really need to spend some quality time thinking about what I want to do for a living, long term. (Or more commonly known as ‘When I grow up.’) Because if this is it, then man, it stinks. I want to have the same burning fire and desire to do stuff that I had when i was young. When I would stay up all night hacking on some piece of arbitrary code – for me, not for anyon e else. I remember my first real ‘shipping’ application, now forever lost. It was a character editor for Ultima 4, that I wrote in C and Borland C Builder. It had a nice UI, nice everything. I sometimes wonder what ever happened to it (I’ve lost it a long time ago.) I can remember spending HOURS just hacking the code that read out the characters into the right Struct. (I was fairly new to C at the time) with no documentation. Load the bytes. Twiddle the bytes. Save the bytes. Launch U4. Load the game. examine each character for changes. I can even remember being in College and working on my labs and term projects for fun. Handing in my final project in the first month of the semester. I Enjoyed it. I LOVED it. Now it’s rare that I get really motivated about stuff. I need to find a project that I really need. Something that I really want to take part in, and really start to buckle down and work on it. Spend time coding for FUN. I also have been trying to come up with a book proposal to submit to some usual type people (Addison-Wesley, O’Reilly, etc.) but it is difficult to come up with an idea for a book that doesn’t seem to be done already. To quote HHH: “All the goood themes have been done. Used up, and turned into theme parks.” Of course he next goes on to say something about blindness and blandness and doing crazy shit, but maybe that’s exactly what I need. I guess I’m just not happy at my job. I’m not challenged, I’m not learning too much, and I’m definately not thrilled about the management in general. Until next time, gentle readers: Remember to eat your cereal with a fork, and do your homework in the dark.

—–
COMMENT
AUTHOR: Rob http://www.robspain.com/blog [Visitor]
DATE: 04/08/2006 04:32:22 PM
Oh yes HHH one of my favorites.
“All the goood themes have been done. Used up, and turned into theme parks.” Maybe a theme park is what we need here. Maybe we just need to get away from the whole mess we call wrok and life for a while. There is an interisting question in this post somewhere I think. What would we do if money didn’t matter and we were left up to our own devices to do what we wanted to do with our day. I know if I was not driven by the need for a paycheck I would do something else with the daylight hours
—–

Java Symposium

I’m in Las Vegas attending a Java Server Symposium and it’s really amazing. The speakers have mostly been really good, and the topics and information has been great as well. I’ve started a list of stuff that I want to look at more, and so far it reads:

Annotations, JSF integration tools Spring, Webworks, SEAM, i18n messages, crazybob.org, Apache’s Maven, RIFE, Hivemind, Cocoon, Shale/Clay, Tapestry, Java Studio Creator 2, JSON, Greasemonkey, JAX 2 and Jax WS, Apollo and Avalon.

And that’s just the first day.

The stuff about AJAX has been the best so far. The first AJAX talk today showed how they could use AJAX, client side only, to implement a very basic Google Maps application in < 200 lines of code. Wow.

More as my brain unwinds.

Oh, and apparently you can gamble here?

—–