Displaying 20 results from an estimated 42793 matches for "stop".
2006 Mar 07
4
should a AR object be able to see backwards?
I have two models, Stop and Station, they relate one station to many
stops.
Stop has_one :station
Station belongs_to :stop
So I can do @station.stops, but I cant do @stop.station, is this right?
For example in the view I have:
<% for @stop in @stops %>
<tr>
<td><%= @stop.station.name %>...
2007 Apr 25
1
barchart producing incorrect number of barcharts when columns renamed
...age. The numbers without
() are the number of barcharts that I expect (and get when I don't
reset the column titles). The numbers in () are the numbers of
barcharts I get when I reset the column titles.
Not Clipped Clipped
Errs 20 (18) 71 (46)
Stops 32 (24) 46 (36)
The following is the code used to create the barcharts with sample
text output below it.
library('lattice')
rm(list=ls())
textFontSize=6;
pdf('../data/cocaineBarcharts.pdf', paper='a4')
fontsize=trellis.par.get("fontsize");...
2013 Feb 01
1
Was confused with options(error = expression(NULL)) in example(stop)
In example for function 'stop' in R, there is
options(error = expression(NULL))
with comment
# don't stop on stop(.) << Use with CARE! >>
I was interested, wanted to know how "don't stop on stop(.)" was. So, I tried it.
Typing
example(stop)
at the R prompt and pressing ENTER give this.
>...
2006 May 26
4
stopping effects, help me again please
Hi * and thanks for you responses
some body help me stop effect, just last effect.
Thanks! to somebody help me with:
Pulsator = Class.create();
Pulsator.prototype = {initialize: function(element)
{
this.stopped = false;
new Effect.Pulsate(element, { afterFinish: this.action.bind(this) });
},action: function(element){if(!this.stopped) new Effect.P...
2018 May 03
4
length of `...`
On 03/05/2018 11:01 AM, William Dunlap via R-devel wrote:
> In R-3.5.0 you can use ...length():
> > f <- function(..., n) ...length()
> > f(stop("one"), stop("two"), stop("three"), n=7)
> [1] 3
>
> Prior to that substitute() is the way to go
> > g <- function(..., n) length(substitute(...()))
> > g(stop("one"), stop("two"), stop("three"), n=7)
>...
2011 Jan 15
4
How to *completely* stop a script after stop()?
Dear expeRts,
is there a neat way to *completely* stop a script after an error occured?
For example, consider the following script:
## ==== file.R ====
for(i in 1:10){
print(i)
if(i == 5) stop("i == 5")
}
for(i in 11:100) print(i)
## ================
stop() behaves like it should namely to stop the execution of the *current*
expression,...
2015 Mar 31
0
upstart CentOS vs upstart Ubuntu is there any difference between them?
...686
edetailBroker start/running, process 3749
pdoneLoginProctor start/running, process 3716
All the processes has been started at OS boot, that's fine.
This is the output from CentOS server:
# CentOS 6.6
root at staging:/etc/init# initctl list
// rest of processes goes here
pdoneVendorBroker stop/waiting
repToolBroker stop/waiting
emailBroker stop/waiting
cmeBroker stop/waiting
messageBroker stop/waiting
shareEventHandler stop/waiting
edetailBroker stop/waiting
pdoneLoginProctor stop/waiting
None processes has been started after OS boot, and that's wrong. Why? What
I'm missing here...
2012 Dec 18
2
Fwd: I need help with an R function! Thx!
Hi! I am doing a course about the R software and I have a couple of doubts.
In one of the tasks we were asigned, we have to perform a function that
simulates a bus' trip with 25 stops. In each of those stops, between 0 and
6 people can go on board. And when the total of passengers reaches 44, no
more people can go on board.
stops <- 25
passengers <- 0
register <- numeric(25)
bus <- function(register,stops,passengers) {
register[1] <- passengers
for (i in 1:...
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
...39;t find 'server role = active directory domain
>> controller' in smb.conf , it doesn't try to start the samba deamon.
> Odd that they do that when in the default mode (using systemd).
> Apparently makes for more backward compatibility. However, the
> systemctl start and stop commands still work for nmbd and smbd (of
> course, as running the samba init file calls systemctl).
>
> As I compiled Samba from source it was certainly easier to write the
> service files then attempting the complexity of the init files.
I compile Samba myself and I use init files, I...
2004 Mar 26
8
stop() vs. error() ?
Why does stop("we are done") print
"Error in eval.with.vis(expr, envir, enclos) :" ?
It would seem to me that a plain stop() is not an error, and that it
would make more sense to have an error() function that is different from
a stop(). Is there a rationale here that I am missing?
si...
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
To avoid possibly invoking similarly named executables, all start, stop
and reload methods in the sysvinit scripts have been renamed to
start_/stop_/reload_[script name].
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt | 17 +++++++++++------
scripts/ovirt-awake | 20 +++++++++++++++++++-
scripts/ovirt-early | 1...
2009 May 06
4
Problem in deliver (Panic: file index-mail-headers.c ...)
Hi All,
I'm experiencing a problem with some mails in deliver. Here the logged error message:
deliver(stefan at roese.nl): 2009-05-06 11:57:36 Panic: file index-mail-headers.c: line 141
(index_mail_parse_header_finish): assertion failed: ((match[match_idx] &
HEADER_MATCH_FLAG_FOUND) == 0)
deliver(stefan at roese.nl): 2009-05-06 11:57:36 Error: Raw
backtrace: /usr/lib/dovecot/deliver
2007 Jan 31
1
FreePBX/Debian Aborts Call While Connecting
...y get my registration, but they
see that my call is interrupted before they can complete the connection.
My Asterisk log shows that the call times out after the time (45s)
specified in my dialplan Dial() command. What is wrong?
[from /var/log/asterisk/full]:
Jan 30 23:40:35 DEBUG[6245] chan_sip.c: Stopping retransmission on
'24154c0d430e550821bda73c155cf573@82.165.187.196' of Request 102: Match
Found
Jan 30 23:40:44 DEBUG[6268] manager.c: Manager received command
'Command'
Jan 30 23:40:44 DEBUG[6268] manager.c: Manager received command
'Command'
Jan 30 23:40:44 DEBUG[6245]...
2018 Aug 13
1
substitute() on arguments in ellipsis ("dot dot dot")?
...)
library(rlang)
dots1 <- function(...) as.list(substitute(list(...)))[-1L]
dots2 <- function(...) as.list(substitute(...()))
dots3 <- function(...) match.call(expand.dots = FALSE)[["..."]]
dots4 <- function(...) exprs(...)
bench::mark(
dots1(1+2, "a", rnorm(3), stop("bang!")),
dots2(1+2, "a", rnorm(3), stop("bang!")),
dots3(1+2, "a", rnorm(3), stop("bang!")),
dots4(1+2, "a", rnorm(3), stop("bang!")),
check = FALSE
)[1:4]
#> # A tibble: 4 x 4
#> expression...
2008 Jan 07
3
asterisk CLI and no such command "stop"
Hi,
I'm probably missing something trivial but I don't
understand what.
Asterisk is loading fine but when I connect to the
console (asterisk -vr) and type "stop" I get a no such
command reply:
*CLI> help
(...)
skinny show lines Show defined Skinny lines
per device
soft hangup Request a hangup on a given
channel
unload Unload a dynamic module by
name
*CLI> stop
No such command 'stop' (type '...
2015 Feb 25
4
NT_STATUS_CONNECTION_REFUSED
...21:38, Bob of Donelson Trophy wrote:
>
>
> I had to go do something else and have returned. I discovered that I
> hadn't gone back far enough. This complaint first appears here:
>
> ==========Enable bind gssapi and bind9_DLZ
> ===============================
> [....] Stopping domain name service...: bind9rndc: connect failed:
> 127.0.0.1#953: connection refused
> . ok
> [ ok ] Starting domain name service...: bind9.
>
> Notice the "refused" appearance. As there is no firewall on this
> machine, yet, port 953 is not blocked.
>
> This...
2008 Aug 26
4
sequence with start and stop positions
Hi,
I have a vector of start positions, and another vector of stop positions,
eg start<-c(1,20,50)
stop<-c(7,25,53)
Is there a quick way to create a sequence from these vectors?
new<-c(1,2,3,4,5,6,7,20,21,22,23,24,25,50,51,52,53)
the way Im doing it at the moment is
pos<-seq(start[1],stop[1])
for (i in 2:length(start)){
new<-seq(start[i...
2016 Apr 02
0
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
...===================
=============================
Now Debian's init scripts (samba, samba-ad-dc, nmbd, smbd)
almost 250 lines including white space
=============================
=============================
#!/bin/sh
### BEGIN INIT INFO
# Provides: samba
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: ensure Samba daemons are started (nmbd and smbd)
### END INIT INFO
set -e
# start nmbd, smbd and samba-ad-dc unconditionally
# the init scripts themselves check if they are needed or not
case $1 in
start)
/etc/init.d/n...
2013 Oct 27
4
shorewall stop
hi, while stopping shorewall 4.5.21.2 on a debian7 box with the
ADMINISABSENTMINDED set to no in shorewall.conf, the connections on
vlan tagged interfaces that were active before the shorewall stop
command was executed are not terminated as it is for the firewall and
other interfaces!
when the firewall is st...
2006 Oct 24
2
Problem with stop words
I am seeing trouble with searches for ''you'' not returning anything. It
appears that ''you'' is a stop word to the standard analyzer:
require ''rubygems''
require ''ferret''
index = Ferret::I.new(:or_default => false)
index << ''you''
puts index.search(''you'')
returns no hits.
I assumed from the docs th...