Displaying 20 results from an estimated 1454 matches for "365".
Did you mean:
  35
  
2008 Jan 01
3
if statement problem
...t")
if (das$age>65 && das$bmi>30) {das$danger<-1} else das$danger<-0
attach(das)
das
         The following object(s) are masked from das ( position 3 ) :
          age bmi day id male sex status
       id age sex  bmi status day male danger
1  33001  35   M 27.5      0 365    1      0
2  33002  29   M 34.9      1  22    1      0
3  33003  41   F 23.6      0 365    0      0
4  33004  55   F 27.0      0 365    0      0
5  42001  37   M 39.0      0 365    1      0
6  42002  53   M 26.6      1 124    1      0
7  42003  46   F 45.4      1 287    0      0
8  42004  35   F...
2011 Jan 31
1
leap year and order function
im trying to write a for loop so that every leap year, the number of days
becomes to 366 instead of 365. could someone help me out?
and also, this set of data has 99.99s I set all the 99.99 ==NA.
however, when im doing the order function to find the max value of that
year, it still reads 99.99 as the max value.
Thank you very much
maxday <- matrix(NA,63,5)
for (a in 1948:2010){
maxday[,1]<-1...
2011 Jul 12
2
time zone - any practical solution?
...get (un-asked for
it!) a time zone addition CEST (for summer dates) or CET (for winter dates).
> Dataset
        Start                  End1              End2
days2End1.from.Excel    days2End2.from.Excel
days2End1.in.R               days2End2.in.R
1  2010-01-01      2011-01-01      2012-01-01
365                                     730
365 days                      730.0000 days
2  2010-02-01      2011-02-01      2012-01-01
365                                     699
365 days                      699.0000 days
3  2010-03-01      2011-03-01      2012-01-01
365...
2011 Jul 12
0
timezones - any practical solution?
...) get (un-asked for
it!) a time zone addition CEST (for summer dates) or CET (for winter dates).
> Dataset
        Start                  End1              End2
