A Favorite Quote of Mine
“If you keep doing what you’ve always done, you’ll keep getting what you’ve always gotten.”
Jim Rohn
Motivational speaker and author
“If you keep doing what you’ve always done, you’ll keep getting what you’ve always gotten.”
Jim Rohn
Motivational speaker and author
An example of a basic MSSQL (Microsoft SQL Server/SQL Server Express) query using PHP.
1 2 3 4 5 6 7 8 9 | $szQry = "SELECT column1, column2 FROM foo"; $szDBConn = mssql_connect("host","username","password"); mssql_select_db("database_name", $szDBConn); $saResults = mssql_query($szQry, $szDBConn); while($obResults = mssql_fetch_row($saResults)) { echo $obResults[0]." ".$obResults[1]; } mssql_close($szDBConn); |
It appears this depiction of the Canadian political left and right originated as far as I can tell by johnnyslow [at] gmail [period] com around the end of the 2005. I recently heard the below of what I’m reposting on Charles Adler radio show.
I was so impressed by this analogy I had to post it for others that may have not read it yet.
The ant works hard in the withering heat all summer long, building his house and laying up supplies for the winter. The grasshopper thinks he’s a fool, and laughs and dances and plays the summer away.
Come winter, the ant is warm and well fed. The shivering grasshopper has no food or
shelter, so he dies out in the cold.
THE END
The ant works hard in the withering heat all summer long, building his house and laying up supplies for the winter. The grasshopper thinks he’s a fool, and laughs and dances and plays the summer away.
Come winter, the ant is warm and well fed. So far, so good, eh?
The shivering grasshopper calls a press conference and demands to know why the ant should be allowed to be warm and well fed while others less fortunate, like him, are cold and starving.
The CBC shows up to provide live coverage of the shivering grasshopper,
with cuts to a video of the ant in his comfortable warm home with a table laden with food. Canadians are stunned that in a country of such wealth, this poor grasshopper is allowed to suffer so while others have plenty.
The NDP, the CAW and the Coalition Against Poverty demonstrate in front
of the ant’s house. The CBC, interrupting an Inuit cultural festival special from Nunavut with breaking news, broadcasts them singing “We Shall Overcome.”
Jack Layton grants in an interview with Mike Duffy that the ant has gotten rich off the backs of grasshoppers, and calls for an immediate tax hike on the ant to make him pay his “fair share”.
In response to polls, the Liberal Government drafts the Economic Equity and Grasshopper
Anti-Discrimination Act, retroactive to the beginning of the summer.
The ant’s taxes are reassessed, and he is also fined for failing to hire grasshoppers as helpers. Without enough money to pay both the fine and his newly imposed retroactive taxes, his home is confiscated by the government. The ant moves to the US and starts a successful agribiz company.
The CBC later shows the now fat grasshopper finishing up the last of the ant’s food, though spring is still months away, while the government house he is in, which just happens to be the ant’s old house, crumbles around him because he hasn’t bothered to maintain it.
Inadequate government funding is blamed, Bob Rae is appointed to head a commission of inquiry that will cost $10,000,000.
The grasshopper is soon dead of a drug overdose, the Toronto Star blames it on the obvious failure of government to address the root causes of despair arising from social inequity.
The abandoned house is taken over by a gang of immigrant spiders, praised by the government for enriching Canada’s multicultural diversity, who promptly set up a marijuana grow op and terrorize the community.
THE END
This invented compare and contrast parable of the ant and grasshopper is the best way of discussing the political right and left.
Source: Charles Adler On The Edge
Source: Ralph’s World
I have Windows Vista Ultimate with Service Pack 1 with the following optical media drives. The system is approximately one year old.
There are two issues I’m experiencing all resulting in the fact that windows explorer is not refreshing the drive contents and/or drive volume label. Both issues occur on CD/DVD reader and CD/DVD writer drives. As well I’ve tried multiple discs from ones I’ve burnt to discs that were commercial produced and these discs all work fine on other computer systems.
One of two scenarios occur. One, at times if I’m taking a disc out of one of the drives and then put another one in the contents of the drive is not refreshed or Windows Explorer will prompt to format the disc even though the disc is not blank and has been fixated (closed disc).
Two, after burning a CD/DVD I am rarely ever am able to view the contents of the disc via Windows Explorer. Again I’m prompted with a dialog to format the disc even though the disc can not be blank. Oddly again both issues are gone when I view the contents of the drive via the command prompt.
If I eject the CD/DVD out of the drive using Windows Explorer not pressing the eject button on the drive itself then putting the disc back into the computer usually allows me to view the contents of the disc within Windows Explorer.
The only reliable way I’m able to see the current contents of a given CD/DVD is by using the command prompt.
The CD/DVD volume label rarely appears correctly within windows explorer. If it does by chance, it is then stuck with that volume label until I reboot Windows Vista. Trying to refresh by pressing F5 does not help. Even if I eject the CD/DVD from the either drive by pressing the eject button on the drives themselves or clicking on eject with the mouse the drive label still shows/appears as if there is a CD/DVD in the drive.
The only reliable way I’m able to see the correct volume label at all times is by using the command prompt.
I’m not aware of any solution, only work a rounds is doing one of the following list below. However these work a rounds are not perfect nor practical/logical. Even using an alternative application to Windows Explorer I still found issues of the correct volume name of the disc. Even if a disc was not in the drive it would still show a volume name. Although at least if you accessed the drive it would refresh the contents of the disc.
I’ve anyone has a solution that works 100% and allows the use of Windows Explorer please feel free to post your solution under comments.
The following is the process I took to upgrade a web server with PHP v5.2.5 to PHP v5.2.8 running on OpenBSD. PEAR is already installed on this system and up to date. I wasn’t sure if I should exclude PEAR at install or not so therefore did not tell the configurator to exclude PEAR at install.
As far as I could tell in the PHP 5 ChangeLog since at least PHP v5.2.5 there has not be any changes made to the php.ini configuration file. Therefore I chose to leave the PHP configuration file (php.ini) that was being used with PHP v5.2.5 for PHP v5.2.8.
I’m not sure what to make of this error message. I tried to search on Google but was not successful finding any answers. I tested my PHP installation and all appears to be okay. If anyone knows what exactly this error means and how to resolve it please let me know.
This video has been going around for some time now, but I think its worth the post for those that have yet to see it.
Video Source: The Web Site is Down
I ran across this great experiment Kingpin tried testing how far one could go not signing your signature properly when making credit card purchases. He’s definitely proven a point and made a hilarious experience. A must read I must say.
Source: Drunk Republic: When Your Credit Card Signature Fun Backfires
I have Windows Vista with Adobe Acrobat Professional v8.1.3 installed and I was trying to covert to Adobe PDF within Microsoft Publisher 2007.
Acrobat PDFMaker reported the following error message dialog, “Adobe PDF Printer is not bound to Adobe PDF Port. Cannot proceed further. Kindly change the PDF Port to Adobe PDF Port in Adobe PDF Printer Settings”.
Today (2008-01-12) I loaded Pidgin and discovered that I was no longer able to connect to MSN. It appears either Microsoft is blocking the connection or a new version has been release. What the cause of the matter is I have not been able to verify with certainty at this time.
UPDATE: Pidgin v2.5.4 has been released that temporarily fixes the problem.
“Unable to Retrieve MSN Address Book using Pidgin”. See screen shot of the error message below.

