Monday, January 31, 2011

Re: How to Display a Loading message when transitioning between Activities and Places ?

Thank You,
I understand the mechanics of hiding/showing,
what I am not clear is the timing of it,
when dealing with Activities and Places.

do we need to use onStop method of one activity
and start method of another, to signal when one is stopped/started
and use events for these two activities to communicate ?

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

[android-developers] opengles 2.0 sdk issues on Droid X

I'm having some problems with the froyo sdk implementation of gles20.
My game is working without problems on two Snapdragon devices (Sharp
Galapagos and HTC Desire). However, they will not work properly on a
Droid X.

So far, I have these two problems:
1. Shaders will not compile on the Droid X (using
GLES20.glCreateProgram(), GLES20.glGetShaderiv() returns 0)
2. Transparency works sometimes and not other times on the Droid X.

To get my game working on the Droid X, I have reduced the shaders to
simple pass-through shaders, and removed transparencies. This isn't
really a solution at all. However, I don't have a Droid X or even
another phone with an SGX gpu to test on.

Does anyone have any insight into this problem?

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

Re: mis-named setting? SESSION_EXPIRE_AT_BROWSER_CLOSE

On Monday 31 January 2011 18:38:20 Tim Sawyer wrote:
> > You can't stop the user from closing the browser, or switching to another
> > tab, with JS. And you shouldn't try to stop them navigating away - this
> > sort of thing is only likely to annoy them intensely.
>
> Taking this to the extreme - what do you want to happen if a person using
> your site has a powercut? Or pulls out their network connection? This
> will not run any site-close javascript.
>
> We had a designer request similar functionality in a Struts app years ago
> - it's really annoying and goes wrong often and we vowed never to do it
> again.
>
> How about looking at RabbitMQ or XMPP for presence?
>
> Tim.

This is known as hartbeat pattern. Sending small message from a client to a
server stating "i'm alive".

That way you can have rather small window (still it's a window, not exact
time) to determine is someone logged in or not. Note that you still need
something to determine if heartbeats stopped to come in. So it's you need
additional tests is time between two heartbeats too much, and then do forced
logout.

Now you can have feature that can tell "active users within last X minutes"
quite easily.

--

Jani Tiainen

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

Do you want Sourav back in KKR ? To express your opinion

Do you want Sourav back in KKR ? To express your opinion
visit: http://mychoice.in/do-you-want-sourav-back-in-kkr/

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[Google Maps API v2] small map type menu control + IE6

JFTR, is maps v2 still supposed to work with IE6? If yes I found a
minor
issue, the small (option "true") map type menu control shows the
small names "sat", "hyb", etc. as it should in four tested browsers.

But its width is appparently determined by the longest long name in
IE6 -- defeating the effect of using short names. The hierarchical map
type control gets this right even in IE6.

Should I still report this as bug as in 2008, or is there a new
procedure
for maps v2 nits in 2011?

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

[Google Maps API v2] small zom control not more working with Firefox 3.6

Hi, for some days various iGoogle gadgets using the *small* maps v2
controls do not
work as expected with Firefox 3 (IE6 + IE8 + chrome8 okay). The smal
zoom controls
and the Google logo are opaque and almost invisible. The Google logo
link works.

The "zoom in" and "zoom out" info is shown when the cursor is moved to
the almost
invisible zoom control. However, clicking "+" or "-" does not change
the zoom.

Background, I do not use the simplified "setupUI ", because it did not
exist when I created these gadgets, and after a quick test does not
what I want. I have not yet
tested the (for me) new 3D variant of the small zoom control.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

[Rails] Reducing redundant columns in tables?

Consider the following scaffold for a virtual machine manager.

rails g scaffold virtualmachine total_memory:integer
total_disk:integer
rails g scaffold plan title:string price_usd:integer
max_memory:integer max_disk:integer

Now this is greatly simplified however I have around 30 values that I
want to track for each virtual machine and for the plans as well.
What would be the best way to do this?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: TextBox width percentage in Standards Mode

If anyone is interested, I have a "hack" fix, which is to encase each
TextBox in a div which has padding on the right to cater for the
TextBox's padding and border.

Eg:

<ui:style>
.textBoxPadding {
padding-right: 8px;
}
</ui:style>

<div class="{style.textBoxPadding}">
<g:TextBox ui:field="firstNameTextBox" width="100%" />
</div>

If anyone has a better fix, please let me know.

Cheers.


On Feb 1, 2:55 pm, Craig Mitchell <craig...@gmail.com> wrote:
> Hi,
>
> If I set a TextBox width percentage (say 100%) in standards mode (Ie:
> <!doctype html>), the total width will be larger then 100% due to the
> TextBox's padding, and border.
>
> I can get the width back to 100% by removing them with css like this:
> .noPadding {
>         padding: 0px;
>         margin: 0px;
>         border: 0px;
>         background-color: #eeeeee;
>
> }
>
> However, I want the padding and border around the TextBox.
>
> How can I set a percentage width on a TextBox, and get it to actually
> go to that width?
>
> The reason I would like to do this, is so it works like ListBox, which
> doesn't seem to have any padding or border.
>
> Thanks.

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

[android-developers] Re: Service reference to System Managers

ok. Is it best to retrieve as needed during service execution and
remove reference or obtain on service create and maintain as
reference? if so should it be static reference member variable?

On Jan 31, 8:14 pm, Dianne Hackborn <hack...@android.com> wrote:
> Generally it should be a member variable because these are retrieved and
> associated with the Service's context.
>
> On Mon, Jan 31, 2011 at 8:06 PM, AndroidDevTime <androiddevd...@gmail.com>wrote:
>
> > Is it a good practice for a Service to maintain static reference to
> > System Manager? like Activity Manager, Power Manager? etc?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubscribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

[android-developers] Service reference to System Managers

Is it a good practice for a Service to maintain static reference to
System Manager? like Activity Manager, Power Manager? etc?

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

[android-developers] Freeze with RGBA8 OpenGL ES 2.0

