JavaOne is a Hot Zone

Wide Awake - Fri, 05/09/2008 - 19:44
Apparently, there's a virus attack. Not a computer virus. A real virus. Hot zone instead of a hot spot.From my inbox this morning:The JavaOne conference team has been notified by the San Francisco Department of Public Health about an identified... michael
Categories: Tech

Grab Bag of Demos

Wide Awake - Fri, 05/09/2008 - 18:54
Sun opened the final day of JavaOne with a general session called "Extreme Innovation". This was a showcase for novel, interesting, and out-of-this-world uses of Java based technology.VisualVM VisualVM works with local or remote applications, using JMX over RMI to connect... michael
Categories: Tech

Code, Test, Fix, Rinse, Repeat

WGBH - Fri, 05/09/2008 - 15:21

Been a low-key week here at WGBH Online World Headquarters, or as we call it WOW HQ.

The big event of the week: I got a haircut. All that goofy hair on my head was making it hard to think properly, so I had quite a bit of it lopped off. Things should really start picking up now.

Pete and I have been finishing up our first pass at the TV schedule pages (a multi-channel grid, full day schedules by channel, and a Programs A-Z list). Doesn’t sound like much, just three pages (basically), but there’s quite a bit involved, as you might imagine.

The plan is to get these pages in shape and then post to our test suite for a preliminary round of testing. This testing will be done by people other than Pete and I and the purpose is really just to evaluate how well the data is being imported from PBS. We haven’t worked up a formal test plan yet, but it will most likely involve comparing the WGBH schedules on PBS.org (which use the exact same TV Guide data) to the schedules we’re producing with the new code. We won’t yet be testing the ability to modify this information locally.

Needless to say, testing is just an annoying formality. The odds of there being any bugs in our code are minimal.

I’ve also been working with our new project manager Louise (Hi, Louise! I know you’re reading this…) to help fully flesh out the project tasks and schedule. That’s been a long process but I think we finally have all of the pieces laid out and scheduled.

In addition to the schedule page testing, we’ve also blocked out a longer period of time for full functional testing after we complete all of the development for this module (i.e. schedule pages and program and episode pages), as you would expect. Again, that’s testing outside to be done by others distinct from the unit testing that Pete and I do during coding. We thought about trying to break out functional testing into a more discreet chunks, but given the relatively small size of this project, it didn’t seem to make sense.

OK, I gotta go wrap up these schedule pages. Don’t forget to call mom on Sunday! I mean your mom, not mine. I’ll handle her.

Categories: Drupal, Tech

SOA: Time For a Rethink

Wide Awake - Thu, 05/08/2008 - 22:00
The notion of a service-oriented architecture is real, and it can deliver. The term "SOA", however, has been entirely hijacked by a band of dangerous Taj Mahal architects. They seem innocuous, it part because they'll lull you to sleep with... michael
Categories: Tech

The JVM is Great, But...

Wide Awake - Thu, 05/08/2008 - 20:29
Much of the interest in dynamic languages like Groovy, JRuby, and Scala comes from running on the JVM. That lets them leverage the tremendous R&D that's gone into JVM performance and stability. It also opens up the universe of Java... michael
Categories: Tech

SAP's SOA ESR

Wide Awake - Wed, 05/07/2008 - 19:01
SAP has been talking up their suite of SOA tools. The names all run together a bit, since they each contain some permutation of "enterprise" and "builder", but it's a very impressive set of tools.Everything SAP does comes off of... michael
Categories: Tech

Type Inference Without Gagging

Wide Awake - Wed, 05/07/2008 - 15:34
I am not a language designer, nor a researcher in type systems. My concerns are purely pragmatic. I want usable languages, ones where doing the easy thing also happens to be doing the right thing. Even today, I see a... michael
Categories: Tech

When Should You Jump? JSR 308. That's When.

Wide Awake - Wed, 05/07/2008 - 05:10
One of the frequently asked questions at the No Fluff, Just Stuff expert panels boils down to, "When should I get off the Java train?" There may be good money out there for the last living COBOL programmer, but most... michael
Categories: Tech

SOA at 3.5 Million Transactions Per Hour

Wide Awake - Tue, 05/06/2008 - 21:47
Matthias Schorer talked about FIDUCIA IT AG and their service-oriented architecture. This financial services provider works with 780 banks in Europe, processing 35,000,000 transactions during the banking day. That works out to a little over 3.5 million transactions per hour.Matthias... michael
Categories: Tech

The Future of Virtual Worlds

RealityPrime - Tue, 05/06/2008 - 18:45

So my friend Cory Ondrejka (co-creator of Second Life) started an interesting thread last week that I didn’t see covered as widely as it should. Here are his slides — alas I didn’t get to hear the narration that went with it, but I can guess.

| View | Upload your own

