[google-appengine] Re: Type for any types of proprety?
Thank you guys.. expando is what i am looking for. String has its limitation on 500 bytes in length, right? On Wed, Jul 29, 2009 at 8:41 PM, Daniel Rhoden wrote: > > A String can go a long way as well. Hopefully your property table has > some sane restrictions as to what can go in it. > > On Jul 29, 2009, at 3:00 AM, Tobias wrote: > > > > > You may want to use an expando as described here > > http://code.google.com/appengine/docs/python/datastore/expandoclass.html > > > > On Jul 29, 5:03 am, Juguang XIAO wrote: > >> Hello. > >> > >> In datastore, I want to create a misc "table" to store dynamic > >> properties > >> which is not in the defined model. For example > >> > >> class Account_base(db.Model): > >> account_id = db.StringProperty() > >> password = db.StringProperty() > >> > >> class Account_extension(db.Model): > >> base_key = db.StringProperty() # refer to base's key > >> prop_name = db.StringProperty() # property name > >> prop_value = db.StringProperty() # property value - this is where > >> I want > >> to want make it dymanic typed, often TextProperty or > >> IntegerProperty!! > >> > >> What should I define the type of Account_extension.prop_value, so > >> that I can > >> possibly assign it any type of values? > >> > >> Many thanks. > >> > >> Juguang > >> > >> -- > >> = > >> Juguang XIAO > >> Beijing, China > > > > > > > > -- = Juguang XIAO Beijing, China --~--~-~--~~~---~--~~ 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] Type for any types of proprety?
Hello. In datastore, I want to create a misc "table" to store dynamic properties which is not in the defined model. For example class Account_base(db.Model): account_id = db.StringProperty() password = db.StringProperty() class Account_extension(db.Model): base_key = db.StringProperty() # refer to base's key prop_name = db.StringProperty() # property name prop_value = db.StringProperty() # property value - this is where I want to want make it dymanic typed, often TextProperty or IntegerProperty!! What should I define the type of Account_extension.prop_value, so that I can possibly assign it any type of values? Many thanks. Juguang -- ===== Juguang XIAO Beijing, China --~--~-~--~~~---~--~~ 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] When will appcfg.py be able to download/check out?
This is not a usual case, but people at times may still need it. I have two machines, one in office and one at home, working on the same GAE project. My usual practice to synchronize these 2 environments is to copy the files over my USB drive. As you can see this is very traditional way. I once came across the idea to use a SVN server to sync, but now I think it may be the best that GAE provides such features for us. When we do `appcfy.py update`, it is really a update or check-in. Why not just add check-out ? My 2 cents Juguang -- = Juguang XIAO Beijing, China --~--~-~--~~~---~--~~ 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: Eating one's own dog food
Hi there. I did not pay anything for any services, inc. gmail, google docs, gmaps, to Google.:-) She got big pays by someone else. For GAE as hosting provider, i agreed that for exceeding quota it may be more expensive than other providers. However, different people have different ways to calcuate the cost. As for me as an individual, I am not thinking to pay for it at this moment. :-p Juguang On Fri, Jul 17, 2009 at 10:38 AM, GenghisOne wrote: > > Hi Juguang > > Your words provide a nice counter-balance to those who are not so > happy with App Engine. Yes, you are correct in reminding us all that > we should be grateful for something free. And yes App Engine has > likely provided a whole bunch of young, inquiring minds with an > amazing opportunity to tinker and learn on a global scale. > > But for some strange reason, I'm also reminded of that old > saying...you get what you pay for. > > > On Jul 16, 7:26 pm, Juguang XIAO wrote: > > Dogfooding, as wikipedia names it, is ideological, may not be practical. > > People, as well as company, lives practically for surviving first then > > chasing dreams. > > > > I have seen the positive movement from Google, did so much for > developers. > > People may take it for granted, thinking the leader should do more. I am > > content with GAE, as it offers some free and exciting stuffs. I cannot > ask > > Google to give more, unless he decided so. People can be happy when they > are > > grateful. > > > > Technically speaking, I do not think Google offers its best to > developers. > > It will be too costy to do so. Their mainstream businesses need to be > > maintained, and I guess each business unit has its own authority and > freedom > > to do thing in their own way. Core businesses and technologies need to be > > protected. If you are not happy, go for Microsoft. ;-) > > > > I do not believe, people can run their serious business without serious > pay. > > 6.5 hour per day CUP time is enough for casual applications. If you need > > more, try to create multiple account, schedule roster among them, sync > your > > data among them. This is the solutions. If terms and conditions of use of > > GAE allows, there will be open souce projects for GAE clustering. > > > > Juguang > > > > > > > > On Fri, Jul 17, 2009 at 10:03 AM, GenghisOne > wrote: > > > > > So it looks like there's an updated Google App Engine roadmap and > > > guess what...no mention of full-text search. > > > > > Doesn't that strike anyone as a bit odd? How can an emerging cloud > > > computing platform not effectively address full-text search? And > > > what's really odd is the absolute silence from Google...quite frankly, > > > I don't get it. > > > > > On Jul 16, 12:28 pm, Bryan wrote: > > > > This is a very interesting discussion. I would like to see some > input > > > > from Google. > > > > > > On Jul 15, 10:20 am, richard emberson > > > > wrote: > > > > > > > I understand that BigTable is behind GAE, but my concern is > > > > > more with GAE performance and quotas. If GAE had existed > > > > > when Larry and Sergey were developing their pagerack > > > > > algorithm, would they have used GEA for evaluation? > > > > > I have my doubts. They would quickly reach quota limits, > > > > > way before they knew if they had a viable idea. > > > > > > > Richard > > > > > > > Tony wrote: > > > > > > Though I realize this is not exactly what you're asking, the > concept > > > > > > of GAE is that it exposes some of the infrastructure that all > Google > > > > > > applications rely on (i.e. Datastore) for others to use. So, in > a > > > > > > sense, Google's various applications were using App Engine before > App > > > > > > Engine existed. As far as I know, every Google service runs on > the > > > > > > same homogeneous infrastructure, which is part of what makes it > so > > > > > > reliable (and why the only available languages are Python and > Java, > > > > > > languages used internally at Google). > > > > > > > > But I don't work there, so maybe I'm completely off-base. > > > > > > > > On Jul 15, 12:53 pm, richard emberson < > richard.ember...@gmail.com> > > > > > > wrote: > > > > > >> Eatin
[google-appengine] Re: Eating one's own dog food
arch be supported > > > >> by the GAE group; > > > > > >> Will those groups have to live under the same quota restrictions > > > >> while they evaluate using GAE? If not, why not? If they > > > >> are unreasonable for an internal evaluation, what makes them > > > >> reasonable for an external evaluation? > > > > > >> Evaluating whether or not GAE should be used for a particular > > > >> application is not FREE even if one gets a very small slice > > > >> of GAE resources with which to do the evaluation. > > > >> Tens or hundreds of hours go into determine if GAE has > > > >> the right characteristics and quotas that limit how fast one > > > >> can work makes it worse. (Yes one can $$ for higher quotas, > > > >> but during the evaluation phase $$ is out of the question.) > > > > > >> Richard Emberson > > > > > >> -- > > > >> Quis custodiet ipsos custodes > > > > > -- > > > Quis custodiet ipsos custodes > > > -- = Juguang XIAO Beijing, China --~--~-~--~~~---~--~~ 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: CANNOT receive SNS :(
I am also in China. I can get GAE activation SMS. You just need to wait for more hours. 2009/7/16 Nick Johnson (Google) > > Hi 陈永仁, > > I've activated your account. > > -Nick Johnson > > On Thu, Jul 16, 2009 at 11:53 AM, 陈永仁 wrote: > > > > I want to create a Google App engine Account, but I cannot receive > > SNS in my country-china mainland. Some of my friends said that the > > china mobile company does not support Google App Engine any more. > > > > so I have to ask Google App Engine Team for help > > > > Is there any other way of verifying my account? > > > > Thank you > > > > Best Regard > > > > John Anderson > > > > > > > > > > > -- > Nick Johnson, App Engine Developer Programs Engineer > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > Number: 368047 > > > > -- = Juguang XIAO Beijing, China --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---