Sunday, September 30, 2012

Re: [Lovers India] Frnd Required

hi friends........ join me on facebook and tell ur frnds to join me..
https://www.facebook.com/kiran.patil111

waiting for ur rqst frnds..........

--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

[android-developers] new ideas to create android apps which includes framework

I want ideas which are not available in market.

--
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: PCRE has not been compiled with Unicode support on setup

http://lmgtfy.com/?q=PCRE+has+not+been+compiled+with+Unicode+support

On Sunday, September 30, 2012 2:06:26 PM UTC-7, Chris wrote:
hi guys,... I have on 1.3 setup : 

PCRE has not been compiled with Unicode support 

where do I have to add -enable-unicode-properties 

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

[android-developers] 為什麼一個遊戲收了十八次款項,是否有錯誤,請回覆,謝謝!!!!!


--
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

Tools - Slow in python django fw

Hi ,

We have converted our tools from php to django framework but tool performance is very slow compare to php .

Please let us what are things we have to do ...

Thanks,
Siva

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/7s9SZXW-TYUJ.
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] Re: geolocation

again saying you this exception cause due to because your real device cant get last location thats why you didnt got last location on device use if else condition and putToast msg in else condition

--
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

Add your own template library

Hi,

I have created a custom template tags library which I would like to use across my application.
I referred this code snippet, http://djangosnippets.org/snippets/342/

but still when I refer the tag in my code as: {% load repeat %}.

It says 'repeat' is not a valid tag library, tried django.templatetags.repeat,django.contrib.staticfiles.templatetags.repeat

Any help would be appreciated.

- Thanks
Ashish

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/4AqRRolTYK0J.
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: django and mysql versions

On Sun, Sep 30, 2012 at 12:38 PM, Dennis Lee Bieber
<wlfraed@ix.netcom.com> wrote:
> The main features that have been added to MySQL are views, triggers,
> stored procedures... And "prepared statements".

I beg to differ:

http://dev.mysql.com/doc/refman/5.0/en/create-view.html
http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html
http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html
http://dev.mysql.com/doc/refman/5.0/en/sql-syntax-prepared-statements.html

all these features were already implemented in MySQL 5.0

As far as I can tell, none of these is used by MySQLdb, so it doesn't
make any difference. It would certainly be odd if it worked with 5.1
and not with 5.5

Note that recent Ubuntu distros install MySQL 5.5 by default. I guess
that if there was any problem with that, we would be innundated by bug
reports.

--
Javier

--
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] Re: Returning complex object/s via SOAP from .Net web services

Parse the XML using an XML parser...

Then consider using a Loader:
http://developer.android.com/guide/components/loaders.html

Also consider using an AsyncTask, forgoing that...

kris

On Sun, Sep 30, 2012 at 11:17 PM, solnichko <larik79@gmail.com> wrote:
> I mean not just a simple String or int.
>
> The example XML string above is returned from the web services when an ID of
> this object is passed.
> At the moment I get Title, Description and a couple f URLs returned, but
> have no success parsing the XML String above and displaying the values
> simply in a textbox.
>
> Once I get this working, I will have to implement a listview that will
> display a list of such objects(with Title, Descr, etc.)
>
> From what I figured out I need to receive responce in an XML String or an
> array of objects.
>
> At the moment I am trying to work on XML String option.
>
> My project partner writes the web services and does not have much experience
> either, he expects me to tell him what I need to receive.
>
>
>
>
> --
> 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

--
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: Returning complex object/s via SOAP from .Net web services

I mean not just a simple String or int.

The example XML string above is returned from the web services when an ID of this object is passed.
At the moment I get Title, Description and a couple f URLs returned, but have no success parsing the XML String above and displaying the values simply in a textbox.

Once I get this working, I will have to implement a listview that will display a list of such objects(with Title, Descr, etc.)

From what I figured out I need to receive responce in an XML String or an array of objects.

At the moment I am trying to work on XML String option.

My project partner writes the web services and does not have much experience either, he expects me to tell him what I need to receive.



--
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: FULL_BASE_URL

i was wrong,... it's all fine on this matter ,... it is reading FULL_BASE_URL

On Sunday, September 30, 2012 12:13:09 PM UTC-7, Chris wrote:
hi guys,... I'm loosing FULL_BASE_URL ,... its not coming up in helper: 

      
      return (array_key_exists('full', $params) ? FULL_BASE_URL : '') . $this->webroot . 'photos/' . $size . '/' . $id . '-' . $secret . '.jpg' . (array_key_exists('updated', $_GET) ? '?' . time() : '');
      
what can I do,...? 

thanks 

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

Re: getting < , " instead < , " in output

May be you did not start PHP tag?