Hi,

I am trying to do a very simple application with OpenGL ES 2.0.

I've implemented my own ConfigChooser and display a simple texture, it works fine when I pick a R_5_G_6_B_5_A_0 config.
But when I pick a R_8_G_8_B_8_A_8 config, it freezes and LogCat gives me this message over and over again :

WARN/SharedBufferStack(163): waitForCondition(LockCondition) timed out (identity=5, status=0). CPU may be pegged. trying again.

I have check and my phone (NexusOne) definitely supports such a config.
I stripped everything from the code so I just set up egl (which doesn't give any errors) and do this :

glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glViewport(0, 0, width, height);

But it still crashes, I saw a couple of thread talking about this error, and I tried adding an eglWaitGL() at the end of my draw call, it helps a bit but it still crashes after a while or on exit.

Anyone knows how I can get out of this one? Is this really config related?
Thank you.


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

[Rails] truncate may leave trailing spaces... do you think this is wrong?

Hi all -

I noticed the other day that it's possible to truncate a string such that it has trailing spaces before it appends the omission characters. Notice the space in the output below.

ruby-1.8.7-p330 :007 > "one two three".truncate(7)
=> "one ..."

In my opinion, that space shouldn't be there.

I was going to submit tests and a patch to correct it, but was hoping to get some feedback to see if I'm wasting my time as people expect this (I can't think of a reason...).

Anyone have any thoughts on the matter?

-philip


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: SecondController extends FirstController extends AppController: not supported? --psybear

On Jan 31, 2011, at 08:24, psybear83 wrote:

> I'm refactoring an application with some controllers and wanted to
> "divide" them into a group X (that needs some components) and a group
> Y that needs some other components. My idea:
>
> class AppController {
> var $components = array('Html', 'Form');
> }
>
> class XController extends AppController {
> var $components = array('X1', 'X2');
> }
>
> class YController extends AppController {
> var $components = array('Y1', 'Y2');
> }
>
> Now every other controller should inherit from XController or from
> YController like this:
>
> class SomeXController extends XController {
> var $components = array('Bla');
> }
>
> I expected XController now to have loaded the following components:
> Html, Form, X1, X2, and Bla. But sadly it doesn't have all of them! It
> seems CakePHP doesn't allow controller inheritance over more than only
> 1 level. Is this true? Is there any known work-around?

From a purely PHP standpoint, your XController's var $components is overwriting your AppController's var $components, and so on. Not knowing about __mergeVars() which Jamie talked about, I'd have suggested you implement a constructor in each of your classes, which calls the parent constructor and then takes care of merging your newly-desired components into the existing components array. PHP has some array functions that should do the trick.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

[android-developers] doubt in xmlns:android tag

Hi All,

In android xml files we define xmlns:android="http://
schemas.android.com/apk/res/android" in root tag, so then we use
android:attributes. I want to know what is the location where these
attributes are defined. and if we want can we define our custom
attributes.

thanks,
sohan

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

Re: $html->image no show

On Mon, Jan 31, 2011 at 8:23 PM, ugarch <ugarch74@gmail.com> wrote:
> Thank you very much for your response ... I liked the element idea but
> my problem is that sometimes in the banner div i need to place images
> and sometimes videos or a picture slider.

You could set a variable, eg. $banner_type, in the controller and
check that in the element.

> That is why I decided to set the $banner from the controller the way I
> did. But my problem is more related to paths and links because when I
> set $banner = $html->image('Foo.jpg'
> array('class'=>'banner','title'=>"Foo")); from the
> pages_controller.php it works fine. However when I set the $banner
> from the informations_controller.php the image does not shows up. I
> can see in the html source code the image but the path needs to be
> changed from 'img/Foo.jpg' to '../img/Foo.jpg' ... Do you have an
> idea, why do i need to change the image path to ../ so I can see the
> picture?

No, sorry. I know others have run into these problems before but I
never have and am unsure what the cause is.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

[Rails] RVM and Rails

Hi

I am wondering what is the best practice for using gemsets with rails
projects.

What is the correct workflow for developing multiple rails3 projects
each with its own gemset. SPECIFICALLY I am not sure where I do a "gem
install rails" when I will have more than one rails project. Do I need
to "gem install rails" in each gemset? Or can I "gem install rails" in
a directory named [say] ~/work/rail3...

WORKFLOW

In ~/work/rails3 I do

> rvm use ree@global
> gem install rails

This installs rails3 in global gemset

Now... In ~/work/rails3 I can

> rails new blog

This will create the rails directory structure in ~/work/rails3/blog

So... now I am in ~/work/rails3/blog and I want a gemset for this
project

So should I...

> rvm gemset create blog
> rvm use ree@blog

.... but I did "gem install rails" in @global and I am now one
directory deeper and in @blog so rails gems are not in there...
correct? Do I need to do a "gem install rails" in @blog?

I feel I am not getting the workflow correct for using RVM and
rails....

Any help? God bless you!

Shawn

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Storing *big* texts in db fields

I've created an application to manage texts, storing the content in a
TextField, along with metadata in other fields. Now that I've
completed the model and started actually adding the texts, the admin
is getting verrrry slow. The app is just for the use of me and my
team, so the slowness is not a deal-breaker, but it's annoying to work
with and I still have a lot of texts to add to the corpus.

Although I may be adding a large amount of smaller texts in the
future, the texts that I have now are large, mostly in the tens of
thousands of words, with the largest currently at 101,399 words.
(Which I know because I added a method to the model to calculate the
wordcount, and have it displayed in the admin list. Which gives me no
end of pleasure.)

