search for: ref_type

Displaying 8 results from an estimated 8 matches for "ref_type".

Did you mean: if_type
2008 May 06
10
Best way to implement?
So I''m new to all this Rails stuff and this is probably a database design-related question to, but here it is... Just for learning I''m trying to build a little real estate listings application. Of course there is the listings model which will store basic information like name, price, description, and all that jazz. I''m to the point where I want to figure out how to
2006 Apr 17
0
polymorphic association with single model as target
...ete :target end end ... process table name base on target and call set_table_name super end The model that contain the marks to the dictionary entries is defined like this: belongs_to :ref, :polymorphic => true I use the ref_id as foreign key (as in all the examples) and ref_type as INTEGER with a number defining the dictionary I''d like to refer too. Doing the "joins" myself as in the exemple below works well. @marks_en = DbDict.find(:all, :target => DBDICT_EN_TYPE, :joins => "as db inner join marks as ma on...
2024 Mar 07
1
Opus 1.5 is out -- now with ML
FYI, the README file section on building for Windows says to see the README.md files in the cmake or meson subdirectories, but there are no README files in either of those subdirectories. -----Original Message----- From: opus <opus-bounces at xiph.org> On Behalf Of Jean-Marc Valin Sent: Monday, March 4, 2024 12:52 PM To: opus at xiph.org Subject: Re: [opus] Opus 1.5 is out -- now with ML
2023 Sep 22
2
Help ! libvirt
On Fri, Sep 22, 2023 at 06:33:06AM +0100, Bhasker C V wrote: > I finally fixed it. > The issue seems to be with the tpm-tis/cpu backend (wonder why it shows up > with a different error) > For the sake of community, I am attaching the new xml file so that you can > do forensics on what changed > (I prettymuch did a virt-install --import --print-xml to redo the config > keeping
2024 Mar 15
1
Using multiple temporary indexes during updates
On Fri, Mar 15, 2024 at 08:15:55PM +0100, Jean-Francois Dockes wrote: > I have been playing at converting the index update stage of the Recoll indexer to use > multiple temporary indexes and a final merge. > > This yields an improvement factor of almost 3 (on my quad-core CPU), for the total > indexing time for "easy" files like HTML pages. This is nice (!) and I wanted
2010 Aug 27
3
[PATCH 0 of 3] libxl: cleanups for type destructor generation
Following series cleans up a few niggles in the libxl destructor autogeneration. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2024 Feb 06
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
Here's a dummy example that I think illustrates the problem: toto <- function() { if (runif(1) < 0.5) function(a) a else function(a,b) a+b } > fcn <- toto() > fcn(1,2) [1] 3 > fcn <- toto() > fcn(1,2) [1] 3 > fcn <- toto() > fcn(1,2) Error in fcn(1, 2) : unused argument (2) How can you use the returned function, if you get different arguments?
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before