Displaying 20 results from an estimated 16972 matches for "position".
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 mak...
2006 Jun 08
1
expand only one of variable
Dear all,
I want to expand only one of variable in data frame and the others
variable will be following with the expand variable. Here my toy example:
toy.df <- data.frame(size=c(3,1,2,0,3,5,1,0), group=LETTERS[1:8],
country=c("Germany","England","Argentina","Mexico","Italy","Brazil","France","Spain"),
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 grand...
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 = n...
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 zer...
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
2004 Jul 28
0
(no subject)
I have installed samba 2.2.9 to use SSL but i am having problems testing the
config.
I was thinking that this could be something that i have missed on the PC
side but im not that familiar with Samba so any help would be much
appreciated.
PING
Works both ways via host and IP
SMBCLIENT
smbclient //macdui/tmp -U aloftu
added interface ip=10.92.50.72 bcast=10.92.50.255 nmask=255.255.255.0
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="...
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
Oct...
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 (`id...
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 si...
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
Hi
If x <- 1:10 then x[5] <- 1i will promote
x to be a complex vector.
Suppose I have an S4 class "brob", and have functions
is.brob(), as.brob(), as.numeric() and so forth (minimal self-contained
code below).
If x is numeric (1:10, say) and y is a brob, what
is the best way to make
x[5] <- y
promote x to a brob in the same way as the complex example?
Or is
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
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},\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/paravi...
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
I am having a series of problems using date time data that has been converted 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