Application manager suggestion

64 views
Skip to first unread message

Carl Gundel

unread,
Nov 10, 2014, 2:28:02 PM11/10/14
to va-sma...@googlegroups.com
You know it would be great if when you examined the list of applications in the application manager if it would display applications in a different color, or with some different icon (or something) when there are newer versions of an application or subapplication available.  The might help to reduce the number of times I think I have all the latest stuff loaded when I don't, and then I write a bunch of code against an old version and then discover a long time later that I screwed up.
 
Thanks,
 
-Carl

Seth Berman

unread,
Nov 10, 2014, 3:15:20 PM11/10/14
to va-sma...@googlegroups.com
Hi Carl,

Regardless of use cases and if it makes sense to do this, the number one issue will be how to make this fast since this means many more emsrv calls per tree node.  
And folks with higher latency links, or really any configuration other than file I/O or localhost, will be undoubtedly be upset.  
I know this because the va assist configuration map browser frequently suffers the same issue despite our optimizations.  The "chattiness" of emsrv works to our detriment here unfortunately.
We are looking to address some of these issues at an architectural level for the next release, mostly for acceptable WAN performance, but perhaps it will allow for more real-time emsrv status behavior like this.

-- Seth

Carl Gundel

unread,
Nov 10, 2014, 3:27:23 PM11/10/14
to va-sma...@googlegroups.com
I understand.  Thanks.  :-)

Richard Sargent

unread,
Nov 10, 2014, 6:07:06 PM11/10/14
to va-sma...@googlegroups.com
On Monday, November 10, 2014 11:28:02 AM UTC-8, Carl Gundel wrote:
You know it would be great if when you examined the list of applications in the application manager if it would display applications in a different color, or with some different icon (or something) when there are newer versions of an application or subapplication available.  The might help to reduce the number of times I think I have all the latest stuff loaded when I don't, and then I write a bunch of code against an old version and then discover a long time later that I screwed up.


Hi Carl,

The best practice is to work with an open edition of a configuration map (if you are working with multiple applications), and open editions of the applications you are modifying, with the app editions released into the config map. Then version and release classes as you go.

After that, it is simply a matter of loading the open map edition when you start up (if you didn't save the image with your latest work already).
 

Joachim Tuchel

unread,
Nov 11, 2014, 2:07:06 AM11/11/14
to va-sma...@googlegroups.com
Hi Carl,

as Richard already said, you should use Config Maps and get as comfortable with them as you can. There are many little tricks the config maps browser has to offer, like Release Loaded, Release other and colors indicating that the loaded app edition in your image is not the released one.

This may not be exactly what you're looking for, but Config Maps also help staying focussed on the Applications that are really relevant for your project.

I also highly suggest taking a look at the Mastering Envy Bible. This is the kind of book that you will not understand much of the first two times you read it, but one day take out of your shelf again and experience a big pile of mosaic pieces falling into place. The book is stuffed good advice and tipps as well as little known facts about envy. It also helps a lot if you want to start automating things. Since we are in Smalltalk, we can use Config Maps and Applications in our own code, extend them and do all kinds of cool and helpful stuff.

I know, reading a book is both old school and in your way if you just want to get something (seemingly) easy done. But the investment pays back really fast!

HTH,

Joachim

Louis LaBrunda

unread,
Nov 11, 2014, 9:35:15 AM11/11/14
to va-sma...@googlegroups.com
Hi Guys,

I like Carl's suggestion (not to say I don't agree with what everyone else said) maybe it could be an option that defaults to off and if the speed loss is acceptable, people can turn it on if they like.

Hey Joachim, where can I find the Mastering Envy Bible?

Thanks, Lou

Marten Feldtmann

unread,
Nov 11, 2014, 10:59:57 AM11/11/14
to va-sma...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 11.11.2014 um 15:35 schrieb Louis LaBrunda:

>
> Hey Joachim, where can I find the Mastering Envy Bible?
>

