search for: upcly

Displaying 20 results from an estimated 260 matches for "upcly".

2006 Feb 09
3
accessing associated models in a validate method
Why can''t I access an associated model in a validate method? I have some code that looks like the following: Models: class Product < ActiveRecord::Base has_many: upcs end class Upc < ActiveRecord::Base belongs_to :product def validate errors.add_on_blank(''upc'') unless product.new_record? end end Controller: def create @product =
2010 Mar 24
3
mounting gfs partition hangs
Hi, I have configured two machines for testing gfs filesystems. They are attached to a iscsi device and centos versions are: CentOS release 5.4 (Final) Linux node1.fib.upc.es 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux The problem is if I try to mount a gfs partition it hangs. [root at node2 ~]# cman_tool status Version: 6.2.0 Config Version: 29 Cluster Name:
2003 May 05
2
(PR#1289)
Dear all, I've found a bug report for R when installing it on an AIX5.1 system. There's a followup (number 4) that comments a segmentation fault on R when quitting "q()". I'm using a newer version of R but on the same operating system and I obtain the same error. There was a way to solve this problem? Best regards and thanks, --
2003 Oct 29
1
Environment set on PAM module is not visible to user
We're using an internal PAM module (Linux) that sets a few environment variables using pam_putenv (on pam_sm_authenticate). In version 3.6.1p1i such variables are visible to the user (as expected), but since 3.7p1 they are not... Is this the expected behaviour? Thanks in advance, Jose ____________________________________________________________________________ Jose A. Rodriguez
2014 Mar 15
0
allocation error and high CPU usage from kworker and migration: memory fragmentation?
Hi, I'm new to this list (and R), but my impression is that this question is more appropriate here than R-help. I hope that is right. I'm having several issues with the performance of an R script. Occasionally it crashes with the well-known 'Error: cannot allocate vector of size X' (this past time it was 4.8 Gb). When it doesn't crash, CPU usage frequently drops quite low
2010 Sep 15
0
problem with gfs_controld
Hi, We have two nodes with centos 5.5 x64 and cluster+gfs offering samba and NFS services. Recently one node displayed the following messages in log files: Sep 13 08:19:07 NODE1 gfs_controld[3101]: cpg_mcast_joined error 2 handle 2846d7ad00000000 MSG_PLOCK Sep 13 08:19:07 NODE1 gfs_controld[3101]: send plock message error -1 Sep 13 08:19:11 NODE1 gfs_controld[3101]: cpg_mcast_joined error 2
2012 May 24
6
Puppet on Windows: Avoid download msi files if they aren't going to be installed
Hi all! I''m new on puppet, and I making my firsts classes. I have defined an example class to install 7Zip on Windows servers, it runs right, but I would like to improve it. The problem is that each time that I execute the "puppet agent --test" it downloads the 7zip.msi file, although it is really installed. So, my question is: Is possible to avoid the download of the
2011 Dec 13
8
[PATCH] xenpaging: remove XOPEN_SOURCE
# HG changeset patch # User Roger Pau Monne <roger.pau@entel.upc.edu> # Date 1323768129 -3600 # Node ID 7697ee23b08b8eaca9aee4f6b79cf550a490bef7 # Parent 8a84f53376862427f254a017cb52c928dbdd3d32 xenpaging: remove XOPEN_SOURCE The XOPEN_SOURCE define was breaking the compilation under NetBSD. I''ve removed it becasue it is not necessary (at least under NetBSD). If it is necessary
2011 Jul 08
3
Efectos aleatorios, interaccions y SNK, LSD o Tukey
Queridos R-users: Tengo una duda que hace mucho tiempo que estoy intentando resolver, os explico a modo de ejemplo: Tengo estos efectos: Año(5 niveles),Localidad (10 niveles) y genotipo (3 niveles), año y localidad son aleatorios y genotipo es fijo (los he escogido yo). Me gustaría hacer obtener una tabla parecida a la Tabla Anova donde aparezca cada factor y sus interacciones y
2011 Sep 05
3
function censReg in panel data setting
Hello all, I have a problem estimating Random Effects model using censReg function. small part of code: UpC <- censReg(Power ~ Windspeed, left = -Inf, right = 2000,data=PData_In,method="BHHH",nGHQ = 4) Error in maxNRCompute(fn = logLikAttr, fnOrig = fn, gradOrig = grad, hessOrig = hess, : NA in the initial gradient ...then I tried to set starting values myself and here is
2012 Aug 09
3
[LLVMdev] Type inconsistency in LLVM 3.1: CGDebugInfo.cpp
I'm probably missing something simple here but in: CGDebugInfo.h: std::vector<std::pair<void *, llvm::WeakVH> >ReplaceMap; but then in CGDebugInfo.cpp: llvm::DIType TC = getTypeOrNull(Ty); void * v = Ty.getAsOpaquePtr(); std::pair<void *, llvm::WeakVH> tmp = std::make_pair(v, TC); if (TC.Verify() && TC.isForwardDecl())
1999 Sep 14
2
MS Exchange
I have a MS Exchange server. I'd like to install a samba server for the users. Does someone know if MS Exchange can validate users in samba ? -- ^-^,-----. mailto:frankie@etsetb.upc.es o o ) http://www.etsetb.upc.es/~frankie Y (_ (__(OOOo
2008 Jan 21
1
Mysql collations error
Hello, I am having this mysql error in my ruby on rails application. ActiveRecord::StatementInvalid occurred in > event#lg: > Mysql::Error: Illegal mix of collations > (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for > operation ''='': select * from locations where country = ''HU'' and > geo_state = ''08'' and city
2008 Jun 13
1
Writing a new link for a GLM.
Hi, I wish to write a new link function for a GLM. R's glm routine does not supply the "loglog" link. I modified the make.link function adding the code: }, loglog = { linkfun <- function(mu) -log(-log(mu)) linkinv <- function(eta) exp(-exp(-eta)) mu.eta <- function(eta) exp(-exp(-eta)-eta) valideta <- function(eta) all(eta != 0)
2019 Mar 04
3
Consulta eliminar columna autómatica
Hola Klaus y Jorge , gracias por responder. Intente eso mismo y me borra la columna "y", yo quiero eliminar la columna que se genera en los data frame que contiene el número de registro. En el ejemplo de abajo esa columna va de 1 a 4, cuando exporta el data frame se genera esa misma columna (que no tiene cabecera) Años Edad Dpto 1 Bueno 16,75 1 2 Bueno 16 1 3 Malo
2016 Mar 13
3
NetApp NFS vs. ZFS and NFS for Maildir
On Sun, 13 Mar 2016 09:45:06 +0000 James <lista at xdrv.co.uk> wrote: > On 11/03/2016 15:17, Stephan von Krawczynski wrote: > > > zfs set sync=disabled ? > > Only if you are happy to loose data on power failure. I don't know the actual setup, but if you have no UPC you shouldn't host email services anyway. -- Regards, Stephan
2006 May 16
6
Netherlands zaptel.conf
Hello, I have configured my TDM01B Card (1 FXO Port ) as follows (below) but it will not pick up an incoming call. Any suggestions/tools to see what the problem is? I have looked at zttool where this line changes but I don't understand what it means (The last digit changed from 0 to 1) Total/Conf/Act: 4/ 1/ 1 /etc/zaptel.conf fxsks=4 loadzone=nl defaultzone=nl
2010 Jan 19
4
[LLVMdev] Can I port LLVM as a source-to-source compiler?
Hello, I am working in a project on a parallel programming language. I want to base our language on Java or C/C++. But Java is preferred. Many similar projects adopts a source-to-source methodology, e.g., Berkeley UPC(using Open64), Titanium, and Rice University's Co-array Fortran. They output C code with calls to the runtime. I think there are at least three reasons: 1) using C as the
2012 Aug 09
1
[LLVMdev] Type inconsistency in LLVM 3.1: CGDebugInfo.cpp
Hi Ben, Thanks that helped a lot. The problem seems to be that with the move to C++11 we now have: void std::vector<_Ty>::push_back(std::pair<_Ty1,_Ty2> &&)' and there no conversion operator that can be applied to convert: 'std::pair<_Ty1,_Ty2>' to 'std::pair<_Ty3,_Ty4> && Where: [ _Ty1=void *,
2006 Jun 21
6
vertical menus
Hello all, Not a directly related question to scriptaculous or prototype, but I am looking for a good, dynamic vertical javascript menu. I''ve done some searching and there are a lot of menu implementations out there. I''m looking for something more or less free, but will pay/donate a small fee towards something worth while. I figured I''d ask here to help filter down