Displaying 20 results from an estimated 23166 matches for "deal".
2009 Nov 05
6
Some cosmetic NV10TCL method changes.
The attached patch does the cosmetic renouveau.xml changes I
proposed. I'm about to reply myself with some other patches to update
libdrm and then fix the API break up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename_some_nv10tcl_methods.patch
Type: text/x-diff
Size: 2507 bytes
Desc: not available
Url :
2009 Mar 04
10
total per user
...nt that a user has
posted. So for example:
User 1: Jan $3000 Feb $4000 March $1500, etc. I can get this to work
if I sum totals (aggregate of all users) but just not by user.
Here is my code in the controller:
def index
@users = User.find :all, :order => ''name ASC''
@deal_groups = Deal.find(:all).group_by {|t|
t.saledate.at_beginning_of_month}
end
And then the code in the View
<% for user in @users %>
<ul id="monthly-revs">
<strong><li><%=h Time.now.year %></li></strong>
<% user.deal_groups.keys.sort.each...
2008 Mar 05
3
having trouble specing an ajax request
Do I need to spec an AR. If yes, what is the best way to spec this.
here is the code -
def index
@deals = Deal.paginate(:all, :conditions =>
prepare_search_conditions, :order
=> ''created_at DESC'', :page => params[:page]
)
if request.xhr?
render :update do |page|
page.replace_html "table", :partial => "/deals/fron...
2006 Apr 09
12
Help With Dependent Drop-Down and @Params
...list_prompt(@params[:utility], :order
=> ''list_item'')
render :partial => ''rec_points''
#I use a partial here to fill the span so as not to mix View and
Business logic in the controller...
end
<<view>>
<p><label for="deal_utility">Utility</label><br/>
<%= select ''deal'', ''utility'', %w{ PG&E SoCal SDG&E Southwest},
:include_blank => true %></p>
<span id="rec_point_list">
<label for="deal_rec_point&quo...
2006 Apr 19
0
Some strange questions about SQL
1. Table dealings has the field: id(int(11)), inout(varchar(11))
If I use this select:
@deals = Dealing.find(:all,:condition=>["id = ? and inout =
?","1","in"])
then rails will return error with the tips of SQL syntax error
if I change it to :
@deals = Dealing.find(:all,:conditi...
2006 May 05
4
STI and HABTM
Hey gang,
How does STI work with HABTM?
For instance...let''s say I have the following models
-----
Category < ActiveRecord::Base
Item < ActiveRecord::Base
Product < Item
Deal < Item
-----
Each product or deal can have categories. Would I then setup Item with
has_and_belongs_to_many :categories, then create a table categories_items
??? Is there a better way to do it?
Haven''t done this with STI yet - Thanks.
--
seth at subimage interactive
http://www.subima...
2006 Jan 04
1
Autocomplete howto?
On 3 Jan 2006, at 20:00, rails-request@lists.rubyonrails.org wrote:
>def auto_complete_for_dealing_which_store
> search = params[:dealing][:which_store]
> @stores = Dealing.search(search) unless search.blank?
> render :partial => ''live_search''
>end
>
>and my entire partial:
><ul class="autocomplete_list">
><% for...
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
...tes, from 2013-09-07 03:32:45)
+
+Copyright (C) 2006-2014 by the following authors:
- Artur Huillet <arthur.huillet at free.fr> (ahuillet)
- Ben Skeggs (darktama, darktama_)
- B. R. <koala_br at users.sourceforge.net> (koala_br)
@@ -82,7 +82,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV50_2D_DMA_SRC 0x00000188
-#define NV50_2D_DMA_COND 0x0000018c
+#define NV50_2D_DMA_COND 0x0000018c
#define NV50_2D_DST_FORMAT 0x00000200
@@ -100,7 +100,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV50_2D_...
2006 Apr 12
3
[Q] Bayeisan Network with the "deal" package
Dear R-users
I am looking for a help in using the "deal" package.
I followed the manual and paper from the author's web site to learn it, as
shown below, but I could not figure out how to access the local and
posterior probability of the nodes in the constructed network.
library(deal)
data(ksl)
ksl.nw <- network(ksl)
ksl.prior <- jointpr...
2017 Jan 20
9
How to handle INT8 data
Hello r users,
I have to deal with int8 data with R. AFAIK R does only handle int4
with `as.integer` function [1]. I wonder:
1. what is the better approach to handle int8 ? `as.character` ?
`as.numeric` ?
2. is there any plan to handle int8 in the future ? As you might know,
int4 is to small to deal with earth population right...
2006 Jun 18
1
Bayesian Networks with deal
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20060618/a60e3fff/attachment.pl
2013 Mar 14
3
Equivalent of deal in R?
HI, I'm looking for a function that does the same as deal() in MATLAB, i,e,
for an array x[1 2 3]
[a,b,c]=x;
such that
a=1, b=2, c=3
Does R have any functions similar to this?
[[alternative HTML version deleted]]
2016 Oct 16
10
[PATCH 1/5] hwdefs: update nvc0_3d, add gm107_texture for new TIC format
...om> (haypo)
+- Wladmir van der Laan <laanwj at gmail.com> (miathan6)
+- Younes Manton <younes.m at gmail.com> (ymanton)
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copy...
2006 Jan 03
5
Pagination Question
Hi -
I''ve just started working with Rails, having come from a Cold Fusion
background. I''m curious how best to deal with a huge result set. For
example, I''m building an app that contains users. I''ve used
scaffolding to setup my initial pages for CRUD operations on users.
All that is great. The problem is, I''m going to end up with 1000+
users in this app once it''s done. Ha...
2012 Feb 09
2
[PATCH] xenpaging:add the dealing of MEM_EVENT_FLAG_EVICT_FAIL request in
# HG changeset patch
# User h00166998@h00166998.china.huawei.com
# Date 1328777881 -28800
# Node ID 68eae0b487aef8349f168518f56264ce61afb0a1
# Parent 9f4640e40d4f31563885427a5a8d9eae2e110514
xenpaging:add the dealing of MEM_EVENT_FLAG_EVICT_FAIL request in
tools/xenpaging
If a page is nominated but not evicted,then dom0 accesses the page,it
will change the page''s p2mt to be p2m_ram_paging_in,and the req.flags is
MEM_EVENT_FLAG_EVICT_FAIL;so it will fail in p2m_mem_paging_evict() because
of the p2mt...
2007 Feb 10
3
dealing with special characters
hi all,
what is the best way to deal with non-english characters?
for example, I have a field withthe value "joão" after saving the value
"João". How do I deal with this issue?
Thnaks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message beca...
2011 Aug 15
2
Regression - how to deal with past values?
Dear R-users
I need to fit a nonlinear model to a piece of data. The model to be fitted
uses past values of the input and the ouput - something like
y(k) ~ f(y(k-1),y(k-2),u(k),u(k-1) ....) (k is time index). As far as I
know I could use earth(MARS), nnet and etc but I am not sure how to deal
with the past values since most, if not all, examples I saw formula does not
take in account past values of any input (let alone output).
Is there any package available that deals with this type of regression? (ar
(linear) is not what I am looking for).
Is there any example out there that...
2012 Feb 26
2
Dealing with NAs in C
...o make it more
efficient. A lot of the data involves NAs. As the data is mainly integers >
0, I am just setting all NAs to 0 then sending it to the C code then
resetting them to NAs again after the C program is done, to be compatible
with the rest of the R code.
Is there a more efficient way to deal with NAs in C? I have used NAOK=true
and sent them through using tobs=as.integer(tobs) for example, but when C
looks at a NA it crashes.
I am looking for the most efficient way to deal with NAs when they need to
be sent to a C function.
Any info here would be greatly appreciated!
Cheers,
Chris...
2013 Aug 27
0
[patch 07/22] ocfs2: dlm_request_all_locks() should deal with the status sent from target node
From: Xue jiufei <xuejiufei at huawei.com>
Subject: ocfs2: dlm_request_all_locks() should deal with the status sent from target node
dlm_request_all_locks() should deal with the status sent from target node
if DLM_LOCK_REQUEST_MSG is sent successfully, or recovery master will fall
into endless loop, waiting for other nodes to send locks and
DLM_RECO_DATA_DONE_MSG to me.
NodeA...
2006 Jul 13
3
set the bahavior that R deal with missing values?
Dear Rusers,
The default behavior in R when performing a regression model with missing
values is to exclude any case that contains a
missing value? How could i set the bahavior that R deal with missing values?
e.g.:
exclude cases listwise
exclude cases pairwise
replace with mean
Thanks very much!
--
Kind Regards,
Zhi Jie,Zhang ,PHD
Department of Epidemiology
School of Public Health
Fudan University
Tel:86-21-54237149
[[alternative HTML version deleted]]