[squeak-dev] The Inbox: System-dtl.1164.mcz

Chris Muller ma.chris.m at gmail.com
Thu Jun 11 02:01:49 UTC 2020

Hi Eliot,

As far as I know, only top-ranking executives can veto something, not
peons.  :)  As always, my ideas are presented as from one peer to another.
I know you wouldn't advocate for needless feature-creep, and Dave referred
to them as an "obviously good thing to do", so my curiosity was piqued.

I've noticed myself launching Squeak for when I simply want a calculator
because it launches 10X faster than the "Calculator" app of the OS.   -cli
would be nice for that..  :)

 - Chris

On Wed, Jun 10, 2020 at 7:07 PM Eliot Miranda <eliot.miranda at gmail.com>

> On Jun 9, 2020, at 8:44 PM, Chris Muller <asqueaker at gmail.com> wrote:
>> > On 2020-06-09, at 11:52 AM, David T. Lewis <lewis at mail.msen.com> wrote:
>> >
>> > Funny you should mention it, that's how I went down this rabbit hole
>> > in the first place. I was thinking that it would be an obviously good
>> > thing to do if we could evaluate a doIt or named script file immediately
>> > on image startup, as opposed to waiting until all of the Etoys script
>> > processing comes to life somewhere later in the startUp process.
>> Exactly. Note that VW has several commandline switches we might want to
>> learn from
>> -filein {some file names}
>> -doit {some strings}
>> -evaluate {a single string & write result to stdout & quit
>> -cli {start a commandline loop}
> What I most like about Dave's change is the improved separation of
> concerns:  it allows the OS to invoke an image with the proper startup
> script and/or arguments WITHOUT relying on Preferences
> readDocumentAtStartup being set correctly.  I can see -filein being useful
> for a production patch use-case, but the rest of those go back to mixing
> the Smalltalk environment in with the operating-system environment.  For
> safe and scalable headless interaction, you would just use a server.  I
> never knew if there was an actual use-case for -evaluate and -cli other
> than novelty.  Is there?
> Both are useful for testing. —evaluate is useful in eg a (unix software
> build style) configure context.  —cli is useful for people who want to
> explore, learn, demo, etc.
> But since they don’t really cost much why are you bothering to try and
> veto them?
>  - Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200610/0737c628/attachment.html>

More information about the Squeak-dev mailing list