What he seems to be describing is apparently not too far from what I’ve been writing about for a while. The part I’m still skeptical about is the life-logging, and probably because of my own preference for privacy. You’ll notice I don’t twitter. I have a hard time believing anyone would even care to follow what I do from moment to moment. And I think careful editing is the secret to any compelling narrative. I just don’t want to put gigabytes of sub-standard, often mundane, prose out there into the digital firmament.

But putting that aside, the germ (and/or gem) of what he’s saying, and the part I totally agree with, is this notion of a pervasive synthesis of augmented, mirror, and alternate realities — no need to distinguish between those arbitrary categories. Turns out, there’s an old word for this which I think we can now safely revive to summarize the intent:

magic

(more…)

Categories: Tech

Project Hydrazine

Wide Awake - Tue, 05/06/2008 - 17:56
Part of Sun's push behind JavaFX will be called "Project Hydrazine".  (Hydrazine is a toxic and volatile rocket fuel.)  This is still a bit fuzzy, and they only left the boxes-and-arrows slide up for a few seconds, but here's what... michael
Categories: Tech

JavaOne: After the Revolution

Wide Awake - Tue, 05/06/2008 - 17:37
What happens to the revolutionaries, once they've won?It's been about ten years since I last made the pilgramage to JavaOne, back when Java was still being called an  "emerging technology".Many things have changed since then. Java is now so mainstream... michael
Categories: Tech

Who Ordered That?

Wide Awake - Tue, 05/06/2008 - 00:29
Yesterday, I let myself get optimistic about what Jonathan Schwartz coyly hinted about over the weekend.The actual announcement came today.  OpenSolaris will be available on EC2. Honestly, I'm not sure how relevant that is. Are people actually demanding Solaris before... michael
Categories: Tech

Dynamic Docstrings

parsed.org - Mon, 05/05/2008 - 17:00

Apparently Python only recognizes a doc string a litteral string placed after a function definition, meaning it won't accept an interpolated string, or even 'a'+'b', for whatever reason. For example:

>>> def doc(): ... '''Useful info. Note: %s''' % 'You'll never see this.' ... print doc.__doc__ >>> doc() None

To work around this you must explicitly set __doc__. Example:

>>> def doc(): ... doc.__doc__ = '''Useful info. Note: %s''' % 'Bacon is yummy!' ... print doc.__doc__ >>> doc() Useful info. Note: Bacon is yummy!
Categories: Tech

Sun to Emerge from Behind in the Clouds?

Wide Awake - Mon, 05/05/2008 - 02:48
Nobody can miss the dramatic proliferation of cloud computing platforms and initiatives over the last couple of years. All through the last year, Sun has remained oddly silent on the whole thing. There is a clear, natural synergy between Linux,... michael
Categories: Tech

PostgreSQL Authentication

parsed.org - Sun, 05/04/2008 - 13:59

If you intend to use passwords for local database authentication, you'll need to make an adjustment to the pg_hba.conf file:

# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD #local all all ident sameuser local all all password
Categories: Tech

Display files by size

parsed.org - Sun, 05/04/2008 - 13:59

For example, to display the 20 largest files owned by joe:

find / -printf "%k\t%p\n" -user joe | sort -n | tail -20
Categories: Tech

Useful Exim commands

parsed.org - Sun, 05/04/2008 - 13:59

display the route from your server to any email address:

exim -bt email@domain.com

send an email using exim:

exim -v email@domain.com

show the number of emails in the queue:

exim -bpc

display the mail queue:

exim -bp

flush queue:

exim -qff &

view a particular mail in the queue:

exim -Mvh msgid (for headers) exim -Mvb msgid (for body)
Categories: Tech

Gvim Configuration

parsed.org - Sun, 05/04/2008 - 13:59

On a new windows install I'll always drop in these entries for startup configuration:

" general settings set sw=4 set ts=4 set et set nohls " lhs comments map ,# :s/^/#/<CR> map ,/ :s/^/\/\//<CR> map ,> :s/^/> /<CR> map ," :s/^/\"/<CR> map ,% :s/^/%/<CR> map ,! :s/^/!/<CR> map ,; :s/^/;/<CR> map ,- :s/^/--/<CR> map ,c :s/^\/\/\\|^--\\|^> \\|^[#"%!;]//<CR> " wrapping comments map ,* :s/^\(.*\)$/\/\* \1 \*\//<CR> map ,( :s/^\(.*\)$/\(\* \1 \*\)/<CR> map ,< :s/^\(.*\)$/<!-- \1 -->/<CR> map ,d :s/^#//<CR> " screen location & dimensions winpos 50 50 set lines=30 set columns=120 " squirrel away backup files set bdir=c:/backups set directory=c:/backups

Note: You'll need to create the backup folder before you can use it.

Categories: Tech

Opening Files in VIM

parsed.org - Sun, 05/04/2008 - 13:59

When you're choosing a file to open in vi(m), you can limit your search to a mask:

:e *.pl[tab]

At this point you're only tab'ing through the .pl files.

Categories: Tech