Fix for: Macromedia Flash not playing sound in Mac OS X

Posted to the in-case-you-have-this-problem-too department.

About 6 months ago, Flash stopped playing sound for me. This was terrible: I watch a lot of Flash animations! This aggravated me to such an extent that I went so far as to re-install OSX (which I needed to do anyway, after a semi-botched upgrade to Tiger).

Today, the same thing happened again. Argh! However, this time, I was able to enter in the correct combination of keywords on Apple Support’s search page, and found this article:

http://docs.info.apple.com/article.html?artnum=300832

1) Open Audio MIDI Setup (/Applications/Utilities/), then check the Audio Output setting.

2) Change the Audio Output setting to 44100.0 Hz.

3) Quit Audio MIDI Setup.

It solved my problem! Not sure which Application was the culprit that change that setting to begin with (GarageBand? OS X upgrade?), but I don’t care, its fixed!

Update: also mentioned here.

X is a Java fad

spud:  On Spring: http://crazybob.org/2006/01/i-dont-get-spring.html
conor: java development is so faddish
spud:  as opposed to... ruby? 
conor: ruby is a java fad

I feel a great disturbance in the Gravitational Force

If they manage to get this hyper-space propulsion idea going, it would be like… like… as if millions of sci-fi fans suddenly cried out in joy and then smugly smiled.

Link (via Slashdot, digg)

An idea for a better world.

Okay, this would be the greatest thing ever: every TV manufacturer in the world agrees to put the buttons on the top of the TV, where little fingers can’t reach them.

Although I haven’t tied Peter’s suggestion yet: Just turn your tv upside down and swap the connections on the tube.

Tea in china? n00bs in India? Namespaces in .NET?

Some questions just cannot go unanswered. http://www.cenqua.com/forums/thread.jspa?threadID=1877.

H5N1 vs the world

A recent IM conversation:

matt: I'd better not have H5N1
bjd: I'd better not have I18N

Cracked me up, anyway. And in other news, I recommend pseudo-ephedrine plus a strong coffee for all your head-cold needs.

Civilization IV here I come

It is probably best to make clear that I’m a hard-core Civilization fan. I’ve spent large slabs of my life playing each of the first three versions, large slabs that are measured in metric tons. Everyone say it with me: just one more turn.

So it was always a given that I’d be buying Civilization IV when it came out. And that is not even taking into account how great it actually looks; Python-based mod’s, better multiplayer and team-play, civics, religion and … the removal of corruption!

Civ IV is due to be released Nov 3, suffice it to say I’ve pre-ordered my copy. But after pre-ordering, I thought I’d better check if I’ve got a beefy enough box to play it. That was an instant “D’oh” because I don’t have a DVD-ROM, but that is easly fixed for less than $40 at the weekend computer markets. Civ IV’s system requirements state you need “Video hardware transform & lighting”. Couldn’t quite work out if my tried-but-true GeForce4 MX 440 qualified, but didn’t want the game turning up and then not being able to play it instantly because of my grahics card.

That’s when I came across www.srtest.com. They sorted me out: yep, I do meet the minimum requirements.

Don’t bother emailing me in November.

The Spuddy Show

So, I’ve finally got around to making another animation. Enjoy.

Things mentioned in the show:

  • Artima.com podcast with Gavin King. Link
  • Sun ad campaign story. Link

Oh, and yes I do know I am speaking too fast in some parts. But you get that (i.e. I’m not fixing it). For those that are curious, the phrase in the opening paragraph is “pure virtual function”.

And if you hadn’t noticed, the whole format of “the show” is from Comedy Central’s Daily Show. Link. (Love that show!)

An IDEA Live Template for iterating through a BitSet

I love IDEA‘s Live Templates, and I often find myself using java.util.BitSet. The BitSet javadoc describes a neat way of iterating through the 1 bits, and I do this often enough that it warranted a custom Live Template. Now all I need to do is hit itbs<TAB> to have this code automagically appear.

The template looks like this:

for(int $INDEX$ = $BS$.nextSetBit(0); $INDEX$ >= 0; $INDEX$ = $BS$.nextSetBit($INDEX$ + 1)) {
  $END$
}

I’ve captured a few screenshots since you also have to setup variables for $INDEX$ and $BS$.

Today at the virtual water cooler

spuddy: O...M...G... the download for IBM/Rational RAD 6.0 (based on eclipse) is 1.4GB
bph: what the fucking fuck
spuddy: I think it includes websphere or some thing
bph: it would wanna have some kick ass easter eggs at that size. like a MMOG or something