Nurvos | Speak

Funny TLA (three letter acronym)

I heard a funny TLA on a radio advertisement today: LCD.

LCD = Long Crappy Day

Ever had one of those?

Does your MacBook (Pro) seem to run hot?

Fan Control is a (free) system preference pane, that allows you to set an upper and lower temperature threshold for your MacBook (Pro).

fancontrol_screenshot.gif

Check it out here: http://www.lobotomo.com/products/FanControl/index.html

MacBooks now feature the Intel Core 2 Duo processor

MacBook Core 2 Duo

Apple has just released MacBooks with the Core 2 Duo processors in three models: 1.83 GHz and 2.0 GHz, and black 2.0 GHz.

Pricing starts at $1,099.

How not to build a dynamic array in JavaScript

Let’s say you wanted to build a dynamic array in JavaScript, using data retrieved from a J2EE servlet. How would you do it?

In my case, the data I was dealing with was in the following format: “variable=12345,23456,34567,45678″. I thought to myself, why don’t you just use the eval statement an dynamically write out the array:

Code (javascript)
  1. eval("var existingArray=new Array("+variable+")");

Looks great right? Do you see the bug? What about when “variable” only contains one element? Ah ha, instead of filling an array with X number of entries, it actually initializes with x number of indexes. In one of my cases, 400k items.

The solution ended up checked to see if the was one element in my “variable” and adjusting accordingly:

Code (javascript)
  1. if(variable.indexOf(‘,’) > 0){
  2. eval("var existingArray=new Array("+variable+")");
  3. }else{
  4. var existingArray = new Array(1);       existingArray[0]=variable
  5. }

Both IE and Firefox don’t like dealing with arrays 400k positions in size. Go figure.

CSSEdit 2.0 is super sweet

CSSEdit IconDo you edit CSS stylesheets on a regular basis and own a mac? CSSEdit 2.0 is definitely for you.

http://www.macrabbit.com/cssedit/

Having only spent a day using the application, I can safely say it is well worth the $29 price tag.

Nifty Widget: WordPressDash

Cool, now I can post to my blog from Dashboard: http://www.paniris.com/widget/wordpressdash.php

Attention OSX switchers

Here is a fantastic resource for those new to the OSX platform: http://flernk.blogspot.com/2006/07/guide-to-os-x-software-for-switchers.html

I have used, or at least every one of the applications listed. I did however, forget about UNO. I need to get that installed again.

Enjoy.

Firefox 2 Beta

Firefoxlogo.pngDo you have your copy yet?

Welcome to Nurvos Speak.

First and foremost, welcome to the brand new, Nurvos.com company blog!

Just to give you some background, Nurvos is a very small, single owner consulting company, that focuses on small business and home users. Like our mantra says: “Expert Technical Advice”, we are eager share some of our technical expertise with customers and visitors like you. Topics will probably widely vary, but would generally revolve around technical items such as software development, Apple computer products and current IT trends.

In other news, Nurvos was recently selected to participate in the Apple Authorized Business Agent program. As professionals dedicated to service and solutions, we are very excited to partner with Apple in the agents program.

Why use and Agent?

  • Personalized assistance
  • Expert technical advice
  • Knowledge of industry trends
  • Customized, timesaving service

Visit the Nurvos Business Agent Store anytime, day or night, to place your order.

Once again, welcome to our small slice of the blogsphere. We look forward to sharing with you.