[BUG?] Many duplicate instances of TextStyles in image
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Wed Oct 17 08:23:59 UTC 2001
On Tue, 16 Oct 2001, Steve Swerling wrote:
> Ok,
>
> Perhaps it was all the cough syrup I had that morning. Or was it was
> something in the air here in NYC, still with that faint odor of burning
> plastic? Maybe it was some age-related cortical cramping.
>
> I must say it's impressive to see the lengths to which a guy will go in
> order to mock a stupid question. Do you think you could whip up a little
> GUI to help me visualize your data? A pie chart might go nicely with the
> egg on my face...
C'mon Steve, it's called humor ;-)
And in this case, it's a quite educating one. I guess a lot of newbies on
the list learned how to get some object statistics from Randal's
one-liner, maybe even discovered a not-so-often-used Collection class. Or,
they might try evaluating "Point instanceCount" a few times in a row and
think about why the numbers differ.
Besides, Randal, my image has more Points than yours :-)
-- Bert
> "Randal L. Schwartz" wrote:
> >
> > >>>>> "Andreas" == Andreas Raab <Andreas.Raab at gmx.de> writes:
> >
> > Andreas> What makes you think so?! It's kind of reporting that your
> > Andreas> image has thousand of instances of Point in there. There's
> > Andreas> nothing wrong with it.
> >
> > My goodness. You're right! There are 23485 Points in my image!
> > I don't see them all on the screen! There must be something wrong!
> >
> > in fact, I have
> >
> > 627->0 at 0
> > 214->1.0 at 1.0
> > 213->0.5 at 0.5
> > 105->1 at 0
> > 103->2 at 0
> > 91->3 at 3
> > 66->3 at 4
> > 47->-14 at 23
> > 41->0 at 12
> > 40->0 at 1
> >
> > Wow. Look at all those 0 at 0's! Must be something broken!
> >
> > "Point allInstances asBag sortedCounts copyFrom: 1 to: 10"
More information about the Squeak-dev
mailing list
|