Monthly Archives: May 2012

JavaScript – Date Format

I’ve had a few questions on this lately and since JavaScript date formats are rather easy, here’s some code:

var now = new Date();

alert(now.getMonth()+"/"+now.getDate() + "/" + now.getYear());
// returns 4/01/12

// format names
var now = new Date();
now.format("longTime",true);
alert(now); // 8:00:00 AM EST

Other named formats include:

You can also parse a string to a date. To parse a string and convert to a date, just use the parse() method. For example:

var dd = Date.parse("04/01/2012");
alert(dd); // returns 1333252800000

But JavaScript does not have a DateFormat object you might be use to from other languages. I’ve found one that looks rather good here.

With this library you can call a format method on the date object so that:

var dd = new Date();
dd.format("m/dd/yy");
alert(dd); // returns "4/1/12"

If you have any questions about this, comment or send me a note.

Business Books – In A Nutshell

After reading my 100th or so business book I’ve come to the following conclusion, they all basically say 4 of these 5 points:

 

  1. Pick an Audience
    1. This can be any audience, pick one that don’t annoy you or will grow tired of.
    2. You have a reach to this audience via some amount (%). If you don’t have reach, figure out your reach. These are your prospects.
    3. That % either cost you time or money or both.
    4. Pick one that minimizes each or both.
  2. Pick a problem (what people really want)
    1. This problem will be felt by a % of the audience and similar % of your reach but these numbers are not the same.
    2. People want More (love, money, acceptance, free time, etc.)
    3. People want Less (stress, conflict, hassle, uncertainty, etc.)
    4. Provide value (aka helping people) what can you add to or remove from someone’s life and then get paid.
  3. Try to sell the solution (product or service)
    1. This solution will hit with a % of the people that have the problem that you can reach.
    2. Your sale will have a interval of time between first contact and completion, pick one that you can scale, and that falls within your time-line.
    3. The people that purchase are the end of your funnel and relative to other businesses selling the same/similar solutions to the problem, that’s your market share.
    4. The solution often takes the form of a belief, I believe X can give me MORE X, or LESS Y. See #2.
  4. Build the solution
    1. This cost less and saves time to build second and sell first.
    2. If the cost to reach the customers at the top of your funnel is less than you make per sale, then you have a business, continue.
  5. Refine the solution & communicate to customers until efficient
    1. This is making more money, by maximizing conversion rates and increasing the size of your funnels to achieve maximum efficiency.
    2. Measure what you want but don’t spend too much time measuring (See Heisenberg Uncertainty Principle).

Trust me any book you purchase will tell you 4 of these 5 things, leaving you wanting more, and thus purchasing more books. Save yourself some time and money and know this before purchasing anything else.

Are We All Sheep?

Why is it most people only buy what’s most popular?

Why is it most people only click on stuff recommened by people they “follow” or “subscribe to”?

Why is it most people care so much about their Twitter or other “Social” metric?

Answer: We’re all sheep.

But the reason why we’re sheep is because there’s a HUGE need for a better filter mechanism that’s not been invented. Social proof is the “New Noise Filter”. But the problem, at least for me, is that I don’t like what’s popular all the time. I don’t like what everyone as deemed their 20% that gives them 80% profitability and I really don’t like contrived social proof by master marketers.

My guess is there’s thousands of great books on Amazon that will never make it to the top 100. Hundreds of great internet products that will get created and die before you get to use them.

Don’t be a sheep, buck the trend, make yourself an outlier.

Skyrim Character Builder Tips

I love Skyrim. The best part about Skyrim is the ability to customize your character just the way you like it. Here’s some tips I’ve picked up.

Race (I usually just play with these three)

  • Wood Elf – Thief / Archer
  • High Elf – Wizard
  • Nord – Fighter

Magic

  • Alteration – Don’t use much.
  • Conjuration - Great for summoning helpers fight things off.
  • Destruction – Great for killing lots of things.
  • Illusion – Don’t use much.
  • Restoration – Don’t use much (rather just purchase potions)

Combat

  • Archery – Use if an archer, abandon otherwise.
  • Block – I’d rather just keep swinging
  • Heavy Armor – Passive, use of you’re a fighter
  • Light Armor – Passive, use of your a thief
  • One Handed – I don’t use since I just bash as much as I can.
  • Two Handed – Kill just about everything you can with this one.

Stealth

  • Lockpicking – Pretty Good to have, though I’ve found most picks are easy enough with practice.
  • Pickpocket – Not used much.
  • Sneak – Used with the thief a lot.
Non-Combat
  • Alchemy – I want to use this, but I can never find enough cool ingredients to keep going.
  • Enchanting – This is something fun.
  • Smithing – I’d just rather buy something vs. carry around all that heavy material.
  • Speech – Passive just get lots of loot and pay an extra couple of GP.

Fixing VMWare Fusion 4 Shared Folders in Ubuntu 12.04

I had to do a few things to get this to work.

1. Mount the CD-ROM (Click on Add VMWare Tools first, that will add a CDROM to /dev/cdromX)

sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom1 /mnt/cdrom

2. Copy VMWare Tools

cp /mnt/cdrom/VMwareTools-8.8.3-682996.tar.gz ~/.
tar xzvf VMwareTools-8.8.3-682996.tar.gz

3. Update Linux

sudo apt-get install build-essential
sudo apt-get install build-essential linux-headers-`uname -r`

4. Run VMWare Tools

sudo ./vmware-install.pl

5. Restart

sudo reboot

6. Verify

ls /mnt/hgfs/

 

So these are the steps please comment or send me a note if this doesn’t work for you.

How to make $10,000 in eBooks in 10 days.

I was reading this book called The $100 Start-Up. I was about 1/3rd the way through the book when I read this story about Brett Kelly who created an eBook called “Evernote Essentials“. I found the story great, but I was curious.

No place mentioned in the book or on the blogs was “how” he did it. Basically it was “if you build it, they will come.” Which immediately I was doubtful of the rest of the book. I was thinking, here we go again another bunch of recipes for how to succeed without telling you the “Real Secret” of success.

But I found a video interview of Brett, he seemed like a nice enough guy and he spilled the beans, it was able to get a spot on the Evernote Blog, and had a few of his famous friend bloggers mention his eBook. Without those two things the book would have made him a little extra cash, but not the $100,000 plus he’s made today.

I find that a lot when I read these books about how easy it is to make money by just creating digital content. I’m not entirely sure if the number they are saying are real or just made-up. I also know that without the blogging connections they have, which most of their readers don’t have, none of them would make anywhere near what they are espousing.

Links and referrals are the key. It’s still who you know, even in the Internet Age.

Diablo3 – Very Dissapointing

This is my experience playing Diablo3. I need to login to a network that fails. What if internet is out? No game. What if I’m travelling out of country? No game. What if Battle.net servers are offline all the time? No game. This sucks!

I waited a long time for this game and now I can’t play it.

I wish I had a recourse, maybe I’ll just go back to Skyrim!