?

Log in

No account? Create an account
crazy voices - brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

crazy voices [Nov. 5th, 2005|02:28 am]
Brad Fitzpatrick
[Tags|, ]

Linus on shooting the pope and other things:
.....

When you hear voices in your head that tell you to shoot the pope, do you do what they say? Same thing goes for customers and managers. They are the crazy voices in your head, and you need to set them right, not just blindly do what they ask for.

Linus
LinkReply

Comments:
From: jamesd
2005-11-05 02:55 pm (UTC)
The context there is interesting: appears to be the ability to virtually reallocate memory between virtual machines. That sounds like a growth area but current niche case. Chances are you're one of those who'd like the capability to do that... :)
(Reply) (Thread)
[User Picture]From: iconoclast
2005-11-05 04:53 pm (UTC)
I thought that was "Peanuts" Linus and I was excited.
(Reply) (Thread)
[User Picture]From: erik
2005-11-05 06:20 pm (UTC)
Well, the pope also hears voices in his head (you know, conversations with God and all), and he seems to act on them accordingly. So he can hardly be a critic of someone who hears a voice that tells him to kill the pope. That would be hypocritical!
(Reply) (Thread)
(Deleted comment)
[User Picture]From: brad
2005-11-05 09:08 pm (UTC)
What are you talking about?

An optional callback on a dialog box object for when users click the inactive region outside a modal dialog is a totally sane request, given that most callers will want to somehow indicate to the user that they can't click out there.

That's the most generic case, having a callback. No policy in the library!

But then the border flashing is one of the most common callbacks people would provide, so I'd provide that callback as a static class members, so people can do:

dialogInstance.setOnModalClick(DialogClass.BorderFlash);

And then BorderFlash is a function which just adds/removes a CSS classname to the dialog every 200 ms, which they can then style themselves. Again, very little policy... just the 200 ms and perhaps how long to flash.

But you could even make those configurable:

dialogInstance.setOnModalClick(DialogClass.borderFlash({ speed: 300, flashes: 20, className: "borderFlash" });

Where borderFlash is a class function returning a customized callback function.
(Reply) (Parent) (Thread)