Displaying 20 results from an estimated 8751 matches for "segment".
Did you mean:
segments
2009 Oct 08
6
Eager Loading a Relationship That Has No PK/FK
I''m attempting to wrestle an old DB into Rails.
This relationship is giving me trouble:
class Show < AR::Base
has_many :segments
end
class Segment < AR::Base
belongs_to :show
has_one :media #this has no PK/FK relation
end
A Segment is "linked" to Media by Media.name, which is the result of
concatenating Segment.name and Segment.part. As I said there are is no
PK/PK relation so the actual Segment class lo...
2008 Apr 10
1
Types in grouped multi-panel (lattice) xyplot
Apologetic prologue: I've looked through the mailing list for an answer to
this (since I'm sure it's trivial) but I have not been able to find a fix.
So the problem is that I want each group to have a different type of plot.
"Probes" should be points and "Segments" should be lines (preferably using
the segment plot command, but I've just been trying -- unsuccessfully --
to get lines to work).
To be exact, the data looks like:
loc val valtype mouse
1428 0.1812367 Probes 2
1439 -0.4534155 Probes 2
1499 -0.4957303 Probes...
2007 Apr 18
0
[PATCH 1/21] i386 Pnp segments in segment h
Move PnP BIOS segment definitions into segment.h; the segments are reserved
here, so they might as well be defined here as well.
Note I didn't do this for APM BIOS, as Macintosh and other systems use those
values to emulate APM in some scary way I don't want to understand.
Signed-off-by: Zachary Amsden <zac...
2007 Apr 18
0
[PATCH 1/21] i386 Pnp segments in segment h
Move PnP BIOS segment definitions into segment.h; the segments are reserved
here, so they might as well be defined here as well.
Note I didn't do this for APM BIOS, as Macintosh and other systems use those
values to emulate APM in some scary way I don't want to understand.
Signed-off-by: Zachary Amsden <zac...
2008 Jul 20
4
drawing segments through points with pch=1
Please excuse me for asking such basic questions:
Here is my code
> y=c(1.21,0.51,0.14,1.62,-0.8,0.72,-1.71,0.84,0.02,-0.12)
> ybar=mean(y)
> ll=length(y);
> ybarv=rep(ybar,ll)
> x=1:ll
> plot(x,ybarv,pch=1)
> segments(x[1],ybar,x[ll],ybar)
What I get is a collection of small circles, with a segment "on top"
of the circles, which is almost what I want. But I don't want the
segment to be visible inside any small circle.
Is there an easy way to arrange for the segment to "lie behind"...
2010 May 20
3
lines on plot
Is there an easier way to make this graph *without* having to specify all of
the separate segment arguments at the end?
> x <- c(1,2)
> off <- c(4,5.5)
> def <- c(5.5,5.9)
> par(fg="lightblue4")
>
plot(x,off,type="o",col="dodgerblue4",ylim=c(2,7),xlim=c(0.7,2.3),axes=F,xlab="Labor
Condition",ylab="Willingness to Join",lw...
2007 Aug 08
1
Help using gPath
Hi everyone,I'm trying to figure out how to use gPath and the documentation
is not very helpful :(
I have the following plot object:
plot-surrounds::
background
plot.gTree.378::
background
guide.gTree.355:: (background.rect.345, minor-horizontal.segments.347,
minor-vertical.segments.349, major-horizontal.segments.351,
major-vertical.segments.353)
guide.gTree.356:: (background.rect.345, minor-horizontal.segments.347,
minor-vertical.segments.349, major-horizontal.segments.351,
major-vertical.segments.353)
yaxis.gTree.338::
ticks.segments.321...
2014 Jul 01
0
The dreaded Tripp Lite SMART500RT1U and NUT
...e Ballantyne
<steve.ballantyne at gmail.com> wrote:
> How would I go about providing you this stuff? Can you point me to
> something that would help trace out the USB data?
I thought I would try to make sense of the ups.debug data. All I have
really figured out is that the fourth hex segment for S is a 00 for
plugged in and a 01 for on-battery. Which the driver already knows.
The rest is a mystery to me. But I played around with unplugging and
running the load down, and then recharging, etc. Here are my notes
and observations. NC = "no change". I am assuming that those fi...
2007 Feb 27
3
acts_as_ferret rebuilding issue with ferret 0.11.0
Hi,
There is a problem with the way that acts_as_ferret verifies the index
is valid. In ensure_index_exists it looks for a file named ''segments''.
With the 0.11.0 release of ferret there is no file with this name. On my
dummy application I have a ''segments.gen'' and ''segments_2y''.
Changing the test to segments.gen fixes the problem that the index is
constantly rebuilt. I don''t know enou...
2017 Jun 25
3
vertical semi-circles in R
Dear useRs,
I am to teach my students some drawing techniques in R. I started shape of an handle by using the following codes;
>plot(0,0,col="white")
>segments(0,0,0.3,0.3)
>segments(0.3,0.4,0.3,0.3)
>segments(0.3,0.4,0,0.7)
>segments(0,0.7,0,0.6)
>segments(0,0.0,0,0.1)
The coding will draw a section of a handle. Now I want to draw semi circles of radius 0.05 between (0,0.6) and (0,0.1), oriented vertically and outward with mouth facing...
2009 Sep 06
2
smbd uses 10 to 15% CPU w/Vista client
...192.168.40.2 192.168.40.46 TCP microsoft-ds > 58439 [ACK] Seq=3096 Ack=177 Win=41664 Len=0
7 0.015300 192.168.40.2 192.168.40.46 DCERPC Response: call_id: 5 ctx_id: 0
8 0.019147 192.168.40.46 192.168.40.2 TCP [TCP segment of a reassembled PDU]
9 0.019199 192.168.40.46 192.168.40.2 DCERPC Request: call_id: 6 opnum: 53 ctx_id: 0
10 0.019619 192.168.40.2 192.168.40.46 TCP microsoft-ds > 58439 [ACK] Seq=4220 Ack=2429 Win=41629 Len=0
11 0.024679 192.168...
2001 Jul 23
2
hang-up with log="x" and segments (PR#1030)
I experienced the following problem with R 1.3.0 which is probably a
bug. The program hangs-up if 1.) a coordinate of segments is outside the
ploting region and 2.) the option log="x" is used.
##
## works fine
##
plot(1,1, xlim=c(0.5, 2), ylim=c(0.5, 2))
segments(0.5 , 1.2, 1, 0.6)
segments(0.25, 1.2, 1, 0.6)
segments(1 , 1.2, 1, 0.6)
##
## hang-up
##
plot(1,1, xlim=c(0.5, 2), ylim=c(0.5, 2), log="x&quo...
2008 Apr 16
1
segments() with zero-length arguments (PR#11192)
Uwe Ligges suggested I post this on R-bugs as a wishlist item with a
proposed patch. R considers zero-length arguments to segments() to be
an error. I would like R to allow this and to return without an
error. It occurs naturally in settings like
valid <- c(FALSE, FALSE, FALSE)
segments(x0[valid], y0[valid], x1[valid], y1[valid])
For what it may be worth, S-Plus does not consider zero-length
arguments to segments() be...
2007 Apr 18
3
[PATCH 1 of 1] x86_64: Put .note.* sections into a PT_NOTE segment in vmlinux
This patch updates x86_64 linker script to pack any .note.* sections
into a PT_NOTE segment in the output file.
To do this, we tell ld that we need a PT_NOTE segment. This requires
us to start explicitly mapping sections to segments, so we also need
to explicitly create PT_LOAD segments for text and data, and map the
sections to them appropriately. Fortunately, each section will
defaul...
2013 Jan 10
2
transparency in segments()
Dear all,
i would like to plot each value from my datasets as segment with defined
transparency
However, I didnt find out how to set the transparency.
definition by "col=" in par() or segments() doesnt seem to work
any suggestions?
Thanks in advance.
Kind regards,
Robert Pazur
example code:
xx2 <-read.table("http://www.scandinavia.sk/data/R/0_05.c...
2013 Apr 08
2
Does ogg segments include more than one Vorbis frame
Hi, Guys:
Does anybody know is it allowed for the OGG segment including more
than one Vorbis frame? Or should I consider about that?
I am working on OGG+Vorbis player now, but met some cases that OGG
segment includes some garbage bytes after one Vorbis frame, I want to know
whether it's safe if I just drop the left bytes after decoding one Vorbis
fr...
2002 Dec 05
2
Problems with segments and multiple graphs
I would like to create a page of two graphs (2 rows by 1 col) and then
draw vertical lines (segments?) on both graphs from the minimum
values to the corresponding maximum value.
So I have tried
#
> y <- rnorm(3000)
> par(mfrow=c(2,1))
> plot(y,type="l")
> plot(cumsum(y),type="l")
> segments(1000,min(cumsum(y)),1000,max(cumsum(y)))
> par(mfg=c(1,1))
>...
2012 Mar 01
2
Help with segmented package
Hi everyone.
I'm using segmented package to find break point in a bi-linear relationship.
In a particular case, I find 1 pointcut (so 2 slopes).
I would like to know if it is possible to retrieve information in the
segmented object that could let me to plot 1 particular segment with a
different color.
For example, in that folo...
2013 Jun 03
2
[LLVMdev] LLVM/Clang research questions
Hi Duncan,
Are the segmented stacks actually on separate memory segments? My intended
purpose for placing different datatypes on separate stacks is such that
memory accesses to one datatype won't be allowed to overflow to another
datatype.
If they aren't, in fact, on separate memory segments, are you aware of a
way...
2002 Sep 06
1
Compile error on Solaris Sparc
...k.
Basically the error is:
gcc -c -I. -I. -I../../include -I../../include -g -fPIC -D__WINE__
-D_ADVAPI32_ -D_REENTRANT -I/usr/openwin/include -o advapi32.spec.o
advapi32.spec.c|head
/var/tmp//ccoHmkfo.s: Assembler messages:
/var/tmp//ccoHmkfo.s:6377: Error: operation combines symbols in different
segments
/var/tmp//ccoHmkfo.s:6378: Error: operation combines symbols in different
segments
/var/tmp//ccoHmkfo.s:6388: Error: operation combines symbols in different
segments
/var/tmp//ccoHmkfo.s:6389: Error: operation combines symbols in different
segments
/var/tmp//ccoHmkfo.s:6399: Error: operation combi...