Thursday, February 16, 2017

Check out my HoboTraveler Profile, Andrew s


Andrew s


I have been discovering new places and saving money as a member of HoboTraveler.com. There is a talk wall, sort of like Facebook where we share photos, videos, and travel tips.
Please take a look at my HoboTraveler profile.

Come share the fun, here's the link:
HoboTraveler.com

Thanks,
Andrew
   
Please do not reply to this email. Emails sent to this address will not be answered.

If you don't want to receive these emails from HoboTraveler.com in the future, please unsubscribe

Tuesday, February 07, 2012

$ is not defined

The error $ is not defined appears in the developers console. You may have updated your jquery scripts from version 1.3 to 1.6. The update is not the problem.


Be sure that the jquery JS is called before the body loads.

So, jquery.js needs to be at the top in the head section.

Friday, September 02, 2011

UDF Uncaught ReferenceError: $ is not defined

UFD Uncaught ReferenceError: $ is not defined


The Uncaught ReferenceError: $ is not defined error appears when the jquery library is called at the end of the page.

Check the spot where jquery is called.

Thursday, August 18, 2011

Skype 5.5 For Windows Unstable

Skype version 5.5 For Windows is Unstable. It is obvious the problem is with the new Visual Style.


To disable the Skype Visual Style:

Click Tools > Options

Change the Visual Style to 'Classic Windows'.


Save Changes.

Skype 5.5 For Windows Unstable

Tuesday, July 19, 2011

The value of the property 'LoadPage' is null or undefined, not a Function object

If you've used the tag. Internet Explorer versions below 9 will display the error:


"The value of the property 'LoadPage' is null or undefined, not a Function object"

Do not use the body onLoad. This tag is not compatible on older browsers.

The solution is to use this instead:

if ( window.addEventListener ) {
window.addEventListener( "load", LoadPage, false );
}
else
if ( window.attachEvent ) {
window.attachEvent( "onload", LoadPage );
} else
if ( window.onLoad ) {
window.onload = LoadPage;
}

Thursday, February 10, 2011

Google Chrome Stuck Refuses to Update

The Google Chrome update is stuck refuses to install. Clicking on About -> Update refuses to update Chrome.


You may run into this problem if the Windows temp files directory is moved to a partition other than the default location.

The solution:

You need to force Chrome to update.

1) Quit Chrome and make sure no stray instances are running

OPEN a DOS box. Type cmd in the run box in the start menu. Copy and paste the command that begins from reg. exe and ends at /v cmd. Paste the entire line in the DOS box and hit enter

2) Run the following from a command prompt to get the magic incantation:
reg.exe query "HKCU\Software\Google\Update\Clients\{8A69D345-D564-463c-AFF1-A69D9E530F96}" /v cmd
(use {4ea16ac7-fd5a-47c3-875b-dbf4a2008c20} if you're on canary rather than stable, beta, or dev)

3) Run the command obtained from the previous step. For example:
"C:\Users\YOU\AppData\Local\Google\Chrome\Application\9.0.597.84\Installer\setup.exe" --rename-chrome-exe

Friday, July 30, 2010

Invalid query 1: Got a packet bigger than 'max_allowed_packet' bytes

Invalid query 1: Got a packet bigger than 'max_allowed_packet' bytes

If your script generates this error change the following variables:

File: /etc/my.cnf

Restart the mysql daemon after these changes

max_allowed_packet = 16M

Monday, April 12, 2010

Convert any Video format to Xvid with Virtual Dub

Convert any Video format to Xvid with Virtual Dub

Uses:
Convert a DVD to avi
Backup a DVD
Xvid Encoding
Convert movies to Xvid
Compress a Video File

Requirements:

- Download and install the latest Xvid video codec
- Download and install the latest Virtual Dub

- DO THIS FIRST -
1) Open the video file in Virtual Dub. Enable the Fast Recompress in Video > Fast Recompress. Next, Click Video > Compression.


2) Select the Xvid codec at the bottom.


3) Select profile. Choose Unrestricted or choose a profile that best selects the target device you want to watch the Xvid video.



