Saturday, March 31, 2012

Re: [Lovers India] DIMPY

v gud afternoon


On Fri, Mar 30, 2012 at 2:55 PM, Bhagyashri Savaliya
<bhagu.sav@gmail.com> wrote:
> same to u
>
> On Thu, Mar 29, 2012 at 4:05 PM, Dimpy Dimpy <dimpydimpy1984@gmail.com>
> wrote:
>>
>> GOOD AFTERNOON DEAR ALL
>>
>> --
>> 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 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 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

{smartbroker} Properties For Rent in Marina, JBR, JLT, Palm, Down Town, Old Town, JVC, Barsha, Jumeirah



--


Jawad Ahmed
Homes Direct Properties L.L.C
055-9186124
050-8402244

--
member of
(almadani real estate - abu dhabi)-to join send email to
{saifemail@yahoo.com}

Re: [android-developers] Re: Textview gravity resets



On Sun, Apr 1, 2012 at 8:01 AM, adev <enricong@gmail.com> wrote:
Sure I can reset the gravity on all of them in code, but that defeats
the purpose of using the XML.
No, not at all. Just reset the gravity of only the TextView in code. You need not to reset the gravity of all of them, as you are facing the problem only because of TextView's gravity.
 

I'd like to know the cause of the issue I'm seeing now and solve it.
 
The cause of issue might be that, your adview is being loaded dynamically, hence you have to resolve the matter dynamically through code.

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

{smartbroker} 2Bedroom For Rent In Palm Jumeirah, Rent 140,000/-,,,055-9186124

2Bedroom For Rent In Palm Jumeirah
Marina Residence 5
Type D
Area 1850/sq/ft
Atlantis View
Rent AED 140,000/-

2Bedroom + Maid For Rent In Palm Jumeirah
Marina Residence 6
Type C
Area 2000/sq/ft
Atlantis View
Rent AED 150,000/-



Jawad Ahmed
Homes Direct Properties L.L.C
055-9186124
050-8402244

--
member of
(almadani real estate - abu dhabi)-to join send email to
{saifemail@yahoo.com}

Re: [android-developers] ListView and Database

Hi Ricardo,

First, I'm sure others will chime in if this is bad advice, but my
understanding is that it is better to use the compatibility package and
cursor loaders and a load manager. See
http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html
and the base CursorAdapter.

That said, from is simply a list of columns in the PROJECTION exposed by
the cursor that are of interest to the ListView ids in the to array.
This is in order of the two arrays such that the data from from[x] is
passed to the view with the id in to[x].

Given the list view row definition:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="34dp"
android:gravity="bottom"
android:orientation="horizontal">

<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/foo"
android:layout_width="100dp"
android:layout_height="30dp"
android:textSize="16dp"
android:gravity="center_vertical"
android:paddingLeft="5dip"
android:singleLine="true"
/>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/bar"
android:layout_width="50dp"
android:layout_height="30dp"
android:textSize="20dp"
android:gravity="right|center_vertical"
android:paddingLeft="5dip"
android:singleLine="true"
/>
</LinearLayout>

And assuming that you have column1 and column2 in your cursor's
projection, and want to map the contents of column1 to the textview foo
and column2 to textview bar, from and to would be defined something like:

String[] from = new String[] { "column1" , "coulmn2"};
int[] to = new int[] { R.id.foo , R.id.bar };

Clear as mud?

-Ted

On 3/31/2012 9:36 PM, Ricardo Santos wrote:
> Hello everyone!
>
> I have in my application, I hace a list view that needs to be
> populated with data from a database, I have tested my database and my
> app is handling the data correctly, but I cant populate the list view,
> I have read about the SimpleCursorAdapter but I cant understand how to
> use the class, specially the from and to fields, does anyone know how
> to use it?
>
> My class is not extending ListActivity, my list view is inside a dialog.
>
> Ricardo
> --
> 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] Has ListView been modified in the latest SDK?

I'm looking at two of my apps, both with a ListView, and for both, the
ListView is defined/described (whatever you want to call it) the same
in both XML and in Java (variable names and resource IDs excepted, of
course).

Here's the catch: in the first, and older app, touching anywhere on the
"bar" for an item in the Listview would select that item. In the newer
app, with the current SDK, *ONLY* touching the area enclosing the text
will select that item.

Both use the same Adapter settings, a similar setOnItemClick method
(nothing that sets anything in/for the ListView), and neither has any
"special" options set. Just the defaults.

Does anyone know if the SDK includes changes in ListViews that might
account for this? (I didn't spot anything in the dev guide, but I
could easily have missed it.) I really don't like this new behavior,
whatever is causing it....

Thanks,
--jim

--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

"'Wrong' is one of those concepts that depends on witnesses."
--Catbert: Evil Director of Human Resources (Dilbert, 05Nov09)

Android Apps Listing at http://www.jstrack.org/barcodes.html

--
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] Help with the has_one model implementation

Try 
  
  rake routes

 - and you will see, there really isn't defined a student_acounts_path

Try:
resources :students do
  resources :accounts
end


or alternatively in your show (if you want to add a show, edit or update-action in your accounts_controller without an :id param)

