[vwnc] Dives into some inspector elements wrong

View: New views
5 Messages — Rating Filter:   Alert me  

[vwnc] Dives into some inspector elements wrong

by Eric Winger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is the easiest reproduction case I could come up with.

Inspect this:

| d |
d := IdentityDictionary new.
d at: ('aTest' copy) put: 1.
d at: ('aTest' copy) put: 3.
d at: ('aTest' copy) put: 5.
d

Then dive into the first element, 1.
Pop back out and dive into the second element.
You are inspecting the first element, 1. Not 3.

The problem seems to be that KeyedElement>>sameTypeEquals: uses an
equality test. If there are equal keys in the list, this problem will
occur.

Perhaps a identity test would be better?

eric


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Dives into some inspector elements wrong

by Valloud, Andres :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AR 54447...

-----Original Message-----
From: vwnc-bounces@... [mailto:vwnc-bounces@...] On
Behalf Of Eric Winger
Sent: Friday, May 30, 2008 1:58 PM
To: vwnc-list
Subject: [vwnc] Dives into some inspector elements wrong

This is the easiest reproduction case I could come up with.

Inspect this:

| d |
d := IdentityDictionary new.
d at: ('aTest' copy) put: 1.
d at: ('aTest' copy) put: 3.
d at: ('aTest' copy) put: 5.
d

Then dive into the first element, 1.
Pop back out and dive into the second element.
You are inspecting the first element, 1. Not 3.

The problem seems to be that KeyedElement>>sameTypeEquals: uses an
equality test. If there are equal keys in the list, this problem will
occur.

Perhaps a identity test would be better?

eric


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Dives into some inspector elements wrong

by Travis Griggs-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On May 30, 2008, at 1:57 PM, Eric Winger wrote:

> This is the easiest reproduction case I could come up with.
>
> Inspect this:
>
> | d |
> d := IdentityDictionary new.
> d at: ('aTest' copy) put: 1.
> d at: ('aTest' copy) put: 3.
> d at: ('aTest' copy) put: 5.
> d
>
> Then dive into the first element, 1.
> Pop back out and dive into the second element.
> You are inspecting the first element, 1. Not 3.
>
> The problem seems to be that KeyedElement>>sameTypeEquals: uses an
> equality test. If there are equal keys in the list, this problem will
> occur.
>
> Perhaps a identity test would be better?

Thanks Eric very much. 54448 has been created. I appreciate the  
diagnosis of the prob as well. And the test case.

--
Travis Griggs
Objologist
"Dying men never wish they'd spent more time at the office"


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

[vwnc] Web Services?

by Roberto Fonseca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello everyone,

 

I am doing some initial research for a new project but am a little lost at this point. I am wondering if someone out there can point me in the right direction. Here’s what I have:

 

We have a system in VW 7.4. This project will require that the system receives some information from another (non-Smalltalk) application and perform a specific action (open a window). So, the initial idea was to use web service to perform the communication between the two applications. The problem I am having is that I could not (as of yet) determine how my Smalltalk application will be able to receive the request (no response required) from the other application. Would you have any ideas on how this can be done?

 

Just to add more information, the intention is to have a middleware that could listen for requests and direct that to our VW application.

 

TIA,

 

Roberto


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Web Services?

by Kogan, Tamara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

You can try to set Opentalk-Soap server and describe the request as
one-way operation in your WSDL schema.
http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement
16651160


Tamara Kogan
Smalltalk development,
Cincom Systems

> -----Original Message-----
> From: vwnc-bounces@... [mailto:vwnc-bounces@...] On
Behalf

> Of Roberto Fonseca
> Sent: Friday, July 18, 2008 11:39 AM
> To: vwnc-list
> Subject: [vwnc] Web Services?
>
> Hello everyone,
>
>
>
> I am doing some initial research for a new project but am a little
lost at
> this point. I am wondering if someone out there can point me in the
right
> direction. Here's what I have:
>
>
>
> We have a system in VW 7.4. This project will require that the system
> receives some information from another (non-Smalltalk) application and
> perform a specific action (open a window). So, the initial idea was to
use
> web service to perform the communication between the two applications.
The
> problem I am having is that I could not (as of yet) determine how my
> Smalltalk application will be able to receive the request (no response
> required) from the other application. Would you have any ideas on how
this
> can be done?
>
>
>
> Just to add more information, the intention is to have a middleware
that
> could listen for requests and direct that to our VW application.
>
>
>
> TIA,
>
>
>
> Roberto


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
LightInTheBox - Buy quality products at wholesale price