Categories
design tips work

Email signature etiquette

Folks… If the signature of your email is longer than the actual message you’re conveying, it’s TOO LONG!!!!! A signature is just that … A SIGNATURE. Not the prospectus of your company.

Name, contact information. That’s IT. And if you can compact your contact info to a few lines, instead of 6, 7, 10 lines, PLEASE do it. There was a time where signatures would be truncated if they went past a certain number of lines. You don’t have to split your job title or company url to another line. That saves a couple of lines.

[name] – [job title]
Phone: (###) ###-####
name@example.org
[company name] <www.example.org>

Bang. Nice and compact. Respectful. My signature? Two lines. TWO.

name / email
job title / websites

That’s it. Listen and learn.

Sometimes technological advancement isn’t all it’s cracked up to be.

Categories
music tips

Early Depeche Mode …

… is the best!!!!

GET BACK TO WORK!!!! 🙂

Categories
programming technology tips work

JavaScript Tip – Invert Logical Expressions With De Morgan’s Laws

Just something I want to keep around for reference. Ignore if you don’t program. – matte

Reprinted from SitePoint Community Crier #71. Without permission but credit is given. 🙂

A JavaScript expression will sometimes be more intuitive (and easier to understand) when written a certain way, but, often, we may actually need the inverse of that expression. For example, in Listing 1 below, our code only needs to react if (x && y) is false. We need to invert the expression.

Listing 1

if (x && y)
{
// we don't have anything to do here
}
else
{
// we want to do something here
}

De Morgan’s laws describe how to invert a logical expression. In Listing 2, we see De Morgan’s Laws in action within the JavaScript syntax.

Listing 2

!(x || y) == (!x && !y)
!(x && y) == (!x || !y)

The rule inverts each logical term and each logical operator.

In Listing 3, we invert the expression from Listing 1 by applying De Morgan’s Laws.

Listing 3

if (!x || !y)
{
// we want to do something here
}

Sometimes, a logical term is more complex than a simple boolean variable. A logical term may be a relational expression, such as (p <>= q)
Inverting the next logical term (r != s) we get (r == s)
Inverting the logical operator && we get ||
The result is shown in Listing 5.

Listing 5

if (p >= q || r == s)
{
// we want to do something here
}

So, if you find yourself struggling with a JavaScript problem, pick up an old math textbook — your solution is probably in there.

Visit us at the SitePoint JavaScript Forum if you have any questions.

Keep it fun 🙂

Mike Foster – Programming Team Mentor

Categories
cool funny video

HHGttG Trailer!! HHGttG Trailer!! HHGttG Trailer!! HHGttG Trailer!!

<bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce> <bounce>

Categories
cool funny tv

And the winner is …

Now THIS is cool!!! The Daily Show, one of my favorite shows on TV, has won an award from the Television Critics Association. Was it for best comedy? Nope. Was it for best comedy? Nope. “Arrested Development” got it, and deservedly so.

It was for “Outstanding Achievement in News and Information”. TDS beat out 60 Minutes, Frontline, Meet the Press, and Nightline!!!! I’m flabbergasted and overjoyed.

Clipped from a Seattle Times article I linked to below…

Stewart sent a tape of himself seated at “The Daily Show” anchor desk, expressing bewilderment at the idea of getting an award for news programming on the heels of last year’s TCA award for best comedy.

“We’re fake,” he said. “See this desk? … It folds up at the end of the day, and I take it home in my purse.”

The complete list with winners

Categories
programming technology work

TopStyle Pro 3.11 BETA 1!!!!

WOO HOO!!! Finally a new version of my favorite HTML/PHP/CSS/JS/Hieroglyph editor. If you are a registered user of TS Pro 3.1 then download it and help make the next one even better. If you AREN’T a registered user. WHY NOT??? <grin>

Nick Bradbury: ANN: TopStyle Pro 3.11 BETA 1

Categories
cool firefox

If only this were true of the general public.

I couldn’t pass this up. 🙂

What if Mozilla were to win in the end? via DivaBlog
Another report via a preponderance of evidence

Categories
wtf?

[burp]

You know when you eat a chocolate brownie as part of lunch and then brush your teeth before going back to work? If you burp on the way to work, it kinda tastes like mint-chocolate chip…

Can’t say I’m all that pleased about that…

Categories
firefox music technology tips

still here …

… but busy or not very “bloggy”. Way behind on my reading. Should be more chatty soon. Here are some links to keep you busy …

Categories
cool friends tv

“The Debate Show” Fraud / 2 Degrees of Separation

Don’t become an expert at anything. Especially if you might end up on a tv show to debate that subject.

Now, if you want to write a book about something and you get an invite to The Daily Show. DO IT!! My friend Steve Hayes did just that. He wrote a book about the connection between Saddam Hussein’s regime and al-Qaeda and now he’s going to be on The Daily Show with Jon Stewart!!!!

Two degrees of separation from the smartest late night comedian/tv host!!! I’m jealous Steve!!!!

So many exclamation marks!!!!!!!!! 🙂