days2End1.from.Excel    days2End2.from.Excel
days2End1.in.R               days2End2.in.R
1  2010-01-01      2011-01-01      2012-01-01
365                                     730
365 days                      730.0000 days
2  2010-02-01      2011-02-01      2012-01-01
365                                     699
365 days                      699.0000 days
3  2010-03-01      2011-03-01      2012-01-01
365...
2010 Mar 12
1
Problem with libvirt migration
...69118c-9b90-44e3-a6ce-01a08bfe28f5
08:19:40.773: debug : virEventRunOnce:567 : Poll got 1 event
08:19:40.773: debug : virEventDispatchHandles:450 : Dispatch n=0 f=5 w=1 e=1 (nil)
08:19:40.773: debug : virEventDispatchHandles:440 : Skip deleted n=9 w=11 f=19
08:19:40.773: debug : virEventMakePollFDs:365 : Prepare n=0 w=1, f=5 e=1
08:19:40.773: debug : virEventMakePollFDs:365 : Prepare n=1 w=2, f=8 e=0
08:19:40.773: debug : virEventMakePollFDs:365 : Prepare n=2 w=3, f=8 e=1
08:19:40.773: debug : virEventMakePollFDs:365 : Prepare n=3 w=4, f=9 e=1
08:19:40.773: debug : virEventMakePollFDs:365 : Prepa...
2008 Sep 28
5
birthday problem (factorial limit)
...calculate the formula for the birthday problem
(the probability that at least two people out of a group of n people  
share the same birthday)
But the factorial-function allows me only to calculate factorials up  
to 170.
So is there a way to push that limit?
to solve this formula:
(factorial(365) / factorial((365-23))) / (365^23)
(n=23)
2013 Jan 23
2
setting off-diagonals to zero
The following 1460 x 1460 matrix can be throught of as 16 distinct 365 x 365
matrices.  I'm trying to set off-diaganol terms in the 16 sub-matrices with
indices more than +/- 5 (days) from each other to zero using some for loops. 
This works well for some, but not all, of the for loops.  The R code I"m
using follows.  For some reason the third loop below zero...
2010 Jun 07
1
111b virt-install failure
...e:raise libvirtError(''virDomainCreateLinux() failed'', conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err "Error creating domain: (22, ''Invalid argument'')")
xend.log seem to give no further clues
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:85) XendDomainInfo.create([''vm'', [''name'', ''CentOS_48_64_92''], [''memory'', ''8192''], [''maxmem'', ''8192''], [''vcpus'', ''1''...
2013 Jan 05
1
imap: Error: net_connect_unix(/.../auth-master) failed: Invalid argument
...12 imap     RET   gettimeofday 0
  1012 imap     CALL  write(0x2,0x8069118,0x15)
  1012 imap     GIO   fd 2 wrote 21 bytes
       0x0000 0108 3130 3132 2070 7265 6669 783d 696d  |..1012 prefix=im|
       0x0010 6170 3a20 0a                             |ap: .|
  1012 imap     RET   write 21/0x15
   365 log      RET   kevent 1
   365 log      CALL  gettimeofday(0x181088c8,0)
   365 log      RET   gettimeofday 0
   365 log      CALL  read(0x12,0x8062a0e,0x1f2)
   365 log      GIO   fd 18 read 21 bytes
       0x0000 0108 3130 3132 2070 7265 6669 783d 696d  |..1012 prefix=im|
       0x0010 6170 3a20...
2017 Sep 08
2
GlusterFS as virtual machine storage
....szalbot at gmail.com> wrote:
This is the qemu log of instance:
[2017-09-08 09:31:48.381077] C
[rpc-clnt-ping.c:160:rpc_clnt_ping_timer_expired]
0-gv_openstack_1-client-1: server 10.0.1.202:49152 has not responded
in the last 1 seconds, disconnecting.
[2017-09-08 09:31:48.382411] E [rpc-clnt.c:365:saved_frames_unwind]
(--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13b)[0x7fbcadb09e8b]
(--> /lib64/libgfrpc.so.0(saved_frames_unwind+0x1de)[0x7fbcad8d08ee]
(--
> /lib64/libgfrpc.so.0(saved_frames_destroy+0xe)[0x7fbcad8d09fe] (-->
/lib64/libgfrpc.so.0(rpc_clnt_connection_cleanup+0x9...
2017 Sep 08
0
GlusterFS as virtual machine storage
...> This is the qemu log of instance:
>
> [2017-09-08 09:31:48.381077] C
> [rpc-clnt-ping.c:160:rpc_clnt_ping_timer_expired]
> 0-gv_openstack_1-client-1: server 10.0.1.202:49152 has not responded
> in the last 1 seconds, disconnecting.
> [2017-09-08 09:31:48.382411] E [rpc-clnt.c:365:saved_frames_unwind]
> (--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13b)[0x7fbcadb09e8b]
> (--> /lib64/libgfrpc.so.0(saved_frames_unwind+0x1de)[0x7fbcad8d08ee]
> (--
>> /lib64/libgfrpc.so.0(saved_frames_destroy+0xe)[0x7fbcad8d09fe] (-->
>> /lib64/libgfrpc.so.0(rpc...
2017 Sep 08
1
GlusterFS as virtual machine storage
...> This is the qemu log of instance:
>
> [2017-09-08 09:31:48.381077] C
> [rpc-clnt-ping.c:160:rpc_clnt_ping_timer_expired]
> 0-gv_openstack_1-client-1: server 10.0.1.202:49152 has not responded
> in the last 1 seconds, disconnecting.
> [2017-09-08 09:31:48.382411] E [rpc-clnt.c:365:saved_frames_unwind]
> (--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13b)[0x7fbcadb09e8b]
> (--> /lib64/libgfrpc.so.0(saved_frames_unwind+0x1de)[0x7fbcad8d08ee]
> (--
>> /lib64/libgfrpc.so.0(saved_frames_destroy+0xe)[0x7fbcad8d09fe] (-->
>> /lib64/libgfrpc.so.0(rpc...
2017 Sep 08
1
GlusterFS as virtual machine storage
...> This is the qemu log of instance:
>
> [2017-09-08 09:31:48.381077] C
> [rpc-clnt-ping.c:160:rpc_clnt_ping_timer_expired]
> 0-gv_openstack_1-client-1: server 10.0.1.202:49152 has not responded
> in the last 1 seconds, disconnecting.
> [2017-09-08 09:31:48.382411] E [rpc-clnt.c:365:saved_frames_unwind]
> (--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13b)[0x7fbcadb09e8b]
> (--> /lib64/libgfrpc.so.0(saved_frames_unwind+0x1de)[0x7fbcad8d08ee]
> (--
> > /lib64/libgfrpc.so.0(saved_frames_destroy+0xe)[0x7fbcad8d09fe] (-->
> /lib64/libgfrpc.so.0(rpc_cl...
2017 Sep 08
0
GlusterFS as virtual machine storage
This is the qemu log of instance:
[2017-09-08 09:31:48.381077] C
[rpc-clnt-ping.c:160:rpc_clnt_ping_timer_expired]
0-gv_openstack_1-client-1: server 10.0.1.202:49152 has not responded
in the last 1 seconds, disconnecting.
[2017-09-08 09:31:48.382411] E [rpc-clnt.c:365:saved_frames_unwind]
(--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13b)[0x7fbcadb09e8b]
(--> /lib64/libgfrpc.so.0(saved_frames_unwind+0x1de)[0x7fbcad8d08ee]
(--
> /lib64/libgfrpc.so.0(saved_frames_destroy+0xe)[0x7fbcad8d09fe] (--> /lib64/libgfrpc.so.0(rpc_clnt_connection_cleanup+0x9...
2017 Sep 08
3
GlusterFS as virtual machine storage
...> This is the qemu log of instance:
>
> [2017-09-08 09:31:48.381077] C
> [rpc-clnt-ping.c:160:rpc_clnt_ping_timer_expired]
> 0-gv_openstack_1-client-1: server 10.0.1.202:49152 has not responded
> in the last 1 seconds, disconnecting.
> [2017-09-08 09:31:48.382411] E [rpc-clnt.c:365:saved_frames_unwind]
> (--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x13b)[0x7fbcadb09e8b]
> (--> /lib64/libgfrpc.so.0(saved_frames_unwind+0x1de)[0x7fbcad8d08ee]
> (--
>> /lib64/libgfrpc.so.0(saved_frames_destroy+0xe)[0x7fbcad8d09fe] (-->
>> /lib64/libgfrpc.so.0(rpc...
2017 Sep 08
3
GlusterFS as virtual machine storage
Oh, you really don't want to go below 30s, I was told.
I'm using 30 seconds for the timeout, and indeed when a node goes down
the VM freez for 30 seconds, but I've never seen them go read only for
that.
I _only_ use virtio though, maybe it's that. What are you using ?
On Fri, Sep 08, 2017 at 11:41:13AM +0200, Pavel Szalbot wrote:
> Back to replica 3 w/o arbiter. Two fio jobs
2016 Jun 06
2
office 365
Hi,
Anyone here using office 365 with samba AD?
Tips, ideas..?
Read this:
https://blogs.office.com/2014/04/15/synchronizing-your-directory-with-office-365-is-easy/
The link says "synchronizing-your-directory-with-office-365-is-easy", 
but I wonder if anyone with an AD on samba has done it?
MJ
2010 Aug 06
1
apply family functions
...ot;Invalid"
I would like to use sapply family functions if possible due to the nature of
large data set.
ini <- as.Date("2010/1/1", "%Y/%m/%d")
# Generate arbitrary data frame consisting of date values
oc <- data.frame(Open = seq(ini, ini + 5, 1), Close = seq(ini + 365, ini +
365 + 5, 1), Open1 = seq(ini + 365*2, ini + 365*2 + 5, 1), Close1 = seq(ini
+ 365*3, ini + 365*3 + 5, 1), Open2 = seq(ini + 365*4, ini + 365*4 + 5, 1),
Close2 = seq(ini + 365*5, ini + 365*5 + 5, 1))
rownames(oc) <- c("AAA", "AA", "A", "BBB", "B...
2000 Apr 25
2
Recursive Computation in R
...as follows:
fact <- function(x) {
     recurse <- x > 1
     x[!recurse] <- 1
     if( any(recurse) ) {
          y <- x[recurse]
          x[recurse] <- y * fact( y - 1 )
     }
     x
}
I want to be able to do the famous birthday problem, which will involve
the computation of 365!, however it shall get cancelled out during the
computation.  To make it more clear, I want to work out:
n <- 1:80
prob <- 1 - ( fact(365) / ( fact( 365 - n ) * 365 ^ n ) )
This, if works, should gives a vector of 80 probabilities, that given a
room of n people, 2 will share the same birthda...
2016 Jun 06
2
office 365
...is to install ADFS this is what would need emulated with
some web server.
So I will try and google ADFS on apache or nginx or linux. I'll let you
know if I find anything interesting.
On Mon, Jun 6, 2016 at 1:53 PM, Jeff Sadowski <jeff.sadowski at gmail.com>
wrote:
> We had set Office 365 to use single sign on at my last place of work.
> Microsoft uses a significant part of what is built into IIS on Windows
> Servers. I don't see this as being possible any time soon. I could be wrong
> for all I know someone may have developed a simple set of apache/nginx
> plugin/sc...