4) Hit F7 on the keyboard or go to File > Save as AVI and enter a filename.



5) Watch the newly created compressed Xvid Video!

or Batch Convert Videos

1) File > Queue Batch Operation > Batch Wizard
- Drag n Drop the Files into the Batch box
- Choose the destination folder
- Click Add to Queue - Re-Save as AVI

2) File > Job Control > Click Start

Friday, February 12, 2010

Convert: missing an image filename, Command not found

convert: missing an image filename 'image-test.jpg'.

sh: line 1: image-test.jpg: command not found

Running the convert function through system() in a PHP script may result in the following error, "convert: missing an image filename"

The filename has been passed correctly to convert. The error persists.

Why does the error appear?

Line breaks. During the dump process it is possible that extra line breaks were added to the filenames.

Line breaks are invisible. That is why you cannot see the problem in the filename. The problem is not visible.

The solution is to run a trim() on all the filenames. That will instantly clean up and remove all the extra line breaks.

Thursday, February 11, 2010

phpMyAdmin Blank Page and eaccelerator

Blank phpmyadmin

So you've installed a brand new version of phpmyadmin. Running the config tool displays a blank page.

phpmyadmin displays a blank config page. The page is blank. Changing the configs manually will not work.

This issue appears if you have a version of php eaccelerator installed. It appears that certain versions of phpmyadmin will not work correctly with a version eaccelerator.

Disable php eaccelerator.

Heres how:

Open the /etc/php.ini file and edit the following line:

eaccelerator.enable="0"

Sunday, December 27, 2009

Disable Google Updates, GoogleUpdate.exe

Disable Google Updates, GoogleUpdate.exe

Procedure To disable GoogleUpdate.exe from running automatically during startup

Click Run > Type Msconfig > Goto the Startup Tab

Remove the checkbox next to GoogleUpdate.exe

Click OK. Restart the computer.

GoogleUpdate.exe also adds itself to Scheduled Tasks.

Navigate to the Control Panel > Scheduled Tasks

Delete all the GoogleUpdate.exe entries.

Restart the computer.

Click Run > Click Browse > Navigate to c:\windows\system32\ > Select the services.msc file. Click open

Right Click on the Google Update Service > Properties

Set the Start Up type to Disabled

Repeat process for the Google Updater Service.

Restart Computer

Default Phone Lock Password For Nokia E63

Default Phone Lock Password For Nokia E63

The Default Phone Lock Password For Nokia E63 is 12345

Menu > Tools > Settings > General > Security > Phone and SIM Card > Lock Code

To Change the lock:


Navigate to:
Menu > Tools > Settings > General > Security > Phone and SIM Card > Lock Code

Enter the old default preset lock code 12345

Enter the new lock code twice

Sunday, May 31, 2009

Countdown to the Palm Pre

Countdown to the Palm Pre

In 6 days, Palm is going to unveil the brand new Palm Pre smart-phone.

The last few months, Palm has been busy building the suspense and remaining secretive on details of the upcoming phone.

Blogs, Social networks, News feeds, Reviews, Videos, Rumor mills, CNN fortune, twitter. Everything! Everyone is on the new phone.

Back in 2006, Palm was struggling to stay afloat. Ed Colligan (CEO) did an amazing job of convincing Elevation Partners to invest $425 million! Money was invested to create money.

The Pre is the next big thing after the Apple iPhone. The Web OS Operating System that powers the Pre is revolutionary. The world has not seen anything like it, yet.

To create an Operating System on a phone where applications are built using plain HTML and Javascript is new. This is a first.

There is no doubt. Demand is going to be huge. Palm is going to face a shortage. The company will recover the $425 million invested in no time.

It appears that the Web OS will power a range of smaller hardware devices. Phones, smaller form factor devices?

Microsoft has been using this strategy for a while. The main Operating System is broken down into multiple flavors. The licensing fee is unique to the flavor.

Palm is pulling the same stunt with Web OS.

It is fascinating to see how Palm jumped to $12 per share compared to the $1 per share back in December.

To bounce back from dust during a recession is something.

This is a company with mobility in its DNA.