On Mon, Oct 1, 2012 at 2:51 AM, Chris <chris69m@yahoo.com> wrote:
hi guys,... I'm getting getting &lt; , &quot; instead < , " in output (views) when reading from helper,... e.g. 

    $s = '<img src="' . $this->show_path($photo, $size, $params) . '" alt="' . (array_key_exists('alt', $params) ? $params['alt'] : $name) . '"'; 

can some one tell me what's wrong with it,...?? 

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 



--
Thanks & Regards.
-----------------------------------------------------------------------------------------------------------------------------
Yasir Arafat (Hasib)
Deputy Project Manager, Software Solutions
Grameen Solutions
Contact Information:
Cell : +8801816 536 901, +880197 333 2 888
Web: http://arafats.info

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

Re: [android-developers] Returning complex object/s via SOAP from .Net web services

this isn't Android related, but what do you mean via "complex?"

kris

On Sun, Sep 30, 2012 at 9:10 PM, solnichko <larik79@gmail.com> wrote:
> Hi everyone
>
> Can anyone suggest what are the options for returning complex object/s via
> SOAP from .Net web services?
>
> At the moment I am trying to parse the XML data structure and not quite sure
> how to do so. The data returned looks like this:
> <string><title>Pasifika Drums</title><description>This is a description
> ....<description><url>http://.../Demo.aspx</url><images>http://.../img1.jpg</images></string>
>
>
> Thanks in advance.
> Lara
>
> --
> 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

--
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] Returning complex object/s via SOAP from .Net web services

Hi everyone

Can anyone suggest what are the options for returning complex object/s via SOAP from .Net web services?

At the moment I am trying to parse the XML data structure and not quite sure how to do so. The data returned looks like this:
<string><title>Pasifika Drums</title><description>This is a description ....<description><url>http://.../Demo.aspx</url><images>http://.../img1.jpg</images></string>


Thanks in advance.
Lara

--
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:



On Sunday, September 30, 2012 2:32:58 AM UTC-4, Illyoung Choi wrote:

--
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: [Rails] Re: How to escape a forward slash with gsub, also does interpolation work with gsub?

thanks!

BTW, is it possible that during the replace, it leaves the start/end tag? 
Currently it is replacing it also, I want the comments to be there after the replacement.


On Sun, Sep 30, 2012 at 7:49 PM, bricker <bricker88@gmail.com> wrote:
You have to escape the slashes and asterisk in the regex, as they are regular expression characters. http://rubular.com is a great place to learn and play around with regular expressions.

    text.gsub(/\/\* start \*\/(.*)\/\* end \*\//im, replace_with)

Yes, interpolation works in regular expressions:

    text.gsub(/#{start_tag}(.*)#{end_tag}/, replace_with)


On Sunday, September 30, 2012 4:17:03 PM UTC-7, Gitted wrote:
I am trying this:

I want to replace all the text in between java comments:

/* start */
replace this text here
/* end */


I'm trying:

text.gsub(//* start */(.*)/* end *//im, replace_with)

But i'm getting errors relating to expecting keyword_end.

How should I be escaping /* and */   ?

Also, does string interpolation work in gsub regex?  Say I had variables like:

start_tag = "/* start */"
end_tag = "/* end */"

I want to do:

text.gsub("#{start_tag}(.*)#{end_tag}", replace_with)

--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/-4Zgher1s3UJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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 https://groups.google.com/groups/opt_out.
 
 

[Rails] How to escape a forward slash with gsub, also does interpolation work with gsub?

I am trying this:

I want to replace all the text in between java comments:

/* start */
replace this text here
/* end */


I'm trying:

text.gsub(//* start */(.*)/* end *//im, replace_with)

But i'm getting errors relating to expecting keyword_end.

How should I be escaping /* and */   ?

Also, does string interpolation work in gsub regex?  Say I had variables like:

start_tag = "/* start */"
end_tag = "/* end */"

I want to do:

text.gsub("#{start_tag}(.*)#{end_tag}", replace_with)

--
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 https://groups.google.com/groups/opt_out.
 
 

3akarat.com -

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: Making form label a href

> Is there some way to have the form label be a href?

you'll have to change the forms templates to something like

{% for field in form %}
<p>
<label for="{{ field.id_for_label }}"><a href="/your/path/">{{
field.label }}</a></label>
{{ field }}
</p>
{% endfor %}


--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

--
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: Where to download the Lenovo A2901 ADB interface USB driver?


Veritatis,

Thank you for your comment.

Regards,

On Wednesday, September 26, 2012 10:56:24 PM UTC-4, Indicator Veritatis wrote:
If it is a Windows driver you are interested in, go to the Lenovo website for your Lenovo and select the right USB package (including lots of drivers, I forget the exact name). Download from there.

On Tuesday, September 25, 2012 3:48:38 AM UTC-7, mw18888 wrote:

I can't find the Lenovo A2901 ADB interface USB driver?

Any comment?

Thank you in advance.


--
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: [android-developers] Re: Google cancelled this order. Reason: Other



On Sunday, 30 September 2012 21:57:30 UTC+2, Kostya Vasilyev wrote:
Yes, seeing more than usual too.

Tonight it is a cancel fest with 1 purchase out of 3 or 4 cancelled this way...with generally 2 or 3 cancel lines for the same user in the console.

--
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: GWT podcasts?

Gordon,

Was moving to Boston and had a 14 hour drive yesterday. Enjoyed listening to the podcasts, but just wished there were more. If only you'd been doing these since 2006 I could have filled the entire time. Keep it up!


Sincerely,
Joseph

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Be8HwJuC1nsJ.
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.

Making form label a href

In an app I've inherited, there are forms generated with {{ form.as_p
}} in the template. This generates HTML like this, for example:

<div class="generated">
<p><label for="id_group">Group</label> <select name="group"
id="id_group" tabindex="1">
<option value="" selected="selected"></option>
<option value="1">12S</option>
<option value="2">13S</option>
<option value="3">22SOI</option>
</select></p>
</div>

Is there some way to have the form label be a href?

--
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.

getting < , " instead < , " in output

hi guys,... I'm getting getting &lt; , &quot; instead < , " in output (views) when reading from helper,... e.g. 

    $s = '<img src="' . $this->show_path($photo, $size, $params) . '" alt="' . (array_key_exists('alt', $params) ? $params['alt'] : $name) . '"'; 

can some one tell me what's wrong with it,...?? 

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

Re: django and mysql versions

Thanks for the response -- this is really useful information about what MySQL features new to version 5.5 are not handled by MySQLdb. 

In this case, my reasons for asking about using MySQL 5.5 aren't really about wanting any features that are available only in 5.5, but more about a situation where the choice of MySQL version isn't entirely up to me.  I'm hoping to avoid spending time configuring a development environment with this version only to find out that this actually doesn't work at all.  So from your response I get that probably it would work. 

Is there anyone out there who's actually tried it and knows from experience what will happen?  If not, I'll try it and update this thread with how it comes out. 



On Sunday, September 30, 2012 1:38:45 PM UTC-4, Dennis Lee Bieber wrote:
On Sun, 30 Sep 2012 09:18:49 -0700 (PDT), Elizabeth Rachel Lemon
<ele...@gmail.com> declaimed the following in
gmane.comp.python.django.user:

> Is anyone using Django with MySQL 5.5? The page that says "5.0.3 and
> higher" seems to me to imply that this would work, but if MySQLdb is
> required for Django and MySQLdb only supports up to 5.1, then that implies
> that it is at least not supported. Anyone tried it?

        The main features that have been added to MySQL are views, triggers,
stored procedures... And "prepared statements".

        So far as I know, the only thing MySQLdb doesn't handle is the
"prepared statements" aspect -- it uses the query interface that is
common to all versions: it sends complete text queries. The main place
where the difference would be visible is if one does an .executemany().

        The common-to-all versions would issue multiple complete statements,
which need to be parsed and compiled by MySQL /each time/:

insert into thetable (f1, f2, f3) values (v11, v12, v13)
insert into thetable (f1, f2, f3) values (v21, v22, v23)
insert into thetable (f1, f2, f3) values (v31, v32, v33)

        Prepared statements would send a parameterized statement to MySQL to
be "compiled"

insert into thetable (f1, f2, f3) values (?1, ?2, ?3)

and then send the values separately, telling MySQL to use the already
compiled statement

stmtref, v11, v12, v13
stmtref, v21, v22, v23
stmtref, v31, v32, v33

        I'd find it highly unlikely that MySQL would have /removed/ some
portion of the API that would invalidate pre-existing application code.

--
        Wulfraed                 Dennis Lee Bieber         AF6VN
        wlf...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/qmkYEYLqjc4J.
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.

3akarat.com - شقة بمدينة بدر امام الجامعة الروسية

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

app for kickstarter-like goals

I'm developing a website for a non-profit organization.

They want something similar to kickstarter, only based on people instead of money.

Let's say there's an event. A birthday.

If 5 people preorder the ticket there will be a clown*
If 10 people preorder the ticket there will be a clown orchestra (in a small car)
il 100 people preorder the ticket there will be a golden statue of a clown.

I have no problem with the "buying tickets thing", but I couldn't find in django-packages anything related to milestones or goals.

Do you know if there is already something I can use? Or should I create it?

Thanks!

* if you hate clowns you can replace them with cookies

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/2y9biFnbiIUJ.
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.

3akarat.com - ارض للبيع

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: [ANN] Sheath: Dagger Inside

Nice work Thomas! I've been looking for just such a light weight DI replacement. I'll give it a try this weekend.


Sincerely,
Joseph

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5fSr_AbF0uMJ.
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: django and mysql versions

On Sun, 30 Sep 2012 09:18:49 -0700 (PDT), Elizabeth Rachel Lemon
<elemon3@gmail.com> declaimed the following in
gmane.comp.python.django.user:

> Is anyone using Django with MySQL 5.5? The page that says "5.0.3 and
> higher" seems to me to imply that this would work, but if MySQLdb is
> required for Django and MySQLdb only supports up to 5.1, then that implies
> that it is at least not supported. Anyone tried it?

The main features that have been added to MySQL are views, triggers,
stored procedures... And "prepared statements".

So far as I know, the only thing MySQLdb doesn't handle is the
"prepared statements" aspect -- it uses the query interface that is
common to all versions: it sends complete text queries. The main place
where the difference would be visible is if one does an .executemany().

The common-to-all versions would issue multiple complete statements,
which need to be parsed and compiled by MySQL /each time/:

insert into thetable (f1, f2, f3) values (v11, v12, v13)
insert into thetable (f1, f2, f3) values (v21, v22, v23)
insert into thetable (f1, f2, f3) values (v31, v32, v33)

Prepared statements would send a parameterized statement to MySQL to
be "compiled"

insert into thetable (f1, f2, f3) values (?1, ?2, ?3)

and then send the values separately, telling MySQL to use the already
compiled statement

stmtref, v11, v12, v13
stmtref, v21, v22, v23
stmtref, v31, v32, v33

I'd find it highly unlikely that MySQL would have /removed/ some
portion of the API that would invalidate pre-existing application code.

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

--
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.

3akarat.com - عروض عقاريه للبيع بمدينة نصر/أراضي

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: I'd like the Session to timeout on browser exit, is this all that's needed?

If you have a page open in a "tab" and then navigate away to other "tabs" for a while, is that equivalent to closing the browser on that page?

On Sunday, September 30, 2012 12:08:40 PM UTC-4, d6games wrote:
In Config/core.php...
 
   Configure::write('Session', array(
        'defaults' => 'php',
                'cookieTimeout' => '0'
    ));

Do I have to do anything else for my Session variables to stay alive until the user closes the browser? I ask if I'm missing a step because is seems like the Session is randomly clearing.


--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

I'd like the Session to timeout on browser exit, is this all that's needed?

In Config/core.php...
 
   Configure::write('Session', array(
        'defaults' => 'php',
                'cookieTimeout' => '0'
    ));

Do I have to do anything else for my Session variables to stay alive until the user closes the browser? I ask if I'm missing a step because is seems like the Session is randomly clearing.


--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

Re: [Rails] On selecting the country, state dropdown gets refreshed

On 30 September 2012 13:23, BalaRaju Vankala <foreverbala4u@gmail.com> wrote:
> Hello Every one
> I have a small doubt . How On selecting the country, state dropdown
> gets refreshed . for Ex i selected india . i got all states of india in drop
> down list.

You will have to use javascript to do this, or update the list using
an ajax call.

Colin

--
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 https://groups.google.com/groups/opt_out.

[android-developers] How to apply GPL license to Android App ?

Hi to all,
I write this mail because I'd like to apply GPL license to my Android Apps.

I read some step from  [url ] www.gnu.org)[/url] and I understand I have to do the followings steps :

1. Every file should have a copyright line
Esempio: /*Copyright 2012 Angelo Luciani*/
 
2. Every file should have a reference to the license
Esempio  /*  Nome-Programma is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Nome-Programma is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Nome-Programma.  If not, see <http://www.gnu.org/licenses/> */

3. The code to be shared

4. A complete license shoud be present into the Project

IN REGARD OF THIS I HAVE THE FOLLOWING QUESTIONS !

D1.  I wrote point 1 and 2 only to  .JAVA files, what's about .XML files, I need to write  them?

D2. What's about the database ? I create a .db SQLITE database.
Is it necessary insert GPL reference on it ?

D3. apk packet is without .java files.
Is it necessary to add them into the packet ?
If I publish the application source on the net I need to write the link in every code source files ?

D4. If you already use GPL license for Android Apps could you check if all steps are correct ?

Thanks in advance.

--
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

3akarat.com - للبيع شقة بمشروع دجلة جاردنز - 6 اكتوبر

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: [android-developers] Re: image passing ?

mohammed Nuhail wrote:
> can i send jpeg image ?
>
>

if you have any image in your filesystem then send its Uri, otherwise
if you have in-memory bitmap pass it as a Parcelable

pskink

--
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

3akarat.com - مخزن فى الشروق للايجار

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

[Lovers India] NICE MODEL..


 
 
 
 


--




Thanks & Regards

Shyjith M


--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

[android-developers] Nexus 7 can write data to RFID tap?

Hi 
I am the new Android App developer, I would like to make a app which can read/write RFID tag but I don;t know which model moble/tablet have both read/write RFID function, may I know nexus 7 has read/write function or not?

Thank you for your answer :)
Patrick

