circular-reference

Is it possible to create circular references in Clojure ?

Ignoring native interop and transients, is it possible to create any data structures in Clojure that contain direct circular references ? It would seem that immutable data structures can only ever contain references to previous versions of themselves. Are there any Clojure APIs that could create a new data structure that has a reference...

How to deal with circular references?

If I have those two projects: MyCompany.ERP.Billing MyCompany.ERP.Financial Billing asks/sends information to Financial and vice-versa. Both are too big so I don't want to put them in a single project. Visual Studio doesn't allow circular references. How would you deal with that? ...

Solve circular references without introducing a new project

I have big, fat and ugly legacy program. One task I had to accomplish was adding a new class to project A. Project B references project A, but the functionality I need to add depends on a method of a class in project B. Of course, I can't reference project B from A, because that would create a circular reference. In a similar situation, ...

Circular References in Database Design - Should they be avoided?

Hello guys, I am currently developing a database via MS Access 2003 and got stuck at a circular reference problem. Basically, it comes down to the following relationship triangle (it is a simplified form of my relationship table): Positions oo oo / \ ...

Are there any static analysis tools that can help detect shared_ptr<> circular references?

Are there any static analysis tools that can help detect shared_ptr<> circular references? Even if such a tool couldn't detect complicated cases, it would still be useful for eliminating the simple cases. ...

Implementing Bi-Directional relationships in MongoEngine

I'm building a Django application that uses MongoDB and MongoEngine to store data. To present a simplified and version of my problem, say I want to have two classes: User and Page. Each page should associate itself with a user and each user a page. from mongoengine import * class Page(Document): pass class User(Document): name...

How can I make the gallery circular in jCoverFlip plugin jQuery?

Hello, i am using jCoverFlip (http://www.jcoverflip.com/) plugin for a gallery in my site. What I want to do, is to make this gallery circular. Does anyone know how can I do this? Thanks ...

Looking for a simple test for circular reference in a recursive model

I have a model that represents an assembly that is made up of components, components may (in their own right) also be assemblies. It looks a little like this: class Component < ActiveRecord::Base belongs_to :assembly, :class_name => "Component", :foreign_key => :assembly_id has_many :pieces, :class_name => "Component", :foreign_key...

ASPNETCOMPILER: Circular file references are not allowed. --- no details on where to find it

Hi, I've seen the Circular file references are not allowed. before and have been able to fix it using suggestion from e.g. this stackoverflow thread. That's because the aspnet_compiler was kind enough to tell me which files to look at when the error was thrown. Today I'm facing this error again but interestingly enough only when buildi...

Dependency resolution as a seperate project ..How to?

hi, I am creating a new application using asp.net mvc, I m using munq IOC container as my dependency injection..The issue is i want to create a new project for dependency resolution where i can register all the controllers of mvc project and the repositories of infrastructure project..I have to add Dependency Resolution project as a refe...

Delphi: How to move a class out of a unit;avoid circular references

Question: i want to split two classes out to their own file, while avoiding circular references. i have a unit with some classes (and some enumerations and constants). Anyone will recognize Click and Clack the tappet brothers: unit Cartalk; interface type TSolution = (solTransmission, solBrakes, solGremlins); TTappetBrothe...

Are circular groups allowed by XSD schema?

For this xml: <elem1 xmlns="http://www.fixprotocol.org/ns/fast/t/1.0"&gt; <elem2> <elem2/> </elem2> </elem1> I have this schema, which seems to validate fine against w3 schema validation service, and the schema validates the above XML just fine. Sadly, xsd.exe and some other tools report it to be an error. Is that correct? Are ci...

Python problem with circular reference:

I get: ImportError: cannot import name Image (from image_blob.py) please help me thanks :s my code: image.py: from google.appengine.ext import db from app.models.item import Item class Image(Item): # imports from app.models.image_blob import ImageBlob #from app.models.user import User #from list_user import ListUse...