So, is it a bad idea to be storing texts this large in a database
field? I really hope not, because when I first started this project
(granted, before I started using Django), I was reading the data from
files and running into constant encoding/decoding problems. (These
texts I'm collecting are in Arabic.)

If it's not a totally horrible idea to do this like I'm doing, is
there anything I can do to improve performance? I tried implementing
caching and it didn't make any difference.

Thanks,
Karen

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

[Rails] wderffff

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: app_controller not allowing inheritance into child controllers for Auth ?

On Mon, Jan 31, 2011 at 4:02 PM, OldWest <jason@jasonwydro.com> wrote:
> I have my UsersController which of course extends my app_controller.
>
> In my app_controller I have my $components defined as such:
>
> $components = array('Acl', 'Auth', 'Session', 'RequestHandler');
>
> When I try to access my users index view, I get an error (which means that
> the Auth component has not been activated in the controller).
>
> BUT
>
> If I place this line direct in my UsersController:
>
> $components = array('Acl', 'Auth', 'Session', 'RequestHandler');
>
> The page works as expected.
>
> My remote server has the latter issue. But my local dev environment seems to
> extend the $components from the app_controller just fine.
>
> Does anyone know why this is happening? My local server is running php5.3
> and my remote is running php5.2.

Does UsersController extend app_controller, or AppController? It
should be the latter. Also, if you have a beforeFilter method, make
sure it calls parent::beforeFilter() so the AppController method is
run.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Internationlization Doesn't Seem to Work.

Hello, I'm trying to get my application to use a different language
using cake's i18n. I believe I have my application set up properly.

core.php
Configure::write('Config.language', 'ger');

Posts Controller Flash message:
$this->Session->setFlash(__('You must be registered before you can ask
a question.', true), 'error');

app/locale/ger/LC_MESSAGES/default.po (created using i18n console
then poedit)
The translation should be:
Sie müssen registriert sein, bevor Sie eine Frage kann fragen.

But my application is not using the translated version from my .po
file. Its still using the english version.

Am I missing something here? Thanks for any help.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

cascading create

Djangoists:

Given a model Tree with many Leaves, I want to write this:

t = Tree(data=42)
t.leaves.add(leafy_data=43)
t.leaves.add(leafy_data=44)
t.save()

I want the save() to create the Tree, then create the leaves. Other
notations would do fine.

Batching like this might permit the ORM to optimize the database
calls. If not, that's okay to.

Google doesn't say Django can do this.

My specific problem is I have a dozen trees with a couple thousand
leaves each, and simply writing them all causes a bottleneck.

--
  Phlip
  http://c2.com/cgi/wiki?ZeekLand

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

Re: GWT ResizeComposite resizing issue in IE

hi Magnus,

Thanks for the reply, actually I could make it using ResizeComposite
in GWT without doing any hacks :). The trick is, from the main
container to child widget the resize events should be populated
correctly. Therefore, we have to implement ResizeComposite through out
that path. then it works fine.

Cheers.
Lakshitha

On Jan 5, 6:30 am, Magnus <alpineblas...@googlemail.com> wrote:
> Hi,
>
> I had a similar issue with IE7 and I found that it must be some bug in
> GWT für IE.
>
> However, I fixed it by triggering a delayed forceLayout, i. e. a
> deferred command that is executed after all events have been handled:
>
>  private void forceLayoutLater ()
>  {
>   if (forced)
>    return;
>
>   forced = true;
>
>   Scheduler.get().scheduleDeferred
>   (
>     new ScheduledCommand()
>     {
>      @Override
>      public void execute()
>      {
>       if (getParent () != null) // if no parent, then we were removed!
>        forceLayout();
>       forced = false;
>      }
>     }
>   );
>  }
>
>  /////////////////////////////////////////////////////////////////////////// ////
>  // @Override
>
>  public void onResize()
>  {
>   super.onResize();
>   adjust (); // do all size and position adjustments
>   forceLayoutLater (); // needed for IE 7 :-(
>  }
>
> HTH,
> Magnus

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

Re: Run method after GWT compiling

As I understand the JavaDoc, that would be the case in DevMode (linker is called when the module is loaded, generators are only called when needed, i.e. when a GWT.create() is being called)

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

Earn $500 every day...

Way to Make Money Online for FREE! - Looking for the best, fast, easy
and free way to make money online? Do you need Quick.
Earn $500 every day...
http://www.knowledge2know.com/earnmilliondollar.htm

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[Google Maps API v2] Re: Using Geolocation to determine a custom territory

On Jan 31, 8:55 pm, Marc Stevens <marc.steven...@gmail.com> wrote:
>
> I would like to automate that so the territory code can be determined
> by the application.  I know how to get the geolocation from an address
> and vice-versa, but I don't know how to map out our custom territory
> areas.
>
> Any pointers on where to start?

A link to see how things are currently organised would have helped,
but a hint is "Point in polygon analysis". Define your territories as
polygons; get the point you're interested in; find which polygon
contains it. It's a useful four-word search phrase for your favourite
search engine.

For five polygons you might be able to do it client-side, defining
your shapes as GPolygon objects -- in which case Mike's EPoly
extension will do the job for you with its .Contains() method.
http://econym.org.uk/gmap/epoly.htm (Another hint: you don't need to
add polygons to the map until you're ready to display them, but you
can analyse them without adding them to a map)

Server-side methods are scalable -- click anywhere in England on the
map at http://www.achurchnearyou.com/parishfinder.php and the point
will identify one of 16000 polygons. Its details are then sent back to
the browser for display.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: RequestBuilder response status code is 0?!

This is generally a sign of "Same-Origin Policy" violation, and given what your "url" variable looks like it most likely is.

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

handling runtime exceptions from client

I think SimplerequestProcessor incorrectly packages server-side
runtime exceptions as ReportableException and RequestServlet returns
HttpServletResponse.SC_OK instead of reporting the error.

I will describe in more details:
I have UserRequest with findUser(String username) method. I have
implemented all the necessary 'plumbing' and I can see request going
all the way to the server, calling spring service (through static
SpringHelper.getUserService()) and returning user to the client.
However, I now want to enforce that only logged-in users can call
findUser(...) method. I add some security configuration to the spring
layer, so all unauthorized calls to the findUser(...) will throw a
security exception.

When following the above steps to fetch User object from the server,
it fails as ReflectiveServiceLayer->invoke() will catch the
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException
exception and wrap it into ReportableException. ReportableException is
then caught by SimpleRequestProcessor->processInvocationMessages(...)
and encoded in the SimpleRequestProcessor->process(...) into JSON
object using AutoBeanCodex.encode(...)
So client succefully recieves JSON object that contains exception (but
not User). The client then reports that 'Uncaught exception escaped'.

Obviously I would prefer to handle such (security) exceptions in a
generic way, change response code from HttpServletResponse.SC_OK to
HttpServletResponse.SC_UNAUTHORIZED.

The problem is I cannot find easy way to map such exceptions. I do not
want to subclass SimpleRequestProcessor's
processInvocationMessages(...) or invoke(...) as there are no easy
hooks there.

any ideas please?

thank you
Eugen

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

[Google Maps API v2] Using Geolocation to determine a custom territory

Currently, I have an application that lets the user click on an
address and a new browser window opens showing the address on a map.
We use this to determine territory codes for our business model. For
example, Harris County Texas is divided into 5 territories. User
clicks on an address in Harris County and a map opens showing the
entire county and a red pin for the address, from this they can tell
what the territory code is and they type the code into a textbox.

I would like to automate that so the territory code can be determined
by the application. I know how to get the geolocation from an address
and vice-versa, but I don't know how to map out our custom territory
areas.

Any pointers on where to start?

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: [Google Maps API v2] Re: Two MarkerClusterer Questions (custom icons and GEvent.addListener())

On 31 January 2011 19:46, Derek Tonn <datonn@mapformation.com> wrote:
> Thanks Andrew!
>
> I removed the ";" before the "}" in three locations in that
> JavaScript:

Semi-colons aren't a problem. Commas are. Your JSON data
http://www.mapformation.com/aboutus/clients/data.js has lots of }
which are immediately preceded by a comma (not a semi-colon). That
won't work in IE.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: RequestFactoryEditorDriver example?

Thanks!
That is working for me! I was looking for it too.
I didn't called req.persist().using(proxy); on the newly created proxy.

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

[android-developers] Re: Can't download Honeycom Preview

This is the third thread on this topic to appear in Android Developers
since the preview package disappeared on Friday. So far there is no
information on why it went away, or when it will reappear.

- dave

On Jan 31, 3:37 am, Chih-Wei <cwhu...@linux.org.tw> wrote:
> Downloading SDK Platform Android Honeycomb Preview, revision 1
> File not found:https://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linu...
>
> Any help?

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

USA free classifieds for advertising !!! Just free for you !!!

Frieds want to give personal ads as all other essential products
which is now available in our site
In www.webadlist.com. This is now fastest and growing site
where already more than thousand of people uploaded and
sold their products. Just now u can also registered and
post your ads.


Just visit at: http://www.webadlist.com/

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

mis-named setting? SESSION_EXPIRE_AT_BROWSER_CLOSE

Dear All

Is the setting SESSION_EXPIRE_AT_BROWSER_CLOSE mis-named? As far as I
can tell the setting doesn't influence the session expiry at all
(e.g., what happens to the django_session table on the server). What
this setting seems to affect is the expiry of the *cookie* in the
browser.

I'm looking into a way for django to detect users no longer on the
site (i.e. authenticated users who rather than logout, have navigated
away from the site or closed their browser). From the name, I had
thought this setting would be useful. It looks like it'll be useful
for the client side, but for the server side it's irrelevant surely?
A clearer name would be something like
SESSION_COOKIE_EXPIRE_AT_BROWSER_CLOSE.

Best wishes

Ivan

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

Re: [android-developers] Debug webview client

You can run your web app in the emulator, and use an Ethernet capture
application (such as WireShark) on the host.

Also this, although short, might give you some ideas:

http://developer.android.com/guide/webapps/debugging.html

-- Kostya

31.01.2011 16:52, Amit пишет:
> Hi,
>
> Is there any way to capture http/https traffic happenig through
> webviewclient?
> I can capture url by onPageStarted()/onPageFinished() but not sure how
> to get http header associated witht hem?
>
> Thanks,
> -Amit
>


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

enum.valueOf(Ljava/lang/String;) appears as undefined in Eclipse plugin

Hello,
I'm trying to return an enum value from a JSNI method like in the
example below:

public final native MyEnum getEnum() /*-{
return @my.classpath.MyEnum::valueOf(Ljava/lang/String;)
(this.myString);
}-*/;

The GWT Eclipse plugin marks the return line with the following error:
The method valueOf(java.lang.String) in the type MyEnum is undefined

However, when I try to lunch the application, it runs just fine. Am I
doing something deprecated or is it a bug in the GWT plugin?
Anyone knows a workaround?

Thanks,
Nicola

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

[Google Maps API v2] latlonGraticule to bounding box coords

I want to use Bill Chadwick's js script to create a bounding box for
each latlon square drawn on the map.

I intend to use those coords to do a DB query and pull in markers
within each square. Sort of clustering on a grid - but not really.

How do I get the bounding box for each graticule?
Thanks

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: [android-developers] Re: Handle preferences in BroadcastReceiver's

31.01.2011 15:53, Danny S. пишет:
> This matches the default preferences file and so I am able to read all
> pref values. But is this a "clean" way? Should I do better or create a
> separat preferences file using edit() method of SharedPreferences? Do
> you think my current procedure is bad and why?

Danny,

You can call PreferenceManager.getDefaultSharedPreferences to get the
prefs used by PreferenceActivity.

Relying on platform implementation details (appending package name,
etc.) only works until those implementation details change, and since
the filename for default preferences is not documented (AFAIK), that can
be anything between "never" and "any time"...

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

[android-developers] Handle preferences in BroadcastReceiver's

Hi,

I try to use my preferences within a broadcast receiver. I defined a
preferences activity thats build of a defined UI (layout xml alias
"prefrences.xml"). I am able to call the activity and edit the values.
There is a preferences xml under my device at "/data/data/
<MY_PACKAGE_NAME>/shared_prefs/<MY_PACKAGE_NAME>_preferences.xml" that
contains all of my values I defined in my layout.

In my broadcast receiver I tried to get a instance of my shared prefs.
The only way is to use the intent of the onReceive method:

...
public static final String PREFS_NAME = "preferences";
private SharedPreferences preferences;
...
public void onReceive(Context context, Intent intent {
...
preferences = getSharedPreferences(PREFS_NAME, 0);
Log.d("prefs contain key",
String.valueOf(preferences.contains("my_key")));
Log.d("prefs my_key is: ",
String.valueOf(preferences.getBoolean("my_key", false)));
...
)

I always got "false" for "my_key" and the contains key check is false
too. I checked the path of my preferences in debug mode, its "/data/
data/<MY_PACKAGE_NAME>/shared_prefs/<PREFS_NAME>" but this file does
not exists. I think I have to edit() and commit() first before
accessing this file.

My Question: am I able to get the preferences without create the new
file first and use the existing preferences file (/data/data/
<MY_PACKAGE_NAME>/shared_prefs/<MY_PACKAGE_NAME>_preferences.xml)?
There is no chance to obtain the preferences without the intent given
through the onReceive method!(?). My aim is to create notifications
based on preferences (vibration: on/off, sound: on/off, etc.) within
the broadcast receiver.

Hope someone can help me!
Thanks!
-Danny S.

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

Developer Guide on writing with GWT a reusable javascript widget

I want to write a widget with GWT that can be reused by a javascript
program (in its compiled form). Is there any guide on how to proceed,
eg which classes and methods will be exposed to the user?

Thanks,

Thomas

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

Re: a:hover in CSSResource Bundles

Thanks a ton Joe!

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

Re: loading the external css file

On 31 January 2011 12:17, Ben Dembroski <info@ionraystudios.com> wrote:
> Hi all,
>
> I was having the same trouble (using version 1.2).  I double checked
> that I was looking at the correct documentation:
>
> http://docs.djangoproject.com/en/1.2/howto/static-files/

Django 1.2 doesn't have (never did and won't have) the static-files.
The on-line docs are currently a bit broken after the recent
switchover of djangoproject.com to the new server. All of 1.2 docs
that are online, are actually 1.3 docs with wrong header. Either use
1.1 docs, or build yourself a localversion (this has extra advantage
of being available even if your internet fails) until the problem is
fixed.

--
Łukasz Rekucki

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

The MLM Success Secret of Results vs. Method People

Many people today in Network Marketing do not understand why they are
struggling. And many folks are. They do what they believe they need to
do, but yet their results are not what they want in MLM.

Is that happening to you?


Read full article


http://allwellbeing.com/blog/2011/01/31/mlm-training-the-mlm-success-secret-of-results-vs-method-people/

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

NEW HOT PHOTOS

LATEST KATRINA HOT VIDEOS
http://karomasti9.blogspot.com/2011/01/katrinahot.html
DEEPIKA PADUKONE HOT VIDEOS
http://karomasti9.blogspot.com/2011/01/deepika-padukone.html
HOT ARCHANA STILLS
http://karomasti9.blogspot.com/2011/01/archana.html
DEEKSHA SETH HOT WALLPAPERS
http://karomasti9.blogspot.com/2011/01/deeksha-seth.html
KATRINA KAIF HOT VIDEOS&PHOTOS
http://karomasti9.blogspot.com/2011/01/katrina-kaif.html
SAMEERAREDDY HOT BOOBS
http://karomasti9.blogspot.com/2011/01/sameerareddy.html
HOT SEXY ACTRESS
http://karomasti9.blogspot.com/2011/01/hot.html
latest hot sruthi hassan stills
http://karomasti9.blogspot.com/2011/01/shurthihassan-new-stills.html
UNSEEN HOT SEXY PHOTOS
http://karomasti9.blogspot.com/2011/01/never.html
SAMANTHA HOT SEXY PHOTOS
http://karomasti9.blogspot.com/2011/01/samantha.html
SEXY DIYA MIRZA
http://karomasti9.blogspot.com/2010/12/diya-mirza.html
HOT AISHWARIYA RAI
http://karomasti9.blogspot.com/2010/12/aish.html
priyamani hot&sexy photos
http://karomasti9.blogspot.com/2010/12/priyamani.html
KATRINA SEXY PHOTOS
http://karomasti9.blogspot.com/2010/12/katrina.html
ANUSHKA HOT PHOTOS
http://karomasti9.blogspot.com/2010/12/anuska.html
BEAUTIFUL AISHWARIYA RAI
http://karomasti9.blogspot.com/2010/12/aiesh.html
TRISHA HOT PHOTOS
http://karomasti9.blogspot.com/2010/11/trisha-hot.html
AMISHAPATEL HOT VIDEOS
http://karomasti9.blogspot.com/search/label/amisha
HANSIKHA HOT SEXY PHOTOS
http://karomasti9.blogspot.com/search/label/HANSIKA
HOT SEXY COLLEGE GIRLS
http://karomasti9.blogspot.com/search/label/hot
BEAUTIFUL LARADATTA
http://karomasti9.blogspot.com/search/label/laradatta
NIKISHA HOT BOOBS
http://karomasti9.blogspot.com/search/label/nikisha
PRIYANKA SPICY LATEST PICS
http://karomasti9.blogspot.com/search/label/priyanka
ONLY FOR YOUTH
http://karomasti9.blogspot.com/search/label/spicy
SRILEKHA UNSEENED PHOTOS
http://karomasti9.blogspot.com/search/label/Srilekha
CHOPRA UNBELIVABLE PHOTOS
http://karomasti9.blogspot.com/search/label/chopra
HOT BIPASA BASU PHOTOS
http://karomasti9.blogspot.com/search/label/bipasa
TRISHA IN A SEXY FEEL
http://karomasti9.blogspot.com/search/label/thrisha
SRISHA HOT BOOBS SHOW
http://karomasti9.blogspot.com/search/label/srisha
BEAUTIFUL POONAM PHOTOS
http://karomasti9.blogspot.com/search/label/poonam

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

Re: GWT Development Mode - Safari and Opera

You said: "We don't support Opera". What is the reason of it? Is the
Opera stepson?

On jan. 27, 00:26, Chris Conroy <con...@google.com> wrote:
> We don't support Opera, but we do have a Safari plugin:http://gwt.google.com/missing-plugin/MissingPlugin.html
>
>
>
> On Wed, Jan 26, 2011 at 4:48 PM, jucimarjr <junior.juci...@gmail.com> wrote:
> > Hi,
>
> > I'd like to know, from people who develop applications for Safari or
> > Opera, how you debug the client side without the GWT Developer Plugin,
> > once Hosted Mode is not supported on Safari (for Windows) and Opera.
>
> > I need develop applications for these browsers, but I can't debug
> > them.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs­cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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

[android-developers] NFC Mock Tags and Successfully Writing NFC Tags

I would like to ask one thing about NFC demo available in gingerbread.
There are three mocked nfc tags available in this demo. Now can anyone
tell me how can I create one more mocked tag.

For example we have

/**
* A Smart Poster containing a URL and no text.
*/
public static final byte[] SMART_POSTER_URL_NO_TEXT =
new byte[] {(byte) 0xd1, (byte) 0x02, (byte) 0x0f, (byte)
0x53, (byte) 0x70, (byte) 0xd1,
(byte) 0x01, (byte) 0x0b, (byte) 0x55, (byte) 0x01, (byte)
0x67, (byte) 0x6f,
(byte) 0x6f, (byte) 0x67, (byte) 0x6c, (byte) 0x65, (byte)
0x2e, (byte) 0x63,
(byte) 0x6f, (byte) 0x6d};

Inside MockNdefMessages.java

Now this data is actually the http://www.google.com/
Now I want to have http://www.wikipedia.com/ in my
SMART_POSTER_URL_NO_TEXT data member. How can I get the bytes for it
any idea.

Also I have seen that the people at Gibraltar Software Factory have
successfully used the NFC feature of gingerbread to write NFC tags.
Here is the url http://gibraltarsf.com/blog/?p=13 but they did not
provide complete code, if someone can see there demo and build
complete code for that demo and share then it will be pleasure for me.

Regards,
Asif

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

binary tree

hallo baker

how to create binary tree in cakephp.
i only know how to create tree, not a binary tree.

thanks.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: Weird Django Artifact Error

2011/1/31 bruno desthuilliers <bruno.desthuilliers@gmail.com>:
> If yes, then grep is your friend:
>
> # cd /path/to/your/project
> # grep -rHne "djang\.form"

Yeah, I had done this (except with ack[1]) and 'djang.form.formsets'
appears nowhere… And yes, I had restarted the service.

Anyways, I cloned the repository, deleted the version I was working
with and then replaced that with the cloned version. Seems to be
working.
--
Samuel Baldwin - logik.li

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

[Rails] Re: link_to :method => :delete doesn't?

Can you double-check you did everything listed here:
https://github.com/rails/jquery-ujs

Also, have a look at your HTML source if all js files are included
(and in the correct order).

Simon


On Jan 31, 3:38 am, eka <forer...@gmail.com> wrote:
> Hi,
> I am new to rails and was very pleased to find this thread. After
> reinstalling ruby with
>  rvm ( ruby-1.9.2-p0 [ x86_64 ])
>  installing rails 3.0.3
>  installing gem 'jquery-rails'
>  rails generate jquery:install
>  rails generate scaffold locality name:string type:string
> parent_id:string
>
> There is still the same problem: method delete gets routed to action
> show.
>
> Definig my own delete route may be a workaround. Having scaffolding
> which does not work looks not right.
>
> Ernst
>
> On Jan 27, 8:44 pm, Fearless Fool <li...@ruby-forum.com> wrote:
>
>
>
>
>
>
>
> > Chris Mear wrote in post #977826:
>
> > > The default rails.js that ships with Rails 3 is designed to work with
> > > Prototype; you should replace it with one written to work on jQuery, if
> > > you haven't already:
>
> > >https://github.com/rails/jquery-ujs
>
> > > Chris
>
> > Give that man a cigar!
>
> > Evidently I'd installed the gem but missed the all important:
>
> >   $ rails generate jquery:install
>
> > step.  All better now.
>
> > [Summary for anyone who comes here via google]
>
> > If you're using jQuery, and if you notice that 'link_toobj, :method=>
> > :delete' is failing to trigger your controller's destroy()method, make
> > sure that:
>
> > (a) you have the correct routes set up -- do a rake routes to make sure
> > (b) you've installed the jQuery adaptor gem (and done a 'bundle
> > install')
> > (c) you've called 'rails generate jquery:install'
>
> > [/Summary]
>
> > Thanks, all.
>
> > - ff
>
> > --
> > Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: newbie question about paths

On 29 jan, 17:00, Brian Craft <bc...@thecraftstudio.com> wrote:
> Suppose the project is /var/www/django/project. Following the django
> with wsgi docs, you would add /var/www/django to the path, and
> DJANGO_SETTINGS_MODULE would be project.settings.
>
> However, in that case, the path scheme described in the tutorial
> doesn't work, e.g. setting up admin.py for Polls as described will
> throw an error because it can't find a module Polls. Instead you have
> to "from project.Polls.models import Polls", which seems to break the
> modularity of the Polls app (since it has the project name embedded in
> it, now).
>
> So, should the wsgi config instead add /var/www/django/project to the
> path, and set DJANGO_SETTINGS_MODULE to "settings"?


Add both "/var/www/django" and "/var/www/django/project" to your
sys.path.

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

[android-developers] Re: For those who are looking for testing their apps on multiple devices:

Hello Stephan,

can you describe the "kind of interface" they provide
to the different devices ?

Or how the interaction during test should happen ?
Do they provide a web cam view to the ui ?

Thanks ! Frank


On 30 Jan., 07:57, Stephan Wiesner <testexpe...@googlemail.com> wrote:
> For those who are looking for testing their apps on multiple devices:
>
> I had the chance to meet a guy from Device Anywhere last week. They wire
> mobile phones and put them into server racks. This allows remote control of
> them. No simulation, the real thing. Pretty cool…
>
> They offer a device pool that can be accessed remotely or one can buy the
> machines. This is useful for building an internal testlab in big companies.
> The test automation in the live demo looked pretty cool, too. Though I have
> seen too many "magic testing tools demos" In my live to believe it till I
> have tried it :-)
>
> Greetings from Berne,
>
> Stephan
>
> --
> Interessiert an Android?http://android-schweiz.blogspot.com/
> Whant to learn German?http://german-podcast.blogspot.com

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

