I am making a Google Chrome extension and I would like to have my background page to cause the browser action's popup page to show after an event. Can this be done?
Thanks
First off, I'm using Google AppEngine and Guice, but I suspect my problem is not related to these.
When the user connect to my (GWT) webapp, the URL is a direct html page. For example, in development mode, it is: http://127.0.0.1:8888/Puzzlebazar.html?gwt.codesvr=127.0.0.1:9997. Now, I setup my web.xml in the following way:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<display-name>PuzzleBazar</display-name>
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>Puzzlebazar.html</welcome-file>
</welcome-file-list>
<filter>
<filter-name>guiceFilter</filter-name>
<filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>guiceFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!--
This Guice listener hijacks all further filters and servlets. Extra
filters and servlets have to be configured in your
ServletModule#configureServlets() by calling
serve(String).with(Class<? extends HttpServlet>) and
filter(String).through(Class<? extends Filter)
-->
<listener>
<listener-class>com.puzzlebazar.server.guice.MyGuiceServletContextListener
</listener-class>
</listener>
</web-app>
Since I'm using Guice, I have to configure extra filters in my ServletModule, where I do this:
filter("*.html").through( SecurityCookieFilter.class );
But my SecurityCookieFilter.doFilter is never called. I tried things like "*.html*" or <url-pattern>*</url-pattern> but to no avail. Any idea how I should do this?
Hi,
I am looking for a database that allows to find the name of an urban district from the coordinates. I have tried to use Google Maps or Open Street Map to find that information, but they do not seem to be able to deliver this data.
I'm especially looking for a database for Germany
Cheers,
Michael
when i upload my project to google-app-engine , it show this :
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
why ?
how can i debug this error ?
thanks
In the video/PDF from "Data pipelines with Google App Engine" Brett puts "now / 30" into the task name noting that he will explain the reason later, but somehow he never does. :)
http://www.youtube.com/watch?v=zSDC_TU7rtc#t=41m35
task_name = '%s-%d-%d' % (sum_name, int(now / 30), index)
Do you have any idea about the reason? Does it have anything to do with the 7 day period in which one can't re-use task names?
URL to the session page: http://tinyurl.com/3523mej
I was wondering whether there is a simple PHP library to test the loading speed of a web page or a single resource similar to Google Page Speed and Yahoo! YSlow.
The reason is that I'd like to build a web based alternative.
I am using Facebook Python's SDK along with Google App Engine, and making a call to do a checkin:
graph.put_object("me", "checkins", message="Hello, world", place="165039136840558", coordinates='{"latitude":"38.2454064", "longitude":"-122.0434404"}')
However, this throws an error 400 Bad Request and I don't seem to be able to try catch it so I can have the important information.
On a bad request, Facebook should return, an object like below which can help troubleshoot and address the issue, but I am not sure how I can retrieve this object:
{
"error": {
"type" : "OAuthException",
"message" : "An active access token must be used to query information about the current user."
}
}
All examples I've found on git-svn detail how to use git to mirror an existing SVN repo, work on it, then commit your changes back.
I have a pure git repo, created via git init not git-svn init and want to commit it to a new SVN service (Google Code, to be specific).
Is this something that can be done?
Hi!
I should create a google chrome extension.It's a multimedia web recorder.
Should I parse http headers (http sniffer), between these take those videos and save.
not exist httpFox for Chrome, how could I do?
Thanks
I wonder if anyone can help?
After Google announced that it will take note of RDFa / Microformats for online recipes, I've been looking into this for a couple of recipe based sites I run. However we simply don't have all the required data to fulfill any of the standards.
Does this matter? Will search engine crawlers still make the most of what they do find, or by missing a few elements (like a review or recipe rating) will I be wasting my time implementing this?
Cheers,
H
According to this discussion of Google App Engine on Hacker News,
A DB (read) request takes over 100ms on the
datastore. That's insane and unusable
for about 90% of applications.
How do you determine what is an acceptable response time for a DB read request?
I have been using App Engine without noticing any issues with DB responsiveness. But, on the other hand, I'm not sure I would even know what to look for in that regard :)
I am interested in new language from Google, GO. I have checked the materials in the golang.com. And now want to use GO in practice. Please share any ideas whats for you are using GO. Or are there any open source GO projects that it would be possible to join?
Generally I use lxml for my HTML parsing needs, but that isn't available on Google App Engine. The obvious alternative is BeautifulSoup, but I find it chokes too easily on malformed HTML. Currently I am testing libxml2dom and have been getting better results.
Which pure Python HTML parser have you found performs best? My priority is the ability to handle bad HTML over speed.
Hello, i've been development some web app on Icefaces 1.7.2 and it's impossible to me run my app on chrome. When i click some icefaces element like link or button and that's trigger some javascript (ajax) my google chrome it's blocking the request or javascrit and only shows this message
"Javascript is blocked. ICEfaces cannot run on chrome "
can anybody helpme ?
my web app it's www.flygonet.com and is under development.
Thanks.
One year ago Mitchel Sellers had a related question...
I would like to access the Google IMAP for sending and receiving email messages within my custom application.
The point is that i would not like to use any third party controls.
Newer versions of the .Net Framework support IMAP? What options do i have?
As far as I know, cloud computing is growing rapidly. Amazon EC2, Google App Engine, Microsoft Windows Azure...But I can't imagine how cloud computing will change the world.
Will cloud computing will play the main role in software industry?
Will our data be stored at one place and then can be accessed from any where?
Shall we need powerful PCs no more because everything will be processed at "cloud"?
Thank you so much
Hi, I have started using the DataTables plugin (v1.6.2) for jQuery(v1.4.2), and I would like to ask you if you know a settings or a plugin that allow me to highlight the text used in search textbox on the filtered rows.
Thank you in advance
I'm having trouble getting the taglist plugin working properly with Scala. I've installed the plugin and ctags and verified that it works properly with Java and C++. I then followed the instructions on this page (minus the Lift specific instructuions), but was nothing shows up in the taglist window when I open it while editing a Scala file. Has anyone got this working and what are the proper steps? Thanks.
Which solution is easier to maintain: The Multi-Tenant Plugin (http://www.grails.org/plugin/multi-tenant), or creating a different environment (http://grails.org/doc/latest/guide/3.%20Configuration.html#3.2%20Environments) for each instance of an application which is essentially the same (with minor changes) for each company?
Hi I'm new to Twilio and want to know how How to send an SMS from a GAE web app with Twilio using JAVA ? I've executed the example on their website as Java app and it works. https://www.twilio.com/docs/quickstart/java/sms/sending-via-rest
When I want to make the same in a Java Google App Engine app, it don't and it display a message ("The method GET is not supported")
Can someone share a step by step tutorial on how to make my Java GAE webb app to send SMSes please ?
Thanks
The 'maven-release-plugin' has this feature, but it is not available as separate goal.
I think I have seen this functionality somewhere, but I can't find it again. Would be great if somebody knows where to find such a plugin.
In my web app I need to give the user the option to save a js variable as a file (when the user clicks download, the app offers him to save a file, preffereably as .js file).
Similarly as google docs offers you to save a file.
Is it possible for javascript to pass it's variable this way?
I'm currently creating a web app using Google's oAuth. I was wondering how I can uniquely identify an authenticated user so I don't accidentally add duplicates.
Instead of [email protected] or [email protected] I would like to use
[email protected].
can this be one when using app-engine xmpp service,
when own-domain is using google apps for mail service
This would be a great option if available.
We feel many getting worried to add when they find @appspot.com at end,
also when they see an app id which may not much same as our domain name.
Hi,
i have the following code to update a google map:
function updateit(c1,c2){
alert(c1+"-"+c2); // This works
map.setCenter(new GLatLng(c1, c2), 13); // But this doesn't
}
updateit(37.4419, -122.1419);
The alert is working and show the two coordinations, but i think the GLatLng() doesn't receive them, so the map is not updated unless i directly declare them as strings :
function updateit(c1,c2){
map.setCenter(new GLatLng(37.4419, -122.1419), 13); // This works
}
How to fix this problem?
Thanks