Re: self-hosted TiddlyWiki-like Amber images

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: self-hosted TiddlyWiki-like Amber images

Herby Vojčík
On 14. 6. 2020 12:06, Pavel Krivanek wrote:

> Hi,
>
>
> I created a very dirty experiment - an Amber version that can save
> itself in the TiddlyWiki style. It is just a proof of concept, not
> something that should be used.
>
>
> It is a single big HTML file (5.1 MB) that can save itself, including
> changes you made in the code (there is a "Save image" button).
>
>
> The most important limitation is that *only the legacy IDE works *now.
>
>
> You can try it here:
>
> https://pavel-krivanek.github.io/amber/amber.html
>
>
> Ideally, such a self-hosted image-like environment could be combined
> with a Git versioning approach to gain advantages of both worlds. There
> is no technical reason why it should not work.

Technically, yes. It seems, though, that every other Smalltalk,
including Amber, that is out there and uses git, actually
version-controls packages / classes, not the whole image.

But who knows, if images were written in a format the is textually
diffable, they would be put into vcs (at least for local history if not
uploaded to central server).

But on its own, the idea that Amber can save the whole (in a limited
way) world and load it as a whole may be interesting, as it creates
parity with the "true" Smalltalks' experience. In a way, Amber has
imags, just not saveable, but bootstrapped all the time.

> Cheers,
>
> -- Pavel

Herby

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/amber-lang/527e5d08-80c9-cc08-3f75-8e9daf102fcf%40mailbox.sk.
Reply | Threaded
Open this post in threaded view
|

Re: self-hosted TiddlyWiki-like Amber images

Pavel Krivanek-3


ne 14. 6. 2020 v 17:06 odesílatel Herby Vojčík <[hidden email]> napsal:
On 14. 6. 2020 12:06, Pavel Krivanek wrote:
> Hi,
>
>
> I created a very dirty experiment - an Amber version that can save
> itself in the TiddlyWiki style. It is just a proof of concept, not
> something that should be used.
>
>
> It is a single big HTML file (5.1 MB) that can save itself, including
> changes you made in the code (there is a "Save image" button).
>
>
> The most important limitation is that *only the legacy IDE works *now.
>
>
> You can try it here:
>
> https://pavel-krivanek.github.io/amber/amber.html
>
>
> Ideally, such a self-hosted image-like environment could be combined
> with a Git versioning approach to gain advantages of both worlds. There
> is no technical reason why it should not work.

Technically, yes. It seems, though, that every other Smalltalk,
including Amber, that is out there and uses git, actually
version-controls packages / classes, not the whole image.

But who knows, if images were written in a format the is textually
diffable, they would be put into vcs (at least for local history if not
uploaded to central server).

But on its own, the idea that Amber can save the whole (in a limited
way) world and load it as a whole may be interesting, as it creates
parity with the "true" Smalltalks' experience. In a way, Amber has
imags, just not saveable, but bootstrapped all the time.

To be clear, I meant managing sources on Git with modules granularity, the same way as Amber does now. It should be possible
- bootstrap Amber self-hosting single file from individual module files
- when served, it should be able to push and commit packages as now
- update packages from the server
- whenever you need or do not have served Amber file, save it in "image style"
- when served again, push the changes to the server and commit them via Git
- versioning of the full "image file" would work (because it is unlike standard images based on text representation) but not preferred way

-- Pavel
 

> Cheers,
>
> -- Pavel

Herby

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/amber-lang/CAHN2FzfXS_UwaajMikC6Y3%2B_aJz90q7g%3DZdme-L0ixiO8Rt-SA%40mail.gmail.com.