--
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] image passing ?

How to send a image from one activity to another activity ?

--
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: GWT using App Engine

Hi,

thanks for your answer, that make things clear.

Regards

Am Sonntag, 30. September 2012 08:33:52 UTC+2 schrieb Manuel Carrasco:
The gae stuff is not needed in gwt projects, in fact most of my projects use a non gae server side solution: spring, couchdb, php, rails.
Think that gwt is to produce an app to be run in a browser sending ajax requests to any server side implementation. 
If your backend is java, you can take advantage of a couple of things which the gwt-server library provides and which makes that ajax easier (RPC, RF), but gwt does not provide anything for your server implementation (persistence, injection, etc), and gives you the freedom to select anything (spring, grails, gae, etc)
If your backend is not java, you have to use traditional ajax making requests and parsing the json or xml results. Gwt gives you some utilities to parsing those responses, or you could use a 3party library like gwtquery.ajax.
In the other hand you can use gae without gwt in the browser (jsp, spring-mvc, etc)

- Manolo

On Saturday, September 29, 2012, Manuel wrote:
Hi,

thanks for your reply.

I just tried to remove the GAE from my project, but that caused some weird errors.
Now I set up a new project without GAE.

If I dont consider to deploy my App to Google I dont need that GAE anyway.
Or are there any other features that belong to GAE?