form_for [@student, @student.build_account], :url => student_account_path(@student)


best,
B. Pieck


On Sun, Apr 1, 2012 at 3:04 AM, ayesha fernando <lists@ruby-forum.com> wrote:
I keep getting the following error:
NoMethodError in Students#show
undefined method `student_accounts_path' for
#<#Class:0x007ffe2bf6d688>:0x007ffe2c5e5628>

I am trying to implement a has_one model. I followed the rails guide
that used the :post has_many :comments example and tweaked it a bit.

my routes.rb file looks like this:
resources :students do
   resource :account
end

My Students.controller, Account.controller files are attached.
Along with the /app/views/students/show.html.erb file

I have no idea what I'm doing wrong.
Can anyone please help me?

Attachments:
http://www.ruby-forum.com/attachment/7210/students_controller.rb
http://www.ruby-forum.com/attachment/7211/accounts_controller.rb
http://www.ruby-forum.com/attachment/7212/show.html.erb


--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


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

[android-developers] Remove '@override' annotion

After sdk updatting I got more no of errors. that Remove '@override'
annotion

--
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] Help with the has_one model implementation

I keep getting the following error:
NoMethodError in Students#show
undefined method `student_accounts_path' for
#<#Class:0x007ffe2bf6d688>:0x007ffe2c5e5628>

I am trying to implement a has_one model. I followed the rails guide
that used the :post has_many :comments example and tweaked it a bit.

my routes.rb file looks like this:
resources :students do
resource :account
end

My Students.controller, Account.controller files are attached.
Along with the /app/views/students/show.html.erb file

I have no idea what I'm doing wrong.
Can anyone please help me?

Attachments:
http://www.ruby-forum.com/attachment/7210/students_controller.rb
http://www.ruby-forum.com/attachment/7211/accounts_controller.rb
http://www.ruby-forum.com/attachment/7212/show.html.erb


--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

تعارف و منتجات بالخليج للكبار فوق 18 سنة

لينك للموقع
http://www.novara18.com/ara
وجدته محذور . قم بارسال رسالة لهنا
prdolci@gmail.com
و سيتم ارسال لك برنامج بروكسي لفك الحذر و رابط مفتوح
سلع جنسية للبالغين + مشروبات روحية + بنادق صيد + تعارف ومواعدة للكبار
موقع يحتوي على منتجات غير موجودة بالمواقع الاخرى
للراغبين في الحصول على خدمات و سلع رائعة بالدول العربية و الخلجية
قوموا بزيارة متجر و سوق المنتجات الحلوة ايطاليا الذي يقدم لكم العديد
من الخدمات الجنسية و الغير جنسية
المخصصة لاحباء السكس و الصيد و المواعدة

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

[android-developers] Re: use of audio streams

You can use STREAM_MUSIC and also request audio focus to try to gain priority.

Doug

On Tuesday, March 27, 2012 8:09:26 AM UTC-7, RedBullet wrote:
I am building an app that will do TTS to read turn by turn directions for navigation.

When I am using a bluetooth headset I turn on SCO and use the STREAM_VOICE_CALL stream.

My question is, when I am NOT using bluetooth and just want to use the phone (optionally speaker) which stream do I use? STREAM_MUSIC or something else?

--
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] layout height relative to screen height

On Mon, Mar 26, 2012 at 9:18 PM, adev <enricong@gmail.com> wrote:
I would like to set the height of my layout items based on the height
of the screen to allow it to scale to screens of different resolution
and in landscape.

 
my current layout structure uses a relativelayout with linearlayout
childeren.
one of the linear layouts consists of a table layout which I would
like to always take approx 50% of the screen.

Is there a simple way to do this?

Use the Weight property of LinearLayouts.

-------------------------------------------------------------------------------------------------
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: [android-developers] retrieving dialogue box value

On Thu, Mar 29, 2012 at 6:51 AM, shihab shiha <shihabkp.android@gmail.com> wrote:
 I want to pass the edittext value in a dialogue box to listview when i click the save button of the dialogue box.

Alright, thanks for letting us know. Good luck.
http://www.catb.org/~esr/faqs/smart-questions.html

-------------------------------------------------------------------------------------------------
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: [android-developers] Will we ever be allowed to make custom widget pickers?

On Sat, Mar 31, 2012 at 7:13 PM, Tim <tdhutt@gmail.com> wrote:
> Currently there is no way to avoid using the built in widget selection
> UI (the list of widgets you get in gingerbread when you add a widget).

A custom home screen in custom firmware should be able to do its own
widget selection UI. If you mean a standard SDK application, though, I
agree that this does not appear possible.

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

Android Training in NYC: http://marakana.com/training/android/

--
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] Will we ever be allowed to make custom widget pickers?

...or at least have something slightly nicer than the simple list in
gingerbread.

Currently there is no way to avoid using the built in widget selection
UI (the list of widgets you get in gingerbread when you add a widget).
This kind of sucks because it means you can't have anything like the
ICS launcher's widget page.

Are there any plans to ever fix this? I'd bet on "no" since it isn't a
problem for Google (since their launcher is included with the system
and can do what it likes). Here are some ways you could fix this
without compromising security:

