Displaying 20 results from an estimated 1000 matches similar to: "function that load variables"
2012 Aug 19
1
moving distance between two sets of data
On the surface this seems pretty simple, but I flummoxed. I have two sets of numbers they bounce around zero, positive one and negative one. They have a relationship between them, where one diverges away from the other. I want create a second set of numbers that tracks that divergence.
#Lets make some data like mine, kinda
Firstset <- runif(100, min = -1 , max =1)
Secondset <- runif(100,
1999 Aug 23
1
Strange 'Unimplemented feature in rep' error (PR#254)
I have a large computation that performs various bootstrap resampling
loops over pairs of samples using lapply().
After a few seconds it stops like this
> do.summarize.effects(compute.power=T)
...
Error: Unimplemented feature in rep
> .Traceback
[[1]]
[1] "rep(no, length = length(ans))"
[[2]]
[1] "ifelse(t.howto == \"n\", boot.result, l.meanboot.test(onew.x,
2007 Oct 26
1
Custom method in Application Controller
Hi All,
I took this idea Christian Hellsten and Jarkko Laine''s "Beginning Ruby
on Rails E-Commerce".
Here is the situation. I will be using the
"options_from_collection_for_select" and "collection_select" form helper
methods in my view to render drop-down selection lists for City and
State that have corresponding city_id and state_id foreign key
references
2015 Oct 26
1
[PATCH 4/4] nouveau/debugfs: add interface for current load
On Mon, Oct 26, 2015 at 2:13 PM, Karol Herbst <nouveau at karolherbst.de> wrote:
> From: Karol Herbst <git at karolherbst.de>
>
> ---
> drm/nouveau/include/nvif/device.h | 1 +
> drm/nouveau/include/nvkm/subdev/pmu.h | 10 ++++++++++
> drm/nouveau/nouveau_debugfs.c | 23 +++++++++++++++++++++++
> drm/nouveau/nvkm/subdev/pmu/base.c | 18
2007 Feb 14
2
File into database migration
Hi,
I am trying to figure out an approach to load in our initial data into our
database.
I have written some load_data migrations which populate a lot of the stuff,
how some of the database
items are images etc and I am trying to figure out how to approach added
them to the database
during a rake db:migrate
I am thinking if I store the files in a folder off the RAILS_ROOT I should
be able to
2015 Oct 26
0
[PATCH 4/4] nouveau/debugfs: add interface for current load
From: Karol Herbst <git at karolherbst.de>
---
drm/nouveau/include/nvif/device.h | 1 +
drm/nouveau/include/nvkm/subdev/pmu.h | 10 ++++++++++
drm/nouveau/nouveau_debugfs.c | 23 +++++++++++++++++++++++
drm/nouveau/nvkm/subdev/pmu/base.c | 18 ++++++++++++++++++
4 files changed, 52 insertions(+)
diff --git a/drm/nouveau/include/nvif/device.h
2015 Oct 26
0
[PATCH v2 4/4] nouveau/debugfs: add interface for current load
From: Karol Herbst <git at karolherbst.de>
v2: optimize macro and fixed data array type
---
drm/nouveau/include/nvif/device.h | 1 +
drm/nouveau/include/nvkm/subdev/pmu.h | 10 ++++++++++
drm/nouveau/nouveau_debugfs.c | 23 +++++++++++++++++++++++
drm/nouveau/nvkm/subdev/pmu/base.c | 18 ++++++++++++++++++
4 files changed, 52 insertions(+)
diff --git
2015 Oct 26
0
[PATCH v3 4/4] nouveau/debugfs: add interface for current load
From: Karol Herbst <git at karolherbst.de>
v2: optimize macro and fixed data array type
v3: fix bug I added in the last version
---
drm/nouveau/include/nvif/device.h | 1 +
drm/nouveau/include/nvkm/subdev/pmu.h | 10 ++++++++++
drm/nouveau/nouveau_debugfs.c | 23 +++++++++++++++++++++++
drm/nouveau/nvkm/subdev/pmu/base.c | 18 ++++++++++++++++++
4 files changed, 52
2006 Jul 21
1
Capistrano before and after tasks
I try to extend db:test:copy_structure task to poulate test database
with some existing data everytime i run it.
It seems that "after_" task is not called as should be:
> namespace :db do
> namespace :test do
> task :after_clone_structure do
> puts "after_clone_structure_to_test"
> end
> end
> end
Anyone know what I am doing wrong?
2015 Oct 26
9
[PATCH 0/4] Add pdaemon load counters
this series makes use of the load counters we can use to get information about
the current load of the gpu.
This series includes the needed pmu bits and a debugfs interface to read them
out. Currently the values are between 0 and 255, because it is much easier to
implement it this way on the pmu.
Karol Herbst (4):
subdev/pmu/fuc: add gk104
pmu/fuc: add macros for pdaemon pwr counters
2012 Jun 05
0
Memory leak during instantiation of a reference class?
Hi,
I have a problem with a large data set wrapped in a reference class. I do that to access the data by reference from within various functions in a script.
# The class definition:
setRefClass("data",
fields = list(h5_df = "list",
training_data = "array",
2006 Jun 05
2
Simple Rake question
Newbie question but here goes:
Isn''t rake supposed to automatically search the lib/tasks subdirectory for Rake files/tasks?
I have a task called "do_this.rake" in file foo.rake in lib/tasks/rails - how do I invoke it from the command line in the root directory of my Rails application?
Presuming I have a file called "Rakefile" in the root directory of my Rails
2016 Feb 08
4
[PATCH 0/4] PMU engine counters
these are usually used for dynamic reclocking on gt215 and newer
The counters are used to get the load of the core, memory, video and pcie loads
currently I expose the loads through a debugfs "current_load" file, but I want
to move that to nvif and just add a wrapper around that in debugfs for
convenience
Anyway there are still some issues I would like to discuss:
1. currently the
2016 Feb 16
4
[PATCH v2 0/4] PMU engine counters
these are usually used for dynamic reclocking on gt215 and newer
The counters are used to get the load of the core, memory, video and pcie loads
currently I expose the loads through a debugfs "current_load" file, but I want
to move that to nvif and just add a wrapper around that in debugfs for
convenience. Using nvif would have the advantage, that userspace tools can
easily get loads
2012 Mar 02
0
devtools 0.6
# devtools
The aim of `devtools` is to make your life as a package developer
easier by providing R functions that simplify many common tasks.
Devtools is opinionated about how to do package development, and
requires that you use `roxygen2` for documentation and `testthat` for
testing. Future version will relax these opinions - patches are
welcome! You can track (and contribute to) development of
2012 Mar 02
0
devtools 0.6
# devtools
The aim of `devtools` is to make your life as a package developer
easier by providing R functions that simplify many common tasks.
Devtools is opinionated about how to do package development, and
requires that you use `roxygen2` for documentation and `testthat` for
testing. Future version will relax these opinions - patches are
welcome! You can track (and contribute to) development of
2012 Jun 20
0
Devtools 0.7
# devtools
The aim of `devtools` is to make your life as a package developer
easier by providing R functions that simplify many common tasks.
Devtools is opinionated about how to do package development, and
requires that you use `roxygen2` for documentation and `testthat` for
testing. Future version will relax these opinions - patches are
welcome! You can track (and contribute to) development of
2012 Jun 20
0
Devtools 0.7
# devtools
The aim of `devtools` is to make your life as a package developer
easier by providing R functions that simplify many common tasks.
Devtools is opinionated about how to do package development, and
requires that you use `roxygen2` for documentation and `testthat` for
testing. Future version will relax these opinions - patches are
welcome! You can track (and contribute to) development of
2013 Feb 18
8
Error with service: "invalid byte sequence in US-ASCII"
I just built a new puppet master, and whenever I run puppet on it, it
throws an error while processing a service resource:
# puppet agent -t
> Info: Retrieving plugin
> Info: Caching catalog for i-45dc2b1d
> Info: Applying configuration version ''g
> 9ea47ad19bc706a754c00f00a024309948d3ea03''
> Error: /Stage[main]/Ipa::Client::Basic/Service[sssd]: Could not
2020 Apr 28
5
[PATCH 0/1] Add uvirtio for testing
This is a way to create virtio based devices from user space. This is the
background for this patch:
We have some images works fine under qemu, we'd like to also run the same image
on Google Cloud. Currently Google Cloud doesn't support virtio-vga. I had a
patch to create a virtio-vga from kernel directly:
https://www.spinics.net/lists/dri-devel/msg248573.html
Then I got feedback from