Really exciting times for Palm and for all those involved with the company.

Thursday, March 26, 2009

The Palm Pre

These are exciting times for Palm, the makers of the Palm Pilot.

Palm has been hard at work on the Palm Pre.


The Palm Pre is not *just* another mobile OS. This is mobile platform with features and underlying workings that do not exist on today’s mobile devices.

Apart from the standard list of features, the two that really stand out are:

- Multitasking
- Developing Apps in HTML and CSS!

Multitasking on a mobile device is a mean feat. Screens are smaller, form factors change, SLOW processing power, SLOW graphics and difficult input methods.

The Palm Pre multitasks apps like a deck of cards. Every card is an application and here’s where it gets even better, the STATE of the app you minimize is STORED and restored just like it was before the app was minimized. As an example, if you were composing an email message, you could minimize the compose window, then watch a movie and return to the email in the state it was left.

Developing apps in HTML and CSS consumes less dev time. No more fiddling with pesky SDK’s and learning a whole new API. Notepad or a HTML WYSIWYG tool is all that is needed.

For the last 10 years, a lot has been expected from Palm. Palm after all, has mobility built into its DNA. At a time where mobile devices didn’t do a lot apart from creating calls and a bunch of a few address book apps, the Palm Pilot was a Personal Device Assistant.

Palm Pre is slated for release in the first quarter this year. I do hope they release a GSM unlocked version too.

Palm has revisited the ideas and concepts that made Palm Pilot a success back in the day and engineered a modern WebOS platform that is ready for today and the future!

http://www.palm.com/us/products/phones/pre/

Thursday, January 08, 2009

Sarcastic Conversations

When in a conversation with a person and if you are leading the conversation, it is key to figure out the pace of the conversation.

If the other person is sarcastic all the time and if that is the only way they can reply, then it is time to bail out.

Sarcastic people have issues.

When you exit, you exit. Don’t try to exit out and then get back into the conversation. That would be weak.

Wednesday, December 31, 2008

New Year 2009

The New Year is an hour away.

Nothing will change. Stuff from the old continues.

It is refreshing to see the year number change over to a new digit after 365 days.

Do New Year’s resolutions ever work?

Maybe a resolution everyday would work.

Tuesday, September 23, 2008

Google's Mobile Platform is Here

Gotta love Mobile Technology.

Today, Google launched a new platform for mobile devices. What is interesting here is that the new Android platform is not just limited to cellphones.

It is quite possible that audio/video devices in cars, homes, hospitals are powered by the new platform.

The platform is built so that it can be dumped on *any* device. The possibilites are endless. I am typing this on Google's Chrome browser. Throw in Chrome on a mobile device and you have instant everything.

I am so happy that the days of proprietary *mobile only* browsers and webpages are coming to an end. WAP was just terrible. Cellphones are finally WiFi enabled.

All roads now lead towards high speed mobile processors and chips that can do photos, video and WiFi. I am leaving out 3G because 3G does not exist in most parts of the world and is still expensive.

It was about time that cellphone manufactures broke away from the closed business practices of carriers. Carriers are never happy with WiFi on cellphones because users would not need to use the slow and expensive GPRS services.

WiFi on cellphones is what we NEED.

http://www.t-mobileg1.com/g1-announcement.aspx

Thursday, August 14, 2008

Atom - Intel's Money Machine

Amazing. Chipmaker Intel’s money machine is at work like there’s no tomorrow.

Although purchases of some computing products have slowed, Intel created a whole new chip – The Atom Processor– for the masses. The Atom fits in perfect for smaller netbooks like the ASUS EEE, MID devices and cellphones?

Quote – “Intel calls Atom a "perfect recession product"”.

The performance and battery life on the Atom is like no other.

Just a few years ago, AMD was moving towards the top of the game. They had great processors for desktops. However, AMD could never figure out a solution for the heat problems that affected the processors. The failure rate was just too high.

AMD’s next problem was the absence of a processor for laptops. Computing has been moving towards mobile. AMD had nothing to beat Intel’s Centrino technology.