http://www.amazon.de/Mastering-Envy-Developer-SIGS-Technology/dp/0521666503/ref=sr_1_1?ie=UTF8&qid=1415721539&sr=8-1&keywords=mastering++envy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUYjJ8AAoJECy2Rjb5PpdWd3UH/RwWecim0WF6RkskH0uP4srh
mkHIqV6drPuB6tdGIuduUSnG1EHq/H6F1Hcytdxf2Jg5yHwZ1BygikvOBci+p7FF
z2RU7GmdPWGpRBkrEruxRv3mC3CMbsl7VJvN/0FnESEIz4lN8xfHq062Dec6N1fr
9Hs3p12SZ1ZSFkxIvhPnunZNBwcDWHLFr+KvefsKXvLVHGgB4e1XhZ2ycu33zqUq
479kg89KKxb12mI0HfbOYpdX1GZa3Aa0iycrxntIGb8YMvW8qwiPjOXWs9eH1Rqv
8pnq1x6nVudndlC3Pd6ESSCw7fuZYyUKHu2kGglXAdZ9pq/g8yaZXRZwM2nI9tQ=
=ahl/
-----END PGP SIGNATURE-----
0xF93E9756.asc

Richard Sargent

unread,
Nov 11, 2014, 11:30:13 AM11/11/14
to VA Smalltalk

It would be quite easy to write a simple Smalltalk script which scans your loaded applications for newer editions of the classes known and available and reports them to e.g. the Transcript and/or prompting you whether to load them for you.

--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/tPYZW9IzZig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.

Joachim Tuchel

unread,
Nov 11, 2014, 12:09:49 PM11/11/14
to va-sma...@googlegroups.com
Richard,

you mean something like "More Recent Editions" for classes in the App Manager?

Sounds great, costs little and makes sense!

Joachim

Joachim Tuchel

unread,
Nov 11, 2014, 12:10:47 PM11/11/14
to va-sma...@googlegroups.com
Lou,

in your favorite Book store; Mastering Envy Developer by Knight, Cho and Pelrine.

Joachim

Richard Sargent

unread,
Nov 11, 2014, 1:05:37 PM11/11/14
to VA Smalltalk

Pretty much.
In a message from a few months ago,  I outlined a technique for saving a list of unreleased classes. This would be slightly similar.

Carl, one of the things I love about Smalltalk is that the implementation behind every menu item is ready determined and studied. From that, you can pretty easily determine the code you need to do something similar for yourself.

Louis LaBrunda

unread,
Nov 11, 2014, 1:25:36 PM11/11/14
to va-sma...@googlegroups.com
Thanks Marten!

Louis LaBrunda

unread,
Nov 11, 2014, 1:26:19 PM11/11/14
to va-sma...@googlegroups.com
Thanks Joachim!

Carl Gundel

unread,
Nov 14, 2014, 11:15:11 AM11/14/14
to va-sma...@googlegroups.com
Yes, that's a great thing about Smalltalk.  I have already written a bunch of IDE tools since starting this port.  However, such obviously important features should be in there already.  Just saying.  ;-)
 
-Carl

Richard Sargent

unread,
Nov 14, 2014, 4:37:29 PM11/14/14
to va-sma...@googlegroups.com
On Friday, November 14, 2014 8:15:11 AM UTC-8, Carl Gundel wrote:
Yes, that's a great thing about Smalltalk.  I have already written a bunch of IDE tools since starting this port.  However, such obviously important features should be in there already.  Just saying.  ;-)

Without trying to start an argument, perhaps that means the feature isn't as important as you think. For example, if you version and release classes, there would be no issue. If your image exits without allowing you to save, there is a tool that you use to find out what your image should have held if you were able to save it before. That tool is the "make image consistent" menu item. It won't load different editions of classes, but it will report the different editions that you created after the last save. (I don't recall precisely what it does about method mismatches, but I think it will show you what methods should be in image but weren't, using the changes browser.)

Carl Gundel

unread,
Nov 14, 2014, 5:09:01 PM11/14/14
to va-sma...@googlegroups.com
Thanks, that's useful information.  I'm not trying to say that the software is unusable the way it is.  Sometimes newcomers to a software product have good ideas that the established community doesn't think are very important because they are used to things being the way they are.
 
-Carl 
Reply all
Reply to author
Forward
0 new messages