[sldev] Why hasn't Linden Lab implemented WRITING to NOTECARD?

Melinda Green melinda at superliminal.com
Thu Jun 11 02:24:31 PDT 2009


Tigro Spottystripes wrote:
> Melinda Green escreveu:
>   
>> Tigro Spottystripes wrote:
>>     
>>>  I believe I understood most of what you said. The client does many
>>> analysis on the contents of the inventory each time any new info about
>>> it comes, so with a big inventory there is lots to do each time, and
>>> lots of times. But your explanation raised two questions IMO,why the
>>> client can't walk and chew bubble gum at the same time, 
>>>       
>> That question makes no sense. Obviously the client does lots of things
>> at once and that complexity contributes a lot to these problems.
>>     
>
> >From what Dzonatas said, I understood that the client somtimes might
> bite more than it can chew and allows for things to time out during
> login instead of doing things in the background at the same time it
> makes sure the server doesn't think the client is gone.
>   

Well, you can't have walking and chewing without some biting I guess.  :-)

I like Dzonatas' solution to defer sorting until actually needed for 
display, if ever. If you like it too, then please notice that his 
solution adds more complexity in the form of the dirty flag. If that 
flag ever gets out of sync, then the list won't appear sorted. Although 
there was previously a performance issue, that type of synchronization 
bug was at least not possible. Was the performance savings worth the 
complexity? Maybe so but I'd really rather find a solution with less 
risk. Like perhaps only sorting when the drop-down is opened. My point 
is not on what is the best solution to this problem but simply that 
sometimes it's worth suffering some extra code complexity and the 
inevitable future bugs that complexity always brings. Bugs such as this 
one that seems to make you so upset. What I don't understand is what 
your point is in insulting the code. Lots of the viewer code is 
beautiful and lots of it is messy and fragile, but calling it all stupid 
is almost the same as calling the developers dumb which is not what we need.

-Melinda


More information about the SLDev mailing list