Displaying 20 results from an estimated 5000 matches similar to: "Puppet on Windows: Avoid download msi files if they aren't going to be installed"
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,
--
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 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
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
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())
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
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
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 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
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
2018 Mar 05
4
garbage on serial console after pxelinux.0 is loaded
We have some x86_64 systems that have DisplayPort and USB ports for a monitor & keyboard and when I use these to PXE boot, everything works fine. However, these systems will eventually become headless and in the production process access to the console will be via serial port. Using the serial port mostly works in that once we get to the PXE boot: prompt we can type in the name of the
2011 Sep 24
1
Can't reliably use RefClass methods in Snowfall
Greetings,
I am trying to use Reference Class methods in Snowfall, using R 2.12.1
on Ubuntu Natty. Using then directly seems to work (stanza 2 below),
but using them indirectly does not (stanza 3 below). I get an "attempt
to apply non-function" error.
In addition to exporting the instance of the object I created to the
Snowfall slaves, I also made several attempts to export the
2009 Mar 24
2
sambaRefuseMachinePwdChange policy
Hi,
we have a couple of Linux RHEL 5 samba servers in a domain, one as PDC
and the other as BDC, and both with LDAP backends
samba version is 3.0.28-1
We want pc clients can't change their machine password using
sambaRefuseMachinePwdChange policy, so we set it to 1 in LDAP
But pc clients still can change their passwords, and we don't see any
acces to sambaRefuseMachinePwdChange
2011 Jan 28
3
Transitioning from multi-boot to Xen
I am looking into setting up Xen 4.0 on a simple dual-boot
Windows/ubuntu laptop with the following partitions:
| Device Boot Start End Blocks Id System
| /dev/sda1 * 1 223 1782784 7 HPFS/NTFS
| /dev/sda2 223 21713 172624888 7 HPFS/NTFS
| /dev/sda3 35854 38914 24576344 7 HPFS/NTFS
| /dev/sda4
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
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
2009 Jan 16
12
running a ruby expression stored in a database
Is this even possible? I''ve got a ruby expression stored in a
database, it''s the code to run a plugin since I was having trouble
passing variables stored in the database.
When I try to call the code, it either outputs it as text, or doesn''t
display it at all. It''s supposed to generate an image and display it.
right now the code is stored in the database as: