Re: [appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?
MG, Have you considered using Key.getId() method to implement global atomic counter in your application? GAE build in functionality for automatically unique IDs Key.getId() method will return unique long value. Also Keys are indexed, so if your application has to search within counters - indexed search will be efficient. On Wed, Dec 29, 2010 at 5:09 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Sweet. Remember that Memcache's INCR operation IS atomic. Waiting to see your solution ... as well as what you are using it for =). -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 29, 2010 at 12:38 PM, MG michael.glas...@gmail.com wrote: Ikai, you are right - I don't need a counter, a sequence of unique and growing numbers will do. And I think I can make a scalable numeric sequence by combining a sharded counter with a memcache counter (and an occasional transaction). I'll post my solution when it's done. MG On Dec 29, 1:48 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: What are you building? With distributed systems, it can be tricky to do some things. A single, scalable, atomic counter is an implementation for a solution, not a solution to a problem. There may be an alternate implementation that'll make your life easier but solve the problem at hand. -- Ikai Lan -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@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.
Re: [appengine-java] AppEngine-java-sdk-1.4.0 for mac corrupted
Actually it is ok on Mac 10.6.5 Should you check 'Downloads' directory? Screenshot indicates few downloads of the same file. On Thu, Dec 9, 2010 at 7:23 PM, Sumi sumi...@gmail.com wrote: I downloaded it from here http://code.google.com/appengine/downloads.html and getting the error it cannot be unarchived can someone help with the location for the correct sdk 1.4.0 for java -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@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.
Re: [appengine-java] Re: Output encoding / JPEG does not seem to work
No problem. Would you like to post your code so we can help? The code I sent wasn't for blobs tore also, it works however. Sent from my iPad On Nov 22, 2010, at 6:27 PM, John weespr.wee...@gmail.com wrote: Sorry Kellin, did not mean to reply to your post. The code I am talking about is not related to blobstore. -- 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-j...@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. -- 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-j...@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.
Re: [appengine-java] Re: ImageService from dev server
so, you are not using com.google.appengine. api.datastore.Blob ? On Sat, Nov 20, 2010 at 12:23 PM, andrew aute...@gmail.com wrote: Just to re-iterate: the question is related to images stored in the BLOBSTORE (not the datastore) and served via the ImageService using the url = imagesService.getServingUrl(blobKey); call. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@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.
Re: [appengine-java] Re: How to generate excel sheets in google appengine Java?
Also, in your servlet you may generate excel file by configuring response obj response.setContentType(application/CSV); set Content-Disposition, attachment; yourfile.csv); have response.getWriter().println( write your output with delimiters here); Your file will be formatted fine in both Excel and Google Excel. On Fri, Nov 19, 2010 at 12:05 AM, Meetu Maltiar meetu.malt...@gmail.comwrote: Hi, You can use java excel API's. It works for us. Maybe you can have a look at my blog http://thoughts.inphina.com/2010/09/08/generating-excel-files-on-google-app-engine-for-a-wicket-application/ Regards | Meetu Maltiar On Fri, Nov 19, 2010 at 9:44 AM, Didier Durand durand.did...@gmail.comwrote: HI, One way is to go indirectly via Google Docs Spreadsheet and its API See http://code.google.com/apis/spreadsheets/ didier On Nov 19, 4:35 am, Rodel Ocampo rrocamp...@gmail.com wrote: Hi Guys. I'm new in developing system in gaej. How will i generate an excel sheet in my jsp file in google appengine java? I'm using eclipse. thanks in advance. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Meetu Maltiar, Mobile-09717005168 -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@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.
Re: [appengine-java] Re: Output encoding / JPEG does not seem to work
The link to Google App Engine images API overview http://code.google.com/appengine/docs/java/images/overview.html This code works for transformation ImagesService imageService = ImagesServiceFactory.getImagesService(); Image origImage = ImagesServiceFactory.makeImage(byteArray); Blob origBlob = new Blob(origImage.getImageData()); ImageObj origImageObject = new ImageObj(orig_img.jpg,origBlob ...); Transform tr = ImagesServiceFactory.makeResize(the_size_of_your_img, new_size_of_your_img); Image newImage = imageService.applyTransform(tr,origImage); On Tue, Nov 16, 2010 at 12:40 PM, Peter Liu tinyee...@gmail.com wrote: Are you using dev server? The image service on dev server does the most basic thing possible and ignore most params. You might have issue working with PNG files as well. Deploy to a live test server and the image service should work. By default, jpeg encoding is quality 85 (according to my trials), set it to higher if you need better quality but size will go up. On Nov 13, 8:57 am, John ad...@weespr.com wrote: When I use a lower quality encoding, the size of the resulting photo is the same not matter what. JPEG 100 or JPEG 60 gives me the exact same image size when applying a couple transformations. I tried with different types of photos, same result. Anyone had success with tweaking the encoding quality ? -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@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.
Re: [appengine-java] Re: GAE or EC2
* regarding SSL the same page says: Custom Domain SSL* Map your company’s domain over HTTPS to your App Engine applications Status: In Development Estimate: Limited Release by EOY 2010 On Sat, Nov 13, 2010 at 11:10 AM, Fred pfiste...@gmail.com wrote: Ikai raises good points and I can confirm that GAE is a different way of thinking and developing apps ... but also have to second that it's great fun once you get the hang of it. However @Ikai, the identity crisis has been noticed, people turned their backs and I'd assume it's largely to the matter of lacking communication. The GAE for Business site has been updated last on May 19th (really?): http://code.google.com/appengine/business/roadmap.html ... many people are waiting forever for SSL for custom domains and business reliability. A level of confidence is hard to maintain if nobody knows where you guys are at and what's gonna happen next ;-) Keep communicating, Fred On Nov 13, 11:28 am, Muhammad Ijaz Khan aija...@gmail.com wrote: Hi, Anyone having any other reference to GAE/EC2 comparison or other literature please share as I am working on a comparison assignment for these two for my course project. Thanks. regards, Ijaz On Tue, Nov 9, 2010 at 7:09 AM, Vikas Hazrati vhazr...@gmail.com wrote: You might also want to check out a detailed comparison on technical aspects here http://thoughts.inphina.com/2010/11/01/comparing-google-app-engine-an. .. Regards | Vikas On Nov 9, 9:32 am, Didier Durand durand.did...@gmail.com wrote: Hi JY, I have used both: for a small company aiming at big applications, I would definitely go GAE because it's PaaS: you don't have to deal with the infrastructure which can become quite time consuming when your application gets big if on EC2 (you have to update/patch your images, take care of your scaling, etc.). It's probably not what you want to spend time on at start with limited resource. On the other side, GAE has of course limitations / restrictions: Java- only, datastore specific architecture, etc. To reassure you, (a) the code of GAE is open source (did not check if 100%) and (b) some people are trying to replicate the system in an independent fashion to provide alternatives: check out the AppScale project athttp:// googleappengine.blogspot.com/2010/10/research-project-appscale... regards didier On Nov 9, 2:59 am, JY jy2...@gmail.com wrote: I want to ask fellow GAE users whether you think GAE is good choice to build real business on? I have used GAE for some personal projects, and right now help a friend on a tiny start up (but with big dream). The project is related to social network - I am thinking of two options: 1, GAE The benefits are obvious. However, it is also locking you inyou don't have much control over it. If you are unhappy later, you will have to redo the persistence layer and migrate data etc. 2, EC2 You have much more control, and if the start-up gets funding, it is easy to migrate to dedicated hosting or even its own data center. The down side is developer (me, and only me) will have to spend quite some time to take care of the infrastructure (although I like this kind of work...) I think my biggest concern of GAE is over the quality of service, and the data-store - if I go EC2, I probably will use a NoSQL solution like MogoDb, or Cassandra. The development efforts might be similar - all products are sort of young, hot, and limited. Thanks. JY -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options,