1. Add an optional "Are you sure you wish to add <widgetname>?"
activity, so you can at least have a custom-picker-with-confirmation.
2. Have something like flashblock, so you have to click the widgets
before they are shown. (I don't know if there is a way to send
synthetic clicks though?)
3. Just allow the damn permission and call it "Access any of your data
from any of your apps." or something scary sounding. After all, isn't
the point of the permission system that you *can* do dangerous things?
The original justification for denying custom widget pickers is:

> Widgets can expose a lot of private data of all types, so it is not safe
> to allow an application to arbitrarily bind to them without the user implicitly approving

Well in that case, why are apps allowed the read SD card permission?
That can expose a lot of private data of all types...

Sorry for the slightly-ranting-ness. I'm just annoyed that this makes
it impossible for my to have the stock ICS launcher on ICS. Mostly I'm
annoyed at Samsung. They suck.

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

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

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

Re: [Rails] Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

On Sat, Mar 31, 2012 at 5:25 PM, Alex Mercer <alexey.bobyrev@gmail.com> wrote:
> gem update --system

Actually, that might not work on a Debian based distro if rubygems has
been installed via apt packages.
That's why I asked how Ruby was installed.

--
Leonardo Mateo.
There's no place like ~

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

Re: [android-developers] Prevent a click from being consumed, to pass to containers onTouchEvent

Take a look at ScrollView or AbsListView:

https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/ScrollView.java#L438

The basic idea is to override onInterceptTouchEvent, consume the initial ACTION_DOWN and then figure out if the user is trying to scroll/fling/zoom or not.

In the latter case, onInterceptTouchEvent should eventually (for some subsequent event) return false, thus enabling the user to interact with child views.

-- K

On 04/01/2012 01:04 AM, momo wrote:
I've got a container that allows 2-d scrolling, fling, pinch etc.  This has several layers within it - a viewgroup for image tiles, another for path drawing, another for markers, etc.

This all works fine.  However, in one particular implementation I have several "invisible buttons" to indicate hotspots (which are basically ImageViews with transparent backgrounds).  When tapped, an action occurs.

The problem is that with these hotspots (which cover a good deal of the entire area), the touch event is consumed and not passed to the container's TouchEvent, so the container does not scroll.

My first attempt was to create a custom view for the hotspots, and override onTouchEvent, returning false on ACTION_DOWN and true on ACTION_UP (so the event fires when the finger goes up, which is fine).  However, it seems that when returning false on ACTION_DOWN prevents ACTION_UP from ever firing.

I also tried overriding onInterceptTouchEvent on the scrolling container, and "stealing" the ACTION_DOWN event from child views - this had the same result.

How can I continue to drag the container (whether or not the down event happened on a hotspot/child view), and react on ACTION_UP when a hotspot is clicked?

TYIA.
--
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: TemplateDoesnotExist: 500.html

On Sat, Mar 31, 2012 at 5:03 PM, Pals <pokharel.kisun@gmail.com> wrote:
>  I am a novice programmer who just started to learn Django.. I could
> not figure out the error related to 500.html. In fact, I would be
> grateful if someone guides me making 500.html file. I am using mac
> osx, Python 2.7 and Django 1.4.
>

https://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view

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

[Rails] Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

gem update --system

On Saturday, March 31, 2012 6:00:19 AM UTC+3, Ruby-Forum.com User wrote:
I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this
error:

    $ sudo gem install rails
    ERROR:  While executing gem ... (Gem::DependencyError)
        Unable to resolve dependencies: rails requires activesupport (=
3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (=
3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3)


How can I fix this?

Note: Git (1.7.5.4 ) and Ruby (1.9.2p290) are installed properly.

--
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 view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/10czl1b24KkJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[Rails] catch a stacked variable by a controller

hi im new ruby on rails development currently im working with a
reservation system to start learning but im currently having a problem
with controllers and view

first i listed all the menu that the guest added inside the package that
he also added i listed them with this

_menuadded.html.erb

<h1>menu you added</h1>
<% @reservation_package.package_line_items.each do |menu|%>
<p><%= link_to menu.menu.name,
menu_reservation_reservation_package_reservation_package_pages_path(@reservation,@reservation_package,menu)
%></p>
<p><%= link_to "delete item"
,reservation_package_package_line_item_path(@reservation_package,menu),
:method => :delete%></p>
<%end%>

then i try to route to the next static page with this ` <p><%=
link_to menu.menu.name,
menu_reservation_reservation_package_reservation_package_pages_path(@reservation,@reservation_package,menu)
%></p>`

and the it produce this URL
`http://localhost:3000/reservations/10/reservation_packages/39/reservation_package_pages/menu.29`

im just wondering if how can i catch the menu that he opened i mean how
to catch this
**localhost:3000/reservations/10/reservation_packages/39/reservation_package_pages/`menu.29`**

in my menu semi static page controller where this route to,i tried this

@reservation_package =
ReservationPackage.find(params[:reservation_package_id])
@menu = Menu.find(params[:id])

but didn't work at all im just wondering if im doing it right or if im
wrong can you give me a advice how to implement this kind of module?
thanks more power


**ROUTES:**

resources :services

resources :reservations do

resources :pages do
collection do
get :functionroomlist
get :packagelist
get :package
# get :menu
end
end
resources :reservation_packages do
resources :reservation_package_pages do
collection do
get :menulist
get :menu
end
end
resources :package_line_items
end
resources :reservation_function_rooms
end

--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

3akarat.com - أرخص شقة ف الدقى سعر المتر 1900 ج فقط فى أبراج بداية لضباط الشرطة

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

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

[android-developers] Your Most Common Errors

Hi all,

I'm working on compiling a list of the commonly faced Android errors, and how to solve them. I sincerely doubt I've encountered all of them personally, hence this post. Which are the errors that you have faced most commonly, and how did you solve them? Please reply to this thread, it'll only take a few minutes. Hopefully, in the future people can refer here for solutions of some of the errors at least. Errors related to Eclipse problem are also welcome. This is not for an assignment or something like that. Android isn't even remotely part of my school syllabus.

Thanks

--
Raghav Sood

--
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] Missing Template Error on render_to_string - Rails 3.2.2

Hi,

I'm trying to execute some javascript in the browser after completing
my create action in the controller. Here's how I'm doing it:

In my controller:
def create
# exectue some code
js = render_to_string(:layout => false, :template =>
"planned_meals/meal.js.coffee.erb")
render :js => js
end


Two questions:
1) Am I going about it the right way? Should I be rendering the js
differently?

2) WIth this implementation, everything works great, but I'm getting
the following deprecation warning:
"DEPRECATION WARNING: Passing a template handler in the template name
is deprecated. You can simply remove the handler name or pass
render :handlers => [:erb] instead."
However, if I change the render_to_string call to this:

render_to_string(:layout => false, :template => "planned_meals/
meal", :format => [:js], :handlers => [:coffee, :erb])

Then I get a missing template error. I'm not sure how to get around
the deprecation warning.

Thanks for all your help,
Nick

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

Re: [android-developers] Textview gravity resets



On Sat, Mar 31, 2012 at 4:24 AM, adev <enricong@gmail.com> wrote:

How can I avoid this in xml
Why don't you try to do this in your activity/java file (dynamically)? I think that will solve your problem.

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

3akarat.com - مول معروض للايجار بالتجمع الاول بالبنفسج 2 بجوار خزان المياه قطعه رقم 17 من المالك مساحه 1050

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

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

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

Hi Deepak,

This is all that's in the css file as the only important class is the corner that I've set to be transparent:

.customScrollPanel{
}

.customScrollPanelCorner{
    opacity: 0.0;
}

As for how to use the vertical scroll bar to override the native (or the transparent one CustomScrollPanel uses by default) if you look at the line

"this.setVerticalScrollbar(new MyVerticalScrollBar(),MyVerticalScrollBar.getScrollBarWidth());"

in MyScrollPanel class in the code I sent, this is what actually does the overriding. This method is available on the CustomScrollPanel class which MyScrollPanel extends.

Hope that answers your question. Also can you please repost my initial reply with the code to this thread, it would save me the time of having to rewrite it :) Thanks.

-Seth

--
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/-/g-x4PrKzgjoJ.
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.

3akarat.com -

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

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

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

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

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

Re: [android-developers] Adb shell from app

Hi Yuvi,
thank you very much for your help.
Thank's to your suggestion I solved my problem.

Giuseppe

--
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: app sales dropped dramatically in the past few days

Same

On Thursday, March 29, 2012 3:40:45 AM UTC-5, Mat Jones wrote:
Has anyone seen a fallen in their app sales through on app billing in
the past few days? The past two days in app billing sales are down
90%

We have around 800 New users a day and the same amount viewing the
extra features page, so don't understand the issue

Regards

--
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 - ارض مسجله بمنطقه سكنيه بالكيلو3 مرسي مطروح

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

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

[Rails] I18n.t('countries.NO') broken?

Hi

I've tried this on a virgin Rails 3.2.2 app. If you put the translations
for country names in the locale file using the 2 letter ISO code, it
looks something like this:

en:
countries:
DE: "Germany"
NO: "Norway"
US: "USA"

This works fine - but for Norway :-)

I18n.t :'countries.DE' # => "Germany"
I18n.t :'countries.NO' # => "translation missing: en.countries.NO"

Case doesn't matter, the same happens with :'countries.no'.

Any idea what could be the cause for this problem?

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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

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

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

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

3akarat.com - شقة للبيع بسيدى بشر بحرى

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

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

I don't get what Poll.objects.get(pk=1) does

Hi,

I'm learning Django (I already know Python) and I'm following the
tutorial: https://docs.djangoproject.com/en/1.3/intro/tutorial01/
At the end of the tutorial there is a code where the programmer does:
p = Poll.objects.get(pk=1) .
I want to be sure if I understand it well.
Poll.object.get(pk=1) is returning the poll which primary key is 1 in
the DB, isn't it?
This is stored in p, which is actually the poll which pk is 1, so it's
itselft but with new class variables added (the other side of the
Foreign Keys). Is it correct?
This creates a new class variable called choice_set because Choise is
an other-side foreign key of poll.
This object (choise_set, of type RelatedManager) has a method create
that adds things to the set.


