Between 2020-02-09T23:29 and 2020-02-10T08:29 (UTC), the nabble forum<http://forum.world.st/Squeak-Dev-f45488.html> appears to have broken. I received emails from the list (such as: "[squeak-dev] The Inbox: Morphic-ct.1626.mcz"), but the forum does not list them.
Could anyone check their servers? :-)
Best,
Christoph
Christoph Thiede uploaded a new version of Morphic to project The Inbox:
http://source.squeak.org/inbox/Morphic-ct.1625.mcz
==================== Summary ====================
Name: Morphic-ct.1625
Author: ct
Time: 10 February 2020, 11:31:11.851089 am
UUID: 1b3882f1-357d-874e-8b25-089079f41819
Ancestors: Morphic-cmm.1618
Refines SystemWindow >> applyUserInterfaceTheme: Don't forget to replace the boxes. Otherwise, they will have the wrong size after a #changeFontSize:.
=============== Diff against Morphic-cmm.1618 ===============
Item was changed:
----- Method: SystemWindow>>applyUserInterfaceTheme (in category 'user interface') -----
applyUserInterfaceTheme
super applyUserInterfaceTheme.
self
+ replaceBoxes;
setDefaultParameters;
refreshWindowColor.
self isLookingFocused
ifTrue: [self lookUnfocused; lookFocused]
ifFalse: [self lookFocused; lookUnfocused].
self isCollapsed ifTrue: [self setProperty: #applyTheme toValue: true].!
Christoph Thiede uploaded a new version of ToolBuilder-Kernel to project The Inbox:
http://source.squeak.org/inbox/ToolBuilder-Kernel-ct.139.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-ct.139
Author: ct
Time: 10 February 2020, 11:15:08.216089 am
UUID: af747df6-a0a5-f345-a105-b2be39523199
Ancestors: ToolBuilder-Kernel-mt.134
Adds PluggableSliderSpec
=============== Diff against ToolBuilder-Kernel-mt.134 ===============
Item was added:
+ PluggableWidgetSpec subclass: #PluggableSliderSpec
+ instanceVariableNames: 'getValue setValue minValue maxValue quantum thumbColor'
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'ToolBuilder-Kernel'!
Item was added:
+ ----- Method: PluggableSliderSpec>>buildWith: (in category 'building') -----
+ buildWith: builder
+
+ ^ builder buildPluggableSlider: self!
Item was added:
+ ----- Method: PluggableSliderSpec>>getValue (in category 'accessing') -----
+ getValue
+ "Answer the selector for getting the slider's value."
+ ^ getValue!
Item was added:
+ ----- Method: PluggableSliderSpec>>getValue: (in category 'accessing') -----
+ getValue: aSymbol
+ "Set the selector for getting the slider's value."
+ getValue := aSymbol!
Item was added:
+ ----- Method: PluggableSliderSpec>>maxValue (in category 'accessing') -----
+ maxValue
+ "Set the maximum slider value, a symbol or number."
+ ^ maxValue!
Item was added:
+ ----- Method: PluggableSliderSpec>>maxValue: (in category 'accessing') -----
+ maxValue: aSymbolOrNumber
+ "Set the maximum slider value."
+ maxValue := aSymbolOrNumber!
Item was added:
+ ----- Method: PluggableSliderSpec>>minValue (in category 'accessing') -----
+ minValue
+ "Answer the minimum slider value, a symbol or number."
+ ^ minValue!
Item was added:
+ ----- Method: PluggableSliderSpec>>minValue: (in category 'accessing') -----
+ minValue: aSymbolOrNumber
+ "Set the minimum slider value."
+ minValue := aSymbolOrNumber!
Item was added:
+ ----- Method: PluggableSliderSpec>>quantum (in category 'accessing') -----
+ quantum
+ "Answer the rounding quantum for the slider value."
+ ^ quantum!
Item was added:
+ ----- Method: PluggableSliderSpec>>quantum: (in category 'accessing') -----
+ quantum: aNumber
+ "Set the rounding quantum for the slider value."
+ quantum := aNumber!
Item was added:
+ ----- Method: PluggableSliderSpec>>setValue (in category 'accessing') -----
+ setValue
+ "Answer the selector for setting the slider's value."
+ ^ setValue!
Item was added:
+ ----- Method: PluggableSliderSpec>>setValue: (in category 'accessing') -----
+ setValue: aSymbol
+ "Set the selector for setting the slider's value."
+ setValue := aSymbol!
Item was added:
+ ----- Method: PluggableSliderSpec>>thumbColor (in category 'accessing') -----
+ thumbColor
+ "Answer the color of the thumb the user can drag to change the slider's value."
+ ^ thumbColor!
Item was added:
+ ----- Method: PluggableSliderSpec>>thumbColor: (in category 'accessing') -----
+ thumbColor: aColor
+ "Set the color of the thumb the user can drag to change the slider's value."
+ thumbColor := aColor!
Item was added:
+ ----- Method: ToolBuilder>>pluggableSliderSpec (in category 'defaults') -----
+ pluggableSliderSpec
+ ^ PluggableSliderSpec!
Hi Stefano,
I think that your understanding is correct. SqueakJS stores files
in an internal database, so the Scratch files that you saved do not
appear directly on your PC.
I do not know if it possible to copy those files to the file system
on your PC, but hopefully someone on the squeak-dev mailing list will
have an answer.
Thanks for asking,
Dave
On Sun, Feb 09, 2020 at 09:51:25AM +0000, stefano federici wrote:
>
> >> you want to understand where the Scratch files are stored on your PC.
> > Correct. So that I can easily open my old Scratch projects and I can send projects that I develop in ScratchJS to other people
>
> UPDATE: I created and saved a project in the "SqueakJS" folder (the one shown in ScratchJS) and I made a full search in my PC. The file was not found. So, I guess projects are just saved in an internal SqueakJS DB? If it is so, this makes unfortunately ScratchJS useless for my purposes. And I have no sufficient javascript/smalltalk knowledge to try myself to change this behaviour (that I guess would possible in principle, as a lot of JS apps allow to save file locally).
>
> Cheers
> Stefano
>
> > I am also CC'ing the squeak-dev mailing list where some of the real Scratch and SqueakJS experts reside.
>
> Thanks a lot Dave
>
> > I think that you are asking about running Scratch on Bert Freudenberg's SqueakJS, which is a modern Squeak virtual machine implemented entirely in JavaScript for HML5
>
> Correct
>
> > If I understand your question correctly, you are asking about how to run Scratch on SqueakJS locally on your PC
>
> Yes. I partially solved the problem by downloading page https://squeak.js.org/run/ and by dragging my Scratch.image file into the page. ScratchJS runs apparently fine. I also partially solved the problem of running local files, by dragging the Scratch projects on the Scratch app running in SqueakJS
>
> > you want to understand where the Scratch files are stored on your PC.
>
> Correct. So that I can easily open my old Scratch projects and I can send projects that I develop in ScratchJS to other people
>
> Thanks for your help
>
> Stefano Federici
> -------------------------------------------------
> Universit?? degli Studi di Cagliari
> Facolt?? di Studi Umanistici
> Dipartimento di Pedagogia, Psicologia e Filosofia
> Via Is Mirrionis 1, 09123 Cagliari, Italia
> -------------------------------------------------
> Tel: +39 349 818 1955 Fax: +39 070 675 7113
>
> Il domenica 9 febbraio 2020, 04:05:38 CET, David T. Lewis <lewis(a)mail.msen.com> ha scritto:
>
>
>
> Hi Stefano,
>
> I am changing the subject line to "SqueakJS for Scratch" because google
> sends me somewhere else for "ScratchJS".
>
> I think that you are asking about running Scratch on Bert Freudenberg's
> SqueakJS, which is a modern Squeak virtual machine implemented entirely
> in JavaScript for HML5, rather than the traditional compiled virtual
> machines that run on operating systems such as Linux and Windows.
>
> If I understand your question correctly, you are asking about how to
> run Scratch on SqueakJS locally on your PC, and you want to understand
> where the Scratch files are stored on your PC.
>
> I do not have good answers to your questions but I am sure that others
> on this list can help. I am also CC'ing the squeak-dev mailing list
> where some of the real Scratch and SqueakJS experts reside.
>
> Here are some useful links for SqueakJS information:
>
> ?? https://squeak.js.org/
> ?? http://try.squeak.org/
> ?? https://github.com/bertfreudenberg/SqueakJS
>
> And for Scratch:
>
> ?? https://www.raspberrypi.org/blog/a-new-version-of-scratch-for-raspberry-pi-…
> ?? https://www.raspberrypi.org/blog/test-tims-nuscratch-beta/
> ?? https://github.com/raspberrypi/scratch
>
> Dave
>
>
> On Sun, Feb 09, 2020 at 01:01:57AM +0000, stefano federici wrote:
> >??
> >?? I managed running ScratchJS locally by saving the page https://squeak.js.org/run/ to my PC and the dragging my Scratch.image into the page.
> >
> > What I don't know is where the SqueakJS file system is stored. When I open the File>Open dialog I can see the SqueakJS and ScratchProjects folders. Where are they stored in my PC?
> >
> > Thanks in advance
> >
> > Stefano Federici
> > -------------------------------------------------
> > Universit?? degli Studi di Cagliari
> > Facolt?? di Studi Umanistici
> > Dipartimento di Pedagogia, Psicologia e Filosofia
> > Via Is Mirrionis 1, 09123 Cagliari, Italia
> > -------------------------------------------------
> > Tel: +39 349 818 1955 Fax: +39 070 675 7113
> >
> >?? ?? ?? Il venerd?? 7 febbraio 2020, 21:39:50 CET, stefano federici <s_federici(a)yahoo.com> ha scritto:??
> >??
> >?? Dear All,
> > I have two questions about ScratchJS (that I think is an awesome project):
> > - is it possible to run ScratchJS locally? I tried to run index.html in the SqueakJS-master\scratch folder, but I just got a black square in the upper left corner
> > - can I open local projects in ScratchJS?
> >
> > Thanks in advance for your help
> >
> > Regards
> > Stefano Federici
> > -------------------------------------------------
> > Universit?? degli Studi di Cagliari
> > Facolt?? di Studi Umanistici
>
> > Dipartimento di Pedagogia, Psicologia e Filosofia
> > Via Is Mirrionis 1, 09123 Cagliari, Italia
> > -------------------------------------------------
> > Tel: +39 349 818 1955 Fax: +39 070 675 7113??
A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-kfr.930.mcz
==================== Summary ====================
Name: Tools-kfr.930
Author: kfr
Time: 9 February 2020, 9:02:29.519512 pm
UUID: 5ba34f14-47a5-3d41-b77a-e043dad99316
Ancestors: Tools-mt.929
Form preview was displaying wrong colors. Convert preview form to screen depth to make colors display correctly
=============== Diff against Tools-mt.929 ===============
Item was changed:
----- Method: FileList>>readGraphicContents (in category 'private') -----
readGraphicContents
| form maxExtent ext |
+ form := (Form fromFileNamed: self fullName) asFormOfDepth: Display depth.
- form := Form fromFileNamed: self fullName.
maxExtent := lastGraphicsExtent := self availableGraphicsExtent.
ext := form extent.
(maxExtent notNil and: [form extent <= maxExtent]) ifFalse: [
form := form magnify: form boundingBox by: (maxExtent x / form width min: maxExtent y / form height) asPoint smoothing: 3].
contents := ('Image extent: ', ext printString) asText,
(String with: Character cr),
(Text string: ' '
attribute: (TextFontReference toFont:
(FormSetFont new
fromFormArray: (Array with: form)
asciiStart: Character space asInteger
ascent: form height))).
brevityState := #graphic.
^contents!
Hi Stefano,
I am changing the subject line to "SqueakJS for Scratch" because google
sends me somewhere else for "ScratchJS".
I think that you are asking about running Scratch on Bert Freudenberg's
SqueakJS, which is a modern Squeak virtual machine implemented entirely
in JavaScript for HML5, rather than the traditional compiled virtual
machines that run on operating systems such as Linux and Windows.
If I understand your question correctly, you are asking about how to
run Scratch on SqueakJS locally on your PC, and you want to understand
where the Scratch files are stored on your PC.
I do not have good answers to your questions but I am sure that others
on this list can help. I am also CC'ing the squeak-dev mailing list
where some of the real Scratch and SqueakJS experts reside.
Here are some useful links for SqueakJS information:
https://squeak.js.org/http://try.squeak.org/https://github.com/bertfreudenberg/SqueakJS
And for Scratch:
https://www.raspberrypi.org/blog/a-new-version-of-scratch-for-raspberry-pi-…https://www.raspberrypi.org/blog/test-tims-nuscratch-beta/https://github.com/raspberrypi/scratch
Dave
On Sun, Feb 09, 2020 at 01:01:57AM +0000, stefano federici wrote:
>
> I managed running ScratchJS locally by saving the page https://squeak.js.org/run/ to my PC and the dragging my Scratch.image into the page.
>
> What I don't know is where the SqueakJS file system is stored. When I open the File>Open dialog I can see the SqueakJS and ScratchProjects folders. Where are they stored in my PC?
>
> Thanks in advance
>
> Stefano Federici
> -------------------------------------------------
> Universit?? degli Studi di Cagliari
> Facolt?? di Studi Umanistici
> Dipartimento di Pedagogia, Psicologia e Filosofia
> Via Is Mirrionis 1, 09123 Cagliari, Italia
> -------------------------------------------------
> Tel: +39 349 818 1955 Fax: +39 070 675 7113
>
> Il venerd?? 7 febbraio 2020, 21:39:50 CET, stefano federici <s_federici(a)yahoo.com> ha scritto:
>
> Dear All,
> I have two questions about ScratchJS (that I think is an awesome project):
> - is it possible to run ScratchJS locally? I tried to run index.html in the SqueakJS-master\scratch folder, but I just got a black square in the upper left corner
> - can I open local projects in ScratchJS?
>
> Thanks in advance for your help
>
> Regards
> Stefano Federici
> -------------------------------------------------
> Universit?? degli Studi di Cagliari
> Facolt?? di Studi Umanistici
> Dipartimento di Pedagogia, Psicologia e Filosofia
> Via Is Mirrionis 1, 09123 Cagliari, Italia
> -------------------------------------------------
> Tel: +39 349 818 1955 Fax: +39 070 675 7113
Just FYI - the Pi 4 is showing Squeak benchmarks around 3X faster than a Pi 3+, which raises it to a bit better than 25% the performance of my fast i7 iMac. considering that it costs less than the mouse attached to the iMac I think that makes it pretty good value.
Oh, and this is running a very old 4.6 image with the benchmark suites loaded, so I hope a newer image might be at least a little faster. And it is running the 32bit cog VM since it has the vanilla 32bit Raspbian installed for now. We'll see what happens with a 64bit OS and cog sometime soon...
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
"Oh bother" said Pooh, as he reached for the reset button