search for: other2

Displaying 5 results from an estimated 5 matches for "other2".

Did you mean: other
2009 Dec 11
4
extracting vectors from lists of lists
...tions a list of various values, vectors and matrices. Supposing that I then run said simulation several times, I often want to extract a particular result from each simulation for plotting and, ideally, put it in a matrix. A simple example v1 <- 1:5 v2 <- 6:10 other1 <- "stuff" other2 <- "stuff" set1 <- list(v1,other1) names(set1) <- c("vec","other") set2 <- list(v2,other2) names(set2) <- c("vec","other") output <- list(set1, set2) Is there some form of lapply() that will allow me to extract v1 and v2 (ie, t...
2006 Sep 19
5
Recommendations for organizing hosts into groups?
I have a few different groupings of hosts, and I am wondering what is the best way to organize the node configuration for them. I have a few machines that are VMware hosts, a bunch of VMware guests, and the main admin server which runs a bunch of stuff like puppetmasterd. I''ve got a bunch of classes/*.pp which define configuration for sudo, yum, java, etc. Right now I just have
2013 Mar 11
0
Any interest in various features from "schema_plus" gem?
...index: true # shorthand to define index on the column. t.string :column, index: :unique # shorthand to define a unique index t.string :column, index: { name: "myname", unique: true } # hash for detailed options t.string :column, index: { with: [:other1, :other2] } # supports multi-column indexes t.string :column, index: { conditions: ''deleted_at IS NULL'' } # support for Postgresql conditions, expression, index methods, case-insensitive Foreign-key constraints: t.integer :post_id, foreign_key: true...
2018 Dec 04
2
asterisk is not seeing my queues in database
I enabled the logs on the mysql database and ran : realtime load queues name cou0002-test in the mysql log I can see that the proper select statement is being executed: 2018-12-04T16:29:27.253094Z 229 Query SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED 2018-12-04T16:29:27.254384Z 229 Prepare SELECT * FROM queues WHERE name = ? 2018-12-04T16:29:27.254902Z 229
2006 Feb 21
6
How to sum values across multiple variables using a wildcard?
I have a dataframe called "data" with 5 records (in rows) each of which has been scored on each of many variables (in columns). Five of the variables are named var1, var2, var3, var4, var5 using headers. The other variables are named using other conventions. I can create a new variable called var6 with the value 15 for each record with this code: > var6=var1+var2+var3+var4+var5