Displaying 20 results from an estimated 700 matches similar to: "Beginner question: serverside singletons?"
2002 Jul 12
1
lmtest build fails, readline problem
Hi everyone,
I've downloaded the lmtest package, but I'm having trouble building it.
Here's the output:
copland:/home/wilson/tmp# R CMD INSTALL -l /usr/lib/R/library
lmtest_0.9-0.tar.gz
* Installing *source* package 'lmtest' ...
** libs
g77 -fPIC -g -O2 -c pan.f -o pan.o
gcc -shared -o lmtest.so pan.o -L/usr/lib/gcc-lib/i386-linux/2.95.4
-lreadline -ldl -lncurses
2001 Mar 19
3
Swat Setup Information
I am inquiring about setup of the SWAT utility I have installed Red
Hat 7.0 with samba installed during the initial setup of Redhat. I have
two network cards installed in my Server and I am connected to the
internet via a Cable Modem. When I try to start SWAT netscape displays
the message that it cannot find the local host on port 90. I have
downloaded the book over samba and I have also tried to
2001 Jun 25
1
ServerSide ACLs for -L type port forwarding
I have a need to add some server-side ACL functionality to the way ssh
handles port forwarding. For a first pass, I want to be able to
restrict -L port forwarding to localhost on the server only and I want
to be able to specify the ports on Server.
I was wondering if there would be any desire to incorporate said changes
back into the main development tree? If so, are there coding guildlines
2007 Jan 10
0
chan_read_failed for istate 3 on serverside when scp'ing file
Hi,
when scp'ing a file from hostA to hostB I receive following error message on
the server side.
Message in authlog:
Jan 9 15:01:32 zapphod sshd[3229]: [ID 800047 auth.error] error: channel 0:
chan_read_failed for istate 3
The file itself is transfered correctly, so I'm wondering why this error is
being logged and what this error message means
It seems that the occurance of this
2009 Jun 17
4
Serverside AjaxRequest or AjaxUpdater detections
Hi all,
This question might be a long shot, but I''m going to ask it anyway. In
my application, I''ve created a before_filter that does some magic. It
looks like this:
if request.xhr? then
render :update do |page|
page.redirect_to url_for_thingy
end
else
redirect_to redirect_to url_for_thingy
end
This works perfectly, however, I have one annoyance. On the server side,
2020 Jun 23
4
SSH certificate and serverside ForceCommand
Hi,
We're developing an open source project that uses SSH certificates. We
issue short lived certificates (few minutes) to execute commands on behalf
of users. We have a use case where we need to issue certificates with 10
days validity and store them, so we put a command inside them:
ssh-keygen -s ca-key -I certN -n user -O force-command="wget something" -V
+10d user-key.pub
and
2005 Aug 23
1
Problem with AUTH causes serverside lockup
Hello all,
I am running Dovecot alpha1, and after about 24 hours of the server
working fine, it starts to lock up when I open Thunderbird to check mail.
Basically I can see new mail, but when I click it, it just hangs at
"Loading message...".
I get the following in my maillog:
Aug 23 09:25:28 palantir dovecot: auth(default): client in: AUTH
1 PLAIN service=IMAP
2001 Feb 13
1
Frame Maker 6.0
I'm trying to get Frame to run under Wine. It comes up with the message:
There are no fonts available on the printer. Cannot start FrameMaker.
I added "printer=on" to my config file, but that didn't make any difference.
I am also prompted to see if I want to add an entry to "C:\Windows\fmreg.reg",
to which I always answer no.
I'm using the
2006 Jul 25
3
Question about how Mongrel process works with singletons
Hi,
I have a controller where I access a singleton class that I use to
connect to a DRbprocess
DrbConnector.instance.some_method
I notice that on every request, the constructor is called so it is
making a new instance of this singleton. Is this normal?
Thanks,
Curtis
1997 Aug 21
0
R-beta: problem with gee() with singletons
A bug (misfeature) has been found in the S gee library (and thus in the R
gee library). The problem, which is shared by nearly all gee
implementations, involves the calculation of working correlations when
some clusters have only one observation. For compatibility reasons nearly
everyone uses the computing formula from the first SAS macro by Karim,
rather than the formula from the original GEE
2012 May 24
4
Manually modifying an hclust dendrogram to remove singletons
Dear R-Help,
I have a clustering problem with hclust that I hope someone can help
me with. Consider the classic hclust example:
hc <- hclust(dist(USArrests), "ave")
plot(hc)
I would like to cut the tree up in such a way so as to avoid small
clusters, so that we get a minimum number of items in each cluster,
and therefore avoid singletons. e.g. in this example, you can see
2007 Aug 21
7
mocking singletons
How can I safely mock a singleton without the mocked method living on
outside the scope of the test method?
I''ve run into this problem with mocking methods on globals (gasp!) in
the past by doing something like
def mock_my_global
original = $my_global
$my_global.expects(:foo).returns(''bar'')
yield
$my_global = original
end
Is there something similar I
2006 Jul 03
6
Req: Workers as singletons
Hi,
it would be nice to be able to specify workers as singletons. By this
I mean that every call to the new_worker method returns the same
instance of said worker. This can be done transparently either by
adding a new argument to new_worker (something like :singleton =>
true) or adding a new method, like I did in my installation of
BackgrounDrb:
def get_worker_by_class(klass)
2006 Jan 11
3
how to obtain "par(ask=TRUE)" with trellis-plots
Dear alltogether,
how can a delay like possible with par(ask=TRUE) be attained while using
trellis-plots within a loop or something like that?
the following draws each plot without waiting for a signal
(mouse-klick), so par() does not work for that:
library(nlme)
for(i in 1:3)
{
fitlme <- lme(Orthodont)
par(ask=TRUE) # does not work with trellis....
print(
2006 Jan 31
11
Mongrel HTTP Library 0.2.0 (Fast And RubyForgified)
Hi Everyone,
I''m happy to announce the 0.2.0 release of Mongrel -- the fastest
HTTP 1.1 library Ruby has yet.
http://mongrel.rubyforge.org/ -- ruby docs lame page.
http://rubyforge.org/projects/mongrel/ -- project page.
Special thanks to Tom Copland for setting up my RubyForge goodness,
and to Why for kicking in time to get the Camping examples up to snuff.
This release should
2012 May 11
1
Strange "Error: subscript out of bounds"
Dear all,
I am trying to write a function for visualizing ordinal model results.
The function works fine with some values, but then I get "Error:
subscript out of bounds" even there the index should be pointing a legal
item. Code is below as well as the example of failure:
plotProb <- function(pre.mat, parts, split, titles, xlab="") {
par(mfrow = split)
n <- 1
2003 Oct 05
4
Total Tracks Tag?
heyas-
I believe there is a need for a standard vorbis comment
field to encode "Total Number of Tracks (on a CD)".
Why we need this --------------------
- Existing Vorbis programs already implement this,
inconsistently, and hence don't interoperate.
These seems the key reason to me.
- MP3s include this
- Some software (e.g., iTunes) uses this information,
e.g., to display
2003 Dec 19
2
SMB 3.0.1/LDAP Cannot add computer to domain
I'm trying to setup samba with ldapsam (Novell eDir 8.7.1). Right now I
can login to samba and browse my shares with user "Administrator", but when
I'm trying to add computer to domain I get "unknown user name or bad
password" error.
I have administrator, root and nobody accounts in ldap. And I have
manualy added following groupmappings to ldap-groups:
Domain Users
2009 Aug 12
3
listescape + shared folders with fully qualified user names
Hi,
the listescape plugin seems to take its job a little bit too serious.
Dovecot version: 1.2.3 + patch 9b62aa2132de
Without listescape:
2 list "" "*"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "#Users/test1 at merry.dovecot"
* LIST (\HasNoChildren) "/" "#Users/test1 at
2016 Feb 19
3
Metadata and compile time performance
Dear LLVMers,
I’m investigating the response time of my JIT, and according to profiling, optimization takes 85% of the compile time, while the rest is being split evenly between the front-end and machine code generation. Much of the optimizer time is spent in various alias analysis passes.
I’m happy with the generated code quality and wouldn’t like to lower the optimization level (O2).
Would