Displaying 20 results from an estimated 1000 matches similar to: "applying complex functions by groups"
2012 Aug 01
1
optim() for ordered logit model with parallel regression assumption
Dear R listers,
I am learning the MLE utility optim() in R to program ordered logit
models just as an exercise. See below I have three independent
variables, x1, x2, and x3. Y is coded as ordinal from 1 to 4. Y is not
yet a factor variable here. The ordered logit model satisfies the
parallel regression assumption. The following codes can run through,
but results were totally different from what I
2007 May 05
1
smbd crash with share security
Hello,
I am experiencing an issue on Mandriva 2007.1 (samba 3.0.24) where smbd
crashes as soon as a guest connection attempt is made for a single
file share:
icho@hiker ~ $ smbclient //192.168.200.2/data
Password:
Domain=[FONET] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
tree connect failed: Call returned zero bytes (EOF)
Syslog logs
2006 Nov 29
2
random binary trees in R
Hello!
I wish to generate random binary trees in R.
Unfortunately recursive code like:
t <- function(p)
{
list(ifelse(runif(1)<p,t(p),0), ifelse(runif(1)<p,t(p),0))
}
does not seem to work. Has anyone ever
performed such a simulation? I would like
to see their code. Maybe this is not feasible
in R. Please e-mail me at the below address
(since I am not yet a subscriber to this
2006 Aug 03
8
beginning a statistics application
Hi all,
I need to write an application that gets data from a database and plots
it on a graph.
I am familiar with java and know that I could do it with jfreechart -
however I am excited by RoR and would like to write the application with
RoR instead.
Is it possible to write it in RoR?
Chris
--
Posted via http://www.ruby-forum.com/.
2003 Feb 05
2
Minor races in sftp-server.c
There are a couple of races in sftp-server as this patch shows:
--- sftp-server.c 28 Jan 2003 18:06:53 -0000 1.1.1.2
+++ sftp-server.c 5 Feb 2003 19:19:42 -0000
@@ -832,19 +832,22 @@
process_rename(void)
{
u_int32_t id;
- struct stat st;
char *oldpath, *newpath;
- int ret, status = SSH2_FX_FAILURE;
+ int status;
id = get_int();
oldpath = get_string(NULL);
newpath = get_string(NULL);
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
From: Randy Dunlap <randy.dunlap at oracle.com>
scripts/headers_install.pl prevents "__user" from being exported
to userspace headers, so just use compiler.h to make sure that
__user is defined and avoid the error.
unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1)
Signed-off-by: Randy Dunlap <randy.dunlap at
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
From: Randy Dunlap <randy.dunlap at oracle.com>
scripts/headers_install.pl prevents "__user" from being exported
to userspace headers, so just use compiler.h to make sure that
__user is defined and avoid the error.
unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1)
Signed-off-by: Randy Dunlap <randy.dunlap at
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
From: Randy Dunlap <randy.dunlap at oracle.com>
scripts/headers_install.pl prevents "__user" from being exported
to userspace headers, so just use compiler.h to make sure that
__user is defined and avoid the error.
unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1)
Signed-off-by: Randy Dunlap <randy.dunlap at
2006 Aug 11
2
creating a development db from existing db
Hi there,
I would like to copy the schema and data from an existing database and
create a development db with the schema and data.
Is this possible? - I have heard of doing a ''schema dump'', what about a
data dump. The data in the existing db is important - I worry that doing
something could delete the data. Is this fear unfounded?
Chris.
--
Posted via
2006 Aug 10
2
problem - please help
Hi there,
I''m following the ''Agile Web Development with rails'' book and have got
to page 89 - and hit a problem.
I entered into the command line:
ruby script/generate controller store index
The book says you should see something when you point to:
http://localhost:3000/store
but all I get is:
Routing Error
no route found to match "/store/index" with
2012 Jan 13
1
loops over regression models
Dear R help listers,
I am trying to replicate results in Gelman and Hill's book (Chapter 3
in regressions and multilevel models). Below I estimated two models
(chp3.1 and chp3.3 in R codes) with the same data and dependent
variable but different independent variables. I have been using Stata
for quite a while, and I know I can use foreach to build a loop to
condense the codes (especially if I
2008 May 08
1
cvsup.uk.FreeBSD.org
Greetings,
cvsup.uk.FreeBSD.org is outdated.
I know this is not the proper list, but which one is?
--
Best Wishes,
Stefan Lambrev
ICQ# 24134177
2007 Feb 20
1
contextstack overflow
Hello!
I written several implementations in R of R?my's algorithm for
generating random ordered strictly binary trees on 2n+1 vertices.
One implementation involves manufacturing character strings like:
"X <- list(0,list(0,0))"
for the case n=2. If I perform the following two steps:
cmd <- "X <- list(0,list(0,0))"
eval(parse(text=cmd))
then X becomes a true
2006 Aug 07
12
web app or ''real'' app
Hi there,
Is a web app always preferable to a ''real'' app?
- or are there times when a real app should be used?
I''m starting a new app and can''t decide which would be best.
Is Ruby (not RoR) suitable for a real app?
Chris.
--
Posted via http://www.ruby-forum.com/.
2002 Jun 26
5
[PATCH] improved chroot handling
There are a couple of niggles with the sandboxing of the unprivileged
child in the privsep code: the empty directory causes namespace pollution,
and it requires care to ensure that it is set up properly and remains set
up properly. The patch below (against the portable OpenSSH, although the
patch against the OpenBSD version is very similar) replaces the fixed
empty directory with one that is
2002 Jul 25
3
[PATCH] prevent users from changing their environment
We have a system on which users are given a very restricted environment
(their shell is a menu) where they should not be able to run arbitrary
commands. However, because their shell is not statically linked, ld.so
provides a nice clutch of holes for them to exploit. The patch below
adds a new configuration option to sshd which quashes their attempts
to set LD_PRELOAD etc. using ~/.ssh/environment
2002 Aug 13
1
[PATCH] global port forwarding restriction
Here's another patch for people providing ssh access to restricted
environments.
We allow our users to use port forwarding when logging into our mail
servers so that they can use it to fetch mail over an encrypted channel
using clients that don't support TLS, for example fetchmail. (In fact,
fetchmail has built-in ssh support.) However we don't want them connecting
to other places
2011 Dec 01
7
ExecJS::RuntimeError in Home#index
I have just installed RoR using RailsInstaller.
This is on a Windows XP system.
I have created the default application and it loads via localhost
I have also updated execjs to 1.2.9 and installed nodes as initially
there was no javascript support. ( not sure why the windows script
server did not work though)
I am now working through the Getting Started with Rails, Blog
application at
2002 Jun 26
1
privilege separation breaks dns lookups
When the unprivileged child has chrooted it can no longer open
/etc/resolv.conf, so if the resolver hasn't yet initialized itself then
dns lookups will not be possible. This is unfortunately what normally
happens, but sshd falls back gracefully.
There are a couple of wrinkles: the resolver will typically try talking
to a nameserver on the local host by default (using INADDR_ANY rather
than
2007 Jun 18
1
[PATCH] incorrect #include in ssh-rand-helper.c
--- ssh-rand-helper.c.orig Mon Jun 18 16:48:13 2007
+++ ssh-rand-helper.c Mon Jun 18 16:47:32 2007
@@ -31,7 +31,7 @@
#include <sys/socket.h>
#include <stdarg.h>
-#include <stddef.h>
+#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Tony.
--
f.a.n.finch <dot at dotat.at> http://dotat.at/
SHANNON ROCKALL: EAST OR NORTHEAST