Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Have you reconsidered a computer career?


programming / comp.lang.smalltalk.dolphin / Re: How do you update Dolphin to a new version?

SubjectAuthor
* How do you update Dolphin to a new version?Joe Betz
`* Re: How do you update Dolphin to a new version?Joe Betz
 `* Re: How do you update Dolphin to a new version?vin...@gmail.com
  `* Re: How do you update Dolphin to a new version?Joe Betz
   `- Re: How do you update Dolphin to a new version?danie...@gmail.com

1
Subject: How do you update Dolphin to a new version?
From: Joe Betz
Newsgroups: comp.lang.smalltalk.dolphin
Date: Wed, 13 Apr 2022 02:50 UTC
X-Received: by 2002:a05:6214:1cc4:b0:435:35c3:f0f1 with SMTP id g4-20020a0562141cc400b0043535c3f0f1mr33859456qvd.0.1649818238081;
Tue, 12 Apr 2022 19:50:38 -0700 (PDT)
X-Received: by 2002:a05:6808:300f:b0:2fa:6fd5:9723 with SMTP id
ay15-20020a056808300f00b002fa6fd59723mr230544oib.202.1649818237786; Tue, 12
Apr 2022 19:50:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Tue, 12 Apr 2022 19:50:37 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=5.48.59.174; posting-account=P1X3VgoAAADgSty0b3mKYJl_KPjmW842
NNTP-Posting-Host: 5.48.59.174
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c678baa7-1d4e-4866-afda-13957db4bfe3n@googlegroups.com>
Subject: How do you update Dolphin to a new version?
From: joebet...@gmail.com (Joe Betz)
Injection-Date: Wed, 13 Apr 2022 02:50:38 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 9
View all headers
I tried running the Dolphin7Setup executable attached to the new release (7..1.22), but Dolphin Smalltalk Launcher still seems to be opening images with the previous version (7.1.20). I assume this means I need to use new image files as well, but I wasn't able to find one in my Dolphin installation directory (C:\Program Files (x86)\Dolphin Smalltalk 7) nor in any of the folders attached to the release page https://github.com/dolphinsmalltalk/Dolphin/releases/tag/7.1.22

Where can I find an updated image file? And is there a better way to do minor version updates such as this?


Subject: Re: How do you update Dolphin to a new version?
From: Joe Betz
Newsgroups: comp.lang.smalltalk.dolphin
Date: Thu, 14 Apr 2022 01:57 UTC
References: 1
X-Received: by 2002:ae9:e20e:0:b0:69c:1159:ad9c with SMTP id c14-20020ae9e20e000000b0069c1159ad9cmr301351qkc.293.1649901463115;
Wed, 13 Apr 2022 18:57:43 -0700 (PDT)
X-Received: by 2002:a05:6870:7094:b0:e2:af38:7564 with SMTP id
v20-20020a056870709400b000e2af387564mr684392oae.123.1649901462633; Wed, 13
Apr 2022 18:57:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Wed, 13 Apr 2022 18:57:42 -0700 (PDT)
In-Reply-To: <c678baa7-1d4e-4866-afda-13957db4bfe3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.48.59.174; posting-account=P1X3VgoAAADgSty0b3mKYJl_KPjmW842
NNTP-Posting-Host: 5.48.59.174
References: <c678baa7-1d4e-4866-afda-13957db4bfe3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a409ddd-9ea8-4a21-b215-a4bc2b801b05n@googlegroups.com>
Subject: Re: How do you update Dolphin to a new version?
From: joebet...@gmail.com (Joe Betz)
Injection-Date: Thu, 14 Apr 2022 01:57:43 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
View all headers
Okay, found the new image in C:\Documents\Dolphin Smalltalk 7\DPRO.img7. I'd moved my image files around enough to not remember where they were initially created.

I'm still curious though if upgrading an existing image is possible or if that would require Klein* level reprogrammability, at least for VM changes.



*http://kitakitsune.org/ltas/resources/Constructing_a_Metacircular_Virtual_Machine_in_an_Exploratory_Programming_Environment.pdf


Subject: Re: How do you update Dolphin to a new version?
From: vin...@gmail.com
Newsgroups: comp.lang.smalltalk.dolphin
Date: Thu, 14 Apr 2022 03:44 UTC
References: 1 2
X-Received: by 2002:a05:622a:1884:b0:2ee:400f:49e2 with SMTP id v4-20020a05622a188400b002ee400f49e2mr434901qtc.412.1649907878641;
Wed, 13 Apr 2022 20:44:38 -0700 (PDT)
X-Received: by 2002:a9d:7608:0:b0:5e9:5b29:bef8 with SMTP id
k8-20020a9d7608000000b005e95b29bef8mr291306otl.368.1649907878292; Wed, 13 Apr
2022 20:44:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Wed, 13 Apr 2022 20:44:38 -0700 (PDT)
In-Reply-To: <7a409ddd-9ea8-4a21-b215-a4bc2b801b05n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=121.45.132.63; posting-account=5_w1_goAAAB1Y5P4_YBwBlB76XHrI38U
NNTP-Posting-Host: 121.45.132.63
References: <c678baa7-1d4e-4866-afda-13957db4bfe3n@googlegroups.com> <7a409ddd-9ea8-4a21-b215-a4bc2b801b05n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4200e633-f25a-4ae9-85ac-c7be3b6a2484n@googlegroups.com>
Subject: Re: How do you update Dolphin to a new version?
From: vin...@gmail.com (vin...@gmail.com)
Injection-Date: Thu, 14 Apr 2022 03:44:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
View all headers
Hi