Did I understand it well??

Thank you,

(PS: sorry for my english )

--
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: [Lovers India] Dil Hona Chahiye......!!!!!!!!!



awesome awesome.... thnx for a innocent post...

--
Thanks & Regards,



--
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] Re: Galaxy Nexus multitouch trouble

The article says it's a software problem -- and it would appear so from the symptoms.

Since the GNex just had Android 4.0.4 released 2 days ago, you may want to see if it's fixed.

By the way, why are you posting this?  It just sounds like a rant, to be honest.  You have any particular SDK related questions/issues?  



On Saturday, March 31, 2012 4:38:36 PM UTC+8, Jean-François Geyelin wrote:
PR protip: ignoring people isn't the way to go. Just a little "hey sorry about that, it will be fixed in the next Android update" would have sufficed. Because of the way you handled it, developers wasted time trying to "fix" the problem themselves thinking it was their fault.

On Wednesday, December 21, 2011 5:18:41 PM UTC+1, Jean-François Geyelin wrote:
I don't have a galaxy nexus, but I am receiving some complaints from the users, and engadget reported the problem:
http://www.engadget.com/2011/12/18/galaxy-nexus-users-reporting-touchscreen-trouble-lower-scores-i/

Do you have any idea what's causing this? Is it a problem in ICS, in the games, or with the Galaxy Nexus?

--
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] Dil Hona Chahiye......!!!!!!!!!

konsi bat keliye

On Fri, Mar 30, 2012 at 3:47 PM, Kiran Patil <kpkpkiranpatil@gmail.com> wrote:
kya hua bhagyashree ji.. r u angry???
--
Thanks & Regards,



--
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 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] Re: Galaxy Nexus multitouch trouble

PR protip: ignoring people isn't the way to go. Just a little "hey sorry about that, it will be fixed in the next Android update" would have sufficed. Because of the way you handled it, developers wasted time trying to "fix" the problem themselves thinking it was their fault.

On Wednesday, December 21, 2011 5:18:41 PM UTC+1, Jean-François Geyelin wrote:
I don't have a galaxy nexus, but I am receiving some complaints from the users, and engadget reported the problem:
http://www.engadget.com/2011/12/18/galaxy-nexus-users-reporting-touchscreen-trouble-lower-scores-i/

Do you have any idea what's causing this? Is it a problem in ICS, in the games, or with the Galaxy Nexus?

--
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 - شقق سكنيه في مدينه العبور

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

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

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

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

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

[android-developers] Re: Flash freedom

Sure.  Flash is a document format, you are free to create you own lightweight flash player.



On Saturday, March 31, 2012 2:23:11 AM UTC+8, bob wrote:
Does anyone know of a reasonable way to play Flash files in an Android app that does not require the installation of the Adobe Flash Player plug-in? 




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

Friday, March 30, 2012

Re: [Lovers India] Love doesn’t need reasons...!

character koi bhi ho.. story ka meaning important hai mere bhai....


--
Thanks & Regards,



--
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: [Lovers India] Your Name

Thanks a lots...

On 3/30/12, Er.Sujit Kumar Kar <sujitforever@gmail.com> wrote:
> Thanx dimpy for this beautiful PPS
>
> Thanks and Regards
>
> *Er.SUJIT KUMAR KAR*
> Area Manager - Technical Services
>
>
> Pidilite Industries Ltd
> Construction Chemical Division
> Bhubaneswar,Orissa
> Email-sujitforever@gmail.com OR sujit.kumar@pidilite.co.in
> Mob:+919437055611
>
>
>
>
> On Fri, Mar 30, 2012 at 11:53 AM, Dimpy Dimpy
> <dimpydimpy1984@gmail.com>wrote:
>
>> Hi.....
>> Good Morning......
>>
>> DIMPY
>>
>> --
>> 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 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 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] Re: Rotation gesture detector.

I am already aware of these gesture detectors and using them already.
I am specifically looking for rotation gesture detector.

On Mar 30, 9:39 pm, James Black <planiturth...@gmail.com> wrote:
> You need to do more of the work on Android.
>
> This may give you a start:http://www.anddev.org/gesturedetector_and_gesturedetectorongesturelis...
>
> On 31 Mar 2012, at 00:16, MB wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > Is there a rotation gesture detector class available for Android? I've
> > searched the docs but haven't found anything relevant.
> > I am looking for the equivalent of UIRotationGestureRecognizer on iOS.
>
> > Thanks,
>
> > --MB.
>
> > --
> > 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

3akarat.com - شاليه بالعين السخنه

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

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

Email mock not working

Hello,

I'm trying to use the mock when testing the e-mail sender. But it's
not working.
My code is:

$Users = $this->generate('Users', array('components' => array(
'Email' => array(
'sendConfirmationEmail'))));

$Users->Email->expects($this->once())->method('sendConfirmationEmail')-
>will($this->returnValue(true));

I'm using the EmailComponent in the UsersController, and the
sendConfirmationEmail is the method I want to mock. Can anybody help
me?

