This doesn't make sense to me. The @ANON pragma avoids the add_method (or store_global) call in the first place.
I don't want the method added to a namespace, or stored as a global. I want it stored as a property of a class object.
I presumed that ;) Well, due to the described problem (class exists already or not) that's for now a good alternative
Python classes are not namespaces. Nor are they global. They are dictionaries.
Or, the view is a dictionary-like. The dict is CPython's implementation. I can imagine that Parrot's class namespaces work as well.
Take a look at the last test in parrot/languages/python/t/basic/oo_class.t to get an idea of what I am talking about.
Well, that just depends on how you implement attribute access, as far as I can see.
- Sam Ruby
leo
From jeff Thu Dec 16 20:41:58 2004
Return-Path: [EMAIL PROTECTED]
Delivery-Date: Thu Dec 16 12:41:58 2004
Return-path: <[EMAIL PROTECTED]>
Envelope-to: archive@mail-archive.com
Delivery-date: Thu, 16 Dec 2004 12:41:58 -0800
Received: from exprod5mx117.postini.com ([64.18.0.89] helo=psmtp.com)
by toko.jab.org with smtp (Exim 3.36 #1 (Debian))
id 1Cf2Ri-0005dv-00
for <archive@mail-archive.com>; Thu, 16 Dec 2004 12:41:58 -0800
Received: from source ([207.173.176.202]) by exprod5mx117.postini.com ([64.18.4.10]) with SMTP;
Thu, 16 Dec 2004 12:44:42 PST
Received: from localhost ([127.0.0.1] helo=list.valvesoftware.com)
by list.valvesoftware.com with esmtp (Exim 3.35 #1 (Debian))
id 1Cf26f-0003TK-00; Thu, 16 Dec 2004 12:20:13 -0800
Received: from [67.92.168.235] (helo=mta.algx.net)
by list.valvesoftware.com with esmtp (Exim 3.35 #1 (Debian))
id 1Cf23W-0003Go-00
for <[EMAIL PROTECTED]>; Thu, 16 Dec 2004 12:16:58 -0800
Received: from [192.168.100.10]
(psr2524875.z47-154-67.customer.algx.net [67.154.47.6])
by chimmx05.algx.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14
2003)) with ESMTP id <[EMAIL PROTECTED]> for
[EMAIL PROTECTED]; Thu, 16 Dec 2004 14:29:25 -0600 (CST)
From: Matthew Lewis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
content-transfer-encoding: 7bit
content-type: text/plain;
charset=ISO-8859-1;
format=flowed
Subject: [hlcoders] Player Animations
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.11
Precedence: bulk
Reply-To: [EMAIL PROTECTED]
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://list.valvesoftware.com/mailman/listinfo/hlcoders>,
<mailto:[EMAIL PROTECTED]>
List-Id: Discussion of Half-Life Programming <hlcoders.list.valvesoftware.com>
List-Unsubscribe: <http://list.valvesoftware.com/mailman/listinfo/hlcoders>,
<mailto:[EMAIL PROTECTED]>
List-Archive: <http://list.valvesoftware.com/mailman/private/hlcoders/>
X-Original-Date: Thu, 16 Dec 2004 14:29:40 -0600
Date: Thu, 16 Dec 2004 14:29:40 -0600
X-pstn-levels: (S:81.57473/99.90000 R:95.9108 P:95.9108 M:94.8624 C:98.9754 )
X-pstn-settings: 1 (0.1500:0.1500) gt3 gt2 gt1 r p m c X-pstn-addresses: from <[EMAIL PROTECTED]> [294/10] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on toko.jab.org
X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=4.0 tests=BAYES_00 autolearn=ham version=2.64
Well I tried the suggestions given by the Wavelength site, but as it turns out, I had already made most of the recommended changes already, except for blocking the rendering of the viewmodel in third person mode.
After fighting with the problem some more, I finally got the the upper body to render the correct animation, but despite my best efforts, the lower body still refuses to accept the ACT_WALK animation. The lower body is stuck in the ragdoll mode and just drags the legs and feet across the floor during movement. I have also tried to brute force an animation sequence onto the model by altering the "void CBasePlayerAnimState::ComputeMainSequence()" such that it always selects ACT_WALK as the ideal activity and selects "run_all" as the 'animDesired'. It still refuses to accept the lower body animation. I'm out of ideas. Any thoughts?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
From jeff Thu Dec 16 20:42:06 2004
Return-Path: [EMAIL PROTECTED]
Delivery-Date: Thu Dec 16 12:42:06 2004
Return-path: <[EMAIL PROTECTED]>
Envelope-to: archive@mail-archive.com
Delivery-date: Thu, 16 Dec 2004 12:42:06 -0800
Received: from exprod5mx124.postini.com ([64.18.0.38] helo=psmtp.com)
by toko.jab.org with smtp (Exim 3.36 #1 (Debian))
id 1Cf2Rq-0005e8-00
for <archive@mail-archive.com>; Thu, 16 Dec 2004 12:42:06 -0800
Received: from source ([209.237.227.199]) by exprod5mx124.postini.com ([64.18.4.10]) with SMTP;
Thu, 16 Dec 2004 13:44:51 MST
Received: (qmail 56319 invoked by uid 500); 16 Dec 2004 20:37:30 -0000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Reply-To: [EMAIL PROTECTED]
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
list-post: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 56308 invoked by uid 99); 16 Dec 2004 20:37:30 -0000
X-ASF-Spam-Status: No, hits=1.3 required=10.0
tests=FROM_NO_LOWER
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Received: from deq1.state.id.us (HELO DEQ.STATE.ID.US) (164.165.173.6)
by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Dec 2004 12:35:40 -0800
Received: from DEQ-MTA by DEQ.STATE.ID.US
with Novell_GroupWise; Thu, 16 Dec 2004 12:52:11 -0700
Message-Id: <[EMAIL PROTECTED]>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Thu, 16 Dec 2004 12:51:40 -0700
From: "ANDREW MICONE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: Element with type="xsd:any"
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Checked: Checked
X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:86.5533 C:98.9754 )
X-pstn-settings: 1 (0.1500:0.0750) GT3 gt2 gt1 r p m c X-pstn-addresses: from <[EMAIL PROTECTED]> [294/10] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on toko.jab.org
X-Spam-Level: X-Spam-Status: No, hits=-2.5 required=4.0 tests=BAYES_00,FROM_NO_LOWER,
RCVD_IN_SORBS_WEB autolearn=no version=2.64
I'm not sure if this is answering your question, but let me see if I can = help out. I've successfully used WSDL's to generate most of my Axis code. = When dealing with xsd:anyType, you just need some code to correctly type = it. If you are using Java you just need a series of if-then-else statements= using instanceof to determine which deserializer to use. For example, = here content is passed in as the result of an xsd:anyType element. I use = it for handling attachments. It seems to work with either .NET or J2EE = requestors:
public static byte[] convertToBytes(Object content) { content =3D doc.getContent(); if(content instanceof byte[]) dataOUT =3D (byte[])content; else if(content instanceof DataHandler) { DataHandler dhData =3D (DataHandler)content; dataOUT =3D getBytesFromStream(dhData); } else if(content instanceof AttachmentPart) { AttachmentPart attch =3D (AttachmentPart)content; dataOUT =3D getBytesFromStream(attch.getActivationDataHandler()= ); } else { throw new IllegalArgumentException("Could not convert to bytes = from: " + content + " Argument type is unknown!"); } return dataOUT; }
[EMAIL PROTECTED] 12/16/04 09:18AM >>>
Well that explains that problem.
If I use "anyType", I'll need some way to specify a deserializer for the element.=20
The actual deserializer is trivial, just return the MessageElement, but is there an easy way to map the deserializer to that element?=20
Actually it would be ok to treat all "anyType" the same.=20
I'd like to generate everything from the WSDL definition as part of our build process and not have to modify the resulting wsdd to add typeMapping entries.
Sam
-----Original Message----- From: Jeff Greif [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 6:18 PM To: [EMAIL PROTECTED] Subject: Re: Element with type=3D"xsd:any" =20 xsd:any is not a defined type. You probably mean xsd:anyType. ----- Original Message ----- From: "Samuel Solon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 15, 2004 3:08 PM Subject: Element with type=3D"xsd:any" =20 =20 I'm using WSDL to define messages that have one (or more) elements containing arbitrary XML and I'm running into problems. =20 I tried: =20 <xsd:complexType name=3D"AddContact"> <xsd:sequence> <xsd:element name=3D"UserId" type=3D"xsd:string"/> <xsd:element name=3D"AbookId" type=3D"xsd:string"/> <xsd:element name=3D"Contact" type=3D"xsd:any"/> </xsd:sequence> </xsd:complexType> =20 =20