Explicitly and without apology a marketing vehicle MaryMaryQuiteContrary

Saturday Jan 29, 2005




Happy (belated) Friday everybody!

Time for free stuff!

Puzzler is still on vacation.

That means it's...

the t-shirt hurling contest logo

time to start thinking up ways to propel a t-shirt through the air. That's one way to harness that brainpower until the Puzzler comes back.  Heaven forbid we're not maximizing cranial utilization.

And while you're at it, quick think up a submission for JavaOne. You only have until Monday (Jan. 31) -- that's when the call for papers closes. (remember, I got free stuff on the table for anybody who submits.)

OK.  Time for dessert!

Check out the prizes this week...

the prize package

It's in triplicate... We're going to have three grand prize winners...  Each gets a t-shirt; a hat and a frisbee! (fun,fun,fun!)

(Breaking with tradition) I'd like to dedicate this week's Friday Free Stuff to all those marketing girls out there! Here's to you -- the non-techno gals (and guys)! Here's to not undestanding a word they say and nodding and playing along like you do! Here's to the people out there who get more excited about manicures, bon bons and strappy sandals than they do about OS X, Red Bull and RAM!

I stumbled on this Nerd Quiz... I found out about it on Java Addicts.

Took the quiz...

I am nerdier than 12% of all people. Are you nerdier? Click here to find out!

... and here's my score.

This week's Friday Free Stuff prize3 will be awarded to the first three gals (or guys) who score lower on the Nerd Quiz than me.

(honor system)

Enter* to win* by posting a comment to this blog entry telling me how you did. Extra credit if you can figure out how to post your score.

Remember, Free Stuff is the brand promise of MaryMaryQuiteContrary. (As I have participated in a branding workshop, I am an expert in these kinds of things.)

bon weekend!

mary

p.s. It's truly free. I pay for shipping with stamps that I buy at the post office.

p.p.s. Sorry we've been slipping on the release date for Friday Free Stuff. You're software engineers. You know how that goes... I'll try to do better next week.


Thursday Jan 27, 2005



I've been playing around with MyJXTA for a few weeks now.

It's bascially a reference implementation of JXTA.

Chat powered by peer-to-peer computing is how I explain it.

But Gonzo's got a much better explanation.

Check it out.

Then, check it out.

(or the other way around)

mary

Wednesday Jan 26, 2005


Sun is releasing the Solaris operating system to the open source community.

It's this big Solaris 10 parade.

And we're all watching.

A marching band goes by. The drums are pounding out this beat that makes your insides go wobbly. And it's all about DTrace.  And with the bits out there on opensolaris.org, it makes you want to get up off the curb and do a little happy dance.

(But the guy next to you is doing that. And you realize he looks a little silly. So you wisely refrain from indulging that impulse. )

And there are more bands coming. You can hear them. Solaris ContainersSolaris ZFS; Predictive Self-Healing; Total Linux interoperability; Blow-your-mind performance and it goes on and on.

Meanwhile we've got the bloggers. They're marching alongside the bands. And every once in a while they break stride and stomp out this bad-ass routine that rivets you. It captures all your attention. (And it's got them literally breaking into a sweat.)

We even have the establishment. The people who sit in the bleachers. The opinion makers and self-appointed "in-charge" crowd sitting behind the red velvet ropes giving their discrete little nods.

It's all about the Solaris operating system. It's all about opensolaris.org.

It's all about a development heralds a new era. A harbinger of what's to come. An advancement that will break certain laws of physics -- its echo will be louder than the initial noise it made.

OK... i gotta go...

there's this parade I want to watch.

:-)

mary

So Valentine's Day is coming up.

February 14.

(Back in my single days, I used to hate Valentine's day; that and New Year's Eve... too much pressure... now -- for the past ten years, actually -- every day is Valentine's Day and New Year's Eve. wink. wink.)

Here's the deal...

Through a convoluted string of "I know somebody who knows somebody who knows..."

We are looking for love... Java love...

