Displaying 20 results from an estimated 68 matches for "variable_names".
Did you mean:
variable_name
2007 Nov 15
4
Using .find_by_sql for database/admin queries
I want to create an internal admin view to display the output of "show
variables" from mysql. What''s the best approach do this?
For example, I''m doing something like this:
@variables = ActiveRecord::Base.find_by_sql "show variables;"
Then, I get stuff like this back (227 elements in @variables) in
script/console:
>> @variables[0]
=>
2010 Jun 24
7
Yet more variable scoping pain.
Some days I wonder why I even bother with puppet.
---
classes:
- datacentre::new_york
- role::appserver
- elements::tfel0
environment: production:
parameters:
< set key/value pairs here >
class ldap {
< do some stuff that behaves slightly differently between different
data centers >
}
class role::appserver {
include ldap
}
So, I wanted to set some variables in the
2008 Apr 14
1
Initialize many variables to NUL, check whether an object exist
Hi,
Two questions:
A) I need to initialize many variables to NULL. So I created variable_names
<- c("a1", "a2"). What can I do to variable_names so that variable a1 is
NULL and a2 is NULL ?
B) How can I check whether an object exist ?
Thanks
Stanley
[[alternative HTML version deleted]]
2016 Aug 31
6
RFC: FileCheck Enhancements
> On Aug 24, 2016, at 4:46 PM, Vedant Kumar via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>>
>> On Aug 24, 2016, at 2:04 AM, Elena Lepilkina <Elena.Lepilkina at synopsys.com> wrote:
>>
>> Hi all,
>>
>> Some discussions and comments were made in reviews. Much time has already passed since last comment and uploading changed patches. I
2010 Sep 20
5
Update to website not printing special Characters
I thought you might be interested in how far I have got with solving
my problem with MySql(via phpMyAdmin) to website character_set
problems.
I thought I had solved the problem when my characters on my website
started showing the special characters.
This was a partial success though.
When I went back to phpMyAdmin and entered new text the problem was
the same, but reversed. What now happens is
2016 Aug 24
9
RFC: FileCheck Enhancements
Hi all,
Some discussions and comments were made in reviews. Much time has already passed since last comment and uploading changed patches. I made small summary report about features here, because there are some doubts about syntax of some features and changes in patches and it'll be great to know more opinions.
1. FileCheck Enhancement - CHECK-WORD (https://reviews.llvm.org/D22353)
I replace
2016 Sep 01
2
RFC: FileCheck Enhancements
I wanted to start making some change. But I thought and I don't understand why it's necessary to add @.
// RUN: FileCheck %s
// CHECK-DEFINE-PATERN: register(n): {{[a-z]+}}n
// CHECK: %[[register("1")]]
// CHECK-SAME: %[[register("2")]]
// CHECK: %[[register("1")]]
// CHECK-SAME: %[[register("2")]]
This example will be equivalent to
// RUN:
2010 May 24
5
how to pass javascript variable to controller
i have a JavaScript variable and i need to pass that to controller
with the remote_function method.
how do i pass this?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2016 Sep 01
2
RFC: FileCheck Enhancements
Yes, I now understand what you suggested.
> CHECK-DEFINE-PATTERN: car(make, model, year): {{Found a }} make model {{, from }} year
But I think that in pattern I should show that I use parameter. I thought that patterns can also be simple strings. All strings should be regexs in pattern and parameters can't be used in pattern in your example. But I want to use parameters in regexs. For
2016 Sep 05
2
RFC: FileCheck Enhancements
Ok, when I change syntax I will load new patch.
Thanks,
Elena.
-----Original Message-----
From: vsk at apple.com [mailto:vsk at apple.com]
Sent: Thursday, September 01, 2016 9:38 PM
To: Elena Lepilkina <Elena.Lepilkina at synopsys.com>
Cc: Mehdi Amini <mehdi.amini at apple.com>; llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] RFC: FileCheck Enhancements
It is necessary to be
2007 Dec 05
4
render :update and controller private methods
Probably asked and answered, but...
Why are controller private methods inaccessible inside the block
passed to render :update ?
This does not work:
class MyController < ApplicationController
def some_action
render :update do |page|
page.replace_html ''an_element'', some_private_method
end
end
private
def some_private_method
return
2007 Oct 26
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c
libswfdec/swfdec_as_context.c | 11 +
libswfdec/swfdec_as_context.h | 2
libswfdec/swfdec_as_interpret.c | 228 +++++++++++++++++++++++++++++++++++++++-
3 files changed, 238 insertions(+), 3 deletions(-)
New commits:
commit a599de99164b86347df25cd615d6287487878c3e
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Oct 27 00:26:04 2007 +0300
Add some comments to Try
2016 Jul 19
2
RFC: FileCheck Enhancements
Hi Elena,
> On Jul 19, 2016, at 6:36 AM, Elena Lepilkina via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi all,
>
> I made new patches for most of changes with llvm-commits subscriber. But two patches were updated, because there are a lot of comments (patch for CHECK-WORD and patch for templates pattern). Will it be ok?
IMO it's fine to keep some of the original
2012 Jul 25
2
reshape -> reshape 2: function cast changed?
Hi,
I used to use reshape and moved to reshape2 (R 2.15.1). Now I tried some of my older scripts and was surprised that my cast function wasn't working like before.
What I did/want to do:
1) Melt a dataframe based on a vector specifying column names as measure.vars. Thats working so far:
dfm <- melt(df, measure.vars=n, variable_name = "species", na.rm = FALSE)
2) Recast the
2015 Mar 12
2
mysql replication - problems
>
> No: /etc/pki/CA should NOT be group writeable. Ditto for
> /etc/pki/tls/cernts and private
Ok, yeah I can understand that. I'll correct it. Still need a way to get
SSL enabled however. Any suggestions there?
Thanks
Tim
On Thu, Mar 12, 2015 at 11:40 AM, <m.roth at 5-cent.us> wrote:
> Tim Dunphy wrote:
> >>
> >> The mysqld process runs as the mysql
2006 Mar 13
5
Displaying related entries by tags - HELP!
Ok, my site is setup like pretty much every other blog out there. A
list of the most recent 5 posts, then by clicking one, you go to an
individual post page, displaying the full context of that post.
Now, what I would like to do is to display the related entries in the
side column, which is part of the layout, based on the tags belonging to
that specific entry.
Here''s my coding so
2006 Apr 06
1
Application and Server variables
Hi all,
Just as we use session variables like session[:variable_name], I
would like to know if we have some way to express an application
variable or are application variables are existent in Ruby on rails.
Thanks and regards..
prasad
--
Posted via http://www.ruby-forum.com/.
2008 Apr 22
1
bar-chart help
Hi,
I have a table like below outside R environment
Varible_Name
Labels
Bad_Percent
Good_Percent
Var1_Postal_Code_Availibility
1
0,149367931
0,850632069
0
0,19709687
0,80290313
Variable_Name column contains a single entry, the variable name, this is
the title of the graphic
I want to plot a barchart Bad_Percent (blue) versus Good_Percent (red)
within each Label
Thanks a lot
2007 Aug 16
0
call R function in c++ program
Hi all
I don't know if my message are correct in this forums.
I create a program in c++ who use statistical function. I want to execute
this function in R (in particular for use packages ade4, lattice,
bioconductor...)
Until now, my program work for simple function ("plot", "rnorm"...) but I
can't use library
My class are :
// in constructor
int argc = 1;
2017 Jun 18
2
About error bars on barplots
Hi R users,
I have a question about adding uncertainty bars to stacked bar plots.
DF:
year A B C Amin Amax Bmin Bmax Cmin Cmax
2009 40 45 15 30 61 23 56 14 17
2010 36 41 23 26 54 22 51 22 24
I use the code below:
DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend')
fig1 =