Sunday, January 30, 2011

[android-developers] Re: Display PDF in an application

http://groups.google.com/group/android-developers/browse_thread/thread/33c065dcb4bd8583/2b737e636a7f8281?lnk=gst&q=PDF#2b737e636a7f8281
http://lmgtfy.com/?q=Android+PDF+library

How many times can you ask the same question? Nay, same message!

On 31 янв, 06:54, peria abirami <periaabir...@gmail.com> wrote:
> I need to display PDF in an application ...
> Can any one help me on this issue..

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

AISHWARYA RAI SEXY VIDEOS - ROMANCE SCENE HERE

http://www.cinemaulagam.org

http://www.cinemaulagam.org

http://www.cinemaulagam.org

http://www.cinemaulagam.org

http://www.cinemaulagam.org

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[Rails] Re: Access parent object instance variable

On Jan 31, 12:29 am, "Ellicks M." <li...@ruby-forum.com> wrote:
>
> So, essentially on creation of a RollingEvent I'd be passing in a
> reference to the parent Event?

That is how things work in ruby

> Would I have to make a method for every single data member like so:
>
>   def amount
>     @parent_event.amount
>   end
>   def title
>     @parent_event.title
>   end
> end

You could just write @parent_event.amount each time, although there's
no harm in writing the above (You might also want to read up on
delegation)