So the idea is to find real-life love connections that have happened in the Java community. Hey, maybe the initial hook-up happened at JavaOne? (that would play too perfectly into my hands; my hopes aren't that high.)

Which brings us to...

Open Letter to the Java Community Love Birds

Please email me: mary.smaragdis-AT-sun.com.

And tell me about your Java love connection.

(let's keep it clean, people. this is a family-rated program.)

kiss, kiss!

mary

Sunday Jan 23, 2005


Some serious action going on in Jonathan's blog, people.

Gotta check it out.

So you know that big snowstorm that hit the northeast US this weekend.

In Armonk, NY there's no snow on the ground. Not even a dusting.

It all melted.

Check out Jonathan's blog.

You'll find out why.

mary

Saturday Jan 22, 2005



Whose woods are these?

the view from outside my office; snow on trees

I think I know.

(This is the view from my office. It's our first real storm. And oh-so-pretty.)

I got promises to keep, people.

And miles to go before I sleep.

:-)

mary



Happy Friday Everybody!

(just play along, would ya?)

We're going to get right to it....

With the help of a certain techno celebs genius extraordinaire who shall remained unnamed (hint: Java sprung from his head fully formed, like the goddess Athena), I found out about a really neat-o blog.

Please join me in welcoming Matt Quail into that exclusive and tightly-knit community of techno celebs who are my close personal friends.

Matt's blog is awesome. You gotta check it out, people.

Which leads us to Friday Free Stuff!

This week's prize package includes...

the fabulous prize package

  • A gum ball machine donated by the lovely and talented Bao, our very own Sun Developer Network ambassador.
  • A leather business card holder
  • A Duke mouse pad
  • A really fancy notebook that comes with a pen
  • A boxed pen set donated by the lovely and talented Heather at Inner Circle, a program sponsored by one of my all-time favorite Sun execs, Bill Howard
  • A most fashionable Sun Developer Network hat
  • A long-sleeved Urban Adventure t-shirt from the 2003 JavaOne conference
  • And saving the best for last -- Duke (temporary) tattoos! Surprise your loved ones!

This spectacular prize package goes to the person who points me to the most neat-o, jazzy-jaz, unconventional, creative, humorous Java thing out there. It can be anything from stuff like Matt's blog to the ringtone re-mixer to stuff like Qnext. I like visual stuff, in case you want to curry favor with the judge (me).

You can enter* to win* by posting a  comment to this blog entry telling me about your favorite neat-o Java thing and pointing me to it.

Remember: Free Stuff is the brand promise of MaryMaryQuiteContrary. And I've got lots of Duke temporary tattoos.

;-)

Bon weekend!

mary

p.s. *I don't do contests. This is me giving away stuff that I personally own to people I choose. I pay for shipping with stamps that I buy at the post office.

Thursday Jan 20, 2005



I'm going to let you in on a secret. You gotta keep it hush-hush....  don't blow my cover.

Context:

So you know how I personally love and adore all Sun Certified Professionals. Remember how I gave away my primo-super expensive, really nice Java bomber jacket to my favorite Sun Certified Professional for Java Technology. Remember how I gave away my brand-new-still-in-box Sony PlayStation 2 to my favorite Sun Certified  Professional for the Solaris Operating System.

I personally love and adore these guys and gals, people. And it's time to express a whole lot of MaryMaryQuiteContrary love.

Here's what we're going to do....

<whisper>
In the not-so-distant future, I am going to make a surprise visit to a Solaris 10 Early Advantage Training course.  Location: undisclosed. Hint: It will be on the North American continent.

There I away a ton of fabulous prizes.  (And hopefully make friends with some of those up-and-coming techno celebs so that I will be able to say... "I knew so-and-so back when..." )

These guys and gals are clearly on the razor edge of the next big wave. Evidence: they are enrolled in the Solaris 10 Early Advantage Training Program. They know which way is up. They know how to get there.

And am in the midst of orchestrating a little extravaganza that will surprise and delight them.

It's going to be like a cross between Candid Camera and Who Wants to be a Millionaire.

</whisper>

You want in on this deal?

:-)

mary

p.s. this is going to be so much fun!!

Wednesday Jan 19, 2005



This you're not going to believe but I swear it's true...

I got big time email inbox exitement going on over here, people and i just can't contain myself anymore.

I think I'm going to pop.

Guess who sent me email. Guess who typed the name mary.smaragdis-AT-sun-DOT-com, composed an email which included some words and an explanation point (!) and then hit the send button.

Oh, I can't even believe it, but it's true.

OK, here's a hint.

Here's another one.