I usually update the image by rebuilding it with the BootDPRO.cmd script or BootAndTestDPRO.cmd if there have been changes after a git pull. Remember to save down your changes before you do otherwise they are lost.

I don't use the launcher though - I just cd to the local clone dir and call Dolphin7.exe directly.

Vince


Subject: Re: How do you update Dolphin to a new version?
From: Joe Betz
Newsgroups: comp.lang.smalltalk.dolphin
Date: Thu, 21 Apr 2022 15:39 UTC
References: 1 2 3
X-Received: by 2002:a05:620a:2902:b0:69e:b906:7078 with SMTP id m2-20020a05620a290200b0069eb9067078mr10388259qkp.717.1650555545002;
Thu, 21 Apr 2022 08:39:05 -0700 (PDT)
X-Received: by 2002:a05:6870:15d3:b0:da:c49f:9113 with SMTP id
k19-20020a05687015d300b000dac49f9113mr23628oad.91.1650555544676; Thu, 21 Apr
2022 08:39:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Thu, 21 Apr 2022 08:39:04 -0700 (PDT)
In-Reply-To: <4200e633-f25a-4ae9-85ac-c7be3b6a2484n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.48.59.174; posting-account=P1X3VgoAAADgSty0b3mKYJl_KPjmW842
NNTP-Posting-Host: 5.48.59.174
References: <c678baa7-1d4e-4866-afda-13957db4bfe3n@googlegroups.com>
<7a409ddd-9ea8-4a21-b215-a4bc2b801b05n@googlegroups.com> <4200e633-f25a-4ae9-85ac-c7be3b6a2484n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6b79da20-0b75-4333-aea7-f420d530feb4n@googlegroups.com>
Subject: Re: How do you update Dolphin to a new version?
From: joebet...@gmail.com (Joe Betz)
Injection-Date: Thu, 21 Apr 2022 15:39:04 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
View all headers
Good to know, thanks!


Subject: Re: How do you update Dolphin to a new version?
From: danie...@gmail.com
Newsgroups: comp.lang.smalltalk.dolphin
Date: Fri, 22 Apr 2022 20:32 UTC
References: 1 2 3 4
X-Received: by 2002:ac8:65c5:0:b0:2f1:e813:6078 with SMTP id t5-20020ac865c5000000b002f1e8136078mr4644987qto.187.1650659524372;
Fri, 22 Apr 2022 13:32:04 -0700 (PDT)
X-Received: by 2002:a05:6830:25cc:b0:5c9:5fc5:32b1 with SMTP id
d12-20020a05683025cc00b005c95fc532b1mr2479050otu.138.1650659524137; Fri, 22
Apr 2022 13:32:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.smalltalk.dolphin
Date: Fri, 22 Apr 2022 13:32:03 -0700 (PDT)
In-Reply-To: <6b79da20-0b75-4333-aea7-f420d530feb4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:37a8:52b0:ad11:2337:b297:f7c9;
posting-account=T9QyoQoAAADOKeQdWgBWNEPoknBuEcQZ
NNTP-Posting-Host: 2600:1700:37a8:52b0:ad11:2337:b297:f7c9
References: <c678baa7-1d4e-4866-afda-13957db4bfe3n@googlegroups.com>
<7a409ddd-9ea8-4a21-b215-a4bc2b801b05n@googlegroups.com> <4200e633-f25a-4ae9-85ac-c7be3b6a2484n@googlegroups.com>
<6b79da20-0b75-4333-aea7-f420d530feb4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <86b5fd9a-89ef-4acd-822d-1f0b87d1e855n@googlegroups.com>
Subject: Re: How do you update Dolphin to a new version?
From: daniels...@gmail.com (danie...@gmail.com)
Injection-Date: Fri, 22 Apr 2022 20:32:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 35
View all headers
It's worth pointing out *all* updates *do* involve upgrading an existing image, albeit a much simpler one: the boot image. So in fact Dolphin *does* exhibit sufficient reprogrammability to accommodate this, at least for the sorts of changes made in the VM so far. If you're curious, looking at the history of PreBoot.st in the root of the Dolphin repository will give you an idea of some of the sorts of gyrations that have taken place in the past. Upgrading a fully-built image in-place past some of these same milestones would be significantly more *difficult*, but not in principle impossible.

In Dolphin's case, the VM is still built separately, using non-Smalltalk tooling. Pharo does take a step in the direction of Klein by writing the VM in a Smalltalk subset they call Slang, such that it is actually possible to run a VM as Smalltalk code within a Pharo image, rather than compiling it to C and then machine code. This is still not properly metacircular in that the "parent" image is running on a compiled VM which cannot be modified, and the "child" image also cannot modify *its own* VM, but the parent image can modify the child image's VM just like any other application code.

On a more practical note: You certainly can apply minor Dolphin updates by updating your Git repository and manually filing in changed classes. There is no support for this in the UI, though—you'd have to do it by manually examining the Git log and executing `ClassName fileIn` statements appropriately. Handling loose methods, packaged globals and scripts, etc. is even more difficult and would require significant infrastructure work to accommodate. It's certainly possible to automate in theory—Pharo has Iceberg, which is a UI somewhat like the old Dolphin Source Tracking System, but built on top of Git. The image is essentially treated as equivalent to the Git work tree (though changes are only actually saved to disk when committing—effectively the work tree is not used except to immediately stage and commit), with in-image pull, merge, etc. operations that change live code in addition to the files on disk. Having something like Iceberg for Dolphin would be *amazing*, but, it's also the work of a team of devs over many years and *still* sometimes buggy.

On Thursday, April 21, 2022 at 11:39:05 AM UTC-4, joeb...@gmail.com wrote:
Good to know, thanks!


1
rocksolid light 0.7.2
clearneti2ptor