Re: [google-appengine] Geocoding API and Distances

2020-03-02 Thread gjs
Hi, 

Distance calc is in the Android api see 
https://developer.android.com/reference/android/location/Location distanceTo() 
method, otherwise a Google search will show you the calculation used.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f1f65ca1-ea6b-4c00-a450-aa9382180ae3%40googlegroups.com.


[google-appengine] Re: Firebase Cloud functions express ip location

2019-05-27 Thread gjs
Hi,

Try examining request headers eg

header X-AppEngine-Country = AU
header X-AppEngine-City = sydney


Regards


On Tuesday, May 28, 2019 at 3:00:30 AM UTC+10, renaud hedde wrote:
>
> Hi,
>
> I'm working on cloud function projet with nodejs express
>
> I'm trying to get the request user city location.
>
> My request coming from france but every test I get the google US "mountain 
> view" location
>
> I'm trying 3 differents technique to get ip
>
>- req.connection.remoteAddress
>- x-appengine-user-ip
>- x-forwarded-for
>
> Also  I config express with* app.set('trust proxy', true);*
>
> But anycase I got google server IP instead request user ip ?
>
> many thanks
>
> renaud
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/738f006b-29aa-447e-9d06-67d0e0e15d20%40googlegroups.com.


[appengine-java] Re: is it possible to use Java 7 on GAE ?

2011-09-01 Thread gjs
Hi,

I think its better to wait till some of the bugs are worked out...

Regards

On Sep 1, 9:41 pm, Tommy Fannon tfan...@gmail.com wrote:
 ..because developers like to work on new things.

 Many of choose technology that pushes the limits.   If GAE/j gets too far
 behind the curve and doesn't support Java 7,  people are not going to
 migrate to the platform.  

 I consider Google a 'thought-leader' in emerging technology.   But,  they
 will lose that status if they stay too far behind.  This is especially true
 if they want to bring new devs into the platform to kick the tires.

 -TF

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-07 Thread gjs

+1

Regards

On Apr 7, 3:52 pm, Thomas Wiradikusuma wiradikus...@gmail.com wrote:
 I agree with Rajkumar,

 GAE/J is a very important service, especially for indie Java
 developers like me.
 The service is getting better, and the developer groups are vibrant.

 Happy Birthday GAE!

 regards,
 Thomas Wiradikusuma

 On Apr 7, 12:17 pm, Rajkumar Radhakrishnan r.rajku...@gmail.com
 wrote:







  Hi,

  It is now 3 years since Google App Engine was first released. *Happy
  Birthday Google App Engine !!*

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: Which is Faster ? google.appengine.api.datastore OR google.appengine.ext.db ?

2010-10-16 Thread gjs
Bill can't we just create a BingTable and charge for it? Sure Steve,
call it Live on Cloud 7.

On Oct 16, 10:38 pm, YF CAO caoyongfeng0...@gmail.com wrote:
 Steve, is that you?

 2010/10/15 Robert Kluin robert.kl...@gmail.com



  Bill, is that you?

  On Thu, Oct 14, 2010 at 23:08, YF CAO caoyongfeng0...@gmail.com wrote:
   I want to kill BigTable.

   2010/10/15 sodso sodhisoluti...@gmail.com

   Which is Faster ? google.appengine.api.datastore OR
   google.appengine.ext.db ?

   Which one is faster for doing frequent datastore operations and costs
  less
   CPU cycles as well ?

   Using
   google.appengine.api.datastore
   OR
   google.appengine.ext.db

   Please provide your expert views on this ?

   --
   You received this message because you are subscribed to the Google
  Groups
   Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
  .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

   --
   You received this message because you are subscribed to the Google Groups
   Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
  .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: setting a favicon in java app using eclipse

2009-08-30 Thread gjs

Hi there,

I had the same problem, but got favicon.ico to work by ALSO including
it in the listing of static files in appengine-web.xml

eg:

?xml version=1.0 encoding=utf-8 ?
- appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
  applicationxxx/application
  version1/version
- !--  Configure java.util.logging
  --
- system-properties
  property name=java.util.logging.config.file value=WEB-INF/
logging.properties /
  /system-properties