Source: MSN Network Service Status
Source: Pidgin : Unable to retrieve MSN address list
Source: msn-pecan
I was running a hard drive diagnostic using SeaTools for DOS v1.09PH on two exactly the same Maxtor hard drives, see details of the drives below. When I attempted to run a quick scan and then a long scan it received a warning “Overtemp–253″. After doing some research I have come to the conclusion that with certainty that this doesn’t mean the hard drive is running at 253 degrees Fahrenheit. My two drives are well ventilated and do not even feel warm to the touch. In fact this message apparently means according to Seagate that the hard drive does not support SeaTools reading temperatures.
With the use of Samba we are able to share files through a local network and make it appear as if the files are on the Mac OS X locally. The instructions below will step you through step by step on how to access files from the Mac OS X to a Windows XP/Vista™ system through the network.
NOTE: Instructions to unblock network traffic through a software/hardware firewall are not provided. Refer to your software/network manual or support web site for details.
NOTE: These instructions will not allow for sharing via the Internet.
Setting up a file share in Windows XP
Setting up a file share in Windows Vista™
Note: Make note of path showing how to access the share you just setup (ie. \\foobar\helloworld) as you will need this later so you can connect from the Mac. Only exception is that you will need to change the backslashes to slashes on the Mac.
Connect to the share via the Mac
Here is my experience trying to run OpenBSD with XenServer 5 Enterprise.
The biggest question is OpenBSD on XenServer 5 Enterprise consider production ready even if the errors cannot be resolved?
I’ve tried locating some definite solutions but I have yet to find anything and it appears that the network card issue maybe due to XenServer 5 itself. Any suggestions on how to solve these error messages and fix the XenServer OpenBSD console?
Source: Nabble – OpenBSD User Misc – OpenBSD and XenSource
Source: Citrix Forums – Change network device model for guest
Source: What does “watchdog timeout” signify?
Source: watchdog(4) manpage
19 queries. 0.586 seconds.
Copyright © 2004 - 2005 by Adam Douglas