similar to: Controlling files through groups

Displaying 20 results from an estimated 20000 matches similar to: "Controlling files through groups"

2010 Sep 04
3
its easy but i forgot all
my models borrower ----- has_many :loans loan ----- belongs_to :borrower my loans _controller def new @borrower = Borrower.find(params[:borrower_id]) logger.debug '' @borrower.id'' logger.debug @borrower.id @loan = Loan.new respond_to do |format| format.html # new.html.erb format.xml { render :xml => @loan } end
2013 Jun 13
3
¿Alguna explicación para este fenómeno? (Relativo al uso de memoria)
Hola, ¿qué tal? Tengo un df relativamente chiquito: > dim(loans) [1] 15172 22 > object.size(loans) 7488144 bytes Sin embargo, empresas <- split(loans, loans$number_id) length(empresas) #8748 object.size(empresas) # 50643907728 bytes Es decir, el objeto resultante de partir un df de 15000 filas en 8700 dfs ocupa 5GB. ¿Alguna idea de por qué ocurre esto? (Uso R 3.0.1 en un
2013 Jun 13
2
¿Alguna explicación para este fenómeno? (Relativo al uso de memoria)
Interesante... y preocupante. No propuso alguien, no hace mucho, reescribir R desde el principio por este tipo de cosas? El 13/06/13 20:04, Carlos Ortega escribió: > Hola, > > Si este comportamiento se ve con cualquier data.frame que luego conviertas > a lista: > >> >> v <- 1:10 >> w <- split(v, 1:2) >> w > $`1` > [1] 1 3 5 7 9 > > $`2`
2013 Jun 13
4
¿Alguna explicación para este fenómeno? (Relativo al uso de memoria)
Hola, ¿qué tal? Al final he descubierto el motivo del problema. Cierto que esperaba cierto nivel de _overhead_, pero nunca tantísimo. Por mucho _overhead_ que haya, no se pasa de 7MB a 5GB. El problema era que (a pesar de mi opción stringsAsFactors = F) los niveles de los factores se copiaban íntegros en cada una de las columnas de tipo factor de cada una de las tablas resultantes. Aunque no se
2013 Jun 13
1
¿Alguna explicación para este fenómeno? (Relativo al uso de memoria)
Hola, ¿qué tal? Lo que quieres es un "debugger visual" (como el de muchos IDEs, incluyendo Netbeans y Eclipse) para R, como el de Revolution, http://www.youtube.com/watch?feature=player_embedded&v=7shLKEINM9A#! Pues sí, efectivamente, existe, pero solo con la versión de Revolutions de R. Y verás también que está basado en el "debugger" tradicional de R, que permite
2013 Jun 13
1
¿Alguna explicación para este fenómeno? (Relativo al uso de memoria)
Javier, R también tiene opciones de "debug" como la que estás comentando. Te adjunto un ejemplo práctico: http://www.burns-stat.com/an-r-debugging-example/?utm_source=rss&utm_medium=rss&utm_campaign=an-r-debugging-example Saludos, Carlos Ortega www.qualityexcellence.es El 13 de junio de 2013 21:45, Marcuzzi, Javier Rubén < javier.ruben.marcuzzi@gmail.com> escribió:
2006 Apr 20
1
Bootstrap error message: Error in statistic(data, origina l, ...) : unused argument(s) ( ...) [Broadcast]
I quoted the relevant part of the documentation for you. Have you actually try to read what it says? Sure, you don't get any error, but have you checked whether any bootstrapping was actually done? Most of those functions are generics, thus having the "..." argument that can take anything. Doesn't mean they will be used. See if the following helps: > x <- 1:10 >
2012 Feb 07
1
survfit is too slow! Looking for an alternative
Hi All I found survfit function was very slow for a large dataset and I am looking for an alternative way to quickly get the predicted survival probabilities. My historical data set is a pool of loans with monthly observed default status for 24 months. I would like to fit the proportional hazard model with time varying covariate such as unemployment rates and time constant variables at loan
2003 May 29
1
Setting up shares with multiple directories
Morning everyone. Have a quick question on what would be the best way to set up sharing for my instance. Our samba server is going to be hosting applications that are used by our clients everyday. On our Samba server, I have setup the directories like this: (I should mention, one of our applications will have multiple folders to hold the corresponding data) /home/point /home/point/pntdata
2006 Oct 12
2
How do I test a unique index?
I have a loans table and a payments table. Each loan has_many payments. So far no problem. Now, the payments table has a payment_number field, and each payment has a payment_number unique within that loan. For example, Loan A can have payment_numbers 0, 1, and 2 and Loan B can have payment_numbers 0, 1, 2, and 3 (but only one of each payment_number). I can enforce this with a unique index in
2009 Jul 09
1
apcsmart and dual environmental sensors
Hi, We have a several AP9612TH environmental cards (they have 2 probe connectors) inserted into our APC UPS devices which monitor temperature and humidity. The apcsmart nut module knows how to query the ambient.temperature and ambient.humidity using the 't' and 'h' commands of the UPS (refer to apcsmart.h). The results of the 't' and 'h' commands are from probe 1.
2005 Dec 13
4
find()ing rows w/ NULL columns?
Agile Web Development with Rails doesn''t seem to have NULL in the index [or my eyes have failed me again], and web searching turns up lots of SQL statements containing NOT NULL. I have a table of loans, and I want to record when something was loaned and returned. The loan date can''t be null, or there''d be no entry in the table. The return date must be something
2007 Mar 25
1
controlling panel.width and panel.height in viewports
Dear all, I'm trying to get a series of lattice levelplots to appear in viewports in a particular way but struggling to exert fine control over their appearence. There are two conditions: (a) I only want the levelplot to appear (I don't want axes, colour key, etc) in the viewport and (b) I want the levelplot to expand to the maximum allowable space in the viewport while observing
2003 Aug 14
3
User directories and groups usage
Morning everyone. I was playing around today with our PDC setup. One thing I noticed is that when I setup users to have their 'My Documents' directory be /home/<user> everything works well. One thing I noticed is that the directory, subdirectories and files have the owner of the user and the group as per assigned, and permissions as 700. If I wanted to set it up so a specific
2005 Aug 17
1
GLM/GAM and unobserved heterogeneity
Hello, I'm interested in correcting for and measuring unobserved heterogeneity ("missing variables") using R. In particular, I'm searching for a simple way to measure the amount of unobserved heterogeneity remaining in a series of increasingly complex models (adding additional variables to each new model) on the same data. I have a static database of 400,000 or
2003 Aug 12
1
Administrator account: For Windows 2000 and Samba
I know i've asked this before, but I was unable to get a clear response on how this works exactly. As I said before: The Administrator account on Windows machine is there by default. My question is, can I add a Administrator account to samba and make sure they are part of the Domain Admins group to ensure that I can still use the administrator account to do certain functions on my clients
2015 Nov 02
2
help with push
Hi, sorry if I misunderstood everything... In the file src/gallium/drivers/nouveau/nv30/nv30_screen.c there is loans of PUSH_DATA which is basically *push->curr = data; I'm thinking that somehow push->curr is the bo->map = drm_mmap(...) that is called in nouveau_bo_map. But I cannot see how they are linked... Because when nouveau_bo_map calls nouveau_bo_wait push =
2003 May 15
6
Question on LDAP+Samba+PDC
Hello everyone. Well, I have been working very hard lately, trying to get a server up to act as our Samba PDC with LDAP. So far, everything seems to be working well. I've been able to get samba 2.2.8 and openldap 2.0.27 installed with no problems. I've setup my config files (ldap.conf, slapd.conf, smb.conf) as well as added some initial entries to the LDAP directory. I've been
2009 Mar 23
2
Select updates database?
I am running on Rails 2.2.2 on Solaris (and also on my mac) against mysql. For some reason, when I use a select in the partial, the database does not get updated with the changed value. I am using checkbox for other fields which works perfectly. I can provide more information if needed, but I would like the field to work as a dropdown instead of a text field. My Model:
2003 May 29
2
Migrating Profiles: Revisited
Hello everyone. Well, i've tried to figure this out on my own by asking questions and reading the how-to provided by John. I've followed the directions accordingly, but there are a few catches i've noticed that seem to be throwing me a curve or to. Let me recap. Basically, i've setup our samba PDC with LDAP. I originally was going to use roaming profiles, but decided against