- static-files
  include path=/**.png /
  include path=/**.jpg /
  include path=/**.html /
  include path=/**.ico /
  /static-files
  /appengine-web-app

Regards

On Aug 28, 3:07 pm, Phone Guy timr...@gmail.com wrote:
 Of all the things to get hung up on, this one should not be it...  I
 cannot for the life of me make my favicon.ico show up in my
 application.  I'm writing a java app using the eclipse plug to
 deploy.  The instructions for this in python are pretty clear.  For
 java, I keep reading that I just need to drop the icon file in the war
 root directory and it will get picked up.  So I think I'm doing that
 right, but I cannot for the life of me make the icon appear in my
 application.

 Has anyone else run into this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: All Read Please: Geographical Request Latency

2009-08-20 Thread gjs

And -

Pinging appspot.l.google.com [66.102.11.141] with 32 bytes of data:

Reply from 66.102.11.141: bytes=32 time=36ms TTL=52
Reply from 66.102.11.141: bytes=32 time=36ms TTL=52
Reply from 66.102.11.141: bytes=32 time=36ms TTL=52
Reply from 66.102.11.141: bytes=32 time=36ms TTL=52

Ping statistics for 66.102.11.141:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 36ms, Maximum = 36ms, Average = 36ms

Regards

On Aug 17, 12:16 pm, gjs garyjamessi...@gmail.com wrote:
 Home Ajax request latency of 425ms
 Page One Ajax request latency of 439ms
 Page Two Ajax request latency of 420ms
 More Ajax request latency of 836ms

 After trying multiple times most responses are around 380~420ms

 From Australia ( with chrome on windoze xp )

 Regards

 On Aug 17, 9:02 am, GregF g.fawc...@gmail.com wrote:

  Queenstown New Zealand: 440-490ms.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: All Read Please: Geographical Request Latency

2009-08-16 Thread gjs

Home Ajax request latency of 425ms
Page One Ajax request latency of 439ms
Page Two Ajax request latency of 420ms
More Ajax request latency of 836ms

After trying multiple times most responses are around 380~420ms

From Australia ( with chrome on windoze xp )

Regards


On Aug 17, 9:02 am, GregF g.fawc...@gmail.com wrote:
 Queenstown New Zealand: 440-490ms.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is anybody experiencing timeout from the data store right now?

2009-07-23 Thread gjs

Hi again,

I went ahead and coded a servlet to delete the offending rows/entities
where I was using geo: and tel: prefixed url strings within a LINK
data type column within a datastore entity.

The DataViewer is now working ok for me again.

Thanks

Regards

On Jul 22, 11:48 pm, gjs garyjamessi...@gmail.com wrote:
 Hi Jeff,

 All I see on the page after clicking on the DataViewer link from the
 dashboard is -

 Server Error

 A server error has occurred.

 Return to Applications screen »

 - the page source only gives a few clues -

 title Server Error (500)  title

 - this is preventing me from doing online datastore maintenance using
 the DataViewer

 I have tried both, mac book pro + firefox  windows xp + firefox but
 still get the same error ?

 A clue  (maybe), is that I recently stored a few rows in my
 'geoPasteDrawingPlacement' entity/table that have  tel: and  geo:
 prefixes in a LINK url column - maybe this is what is causing the 500
 error for the DataViewer ? Perhaps I should be using a string column
 for such data instead, (my apologies if this is the cause of the 500
 server error). As mentioned the data is being returned to the client
 app OK.

 If you really need to you CAN go ahead and delete the (entire)
 datastore content for my application - gaedrive - if necessary, it
 only has a small amount of data in two entities, which I can
 recreate.

 Otherwise I can try to delete the offending row via codebase update/
 redeploy, but I am relunctant to change the code whilst I am getting
 the DataViewer 500 server error from the dashboard, I will await your
 instructions before doing this.

 Thanks for investigating, could you please let me know if you are able
 to fix this, or let me know if I should delete the (offending?) rows
 mentioned via a code update.

 Regards Gary

 On Jul 23, 9:54 am, Jeff S (Google) j...@google.com wrote:



  Hi gjs,

  Based on your description, since this error is only in the data viewer, then
  it may be that the issue is with the structure of one of the entities which
  the datastore viewer is trying to display. What is the exception that you
  are seeing?

  Thank you,

  Jeff

  On Wed, Jul 22, 2009 at 4:29 PM, gjs garyjamessi...@gmail.com wrote:

   Hi,

   I am still getting 500 server errors when trying to access the Data
   Viewer page from the dashboard,  my app is -

   gaedrive

   - this same error has been happening for more than 10 hours.

   However data is being served OK to the clients.

   Thanks

   Regards

   On Jul 23, 6:13 am, Jeff S (Google) j...@google.com wrote:
Hello again,

Further details are available here:

   http://groups.google.com/group/google-appengine-downtime-notify/brows...

Thank you,

Jeff

On Jul 22, 11:46 am, Jeff S (Google) j...@google.com wrote:

 Hi all,

 We're aware of these issues and will be posting further details to
 downtime notify soon.

http://groups.google.com/group/google-appengine-downtime-notify

 The status site has been unavailable for several hours and we are also
 aware of a few issues with the datastore which have already been
 resolved.

 Cheers,

 Jeff

 On Jul 22, 7:19 am, Hrishikesh Bakshi bakshi.hrishik...@gmail.com
 wrote:

  I am getting 404 error on my app right now.
  http://rumaps.rutgers.edu/
  Even the status page is down.

  On Wed, Jul 22, 2009 at 10:07 AM, NervMouse mous...@gmail.com
   wrote:

   the datastore timeout lasting for about 20 minute

   It works well now.

   On 7月22日, 下午9時45分, Tonny mezz...@gmail.com wrote:
All my requests seems to timeout right now

  --
  Hrishikesh Bakshi

 On Jul 23, 9:54 am, Jeff S (Google) j...@google.com wrote:

  Hi gjs,

  Based on your description, since this error is only in the data viewer, then
  it may be that the issue is with the structure of one of the entities which
  the datastore viewer is trying to display. What is the exception that you
  are seeing?

  Thank you,

  Jeff

  On Wed, Jul 22, 2009 at 4:29 PM, gjs garyjamessi...@gmail.com wrote:

   Hi,

   I am still getting 500 server errors when trying to access the Data
   Viewer page from the dashboard,  my app is -

   gaedrive

   - this same error has been happening for more than 10 hours.

   However data is being served OK to the clients.

   Thanks

   Regards

   On Jul 23, 6:13 am, Jeff S (Google) j...@google.com wrote:
Hello again,

Further details are available here:

   http://groups.google.com/group/google-appengine-downtime-notify/brows...

Thank you,

Jeff

On Jul 22, 11:46 am, Jeff S (Google) j...@google.com wrote:

 Hi all,

 We're aware of these issues and will be posting further details to
 downtime notify soon.

http://groups.google.com/group/google-appengine-downtime-notify

 The status site has been unavailable for several hours and we are also
 aware of a few issues with the datastore which have already

[google-appengine] Re: Is anybody experiencing timeout from the data store right now?

2009-07-22 Thread gjs

Hi,

I am still getting 500 server errors when trying to access the Data
Viewer page from the dashboard,  my app is -

gaedrive

- this same error has been happening for more than 10 hours.

However data is being served OK to the clients.

Thanks

Regards

On Jul 23, 6:13 am, Jeff S (Google) j...@google.com wrote:
 Hello again,

 Further details are available here:

 http://groups.google.com/group/google-appengine-downtime-notify/brows...

 Thank you,

 Jeff

 On Jul 22, 11:46 am, Jeff S (Google) j...@google.com wrote:

  Hi all,

  We're aware of these issues and will be posting further details to
  downtime notify soon.

 http://groups.google.com/group/google-appengine-downtime-notify

  The status site has been unavailable for several hours and we are also
  aware of a few issues with the datastore which have already been
  resolved.

  Cheers,

  Jeff

  On Jul 22, 7:19 am, Hrishikesh Bakshi bakshi.hrishik...@gmail.com
  wrote:

   I am getting 404 error on my app right now.http://rumaps.rutgers.edu/
   Even the status page is down.

   On Wed, Jul 22, 2009 at 10:07 AM, NervMouse mous...@gmail.com wrote:

the datastore timeout lasting for about 20 minute

It works well now.

On 7月22日, 下午9時45分, Tonny mezz...@gmail.com wrote:
 All my requests seems to timeout right now

   --
   Hrishikesh Bakshi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is anybody experiencing timeout from the data store right now?

2009-07-22 Thread gjs

Hi Jeff,

All I see on the page after clicking on the DataViewer link from the
dashboard is -

Server Error

A server error has occurred.

Return to Applications screen »

- the page source only gives a few clues -

title Server Error (500)  title

- this is preventing me from doing online datastore maintenance using
the DataViewer

I have tried both, mac book pro + firefox  windows xp + firefox but
still get the same error ?

A clue  (maybe), is that I recently stored a few rows in my
'geoPasteDrawingPlacement' entity/table that have  tel: and  geo:
prefixes in a LINK url column - maybe this is what is causing the 500
error for the DataViewer ? Perhaps I should be using a string column
for such data instead, (my apologies if this is the cause of the 500
server error). As mentioned the data is being returned to the client
app OK.

If you really need to you CAN go ahead and delete the (entire)
datastore content for my application - gaedrive - if necessary, it
only has a small amount of data in two entities, which I can
recreate.

Otherwise I can try to delete the offending row via codebase update/
redeploy, but I am relunctant to change the code whilst I am getting
the DataViewer 500 server error from the dashboard, I will await your
instructions before doing this.

Thanks for investigating, could you please let me know if you are able
to fix this, or let me know if I should delete the (offending?) rows
mentioned via a code update.

Regards Gary

On Jul 23, 9:54 am, Jeff S (Google) j...@google.com wrote:
 Hi gjs,

 Based on your description, since this error is only in the data viewer, then
 it may be that the issue is with the structure of one of the entities which
 the datastore viewer is trying to display. What is the exception that you
 are seeing?

 Thank you,

 Jeff

 On Wed, Jul 22, 2009 at 4:29 PM, gjs garyjamessi...@gmail.com wrote:

  Hi,

  I am still getting 500 server errors when trying to access the Data
  Viewer page from the dashboard,  my app is -

  gaedrive

  - this same error has been happening for more than 10 hours.

  However data is being served OK to the clients.

  Thanks

  Regards

  On Jul 23, 6:13 am, Jeff S (Google) j...@google.com wrote:
   Hello again,

   Further details are available here:

  http://groups.google.com/group/google-appengine-downtime-notify/brows...

   Thank you,

   Jeff

   On Jul 22, 11:46 am, Jeff S (Google) j...@google.com wrote:

Hi all,

We're aware of these issues and will be posting further details to
downtime notify soon.

   http://groups.google.com/group/google-appengine-downtime-notify

The status site has been unavailable for several hours and we are also
aware of a few issues with the datastore which have already been
resolved.

Cheers,

Jeff

On Jul 22, 7:19 am, Hrishikesh Bakshi bakshi.hrishik...@gmail.com
wrote:

 I am getting 404 error on my app right now.
 http://rumaps.rutgers.edu/
 Even the status page is down.

 On Wed, Jul 22, 2009 at 10:07 AM, NervMouse mous...@gmail.com
  wrote:

  the datastore timeout lasting for about 20 minute

  It works well now.

  On 7月22日, 下午9時45分, Tonny mezz...@gmail.com wrote:
   All my requests seems to timeout right now

 --
 Hrishikesh Bakshi

On Jul 23, 9:54 am, Jeff S (Google) j...@google.com wrote:
 Hi gjs,

 Based on your description, since this error is only in the data viewer, then
 it may be that the issue is with the structure of one of the entities which
 the datastore viewer is trying to display. What is the exception that you
 are seeing?

 Thank you,

 Jeff

 On Wed, Jul 22, 2009 at 4:29 PM, gjs garyjamessi...@gmail.com wrote:

  Hi,

  I am still getting 500 server errors when trying to access the Data
  Viewer page from the dashboard,  my app is -

  gaedrive

  - this same error has been happening for more than 10 hours.

  However data is being served OK to the clients.

  Thanks

  Regards

  On Jul 23, 6:13 am, Jeff S (Google) j...@google.com wrote:
   Hello again,

   Further details are available here:

  http://groups.google.com/group/google-appengine-downtime-notify/brows...

   Thank you,

   Jeff

   On Jul 22, 11:46 am, Jeff S (Google) j...@google.com wrote:

Hi all,

We're aware of these issues and will be posting further details to
downtime notify soon.

   http://groups.google.com/group/google-appengine-downtime-notify

The status site has been unavailable for several hours and we are also
aware of a few issues with the datastore which have already been
resolved.

Cheers,

Jeff

On Jul 22, 7:19 am, Hrishikesh Bakshi bakshi.hrishik...@gmail.com
wrote:

 I am getting 404 error on my app right now.
 http://rumaps.rutgers.edu/
 Even the status page is down.

 On Wed, Jul 22, 2009 at 10:07 AM, NervMouse mous...@gmail.com
  wrote:

  the datastore timeout lasting for about 20 minute

  It works well now.

  On 7月22日, 下午9時45分