Friday, May 31, 2013

Re: Get Data CellTable


The cells are reused so there's no way to get a specific rendered cell from the CellTable. Update the object in your data provider and call refresh() or updateRowData(...).

On Friday, May 31, 2013 3:44:08 PM UTC-5, sebastie...@isen-lille.fr wrote:
Maybe there is an other way to do that? I don't find a solution...

Le jeudi 30 mai 2013 14:14:33 UTC-4, sebastie...@isen-lille.fr a écrit :
I don't find a method to simply get the text in a cell. It's very weird!

Le mercredi 29 mai 2013 14:46:48 UTC-4, sebastie...@isen-lille.fr a écrit :
Hi everyone,
I have a simple CellTable with editable cells. I add a button "save" outside of the table. So, I want to be able to save the change of the final user.

I want to do something like that:
If the button is cliked:
int i=0;
int j=0;
while(i<table.getRowCount()){
while(j<table.getColumnCount(){
myList = table.getCellText(i,j) ??? ( I don't know how to do that )
j=j+1;
}
i=i+1;
j=0;
}

I don't know how to get a cell individually...

Can you help me?

Thanks.


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

Re: linux or windows

I don't count this as 'voluntary', except in the sense that I wasn't forced at the point of a gun, but I can say that it is possible to back a Django site with SQL Server. I do not recommend it, and the details vary based on which particular stack you are running.

My recommendations are: don't, if you don't have to; if you do, pay attention to your firewall, and do not blindly apply OS patches. Of course, the same can be said for any of the Unix flavors, but production Windows is substantially less pleasant to administer, in my experience, and the patch policy reflects limiting Microsoft's exposure to bad press, which is not the same thing as production sites' best interest.

This is my own opinion, I do not speak for anyone else.

-j

On May 31, 2013, at 6:27 AM, Javier Guerra Giraldez <javier@guerrag.com> wrote:

> On Fri, May 31, 2013 at 7:55 AM, Mike Dewhirst <miked@dewhirst.com.au> wrote:
>> I don't know of anyone voluntarily using Windows as a Django production
>> server platform.
>
>
> not sure if it counts as "voluntarily", but if you _have_ to use MS
> SQL Server, the DB client options on Linux aren't getting any better,
> so soon the best option will be to put the appserver on windows too.
>
> so it seems a very good reason to avoid MS SQL Server. it's sad,
> since that was by far the best server product from MS. Fortunately,
> the other big DBs (PostgeSQL, DB2, Oracle) count Linux frienship as a
> core strategy
>
>
> --
> Javier
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

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

[Rails] Re: Getting json data to div and partial after ajax call?

I get an array back in json. That is loaded but without styling.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/add0e6ea9b0aa3138cfe66786df1413e%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Get Data CellTable

Maybe there is an other way to do that? I don't find a solution...

Le jeudi 30 mai 2013 14:14:33 UTC-4, sebastie...@isen-lille.fr a écrit :
I don't find a method to simply get the text in a cell. It's very weird!

Le mercredi 29 mai 2013 14:46:48 UTC-4, sebastie...@isen-lille.fr a écrit :
Hi everyone,
I have a simple CellTable with editable cells. I add a button "save" outside of the table. So, I want to be able to save the change of the final user.

I want to do something like that:
If the button is cliked:
int i=0;
int j=0;
while(i<table.getRowCount()){
while(j<table.getColumnCount(){
myList = table.getCellText(i,j) ??? ( I don't know how to do that )
j=j+1;
}
i=i+1;
j=0;
}

I don't know how to get a cell individually...

Can you help me?

Thanks.


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

[Rails] Re: Getting json data to div and partial after ajax call?

Benjamin Iandavid Rodriguez wrote in post #1110828:
> For what you say.
>
> After you get the JSON response the partial is already processed so you
> just need to update the correct div with the correct info.
>
> Use jQuery's append or html properties to update your divs.
>
>
> 2013/5/31 Paul Bergstrom <lists@ruby-forum.com>

I haven't loaded the partial from start. Sorry but I don't know how to
update the div.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/21b4dda042298df3a784c58ae2b6bc56%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [Rails] Getting json data to div and partial after ajax call?

For what you say.

After you get the JSON response the partial is already processed so you just need to update the correct div with the correct info.

Use jQuery's append or html properties to update your divs.


2013/5/31 Paul Bergstrom <lists@ruby-forum.com>
I'm able to get json data back after an ajax call and into a div. But
how do I get it into html, styled format?

How about getting it to a partial? How do I do that in coffeescript?

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/27f55d9596c7977ad612f3433528d425%40ruby-forum.com?hl=en-US.
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHRDpXpvysMbmCZO%3DMX4%3DZAqf-K-Ve4FAot6RX_4f%2BN5L0V3EQ%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

[Rails] Getting json data to div and partial after ajax call?

I'm able to get json data back after an ajax call and into a div. But
how do I get it into html, styled format?

How about getting it to a partial? How do I do that in coffeescript?

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/27f55d9596c7977ad612f3433528d425%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Re: BassBoost Effect

Yamusani Vinay wrote:
How to apply bass boost effect to media player

http://lmgtfy.com/?q=Android+How+to+apply+bass+boost+effect+to+media+player

Please do not multipost, nor hijack threads.

-- 
Lew
 

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: request_finished signal not being called with Django 1.5.1 with uwsgi

The problem is mainly that the current LTS of Ubuntu ships this ancient version of uwsgi via apt. So it's very easy to end up with a system that's not capable of running Django 1.5 properly (sysadmins seem to prefer apt over pip). Seems sensible to at least specify the minimum uWSGI version in the docs, kind of like the minimum python version.

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

Developing Django Apps - best practices?

All,

I'd like to get some feedback from the community on the current best practices for developing standalone Django apps. To clarify, by 'standalone' I mean a codebase that is just the application itself, to be installed into a Django project via setup.py / pip, not working on the app directly within a Django project. It seems that people love to discuss ideas related to projects (layout, settings, etc.), but I haven't seen much discussion focusing on app development.

For example, do you have some boilerplate that you use when starting a new app? For projects, we have project templates, but as far as I'm aware there is no particular application boilerplate that is in wide use.

Here are some other questions you might consider:

* How do you organize tests? Do you include a test project?

* How do you link your standalone apps to your current projects? Install via pip, add the app src directory to your PYTHONPATH, something else?

* What tools / libraries / other resources do you find most useful?

There is some documentation on the topic here (https://docs.djangoproject.com/en/dev/intro/reusable-apps/), which is a great start, but it glosses over deployment and completely ignores testing.

My goal here is simply to start a discussion. Hopefully, if some general consensus emerges, we might identify some ideas that could possibly be documented elsewhere, whether we inspire a blog post or add to the Django documentation itself.

Thank you,

Chris

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

[Rails] A simple javascript alert not working

If I have a file in view /test called index.js.erb and in it a simple
alert("hello") shouldn't that run when I go to /test/index? It doesn't.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/25cb5ad9a7367a51c4821cadd1554cef%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [Rails] Rails 3.2 with Ruby 2.0?

I just don't want to go through the same thing I did with all my Rails 2.3 apps on 1.8.7. It was a real pain to bring them up to Rails 3 and 1.9.x since I wasn't using Bundler on 2.3.

Walter

On May 31, 2013, at 1:09 PM, John Davalos wrote:

> I'm running 2.0 on my laptop along with rails 3.2 apps without any issues. Is there something specific you're concerned with? This should be particularly easy if you're running rvm or rbenv. you can install ruby 2.0 then when you go to install the rails gem you can just set the version of rails you want to install.
>
> gem install rails -v=3.2
>
>
>
>
> On Fri, May 31, 2013 at 5:40 AM, Walter Lee Davis <waltd@wdstudio.com> wrote:
> Can anyone recommend one way or the other this particular combination?
>
> I'm not ready to jump on the Rails 4 bandwagon, I have a lot of sites to get up to 3.2 first, just as a jumping-off point for their eventual migration to 4. I just read that 1.9.3 is only going to be maintained until 2014, which in the time-scale of some of my projects is just moments away.
>
> Trying to plan, any thoughts?
>
> Walter
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1319F198-0D5A-43A2-B8BA-9E6A0607A62A%40wdstudio.com?hl=en-US.
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAE%2BzMv8-_4fe9FdQtYVYPp0h56bXeubq_oFa_bYxJm0cDA-TcA%40mail.gmail.com?hl=en-US.
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2CFA80EF-E4E3-4719-8AFA-CA61C35AF239%40wdstudio.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [android-developers] Using Multiple addProximityAlerts

Is there another way to solve this requirement (other than ProximityAlert())?

On Sunday, March 21, 2010 12:04:45 AM UTC+1, Mark Murphy wrote:
Prasanna Perera wrote:
> I want the user to enter several addresses and check a check box next
> to each address if she wants to be notified when she come close to
> this particular address.  I am trying to use addProximityAlert() to do
> this.  I am using the same PendingIntent when calling
> addProximityAlert() for each address.  If the user eventually unchecks
> one of the addresses then I want to removeProximityAlert() for this
> address.  This removeProximityAlert() takes the PendingIntent as an
> argument.  My question is since I am using the same PendingIntent for
> all the addresses, how do I identify the particular address that I
> want to remove from getting proximity alerts?

You can't. Hence, you need to backpedal on one of your constraints: you
can't use the same PendingIntent for each proximity alert.

After all, you probably need this anyway. Otherwise, you'll have no good
way of identifying which of your addresses a given Intent is for when
you receive it.

I am assuming you are creating a PendingIntent on an Intent that uses
the component (e.g., new Intent(this, MyLocationThingy.class)). In that
case, you can generate and tuck in a custom Uri (setData()) or custom
action (setAction()) that is unique relative to your other Intents. That
should not affect the routing -- the component indicates the actual
destination. But you can then:

-- examine the inbound Intent to figure out which address it is for,
based on the data or action you customized

-- use this to have distinct PendingIntents that you use for
removeProximityAlert()

Note that Intent extras are insufficient to keep the PendingIntents
separate, which is why you will need to play with the data or action.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: linux or windows

Django itself is completely platform agnostic. Years ago I used to develop on Windows, and typically where I would run into problems was trying to find binaries for third party libraries like PIL and psycopg2. They'd usually be available from somewhere or another, thanks to some kindhearted soul who managed to build them and shared the binaries online, just difficult to track down. Building from source is certainly possible, but setting up the correct toolchain for a successful build is a non-trivial endeavor. This may have improved in the last few years though, I couldn't say.

Also (and this isn't directly related), the awesome virtualenvwrapper, which is a core part of my workflow nowadays, is not available in Windows, Virtualenv itself does work on Windows though.

Personally, I think it is best to develop on a system as close to your production environment as possible. It's certainly possible to develop on Windows, and deploy to Linux (or vice-versa), but you increase your risk of encountering bugs that only occur on one platform, which can be difficult to troubleshoot.

On Friday, 31 May 2013 07:11:23 UTC-4, Kakar wrote:
Hi!
I know this question is one absurd question, but just out of curiosity, is it important to use linux other than the windows, related to django. Cause i'm in windows, and if it is, then i was thinking to use Ubuntu. Please advise.

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

Developer for help on a project

Hi Django-users,

I'm looking for an experienced django-dev to help me out on my first django-project.  It's a 1.5 w/ custom user model, facebook and google+ integration, and a REST API for passing messages between users on native phone apps.  Nothing too crazy.

Thus far it is mostly "working" and the models are laid out, with some workflows complete end-to-end, but I keep running into django-newbie problems and need to get this baby out the door.  So I'm looking for someone to help.

Code is on GitHub.  PM or email me your hourly rates and availability and we'll chat.

Thanks!
-Eric

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

[Rails] Routing error when creating a new application

Hello.

So I created a new application (named guestbook), controllers, and
entry(named sign_in) in Rails. I uncommented the "match
':controller......' and the 'root :to => 'welcome#index' lines in
config/locales/routes.rb file. When I type
"localhost:3000/entries/sign_in", I received the "Routing Error, No
route matches [GET] "/entries/sign_in"

When running rake routes: entries_sign_in GET
/entries/sign_in(.:format) entries#sign_in root/welcome#index
/:controller(/:action(/:id)(.:format) :controller#:action

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/abad3b9784f8540c9b21b0ebdb7bee92%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: linux or windows

Thanks! Learned many things!


On Fri, May 31, 2013 at 6:57 PM, Javier Guerra Giraldez <javier@guerrag.com> wrote:
On Fri, May 31, 2013 at 7:55 AM, Mike Dewhirst <miked@dewhirst.com.au> wrote:
> I don't know of anyone voluntarily using Windows as a Django production
> server platform.


not sure if it counts as "voluntarily", but if you _have_ to use MS
SQL Server, the DB client options on Linux aren't getting any better,
so soon the best option will be to put the appserver on windows too.

so it seems a very good reason to avoid MS SQL Server.  it's sad,
since that was by far the best server product from MS.  Fortunately,
the other big DBs (PostgeSQL, DB2, Oracle) count Linux frienship as a
core strategy


--
Javier

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



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

[Rails] Screenshot using browserstack

Hello everyone

I am using rails 3.2.9 and using "browserstack-screenshot" gem for getting screentshot.
but i am getting the following error message. But i can login using this account setting and can get screenshot on their.

`http_response_code_check': 401 Unauthorized : Authentication Failed! (RuntimeError)


My code:

settings = {:username => "xxxxx", :password => "xxxxxx"}
client = Screenshot::Client.new(settings)

params = {
    :url => "www.google.com",
    :browsers => [
            {:os=>"Windows",:os_version=>"7",:browser=>"ie",:browser_version=>"8.0"}
    ]
}

request_id = @client.generate_screenshots(params)


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b978f08c-d1fc-46b3-9c20-da08fcce6a2f%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

[Rails] Selective delete from join tables

Hi,

I'm learning rails and have run into what for me is a difficult problem.
I have the following associations with a galleries_pictures and a
pictures_questions join table:

class Picture < ActiveRecord::Base
has_and_belongs_to_many :questions
has_and_belongs_to_many :galleries

class Question < ActiveRecord::Base
has_and_belongs_to_many :pictures

class Gallery < ActiveRecord::Base
has_and_belongs_to_many :pictures

In the edit question view, a question and its associated picture(s) can
be edited. My problem is, I cannot figure out how to delete the picture
in the question and at the same time not delete it from the gallery ie
delete the pictures_questions association but not the
galleries_pictures association.

The action called from the view deletes the row in both join tables:
def destroy
@picture = Picture.find(params[:id])
@picture.destroy

Thanks!

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/40e6e1ce0974b1d11da257d0402b29eb%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: linux or windows

On Fri, May 31, 2013 at 7:55 AM, Mike Dewhirst <miked@dewhirst.com.au> wrote:
> I don't know of anyone voluntarily using Windows as a Django production
> server platform.


not sure if it counts as "voluntarily", but if you _have_ to use MS
SQL Server, the DB client options on Linux aren't getting any better,
so soon the best option will be to put the appserver on windows too.

so it seems a very good reason to avoid MS SQL Server. it's sad,
since that was by far the best server product from MS. Fortunately,
the other big DBs (PostgeSQL, DB2, Oracle) count Linux frienship as a
core strategy


--
Javier

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

[Rails] Re: Need help putting together a rails workflow diagram

I have a basic knowledge of all of them, but the main reason of this
task is to try and understand the logic of updating and maintaining the
system. Basically, I'm trying to complete a puzzle of how these work
together / in what way each of them reference eachother.

Thanks for your help.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b8ed2be0161a6f3f5f7788905bc63fa0%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [android-developers] Re: what needs to be change to enable call recording on android platform?

I

---replied message---
from: Kristopher Micinski <krismicinski@gmail.com>
date: 2013-05-28 07:13:36.0
to: Android Developers <android-developers@googlegroups.com>

On Mon, May 27, 2013 at 3:04 PM, rh <richard_hubbe11@lavabit.com> wrote:
> On Sun, 26 May 2013 21:51:37 -0400
> Kristopher Micinski <krismicinski@gmail.com> wrote:
>
>> (However, do I agree with you that it would be nice to see the
>> telephony firmware that's present in the modem?  Sure, I do!  Does
>> this have anything to do with Android proper?  Not really.  I agree
>> that if you want a completely open telephony platform it would be
>> great to have open telephony firmware.  If you are interested in this,
>> perhaps this would be a good link:
>>
>> http://en.wikipedia.org/wiki/List_of_open-source_mobile_phones
>>
>> Still, not something to trash Android for, it's really feasible to say
>> that we can run open telephony firmware at this time.  Or maybe it is
>> and I'm just being naïve about the politics of handset manufacturing
>> and distribution.)
>
> Did you mean "not feasible"?  Or you meant "maybe it isn't"?
>

I meant to say not feasible, apologies.

The point is that the telephony market is mostly dominated by huge
conglomerates (at least in the states, where I'm from).  This isn't
really a point I want to argue about (I'm all for open source
firmware, but just being realistic as to the current market
situation..), but if you want to get Android in the hands of a bunch
of people via phones they probably aren't going to let you run your
own open source firmware at the current time.

> The politics is driven by $$, they have to maintain control over
> metering out bandwidth. But their game is over. There's a phone
> service (can't recall the name, it's an MVNO) that will place
> calls via wifi if it's available and only use cell when there's no wifi.
> This can save subscribers lots of money as they bypass the need
> for cell access.

Sure, tons of services offer this (even Skype, which I believe was the
first to offer this).  At least my experience in the states is that
broadband internet access still isn't widely available.  Someday this
may well be where the market goes (microtransactions with lowest
bidder costs for cell calls, etc...) but that's just not where it's at
now.

> I guess I'm venting on android but I take your point and I understand.
> I think I used the wrong jargon as well.
> I was beginning to think that the android community was suffering
> from the plague of self-censorship.
> Thanks for taking the time to reply.

AOSP is a pretty good open source platform, but not everything is
feasible to open source from a business perspective (patents, closed
code, etc...).  It would be nice to move in the direction of more
open, but that takes time (developers, hardware hackers, etc..) and
money.

Kris

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+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 "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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [Rails] ArgumentError in Controller#new after updating Rails version

Well in your second post you do not show the development.log, what I am asking is your console where you start your server.

also have you tried and raised your view to see if it gets hit.
like on line 1:

<%= raise "puts".inspect %>

if it doesnst raise we will know the view does not get hit and we try the controller then put the raise on the beginning if doesnt get hit then we know its on the routes or rails. try that as well

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ba38458a-8032-4be2-ad02-7ad36c5a3679%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: [Google Maps API v2] Google map conversion

On 31 May 2013 05:48, aravinth raj <aravivec@gmail.com> wrote:
>
> I need to convert some location into image format using google map.I am
> new to developeing.Any one know pls help me

You can use Static Maps to produce an image by constructing a URL
which describes the image you want. The Terms of Service do not permit
you to create your own from Google's tiles.

https://developers.google.com/maps/documentation/staticmaps/

This is not the place for a tutorial in coding. If you have *specific*
questions about the Static Maps API, then this is the place for those.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[Rails] Need help putting together a workflow diagram

Hey Guys

I'm very new to rails and the development environment so please bear
with me :)
I'm interning at a company and have been tasked with doing a 1-pager on
how our IT-workflow...works.

It must not be too complex, and must be in flow diagram format.

Here's info that I have:
- We use Rails (obviously set up with Github)
- Postgres
- EngineYard

The flow diagram should include how the 3 things above work together
(which I'm not sure of).

Could someone please clarify how exactly these components interact with
eachother so that I'm off to a good start on my project.

Thanks!
S

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4bb261db3b6df25a688dd3986c068bc4%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

[Rails] Re: ArgumentError in Controller#new after updating Rails version



On Sunday, 26 May 2013 14:49:27 UTC+2, Sasha Chilly wrote:
Hello, need some help,
App is running under Ruby 1.8.7 and Rails 3.0.11
After updating Rails version to 3.1.11, tsrted to fet strange error on new article page:


Don't know where this error could come from, as in controller i have only:

 class ArticlesController < ApplicationController

  def new
    @article = Article.new
  end

and in view is only form_for @article.

However edit action works fine, as before Rails update.

Any ideas how to fix it?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ac338165-bdc5-4fd4-9b92-f9b581cc045a%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: GWT support

Don't worry. Have a look at this video from this years IO conference: https://developers.google.com/events/io/sessions/327833110 

On Thursday, May 30, 2013 7:09:42 PM UTC+2, Katherine Mancera wrote:
good day

I want to get started with GWT in a project, but I doubt arises about it is that if google stop stand how long or not that is not yet covered.

thank you very much

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

[Rails] Problems with compiling in development

I have a strange problem that I suspect has to do with compiling. In
development do I need to do anything after I change the code? It still
loads a file, looking in the log file, that it shouldn't. I thought
Rails didn't compile in development.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3ec9a2d09de40c0af44d321dff52324f%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [Rails] Rails Instillation Error

On 31 May 2013 07:45, Vijay Maddipati <lists@ruby-forum.com> wrote:
> I installed the ruby 1.9.3. while instillation rails, I am getting
> instillation error. Below is the error

I advise using rvm for installing ruby and rails. See http://rvm.io.
That will handle all the dependencies for you if you.

Colin
>
> ERROR: Error installing rails:
> ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby1.9.1 extconf.rb
> /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in
> `require': cannot load such file -- mkmf (LoadError)
> from
> /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in
> `require'
> from extconf.rb:1:in `<main>'
>
>
> Gem files will remain installed in
> /usr/lib/ruby/gems/1.9.1/gems/json-1.8.0 for inspection.
> Results logged to
> /usr/lib/ruby/gems/1.9.1/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
>
> Please anyone help me out
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/79624c0169d202ede3f0a1ad286c30c6%40ruby-forum.com?hl=en-US.
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsU4SXMS6_WGc1W%2BZDRoX2%3D1Zed%3DfQE5hLd%2BYRN%3DnfgqA%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Dump LineString GEOM to Point GEOM (One Model To Another)

On Wed, 29 May 2013 07:13:04 -0700 (PDT)
kpurdon <kylepurdon@gmail.com> wrote:

> Is it possible, outside of using a raw SQL query (PostGIS/PostgreSQL) to do
> a GEOM dump.
>
> I have a table (model) where 1 row is 1 LineString and I need to dump that
> table into another table (model) where 1 row is 1 point from the LineString.
>
> Raw SQL would be something like:
>
> SELECT geom AS points FROM ST_DumpPoints((SELECT fl_line FROM greenland.line_paths WHERE ...));
>
> In this case line_paths is the LineString table and fl_line the LineString
> GEOM.
>
> How can I do this within GeoDjango w/o using rawSQL and bypassing the
> models?

Linestrings do have coord_seq property that you can iterate over and generate point geometries form that and save to another table.

--

Jani Tiainen

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

Re: Dynamically generated HTML and GWT

Form submission works like any form, so you will need a servlet to handle the post.
You will have to redirect the post to an internal IFrame otherwise your document will be replaced. This is what the GWT Form widget is doing.

David

On Thu, May 30, 2013 at 5:43 PM, Mike Dee <mdichiappari@gmail.com> wrote:
Thanks for pointing me in the right direction.

One last question.  How is the form submission handled?  Is a servlet needed?  In this case, the form will simply save any changes (to a db) and redisplay itself.

Thanks,
Mike

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

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

Thursday, May 30, 2013

Re: [android-developers] Error when signing the apk in release mode

Hi,

Hard to tell without details, how does your ant.properties file look like?

Take a closer look at the line containing your keystore.
Remove quotes if exist from the key store value.

Does this help?
Yaron



On 05/31/2013 09:24 AM, android devloper wrote:
> Hello all,
> i am getting the below error when signing the apk from command
> prompt using the ant builder,if anybody has idea please help me.
>
> D:\Android-Sdks\tools\ant\build.xml:1132: The following error occurred
> while executing this line:
> D:\Android-Sdks\tools\ant\build.xml:1144: Value for 'keystore' is not
> valid. It must resolve to a single path
>
>
> 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
> ---
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to android-developers+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


--
Yaron Reinharts
Smart Drive Applications
http://www.poncho.co.il/gateaway.php
https://market.android.com/details?id=com.poncho.gsm.gate.activities


--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[Rails] Rails Instillation Error

I installed the ruby 1.9.3. while instillation rails, I am getting
instillation error. Below is the error

ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
/usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in
`require': cannot load such file -- mkmf (LoadError)
from
/usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in
`require'
from extconf.rb:1:in `<main>'


Gem files will remain installed in
/usr/lib/ruby/gems/1.9.1/gems/json-1.8.0 for inspection.
Results logged to
/usr/lib/ruby/gems/1.9.1/gems/json-1.8.0/ext/json/ext/generator/gem_make.out

Please anyone help me out

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/79624c0169d202ede3f0a1ad286c30c6%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Error when signing the apk in release mode

Hello all,
      i am getting the below error when signing the apk from command prompt using the ant builder,if anybody has idea please help me.

D:\Android-Sdks\tools\ant\build.xml:1132: The following error occurred while executing this line:
D:\Android-Sdks\tools\ant\build.xml:1144: Value for 'keystore' is not valid. It must resolve to a single path


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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Firing a click event on a CellTable

Hello,
I am interested in using GWTTestCase to test some features of a view that extends CellTable. In my implementation, I have added a CellPreviewHandler that I would like to check by firing a click event on a cell of the CellTable.  I have tried several methods to no avail. 

My most recent attempt follows:

CellTable<Artist> cellTable = (CellTable<Artist>) view.getDataView();
NativeEvent event = Document.get().createClickEvent(0, 0, 0, 20, 30, false, false, false, false);
DomEvent.fireNativeEvent(event, cellTable);

This does not work.  The CellPreviewHandler doesn't get called.

This has also been tried:

CellTable<Artist> cellTable = (CellTable<Artist>) view.getDataView();
NativeEvent event = Document.get().createClickEvent(0, 0, 0, 0, 0, false, false, false, false);
TableCellElement element = cellTable.getRowElement(2).getCells().getItem(1);
element.dispatchEvent(event);

Same problem as the former. 

TL;DR
Does anyone have insight as to how I can simulate a click event that will fire a CellPreviewEvent on a CellTable for a desired Cell?

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

Re: Wrong UTF-8 string parsing in GWT JSON

Dear Philippe,

Thank you for the post,


>      String response="{ \"test\" : \"\\u00C3\\u0081\\u00C3\\u0089\\u00C5\\u00B0\" }";
> //"���" in UTF-8

No. That's not UTF-8, that's UNC encoding. It results in Java's UTF-16 encoding.

But "\u00C3\u0081" why not UTF-8 encoding?

See: http://www.utf8-chartable.de/

"Á" (LATIN CAPITAL LETTER A WITH ACUTE) hexa code is 0xC3 0x81
"\u00xx" in the JSON string is an escaped hexadecimal representation according to  RFC4627 (JSON)
See:
http://www.ietf.org/rfc/rfc4627.txt

But the character encoding is remain UTF-8, I think.

Regards,
Tibor


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

[android-developers] Re: AudioEffects - a fragmentation rant...


How to apply bass boost to media player..

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: Best packages for aggregating news + compiling stats

On 31/05/2013 1:18pm, C. N. Desrosiers wrote:
> I'm in the early stages of planning a website that will aggregate news
> on a specific topic (and later have other sections with statistics
> pulled from various public data sets).
>
> Google News seems to have an excellent algorithm for selecting the most
> relevant articles based on a keyword so, at this stage, I'm hoping to
> find some efficient way to re-post articles pulled from keyword searches
> on Google News.
>
> I have some experience with Python, but have not used Django before.
> Can anyone point me towards the best packages to accomplish my task?
> (Or does Django not work like Python in this regard?)

Try here ...

https://www.djangopackages.com/



>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

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

Best packages for aggregating news + compiling stats

I'm in the early stages of planning a website that will aggregate news on a specific topic (and later have other sections with statistics pulled from various public data sets).

Google News seems to have an excellent algorithm for selecting the most relevant articles based on a keyword so, at this stage, I'm hoping to find some efficient way to re-post articles pulled from keyword searches on Google News.

I have some experience with Python, but have not used Django before.  Can anyone point me towards the best packages to accomplish my task?  (Or does Django not work like Python in this regard?)

Thanks in advance.

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

[Rails] Re: Ajax - the Rails way!

Thanks Norbert! I read the document you recommended and here's my
opinion:

I found this document pretty good. However, there are a few things I'm
not clear. Under the "Putting it all together" section, the author said
"enough explanation, let's create a remote form that loads some content
into the page,..." but there was not any form at all. Down below, I saw
the "View" section which is totally empty. Then I saw the "Controller"
section which talked about view, namely the "_show.html.erb". I'm very
confused! I think the Comment example that the author tried to present
is pretty good. But it would have been better if he would begin with a
form, then the rails.js, along with any additional javascript, and
finally how Ajax result is rendered in the controller, and formatted
into JSON. Anyway, for the past four days devoting to Ajax on Rails, I
have not seen a complete working Ajax example from anywhere, so
frustrated right now.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9ab3c9d18659dc697302a8a17959fcb3%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] BassBoost Effect

How to apply bass boost effect to media player

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: input data will be lost if there are errors in the form

Thank you, Tom.  It's exactly what I need.


On Thu, May 30, 2013 at 3:55 AM, Tom Evans <tevans.uk@googlemail.com> wrote:
On Thu, May 30, 2013 at 3:31 AM, Jeff Hsu <jyhsu1125@gmail.com> wrote:
> Hi,
>
>     I find this very interesting.  In my html template form:
>
> <form id="student-question" action="{% url 'app:poll' %}" method="post"
> enctype="multipart/form-data">
> {% csrf_token %}
>
> {{ form.title.errors}}
> <div class="span12 question-title-form">
> {{form.title}}
>                                         .................
> This is fine, and it will show the previous inputs if there are errors in
> the form, however, if I try to customize the html input field, for example,
> as below, instead of using automatic generated {{form.title}}
>                                   <textarea id="titleInput"
> placeholder="Question Title" name="title" cols="50" rows="1"></textarea>
>
> The previous inputs will be lost if there are errors in the form.  Does
> anybody know why?  I need some direction and explanation for this.  Thank
> you
>
> Jeff

If you output the fields yourself, you are responsible for ensuring
that the value, name, id - everything, in fact - is correct. In this
case, when you are outputting your textarea manually, you are omitting
the value, either from the initial value passed in, or from the
submitted data when redisplaying a bound form that has errors.

So, you can either do all that work yourself for each field, or you
can allow django to display the field, and manipulate django so that
it creates  your HTML as you like it. For instance, you can pass
additional attributes to the widget used to render the field, read
more about widgets in the docs:

https://docs.djangoproject.com/en/1.5/ref/forms/widgets/

Cheers

Tom

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/2BMKRHHPj38/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



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

[Lovers India] Gm

Every bad situation will have sum thing positive .. Even a stopped clock is correct twice a day.. So Think to best and lead your life.. Good luck & good morning

--
--
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
 
---
You received this message because you are subscribed to the Google Groups "Lovers India" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loversindia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: Using multiple model files per app with the Improved Multiple Model Files Django Snippet

On 30/05/2013 10:43pm, Doug S wrote:
> I'm trying to use multiple files for my models in a single app.
> I found a nice solution on Django Snippets <http://djangosnippets.org/>:
> http://djangosnippets.org/snippets/1838/
> but I'm not able to get it to work.
> The docs assume that I know more than I do about how this solution works.
> Its involves using a models folder for the app like this:
>
> # myapp/
> # models/
> # __init__.py
> # models1.py
> # models2.py

That is correct. But it won't immediately work without an incantation in
models/__init__.py

In there you need ...

from __future__ import absolute_import
from .models1 import ModelOne
from .models2 import ModelTwo

Note that in your previous setup where ModelOne and ModelTwo were both
classes in myapp/models.py your views.py import lines were ...

from myapp.models import ModelOne
from myapp.models import ModelTwo

That shouldn't change with the new setup.

>
>
> and then including an __init__.py file in the folder to make it a package
>
> this file also contains this code:
>
> import django.db.models
> import sys
>
> appname = "myapp"
> from models1 import *
> from models2 import *
>
> __all__ = []
>
> for decl in globals().values():
> try:
> if decl.__module__.startswith(__name__) and issubclass(decl, django.db.models.Model):
> decl._meta.db_table = decl._meta.db_table.replace('models', appname)
> decl._meta.app_label = appname
> __all__.append(decl.__name__)
> django.db.models.loading.register_models(appname, decl)
> except:
> pass
>
> I don't understand this code, but hopefully I don't have to.
>
> I just want to be able to import my individual model modules:
>
> models1.py &models2.py
>
> from my views and admin.py
>
> the import statements are not included in the snippet
>
> and I've tried what seems reasonable and keep getting errors importing the modules saying they don't exist
>
> I would expect you do something like
>
> import myapp.models.model1
>
> &
>
> import myapp.models.model2/
> /
>
> but this doesn't work.
>
> maybe I don't understand the magic in the __init__.py file
>
> or I'm just being plain stupid.
>
> Can someone point me toward getting this solution working with my imports?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

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

[android-developers] Re: Implementations of Emoji (Emoticon) View/Keyboard Layouts

Thanks!
On Monday, May 27, 2013 10:23:05 AM UTC-7, Etienne wrote:
This was originally posted HERE!!! http://stackoverflow.com/questions/16768930/implementations-of-emoji-emoticon-view-keyboard-layouts

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

3akarat.com - شقق بفيصل المريوطية للتمليك تسهيلات 10سنوات

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

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

Re: Workshop: Don't Be Afraid to Commit, Cardiff, UK

Hi Daniele,

I think what you're doing is really great. Do you have recorded videos available online or do you plan to record your next session? It'd be great for people like me who can't attend the workshop.

Regards,
Rahul


On Fri, May 31, 2013 at 2:10 AM, Daniele Procida <daniele@vurt.org> wrote:
I'm running a Don't Be Afraid to Commit in Cardiff weekend after next, under the auspices of the Cardiff Dev Workshop.

It's a workshop/tutorial for Python/Django developers who would like to
contribute to the projects they use, but need more grounding in some
of the tools required.

I ran this at the DjangoCon Europe sprints in Warsaw a couple of weeks ago, and it seemed to work pretty well there,

See <https://dont-be-afraid-to-commit.readthedocs.org/> for more information.

The workshop will take participants through the complete cycle of
identifying a simple issue in a Django or Python project, writing a patch
with tests and documentation, and submitting it.

The workshop is aimed at the first-time committer. Very little experience
is required: <https://dont-be-afraid-to-commit.readthedocs.org/en/latest/prerequisites.html>

It's free to anyone who'd like to attend, but you need to register because places are limited: <http://www.cardiffdevworkshop.com/workshop/>.

Regards,

Daniele

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



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

How do I install this django application?

Hello everyone, I have been trying to find out how to install django-honeypot and seems that i had to have a form application installed first. So I have followed instructions given to me at stackoverflow. However, whenever I press the submit button I am sent to the mysite.honeypot.templates.honepot.honeypot_error.html . How do I fix this problem or is it all the app does?

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

[Rails] RubyEval in SublimeText2

From the link: https://github.com/jugyo/SublimeRubyEval and
http://kevinthompson.info/blog/2013/02/07/execute-ruby-code-inside-of-sublime-text.html.

I got a good link to run the code in the editor itself like `IRB`. I
have installed "RubyEval" using the ST2 package manger. Now can't
understand how to run the code?

what is `super+k` command? I don't understand what's the hot key to run
the code?

can anyone help me for the same?

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ed087ca6d06fd92fbc94ca7defc89d2e%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Real Estate