Thanks,
Thiago

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


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

Re: [android-developers] Rotation gesture detector.

You need to do more of the work on Android.

This may give you a start:
http://www.anddev.org/gesturedetector_and_gesturedetectorongesturelistener-t3204.html

On 31 Mar 2012, at 00:16, MB wrote:

> Hi,
>
> Is there a rotation gesture detector class available for Android? I've
> searched the docs but haven't found anything relevant.
> I am looking for the equivalent of UIRotationGestureRecognizer on iOS.
>
> Thanks,
>
> --MB.
>
> --
> 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] Rotation gesture detector.

Hi,

Is there a rotation gesture detector class available for Android? I've
searched the docs but haven't found anything relevant.
I am looking for the equivalent of UIRotationGestureRecognizer on iOS.

Thanks,

--MB.

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

django-admin change form page validation

Hi All

How can i apply validation in admin on various fields when they are dependent on each other ?

e.g. Let say in i have a  Field A(BooleanField)  and Field B (CharField) what i want to do is if in admin user select the Field A(checkbox) and does not enter anything in Field B
and if he tries to save ,it should throw an error like a normal blank=False gives. So how can i do this kind of validation in admin .

E.g  Use Case

I have a table having the following structure :-

INTERVIEW_TYPES = (
       
        ('default', 'None'),
        ('Paired Visit','Paired Visit'),
        ('Time Series', 'Time Series'),
        
    ),

class Interview(models.Model):
    ic_number              = models.CharField(verbose_name ="Visit Configuration Number",max_length=20,unique=True,null =True,blank=True)
    ic_description         = models.TextField(verbose_name ="Visit Configuration Description",null = True,blank=True)
    title                  = models.CharField(verbose_name ="Visit Configuration Title",max_length=80,unique=True)
    starting_section       = models.ForeignKey(Section)
    interview_type         = models.CharField(verbose_name = "Mapped Visit",choices=CHOICES.INTERVIEW_TYPES, max_length=80, default="Time Series")
    select_rating          = models.CharField(choices=CHOICES.QUESTION_RATING, max_length=80, default="Select Rating")
    view_notes             = models.CharField(choices=CHOICES.VIEW_NOTES, max_length=80, default="Display Notes")
     revisit                = models.BooleanField(default=False)   
.....and so on ......
  
    class Meta:
        verbose_name = 'Visit Configuration'
        verbose_name_plural = 'Visit Configurations'
       # ordering = ('rpn_number',)
   
    def __unicode__(self):
        return self.title

Its admin.py

class InterviewAdmin(admin.ModelAdmin):
    list_display = ('id','title', 'starting_section','ic_number','show_prior_responses')
    raw_id_fields = ('starting_section',)
admin.site.register(Interview, InterviewAdmin)

In admin , If i select the checkbox of revisit and in the field interview_type(which will show a dropdown having choices None,Paired Visit , Time Series) if a User has selected None from that dropdown and then press save button it should throw me an error like a normal blank=False shows, saying "This field is required"

How can i do this kind validation where fields are dependent on each other ? 

Please Ignore syntax error is any .

Thanks

--
Regards
Nikhil Verma
+91-958-273-3156

--
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: [Rails] Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