Fred
>
> ??
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Re: reboot emulator

try this "adb shell reboot"

Thanks,
AJ

On Jan 31, 3:16 pm, Narendra Bagade <bagadenaren...@gmail.com> wrote:
> hi all,
>
> How to reboot emulator?
>
> --
> Regards,
> Narendra
> .

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

[android-developers] Re: Unable to upload app on Android Market having tag in manifiest

Thanks for your reply.
I dont want to support landscape mode in my application. An activity
can restrict to portrait view. But how do i restrict a wallpaper from
being displayed in landscape mode (?) So, I would like it not to be
displayed on devices supporting landscape mode on home screen, and
those are mainly with the devices with hard keyboard support.

On Jan 27, 1:02 am, TreKing <treking...@gmail.com> wrote:
> On Wed, Jan 26, 2011 at 4:53 AM, Yogini <yogin...@gmail.com> wrote:
> > Or any other way to exclude an app from devices having hard
> > keyboard support.
>
> That doesn't make sense. Requirements are for extra hardware, not the lack
> thereof. Why do you think you need to do this? If your app works without a
> keyboard, there's no reason it should not work with a keyboard.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

flatpages templatetags missing

Hi:
I am trying to use flatpages in my app, and i set up the settings.py
correct, and I am able to create the flatpages using the admin site.