I'm just beside myself.
So if you can even believe this (and frankly I'm still in denial that he actually even talked to me), he asked me to do something.

Which I am so all over.

And then, you know what i'm going to to do, people?

I am going to personally apply this creative energy of mine towards coming up with the most super spectacular idea for the JavaOne T-Shirt Hurling Contest
that this world has ever seen. Because gosh-darn-it, I have decided to make it my mission in life to figure out a way to get onstage at JavaOne 2005, and I think this T-Shirt Hurling Contest just might be my ticket.

First I gotta figure out what this means...

f=ma

mary



Having just singed myself with a "reply all" blunder, I'm not about to publish a picture of the Big Boss being compared to Ken.

But it's certainly not beneath me to point you to somebody who did....

:-)

mary

p.s. we use the term Big Boss with respect and great reverence.

p.p.s. i got so much email inbox excitement going on over here, people that if i told you about it you wouldn't believe me. let's just put it this way: i think i might be having a heart attack. please dial 911.

Tuesday Jan 18, 2005



It is with great pleasure that I introduce you to the world's youngest Sun Ray user -- Glenn Brunette's three-year-old son.

This very lucky kid received a Sun Ray 150 for his third birthday.

Glenn has now set the standard of excellence when it comes to giving your kids a head start in life.

I salute you Glenn!

As a mother. As Sun Ray Girl. I salute you!

mary



We got good news and bad news.

Good news first.

It actually falls into two categories -- 1. Good News and 2. Really Good News.

1. Good News

Guess what?! I got fan mail! Serious as a heart attack. Please join me in admiring the lovely collection of cards I've received from Blog readers in recent weeks.

my bulliten board

But wait, there's more...

PRESENTS!!! I got presents!!!!

From Balakumar in India I received a statue of Ganesan or Vinaayagar...

pciture of the statue

the God who gives peace, prosperity and happiness according to Indian culture.

And wouldn't you know, I am in perpetual pursuit of all three of those things!

In grateful appreciation, I would like to welcome Balakumar into that that most exclusive of communities -- the people to whom I point to on my blogroll. (For the record, this outgoing link has a value of $1,712.93 USD source: blogshares.com)

But wait, there's even MORE.

A blog reader from whom I didn't ask/receive permission to name, sent me pens that light up....

pen that lights up purple

they change colors...

and orangish

how neat is that?!

And also some very handy-dandy tote bags which come in a handy-dandy-tote-bag-holder.

the bag

He works for Symark, in case you want to express some gratitude on my behalf and purchase some of the stuff they sell.

At to top off my hat-tricks of hat tricks, I received a signed copy of Blueprints for High Availability

Hal's book

co-authored by the one and only Hal Stern of Morning Snowman fame.  This radiates wisdom. If you don't believe me, just read the reviews on Amazon.

I invite you to join me in purchasing a copy of this must-have page-turner. It will make you smarter.

