Ishida Tech Solutions, Ltd.
The personal and professional home of Brad Ishida

Flash Plugin Killing Every Browser in Mac OSX - October 5, 2009

Recently, nearly every page on the web was crashing both Firefox and Safari. It turns out the Flash plugin was the culprit–actually some bad permissions on the Flash plugin files. You can fix this problem by repairing the permissions on your hard drive using the Mac OSX disk utility. I’ll attach a screen shot that shows the problem.

Filed under: Learn by Doing — admin @ 7:16 pm

Equality (=) Operation Very Expensive in MS Access 2007 - August 31, 2009

I was doing some Access 2007 debugging for a client today and a search using a form was taking close to 10 minutes. Even with a half million records, this seemed horribly slow for Access. Changing the query from (year = 2007 or year = 2008 or year = 2009) to (year < 2006) made the 10 minute search turn into a 2 second search. Apparently testing for equality with Access is terribly expensive in terms of process time.

Filed under: Learn by Doing — admin @ 8:32 pm

Momentary Panic with Black Screen After Snow Leopard Upgrade - August 28, 2009

All is back to normal now, but on my first boot up after installing Mac OS X Snow Leopard, the screen of my Mac Book Pro was black. For some reason, the upgrade set my screen brightness all the way to zero and then the screen brightness keys (F1 and F2) would not respond for about 5 minutes after boot up. This seems to be a completely different quirk than a similar one I’ve seen with minor updates to 10.5. In that case, a black screen could generally be solved by powering down the Mac Book Pro and removing the battery for a few minutes–then booting back up.

Filed under: Learn by Doing — admin @ 4:19 pm

Set Return-Path with Perl Mail::Mailer - June 26, 2009

If you want to set the Return-Path value in your mail header in a message sent using the Mail Mailer Perl module, here is one way to do it:

Declare your mailer object with the -t and -ba flags.

#!/usr/bin/perl

use Mail::Mailer;

my $mailer = Mail::Mailer->new(‘sendmail’, (‘-t’,'-ba’));

The Return-Path value will become the address you specify in your “From” line.

Filed under: Learn by Doing — admin @ 12:04 pm

Apple iTunes 8 Won’t Play Video - April 13, 2009

I recently upgraded to iTunes 8 and all my music videos stopped playing in iTunes. Some files would produce a message “This computer is not authorized to play ‘song’. Would you like to authorize it?” Authorizing the computer does not help–it just asks you to authorize over and over. Some music videos would play audio but not play video. Here is how I fixed it:

1) Quit iTunes
2) Move this file to your desktop: /Users/YOURNAME/Library/Preferences/ByHost/com.apple.iTunes.nnnnnn.plist
3) Restart iTunes

Note that you need to replace “YOURNAME” with the name of your user account. Also, you will have various letters and numbers replacing the nnnnn part of the file name above.

If it works, you can delete the file you copied to your desktop. If it doesn’t work, you might want to put it back where you got it.

Filed under: Learn by Doing — admin @ 8:03 pm

View HTTP Header Information Using Telnet - March 12, 2009

Unless you’ve gone out of your way to prevent information about your server being shared in HTTP headers, it’s probably there. Here is a quick way to see what all those evil-doers out there can see about you.
telnet yourserver.com 80

GET / HTTP/1.1 [press ENTER key once]

Host: yourserver.com [press ENTER key twice]

At this point, the home page will display in your terminal window. You can press CTRL+] to get the telnet prompt and then type ‘close’. When you scroll back to the top of your window, you will see all the header information that is shared by your server. You may see your PHP installation, apache version, OpenSSL and anything else you have configured on your web server.

Filed under: Learn by Doing — admin @ 8:51 pm

Windows Desktop Icons Not Refreshing Automatically - February 10, 2009

If you’re having the same problem I was, this is your lucky day because this solution is nowhere to be found as far as I can tell.

I recently had the following symptoms on a Windows XP box with multiple users.

1) The desktop icons for files would not appear for new files without manually refreshing the desktop by pressing F5 or by selecting “refresh” from the right-click menu.

2) When saving files from a web browser, the files don’t appear on the desktop without a manual refresh.

3) When moving files from the desktop to the recycle bin, the file icon remains on the desktop until there is a manual refresh.

4) The problem only occurred for one user and not everyone with an account.


The solution:

The registry value for the desktop for this user was incorrect. The value contained the variable %ALLUSERSPROFILE% instead of the correct variable %USERPROFILE%. I changed this value to %USERPROFILE%\Desktop

1) start->run->regedit

2) Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders and check the value for Desktop. If it looks wrong, you can fix it and this will most likely fix your desktop refresh problem.

Filed under: Learn by Doing — admin @ 3:30 pm

Cannot Delete a GPT Disk in Windows XP - February 9, 2009

I recently formatted some external drives in Vista and then moved them to an XP machine where they would not mount. When I went to reformat them in XP, I found that I could not format the disks at all. The disk management tool (control panel->administrative tools->computer management->disk management) listed them as “GPT protected” and would not allow me to erase them.

The solution was to use the command line tool “diskpart” to clean the disk so it could be formatted like normal in XP.

1) start->run->cmd

2) diskpart

3) list disk

4) select disk # (select disk 4 for example)

5) clean

6) exit

Now the disk will be available to format using the Disk Management tool.

Filed under: Learn by Doing — admin @ 10:24 am

File Downloads Break in FireFox 3. “.part” File Appears. - October 29, 2008

I recently had a problem in FireFox 3 on my MacBook Pro (running 10.5) where I couldn’t save any files. “save link as”, “save image as” or anything that would normally launch an associated program such as Acrobat for a PDF file stopped working. FireFox would save a “.part” file but not the intended file. I solved this problem by the following:

1) close FireFox.

2) Find the “downloads.sqlite” file. Look in your home directory and then Library->Application Support->FireFox->Profiles->xxxxxx.default->downloads.sqlite.

3) Rename this file. Put a “.bak” on the end of it or something.

4) Start FireFox and let it recreate the downloads.sqlite file. Everything should work again.

Filed under: Learn by Doing — admin @ 3:08 pm

How to start the Windows Task Manager When CTRL+ALT+DEL is not Available - September 22, 2008

Just a quick tip:

Start->run->cmd then type taskmgr.exe

This can come in handy if you’re using remote desktop from a Mac or have some other situation where you just can’t press CTRL+ALT+DELETE.

Filed under: Learn by Doing — admin @ 9:10 pm
« Previous PageNext Page »
© Copyright 2008-2011 Brad Ishida