Regards

Am Samstag, 29. September 2012 03:37:27 UTC+2 schrieb Manuel:
Hi everyone,

Iam new to gwt and I got a question regarding app engine.

Actually I have a project that uses app engine. Does that mean I only can use this project to deploy it on Googles app engine,
or can that project be deployed/hosted on my own Server ?

Thanks in advanced.

Regards,
Manuel

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/54smcizflG8J.
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.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LBANoWux43oJ.
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.

Events system wildcard

Is possible to bind event handlers as wildcards?

For example, the docs shows "Model.Name.eventName". I want to perform it at "Model.*.eventName". Is that possible?

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

Re: [Rails] Rails with Phusion Passenger and Apache

On 30 September 2012 09:42, Mandeep Kaur <meghasimak@gmail.com> wrote:
> On Sun, Sep 30, 2012 at 2:03 PM, Colin Law <clanlaw@googlemail.com> wrote:
> <snip>
>> Do you need the website to be accessible to the global internet or just locally?
>>
>
> Global Internet.

Have you considered using Heroku? Then you will not have the problems
of setting up, maintaining, and especially the securrity issues, of
trying to run your own server.

Colin

--
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 https://groups.google.com/groups/opt_out.

[Lovers India]


--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

Re: [Rails] Rails with Phusion Passenger and Apache

On 30 September 2012 09:28, Mandeep Kaur <meghasimak@gmail.com> wrote:
> On Sun, Sep 30, 2012 at 1:47 PM, Colin Law <clanlaw@googlemail.com> wrote:
> <snip>
>>> I want to start Rails3 app with apache and passenger
>>
>> Just to make sure that you really want to do this can you explain why
>> you want to run with apache and passenger? Please try and explain
>> exactly what you are trying to achieve.
>>
>
> I want to design a websile using RoR. So I am able to link domain name
> with rails app/public folder. But application does not working as to
> run it we have to start it using rails server command then it starts
> application at idaddress:3000.
>
> So how can I link my website to that domain?

Do you need the website to be accessible to the global internet or just locally?

Colin

--
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 https://groups.google.com/groups/opt_out.

3akarat.com - الاسكندريه -العجمى-طريق اسكندريه مطروح-الكيلو 20.50-قبل مدخل 6 اكتوبر بشارع-قبل مطعم الوالى-شارع مسجد عباد الرحمن

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: [Rails] Rails with Phusion Passenger and Apache

On 29 September 2012 05:08, Mandeep Kaur <meghasimak@gmail.com> wrote:
> Hello All,
>
> I want to start Rails3 app with apache and passenger

Just to make sure that you really want to do this can you explain why
you want to run with apache and passenger? Please try and explain
exactly what you are trying to achieve.

Colin

> but I am not able
> to do that. I have followed some links but for me its not working or I
> am not getting it properly.
> Here the links that I have followed:
> http://nathanhoad.net/how-to-ruby-on-rails-ubuntu-apache-with-passenger
> https://help.ubuntu.com/community/RubyOnRails#Configure_Apache
>
> Can anyone help me to use passenger and apache with rails3?
> You can also provide any useful link for that or any tutorial.
>
> Thanks in advance.
> Help will be appreciated.
>
> --
> Mandeep Kaur
> http://mandeepsimak.wordpress.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 https://groups.google.com/groups/opt_out.
>
>

