I’m having all sorts of fun making some weather station and environmental sensors with assorted Pi and ESP8266 boards and I need a nice way to make the sensor nodes report back to base. Since the ESP8266 modules don’t run squeak (shame!) I’m using Arduino-c++ (blech) on them, and since the weather sensor code already existed in python (double-blech) I’m using that on the weather-pi board. I’ve been recommended to look at MQTT as a way to bind them all together and from what little sense I can make of the assorted stuff that googling had lead me to (good grief, so much acronym laden gibberish) it looks like it might do the job.
Googling for a squeak mqtt package has revealed nothing thus far so I’m now appealing to the list for any news.
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
Useful Latin Phrases:- O! Plus! Perge! Aio! Hui! Hem! = Oh! More! Go on! Yes! Ooh! Ummm!
Dear Squeakers,
I have always had a hard time learning anything until I had a project to
do it around. Well that time has come.
I need to write an app. that will let me run one application inside
another. I would like to have a cad type app. running in a window and
then be able to over lay that cad app. with another app. that lets me
put hot spots on the cad app. These hot spots will have the ability to
show a colored outline around their perimeter. That outline we would
like to be able to turn on and off or make blink. The purpose of the
hot spot is to train people how to use the cad app. by showing them
where to pick menu items and enter data etc.
So the whole things runs like this, we start the cad app. and the tutor
app. The tutor app. step by step shows the student where and what
bottoms to pic and where and what data to enter. As they enter etc. the
app. actually functions and they are able to create in the cad app.
Kind of a training wheel effect.
Can any one tell whether or not I could do this in Squeak and kind of
help me do it. I do have a nephew who is a good programmer but has
never used Squeak of small Talk and I would like to get him help me do
this app. start using Squeak.
Can any one point in the right direction? I would like to do the same
thing for learning Squeak. Once we learn how to do it for the cad app.
I will do it for the Squeak community and make it free.
Sincerely,
Chuck Smith
On 11/25/15, Frank Shearar <frank.shearar(a)gmail.com> wrote:
> On 24 November 2015 at 21:09, H. Hirzel <hannes.hirzel(a)gmail.com> wrote:
>> On 11/21/15, Chris Muller <asqueaker(a)gmail.com> wrote:
>>> On Fri, Nov 20, 2015 at 12:40 PM, tim Rowledge <tim(a)rowledge.org> wrote:
>>>> I suggest we should Universes.
>>> +1. +1. +1 and, +1.
..
>
> I was under the impression that Universes _was removed_, like, back in
> 4.4 or the beginning of the 4.5 cycle, when I was up to my eyeballs in
> hairy dependencies... Certainly the build processes think so -
> https://github.com/squeak-smalltalk/squeak-ci/blob/master/package-load-scri…
> is the _load script_ for Universes (implying its _unloaded by default_
> state).
>
> frank
>
>> I think this has been discussed before the release of 4.6 and people
>> agreed but at that time it was to late to do it.
>>
>> --Hannes
>>
>
>
Hi Frank
Indeed I do not see a Universe browser in the app menu of Squeak 5.0.
However there seem to be some classes left in the system, see screen shot.
So there was removal but it seems it was not done completely.
Hello
The recipe: How to list all global variables [1]
has the code snippet
Smalltalk keys
select:
[:k | ((Smalltalk at: k) isKindOf: Class) not]
thenCollect:
[:k | k -> (Smalltalk at: k) class]
to give a list of global variables.
When executing this code the recommendation is to use
Smalltalk globals
instead of
Smalltalk keys
A rewrite because of Environments not having #select:thenCollect: (I
do not think that is necessary) then is
(Smalltalk globals select: [:k | ((Smalltalk at: k) isKindOf: Class) not])
collect: [:k | k -> (Smalltalk at: k) class]
Then I get 'key not found: ExtendedNumberParser'.
I wonder what is going on here ...
Regards
Hannes
[1] http://wiki.squeak.org/squeak/1824
I’ve just added the initial experimental file chooser & saver modal dialogs to the Tools package.
Please try them out and find bugs or places where things could be nicer. If they work out we can replace a fair bit of really ugly code.
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
Original Sin is hard to find, but the digitally enhanced version is readily available.
Hi all,
I am happy to announce the release of version 3.5 of ParrotTalk, for Squeak and Pharo, found here:
http://www.squeaksource.com/Cryptography/ParrotTalk-zzz.2.mcz
It follows this specification:
https://github.com/ZiroZimbarra/callistohouse/blob/master/docs/ParrotTalkFr…
One item of note, in version 3.5, the system connecting to a server, sending the IWant msg, must know the vatId of the system being connected to. I am considering changing this to version 3.6 by removing one round-trip in messaging. Therefore, these messages would be combined: IWant/GiveInfo, IAm/ReplyInfo. I will keep ProtocolOffered and ProtocolAccepted to allow eLindaSession to support both versions: 3.5 and 3.6.
Thoughts please?
- HH
An EtoysProject is a project that is configured for running Etoys. On
first entry to a new EtoysProject, the playground and project preferences
are initialized to provide an environment similar to that of a traditional
standalone Etoys image.
Certain preferences that are required for Etoys are initialized on project
entry, overriding their global preference values while this EtoysProject
is active. On leaving the project, these preferences are restored to their
previous values.
"ProjectViewMorph openOn: EtoysProject new"
Change set attached for a minimal implementation.
Anyone with Etoys knowledge care to help? I do not know enough about Etoys
to fill in the rest of the initialization that will be required, but it
should not be hard to do.
Dave
Dear Squeakers,
Is there a way to move the focus between the different lists in a browser by keyboard? I searched the mailing list and looked a bit in the code. However, I did not find anything.
Cheers,
Bernhard
Just reposting the message
http://lists.squeakfoundation.org/pipermail/squeak-dev/2017-September/19530…
below so that it gets a proper subject line.
Note: SharedQueue and SharedQueue2 are both in the image.
SharedQueue2 was included into Squeak version 3.9 by MarcusDenker
(10-07-2005) for further testing.
Lex Spoon notes one year later that no problems have come to light. We
should start migrating to this. All it requires is replacing
SharedQueue by SharedQueue2.
Then two years later (12-17-2008) Keith_Hodges proposes a migration script
"fix begin"
Installer mantis bug: 1375 fix: 'M1375-SharedQueue2Enable.1.cs'.
WorldState initialize.
EventSensor initialize.
"fix end"
We need somebody to have a look at this script
'M1375-SharedQueue2Enable.1.cs' if it is still good to do the task.
BTW Pharo does not have two implementations of SharedQueue.
HH.
SharedQueue
I provide synchronized communication of arbitrary objects between
Processes. An object is sent by sending the message nextPut: and
received by sending the message next. If no object has been sent when
a next message is sent, the Process requesting the object will be
suspended until one is sent.
SharedQueue2
An implementation of a shared queue based on class Monitor. Clients
may may place items on the queue using nextPut: or remove them using
methods like next or nextOrNil. Items are removed in first-in
first-out (FIFO) order. It is safe for multiple threads to access the
same shared queue, which is why this is a "shared" queue.
[monitor] is used to synchronize access from multiple threads.
[items] is an ordered collection holding the items that are in the
queue. New items are added at the end, and old items are removed
from the beginning.
All methods must hold the monitor while they run.
Levente Uzonyi
<leves(a)caesar.elte.hu> Wed, Sep 20, 2017 at 6:44 PM
Reply-To: The general-purpose Squeak developers list
<squeak-dev(a)lists.squeakfoundation.org>
To: The general-purpose Squeak developers list
<squeak-dev(a)lists.squeakfoundation.org>
On Wed, 20 Sep 2017, H. Hirzel wrote:
On 9/20/17, Levente Uzonyi <leves(a)caesar.elte.hu> wrote:
These methods were there to make it possible to migrate from SharedQueue
to SharedQueue2 in a live system.
Could you please give some more background information about this migration?
http://bugs.squeak.org/view.php?id=1375
That migration has not happened yet,
Is there a reason not to do it after 5 years?
The mantis issue above has a few potential reasons.
Another one may be that now there are other potential shared queue
implementations to replace SharedQueue.