search for: reflection

Displaying 20 results from an estimated 6673 matches for "reflection".

2010 Sep 19
1
help interpreting a model summary
...so. Anyway, I've just build up a piecewise linear model to fit some data, including some interaction and i am not sure of how to interpret the summary:. here it is: -------------------------------------------------------------------------------- Call: lm(formula = weightedDiff ~ angleNoise + (reflection < Break[xMin]) * reflection + (reflection >= Break[xMin]) * reflection + angleNoise:(reflection < Break[xMin]) * reflection + angleNoise:(reflection >= Break[xMin]) * reflection) Residuals: Min 1Q Median 3Q Max -1.073e-03 -1.749e-04 -5.913e-...
2011 Jul 26
3
[LLVMdev] Linking opaque types
On Jul 25, 2011, at 10:58 PM, Talin wrote: > To handle the fact that types do not (and can not, at least as long as we intend to support obscure languages like "C" :) have linkage, the the linker uses a "best effort" approach. It attempts to merge types and rewrite IR to use the merged types where it can, but it doesn't make any guarantees. > > I want to add an
2019 Sep 28
0
[PATCH nbdkit v2 2/4] Rename nbdkit-reflection-plugin to nbdkit-info-plugin.
See commit 2a29634aa0589037b5625032097a3a2f7b1d5c7d and https://www.redhat.com/archives/libguestfs/2019-September/msg00366.html --- configure.ac | 4 +- plugins/data/nbdkit-data-plugin.pod | 2 +- plugins/{reflection => info}/Makefile.am | 20 ++++----- .../{reflection/reflection.c => info/info.c} | 42 +++++++++---------- .../nbdkit-info-plugin.pod} | 38 ++++++++--------- plugins/memory/nbdkit-memory-plugin.pod | 2 +- tests/Makefile.am | 20 +++...
2019 Sep 15
0
[PATCH nbdkit 4/4] reflection: Enhance plugin to support client address mode.
--- .../reflection/nbdkit-reflection-plugin.pod | 23 ++++- plugins/reflection/reflection.c | 88 +++++++++++++++++++ tests/Makefile.am | 2 + tests/test-reflection-address.sh | 63 +++++++++++++ 4 files changed, 174 insertions(+), 2 deletions(-) diff --git a...
2019 Sep 28
0
[PATCH nbdkit 2/2] reflection: Add mode for reflecting server time.
Either wallclock time, uptime or time since client connection can be reflected back to the client in a big endian binary structure. $ nbdkit reflection time --run 'nbdsh --connect $uri -c "sys.stdout.buffer.write(h.pread(12,0))" | hexdump -C' 00000000 00 00 00 00 5d 8f 24 c7 00 04 24 01 \ | / / $ date --date="@$(( 0x5d8f24c7 ))" Sat 28 Sep 10:15:51 BST 2019 $ nbdkit reflection uptime...
2019 Sep 28
2
[PATCH nbdkit 1/2] common/include: Add function for subtracting struct timeval.
--- common/include/test-tvdiff.c | 75 +++++++++++++++++++++++++++++------- common/include/tvdiff.h | 13 ++++++- 2 files changed, 74 insertions(+), 14 deletions(-) diff --git a/common/include/test-tvdiff.c b/common/include/test-tvdiff.c index 9cbcfc0..abefb2e 100644 --- a/common/include/test-tvdiff.c +++ b/common/include/test-tvdiff.c @@ -36,7 +36,6 @@ #include <stdlib.h> #include
2019 Sep 15
13
[PATCH nbdkit 0/4] Reflection plugin, peer name.
.../libguestfs/2019-September/thread.html#00103 This series adds a fun plugin, and also an semi-related feature I've long thought to be desirable. You can consider patches 1 & 4, and patches 2 & 3 as forming standalone patch series (but they do depend on each other). The fun plugin is a reflection plugin which "reflects" client information back to the client. We have a few fun plugins like this (hello there, nbdkit-full-plugin) and normally I would push these without review, but in this particular case there's a specific danger that sending back data under control of the clien...
2019 Sep 16
2
Re: [PATCH nbdkit 4/4] reflection: Enhance plugin to support client address mode.
On 9/15/19 9:55 AM, Richard W.M. Jones wrote: > --- Short commit message; at a minimum, I'd probably at least mention that we thought about potential security issues, and didn't see how it could be abused. > .../reflection/nbdkit-reflection-plugin.pod | 23 ++++- > plugins/reflection/reflection.c | 88 +++++++++++++++++++ > tests/Makefile.am | 2 + > tests/test-reflection-address.sh | 63 +++++++++++++ > 4 files changed, 174 insertions(+), 2 deleti...
2019 Sep 15
0
[PATCH nbdkit 1/4] Add reflection plugin.
...mes 510-($-$$) db 0 ; boot signature db 0x55,0xaa --- configure.ac | 2 + docs/nbdkit-plugin.pod | 2 + plugins/data/nbdkit-data-plugin.pod | 1 + plugins/memory/nbdkit-memory-plugin.pod | 3 +- plugins/reflection/Makefile.am | 64 +++++ .../reflection/nbdkit-reflection-plugin.pod | 104 +++++++ plugins/reflection/reflection.c | 265 ++++++++++++++++++ tests/Makefile.am | 8 + tests/test-reflection-base64.sh | 98 +++++++ tests/test...
2006 Aug 23
5
negatively skewed data; reflecting
...hat you first need to reflect the negatively skewed data and then apply another transformation such as log, square root etc to bring it towards normailty. How is it that I reflect data in R? I'm sorry if this seems a very simple task, I think it involves going back to Maths GCSE and relearning reflection, rotation, translation etc! I have searched the internet, but cannot come up with anything useful on how to reflect data. > hist(Lsoc) #how do I reflect Lsoc in R? I am grateful for any help regarding this matter, it is just a very small part of my analysis and doesn't seem worth agonisi...
2006 Jan 06
0
bug rails activerecord association join
hi, I found a bug in ActiveRecord association SQL INNER JOIN codes. in has_many, has_one, habtm and belongs_to queries the foreign key is determined from the table name of reflection and self. but that''s worng because if you use a global prefix or suffix for your tables the foreign keys will be in format of PREFIX_CLASSNAME_SUFFIX_id which is wrong, because it breaks the advantage of changing the prefix and giving it a go without chanigng any field names.. on the other...
2019 Sep 28
9
[PATCH nbdkit v2 0/4] info: Add mode for sending back server time.
v1 was: https://www.redhat.com/archives/libguestfs/2019-September/thread.html#00361 v2: - Adds a patch to rename the reflection plugin to the info plugin. - Adds tests. Rich.
2011 Sep 30
1
Implementing Silverman's Negative Reflection
Hi! I'm trying to implement in R in an easy way the negative reflection method described in Silverman (1986) on p.31, ie I have a non-negative dataset and would like to estimate the density by applying a reflection method where the reflected points have weight -1. I thought there should be a way to evaluate the wanted kernel at the required points, in other words to ca...
2019 Sep 15
0
Re: [PATCH nbdkit 0/4] Reflection plugin, peer name.
On Sun, Sep 15, 2019 at 03:55:41PM +0100, Richard W.M. Jones wrote: > - Plugins could change content based on client. (The fourth patch in > the series is a PoC of this implemented in the new reflection > plugin.) Be cautious about combining this feature with multi-conn > as it's not obviously always safe to do. Given this commit, I guess we should squash in the following to the 4th patch: diff --git a/plugins/reflection/reflection.c b/plugins/reflection/reflection.c index a0d7c...
2006 Apr 19
2
Using Reflections to find out ActiveRecord class association
I want to find out what are the associations with another active record class. So If my class is as below: Class Component < ActiveRecord::Base has_many :branches end class Branch < ActiveRecord::Base belongs_to :component end and then I do Component.reflections[:branches].active_record I would expect that to be Branch but it is in fact Component. The inspection of Component.reflections is as below {:branches=>#<ActiveRecord::Reflection::AssociationReflection:0x37d86d8 @active_record=Component, @primary_key_name="component_id", @opti...
2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
...has_one :through I had setup. (Workaround is just to remove it and go through the association manually vs has_one ..., through: .) Not a big deal if no one has time to look at it, as it''s not a big enough deal to look into a fix on our side. In Rails (3.2.9) console if I do: MyModel.reflections.each {|name,reflection| reflection.class_name } it raises: NoMethodError: undefined method `klass'' for nil:NilClass from /path/to/rvm/gems/ruby-1.9.3-p194@my_project/gems/activerecord-3.2.9/lib/active_record/reflection.rb:385:in `block in source_reflection'' from /pat...
2004 Aug 06
3
Please confirm your message
Hello, this is the mailing list anti-spam filter at Xiph.Org. We need you to confirm your e-mail message with the subject of "subscribe". Please send a message to the following address, or simply use your mailer's "Reply" feature. icecast+confirm+1076405509.4977.3d207b@xiph.org Rather than allow only list subscribers to post to Xiph.Org mailing lists,
2012 Jan 11
1
Inconsistencies in device_Raster when axes are reflected
I noticed some undocumented and inconsistent behavior in device_Raster when a plot is produced with reflected axes such as: image(volcano, xlim = c(1,0), useRaster = TRUE) image(volcano, ylim = c(1,0), useRaster = TRUE) The `pdf` device will perform horizontal and vertical reflections, while `quartz` will ignore the transformations when plotting to the screen, but when plotting to a file, `quartz(file = 'test.pdf', type = 'pdf')`, it will produce horizontal reflections and ignore vertical ones. When the `xlim` or `ylim` is reversed, negative widths and heights...
2005 Dec 29
3
Maintaining DB reflection without scaffolding
Hi, I would like to know if there is a way to maintain database reflection for the ''new'' and ''edit'' views whilst removing scaffolding? I''m trying to create a webapp that will be somewhat maintainable by colleagues (that aren''t necessarily web developers) through simple manipulation of db table fields. For example to...
2006 Jun 08
3
Relationship and reflection
Hello, I have a question. I would like to know if there is a way with the reflection and respond_to? to know if there is a relationship between tables. When I say that I mean if inside a model there is a Has_many or belongs_to declaration. Because I try to get this information dynamically, during the execution of a script. If someone has an idea even if it''s not with...