[appengine-java] Developers being removed from permissions list

2012-03-15 Thread WillSpecht
I have added a developer to my app engine project simply to send mail. (no-re...@myapp.com). This is a real email address. I verified the invite and everything was fine. A few days later, users are not receiving confirmation emails, sent from no-reply. It turns out he was removed from the

[appengine-java] Problem with CSS on deployment

2012-02-07 Thread WillSpecht
Since I upgraded to the latest SDK my css has been acting really weird. On random deployments my CSS does not load at all. I then redeploy my site a few times with no code changes, and the CSS works fine. I tried to look at the CSS in chrome. If I open the resources panel and click on my

Re: [appengine-java] Problem with CSS on deployment

2012-02-07 Thread WillSpecht
So looks like I just have to wait till this update pushes to eclipse. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/lgHHYlgPfEAJ.

[appengine-java] Always on - control number of always on instances

2011-10-18 Thread WillSpecht
For the new billing, are we able to control how many instances are always on? Will I be able to only have one or two instances always on? -- 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

[appengine-java] Re: Mobile subdomain in app engine

2011-10-07 Thread WillSpecht
I was looking for an easy way to do this once and make it work for the whole site. Now I realize I'm going to have to go into every servlet and have it choose which jsp to display. On Oct 6, 6:43 pm, WillSpecht willspe...@gmail.com wrote: My real problem is that I can't figgure out how to show

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread WillSpecht
of designing for all viewports from the start instead of a redirect? see the new jquery library    http://jquerymobile.com On Oct 4, 11:57 am, WillSpecht willspe...@gmail.com wrote: Can someone give me a basic rundown of how to set up a mobile site on app engine. I already have a standard site set up

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread WillSpecht
    /welcome-file-list I'll leave the app version that uses an index.jsp welcome file and a browser agent filter up to you, but it should work similarly. On Oct 6, 7:10 am, WillSpecht willspe...@gmail.com wrote: Things will be slightly different on the mobile site.  I have checked

[appengine-java] Mobile subdomain in app engine

2011-10-04 Thread WillSpecht
Can someone give me a basic rundown of how to set up a mobile site on app engine. I already have a standard site set up but I want to use the same data store to run a mobile site. I would like to redirect mobile users to m.mydomain.com. Basically both sites will be the same I just want to show

[appengine-java] Delay for later request

2011-08-09 Thread WillSpecht
I am have created a search bar similar to facebook that shows you names and pictures as you type into a search bar. e.g. typing jo would bring up a drop down of John Smith and Michael Jordan. This works really well on the development server, and even works really well in production, when the

[appengine-java] Stop blob URL from expiring

2011-06-01 Thread WillSpecht
I am uploading images to the blob store. I have copied the example from http://code.google.com/appengine/docs/java/blobstore/overview.html The only problem I encounter is: If I load the page with the form, and not immediately submit the image. The URL can expire and when I do try and load the

[appengine-java] Re: JDO Query ordering issue

2011-05-26 Thread WillSpecht
I think this is referring to the indexes needed to perform the query and not the sort orders needed. All you need to do is order only on score. As long as your indexes are updated your query should work fine. On May 26, 6:33 am, mscwd01 mscw...@gmail.com wrote: The restriction I am referring

[appengine-java] Re: Change where Deploy is built

2011-05-23 Thread WillSpecht
I'm guessing this isn't possible? On May 17, 9:51 pm, WillSpecht willspe...@gmail.com wrote: It seems that whenever I deploy, thebuildfiles are all being saved to my local settigns/Temp folder.  Is there a way tochangewhere these files are saved? My C folder is very full and building

[appengine-java] Change where Deploy is built

2011-05-17 Thread WillSpecht
It seems that whenever I deploy, the build files are all being saved to my local settigns/Temp folder. Is there a way to change where these files are saved? My C folder is very full and building to this folder takes a long time. I think I could deploy much faster if these files were written to

[appengine-java] UserService

2011-05-10 Thread WillSpecht
Does anyone have any good User Service code that doesn't use the Google API? We recently discovered that some people don't trust the google login api, enough so that it is a deal breaker for using our service. Before I write my own User Service, I was wondering if there is a good open option or

[appengine-java] How much cpu should a page use

2011-04-07 Thread WillSpecht
I just installed appstats. I have been looking at the breakdown of a few of my pages. Some, pages where many different models are being displayed on one page, seem like they are making a lot of RPC's. Is there a good benchmark I should try and set my pages to? What are good numbers for RPC

[appengine-java] Re: Google checkout and GAE

2011-03-22 Thread WillSpecht
at 10:34 PM, WillSpecht willspe...@gmail.com wrote: I am trying to integrate Google checkout with my GAE app.  I am hitting 2 big bottle necks.  exampleNotificationServelet is using a ton of CPU and usually fails with a time out if starting a new instance.  I'm reading a few values from

