app79 common wisdom, helpful code and useful apps

11Aug/090

IE Stack Overflow Javascript Fix

Fix for calling the same function a few times in an almost infinite loop using the onchange event and getting a stack overflow at line 0 or any other line error in Internet Explorer:

function MyFunction(currentTextBox, nextTextBox)

{

//magic code in here

//when magic finished, call next magic spell

setTimeout(function(){FireNextBox(nextTextBox},1);

}

function FireNextBox(nextTextBox)

{

nextTextBox.onchange();

}

//for last textbox in loop

function FinalFunction()

{

return;

//the end

}

The above scenario assumes the onchange event calls ‘MyFunction’ and there is a return function available, ‘FinalFunction’ that is called by the onchange event of the last textbox in this loop. Using setTimeout is necessary in Internet Explorer, otherwise it will throw a stack overflow error, works fine in Firefox with and without the setTimeout.

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
27May/090

Marshmallow theory

I apparently have too much time on my hands this evening. Here is a cartoon:

marshmallowtheory

Technorati Tags: ,
share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
27May/090

How to get me to watch your YouTube tutorial video

Sometimes I watch youtube videos for things besides crazy beatboxers and kids getting attacked by ninja cats.youtube-education

Sometimes I like learning things. The problem is you people who teach on youtube waste a lot of my time with ineffective tutorial videos. Instead of just complaining here is my mini guide to effective youtube tutorializing.

1. Keep it short, like under 4 minutes. This ensures that I learn stuff in small consumable steps that I can repeat until my practice makes perfect and I can move on the next step. Not ideal for all situations, but it probably is for yours.

2. Start with the end result. This way I know whether your video is worth watching.

3. If the sound cuts off, if your camera breaks, if anything goes wrong, please don’t post it with excuses, just rerecord. Seriously, quit being lazy, it wastes my time.

4. If your tutorial involves screen capturing and I can’t read your screen, don’t post it.

5. Talk. I think cameras come with microphones for a reason, maybe.

6. Learn to talk. Write an outline or script beforehand so you’re not ‘umming’ and ‘erring’ your way through the video. My friend will make fun of you when I link him to your video if you don’t.

That covers it. Thanks!

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
30Mar/090

Why can’t my Mii be happy I’m a loser? – Nintendo’s Tech Support Forums

Trying out Windows Live Writer (Yahoo it if you want to download it). Found this awesome thread on Nintendo’s tech support forum regarding why your mii on your wii can’t be permanently happy:sad-mii

Turn off sad face on Wii sports - Wii Games - Nintendo's Tech Support Forums

(Windows Live Writer and my findings are uncorrelated though there is causation.)

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
11Mar/090

Tech Support Sadness

Below are some of the sad scenarios my friend Alex has had to endure while providing tech support to a city office that shall remain unnamed.

E-mail Fail 1

Customer: “I haven’t got an e mail in 2 days, fix it.”

Alex: “Have you tried sorting by date and not subject?”

E-mail Fail 2

Customer: “I haven’t been getting email”

Alex: “Your groups are collapsed.”

Computer Dyslexia

Customer: “My CDs don’t fit in the tray. They fit for everyone else but not me.”

(Alex doesn’t know what to do, thinks maybe she has a zip drive or is trying to put a CD in the floppy drive, even logs into the machine remotely)

Alex: “I’m going to send a tech to look at your box.”

(Alex goes with the tech to investigate. She had her computer upside down.)

Keyboard Dyslexia

Customer: “My screen is upside down”

Alex: “Okay, we need you to log in to your computer”

Customer: “I can’t, I can’t read upside down”

Alex: “Is your keyboard upside down?”

Customer: “No”

Alex: “Then type it like you normally would.”

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
17Feb/090

I’m famous.

Not really, but I did compose some music once upon a time for this pretty cool multimedia piece by this guy dominic who works for the washington post. You can view it here: www.dominicbracco.com click on 'recent multimedia' and it's the second piece that plays about abandoned places. While you're there check out some of the other pieces, he's an awesome photographer.

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
Filed under: Uncategorized No Comments
14Feb/090

How Generation Y can survive in the Corporate World

Do what you're getting paid to do at the highest level you can and quit complaining.

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
Tagged as: No Comments
9Feb/090

The LinkBox Project

Link Box

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
Filed under: Uncategorized No Comments
5Feb/090

the top 7 benefits of switching to linux

(intentionally left blank)

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google
4Feb/090

How to schedule your employees

Manager: When do you work best?

Employee: '( Morning, Afternoon, Evening, Twilight ) '

Manager: Ok, you can work in the (insert employee's selection)

share:
  • Facebook
  • TwitThis
  • MySpace
  • Digg
  • del.icio.us
  • Google

Recent Posts

Archives

Blogroll

Categories

Tags

cartoon corporate email first funny how to internet internet explorer javascript linux computers os management office marshmallow theory onchange sadness singularity no theory robot stack overflow tech support tutorial upside down computer video youtube