Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Warren Gaebel
I am the owner-operator of Q.A.T. Business Services in Waterloo, Ontario. Q.A.T. provides bookkeeping and tax services to small businesses in the Waterloo and Stratford areas. Go to http://qatbs.com for more information.
PHP's json_decode Returns Null?
3 AnswersProgramming & Design6 years agoJavaScript innerHTML Won't Update While Script is Running?
I am appending text to document.body.innerHTML, but it doesn't appear in the document until after my script terminates. The code works fine; the output is just not visible. [When I use Firebug, I can see the correct output every time it stops at a breakpoint.]
I am trying to simulate an old-style CGA environment: upper-case white text on a black background with 80 characters per line and 16 lines on the screen (you probably won't remember the TRS-80 unless you're over 30). This means I have to write four functions: inputChar, outputChar, inputLine, and outputLine. Not a big deal, but the user can't view the output until the script terminates. The trouble is that the script can't terminate until we go through the input, output, input, output many times - the ultimate catch-22.
While typing, I figured out that I can redesign the code to make everything trigger on the user's keypress, but that's a major logic rewrite. Can you think of any other way I can show the output immediately rather than after the script terminates?
2 AnswersProgramming & Design9 years agophpMyAdmin won't accept delimiter statement? What am I doing wrong?
I am working in phpMyAdmin v2.8.0.1 with a MySql 5.0.91 database. It's a brand new database, so there's nothing in it.
I click on the SQL tab, then enter this one line:
-----> delimiter //
(without the -----> of course). When I click on GO, it replies:
ERROR: Unknown Punctuation String @ 11
STR: //
SQL: delimiter //
According to all the manuals, this should work, but it doesn't. What am I doing wrong here? Or what is it I don't know? All help is appreciated.
1 AnswerProgramming & Design9 years agoCan cookies be stored by IP address instead of domain name?
First, here's what I'm trying to accomplish: I want to use my static IP address as a cookie-less domain. Let's say my domain is xyz.com and my DNS record points xyz.com to 100.200.300.400 (my static IP address). My code (accessed through xyz.com) uses cookies. I want my images, scripts, and stylesheets to be accessed through 100.200.300.400. I am hoping that this will stop the cookies from being sent along with the images, scripts, and style sheets.
So the question is: If I access my images, scripts, and style sheets through my IP address and never set any cookies on the IP address, will I avoid sending cookies along with every request?
3 AnswersProgramming & Design9 years agoHow do you serialize asynchronous activities in JavaScript?
What is the best way to serialize activities between asynchronous JavaScript code? Tight loops that wait for a global variable to be set are too CPU-intensive. Using a timer is too artificial and is not guaranteed to work. Is there any way to use an operating system semaphore? If not, is there any way to create a semaphoring system within JavaScript?
2 AnswersProgramming & Design9 years agoWhere will they bury the survivors?
If a bunch of Norwegians take off from Germany to go to Poland, but the plane crashes on the border between Canada and the United States, where will they bury the survivors?
10 AnswersJokes & Riddles9 years agoCan you solve this puzzle?
Can you explain the error in the following logic? It's not good enough to just say that it's wrong (I already know that). You must explain the logic error.
If I take off in a very fast airplane and go west to the next time zone, I go back one hour. If I take off in a very fast airplane and go west two time zones, I go back two hours. If I take off in a very fast airplane and go west X time zones, I go back X hours.
Therefore, if I take off in a very fast airplane and go west 24 time zones (all the way around the world, landing at the same place from which I departed), I go back one full day. If the journey takes 23 hours and 59 minutes, I will arrive just in time to watch myself take off.
5 AnswersJokes & Riddles9 years agoWill you help me make a list of online British and Canadian dictionaries with syllabication?
I am trying to make a list of dictionaries that meet the following requirements:
1. searchable online without giving up any personal information and without logging in
2. British and Canadian dictionaries only
3. MUST break words into syllables
Will you please help? I will post the complete list of links here when we are done.
1 AnswerWords & Wordplay9 years agoWhich season is longer?
Which season is longer in the Northern Hemisphere: spring, summer, fall, or winter?
4 AnswersAstronomy & Space9 years agoOn what date will Queen Elizabeth II's reign be exactly as long as Queen Victoria's reign?
Here's a trivia question for you to play with. I'm expecting a lot of wrong answers to this one, so be careful.
On what date will Queen Elizabeth's reign be exactly as long as Queen Victoria's reign? Hint: It's only a few years away. She seems healthy enough, so maybe she'll make it.
6 AnswersRoyalty9 years agoAt what point does a queen or king become queen or king?
I am referring to British monarchy. Does the queen/king become so upon the death of the previous monarch or upon coronation? Or is there perhaps some other point at which he/she officially becomes the monarch?
4 AnswersRoyalty10 years agoDo you know any conjugation jokes?
Please tell me any jokes like this one:
"I glow; you perspire; she sweats like a pig."
Notice the I ... you ... he/she pattern. The joke says the same thing about all three people, but uses a positive connotation for the speaker and a negative connotation for the absent third person.
I heard this joke and several others like it many years ago, but I can only remember this one. There were a whole slough of others. Do you know any? Feel free to make them up, too.
2 AnswersJokes & Riddles10 years agoWhere can I find detailed info about XML stylesheets for genealogical data?
If any conventions or standards exist, I would like to get links to them. If none exist yet (which is what I expect), I would like to read up on whatever efforts have been made so far. If some group is actively working on genealogical style sheets, I would like to be put in touch with them.
1 AnswerGenealogy10 years agoWhy did typewriters go ding just before reaching the end of a line?
Two trivia questions for you. The first person to get both right wins.
Really old typewriters went ding (a bell rang) as you approached the end of a line. How far before the end of the line did they ding, and what was the purpose of the ding? [If you're thinking of a typewriter that has a power cord, you're not thinking back far enough.]
4 AnswersTrivia10 years agoWhat's the difference between unlawful and illegal?
It's a joke ... The answer's down below.
Farther down.
Keep going.
You're getting there, but keep scrolling.
Not much further.
and the answer is:
"Unlawful" means "against the law" and an ill eagle is a sick bird.
1 AnswerWords & Wordplay10 years agoIs midnight 00:00 or 24:00 on a 24-hour clock? Why?
4 AnswersTrivia10 years agoHow can I let people know about dir.AsSimpleAsItGets.org, a new website that gives away free advertising?
I just built a wonderful new website at http://dir.assimpleasitgets.org./ It is a business directory. Users select the city and the category, then it automatically lists the names, addresses, and phone numbers in that city/category combination. It's as simple as it gets AND IT'S FREE!!! Now the question is: How can I let the world know about this wonderful new service without spending any money???
Other - Advertising & Marketing1 decade ago