[appengine-java] Google checkout and GAE

2011-03-21 Thread WillSpecht
I am trying to integrate Google checkout with my GAE app. I am hitting 2 big bottle necks. exampleNotificationServelet is using a ton of CPU and usually fails with a time out if starting a new instance. I'm reading a few values from the merchant data and then doing one write to the data store.

[appengine-java] Re: Weird performance problem last 3 days or so

2011-03-15 Thread WillSpecht
Has anyone tried deploying a different app to the slow appid then redploying the old app? On Mar 13, 11:20 am, Michael Green rilkeanm...@gmail.com wrote: Thanks for the tip!  I've confirmed the exact same behavior.  I deployed the same application to a new appspot domain and it seems to be

[appengine-java] Best way to delete items

2011-03-01 Thread WillSpecht
I want to allows users to delete entities but not actually delete them. Usually I would just create a field, deleted, and set it to true when the user chooses to delete it. Then to show these records i just use owner == userId deleted ==false. But this forces me to use an index for every query

[appengine-java] Re: Best way to delete items

2011-03-01 Thread WillSpecht
a child Entity that only has a deleted field, then if it's true return the parent? -Ben http://www.liink.ithttp://about.me/benjamincOn Tue, Mar 1, 2011 at 2:56 PM, WillSpecht willspe...@gmail.com wrote: I want to allows users to delete entities but not actually delete them.  Usually I would

[appengine-java] Re: Probably a newbie question (most likely)

2011-02-22 Thread WillSpecht
Don't you need to persist the thread as well as the comment? It's hard to analyze your code with such a small sample. Does addComment persist the thread? My guess is that something is making the transaction fail, probably cause you are trying to operate on two different entity groups. I would

[appengine-java] Re: Help With Data Modeling (And Performance Questions)

2011-02-12 Thread WillSpecht
I think you should ask yourself what data you need from the user. I know this might not seem like the best way(in a RDBM), but you might want to store the information from the user, in the clip. Especially if it is information that doesn't change very often like user name. That way you have the

[appengine-java] Re: Reposting question on jsp include.

2011-02-09 Thread WillSpecht
Each page is pre-compiled for the live app. On the development server pages are compiled on the fly. This means that you have to pass your variables as parameters or attributes. I believe the best design pattern is to have a servlet catch your page request, create all the variables you need to

[appengine-java] Re: hard time modeling my database

2011-02-08 Thread WillSpecht
So you are worried that a user will be deleted and his key will still be linked to the book? You can't rely on the database to do that work for you. You can do this two ways, worry about it, and when you delete a user, make sure you delete it's key from every book. Or don't worry about it. If

[appengine-java] Re: hard time modeling my database

2011-02-06 Thread WillSpecht
You want to store the Key of the User not the actual User. If you store the User you are creating an owned relationship. This means that the user can only be owned by one book. What you want is an unowned relationship, which means storing the keys. Then your query stays the same except you

[appengine-java] Re: Just getting started with Datastore

2011-02-02 Thread WillSpecht
Can you elaborate on pulling a Bing. On Feb 2, 4:01 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Yep, entities are schemaless. This is both powerful and a bit of a mismatch to Java's type system. We've all become very used to thinking in terms of types. A little too much sometimes, in

[appengine-java] pass parameters through login service

2011-01-29 Thread WillSpecht
I recently made it so most of my pages require a user to be logged in to view. The only problem I'm having is, if a user tries to come directly from a link myapp.appspot.com/page.jsp?pageId=aoSCuanjFAVoasDmNlkadf they are asked to login, then forwarded to myapp.appspot.com/page.jsp How do I

[appengine-java] Re: pass parameters through login service

2011-01-29 Thread WillSpecht
, WillSpecht willspe...@gmail.com wrote: I recently made it so most of my pages require a user to be logged in to view.  The only problem I'm having is, if a user tries to come directly from a link myapp.appspot.com/page.jsp?pageId=aoSCuanjFAVoasDmNlkadf they are asked to login, then forwarded

[appengine-java] Re: Blobstore upload loading bar

2011-01-26 Thread WillSpecht
didier On Jan 25, 1:34 pm, WillSpecht willspe...@gmail.com wrote: What would be the best way to implement a loading bar for a blob store upload.  Right now I click submit and the page freezes while the file is uploaded.  Is there a way to create a loading bar on screen so the user knows

[appengine-java] Blobstore upload loading bar

2011-01-25 Thread WillSpecht
What would be the best way to implement a loading bar for a blob store upload. Right now I click submit and the page freezes while the file is uploaded. Is there a way to create a loading bar on screen so the user knows the file is loading and doesn't try to refresh or navigate to another page

