search for: nonempty

Displaying 20 results from an estimated 69 matches for "nonempty".

2006 Mar 14
3
Help doing find - look for nonempty habtm
I''ve got a Cuisine and a Restaurant model, with a habtm. One thing I want to do is find all the cuisines that have at least one restaurant associated with them. Right now I''m using the following SQL query: SELECT DISTINCT(cuisines.*) FROM cuisines, restaurants, cuisines_restaurants WHERE cuisines.id = cuisines_restaurants.cuisine_id AND restaurants.id =
2017 Nov 06
1
minor usability issue: confusing error message with guestmount + fuse errors
...foo/: Success Other fuse errors also cause the same behavior, e.g. mounting to an already-mounted directory: $ sudo guestmount -m /dev/sda1 --ro -a data2.qcow2 /media/foo /media/foo mountpoint is not empty fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option libguestfs: error: fuse_mount: /media/foo: Success I guess libguestfs uses the most recent 'errno' to report the error string, but it is zero (because the error was somewhere deeper, in fuse). regards, - assaf
2018 Jan 16
1
sshfs mounting on Centos 6.9
Hi all, I am trying to mount on boot a sshfs filesystem. I have tried this in /etc/fstab backup at myserver.com:/home/backup/myserver /backup fuse.sshfs nonempty,allow_other 0 2 but only works when network works. I have also tried this in my crontab: @reboot sshfs -o idmap=backup myserver.com:/home/backup/myserver /backup but doesn?t seem to work either. What else can I try? Thanks, Miguel --- This email has been checked for viruses by AV...
2015 Feb 10
3
[PATCH 1/3] generator: add a simple HTML escaping function
--- generator/utils.ml | 8 +++++++- generator/utils.mli | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/generator/utils.ml b/generator/utils.ml index b24ba8c..3a62084 100644 --- a/generator/utils.ml +++ b/generator/utils.ml @@ -360,4 +360,10 @@ let args_of_optargs optargs = | OInt64 n -> Int64 n | OString n -> String n | OStringList n ->
2013 Jan 02
2
rbind: inconsistent behaviour with empty data frames?
The rbind on empty and nonempty data frames behaves inconsistently. I am not sure if by design. In the first example, first row is deleted, which may or may not be on purpose: df1 <- data.frame() df2 <- data.frame(foo=c(1, 2), bar=c("a", "b")) rbind(df1, df2) foo bar 2 2 b Now if we continue...
2020 Sep 25
4
Debian client/workstation pam_mount
On 24/09/2020 12:47, Christian Naumer via samba wrote: > I am using it on Fedora with Volume Definition looking like this: and I use this: <volume fstype="cifs" ??????? server="CIFS_SERVER_FQDN" ??????? path="linprofiles" ??????? mountpoint="/mnt/%(USER)" options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME)"
2011 Apr 20
1
[LLVMdev] Is this a bug in clang?
> No, Johannes is right: "undefined behavior" requires evaluation. Undefined behavior does not require evaluation. For example, undefined behavior occurs when "A nonempty source file does not end in a new-line character which is not immediately preceded by a backslash character or ends in a partial preprocessing token or comment." John
2011 Jul 26
1
[LLVMdev] Fix crash in gold LTO plugin
...r problem, but it worked for us. When we found this, all of the input bitcode files had at least one symbol before running passes. The attached patch for 2.9 places a guard around the calls to the add_symbols plugin callback to only report symbols when the vector of symbols in the claimed_file is nonempty. Full credit for discovery and the patch goes to Jeffrey Bosboom. Cheers, Todd Jackson -------------- next part -------------- A non-text attachment was scrubbed... Name: gold-plugin.patch Type: application/octet-stream Size: 1142 bytes Desc: not available URL: <http://lists.llvm.org/pipermai...
2011 Jun 01
1
possibly invalid assertion in setRefClass?
> setRefClass("Foo", fields = list()) Error in setRefClass("Foo", fields = list()) : A list argument for fields must have nonempty names for all the fields In my opinion, the above should not fail. There are no fields. Thanks, Michael [[alternative HTML version deleted]]
2003 Apr 13
1
The priority in HTB
Hi, In the article Hierachical token bucket theory says that "Just look at the self feed list and select the nonempty slot (one with a line) with lowest level and highest prio." Then I wonder that if the highest priority class is always in the "CAN SENT" mode, the other classes will have less opportuinity to send packet? Becase they have to wait the hightest priority class change to "BORROW&quo...
2017 Aug 25
2
Windows pre-requisites for login with winbind?
...o = rfc2307 > winbind use default domain = true The above two lines are okay > winbind enum users = yes > winbind enum groups = yes You should only add the above two lines for testing purposes. > > > When I issue > > #getent group > > I get only few groups with nonempty gidnumber attribute. This I can > understand, but > > #getent passwd > > dosen't bring me any AD user, althought they all have valid uidnumber > attribute that is well inside the idmap range. Does 'Domain Users' have a gidNumber inside '10000-9999999' If it...
2012 Mar 02
1
Vector errors and missing values
...am trying to run two Non-Gaussian regressions: logistic and probit. I am receiving two different errors when I try to run these regressions and I am not sure what they mean or how to fix my syntax. Here is the logistic regression error: Error in family$linkfun(mustart) : Argument mu must be a nonempty numeric vector Here is the probit regression error: Error in pmax(eta, -thresh) : cannot mix 0-length vectors with others The dataset that I am using has some missing data. R puts NA values in place of the missing values. I am not sure if this is what is causing my vector problems or not. I have...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix multiple issues with EXP_DISCARD in evalvar
...ssues with EXP_DISCARD in evalvar [ dash commit a29e9a1738a4e7040211842f3f3d90e172fa58ce ] The commit 3cd538634f71538370f5af239f342aec48b7470b broke parameter expansion in multiple ways because the EXP_DISCARD flag wasn't set or tested for various cases: $ src/dash -c 'var=; echo ${var:+nonempty}' nonempty $ src/dash -u -c 'unset foo bar; echo ${foo+${bar}}' dash: 1: bar: parameter not set $ src/dash -c 'foo=bar; echo ${foo=BUG}; echo $foo' barBUG bar $ This patch fixes them by introducing a new discard variable that tra...
2017 Jun 24
2
Comparing pooled proportions(complication and reoperation rates) of different treatment modalities
Note though that this has been put on hold on stats.stackexchange.com as off-topic. On 23/06/2017 19:33, Bert Gunter wrote: > Probably the wrong list. R-help is concerned with R programming, not > statistics methodology questions, although the intersection can be > nonempty. > > I suggest you post on stats.stackexchange.com instead, which *is* > concerned with statistics methodology questions. > > > Cheers, > Bert > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking thin...
2017 Jun 23
0
Comparing pooled proportions(complication and reoperation rates) of different treatment modalities
Probably the wrong list. R-help is concerned with R programming, not statistics methodology questions, although the intersection can be nonempty. I suggest you post on stats.stackexchange.com instead, which *is* concerned with statistics methodology questions. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his &qu...
2011 Sep 01
3
betareg question - keeping the mean fixed?
...) f<-betareg(scaled~-1 | expt_label + grouped_hpi, data=data1, link.phi="log", control=betareg.control(start=svec)) I understood that y~-1 could be used to give a fixed mean of 0.5 however I get the following error: Error in linkinv(x %*% beta + offset) : Argument eta must be a nonempty numeric vector I think I can work round this by using: svec2<-c(qlogis(mean(data1$scaled)),0,0,0,0,0) f2<-betareg(scaled ~ expt_label + grouped_hpi | expt_label + grouped_hpi, data=data1, + link.phi="log",control=betareg.control(start=svec2)) This appears to work (i...
2017 Aug 24
2
Windows pre-requisites for login with winbind?
On Thu, 24 Aug 2017 12:26:11 +0000 "A. James Lewis" <james at fsck.co.uk> wrote: > Well, network connectivity to the other DC would probably also be > required... and I don't have that currently... so there's the first > hurdle... but thanks for confirming that there's no other > configuration required. > > I'm slightly surprised that the
2014 Oct 13
2
[PATCH][git-pull] lua: fix broken bindings, switch to using methods, document things
...rations methods lua: unused optional arguments can go lua: make initramfs structures full userdata objects with methods lua: do not leak initramfs data chunks on garbage collection lua: don't do a local boot when asked to final_cleanup lua: initramfs: enable adding nonempty files lua: docs: refresh and extend the documentation lua: return the modified object from the initramfs methods lua: move the automenu test from the boot_linux to the boot_it binding lua: simplify the function/value handling in the automenu test com32/include/libansi.h...
2017 Jun 26
0
Comparing pooled proportions(complication and reoperation rates) of different treatment modalities
...te though that this has been put on hold on stats.stackexchange.com as off-topic. > >> On 23/06/2017 19:33, Bert Gunter wrote: >> Probably the wrong list. R-help is concerned with R programming, not >> statistics methodology questions, although the intersection can be >> nonempty. >> >> I suggest you post on stats.stackexchange.com instead, which *is* >> concerned with statistics methodology questions. >> >> >> Cheers, >> Bert >> >> >> Bert Gunter >> >> "The trouble with having an open mind i...
2017 Dec 28
0
Why aov() with Error() gives three strata?
Jorge: FYI, *generally speaking,* queries that are mostly statistical in nature, such as yours, are off topic here -- this list is about R programming help, not statistical help. Having said that, you still may get a useful response here -- the r-help/statistics intersection *is* nonempty. However, if not, 2.5 suggestions: 1. Try posting to r-sig-mixed-models instead. Repeated measures are a type of mixed/multilevel model and you may receive some useful suggestions there, including alternative R approaches to fitting such model (e.g. using lme() or lmer() ). 2. Alternatively, try...