"Reverse Parent Lookup"

Hello
Not quite sure if I should post this here, or in the 3D section - but here goes (in here ^^)
I'm currently in the process of scripting a 3D interface system which has a simple scenegraph associated with it.
Now, all my objects have an ancestor class called "node", which ties into the scenegraph - these nodes have a property called pEnabled and if this is set to true, all of its children will receive updates on stepframe  - and it works pretty good so far.
But - here is my "problem".. (my approach might not be the best for this - but hopefully one of you can help me out)
I have a mouse class that repeatedly updates a list of models under the mouse location - the interface "manager" grabs this data on every update and does a check to see if the model is present in any of the ui element nodes.
If the model is present in the list, I want to enable this node - but - I also want to enable its parent.. and the parents parent.. and the parents, parents parent etc. - until it reaches the rootnode (the ui "manager", which should always be enabled) :]
The reason for doing this, is that I want to cut down on the amount of updates running per frame, as the renderer slows down quite a bit when I have more than ~100 enabled ui elements running - each with their own set of ancestor scripts.
As mentioned - my approach might not be optimal - or even possible - but if any of you have any insight on how to accomplish something like this, I'd greatly appriciate the feedback.
Thanks in advance :]

Ooohkay... seems like I figured it out.
I made two simple functions for enabling and disabling:
on enable me 
  if voidP(me.pParent.getaprop(#pElements)) then
    --- If the parent script is a ui element, enable it
    me.pParent.enable()   
  end if 
  --- Enable this element
  me.pEnabled = true
end me
Basically just running the enable() / disable() function on all parents until it reaches the ui "manager".. works like a charm.. so far -.^
Feel free to comment anyway if any of you have anything you'd like to add :]

Similar Messages

  • Is it possible to override authorative reverse DNS lookups?

    Hello,
    I am part of collaborative workgroup which has a group of networked computers that are installed at each others sites. This means that often a server has two names - a "site name", which is the name in DNS, such as BigFoot.yale.edu at X.X.X.5 and a "workgroup name", the name used by the group for distributed processes, such as YaleBigFoot.workgroup.net also at X.X.X.5 in our /etc/hosts file.
    We are trying to use globus and GSI authentication in between the servers which requires valid reverse dns lookups, such that a CN=host/ .
    On unix'y servers, this requires setting up a rather comples /etc/hosts and editing /etc/nsswitch so that /etc/hosts is used authoritively for all lookups.
    I have been trying to replicate this behavior for our Mac users, and I'm running into problems. I have read all the "reverse dns" documentation I can - and it appears that my problem is different.
    I have setup a /etc/hosts file and a /etc/lookupd/hosts configuration file and a /etc/named.conf section for workgroup.net and a /var/named/workgroup.net.zone file.
    However I still get the following output:
    $ host yale-bigfoot.workgroup.net
    yale-bigfoot.workgroup.net has address X.X.X.5
    $ host X.X.X.5
    X.X.X.5.in-addr.arpa domain name pointer workgroup-router-node.net.yale.edu.
    Is it possible to override the authorative reverse lookups?
    Thank you in advance,
    Brendan
    PS: names and address are not actual
    17' SuperDrive Powerbook G4   Mac OS X (10.4.6)  

    However, you can achieve do something that looks similar to overriding.
    class Parent {
      Parent(int i, String s) {
        // do stuff
    class Child extends Parent {
      Child(int i, String s) {
        super(i, s);
        // do Child stuff here
    new Parent(1, "abc");
    new Child(2, "xyz");Although that's not overriding, it sort of looks similar. Is this what you were talking about?

  • How to disable reverse DNS lookup on SSH login

    How do I disable reverse DNS lookup on SSH login in Solaris 9? I'm using the version bundled with Solaris 9.
    OpenSSH documentation says that I should set UseDNS to no but the option doesnt work in the bundled version of SSH server.
    I do not want to upgrade the bundled version of SSH server. Your help will be greatly appreciated.

    Ah nevermind. I think it was some command I ran changing english.lproj that did this so i am starting over.

  • Reverse Phone Lookup

    Hi!
    On one of my Macs, when I click on a phone number (actually the test which says home or work) in Address Book I am offered the choice to do a reverse phone lookup. On a different Mac I do not have that option.
    (Hey, anybody have a simple USB dialer! Man, that would be handy!)
    Hmmm....
    Any ideas?
    Thanks!
    Tom

    For landlines try www.whitepages.com; but I've been looking for a reverse phone look up for cell phones too and haven't been able to find one yet. You would think that Verizon would at least have a reverse phone number look up for their own phones!

  • Reverse IP lookup

    When I run the "last" command I would like to see IP address of the user instead of the host names. I assume Solaris is doing some type of reverse ip lookup and displaying the host name here. Is there a way of disabling reverse DNS lookup and what other consequenses should I consider before doing so.

    New_DS_User wrote:
    When I run the "last" command I would like to see IP address of the user instead of the host names. I assume Solaris is doing some type of reverse ip lookup and displaying the host name here.More like it does the reverse IP lookup and logs the name. There's no lookup at display time.
    Is there a way of disabling reverse DNS lookup and what other consequenses should I consider before doing so.I don't know any method of doing so for just the login stuff. You could disable DNS, but that has other consequences. :-)
    Darren

  • Deactivating the reverse name lookup

    Hi,
    We are having temporally problems to access to our R/3 productive
    system.
    Analyzing the dev_disp log we see that the dispatcher are constantly
    deactivating and activating the reverse name lookup. Because a timeout
    occurs in certain reverse lookup queries. We think that those actions
    could be temporally hanging the system.
    We already talked to the DNS administrator, and says that many pc are
    not in dns zone, and for that the timeouts. Because the biggest of the
    networks and the many clients pcs, it is very complicate to update the
    dns with all the address.
    As says in note 1055602, you can deactivate permanently the reverse
    lookup via rdisp/reverse_name_lookup parameter.
    Does anyone deactivated that parameter?
    This reverse lookup make any sense?
    Best Regards
    Adrian

    Hello Adrian Lambardi,
    I go through your query and come to know that you are facing the problem of constantly dispatcher deactivation due to reverse name lookup.
    So, I found a beautiful solution of your query in the following tutorial mentioned on SAPTechies:
    http://www.saptechies.org/deactivating-reverse-name-lookup/
    Please visit this link and get the solution and tell me if it is helpful to you or not.
    Thank You,
    Sonia Barwar.

  • Page listed for reverse phone lookup no longer works

    Several sites on the Internet, and Verizon's own automated response bot (on 8/28/13), agree that Verizon provides free reverse phone lookups for Verizon landlines at this page:
    http://www.verizon.com/utilities/reverselookup/
    For me, this is changed automatically to:
    http://www22.verizon.com/utilities/reverselookup/
    ...and the page is a dead end:
    We're sorry....
    We are not able to process your request. To continue, please select one of the following options:
    Return to the previous page.
    View the verizon.com site map.
    Go to the verizon.com home page.
    THIS IS NOT A MATTER OF AN UNLISTED PHONE NUMBER OR EVEN A LANDLINE/CELLULAR ISSUE! In this process, I haven't even told Verizon the phone number yet.
    So what happened to this page? If one of the supposedly free (but not free) reverse lookup sites tell me that the phone number that called me is a Verizon landline, where can I find the name of the person who called me?
    Please don't tell me there are lots of sites on the Internet that do this for free. This is no longer true. Please do not recommend that I Google the number; I have already done that, and more.
    Instead, please tell me the exact Verizon page that provides this for Verizon landlines, or tell me a specific Internet page that does this.
    Thank you!

    I agree. I was looking for an answer for the lookup link on verizon.com:
    http://www.verizon.com/support/residential/phone/homephone/general+support/long+distance+calling/lon...
    which doesn't work, but your link now does.

  • HELP! Disabling reverse DNS lookups on client

    Is there a property that can be set to disable the reverse DNS
    lookup for client requests? I read that if reverse lookups are
    no working then client requests can take an extra 15-30 seconds.
    In our environment reverse lookups are not something we can
    count on so we would like to disable them completely. Please let
    me know which property can be set it if any to accomplish this.
    Regards,
    Robert

    Don't we all ;)
    WL 5.1 sp3
    Sol 2.6
    J2 1.2.1_04
    Rich Nill wrote in message <[email protected]>...
    Paul,
    What version of Weblogic are you running? I want to make sure we don'tsuffer
    from the same problem.
    Thanks,
    Rich
    Paul Iter wrote:
    Would this patch have any impact on the problem I described in
    "performance
    degradation PROBLEM"?
    Thanks,
    Paul
    Mark Griffith wrote:
    There is another issue here though, when we print out server ID's we
    call
    java.net.InetAddress.toString() which ends up in a DNS call.
    Contact support they have a one-off patch.
    cheers
    mbg
    In article <[email protected]>, [email protected]
    says...
    Is there a property that can be set to disable the reverse DNS
    lookup for client requests? I read that if reverse lookups are
    no working then client requests can take an extra 15-30 seconds.
    In our environment reverse lookups are not something we can
    count on so we would like to disable them completely. Please let
    me know which property can be set it if any to accomplish this.
    Regards,
    Robert
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • GSS 4490 - Reverse mapping lookup

    Can a reverse mapping lookup be performed on a GSS?
    Thanks,
    Carl.

    Does anyone know if this is likely to change, or already has changed?

  • 9i app 9.0.2.01?Does the reverse DNS lookup have to be set up for a FQDN

    HEy guys:
    I'M ALWAYS GETTING STUCK IN THE SAME PLACE WHEN I AM TRYING TO INSTALL 9I APPSERVER 9.0.2.0.1 REL 2. ITS ALWATYS HAPPENING AT THE oRACLE db CONFIG assistant i have set up my host file and when i ping -a servername i get the full reply back ex. servername.domain.com but now when i ping -a 111.111.111.111 i do not get the host name back this is b/c i do not have the PTR record set up. Do i have to have a reverse dnslookup working for what oracle is stating is "FQDN" and not just the dns lookup working...how is oracle installer looking at this piece.
    that is the only i see that i don't have when i look at my computer name (by the way this is a winnt environment)in properties it has the FQDN. i also have set up the host file correctly resembling 111.111.111.111 servername.domainname.com servername oracleinstall. What else am i missing here guys? thanks for the help in advance
    regards,
    robert

    Actually, these issues were/are documented - see the addendum. Also, the install guide details which files need to be updated with the FQDN/IP.
    Though it does not have to be setup in your DNS server (say if you are just doing it on a single tier to test), those machines which are looking to connect to it would need to have the proper additions to the hosts file as well.
    As for why the 'non-default' http ports, this was a result of Unix security. Non-root users cannot start processes using ports below a specific range. As a result, oracle defaults them to a higher number allowing your oracle account whom lacks root access to start the http service.
    As for non-oracle responses, this isn't really an official forumn. I believe those oracle peeps who do respond here are doing so on their own. If you need official/immediate responses, then i would recommend using metalink for an itar or the metalink forums.
    Now on to Robert's second question. See metalink Note:209114.1: How to Change the Port used for Oracle 9iAS Portal 9.0.x. If you don't have access to metalink, let me know and I can forward the note or post it here.
    Have fun!

  • ASA 5520 Reverse DNS lookup Issue

    We are having Reverse DNS issues.
    10.10.0.10 = Exchange Server
    Windows 2003 = DNS server internal.
    Setup: 1 to 1 NAT
    10.10.0.10 smtp --> 70.89.133.218 smtp
    Int gi0/2 = 70.89.133.217
    Incoming Access Rule:
    any --> 70.89.133.218 smtp permit
    When we do a WhatismyIp on exchange server it says the IP is 70.89.133.217
    It should be 70.89.133.217.
    This is causing our email to be rejected from external sites due to reverse dns not returning 218. External people say are email is coming from 217. Comcast says the reverse pointer is setup correctly.
    What are we doing wrong?
    Thanks for any help you can offer.

    Correction:
    When we do a WhatismyIp on exchange server it says the IP is 70.89.133.217
    It should be 70.89.133.218
    217 is the interface gi0/2 on the ASA.

  • Reverse DNS Lookup Failed!

    I started this thread weeks ago in the mail category, because it was related to sending e-mails to certain accounts. If you could please look at this thread I would greatly appreciate it so I don't have to re-explain the whole situation. I need to get this resolved as soon as possible and I don't know what else to do. I have had tons of help on the subject, yet no one can figure out why it's not working. You can do reverse resolution to my server just fine and my service provider shows it's pointing to my dns servers but somewhere in the mix it won't resolve any other way except directly to mine.
    http://discussions.apple.com/thread.jspa?threadID=323884&tstart=0
    I have read every article on here that has revserse DNS in it, yet still no luck. Thanks.

    Zone File:
    $TTL 86400
    funsunstudio.com. IN SOA ns1.funsunstudio.com. marshall.funsunstudi
    o.com. (
    2006013000 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    funsunstudio.com. IN NS ns1.funsunstudio.com.
    funsunstudio.com. IN NS ns2.funsunstudio.com.
    funsunstudio.com. IN A 12.146.245.40
    ns1 IN A 12.146.245.40
    ns2 IN A 12.146.245.41
    mail IN A 12.146.245.34
    funsunstudio.com. IN MX 0 mail
    www IN A 12.146.245.42
    * IN A 12.146.245.42
    oms IN A 12.146.245.42
    named.conf
    zone "funsunstudio.com." in {
    file "funsunstudio.com.zone";
    type master;
    zone "245.146.12.in-addr.arpa" IN {
    file "db.12.146.245";
    type master;
    db.12.146.245 file:
    $TTL 86400
    245.146.12.in-addr.arpa. IN SOA ns1.245.146.12.in-addr.arpa. mar$
    2006013000 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    245.146.12.in-addr.arpa. IN NS ns1.funsunstudio.com.
    245.146.12.in-addr.arpa. IN NS ns2.funsunstudio.com.
    32/28.245.146.12.in-addr.arpa. IN PTR ns1.funsunstudio.com.
    32/28.245.146.12.in-addr.arpa. IN PTR ns2.funsunstudio.com.
    34.245.146.12.in-addr.arpa. IN PTR mail.funsunstudio.com.
    42.245.146.12.in-addr.arpa. IN PTR www.funsunstudio.com.
    Yes I know I am resolving it for the whole C-Class, but should not affect my issue. Thanks for the help Camelot. BTW I am basing this all off the e-mail AT&T sent me about the setup, so if it's totally wrong please don't yell too bad.

  • Reverse IDOC lookup

    Hello,
    Is there a way to find the idoc from the invoice display transaction? I am displaying an Invoice in MIR4, and I wanted to know where can I find the idoc which posted this invoice in the MIR4 screen.
    Thank you.

    Try menue "System">"Services for Object"> button "Display relationships".
    Best Regards, Dirk

  • Get unique values from Parent List in Dropdown List SPServices

    I have a dropdown list created using the SPServices ($().SPServices.SPCascadeDropdowns). It works as it should, I just need to add a requirement. I need to be able to filter the Parent Lookup list to show only unique values.
    $().SPServices.SPCascadeDropdowns({
    relationshipList: "ROInsComp",
    relationshipListParentColumn: "AIP-RY",
    relationshipListChildColumn: "NameAndCode",
    parentColumn: "AIP-RY",
    childColumn: "NameAndCode",
    debug: true});
    The issue is that in AIP-RY I have stored Years and each year could be repeated several times
    I followed some of the recommendations from this blog:
    GetListItems Unique Values
    I this is what I tried:
    $.ajax({
    url: weburl+'https://my-site/_layouts/filter.aspx?ListId='+escape('{544C8B6A-C9B3-4BA‌​D-B9CF-B032E5FD07DB}')+'&FieldInternalName='+"AIP-RY" + '&ViewId='+escape('{4B433420-156F-4F4F-9E3C-551DC43B593C}')+'&FilterOnly=1&Filte‌​r=1',
    success: function(data) {
    alert('It worked!');}
    No luck so far! Thanks!
    EM

    Thanks for looking into this. I'm not sure this would work: SPServices.SPCascadeDropdowns
    only works (as far as I know) for elements from the same list.
    EM

  • Set up reverse DNS for virtual mail hosting

    I need a bit of server configuation advice.
    I have a static IP and two public domains on a Snow Leopard server connected using NAT behind a firewall - with the necessary port forwarding to ensure all works. 
    1. abc.com is my primary domain on the server - server.abc.com
    2. I have xyz.com set up as a virtual domain and also as a virtual mail host
    This setup has worked well for a long time but I have found that emails to [email protected] are going missing.  If I check my mx records using one of the web based tools it show an error on the reverse dns for server.xyz.com showing a reverse DNS of server.abc.com.
    So the question - is it possible to have secondary 'virtual' DNS record on the server so reverse DNS works for the virtual mail host xyz.com?  If not how do I handle the reverse DNS problem which i think is causing some external mail server to reject mail due to the inconsistency on the reverse DNS lookup?
    Many thanks for any suggestions

    SMTP requires a DNS A record.
    A DNS A record is also known as a machine record.
    A DNS A record inherently means that forward DNS and reverse DNS will match.
    The forward translation translates the host name to the IP address.
    The reverse translation translates the IP address to host name.
    When the full translation produces the same host name, that's an A record.
    DNS CNAME records are aliases, and are used for virtual hosts.
    CNAME records inherently do not match the reverse DNS translations.
    To get your configuration to work, your server must have an A record.
    That means forward and reverse DNS will match.
    Any of the virtual hosts within your mail server then all use an MX pointing at the A record host.
    If you have your DNS hosted somewhere other than your ISP, then you'll need your ISP to set up a DNS PTR.
    The DNS PTR is the reverse translation; address to name.
    If you have your own DNS services within your network (as would be typical with a privately-addressed NAT'd network), set that up as a virtual host within SMTP.
    Here is some related reading on external (public) DNS, as related to SMTP servers and such.

Maybe you are looking for