Displaying 20 results from an estimated 16970 matches for "posit".
Did you mean:
posix
2006 Jun 22
11
Help please
Getting this error:
SyntaxError in CompanyController#positionslist
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::2
I could not find anything out about it (googling) and it''s not the
clearest error message. Not sure if it''s related to an expected data
type but that wouldn''t...
2006 Jun 08
1
expand only one of variable
...TERS[1:8],
country=c("Germany","England","Argentina","Mexico","Italy","Brazil","France","Spain"),
w=rep(0,8), d=rep(0,8), l=rep(0,8))
toy.df
The size variable is the number of expand and signed by positive but size
with 0 (zero) must be signed by negative.
The result something like:
size group country w d l sign
3 A Germany 0 0 0 positive
3 A Germany 0 0 0 positive
3 A Germany 0 0 0 positive
1 B England 0 0 0 positive
2 C Argentina...
2006 Jun 14
13
Undefined method
...bad question (as in he''s abusing the
list). However I could use a little direction (even though I''m
reading books, tutorials)
Right now I''m getting a
undefined method `category'' for 4:Fixnum
The specific lines from the rhtml file are:
<td><%= link_to position.category_id.category, :action => "show", :id
=> position.id %></td>
The "link_to position.category_id.category" is the real problem.
So,
In the Position model I have a belongs_to : category
In the Category model I have a has_one : position
I was under the gr...
2006 Apr 03
2
Fast way of finding new position for model object?
I have a model object that acts as a list. The position of each object
is determined by two factors: number of votes ascending and age of
object descending. When a user adds or deletes a vote I need to
quickly update the associated model object''s position. Right now this
is done with the following method:
def update_position
position...
2010 May 26
5
(no subject)
...uot;WHEAT Jul/10", "WHEAT May/10"), class = "factor"),
PL = c(3500, -1874.99999999999, -2612.50000000003, -2169.99999999998,
-680, 425, 1025, 1008.00000000000, -3057.59999999999, 3212.5,
-1781.25000000001, -2265.0, 75, -387.5, 2950, 490.000000000013,
0), POSITION = c(-2, 3, 2, 2, 18, 3, -1, -1, 5, 5, 0, 0,
0, 0, 0, 0, 0)), .Names = c("DESCRIPTION", "PL", "POSITION"
), class = "data.frame", row.names = c(NA, -17L))
I want to give a warning message if one of the element of the POSITION
column is different from...
2006 Aug 30
1
setMethod() and log()
Hi
I am having difficulty with setMethod(). I have a "brob" class of
objects whose
representation has two slots: "x" and "positive". Slot "x" (double)
holds the log
of a number and slot "positive" (logical) its sign. The idea is
that large numbers
can be handled.
I'm trying to implement a log() method using an analogue of the
setMethod() example
for polynomials on page 117 of V&R....
2004 Jul 28
0
(no subject)
...-------
nmblookup -B macdui '*'
querying * on 10.92.50.72
10.92.50.72 *<00>
----------------------------------------------------------------------------
--
nmblookup -d 2 '*'
added interface ip=10.92.50.72 bcast=10.92.50.255 nmask=255.255.255.0
querying * on 10.92.50.255
Got a positive name query response from 10.92.50.133 ( 10.92.50.133 )
Got a positive name query response from 10.92.50.72 ( 10.92.50.72 )
Got a positive name query response from 10.92.50.132 ( 10.92.50.132 )
Got a positive name query response from 10.92.50.141 ( 10.92.50.141 )
Got a positive name query respons...
2006 Aug 03
1
OT: Tables and Rails code
...re. Basically I''ve created a
table to return data and it seems that the column headings repeat
along with the entries. So perhaps it''s where I''m placing the code and
not so much my HTML.
Ideas, solutions appreciated:
<h1> Current job openings</h1>
<% for position in @positions -%>
<div id="itsthetable">
<table summary="MyCompany">
<caption>Current postings</caption>
<thead>
<tr>
<th scope="col">Custom ID</th>
<th scope="col">Company</th>
<th scope=&q...
2006 Oct 24
1
update_header: Unable to find our position
Hi i got lots of this from the asterisk console what does this mean?
format_wav.c:247 update_header: Unable to find our position
asterisk console:
Oct 24 16:39:19 WARNING[4432]: format_wav.c:247 update_header: Unable to
find our position
Oct 24 16:39:19 WARNING[2812]: format_wav.c:247 update_header: Unable to
find our position
Oct 24 16:39:19 WARNING[4430]: format_wav.c:247 update_header: Unable to
find our position
O...
2006 May 23
4
How to call a value labels attribute?
Dear All,
after searching on CRAN I got the impression that there is no standard way
in R to label values of a numerical variable.
Since this would be useful for me I intend to create such an attribute, at
the moment for my personal use.
Still I would like to choose a name which does not conflict with names of
commonly used attributes.
Would value.labels or vallabs create conflicts?
The
2006 Jun 27
1
Help me, I stuck ..
...ree tables and is not allowed to change data scheme:
CREATE TABLE `applicants` (
`id` int(10) unsigned NOT NULL auto_increment,
`fullname` varchar(60) NOT NULL default '''',
`address` varchar(60) NOT NULL default '''',
PRIMARY KEY (`id`)
) ;
CREATE TABLE `positions` (
`id` int(10) unsigned NOT NULL auto_increment,
`position_name` varchar(30) NOT NULL default '''',
KEY `id` (`id`)
) ;
CREATE TABLE `sums` (
`id` int(11) NOT NULL auto_increment,
`applicants_id` int(10) NOT NULL,
`positions_id` int(10) NOT NULL,
PRIMARY KEY (...
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...hich could come in
handy.
I''ve been updating them a bit and added a few more and I think its time
to share
it again.
Feel free to use it.
The code should be rather self explaining, but heres a quickguide.
- new Geometry.Size(width,height) - Creates a new instance of size
- new Geometry.Position(x,y) - Creates a new instance of position
- new Geometry.Area(position,size) - Creates a new instance of area
- Element.getPosition(element) - retrieves the position of an element
- Element.setPosition(element,position) - sets the position of an element
- Element.getSize(element) - retrieves the...
2006 Apr 07
6
Magic Field Names - "position"
What does the Magic Field Name position do?
I was looking here:
http://wiki.rubyonrails.com/rails/pages/MagicFieldNames
And unfortunately that documentation is incomplete.
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Oct 31
1
setReplaceMethod
...x="ANY", i="brob" is
sealed and cannot be re-defined
so this can't be right.
setClass("swift",
representation = "VIRTUAL"
)
setClass("brob",
representation = representation
(x="numeric",positive="logical"),
prototype = list(x=numeric(),positive=logical()),
contains = "swift"
)
setAs("brob", "numeric", function(from){
out <- exp(from at x)
out[!from at positive] <- -out[!from at positive]
ret...
2007 May 21
9
Ordering in view specs using have_tag and with_tag
When writing view specs is there any way to test not only for the
presence of tags (have_tag) and nested tags (with_tag), but also test
that they appear in a given order?
For example, consider the following:
it ''should display the login names, display names and email
address in alternating rows'' do
response.should have_tag(''div.odd>div'') do
2011 Sep 27
1
compare proportions
Hi, I have a seemingly simple proportional test. ?here is the question I am trying to answer:
?
There is a test running each day in the lab, the test comes out as
either positive or negative. So at the end of each month, we can calculate a
positive rate in that month as the proportion of positive test results. The
data look like:
?
Month??? ??# positive?????? # total tests??? positive rate
January????????? 24???????????????? 205????????????????? 11.7%
February?????? ?31?...
2012 Mar 28
1
how to avoid farword slashes in RJSONIO output
Hi All,
I wanted know how to get RJSONIO output with out forward slashes? for
example:
"({\"total\":5,\"results\":[\n {\n \"id\": 1,\n\"name\": \"Monkey D
Luffy\",\n\"position\": \"Captain\",\n\"ambition\": \"I Will become the
pirate king\" \n},\n{\n \"id\": 2,\n\"name\": \"Roronoa
zoro\",\n\"position\": \"Swordman\",\n\"ambition\": \"Become greatet
swordman\" \n},...
2018 Jun 20
0
[PATCH v5 6/9] x86: prevent inline distortion by paravirt ops
...compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
arch/x86/include/asm/paravirt.h: Assembler messages:
>> arch/x86/include/asm/paravirt.h:253: Error: can't mix positional and keyword arguments
--
arch/x86/include/asm/paravirt.h: Assembler messages:
arch/x86/include/asm/paravirt.h:29: Error: can't mix positional and keyword arguments
arch/x86/include/asm/paravirt.h:29: Error: can't mix positional and keyword arguments
arch/x86/include/asm/par...
2006 Feb 08
2
Prototype: Position.clone()
Does the duplicate clone method of Position serve a subtle purpose
that I don''t understand? I feel kind of foolish even asking, but ...
I just don''t get it. I''ve been looking at this for a couple days now
and as far as I can tell, the first definition is useless as it gets
overlaid by the second one. I don...
2002 Oct 17
4
Posix Problem, difftime
...rted into a POSIXt and POSIXlt classes. I have hourly time series data from 1900 that has been converted from text data.
I assume most of my problems come from a mis-underdanding of the POSIX class. My matrix named (aa) for this year is approx 8700 by 4. When I try to calculate the length of posit column ( which is the date and time) I get
> length(aa$posit)
[1] 9
When I try to combined POSIX columns or manipulate them like matrices, I have problems such as
> cbind(aa$posit, aa$posit)
Error in cbind(...) : cannot create a matrix from these types
Ultimately I would like to chec...