[appengine-java] Re: Amazon widget not showing on PC's

2011-01-23 Thread WillSpecht
made it more clear that I was using app engine. Thanks for pointing this out with a useless message, and allowing me to write another useless post to follow up on your initial uselessness. On Jan 21, 11:55 pm, jp jasonpoll...@yahoo.com wrote: Dear WillSpecht, this forum is for people to discuss

[appengine-java] Re: Struggling w/datastore relationship

2011-01-21 Thread WillSpecht
from http://code.google.com/appengine/docs/java/datastore/queries.html It looks like the syntax is Query q = new Query(TAG.class); q.addFilter(urlId == urlParam); q.addFilter(userId == userParam); On Jan 21, 4:13 pm, WillSpecht willspe...@gmail.com wrote: The first syntax should

[appengine-java] Re: Struggling w/datastore relationship

2011-01-20 Thread WillSpecht
Just add a Tags list to User and a User list to Tag. This way you can search for Users with a given tag or Tags that has been used by a given user. Its still the same structure you just add another set of lists. If you do this, you will be able to quickly process each query you listed in your

[appengine-java] Re: Struggling w/datastore relationship

2011-01-20 Thread WillSpecht
So you want to be able to find all URL's saved by a User that have a certain Tag? Or, all the Users that have Tagged Tech to a URL? Or, all the Tags given a URL by a certain User? This can be done with our Model. It's actually what the second part of the video in the link is about. Merge Join

[appengine-java] Re: basic understanding of PersistenceManger

2011-01-19 Thread WillSpecht
You can look at the local datastore at localhost:/_ah/admin Also if you are storing things in an arraylist you should be using pm.makePersistentAll(gcalendar). This is because this is only one api call instead of how ever many objects are in your arraylist, plus its less code. to erase

[appengine-java] Re: Struggling w/datastore relationship

2011-01-19 Thread WillSpecht
This is not the way that I would do it. First, this is the JAVA app engine group that code looks like python as is the link you referenced. The way I have found in app engine to be able to make the fastest queries is to use lists of keys in each object to manage relationships. so your model

[appengine-java] Persisting an empty set

2010-12-29 Thread WillSpecht
I am trying to persist an empty HashSet in App Engine. It persists fine but when I pull the the item that contains the HashSet from the data-store the HashSet is now null. What can I do to force App Engine to store an empty HashSet? Or, do I just need to check for null and create the HashSet each

[appengine-java] Re: Entity relationship designing - best practice

2010-12-22 Thread WillSpecht
http://www.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html this is a pretty good discussion on building apps that have lots of child objects. I also think you are prematurely optimizing. How many exams is a user going to have? 100, 200? This is still a tiny number and if you

[appengine-java] Re: storing unowned objects(one to many) in datastore

2010-12-16 Thread WillSpecht
Why do you want to store both in the same transaction? To me, it seems transactions are used to guarantee two things happen. eg. you don't want to delete one record without making sure the a log of deleted records is updated. Transactions are also used to prevent collisions, eg. I don't want

[appengine-java] Why can't i persist a BitSet

2010-11-11 Thread WillSpecht
I am trying to store a BitSet to my data store but when I try to use it I get the following error: java.lang.IllegalArgumentException: thisRuleSet: java.util.BitSet is not a supported property type. Can I not store a BitSet even though it is serializable and if I can't, what is the suggested

[appengine-java] JTidy

2010-03-19 Thread WillSpecht
I am trying to use JTidy in Eclipse. I add JTidy jar to the build path and add the jar again as the source attachment. When I make a tidy object it shows up as a org.w3c.tidy.Tidy. but when I run my app i get the error java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy. Am I not adding the jar

[appengine-java] Re: Do I need unowned relationships to accomplish this...?

2010-03-10 Thread WillSpecht
The way I understand it, if an object can be owned by more than one object it must be unowned. I would assume that cards can be in multiple decks so they must be unowned. I would assume each deck would belong to one user so decks could be owned. I don't know a good way to store cards that can

[appengine-java] Re: problem while deploying app engine

2010-03-09 Thread WillSpecht
Try this thread about setting up eclipse to handle a proxy: http://www.google.com/url?sa=Dq=http://groups.google.com/group/google-appengine-java/browse_thread/thread/83baef734bc82d7a/usg=AFQjCNG4ECLL89uyiz16HQyCh7dNx9Rr7w On Feb 16, 7:18 am, vengatesh vengate...@gmail.com wrote: Hi, I just

[appengine-java] Unable to upload app: Error posting to URL:

2010-03-09 Thread WillSpecht
I am getting the following error when trying to upload my app to app engine. What does the 302 Redirected mean? I am behind a proxy could this be part of the problem? Error Tue Mar 09 11:12:47 EST 2010 Unable to upload app: Error posting to URL: