Displaying 8 results from an estimated 8 matches for "somev".
Did you mean:
some
2006 Sep 23
1
Fitdistr() versus nls()
...col.names=c
("ttr", "cdf"), sep=":" )
allvals.x=array(t(cdf.all[1]))
allvals.y=array(t(cdf.all[2]))
library(MASS)
bestval.exp.nls=bestval.exp.fit=-1
plot(allvals.x, allvals.y)
for(it in 1:100){
#extract random samples
random=sort(sample(1:length(allvals.x), 15))
somevals.x=allvals.x[c(random)]
somevals.y=allvals.y[c(random)]
#fit with nls and fitdistr
fit.exp = fitdistr(somevals.y, "exponential")
nls.exp <- nls(somevals.y ~ pexp(somevals.x, rate), start=list(rate=.
0001), model=TRUE)
#plot what you get out of the two fits
lines(allvals.x, pex...
2007 Nov 02
2
Concatenate strings
Hi everyone.
Mandatory disclaimer: New to puppet/clueless but learning/please don''t get
fed up with me yet...
Mandatory praise: Love puppet so far...
Mandatory stupid first question:
How do I concatenate a variable to an arbitrary string?
ie.
$someval="$hostname_prod_config"
So if $hostname is "myserver", then $someval should result in
"myserver_prod_config".
I haven''t been able to find an example of this in the docs/recipes yet...
Thanks,
Ed
2015 Aug 10
3
Possible bug in adjusting PHINode from removePredecessor?
Hi,
Simple description of the problem below. I have code coming into
pruneEH as follows
fn a {
entry:
call fn b
...
for_cond:
%i = phi [1, entry] [%x, for_body]
cmp $i with someval
cond-br for_body or for_exit
for_body:
...
$x = $i + 1
branch for_cond
for_exit
...
}
PruneEH determines that the call to fn-b won't return. The code is
modified thus.
fn a {
entry:
call fn b
unreachable insn /* Instructions after call to fn-b replaced with
unreachable insn */
for_cond:...
2006 Jul 14
1
passing an entire hash to an action
Is it possible to pass the entire contents of a hash to an action via
link_to_remote?
I know that when you want to pass a value you say link_to_remote("link
name", :url => {:action=>"some action", :someName => someVal} )
This works for when you want to pass strings but I want to be able to
pass a reference to a list of models that is stored in a hash to the
action in the controller. Is this possible?
--
Posted via http://www.ruby-forum.com/.
2012 Jun 01
0
How to set the default value on a simple_form association
Folks
Im using simple_form and im able to see a selection of users from my
drop
down list but im trying to set the default value. Here is what ive tried
<%= f.association :people, :input_html => { :value => ''someval'' } %>
i want someval to be set in the selection by default. Any help would be
appreciated.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send emai...
2017 Feb 14
2
[PATCH 1/2] GCC 7: Add __attribute__((noreturn)) to some usage functions which call exit.
This happens with GCC 7.0.1. The errors were all of the form:
qemu-speed-test.c: In function 'main':
qemu-speed-test.c:153:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
usage (EXIT_SUCCESS);
^~~~~~~~~~~~~~~~~~~~
qemu-speed-test.c:155:5: note: here
default:
^~~~~~~
---
builder/index-validate.c | 2 +-
2005 Jul 12
0
(no subject)
...anagement traffic.I have enclosed a brief
connectivity diagram. The problem is when FTP is initiated within VLAN
the downloading is reduced to half, user is configured to 512 KBPS
Broadband Connection. If the vlan is removed the FTP is fine both
direct (Down & Uploading).
I feel the problem is somever in the VLAN configuration which we are
not to pinpoint the problem.
Please suggest!.
Thanx in Advance!
Regards
Supratim
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2009 Jan 06
5
Simple CDRs
...The accountcode can be set to
some default value in most channel config files, so
it has some value the moment the channel is created.
The user can modify these channel values with the
CHANNEL() func from the dialplan, as in (eg):
Set(CHANNEL(accountcode)=someval)
I propose that the last non-null value be used,
from the time-sorted list of channel events. It
*is* possible (or could be possible), that these
fields could be lost... or be reset to the default...
answer (timeval)
--- see previous discussion... This wi...