Displaying 20 results from an estimated 228 matches for "shallow".
2012 Sep 11
4
Maintaining specific order when using aggregate or change order on axis
...Below 0.178 1.360 1.210 2.748
188 Coral 1402 Surface 0.231 4.140 3.670 8.041
189 Coral 1402 Fmax 0.863 4.340 3.750 8.953
190 Coral 1402 Below 0.176 0.386 0.214 0.776
So I use the same code for the six other seamounts. The depth has
the following values surface, shallow, deep, fmax and below . These are in
order as you go down the water column. The problem is when I use the *coral
<- with(Coral , aggregate(cbind(Pico, Nano, Micro), list(Depth),FUN=mean)) *the
depth values gets stored in ascending values.
head(coral)
Group.1 Pico Nano Micro
1...
2011 May 10
1
Reference Classes copy(shallow=FALSE) unexpected behavior.
...I strongly felt the need of such
capability. It''s great to have the Reference Classes now available. Along
with the discovery of the Rcpp package, this new programming paradigm has
boosted my interest in rewriting that package.
Nevertheless, I have found a surprising behavior in the $copy(shallow=FALSE)
method. Let''s have a look at the results which I believe are
self-explanatories. The ".Data" field is a list which contains objects from
the "Con" class ---connections for what is worth---.
> p$copy(shallow=FALSE) -> k
> p$.Data
[[1]]
An object of clas...
2008 Jun 13
1
shallow over http or ftp not supported
I am trying to install a custom plugin in my Rails app:
script/plugin install http://git.eyequeue.net/plugins/mt_capistrano.git
Instead of installing the plugin, I get the following error:
shallow over http or ftp not supported
Any ideas on how to fix this? Is it OK to do a git clone in my vendor/
plugins directory?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post...
2014 Sep 30
2
Shallow copies
I have a question about shallow copies in R. Since R 3.1.0, subsetting
a dataframe with respect to its columns no longer result in deep
copies. This is an amazing change in my opinion. Now, subsetting a
data.frame by rows (or subsetting a matrix by columns or rows) still
does deep copies. In particular, it is my understanding tha...
2011 Feb 16
0
[elflink] _root_.c32 shallow ELF module
Hi,
I'm trying to figure out how to link against symbols from the core com32
shallow module at runtime. I see references to _root_.c32
(EXEC_ROOT_NAME) in com32/lib/sys/module/exec.c, but can't find where
this module is created in the build infrastructure, if indeed it is
created at all.
Does anyone have any pointers?
2010 Mar 24
0
form_for with nested shallow route
Let''s say I have:
map.resources :teams do |team|
team.resources :squads, :shallow => true
end
When I want to generate a form_for a squad, I need both the team and
squad for new/create, but only the squad for edit.
This means I need:
edit:
form_for(squad)
new:
form_for([team, squad])
This seems not very dry. Is there a more idiomatic way of doing this?
Right now, I...
2010 Jul 03
1
deep vs. shallow directory structure
Hi all,
I am using rsync to sync a directory tree of ~2 million files. I am using
rsyncrypto with filename encryption to encrypt the files before syncing.
When encrypting filenames, rsyncrypto assigned each file a filename which is
made of hex digits. It also has the option to put the files in directories,
where the location of the file is determined by the file's name and a
parameter
2011 Nov 28
0
extend validObject to validate any object (shallow and deep validation)
Hi,
It would be nice if there was a tool for checking the validity of any
object. validObject() is of course the natural candidate for this but
right now it doesn't work on S3 objects:
df <- data.frame(aa=1:4, bb=letters[4:1])
attributes(df)$row.names <- c("A", "B", "C", "A")
'df' is an invalid data frame instance:
> df
2010 Mar 07
1
duplicate STRSXP : shallow copy ?
Hello,
As this little program illustrates, duplicating a STRSXP does not seem
deep enough.
require( inline )
fx <- cfunction( signature( x = "character"), '
SEXP y = PROTECT( duplicate( x ) );
int n = LENGTH(x);
int nc = 0 ;
char* p = 0 ;
for( int i=0; i<n; i++){
p = (char*)( CHAR( STRING_ELT( y , i ) ) );
nc = strlen( p ) ;
for( int j=0; j<nc; j++){
p[j] =
2014 Aug 25
2
[PATCH envytools] Fix range end to the last value of timing table.
---
nva/set_timings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nva/set_timings.c b/nva/set_timings.c
index 7376486..985a707 100644
--- a/nva/set_timings.c
+++ b/nva/set_timings.c
@@ -506,7 +506,7 @@ shallow_dump(struct nvamemtiming_conf *conf)
if (conf->range.start == (unsigned char) -1)
conf->range.start = 0;
if (conf->range.end == (unsigned char) -1)
- conf->range.end = conf->vbios.timing_entry_length;
+ conf->range.end = conf->vbios.timing_entry_length-1;
fprintf(s...
2013 Feb 01
1
Migrate VM's to different storage pool?
I am searching for directions for using live block migration to copy
running vm's to a different storage pool.
Example: VM1 running on Host1, the image(s) for VM1 are stored in
/var/lib/libvirt/images. I'd like to copy the disk image(s) that VM1
is using to /nfs/images. Without stopping/pausing/powering down the
VM.
Do you have any examples or documentation of how to accomplish this
2015 Jan 16
3
How do you force a VM reboot (when its KPd etc) without interrupting a blockcopy?
My question is this:
If you have an ongoing blockcopy (drive-mirror) of a running transient VM, and the VM kernel panics, can you restart the VM without interrupting the ongoing blockcopy?
A virsh reboot won't work since if the VM is kernel panicked, its not going to respond to ACPI requests.
2006 Mar 02
1
Apache ModRewrite
...hich you list
modrewrite rules is the order in which they are processed within a
.htaccess file? It does work, but I want to know that it always works.
Basically, I have some multiple wildcard rules, where directories can't
be hard coded and as it goes deeper into the directories, the more
shallow levels interfere with the deeper levels.
Thanks,
John Hinton
2006 Sep 21
2
[LLVMdev] Cloning Function-objects
Hi,
What's the best way to clone a Function (deep copy, not shallow)?
Apparently only Instruction-classes feature a clone()-method, and
there is no dedicated copy constructor/operator= for Function either.
Kind regards,
Bram Adams
GH-SEL, INTEC, Ghent University
2018 Dec 12
2
RFC: LoopIDs are not identifiers (and better loop-parallel metadata)
...sewhere) that depends on LoopIDs'
> > first item, i.e. we cannot get rid of it that easily.
>
> I don't think it's worth changing this first element, unless we have
> some other reason to do so.
Would it be worthwhile to update the metadata uniquing algorithm to
consider shallow self-references?
Michael
2012 Dec 03
2
How to make the cell background of a table informative?
I wish to create a table in which the foreground is a number (abundance) but
the background is a visual representation of a ratio (shallow:deep). In
other words, the background of each cell of the table would be two colours
or patterns set in a similar fashion to a stacked bar in a bar graph based
on a secondary parameter/vector.
The table will be extensive (15 by 30) and so I don't want to have to enter
the values for each cell...
2018 May 10
2
Migrating the llvm-emacs mode to a separate git repository
Another crazy idea – can mepla use shallow clone / sparse checkout?
Will it speed up all the things?
On Fri, May 11, 2018 at 1:18 AM, Justin Bogner via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Jaseem Abid via llvm-dev <llvm-dev at lists.llvm.org> writes:
>> Hello llvm devs,
>>
>> Melpa[1] is pretty mu...
2004 Dec 09
2
Peak finding algorithm
...ht I'd ask to
see what's out there.
Basically, I have a 2-dimensional data set and I want to identify local
peaks in the data, while ignoring "trivial" peaks. My naive algorithm
first identifies every peak and valley (point of inflection change in
the graph), then shaves off shallow peaks and valleys based on an
arbitrary depth parameter, then returns whatever is left. This
produces decent results, but, again, I'd like to know what other
implementations are available.
(* source available on request)
2013 Jun 10
1
Re: virsh snapshot-create and blockcopy
Am 10.06.13 10:40, schrieb Kashyap Chamarthy:
> On 06/10/2013 01:20 PM, Thomas Stein wrote:
>> Am 10.06.13 09:07, schrieb Kashyap Chamarthy:
>>> On 06/09/2013 02:46 PM, Thomas Stein wrote:
>>>> Hello.
>>>>
>>>> I just tried the following:
>>>>
>>>> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
2007 Oct 16
2
Load testing methodologies/tools
I tried a bunch of tools and ended up using Jakarta J-Meter b/c it
works cross-platform (Unix/Windows in my situation) and has a gui which
shallows the learning curve. I''ve been quite satisfied with it..
Search the archives on this list and you should be able to find some
great info Zed and others wrote a while back on How to Load Test
Correctly. I found that series of posts to be pretty helpful in testing
Mongrel/Rails. IIRC, ab...