(did I mention I'm trying to talk the ladies in my book club into making this one the selection for March ;-)

OK.

Now we're on to....

2. Really Good News.

Awesome weekend on the family front... My first grader lost her first tooth and the Tooth Fairy came to visit our house for the very first time. It was a lot of fun for everybody.....You know why kids keep you young, people?... It's because through them  you get to re-live your youth... I had long-ago forgotten the anticipation mixed with dread associated with having a lose tooth and wondering whether you should just pull it; and fretting about how much it will hurt... and then the release associated with having it come out... and poking your tongue through the gap it left... and the sheer delight of finding something under your pillow the next morning... I had long-ago forgotten that whole spectrum of emotion... and this weekend I got to re-live it.

anyway...

Now, with all that fun and excitement to think about why even bother with the bad news?

So let's not even get into it.

Let's just say that from this day forward I will never, ever use the Reply All button on email. Nope. Never again.

Feel free to apply this discipline to your own professional activities.

Kind regards,

mary

Friday Jan 14, 2005



It's Friday everybody!!!

You know what that means.

Two quickie things first.

1. I've been crazy busy w/firedrills this week. Stop. Drop. Roll. That's why we've been having radio silence on the blog front. Blog=Extracurricular.

2. Can somebody please explain to me why it is that all you Y-chromosome types have this propensity towards beeping at people. People you don't know. I walked to my parents house this week. (across the street). And going from here to there -- it can't be more than 100 meters --  somebody beeps at me. So I figure somebody's beeping at me, it must be somebody I know. Nope, just some yahoo in a pickup truck. What compels you to behave in this way? I have never in my entire life known a woman to randomly beep at people as she was driving down the street.

We digress...

We've got Friday Free Stuff to get to.

But first, some unfinished business...

Please find below the solution to last week's puzzler which came straight to my personal inbox directly CrazyBob (java.net, google fame... remember... he was our Sub last week). Please note, as he's a techno celeb I didn't have the courage to edit his language... don't be offended by it though... ..It's meant in an endearing way....

Last week's puzzle challenged you to create an object o such that o.getClass().getMethods() returned an inaccessible method. Michael Appleby posted the correct solution first. He takes home the booty. Congratulations, you lucky bastard.

The key to this puzzler: Class.getMethods() returns all public methods regardless of the enclosing class's scope. If we declare a public method in a package private (default scope) class, the method is not actually accessible outside of the package:

package bob;

class Bob {
public void inaccessible() {}
}

We can expose an instance of this class from a public class in the same package:

package bob;

public class BobFactory {
public static Object newBob() {
return new Bob();
}
}

Attempting to reflectively invoke the method from another package throws an IllegalAccessException:

import bob.BobFactory;

public class PuzzlerSolution {
public static void main(String[] args) throws Exception {
Object o = BobFactory.newBob();
java.lang.reflect.Method[] methods =
o.getClass().getMethods();
for (int i = 0; i < methods.length; i++)
if (methods[i].getName().equals("inaccessible"))
methods[i].invoke(o, null);
}
}

The output:

Exception in thread "main" java.lang.IllegalAccessException: Class PuzzlerSolution can not access a member of class bob.Bob with modifiers "public"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
at java.lang.reflect.Method.invoke(Method.java:317)
at PuzzlerSolution.main(PuzzlerSolution.java:10)

[Dis]honerable mentions:

  • Andrew Taylor submitted the first attempt, but Andrew's code actually throws InvocationTargetException, not IllegalAccessException.
  • MooBob42 is incorrect. This is not currently considered a bug, though I agree it probably should be.
  • Nic Laborera's solution throws an IllegalArgumentException, but only because he passes in the wrong number of arguments.
  • Kris Schneider, a runner up, gets bonus points for reusing code from the core library to produce the smallest working solution. Nice work, Kris.

I first discovered this pitfall while testing code that traversed a graph of objects. To avoid a similar fate, minimize reflection. If there's a chance you could run into this exception, I advise silently logging it (a developer might have forgotten to make the class public).


Which would make Michael Appleby our winner!!!!

(Have I ever mention that Free Stuff is the brand promise of MaryMaryQuiteContrary. And as I've personally participated in a branding workshop, I am an expert in these kinds of things.)

Everybody who posted wins a prize! Expectation set: a pen .(see picture below)  It's a nice pen. But it's just a pen. Kris, you get two.

Claim your prize by sending me email with Friday Free Stuff in the subject line with your name and address. I will mail the pen to you with stamps I buy at the post office. (Michael, I'll send the fabulous prize package to you.).  I won't share your personal info or use it for any other purpose whatsoever. I will delete the mail after I've copied it down. We got privacy policies around here, people.

My email address: mary.smaragdis-AT-sun.com.

Now let's get to this week's spectacular prize....

nice ink pen

A pen. A really nice pen. (i got a lot of them. they fell off a truck.)

Submit a JavaOne session and tell me about it by posting a comment to this blog entry. Sessions that you've already submitted count. You don't have to think up a new one. First twenty people get a really nice pen.

Honor system.  (Like I said, we got a privacy policy around here; I'd have no way of checking.)

You don't have to tell me what the session was about. I totally get how you want to keep it a secret until the call for papers closes on January 31.

All you gotta do to get a pen shipped directly to you -- entirely for free -- is submit a JavaOne session and be one of the first 20 people to tell me about it by posting a comment to this blog entry.

And in conclusion, I'd like to tell you all to go hug your number one.

Thanks for listening.

mary

Tuesday Jan 11, 2005


I did it.

I submitted a session for JavaOne.

That's right. I'm your run-of-the-mill marketing girl. And I've submitted a session for JavaOne which I think has a reasonable chance of being accepted.

I can't tell you what it is yet.

I don't want anybody stealing my idea.

Not that I'm really worried about you techno celeb regular blog readers, whom I love and adore.

I know you have higher standards.

It's those snipers. Those readers peek in on me just to see what I'm doing. Those are the guys who might steal my idea.

So I'm not telling.

Until the call for papers closes on January 31.

mary

p.s. just think... i could techno celeb watch in the speakers lounge and not even having to dodge the guards to get in. how sweet would that be?


Monday Jan 10, 2005

little animated guy tapping his foot

i'm waiting...

mary