Even today, laptops with the AMD processor are plagued with heat problems. Heat leads to fatigue and failure. High temperatures can kill electronics.

After Intel released the Core 2 Duo, AMD’s fate was sealed for failure.

Intel continues to focus on Mobile.

- Processors that run faster
- Processors that consume less power
- Processors that produce less heat
- Chipsets integrated and packed with everything - from graphics to WiFi to 3G
- Integration does away with external dongles
- USB 3.0

I am on an Intel Core 2 Duo laptop and this thing flies.

Looking forward to in the (near future?) where cellphones and car computing are all powered by Intel's latest, fastest and greatest chips!


INTEL's STOCK PERFORMANCE - LAST 5 YEARS



AMD's STOCK PERFORMANCE - LAST 5 YEARS



References:

http://finance.yahoo.com/echarts?s=INTC#chart3:symbol=intc;range=20030902,20080813;indicator=volume;charttype=line;crosshair=on;ohlcvalues=0;logscale=on

http://finance.yahoo.com/echarts?s=AMD#chart1:symbol=amd;range=5y;indicator=volume;charttype=line;crosshair=on;ohlcvalues=0;logscale=on;source=undefined

Friday, July 11, 2008

Interview: Software Behind the Mars Phoenix Lander

wow! Very interesting interview/discussion between O'Reilly News and NASA's project software engineer.

"What's the process look like there for getting software to get 700+ pounds of metal and equipment to another planet?"

"Here's my $325 million baby. Will it land?"

"The spacecraft software is entirely in C. "

http://news.oreilly.com/2008/07/the-software-behind-the-mars-p.html

Saturday, May 31, 2008

Google Talk Current Music Track Bug Workaround Fix

Google Talk version 1.0.0.104 (client) will crash under the following conditions:

1] Show Current Music Track is enabled
2] Winamp v5.5 is playing a music track

The following is a workaround fix:

Create an empty winamp.m3u file and drop the file into the C:\Program Files\Winamp directory.

Restart both applications.

Howto create an empty winamp.m3u file?

Right-click > New Text Document > Rename the file to winamp.m3u

Texting Your Way To Love

This is too true

Source: http://current.com/items/88906818_texting_your_way_to_love


Sunday, May 18, 2008

2008 Fortune 500

I used to think that software companies were in the Top 10 Fortune 500 list. That doesn't seem to be the case.

Source:
http://money.cnn.com/magazines/fortune/fortune500/

2008 Fortune 500

1. Wal-Mart Stores
2. Exxon Mobil
3. Chevron
4. General Motors
5. ConocoPhillips
6. General Electric
7. Ford Motor
8. Citigroup
9. Bank of America
10. AT&T
11. Berkshire Hathaway
12. J.P. Morgan Chase & Co.
13. AIG
14. Hewlett-Packard
15. IBM
16. Valero Energy
17. Verizon Communications
18. McKesson
19. Cardinal Health
20. Goldman Sachs

Friday, May 09, 2008

Ford, General Motors Hydrogen Fuel Cell SUV's

Gotta love Monster Trucks. Driving one of these small giants at a high speed is epic. I don't think a SUV is designed for slow.

I guess the only problem is Gas! This could soon be a problem of the past.

Ford, General Motors and Toyota have been experimenting with Fuel Cells! Generate electricity from clean Hydrogen.

The next challenge is to release these quick at great price point.

GM's Chevy Equinox. A 100 of these are supposedly out on the streets! (USA only)


Ford Explorer



Ford Explorer, Fuel Cell



Toyota Fuel Cell Vehicle:

References:

Automobilemag
Carlist Toyota

The Fall of Motorola (Handheld Division)

Not so long ago, Motorola had the most stylish clamshell cellphone in the market. They were the first to release a phone that was thin, a strong anodized aluminum shell with an electroluminescent chemically etched keypad.

This chart from Yahoo! Finance displays Motorola’s stock situation during the last six months.



Besides, the fall in stock, there has been a lot of talk about Motorola shutting down the handheld division.

