search for: stopping

Displaying 20 results from an estimated 42775 matches for "stopping".

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 %></td> <td><%= @stop.time.hour.to_s + '':''
2007 Apr 25
1
barchart producing incorrect number of barcharts when columns renamed
Hi everybody, I'm having problems with the barchart command in the lattice package. I'm creating barcharts from matrices with with anything from 20 to 71 columns. When I leave the column names alone, that is they are set in the read.table command (and inherited by subsequent commands) the correct number barcharts is created by the "print(barchart(...))" command.
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. > example(stop) stop> options(error = expression(NULL))
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.Pulsate(element, { afterFinish:
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(...())) > >
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, but I was wondering if it is possible to
2015 Mar 31
0
upstart CentOS vs upstart Ubuntu is there any difference between them?
I'm moving some server configurations from Ubuntu Server 12.04 to CentOS 6.6. Now I'm working on `/etc/init` script that should be handled by `upstart` at both OS as far as I know. The files on both server are the same and I mean the same at content level and also at path level and permissions level, is the exactly copy from Ubuntu to CentOS. I'm having some issues with upstart at
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
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 20:59, Sonic wrote: > On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote: >> On debian there is a script called samba in /etc/init.d , it starts smbd & >> nmbd *or* samba, if it doesn't find 'server role = active directory domain >> controller' in smb.conf , it doesn't try to start the samba deamon. > Odd that
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? sincerely, /iaw
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...a/scripts/ovirt +++ b/scripts/ovirt @@ -71,7 +71,7 @@ ovirt_start() { fi } -start() { +start_ovirt () { touch $VAR_SUBSYS_OVIRT case $OVIRT_RUNTIME_MODE in "ovirt") @@ -90,18 +90,24 @@ start() { return $RC } -stop() { +stop_ovirt () { echo -n "Stopping ovirt: " + rm -f $VAR_SUBSYS_OVIRT success } +reload_ovirt () { + stop_ovirt + start_ovirt +} + case "$1" in start) [ -f "$VAR_SUBSYS_OVIRT" ] && exit 0 echo -n "Starting ovirt: " { log...
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] cha...
2018 Aug 13
1
substitute() on arguments in ellipsis ("dot dot dot")?
Since you're already using bang-bang ;) 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",
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
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 DC...
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],stop[i]) pos<-c(pos,new) }
2016 Apr 02
0
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
...n/samba -- -D; then log_end_msg 1 exit 1 fi log_end_msg 0 ;; stop) if init_is_upstart; then exit 0 fi log_daemon_msg "Stopping Samba AD DC daemon" "samba" start-stop-daemon --stop --quiet --pidfile $SAMBAPID # Wait a little and remove stale PID file sleep 1 if [ -f $SAMBAPID ] && ! ps h `cat $SAMBAPID` > /dev/null the...
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 stoppe...
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