Get the first N words with Javascript

Here’s how I get the first 20 words using a regular expression and the Javascript replace function. I place an ellipsis at the end to indicate that the sentence was shortened: var str1 = “Here is a sentence that just seems to go on and on. Here is a sentence that just seems to go […]

RSS Has Been Replaced By Twitter

I’ve been playing with Flipboard the past few days and a thought occurred to me. RSS has been replaced by Twitter. Flipboard is a compelling concept… it displays news from your Facebook account and any number of Twitter accounts in a magazine style format. That means large Helvetica headlines, easy to read Times content, and […]

Switching From Halogen to LED Lamps

Jeremiah Owyang switched out a high wattage halogen lamp with an LED version that is only 3W. The LED bulb is expensive, but it will save much more over its life. Just another example of how to use less energy withiout sacrificing quality of life.

The Model 271

I’m always interested one term can mean different things – polysemy – and now we have the Model 271 in the news. The Model 271 is the type of shoe that was thrown at our President as a sign of disrespect of him and of our country. Interestingly, the Model 271 is also: A baseball […]

One among many reasons to get solar

This is just one reason to get solar sooner rather than later: Carbon Is Building Up in Atmosphere Faster Than Predicted (washingtonpost.com) “The new statistics also underscore the growing contribution to the world’s “carbon budget” from rapidly industrializing countries such as China, India and Brazil. Developing nations have roughly doubled their carbon output in less […]