However, when in my app I try to load the template tags for flatpages
using:
{% load flatpages %}

I get a
TemplateSyntaxError
Exception Value:

'flatpages' is not a valid tag library: Template library flatpages not
found, tried
django.templatetags.flatpages,django_extensions.templatetags.flatpages,django.contrib.admin.templatetags.flatpages,django.contrib.webdesign.templatetags.flatpages

I then looked to see the django distribution installed (1.2.3 final)
on my computer and noticed that django.contrib.flatpages did not have
a templatetags module under that.

I looked up the code repository for 1.2.3 and 1.2.4 and both don't
have the templatetags directory.

What am I doing wrong ? What is missing ?

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

Can CellWidgets contain custom composite widgets ?

Can I create custom composite widgets ( panels containing label, button, edit box),
and include these custom widgets within the CellWidgets (CellTable, CellTree) ?

for example, when clicking on a node, instead of displaying just a text,
be able to display a composite widget,
or including drop-down panels (similar to disclosure panel) in the CellTable rows.
example: http://code.google.com/p/google-web-toolkit/updates/list

is this possible with CellWidgets?

Thank You

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

[android-developers] Re: Android Developer Position for a NY Based Internet Company

Hi Mr. Abunado,

I have a question for this job, if you have any sponsor for
overseas employee.

