Displaying 20 results from an estimated 260 matches for "upc".
Did you mean:
up
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 = Product.new(params[:product])
@upc = Upc.new(params[:upc])
@product.upcs << @upc u...
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: gfs-test
Cluster Id: 25790
Cluster Member: Yes
Cluster Generation: 4156
Mem...
2003 May 05
2
(PR#1289)
...".
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,
--
________________________________________________________________________
Harald Servat Gelabert (harald@cepba.upc.es)
o//o Centre Europeu de Paral.lelisme de Barcelona CEPBA
o//o WWW...: http://www.cepba.upc.es Tel: +34-93-401 74 23
o//o e-mail: suport@cepba.upc.es Fax: +34-93-401 25 77
o//o CEPBA c/Jordi Girona, 1-3, Mòdul D6. E-08034 Barcelona, Catalunya
___...
2003 Oct 29
1
Environment set on PAM module is not visible to user
...i
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 OOO Universitat Politecnica de Catalunya (UPC)
josear at ac.upc.es OOO Departament d'Arquitectura de Computadors
Tel. 16990 OOO -*- LCAC -*-
UPC
2014 Mar 15
0
allocation error and high CPU usage from kworker and migration: memory fragmentation?
...s obvious that it is the R script generating
this kworker activity on the same core. I'm guessing this is R trying to
recover from memory fragmentation?
- I suspect a lot of my problem is from the merges. If I did that in
one line, would this help at all?
move <- merge(merge(move, upc, by=c('upc')), parent, by=c('store',
'year'))
* other strategies to improve merge performance?
- If this is a memory fragmentation issue, is there a way to get
lapply to allocate not just pointers to the data.tables that will be
allocated, but to (over)allocate th...
2010 Sep 15
0
problem with gfs_controld
...quot;10" program="/bin/ping -t1 -c1
numIP.1" score="1" tko="5"/>
</quorumd>
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="NODE2.fib.upc.es" nodeid="1" votes="1">
<fence>
<method name="1">
<device lanplus="1" name="NODE2SP"/>
</m...
2012 May 24
6
Puppet on Windows: Avoid download msi files if they aren't going to be installed
...ere is
no need to install it?
This is the code:
class software_dir {
file { ''SOFTWARE_DIR'':
path => ''C:\\SOFTWARE'',
ensure => directory,
}
}
class 7Zip() {
include software_dir
$7Zip_source = ''puppet://puppet.upc.edu/modules/windows/7z920.msi''
$7Zip_path = ''C:\\SOFTWARE\\7z920.msi''
$7Zip_package_name = ''7-zip 9.20''
file { $7Zip_path:
source => $7Zip_source;
}
package { $7Zip_package_name:
ensure => installed,
p...
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 und...
2011 Jul 08
3
Efectos aleatorios, interaccions y SNK, LSD o Tukey
...ducir las interacciones
deseada ni al final he podido hacer un LSD o SNK.
Como puedo implementarlo en R (teniendo en cuenta los efectos e
interacciones anteriores (A,L,G)) y al final hacer una comparación de
medias del Genotipo (G) (LSD o SNK)?
Muchas gracias
Atentamente
Marçal Plans
--
UPC-ESAB.
Campus del Baix Llobregat . Edifici D4. C. Esteve Terradas, 8. 08860
Castelldefels
http://www.esab.upc.edu/
Despatx: 27
Telèfon: 93 552 1226
Fundació Miquel Agustí - Carrer de Sant Pau 34 08201 Sabadell, Barcelona
http://www.fundaciomiquelagusti.com/
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 the error wh...
2012 Aug 09
3
[LLVMdev] Type inconsistency in LLVM 3.1: CGDebugInfo.cpp
...ForwardDecl())
ReplaceMap.push_back(Ty.getTypeOrNull(), TC);
Note that TC is of type llvm:DIType and not WeakVH.
What am I missing, as this does not compile under Visual Studio 2012 RC?
Regards,
Ben
- Benedict R. Gaster
Enjoy Berlin and submit a paper to Multiprog 2013: http://multiprog.ac.upc.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120809/cc41b7c1/attachment.html>
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
...and
> geo_state = ''08'' and city = ''Pázmánd'' and zip = ''(null)'' and lat =
> ''47.283'' and lng = ''18.666'' and metrocode = ''0'' and areacode = ''0''
> and isp = ''UPC Magyarorszag Kft.'' and organization = ''UPC
> Magyarorszag Kft.'' limit 1
mysql collation variables are set to.
collation_connection
latin1_swedish_ci
collation_database
utf8_general_ci
collation_server utf8_general_ci
mysql character set are se...
2008 Jun 13
1
Writing a new link for a GLM.
...Jan.
--
------------------------------------------------------------------------
|Jan Graffelman |tel: +34-93-4011739 |
|Dpt. of Statistics & Operations Research|fax: +34-93-4016575 |
|Universitat Politecnica de Catalunya |email: jan.graffelman at upc.edu|
|Av. Diagonal 647, 6th floor |www: |
|08028 Barcelona, Spain | http://www-eio.upc.es/~jan/|
2019 Mar 04
3
Consulta eliminar columna autómatica
...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 20,45 2
4 Malo 16,25 2
El lun., 4 de mar. de 2019 a la(s) 13:48, Klaus Langohr (
klaus.langohr en upc.edu) escribió:
> Hola Andrés,
>
> Podrías usar la función write.xlsx del paquete openxlsx en combinación con
> la función subset:
>
> library(openxlsx)
> write.xlsx(subset(misdatos, select = -y), "misdatos.xlsx")
>
> Un saludo,
>
> Klaus.
>
>
> O...
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 output, it gets more portability. 2) leverage the
front ends of existing compilers. 3) leverage optimizations in existing
c...
2012 Aug 09
1
[LLVMdev] Type inconsistency in LLVM 3.1: CGDebugInfo.cpp
...r(Ty.getAsOpaquePtr(), (llvm::MDNode *)T));
and all it well again. This does indeed seem to be a bug in VS, unless there is some C++11 changes that stops implicit conversion under std::pair.
Regards,
Ben
- Benedict R. Gaster
Enjoy Berlin and submit a paper to Multiprog 2013: http://multiprog.ac.upc.edu/
> -----Original Message-----
> From: Benjamin Kramer [mailto:benny.kra at gmail.com]
> Sent: Thursday, August 09, 2012 10:55 AM
> To: Gaster, Benedict
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Type inconsistency in LLVM 3.1: CGDebugInfo.cpp
>
>
> On 09...
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