Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #2732

Re: From city to lati and long

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: From city to lati and long
Date 2011-08-04 19:58 -0400
Organization A noiseless patient Spider
Message-ID <j1fbnt$5u4$1@dont-email.me> (permalink)
References (4 earlier) <4e3aba43$0$2891$a8266bb1@newsreader.readnews.com> <j1eo58$tp4$1@dont-email.me> <4e3af031$0$2920$a8266bb1@newsreader.readnews.com> <j1erhe$muq$1@dont-email.me> <4e3b2994$0$2986$a8266bb1@newsreader.readnews.com>

Show all headers | View raw


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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

From city to lati and long Sarah <dandi.box@gmail.com> - 2011-08-01 14:20 -0700
  Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-01 19:07 -0400
    Re: From city to lati and long Sarah <dandi.box@gmail.com> - 2011-08-02 01:19 -0700
      Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-02 06:50 -0400
    Re: From city to lati and long Sarah <dandi.box@gmail.com> - 2011-08-02 09:20 -0700
      Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-02 14:44 -0400
      Re: From city to lati and long A.Reader <anonymously@example.com> - 2011-08-02 15:53 -0400
    Re: From city to lati and long Sarah <dandi.box@gmail.com> - 2011-08-03 15:08 -0700
      Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-03 23:20 -0400
        Re: From city to lati and long Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-08-04 15:27 +0000
          Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-04 14:24 -0400
            Re: From city to lati and long Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-08-04 19:17 +0000
              Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-04 15:22 -0400
                Re: From city to lati and long Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-08-04 23:21 +0000
                Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-04 19:58 -0400
                Re: From city to lati and long Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-08-05 04:49 +0000
                Re: From city to lati and long Jerry Stuckle <jstucklex@attglobal.net> - 2011-08-05 06:20 -0400
  Re: From city to lati and long Paul Herber <paul@pherber.com> - 2011-08-04 09:03 +0100

csiph-web