Displaying 20 results from an estimated 90 matches similar to: "Rails 2.3 memcache performance drop"
2008 Jun 19
1
PrettyR (describe)
#is there a way to get NA in the table of descriptive statistics instead of
the function stopping Thank you in advance
#data
x.f <- structure(list(Site = structure(c(9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L), .Label = c("BC", "HC", "RM119", "RM148", "RM179",
"RM185",
2007 Aug 03
0
acts_as_paranoid and Association Extensions (has_one troubles)
Hi... Isn''t there a proper way or hack/workaround for the following?
* For the example with unfortunate disabilities.. look below,,,
Usage of has_* (associationmethods) do {def with_deleted
AccociatedModel#with_scope} {Paranoid''s#find_with_deleted}...
The has_one associations give me a nil object when invoking it with
Model.association_OBJECT.with_deleted. Has_many does like
2009 Apr 12
2
First Derivative of Data Matrix
I am really new to R and ran across a need to take a data matrix and
calculate an approximation of the first derivative of the data. I am more
than happy to do an "Excel" kind of calculation (deltaY/deltaX) for each
pair of rows down the matrix, but I don't know how to get R to do that kind
of calculation. I'd like to store it as a 3rd column in the matrix as well.
My data
2006 Jun 13
2
Garch Warning
Dear all R-users,
I wanted to fit a Garch(1,1) model to a dataset by:
>garch1 = garch(na.omit(dat))
But I got a warning message while executing, which is:
>Warning message:
>NaNs produced in: sqrt(pred$e)
The garch parameters that I got are:
> garch1
Call:
garch(x = na.omit(dat))
Coefficient(s):
a0 a1 b1
1.212e-04 1.001e+00 1.111e-14
Can any one
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
I am assuming this an appropriate place to discuss this, but if it isn''t my
apologies- just let me know. Just a Rails 4-ish thing.
Am attempting to pull AMS (active_model_serializers), strong_parameters,
and the "permitter" strategy that Adam Hawkins is using:
http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/
Code so far is here (in the
2010 Dec 14
4
Change primary_key column name
Hi,
after changing a primary key column name, the auto-increment information
(MySQL) and sequence (Oracle) are lost. What is the correct way to rename
primary keys?
Thanks,
Gustavo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2004 Jan 09
2
Error on SMB Packages
-----BEGIN PGP SIGNED MESSAGE-----
********************************************************************
The contents of this email are intended exclusively for the
addressee. If you are not the addressee you must not read
use or disclose the email contents ; you should notify us
immediately [ by clicking "Reply" ] and delete this email.
Nationwide monitors e-mails to ensure its systems
2009 Mar 11
12
Eager loading comments associated with user submissions.
Hey everyone,
I am working on an application that allows users to submit articles,
and also comment on those articles. Pretty much exactly like Digg.
Everything works fine except that when there are a lot of comments
there are a lot of database queries to both fetch the comments and the
users who posted those comments. I have used eager loading in other
parts of my application to reduce the
2018 Jul 23
3
Failed to establish your Kerberos Ticket cache due time differences with the domain controller
Thanks Louis. Results below.
> Hai,
>
> I've reading this thread more closely.
>
> I suggest you try the followoing.
>
> Check the servers hardware clock in the bios first.
> Set these within 5 min, if they are not about the same.
>
There no RTC in the pi; the other DC is running in a VM with RTC set to UTC. I have disabled the guest from getting the time
2003 May 20
0
intermittent failure of ability to connect to samba share from win (NT/2k) client
First, my installation is samba 2.2.8 running as a daemon (not inetd) on
Solaris 8 configured to use a WINS server and provide authentication via
a PDC (same host as WINS server). I do have an lmhosts file in the
samba /lib directory with the PDC/WINS server address in it.
My globals section;
[global]
workgroup = WORKGROUP
netbios name = SAMBASERVER
security =
2003 May 23
0
intermittent failure of ability to connect to samba share from win (NT/2k) client]]
I am not sure if your problem is similar to what we have just experienced.
we are using samba 2.2.3a-12.3 on debian with winxp sp1 clients
we are using roaming profiles
first logon after reboot fails sortof
Windows cannot find a server copy of roaming profile will logon with
local profile
funny thing we never saw any activity in hostname.log (seperate smb.log
for each machine)
smbstatus showed
2018 Dec 12
4
vfs_fruit causes delay in listing directories for Windows clients
Listing directories with many files (10000+) from a Windows client is
nociceably slower when vfs_fruit is enabled on the samba server compared
to the same setup without vfs_fruit.
On my setup it's roughly 2.5 times slower. To me it looks like this is
caused by the getxattr call which is only present with vfs_fruit
activated and introduces an additional delay of ~ 0.00033 s per listed
2009 Jul 21
1
package quantreg behaviour in weights in function rq,
Dear all,
I am having v.4.36 of Quantreg package and I noticed strange behaviour when
weights were added. Could anyone please explain me what if the results are
really strange or the behavioiur is normal. As an example I am using dataset
Engel from the package and my own weights.
x<-engel[1:50,1]
y<-engel[1:50,2]
w<-c(0.00123, 0.00050, 0.00126, 0.00183, 0.00036, 0.00100,
0.00122,
2018 Jul 24
2
Failed to establish your Kerberos Ticket cache due time differences with the domain controller
I did re-read the whole thread again.
Im running out of options..
When i look at :
https://wiki.samba.org/index.php/PAM_Offline_Authentication
You can do these last checks.
Run the : Testing offline authentication as show on the wiki.
Debian normaly does not have /etc/security/pam_winbind.conf, check if its there if so backup it remove it.
Check if these packages are installed.
2006 Jan 14
4
echo tail stats
Does anyone know how to determine the echo tail size (in ms) of a particular
call?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060114/81fea099/attachment.htm
2010 Oct 30
2
ArgumentError (wrong number of arguments (2 for 0)):
Can anyone tell me why I am getting this error using rails3 and
Ruby1.9.2:-
Completed 200 OK in 212313ms (Views: 2.8ms | ActiveRecord: 0.0ms)
Homepage Load (0.2ms) SELECT "homepages".* FROM "homepages" WHERE
("homepages"."section" = ''%Gar%'')
ArgumentError (wrong number of arguments (2 for 0)):
2017 Jun 20
0
Re: Appliance image. Why raw?
On Tue, Jun 20, 2017 at 05:04:53PM +0300, Pavel Butsykin wrote:
> I noticed that raw is intentionally used as image format for appliance
> image. So I would like to ask, is there any reason to use raw as image
> format for appliance?
The simple answer is because we create the appliance image (it's an
ext2/3/4 filesystem) using e2fsprogs, and that library wouldn't know
how to
2010 Aug 17
1
ROCR data input
Hi there,
I'm having some difficulty with the ROCR package. I've installed it fine,
and the sample data works (ROCR.simple), however when I try to load my own
data it complains that there is an error in prediction as the number of
classes is not equal to 2. I read the data from a text file which contains
one column of probabilities and one column of binary 0 and 1. I then put it
into a
2012 Jun 25
0
x12 ARIMA Moving Seasonality F Test Issue
I'm having a great deal of trouble replicating x12 ARIMA's F-test used to
detect moving seasonality. According to all literature I could find, the
test is apparently a 2-way ANOVA with year and month as factors for the SI
ratios determined by x12's smoothing algorithm. Note the SI ratio is simply
the detrended series. The summary I get from manually running this 2-way
ANOVA using the
2017 Sep 29
0
Error in Lordif: slope is missing or negative
Hi all
I am not an experienced user of R.
I am trying to perform DIF analysis using Lordif and I get the follow error:
> GroupDIF <- lordif(resp.data=Resp, group=Group, criterion="R2", pseudo.R2="McFadden", R2.change=0.02)
Iteration: 500, Log-Lik: -137340.437, Max-Change: 0.00119
EM cycles terminated after 500 iterations.
(mirt) | Iteration: 1, 14 items flagged for DIF