Regards,
Ali

On Jan 27, 4:45 pm, Kim Abunado <kim.abun...@gmail.com> wrote:
> Hi There,
>
> SourcePad is a New York City based Internet company focusing on
> outsourcing services for SME. Our company practices a groundbreaking
> work environment where collaboration is exercised throughout all
> levels of the company.
>
> We are expanding rapidly and have now worked with 50+ clients!
>
> We currently have more Mobile work than we can handle and need to grow
> our team!
>
> We have positions for both Mid-shift & Night-Shift, so, if you are
> smart, excited about Mobile  development and want to potentially
> double your salary...we want you to join our team!
>
> If you are interested, please email Kim at k...@sourcepad.com or text
> at 0916.496.83.46
>
> Look forward to speaking with you!
>
> Kim Abunado
> Recruiting Manager
> SourcePad LLC
> 0916.496.8346www.sourcepad.com

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

Some beginners question

1) I want to read files. Where should I put these files? I am not using a model to link to the files. And how to discover the path to files? I am working on windows, and in development environment I am using the full path to the file.
2) I created my own custom classes, but when I import into views.py, I get module not found. Why so? My custom classes are inside application\myclassfolder.

thanks

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

Re: pyodbc: Error: ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnectW)')

> conn = pyodbc.connect(r"DRIVER={FreeTDS};SERVER=testserver
> \mssql2008;DATABASE=eoffice;UID=erp;PWD=123")

Thanks for your reply, David!
You gave me great advice!
As you suggest, now I my connection is fine!
But there is one another problem occurred!
When I run the Select query, result is non unicode data while select
query reads nvarchar column from mssql database. My code is below:
------------------
import pyodbc
conn = pyodbc.connect(r'DRIVER={FreeTDS};SERVER=testserver
\mssql2008;DATABASE=eoffice;UID=erp;PWD=123;')
crms = conn.cursor()
crms.execute('SELECT cc_Name FROM tblHR_CodeClass')
for line in crms:
print 'cc_Name: %s' % (line.cc_Name)
break
conn.close()
------------------
Result is 'cc_Name: ?????, ???'. But I expected the result would be
'cc_Name: Aймаг, хот' because actual data is 'Aймаг, хот'.

Here is my question: Does the pyodbc library support Unicode?

regards,
Orgil

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

MongoDB Schemaless?

One of the things I liked about MongoDB was it's schemalessness(see
what I did there?). Any checked out the MongoDB datasource and
figured out a way to not have to set a schema for each model. I
suppose this isn't a big deal really, since once the schema is set it
acts schemaless(I think), meaning not all documents have the same
fields.

Also, I feel like there is not much of a cakephp mongodb community, or
perhaps I'm just not finding it. There is a very small amount of
information out there(minus Mark Story's post). I watched ichikaway's
talk on CakePHP/MongoDB, but it was pretty light on information. It
was more of a MongoDB primer and there is plenty of that around.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

can we use equals() to see if two EntityProxy or ValueProxy are equal ?

can we use equals() to see if two EntityProxy or ValueProxy are equal ?
in other words, is equals() already overriden for our custom Entity/Value proxies,
or we need to override it ourselves, or it does not make sense to compare two proxies ?

Thank You

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

Super Signup System

Supercharge your sign up rate, Build a massive I.M list in record
time, make an easy $97 in the process. ...


How Do I Build A List Fast And Make Money In The Process?


Luckily you don't have to worry about this part because I've prepared
all the landing pages and download pages and special offer sales page
for you. All you have to do is insert your opt-in code, upload the
files and drive traffic to that site!


The best way to get a high sign-up rate is to give! Whoever is looking
for information on how to make money on the internet - give it to
them! Not only that, but make the page good enough so that they would
be silly not to sign up to your list!


I've created a page for you which displays all the products they will
be getting for free. Take a look below..


http://hotshorturl.com/aga82

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[Rails] Strange rake error with config.cache_classes

when i run rake tasks, i run into a strange problem when running it in
production mode. it loads all of the files in the directory app/
runners/cron. when i run the rake task with config.cache_classes set
to true (as it is set in environment/production.rb) then it seems to
load those files in that directory upon execution of the rake command.
however, those files are not loaded when it is set to false.

i have checked my application, boot, and environment files and i am
not loading that directory.

i came across this error trying to run a thinking_sphinx rake task as
below:

http://groups.google.com/group/thinking-sphinx/browse_thread/thread/b35782f90d7605fa

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] "Share app" button? Any direct way to send link to launch market to app location?

Guys,

Is there any direct way to share a link with friends that if opened on
an Android device, will launch the market
app to your apps location? This would be for a button users could
press to share the app with a friend?

Any pointers would be appreciated.

Thanks!

pawpaw17

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

Re: [Google Maps API v2] Question about TOS 10.3

Your interpretation sounds about right. If you read above:

(b) "Content" means any content provided through the Service (whether created by Google or its third party licensors), including map and terrain data, photographic imagery, traffic data, or any other content.

Cheers
Chris

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: MVP - Suppress and/or rename place name and token



On Monday, January 31, 2011 2:26:34 AM UTC+1, cri wrote:

Another thing we'd like to know how to do is customize the place name.
By default, the name is the same as the Place class name, but the MVP
docs indicate that the default can be overridden. I haven't been able
to discover how to do this. Does anyone know?

Sure, use a @Prefix("otherPrefix") on your PlaceTokenizer. 

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

GWT Development Firms

I'm looking for individuals or firms that specialize in the creation of custom GWT applications.  Does anyone know of a list or job board?

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

[android-developers] Re: How to change the background color of ToggleButton?

Yes, I just want to change the button background.
How can I do it at runtime?
Would you please to give me a simple example?

Best regards,
Eric

On Jan 29, 2:17 am, Kostya Vasilyev <kmans...@gmail.com> wrote:
> If you only want tochangethe way aToggleButtonlooks (not behaves),
> you can replace the background from XML with your own.
>
> Note thatToggleButtonuses a layer-list drawable to overlay the toggle
> state over the standard button background, to reduce the number of
> needed images.
>
> You can find the resource in "data" directory inside the
> platforms\platform-<API version>\data\res folder on your computer.
>
> -- Kostya
>
> 28.01.2011 21:08, Roger Podacter пишет:
>
>
>
> > I was interested in doing something like this as well. My app has 6
> > toggle buttons in a row on one line, and it doesn't quite fit on
> > portrait screen. I wanted to make a custom toggle button, color,
> > width, etc.
>
> > You could also make your own state-list drawable I think It's called.
> > Anyway in the source of the s d k I think you can find the toggle
> > button and then edit it, not sure though.
>
> > On Jan 27, 7:08 pm, TreKing<treking...@gmail.com>  wrote:
> >> On Tue, Jan 25, 2011 at 10:43 PM, Eric Chow<eric...@gmail.com>  wrote:
> >>> How can Ichangethe background color of aToggleButton?
> >> Go to the documentation, find the entry forToggleButton, then start
> >> reading. There-in lies the answer.
>
> >> --------------------------------------------------------------------------- ----------------------
> >> TreKing<http://sites.google.com/site/rezmobileapps/treking>  - Chicago
> >> transit tracking app for Android-powered devices
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com

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


Real Estate