--
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 https://groups.google.com/groups/opt_out.

Implementing Normal HTML Instead of GWT


Hi,
     We started using GWT from few months ago. We are about to use normal HTML files, instead of using GWT-HTML.  I have few concerns regarding this.


My Questions:-

If we use normal HTML instead of GWT HTML.

*) Is it possible to Compile both Class-files and HTML files using GWT?

*) Is it possible to maintain session and cookie in GWT. For Ex[In Browse without logging out our session. If we close the browser and if we re-open it. Our session will opened because it will maintain session and cookies. Similarly, Is it possible using normal HTML in GWT ]

*) Is it possible to redirect  from  HTML to GWT and vice-verse?


Please provide your precious suggestion.

Thanks,

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SibUkhXAx6IJ.
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] silent install ADT eclipse plugin fails

Hi
I must be doing something wrong.
I was trying to do a silent install of the ADT plugin into Eclipse 3.7.2 . (I need to do mass-distributed install - which is why I choose command line install)
so I ran a script:
java -jar plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application org.eclipse.update.core.standaloneUpdate -command install -from jar:file:/tmp/ADT-20.0.2.zip!/ -featureId com.android.ide.eclipse.adt -version 20.0.2.v201207191942-407447 -data /tmp/eclipseTest/workspace/ -consoleLog

but then eclipse returns with
Contains: Android Development Tools (20.0.2.v201207191942-407447) requires plug-in "com.android.ide.eclipse.base".
!SUBENTRY 1 org.eclipse.update.core 4 4 2012-09-30 08:51:38.673
!MESSAGE Requested operation cannot be performed because it would invalidate the current configuration. See details for more information.

so I am missing the base plugin.
does anyone know how to install the "base" using command line ? it doesn't have a "featureId" .

--
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

Saturday, September 29, 2012

3akarat.com - شقق للبيع

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

[android-developers]

--
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: [Lovers India] Frnd Required

okay then let's be frns :-)
On 9/29/12, Sathii <sathii76@gmail.com> wrote:
> Hello
> I m new here & looking for new online frnds,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Lovers India" group.
> To post to this group, send email to loversindia@googlegroups.com
> To unsubscribe from this group, send email to
> loversindia+unsubscribe@googlegroups.com
> http://groups.google.co.in/group/loversindia
>


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sumit kakkar walks alone.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

[android-developers] Speech To Text Recognition


Hi,

How can we do speech recognition of our own set of commands in Android. As Android have its own speech sdk,
But how can I put my own command . Say something like {1a, 1b ...., 2a, 2b...,  3a, 3b, 3c..  etc}.
This is an array of alpha numeric  value. and when i say "1a" it should print the same. is it possible? 

Regards,
Archana

--
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

3akarat.com - شقه 135 متر سوبر لوكس للبيع فى مدينة العبور

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

3akarat.com - شقه 135 متر سوبر لوكس للبيع فى مدينة العبور

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

[android-developers] Additional data to Reply of WifiDirect-Discover .

Dear Android developers,

I want to know  additional data to reply of  WifiDirect-Discover .

How to do it?

Thanks.


--
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] Hardware reccomendations: Next development laptop

Since the hardware would primarily be used for developing Android, I think this is on topic. 

My three year old Vista laptop does do well at complex builds in Eclipse, I'd just like to do more than one per day. ;)

What do you recommend for my next development laptop?

I really don't enjoy hardware shopping any more than car shopping. . 

I have a vague idea that I want plenty of processor speed, plenty of memory, Solid State drive, and  probably 15 inch screen. I do have a 17 inch screen now, and that was largely because I didn't even have an external monitor. Now it is docked to an external monitor most of the time, and is just too bulky when I actually do lug it somewhere.

This would probably gain me an hour of productivity every day, so I can afford to sink a 1-2,000 or maybe more.

I did have the idea of maybe getting a MacBook Pro, since it could do iOS development if I dabbled on the dark side, could possibly run Windows if I did some development on that side. Then again, getting a Windows Laptop  and a Mac mini could also solve that problem.

I haven't really gotten into Linux for a personal computer, though I do have a remote server running Debian now.

Nathan

--
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] How does Android handle telephony?

Does Android have a Linux kernel driver that controls the phone's baseband modem which handles sms and voice calls?

--
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

Request for assistance from a Chinese Django user

Hi all,

I require some assistance from a Django user that lives in China.

For the last month, whenever someone posts to Django-users, they
receive a notification email from China Mobile.

These emails are caused by a django-users subscriber that is
forwarding their mail to another address. However, the address they're
forwarding to isn't able to accept mail.

