FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » From city to lati and long
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: From city to lati and long [message #175034 is a reply to message #175033] Thu, 04 August 2011 23:58 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 8/4/2011 7:21 PM, Denis McMahon wrote:
> On Thu, 04 Aug 2011 15:22:20 -0400, Jerry Stuckle wrote:
>
>> Sure, I reject them - because I believe in finding the PROBLEM - not
>> guess and try things until something might work *right now*. She can
>> do that - she can jump up and down on the sofa, or hold her breath until
>> she's blue in the face. All have an equal likelihood of finding the
>> problem.
>
> So you reject the suggestions I make to try and find the problem because
> you believe the correct solution is to find the problem.
>
> The "problem" might be:
>
> (a) she is making a malformed request (that she will need to refer to
> google)
> (b) she is sometimes getting valid data in different format to that which
> she expects (the logging I suggest will help identify that problem)
> (c) she is occasionally getting something other than a 200 response from
> the google maps server but she is not recognising let alone handling that
> response (the logging I suggest will help identify that problem, and
> using curl instead of file to get the page will provide a better
> mechanism to handle such cases)
<More crap snipped>
>
> Rgds
>
> Denis McMahon

Yes, I reject it. The problem is not:

a) If you actually READ her message, a retry works fine. But if it is a
malformed request, the problem should be troubleshot from the server -
where the problem with the request can be identified.

b) Again, if that were the case, the problem is not in her request - but
in the server responding improperly.

c) She may or may not be getting other than a 200 response from the
server - but that would be a server or network problem, not something in
her code, and should be troubleshot from the server.

In all cases, the problem is independent of the language, because the
server has no idea what language is being used on the client side.

She can keep experimenting until the end of the world, and may or may
not find the problem. Or she can get the PROPER support and find out
what's actually going on - from the server end.

Programmers find the problem and resolve it. Hackers just keep trying
with the code until it works at the time, without finding the real
problem - which means it can fail again.

You obviously have no idea how to troubleshoot a client-server problem.
Not everything is a PHP problem just because the code is PHP. And not
everything should be troubleshot as a PHP problem just because the code
is PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: What is Islam?
Next Topic: Using function prototypes in code
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 11:29:50 GMT 2024

Total time taken to generate the page: 0.03610 seconds