On Sat, Mar 31, 2012 at 12:00 AM, Paulo Cassiano <lists@ruby-forum.com> wrote:
> I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this
> error:
>
>    $ sudo gem install rails
>    ERROR:  While executing gem ... (Gem::DependencyError)
>        Unable to resolve dependencies: rails requires activesupport (=
> 3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (=
> 3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3)
>
>
> How can I fix this?
>
> Note: Git (1.7.5.4 ) and Ruby (1.9.2p290) are installed properly.
>
How did you installed Ruby?
Do you have an updated rubygems?

--
Leonardo Mateo.
There's no place like ~

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

[android-developers] [Q] Why does Lint complain that my Activity is not registered in the Manifest properly?

This is the what I have in my AndroidManifest.xml file:

    <activity
            android:name=".DisplayPageActivity"
            android:label="@string/app_name"
            android:configChanges="orientation|keyboardHidden">
        <intent-filter>
                <action android:name="com.tetractysproductions.AWOL.DISPLAY_WIKI_PAGE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

This is the complain I receive from Lint:

"The <activity> com.tetractysproductions.AWOL.DisplayPageActivity is not registered in the manifest" (Id: Registered)

*****
As you can guess, I do not understand why. Any takers? 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

[Rails] Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this
error:

$ sudo gem install rails
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: rails requires activesupport (=
3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (=
3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3)


How can I fix this?

Note: Git (1.7.5.4 ) and Ruby (1.9.2p290) are installed properly.

--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: GWT and how to make them better.

Got it working in another project where I'm using gwt 2.4 stable.

Server side works like a charm and browser side works pretty good. 

When editing ui.xml files it doesn't know what classes to reload(regenerate), that would be great if it could detect the uibinder related class and regenerate it (I spend a lot of time working on ui.xml files)

 Gwt trunk support will be also cool to have.

I may sound like I'm complaining, but I'm amazed... the server side alone already worth my money.

Keep up the good work!

On Fri, Mar 30, 2012 at 10:32 PM, Gal Dolber <gal.dolber@gmail.com> wrote:
Hi Bogo,

Finally decided to get JRebel, but I'm getting this exception:

java.lang.ClassCastException: com.google.gwt.dev.javac.CompilationState cannot be cast to org.zeroturnaround.jrebel.integration.gwt.cbp.CompilationStateInterface

Does JRebel support gwt trunk? or only the last stable version?
Thanks!

On Fri, Mar 30, 2012 at 4:21 PM, Harpal Grover <harpal.grover@gmail.com> wrote:
This is very cool.
--
Harpal Grover
President
Harpal Grover Consulting LLC

On Fri, Mar 30, 2012 at 7:33 AM, Bogo <shopov.bogomil@gmail.com> wrote:
Hey guys,
We just published an article on our blog about GWT and will be happy
to read your thoughts about it.
Here it is: http://j.mp/gwtgwtgwt

Happy hacking,
//Bogo

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




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



--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/







--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/




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

Re: GWT and how to make them better.

Hi Bogo,

Finally decided to get JRebel, but I'm getting this exception:

java.lang.ClassCastException: com.google.gwt.dev.javac.CompilationState cannot be cast to org.zeroturnaround.jrebel.integration.gwt.cbp.CompilationStateInterface

Does JRebel support gwt trunk? or only the last stable version?
Thanks!

On Fri, Mar 30, 2012 at 4:21 PM, Harpal Grover <harpal.grover@gmail.com> wrote:
This is very cool.
--
Harpal Grover
President
Harpal Grover Consulting LLC

On Fri, Mar 30, 2012 at 7:33 AM, Bogo <shopov.bogomil@gmail.com> wrote:
Hey guys,
We just published an article on our blog about GWT and will be happy
to read your thoughts about it.
Here it is: http://j.mp/gwtgwtgwt

Happy hacking,
//Bogo

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




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



--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/




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

[android-developers] how to save/restore SharedPreferences between devices?

While my app is in beta testing I want to provide a mechanism to allow my testers to send me information (logs and such) so that I can have a better chance at reproducing problems.

My question is, is there a reasonable way for an app to send along the SharedPreferences state to me such that I could then restore it in the emulator to help diagnose problems?

I have certainly thought about just grabbing the values I am interested in and creating an XML file, and then just parse it on the other end. But it strikes me that there might be a better way.

Any ideas?

--
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 - شقة للبيع 150م بشبرا بشارع احمد حلمى بعمارة جديدة للاستعلام 01225683521 / 01229573014

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

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

3akarat.com - منزل لبيع بحلوان

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

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

Questions about UnicodeDecodeError

I have a situation where I am reading data that I have no control over and
inserting it into a db. The data is http headers. I am storing them in
postgres db in a text field and the db encoding is SQL_ASCII. Since the
data can be anything even non compliant http headers with anything for its
values I don't want to modify the data before I store it in the db.
However this is causing issues with certain values causing the
UnicodeDecodeError. For example I have a specific case where the user
agent is set to 'KC\xd4\xda\xcf\xdf\xc9\xfd\xbc\xb6'. I have been trying
to look for a way to deal with these cases gracefully in the models
__unicode__ method but nothing I have tried has worked.

Thanks,
Ali Mesdaq
Security Researcher
Cell: +1 (619) 952-8488 | Fax: +1 (408) 321-9818
Email: ali.mesdaq@fireeye.com

Next Generation Threat Protection
http://www.FireEye.com <http://www.fireeye.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.

[android-developers] Textview gravity resets

My layout is as follows
I have a table of textviews in a linear layout. that is in a
realative layout above an adview.

Relative layout
-linear layout
--tablelayout
---tablerow
----textview
.....
AdView

All the textviews have gravity set to "right|centervertical"
When it first loads, it looks fine. It takes a second or two for the
ad to show up.
when this happens, the layout adapts to the ad showing up.

However, at this point, the textview seems to reset the gravity to
right.
How can I avoid this in xml

--
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] [ANN] Rails 3.2.3 was released!!!

Rails 3.2.3 has been released!!!.

### IMPORTANT

This release changes the default value of
*config.active_record.whitelist_attributes* to true. This change only
affects newly generated applications so it should not cause any
backwards compatibility issues for users who are upgrading but it may
affect some tutorials and introductory material. For more information
see the mass assignment section of the [ruby on rails security
guide][1]

Rails 3.2.3 also introduces a new option that allows you to control
the behavior of remote forms when it comes to `authenticity_token`
generation. If you want to fragment cache your forms, authenticity
token will also get cached, which isn't acceptable. However, if you
only use such forms with ajax, you can disable token generation,
because it will be fetched from `meta` tag. Starting with 3.2.3, you
have an option to stop generating `authenticity_token` in remote forms
(ie. `:remote => true` is passed as an option), by setting
`config.action_view.embed_authenticity_token_in_remote_forms = false`.
Please note that this will break sending those forms with javascript
disabled. If you choose to not generate the token in remote forms by
default, you can still explicitly pass `:authenticity_token => true`
when generating the form to bypass this setting.
The option defaults to `true`, which means that existing apps are
*NOT* affected.

We've also adjusted the dependencies on rack-cache and mail to address
the recent security vulnerabilities with those libraries. If you are
running a vulnerable version of mail or rack-cache you should update
both gems to a safe version. There were also some regressions in the
render method that were fixed in this version.

[1]: http://guides.rubyonrails.org/security.html#mass-assignment

### CHANGES since 3.2.2

*Action Mailer*

* Upgrade mail version to 2.4.3 *ML*


*Action Pack*

* Fix #5632, render :inline set the proper rendered format.
*Santiago Pastorino*

* Fix textarea rendering when using plugins like HAML. Such plugins
encode the first newline character in the content. This issue was
introduced in https://github.com/rails/rails/pull/5191 *James Coleman*

* Do not include the authenticity token in forms where remote: true
as ajax forms use the meta-tag value *DHH*

* Turn off verbose mode of rack-cache, we still have X-Rack-Cache to
check that info. Closes #5245. *Santiago Pastorino*

* Fix #5238, rendered_format is not set when template is not
rendered. *Piotr Sarnacki*

* Upgrade rack-cache to 1.2. *José Valim*

* ActionController::SessionManagement is deprecated. *Santiago Pastorino*

* Since the router holds references to many parts of the system like
engines, controllers and the application itself, inspecting the route
set can actually be really slow, therefore we default alias inspect to
to_s. *José Valim*

* Add a new line after the textarea opening tag. Closes #393 *rafaelfranca*

* Always pass a respond block from to responder. We should let the
responder to decide what to do with the given overridden response
block, and not short circuit it. *sikachu*

* Fixes layout rendering regression from 3.2.2. *José Valim*


*Active Model*

* No changes


*Active Record*

* Added find_or_create_by_{attribute}! dynamic method. *Andrew White*

* Whitelist all attribute assignment by default. Change the default
for newly generated applications to whitelist all attribute
assignment. Also update the generated model classes so users are
reminded of the importance of attr_accessible. *NZKoz*

* Update ActiveRecord::AttributeMethods#attribute_present? to return
false for empty strings. *Jacobkg*

* Fix associations when using per class databases. *larskanis*

* Revert setting NOT NULL constraints in add_timestamps *fxn*

* Fix mysql to use proper text types. Fixes #3931. *kennyj*

* Fix #5069 - Protect foreign key from mass assignment through
association builder. *byroot*


*Active Resource*

* No changes


*Active Support*

* No changes


*Railties*

* No changes


### SHA-1

* SHA-1 (actionmailer-3.2.3.gem) = 04cd2772dd2d402ffb9d9dbf70f5f2256c598ab3
* SHA-1 (actionpack-3.2.3.gem) = 06d51ebd0863e0075d9a3e89a2e48dcc262c4e0c
* SHA-1 (activemodel-3.2.3.gem) = 3f648213b88bb3695e2bce38ff823be99535f401
* SHA-1 (activerecord-3.2.3.gem) = a9810e79d720994abbe24aded2bcb783bb1649b4
* SHA-1 (activeresource-3.2.3.gem) = 3d1de8a80122efbcf6c8b8dfc13a7ab644bb2ca3
* SHA-1 (activesupport-3.2.3.gem) = 6a63d75c798fb87d081cbee9323c46bec4727490
* SHA-1 (rails-3.2.3.gem) = 4db7e5c288f5260dc299d55ec2aad9a330b611fc
* SHA-1 (railties-3.2.3.gem) = 39a887de71350ece12c784d3764b7be2c6659b32

You can find an exhaustive list of changes made between 3.2.2 and
3.2.3 [here](https://github.com/rails/rails/compare/v3.2.2...v3.2.3).

Thanks to everyone for making this possible and enjoy it :).

--

Santiago Pastorino
WyeWorks Co-founder
http://www.wyeworks.com

Twitter: http://twitter.com/spastorino
Github: http://github.com/spastorino

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

Re: svm python

Try shogun,it has python bindings
Regards
Leotis Buchanan
Co-Founder
Exterbox




On Fri, Mar 30, 2012 at 8:24 AM, dummyman dummyman <tempovan@gmail.com> wrote:
Thanks a lot.Any other alternative ?


On Fri, Mar 30, 2012 at 5:51 PM, Jeff Heard <jefferson.r.heard@gmail.com> wrote:
Look in Orange. http://orange.biolab.si/



On Mar 30, 2012, at 2:23 AM, dummyman dummyman <tempovan@gmail.com> wrote:

Is any one aware of svm implementation using python ? 
Apart from using weka tool ?


On Thu, Mar 29, 2012 at 9:21 AM, dummyman dummyman <tempovan@gmail.com> wrote:
Hi,

I am looking for svm classifier implementation in python. My input is a set of feature vectors of the form 
[Feature1,Feature2,[Feature3],Feature4] =>This is for a user

so the input is basically a multidimensional list in python

I have a set of users . So we have of multidimensional lists. 
Output should be confusion matrix or a statistical analysis 

Which is the best implementation of svm python module which suits these needs ?



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

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

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

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