Motorola went down hill after the success with the RAZR. Instead of focusing on a solid software platform for the RAZR, Motorola continued shipping the crippled RAZR 2 with a half baked version of Linux. There wasn’t an active developer base developing apps. The User Interface (UI) was slow and prone to crashes.

RAZR 2 ought to have had a version of Windows Mobile thrown in, increased onboard memory to 2Gigs and a camera that beats Nokia.

To make matters worse, RAZR 2 was expensive. Expectations from cellphones began running high between 2006 and 2007. The price point for RAZR 2 that did not do much for a phone released in 2006/07, added to the failure. Sony Ericsson and Nokia were pushing out faster and better phones three times faster than Motorola.

The next problem is that Motorola probably lost out on market research and the need for foresight. The least you could do is figure out why the RAZR was a success and build on that.

I think Motorola ought to have been aggressive on a quarterly basis. Release new updates at a high speed. Why wait to release an update two years later only to realize that this one is the same as the previous release. It is ridiculous to wait. You will have probably lost millions in revenue waiting or the competition will have eaten you. And then it is too late to rise again.

Sony Ericsson for sure figured they need to be heading in a different direction. The XPERIA X1 with Windows Mobile 6 under the hood proves this. Windows Mobile is a first for Sony, opens up a lot of doors for businesses, applications and developers.

There are ways to monetize through software on cellphones for business use. Applications, push email, secure communication protocols, custom applications, hardware accessories, custom developer toolkits, email, web proxy services.

The shift from Symbian to Windows Mobile is a surprise from Sony. I guess this is where the company changed gears, something that Motorola ought to have done two/three years ago!

References:

Yahoo! Finance Stocks
USA Today - Motorola mulls breakup, phone unit sale
Motorola Exploring Sale of Handset Business

Monday, May 05, 2008

Excel: Convert Rows to Columns

COPY--PASTE SPECIAL--> TRANSPOSE

Saturday, April 26, 2008

Importing UTF-8 Datasets in MySQL

Before importing a UTF-8 dataset, be sure to change the default MySQL database collation to utf8_unicode_ci.

Note: If the tables and structures are in the utf8 collation but the database is on a Latin collation, the import will not be successful.

The database, tables and structures need to be all UTF8 enabled.

Saturday, April 19, 2008

Escape MySQL Variables in the Same Sequence

When escaping a MySQL query, be sure to escape the variables in the correct order.

Example:

UPDATE
table_name
SET
var1='%s',
var3='%s',
var2='%s'
WHERE
foo=bar
mysql_real_escape_string($var1, $db),
mysql_real_escape_string($var3, $db),
mysql_real_escape_string($var2, $db)

The mysql_real_escape_string function will escape variables in the order specified in SET

Thursday, February 21, 2008

Indian Fashion, Human Mannequins

Quote from the Wiki:
# A jointed model of the human body used by artists, especially to demonstrate the arrangement of drapery. Also called lay figure.
# A life-size, articulated doll mainly used to display clothing.

There seem to be a lot of India clothes tailors in Bangkok. These guys share a common trait and that is to stand *outside* the store like retards.

It is annoying as hell to see these characters standing around, doing nothing, staring the whole damn day.

I was quick to grab this photo. My hand was in the bag, I instantly powered on the camera, made the guy think I was going to climb up the stairs – only to turn around point and shoot! He was caught off guard and moved out of the frame after I shot the photo. Oops! Too late ;-)

Invest in some real Mannequins guys.. That's the least you can do!







External References:
http://en.wikipedia.org/wiki/Mannequin

Sunday, February 17, 2008

What Not to Do on Duplicate Records

You've probably grabbed a bunch of records from the database, pumped them into an array and then tried to delete the duplicate records. The result is a dataset that is messed up, the reason why is unknown.

Lets look at the array:

// Your query here
$SqlSelectRow = mysql_fetch_array($SqlSelectResult)

This behavior occurs because you perform the action on the contents in the array. Updates to the array are not reflected on the database, and therein lies the problem.

Be sure to directly update records in the database or have the array update contents in the db.

An easy solution though is to set the column as 'unique' and then dump the dataset. Be sure to remove the unique attribute once this process completes if you want duplicate records during future inserts.