If my research is correct, this number indicates that the individual
is a customer of China Mobile, and lives in Wuhan.

If you live in China, and would like to assist me in contacting this
user so we can unsubscribe them, please email me privately at
russell@keith-magee.com.

Yours,
Russ Magee %-)

--
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] Re: Fragment Transactions

Thanks Blake. The RouteCategoryFragment is not a splash screen. There is a separate splash screen activity with a button. Clicking that button launches another activity which has the RouteCategoryFragment. Please let me know what I need to do replace fragment and add it to backstack.

Thanks

Apurva

On Fri, Sep 28, 2012 at 11:53 AM, G. Blake Meike <blake.meike@gmail.com> wrote:
I think you've misunderstood the use of the Fragment Tag.  It looks like RouteCategoryFragment is the splash screen, yes?  When someone clicks you want to replace it with a CountyListFragment?  If so you need to use the same tag (probably COUNTY_TAG).  That is the unique identifier for the fragment.

G. Blake Meike
Marakana

The second edition of Programming Android is now on-line:

--
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

--
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

Accessing extra fiends on many to many relationship table

This is what I've got, I have a table named Users, and a table named Lessons, users can give lessons, and the can also suscribe to other user's lessons.
So my schema is something like this

users table
id  | username 
1   | mike

lessons table
id | name | teacher_id
1  | ...      |  1

So my users_lessons table looks something like this
user_id | lesson_id | confirmed
1          | 1             | false
2          | 1             | true
1          | 2             | false

So far I can map all the users from a lesson, and all the lessons from a user, but given a lesson, i cannot get the status of each user signed up to that lesson, how can I do that?

My Lesson model looks something like this

public $hasAndBelongsToMany = array(
        'Students' =>
            array(
                'className'              => 'User',
                'joinTable'              => 'users_lessons',
                'foreignKey'             => 'lesson_id',
                'associationForeignKey'  => 'user_id',
                'unique'                 => true,
                'conditions'             => '',
                'fields'                 => '',
                'order'                  => '',
                'limit'                  => '',
                'offset'                 => '',
                'finderQuery'            => '',
                'deleteQuery'            => '',
                'insertQuery'            => ''
            )
    );

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

Batch file script to create DB for sample project

If anyone cares, I created a Batch file script to create DB for sample project that is located here:

http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html

-----------------------
Here is the script, which might need very slight modification to be proper :

https://gist.github.com/3792028

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

EntryAdmin.form does not inherit from BaseModelForm.

Hello,

I'm having a strange issue where I get the following exception on my production server, but have no issues on my dev machine:

Django Version:1.3.1
Exception Type:ImproperlyConfigured
Exception Value:
EntryAdmin.form does not inherit from BaseModelForm.
Exception Location:/home/cjfox/webapps/django_1_3_1/starship/django/contrib/admin/validation.py in validate_base, line 292
Python Executable:/usr/local/bin/python
Python Version:2.7.3

I have narrowed the problem down to this area of the code:

class EntryAdminForm(forms.ModelForm):
class Meta:
model = Entry

latitude = CoordinateField()
longitude = CoordinateField()

class EntryAdmin(admin.ModelAdmin):
form = EntryAdminForm      ## COMMENT OUT THIS LINE MAKES THE PRODUCTION SERVER WORK ##
list_display = ('title', 'location', 'pub_date', 'type', 'blogger')
list_filter = ('blogger', 'pub_date', 'type')

I have hit a wall with this one and could use some inspiration. 
As mentioned above commenting out form = EntryAdminForm in EntryAdmin makes everything work fine

Below is more details on the error:
Environment:


Request Method: GET
Request URL: http://URL/admin/sail_blog/entry/120/

Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'sail_blog',
 'blog_redirect']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/home/cjfox/webapps/django_1_3_1/starship/django/core/handlers/base.py" in get_response
  101.                             request.path_info)
File "/home/cjfox/webapps/django_1_3_1/starship/django/core/urlresolvers.py" in resolve
  250.             for pattern in self.url_patterns:
File "/home/cjfox/webapps/django_1_3_1/starship/django/core/urlresolvers.py" in _get_url_patterns
  279.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/cjfox/webapps/django_1_3_1/starship/django/core/urlresolvers.py" in _get_urlconf_module
  274.             self._urlconf_module = import_module(self.urlconf_name)
File "/home/cjfox/webapps/django_1_3_1/starship/django/utils/importlib.py" in import_module
  35.     __import__(name)
File "/home/cjfox/webapps/django_1_3_1/starship/urls.py" in <module>
  5. admin.autodiscover()
File "/home/cjfox/webapps/django_1_3_1/starship/django/contrib/admin/__init__.py" in autodiscover
  26.             import_module('%s.admin' % app)
