similar to: How to handle default database values now?

Displaying 20 results from an estimated 10000 matches similar to: "How to handle default database values now?"

2011 Feb 27
1
Database abstraction
Hi all - I've been working on a lite ORM and database abstraction package for R. Formatting complex queries by hand has always been an error-prone hassle, so I've tried to do away with that as much as possible, instead, using R objects to represent elements of a database system (statements, clauses, operators, functions, fields, tables, etc.). R5 classes have made the development of this
2006 Apr 10
5
How to create tables/models on the fly?
Hi everyone, I need to create a lot of new db tables during application lifecycle. Like 1000 tables, each holding data from a specific device, collecting data in real time. Each table may have different columns number, e.g. one is: datetime, temperature, pressure and another will be: datetime, voltage, current, power, resistance. Can anybody advice how to best achive it, to make good use
2010 Mar 18
1
How to match two matrices with different dates
Dear R users, I am experiencing a problem, I am trying to merge two matrices composed like this: Matrix1 : Col1 datetime // Col2 Data1 Matrix2: Col1 datetime // Col2 Data2 The datetime are matching most of the time, but on both matrices, there are some values missing, and this generates a gap, so the two matrices don't match. Do you know which function I could use/create in order to
2015 Jul 07
2
[LLVMdev] [cfe-dev] 3.6.2-final has been tagged.
On 7 July 2015 at 06:17, Renato Golin <renato.golin at linaro.org> wrote: > ARM+AArch64 up. All gree. Just to note there was a bug in test-release.sh where the script would not exit if the build/tests failed making failures less noticeable. I've fixed it in r241599. It would be a good idea to use that fix unless you are happy combing through the logs for failures.
2006 Jul 04
2
random sampling problems?
Dear friends, suppose my dataset is the following data: id<-1:9 x<-c(1,2,3,1,2,3,1,2,3) y<-c(1,1,1,2,2,2,3,3,3) data<-data.frame(id,x,y) id x y 1 1 1 1 2 2 2 1 3 3 3 1 4 4 1 2 5 5 2 2 6 6 3 2 7 7 1 3 8 8 2 3 9 9 3 3 i want to do sampling like this:say the sample size is 3. First: random sampling from x; Next ,random sampling from
2012 Sep 03
1
combing list objects
Hi, I am trying to combine a long list but I can't work out how to do it, for example: abun<-list(rep(0,5),rep(0,7),rep(0,4),rep(0,10)) nb<-c(5,5,1,8) fill.abun <- function(x, y) { set <- sample(1:length(x), size = y) x[set] <- rlnorm(length(set)) return(x) } abun <- mapply(fill.abun, abun, nb) abun ## I want all the data in one
2006 Jan 05
3
ActiveRecord setting IDs on auto increment fields
Hi All, I''ve tried to do my searches, but can''t find reference to this anywhere - My question is about ActiveRecord inserts and IDs. I have a join table that both the models of the source tables join with "has_and_belongs_to_many". It seems like ActiveRecord is setting the "id" field for the join table- This should be an auto_increment and
2003 Nov 06
3
Stumped
Hi All, I tried combing through the archives, but I think that I just went mental. We're trying to set up a pxe server here using syslinux 2.0.6, and here's what we've got: client sends bootp request receives ip, server to go to and file to fetch. fetches and executes pxelinux.0 fetches pxelinux.cfg/default fetches display.msg (defined in default) displays the text - but when I
2006 Apr 05
3
how to insert Current DateTime value into database?
Hi, I want to insert onto database the Current DateTime Value into database field "Store_date" with datatype (DATETIME). How to do tihs? I am usiing hidden variable into my form as follows:- ======================= <%= hidden_field("store", "store_date", :value =>:datetime ) %> ======================= But when I m submmittng form I couldn''t find
2006 Jun 15
8
rails saves it to the database and I don''t want to
Hello: I am developing a web application to book machines for an event. so I have an event model class Event < ActiveRecord::Base has_many :datetimes ... end and a datetime model class Datetime < ActiveRecord::Base belongs_to :event ... end I have developed a view with the event information and information for the datetimes. and in the event_controller when I capture a datetime I
2004 Aug 06
1
: (Lattice): Overlaying more than one trend surface using contourplot() and wireframe()
Hi, Is there a way to plot more than one trend surface using the functions contourplot() and wireframe(). I have found an add=T in contour(), but no equivalent argument in contourplot() and wireframe()? I have taken the example 11-2 (pages 441-451) from Design and analysis of experiments (Montgomery 2001, 5th edition) to see if this could be done in R. I have managed to plot individual
2004 Sep 14
2
white noise problem when using -DFIXED_POINT
Jean-Marc Valin wrote: > On mar, 2004-09-14 at 16:31 -0700, wrote: > >>Hi there. We're trying to build a speex decoder for Palm OS (i.e. ARM7). >> >>No major problems porting thus far, but when compiling the speex modules with -DFIXED_POINT all the silent parts of the output are replaced with what sounds like high-power white noise. The spoken parts sound great, but
2005 Jan 27
1
Configuration guide for Syslinux/PXElinux neede.
Hello guys, Sorry to make noise in the group, but I had really hard time finding how to configure PXELinux to my requirements, despite reading everything available on syslinux.zytor.com and combing google for config examples for your beast. Also, did browse the source code, but good luck to understand what is there in half a day... The boot loader is really nice, but may please someone
2004 Jun 26
1
accessing files on XP box from Linux Box
Like many, I'm trying to make the move from Windows to Linux. Unfortunately, I'm not the only one who works at my company. The primary file server is a Windows XP Pro machine. There is a share on this machine that I must connnect to. As a first step, I'm trying to connect to this shared directory from my new Linux workstation. After many hours of combing through documentation and
2008 Sep 04
1
combning rows
I do have a txt file where each row is a record and the first element of each record is an id for an individual. I am looking into combing the records into one row if the id is the same and save as a txt file. Notice that the rows may not have the same length in the result file that I want to create . Can I do this using R. I appreciate your help. Thanks -- View this message in context:
2012 Aug 27
1
Fact based variables sowing up empty
I''ve got a single puppet master (2.7.19 + facter 1.6.11) controlling a number of nodes (2.7.17 + facter 1.6.8-10). On all of thse, fact absed variables work as expected (such as $::operatingsystem and $::fqdn). However, on my puppet master, when I run ''puppet agent --test'' all fact based variables are combing back as empty strings. For example. I have a line in a
2006 Jun 26
3
syntax for observe_field( :with =>
Greetings! What is up with the syntax of this thing? I mean, if the only thing I can send back using :with is the field being observed, then why in the world is the syntax so convoluted? For example, what I''ve been able to get working is: <%= text_field_tag(''date'', illness_date, :size => 30) %></p> <%= observe_field(''date'', :url
2005 Oct 19
2
Automatic rounding of values after factors , converted to numeric, are multipled by a real number
I am wondering if someone would have any suggestion about my issue? I have the following code: wgts<-aggregate(subset(lendata,select=c(Length)),list(lendata$Cruise,len data$Station,lendata$Region,lendata$Total),mean) wgts<-wgts[order(wgts$Group.3,wgts$Group.1,wgts$Group.1),] names(wgts)<-c("Cruise","Station","Region","Total","MLen")
2003 Feb 03
2
Mtext and xyplot
Dear all; I wish to create a graphic object combing an xyplot() and an mtext(). My code looks like following, gmv <- { trellis.device("windows", bg="white", width = 7, height = 7) xyplot(Mvol ~ Age | Nl * Th , data = Hft1, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab =list(label = "Age (Years)", font = 2),
2006 Mar 30
4
Asterisk in production as a fax server, anyone?
Greetings, All-Knowing Asterisk Users List, My company needs to build a reliable fax server that can handle at least 30 simultaneous incoming faxes from the PSTN, using PRI. We realize that this can be solved in any number of ways using a Linux box, but since IVR is also a must, Asterisk popped up as the most promising solution. After combing these lists for clues, we began experimenting