Quick Maven Primer for Java Development

I wrote this up for the NetRexx mailing list, but it’s a good basics article for anyone wanting to get a quick glance at Maven‘s operations.  I’m not trying to come up with a better Maven, I’m just giving a quick description. Continue reading

Posted in java | Tagged , , , , | 4 Comments

Fun Readings

Swing, James Bond, interface design, Dresden, an Elizibethan England children’s novel, and more — it’s all good.

Posted in Books | Tagged , , , , | Leave a comment

The Clumsy Pattern: Passing Data Around

In the long-awaited part 2 of The Clumsy Pattern, I discuss how we pass around data and objects around — remote server communication. Continue reading

Posted in The Clumsy Pattern | Tagged , , , | Leave a comment

Android Development Quick-start

I’m trying to pick up a bit of Android development experience. Here’s some tips for getting started from scratch.  I have a lot to learn… Continue reading

Posted in java | Tagged , , , | Leave a comment

The Definition of Good Software

In my mind, the definition of well-made software is this:  The absolute minimum required to get the job done.

There’s a little agile in there, relating to software design minimalism.  That’s not what I’m getting at.  Whether you are developing something new, or fixing something broken, deliver the very least you must for the desired outcome.

I did not say to do the least amount of work required, I said deliver the very least required; go quickly and completely in the direction you must move.  Destroy that bug, hack that web page, do something terrible and glorious.  After getting it working, though, take that next step, and wash all the mud off what you just did.  That is, minimize the actual changes you’re about to apply.  Make sure every change makes sense and is required.  Don’t lump another change or some code reformatting in just for “because it needs to be done eventually”.  Focus on only what you are doing.

It is a massive accomplishment to delete code from a working system and still have a working system.  It is thrilling, and you’ve saved yourself and “the next guy” a lot of trouble in the future.  This applies whether you are fixing a bug or making something completely new.

Posted in Technical | Tagged , , | 1 Comment

JavaFX: Getting the Frame of a Stage

The JavaFX Stage class, version 1.2 has some simple methods for dealing with focus, toBack() and toFront().  What it is lacking is a way of setting the “always on top” property, to force the window to the front.

A quick search revealed several hacky things, but when I read Rakesh Menon’s Always On Top post to the end, I found the tidbit I needed:  java.awt.Frame.getFrames().  It’s a static method that lists all AWT frames in use by the system.  So, for as long as JavaFX uses AWT/Swing (not too much longer, apparently), we can use that.  Here’s the code to get your Stage as a Frame, all above-board.  What you do with it is up to you.

function getFrame(frameName:String):java.awt.Frame {
    var frames = java.awt.Frame.getFrames();
    for(frame in frames) {
        if (frameName == frame.getTitle()) {
            return frame
        }
    }
    return null;
}
Posted in java | Tagged | Leave a comment

Not fixing the Xbox 360?

I broke down and bought a new Xbox 360 Arcade unit to replace my variously failing boxes.  If you remember back just a bit in time, I tried a couple of strategies to fix my machine.  They all worked — for a time.  The time the fix worked, however, was variable, ranging from 5-30 hours for a good fix, and as short as 30 minutes for a bad fix.

I’ve spent a lot of time on the boxes, and unfortunately, the time I spent fixing seems to have eclipsed the time I spent playing.

The thing I’ve found most fascinating about the process is that, while buggy, the 360 hardware is quite resilient.  With enough twiddling of screws, I can get a box up and running quite consistently.

Posted in Games, Technical | Tagged , , , , | 2 Comments

A Small Token of Our Appreciation

The Company was pleased with our performance last year.  So they went against everything we’ve been teaching our kids, and gave us candy pills.

That’s Jelly beans on the left, mints on the right.  Or so I hope.

Posted in Family | Tagged , , | Leave a comment

A good and bad thing about Buzz.

One cool thing about Buzz: I get more replies than before on my posts.

One bad thing about Buzz: Those replies are on the Buzz server, not here.

Continue reading

Posted in Technical | Tagged , | Leave a comment

The Clumsy Pattern: Software Development

I haven’t formulated exactly what I’m going to say, but I wanted to start a series on the Clumsy pattern in software development.  Don’t get excited, I’m neither adopting patterns as a beloved thing (that sentence needs its own post), nor am I trying to establish a new industry term.  I’ll do a Clumsy Pattern post when I come across things that are so archaic or broken that they have no right still existing. Continue reading

Posted in The Clumsy Pattern | Tagged , , , , | Leave a comment

Well, they're now on the list, anyway…

Alternate titles for this post:

  • How Gamestop ruined my Valentine’s Day
  • Gamestop Made Me Do It
  • I’m an Idiot

Continue reading

Posted in Family, Games | Tagged , , | Leave a comment

Design Work…

I just picked up three books on Design, based largely on the recommendations in the JavaPosse Roundup 09 sessions on the topic.  I haven’t read them yet, but just perusing them makes them look to be a lot of fun.  Continue reading

Posted in Books, Technical | Tagged , , | Leave a comment

Fixing the XBox 360

I thought I was in the clear as far as the 3 red lights goes for the XBox 360… it happened, I was under warranty, Microsoft send a cardboard coffin, and I sent it back.  End of story.

Oops, it happened again.  There’s no free lunch this time.  Even if I paid the $100 to MS to repair it, they would only give a 90 day warranty on their work.  So, either buy a new one (with a massive extended warranty, of course) or try to fix it myself.  After attempting to buy a new Arcade unit for $200 at K-Mart twice, but failing both times because they were out of stock, I went the fix route.

Continue reading

Posted in Games, Technical | Tagged , , , | 3 Comments

Podcast Rotation

I just wanted to capture the current set of podcasts I listen to. I commute two hours a day, and this set keeps me lightly stocked — Sometimes I run out for a day or two, and I rarely fall behind.

Continue reading

Posted in Entertainment, Games, java, Technical | Tagged , , , , | 2 Comments

Coolish: Mozilla Bespin

I know I’m late to the game, but I was looking over Mozilla Bespin — a web-based IDE with a surprising amount of features, including source control and syntax highlighting.  Right now, it’s all about web techs, with a strong focus on HTML, Javascript, and CSS, but it is extensible and seems like it is headed in the right direction.

Continue reading

Posted in Technical | Tagged , , , | Leave a comment

You're just fooling yourself…

… that you’re cool if you find yourself ever saying any of the following:

  • buff
  • debuff
  • tank
  • aggro
  • DPS
  • AoE
  • Bonus:
    • Tapping
    • Untap

In some cases, you may even be fooling yourself that you’re playing a game.  Seriously, though, I’m a nerd, and listening to people talk like the above makes me want to take their lunch money.

Continue reading

Posted in Games | Tagged , , | Leave a comment

Game Review: Crackdown

Buy.com recently had a great deal on some games and battery packs.  One of the games included was Crackdown.  Here’s a quick review, after playing about half the game.  I get the feeling that Crackdown is one of those games everyone’s heard of, but few have played.  It’s never had a mega promotional campaign, but it’s a solid, well put-together title.  To sum up my feelings about the game: it’s a blast.  And it gets blastier the farther along you get.

Continue reading

Posted in Games | Tagged , , , | Leave a comment

Googly Nexus One — Pricing and Plan breakdown

While looking around for an online loan amortization creator (nice one here), I came across a Google ad for the Nexus One, the “Google phone” that there’s been much buzz about.  Apparently, it just came out today, while the great Snomaggeddon blankets the world (or at least Missouri) and I’ve been oblivious.

Continue reading

Posted in Technical | Tagged , , | Leave a comment

Getting all of Ubuntu to talk through a NTLM proxy

NTLM proxies are relatively common corporate web proxy. It takes special software to pass through it, unfortunately. One must essentially log into an NT domain to get to the web past the proxy. By default, web browsers are the only software on Ubuntu Linux that know how to perform the complex handshake. Many core tools (like apt, etc) cannot do what they need — and your system can’t download software updates.

Continue reading

Posted in Technical | Tagged , , , | 1 Comment

Biting the bullet

Well, we’re going to try out the WildBlue through Dish Network for internet.  *Sigh*.  It feels like a defeat.  I have only heard good things about Satellite internet from one person, and all the anecdotes online are negative.  But at least it is something.

Posted in Family, Technical | 2 Comments