From info at uksmalltalk.org Mon Apr 22 13:00:13 2024 From: info at uksmalltalk.org (UK Smalltalk) Date: Mon, 22 Apr 2024 21:00:13 +0100 Subject: [GemStone-Smalltalk] =?utf-8?q?UKSTUG_meeting_-_Tudor_G=C3=AErba?= =?utf-8?q?=3A_What_exactly_is_Glamorous_Toolkit=3F_-_24_April_2024?= Message-ID: To some people Glamorous Toolkit is a Pharo environment. To others it?s a knowledge management system. Others might see a code analysis platform, a data visualization or an API browsing tool. Yet others see the graphical stack with its interactive editors. Glamorous Toolkit is all of these. But it?s really also none of these. These are merely examples of the many forms the environment can be molded to. And there can be many more. Glamorous Toolkit is primarily an environment that makes it possible to create many experiences seamlessly and contextually. This then leads to a new way of programming that we call Moldable Development. Tudor G?rba is a software environmentalist and the CEO of feenk.com ( http://feenk.com/ ) where he works with an amazing team to make the inside of systems explainable. Much of the work is embodied in Glamorous Toolkit ( gtoolkit.com), a novel environment that enables moldable development. This will be an online meeting from home. If you'd like to join us, please sign up in advance on the meeting's Meetup page ( https://www.meetup.com/ukstug/events/300575234/ ) to receive the meeting details. Don?t forget to bring your laptop and drinks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaffer at shaffer-consulting.com Mon Apr 29 11:48:22 2024 From: shaffer at shaffer-consulting.com (David Shaffer) Date: Mon, 29 Apr 2024 14:48:22 -0400 Subject: [GemStone-Smalltalk] Patch for GBS 8.7.1 when connecting with large number of connectors Message-ID: Just started using VW9.4 and GBS 8.7.1 and ran into the following bug: CstSession>>fetchBehaviorDelegatesForClassConnectors: builds a string by passing the connectors list to CstMessageDispatcher>>print:with:. Ultimately this results in sending Array>>printOn: which truncates large arrays after printing 5000 characters adding ??etc?? which causes GemStone compilation errors. The patch is to simply add the following method: Array>>cstArgumentPrintOn: aStream "Append to the argument, aStream, the elements of the Array enclosed by parentheses, without truncation." aStream nextPutAll: '#('. self do: [:element | element printOn: aStream] separatedBy: [aStream space]. aStream nextPut: $) Note that his bug could have existed before 8.7.1 because I feel like this is at least the second time I?ve patched it (sorry for not reporting earlier!). Best, David From richard.sargent at gemtalksystems.com Mon Apr 29 12:31:26 2024 From: richard.sargent at gemtalksystems.com (Richard Sargent) Date: Mon, 29 Apr 2024 12:31:26 -0700 Subject: [GemStone-Smalltalk] Patch for GBS 8.7.1 when connecting with large number of connectors In-Reply-To: References: Message-ID: Thanks, David! That kind of defect is annoying. However, I'm not sure I really want the "messenger" suddenly printing very long reports. I will fix how the connector class list is created, instead. I've created bugu #50982 for this error. Hopefully it will be in the next GBS release. In case you want to know, there are two major variants of #evaluate:* and #execute:* methods. One simply evaluates a string; the second also evaluates a String, but the string holds a block which can accept arguments. The latter variant is ideal for this kind of work and is much preferred over constructing a string to execute/evaluate. On Mon, Apr 29, 2024 at 11:48?AM David Shaffer via GemStone-Smalltalk < gemstone-smalltalk at lists.gemtalksystems.com> wrote: > Just started using VW9.4 and GBS 8.7.1 and ran into the following bug: > > CstSession>>fetchBehaviorDelegatesForClassConnectors: > > builds a string by passing the connectors list to > CstMessageDispatcher>>print:with:. Ultimately this results in sending > Array>>printOn: which truncates large arrays after printing 5000 characters > adding ??etc?? which causes GemStone compilation errors. The patch is to > simply add the following method: > > Array>>cstArgumentPrintOn: aStream > "Append to the argument, aStream, the elements of the Array > enclosed by parentheses, without truncation." > > aStream nextPutAll: '#('. > self do: [:element | > > element printOn: aStream] > separatedBy: [aStream space]. > aStream nextPut: $) > > Note that his bug could have existed before 8.7.1 because I feel like this > is at least the second time I?ve patched it (sorry for not reporting > earlier!). > > Best, > > David > _______________________________________________ > GemStone-Smalltalk mailing list > GemStone-Smalltalk at lists.gemtalksystems.com > https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk > -------------- next part -------------- An HTML attachment was scrubbed... URL: