search for: orm

Displaying 20 results from an estimated 285 matches for "orm".

Did you mean: or
2008 Nov 17
1
R ORM?
Hi, Does anyone know of an R ORM (Object Relational Mapper)? I'm thinking of something similar to sqlalchemy (http://www.sqlalchemy.org/). Alternatively or additionally, can people offer suggestions about managing relational databases from R. I'm currently using postgresql, but would like a flexible solution that works...
2006 Apr 05
1
Anyone had success with other ORMs?
Hi, I was just wondering what levels of success people have had with other ORMs. Why did you use another ORM?.. and what benefits did it provide over ActiveRecord and others? Did it integrate well with rails? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2013 Jul 11
0
[R-pkgs] Major Update to rms package
...note. CRAN has the update for linux and will soon have it for Windows and Mac - check http://cran.r-project.org/web/packages/rms/ for availability. This rms update relies on a major update of the Hmisc package. The most user-visible changes are: * Addition of a major new modeling function orm ("ordinal regression model") that supports 5 distribution families (one being the logistic, for proportional odds models) and is meant for continuous Y. Sparse matrix operations (helped greatly by the SparseM package) allows thousands of intercepts to be fitted when there are thousan...
2010 May 27
1
Question on Rails 3 : forms && ORM && ActiveModel
I''m a Django/Catalyst user that''s evaluating Rails ... I need a Ruby framework, and I''m trying to see if learning Rails is worth it or I should just go for Sinatra + various libs available. Django has a couple of things I like ... 1) the Forms API In Django I like that it''s being decoupled from models ... form objects have fields with validation rules that also can contain html rendering logic ... you can use them just to validate a request and that validation can contain business rules that don''t make sense to have i...
2015 May 10
2
[LLVMdev] http://llvm.org/perf/ instability: some clues
...y.path, self, echo=echo) File "/opt/venv/perf/lib/python2.7/site-packages/LNT-0.4.1dev-py2.7.egg/lnt/serve r/db/v4db.py", line 108, in __init__ .filter_by(id = lnt.testing.PASS).first() File "/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9.6-py2.7.egg/sqlal chemy/orm/query.py", line 2334, in first ret = list(self[0:1]) File "/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9.6-py2.7.egg/sqlal chemy/orm/query.py", line 2201, in __getitem__ return list(res) File "/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9....
2020 Feb 20
3
SQL modeling tool for CentOS 7
On 02/16/2020 10:47 PM, Bee.Lists wrote: > Sequel ORM > > >> On Feb 16, 2020, at 7:28 PM, H <agents at meddatainc.com> wrote: >> >> I am looking for an open-source SQL modeling tool to use with MySQL, MariaDB and PostgreSQL. Does anyone have a favorite? > > > Cheers, Bee > > > > > _________________...
2009 Nov 09
3
How can I improve a Ruby on Rails code that hast a lot of SQL as strings?
Hello Railists, I have a piece of Ruby on Rails code that has a complex SQL query (well, not that complex, but as far as I know beyond the ORM capabilities) and for my taste it has too many strings and harcoded values. I''d like to improve it as much as possible, so my question is open ended, what else can I do to improve it? Some particular issues I have - Is there a way to get a table name to use it in a query in the same esca...
2005 Dec 16
0
Quick ORM question
Quick question on this query: @item.entries = Entry.find_recent(@td.id, 10) || [] My development log file shows that rails makes 2 calls to database! Is rails ORM not smart enough to know to not load the lvalue of assignment thus causing another expensive db call? Below are the stubbed models and a log snip. class Entry < ActiveRecord::Base belongs_to :tracking_definition def self.find_recent(td_id, limit=10) find(:all, :conditions => [&quo...
2003 Nov 14
7
Vector indices and minus sign
Hi, I got caught out by this behaviour in 1.8.0 and I wondered why this happens: I have a list of vectors and was using lapply and grep to remove matched elements that occur in only a subset of the elements of the list: locs <- lapply(locs, function(x){x[- grep("^x", x)]}) The problem is that where the grep finds no matches and hence returns a vector of length 0, all the
2002 Aug 30
4
Intercept in model formulae.
Hi, I'm trying to create a linear model for a dataset that has a breakpoint e.g. # dummy dataset x <- 1:20 y <- c(1:10,seq(10.5,15,0.5)) plot(x,y) I've modelled this using the following formula: temp <- lm(y ~ x*(x<=10)+x*(x>10)) I want to be able to omit the intercept (i.e. force the line through zero) from the first of these segments (x<=10) so that I'm only estimating one intercept and two slopes. I've tried including -1 in the formula, folllowing the lm(y ~...
2002 Jan 16
2
list indexing
...quot;a" "b" "c" "d" [[3]] [1] "a" "b" [[4]] [1] "a" "b" "c" "d" "e" Indexing single list components is fine using [[i]] and elements within using [[i]][j] but what if you want to get some information, for instance vector length or attributes of the components, across (or should that be down) the top level components. You can do it by looping across 1:length(list): > store <- numeric(0) > for(components in 1:length(x)) store <- c(store,length(x[[components]])) > store...
2006 Jun 30
0
redhat being sued over use of ORM/ActiveRecord Pattern in hibernate...could RoR be next?
http://technocrat.net/d/2006/6/30/5032 article mentions RoR...
2005 Nov 24
0
model classes into module = superclass mismatch
Hello. I''d like to put all my data model classes into a module to avoid name clashes with other classes. However, when I do so, I get a superclass mismatch error. My class hierarchy for the class in question looks like this: class ViewCTI < ActiveRecord::Base end module ORM class Molecule < ViewCTI end end I load the model classes from the ApplicationController class class ApplicationController < ActionController::Base model :orm layout ''layouts/standard'' end When I try to execute a controller I get the following error: TypeError in &...
2007 Sep 22
9
skeleton and configs
...home in lib/plugins and it would solve the minor dilemor of "does my little extension count as a "dependancy" or as a "lib" the log dir: can''t argue there. the public dir: that''s a given. the schema dir: I think this should be created by whichever ORM plugin/lib you have chosen to use. Not all merb apps will even need a database. the spec dir: perfect, one single obvious place to get your mocks/specs in order the scripts dir: this should be removed. Raketasks are to "scripts" as merb is to actionpack ;) ....and "rake -T&q...
2006 Jun 04
4
Fil from filsystem -> db
Since Ajax doesn''t support file uploads, I''m using "IFRAME remoting made easy" (http://sean.treadway.info/). I''m saving a file to the filesystem, and then trying to put it in to the database when I do the final submit with ajax. I thought picking the file up and putting it in the db would be as easy as having: "@image.data =
2004 May 10
2
Lists and outer() like functionality?
Hi, I'm have a list of integer vectors and I want to perform an outer() like operation on the list. As an example, take the following list: mylist <- list(1:5,3:9,8:12) A simple example of the kind of thing I want to do is to find the sum of the shared numbers between each vector to give a result like: result <- array(c(15,12,0,12,42,17,0,17,50),...
2003 Oct 15
1
RODBC on Mac OSX pointers?
...Darwin 6.8) installed and R 1.8.0 installed from source and I have updated RODBC to 1.0-4. On the ODBC manager end, I am using OpenLink software's iODBC Administrator and I've set up a User DSN called "PostGRES" - odbctest suggests that this is functioning: > [doibook:~] dorme% /usr/bin/odbctest > iODBC Demonstration program > This program shows an interactive SQL processor > > Enter ODBC connect string (? shows list): dsn=PostGRES > > Have a nice day. > [doibook:~] dorme% However, when I try to access the connection from R I get the following: &g...
2005 Dec 21
3
Object graphs
...t PHP5 has good enough OO support to make building large object graphs feasible) persist large object graphs between requests? In other words, say I have around 15 model classes where each class is composed somehow by at least one other in the group, and that some of these classes are persisted by ORM. On the first request, loading one particular object might cause objects of all these classes to be either loaded from the ORM store or instantiated. If the same web user issues a request two seconds after this one that would require the same objects, am I forced to reload everything again, or is t...
2003 May 15
1
Compile R-1.7.0 on Mac OS 10.2.6
...ror are associated with the following message: > dyld: g77 version mismatch for library: /sw/lib/libiconv.2.dylib > (compatibility version of user: 4.0.0 greater than library's version: > 3.0.0) Can anyone help? Many thanks, David --------------------------------------- Dr. David Orme Department of Biological Sciences Imperial College London Silwood Park Campus Ascot, Berkshire SL5 7PY UK. Tel: +44 (0)20 759 42358 Fax: +44 (0)20 759 42339 e-mail: d.orme at imperial.ac.uk
2002 Feb 20
2
Multiple macintosh() graphics devices (PR#1318)
Full_Name: David Orme Version: 1.4.0 OS: Mac OS 9.1 Submission from: (NULL) (155.198.17.121) R crashes (politely and without further repercussions) with a type 3 error under the following conditions: Open more than one macintosh() graphics device: > macintosh() > macintosh() and hence there are two devices.....