File "/home/cjfox/webapps/django_1_3_1/starship/django/utils/importlib.py" in import_module
  35.     __import__(name)
File "/home/cjfox/webapps/django_1_3_1/starship/sail_blog/admin.py" in <module>
  45. admin.site.register(Entry, EntryAdmin)
File "/home/cjfox/webapps/django_1_3_1/starship/django/contrib/admin/sites.py" in register
  97.             validate(admin_class, model)
File "/home/cjfox/webapps/django_1_3_1/starship/django/contrib/admin/validation.py" in validate
  24.     validate_base(cls, model)
File "/home/cjfox/webapps/django_1_3_1/starship/django/contrib/admin/validation.py" in validate_base
  292.                 "BaseModelForm." % cls.__name__)

Exception Type: ImproperlyConfigured at /admin/sail_blog/entry/120/
Exception Value: EntryAdmin.form does not inherit from BaseModelForm.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/GYzuwIcFQZsJ.
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: An app developer is asking for my login credentials...

You might want to create a user account for them so they can upload apps without giving them the keys to the kingdom. I also suggest that you do the final compiling, signing and uploading of the app yourself. Doing so will ensure you won't lose control to the app.

-John Coryat

On Wednesday, September 26, 2012 10:51:15 AM UTC-5, Sal Colascione III wrote:
Hi there,

I have a company building an app for me and they're asking for the login credentials to my Google Play account. Wouldn't this also give them access to my Gmail, Adsense, Adwords, etcetera accounts? Or can Google Play have a separate login?

Thanks in advance,

Sal C.

--
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] SEEKING DEVELOPERS TO HELP ON ANTI-FRACKING PROJECT

Hello ROR community at large,

I am seeking some help for a fairly simply Ruby On Rails/Facebook
project which could help greatly in an intense local anti-fracking
campaign in Colorado.

I am a ROR beginner, but do not have the expertise to knock out this
project quickly; but I have been a database developer for over 20 years,
and can provide excellent support. I am familiar with Engine Yard,
Heroku and github, and hope this project can be done using all open
source, free services.

The need is this: my local anti-fracking group badly needs an online
database to help us support a political campaign against fracking in the
local area. All we need is (1) a data entry form to create a record, and
then (2) a form to allow us to edit a record, then (3) a form to allow
us to download a select list from the database in a csv file.

All of the surrounding communities where I live in Lafayette, CO are
about to be invaded by gas wells getting drilled within the city limits
of our towns, such as Boulder, Longmont, Erie, Lyons, and outlying parts
of Denver, such as Commerce City and Aurora. This is known as the Front
Range, and we are about to become the national battleground of the oil &
gas industry versus alternative energy -- and I need your help.

If you don't know about fracking, but want to find out, go search for
watching the full length documentary GASLAND (gaslandthemovie.com), or
watch "The Sky Is Pink" on YouTube, a short sequel.

Basically, we a simple online database (described above) on a website,
plus a button from our Facebook page for East Boulder County United (see
http://www.facebook.com/EastBoulderCountyUnited?fref=ts)

to the database.

If anybody is willing to help me with this, please let me know at
caseyrick@gmail.com

Thank you for your time,
Rick Casey
Lafayette, CO

--
Posted via http://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 https://groups.google.com/groups/opt_out.

Re: [android-developers] android login and registration using web services

On Thu, Sep 27, 2012 at 1:43 AM, Girish Sawant <girish.sawant24@gmail.com> wrote:
how to do it?

Do what?

-------------------------------------------------------------------------------------------------
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

Re: splitting up image loads from rest of page

On Fri, Sep 28, 2012 at 1:48 PM, Larry Martell <larry.martell@gmail.com> wrote:
> I have a template that creates a table that has clickable links. It
> also loads a bunch of images associated with each row in the table.
> Through javascript events, when the user mouses over certain fields,
> the images are displayed or hidden. Initially, all the images are not
> displayed
>
> When the page loads, the table is produced quickly, but then there's a
> period of time before you can click on the links or mouse over and see
> the images. How long that period of time is seems directly related to
> how many rows there are in the table, so I'm assuming that time is
> being spent loading the images. Would that be a correct assumption?
>
> Assuming my assumption is correct, is there a way I can some how split
> this up, so the clickable links work as soon as the table is rendered,
> without waiting for the images? Also, the client is asking for me to
> display '... loading images' which goes away once they are all loaded.
> Can anyone tell me how I could do that?

For the archives:

What I did was to move the code that handles the clickable links into
a $(document).ready block (it was in a window.onload block). This
seems to be working fine for me - the links are active before the
images are loaded.

For the other part of this task (display '... loading images' which
goes away once all the images are loaded), I created the text with
display: none, then when the page is created I show() it, and in the
window.onload function I hide it. This also seems to be working fine.

--
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.


Real Estate