[Pharo-users] Re: [ANN] Develop in Pharo 9, run on Javascript

2021-03-14 Thread Steve Quezadas
So that I understand properly. If I write, say, a visual presentation in
Moose, PharoJS allows me to export that presentation to a javascript
window? So it can be viewed in any web browser?

On Fri, Mar 12, 2021 at 7:55 AM Stéphane Ducasse 
wrote:

> super cool!
>
> On 12 Mar 2021, at 16:16, Noury Bouraqadi  wrote:
>
> Hi everyone,
>
> We have been working on porting PharoJS to Pharo 9 for a while now.
> And we managed to reach the end of the tunnel this week.
> All PharoJS tests are now green on Pharo 9.
>
> Find out more at: https://github.com/PharoJS/PharoJS
> Dave & Noury
> 
>
>
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr / http://www.pharo.org
> 03 59 35 87 52
> Assistant: Aurore Dalle
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
>


Re: [Pharo-users] [ANN] Next Pharo Sprint: Feb 28

2020-02-24 Thread Steve Quezadas
This is interesting. How many people usually go to these code sprint
things?

I am learning pharo and roassal and I perused Moose and it looks very
interesting!

On Mon, Feb 24, 2020 at 4:52 AM Marcus Denker 
wrote:

> We will organize a Pharo sprint / Moose dojo Feb 28, starting at
>
> 10:00am. (Local Time Paris).
>
> Goals of this sprint:
>
> - Pharo 8: Fix issues from tracker
> https://github.com/pharo-project/pharo/issues
>
> Remote Sprint: Remotely, you can join us on Discord. During the sprint, we
> synchronize local and remote Pharo sprinters:
>
> http://pharo.org/contribute-events
>
> We have added a Board to coordinate the work:
> https://github.com/orgs/pharo-project/projects/9
>
> Known Local Sprint meetings
>
> - Lille/France: It will be at the Inria Lille, Building B, third floor
> (RMoD offices).
> As the building is not open to the public, please contact us before if you
> plan to come
>
> A list of all Pharo Event of the year an be found here:
> https://association.pharo.org/events
>


Re: [Pharo-users] What is the difference between a form and a morph?

2020-02-24 Thread Steve Quezadas
Ben,

I checked, [Form] is inherited from class [DisplayMedium]. So in
smalltalk, the inheritence pattern is:
Object -> DisplayObject -> DisplayMedium -> Form

The inheritence pattern of ImageMorph is:
Object -> Morph -> ImageMorph

One does not inherit the other and is not a wrapper, at least in Pharo8

On Sun, Feb 23, 2020 at 10:11 PM Ben Coman  wrote:

> On Mon, 24 Feb 2020 at 04:31, Steve Quezadas  wrote:
>
>> I usually like to go through the source code to answer my own question,
>> but I can't tell by reading it.
>>
>> [Morph], from what I understand, deals with manipulating graphics on
>> smalltalk. But when I use ZnEasy to get a jpeg file, I notice that it
>> returns a [Form] and not a [Morph] to display a jpeg. Spec2 also wants
>> [Form] for displaying images rather than [Morph].
>>
>> So what is the difference between a [Form] and a [Morph] since they both
>> seem to deal with graphics?
>>
>
> I don't know the exact answer, but if you review method ImageMorph>>form
> you will see that the ImageMorph is a wrapper around a Form.
>
> So some simple differences that may be inferred.
> - Many morphs are not bitmaps.
> - Morphs are GUI elements, i.e. interact with mouse and keyboard
> - Forms are not GUI elements
> - Forms can be manipulated without displaying them.
>
> In some other graphics system, an analogy could be putting an image on a
> button and asking "what is the difference between an 'image' and a 'button'
> ?"
>
> wrt Spec2, Morph is one backend that Spec2 might use to display a Form,
> or Spec2 might display the Form using a GTK widget.
>
> cheers -ben
>


Re: [Pharo-users] What is the difference between a form and a morph?

2020-02-23 Thread Steve Quezadas
> A Form is a rectangular of pixel.
I don't understand. What is a "rectangular of a pixel"?

> You can create a Morph around a form with:
Don't you mean "convert  a [Form] to a [Morph] object"? What do you mean by
"create a Morph around a form"?

On Sun, Feb 23, 2020 at 7:47 PM K K Subbu  wrote:

> On 24/02/20 2:00 AM, Steve Quezadas wrote:
> > [Morph], from what I understand, deals with manipulating graphics on
> > smalltalk. But when I use ZnEasy to get a jpeg file, I notice that it
> > returns a [Form] and not a [Morph] to display a jpeg. Spec2 also wants
> > [Form] for displaying images rather than [Morph].
> >
> > So what is the difference between a [Form] and a [Morph] since they both
> > seem to deal with graphics?
>
> A Form is a rectangular of pixel. Essentially, a picture. You can create
> a Morph around a form with:
>
>aForm asMorph openInHand.
>
> A Morph is the basic unit of Morphic GUI - a live, direct editor of
> objects. An excellent short tutorial about it is at:
>
>
> http://stephane.ducasse.free.fr/freebooks/collectivenbluebook/morphic.final.pdf
>
> HTH .. Subbu
>
>


[Pharo-users] What is the difference between a form and a morph?

2020-02-23 Thread Steve Quezadas
I usually like to go through the source code to answer my own question, but
I can't tell by reading it.

[Morph], from what I understand, deals with manipulating graphics on
smalltalk. But when I use ZnEasy to get a jpeg file, I notice that it
returns a [Form] and not a [Morph] to display a jpeg. Spec2 also wants
[Form] for displaying images rather than [Morph].

So what is the difference between a [Form] and a [Morph] since they both
seem to deal with graphics?


Re: [Pharo-users] [ANN] Pharo TechTalk Feb 20: The Colony

2020-02-11 Thread Steve Quezadas
This is interesting. I will surely go to this tech talk, as I'm always
interested in finding new and efficient methods of organizing groups. Will
this be a youtube streaming of the demo? Or is it mostly chat?

What is the best way to use javascript libraries within pharo? amber or
pharojs? scarlet?

Are there any front-ends for this project available? Are there any
"colonies" out in the wild? Are there going to be any physical
presentations for this? I am in Los Angeles.

On Mon, Feb 10, 2020 at 6:30 AM Marcus Denker 
wrote:

> A regular chat about Pharo. Happens on Discord.
>
> This month a bit a special TechTalk, not about Pharo but about a tool that
> might be interesting for us to use.
>
> Topic: The Colony https://colony.io
>
> Introduction to "The Colony", a new platform to Organize and
> Incentivize Collaborators, Contributors, and Communities.
> Short demo, followed by some Q, help to get people onboarded.
>
>
> https://association.pharo.org/event-3697011
>
> 20 Feb 2020 •
> 1:30 PM - 2:30 PM (EST)
>
> NOTE: this is EST time, for Europe, this is 19:30 (the easiest is to
> download the calendar entry)
>


Re: [Pharo-users] Spec2 and Nuklear?

2020-02-11 Thread Steve Quezadas
This is interesting. I will surely go to this tech talk, as I'm always
interested in finding new and efficient methods of organizing groups. Will
this be a youtube streaming of the demo? Or is it mostly chat?

What is the best way to use javascript libraries within pharo? amber or
pharojs? scarlet?

Are there any front-ends for this project available? Are there any
"colonies" out in the wild? Are there going to be any physical
presentations for this? I am in Los Angeles.

On Tue, Feb 11, 2020 at 10:59 AM Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:

> Hi,
>
> This is not a question, but more like a blue plan thinking about
> minimalist native UI toolkits that can talk with Spec 2. I just found
> Nuklear[1] and I'm kind of wondering if this could take the place of GTK
> in the Spec2 world.
>
> [1] https://github.com/Immediate-Mode-UI/Nuklear
>
> Maybe this is just a public note for my future self, put in a bottle, so
> future others in this community can find it :-).
>
> Cheers,
>
> Offray
>
>
>
>


Re: [Pharo-users] [Browser] object is deprecated

2020-02-09 Thread Steve Quezadas
Thank you.

I see that this opens Nautilus. Is Calypso the Pharo8 equivalent?

How do I find the class of the Calypso browser? Do I "halo click" a Calypso
browser, I assume? And then click the wrench thing? What area of the
browser do I click on to get the name of the object it is from?


On Sun, Feb 9, 2020 at 9:44 AM Denis Kudriashov 
wrote:

> Hi Steve
>
>Smalltalk tools browser open
>
> вс, 9 февр. 2020 г. в 17:37, Steve Quezadas :
>
>> Hello,
>>
>> I am porting a package into Pharo 8. One of the objects is referring to
>> object [Browser], but that does not seem to present in Pharo8 and
>> deprecated in Pharo5. What is the modern replacement for [Browser]?
>>
>> Also, is there a "smaltalk" way to find out recommended replacements for
>> deprecated objects?
>>
>> - Steve
>>
>> PS How do you open object [Browser] in Pharo5, so I can at least visually
>> see it? "Browser new open" and "Browser new openInWorld" both don't work.
>>
>


[Pharo-users] [Browser] object is deprecated

2020-02-09 Thread Steve Quezadas
Hello,

I am porting a package into Pharo 8. One of the objects is referring to
object [Browser], but that does not seem to present in Pharo8 and
deprecated in Pharo5. What is the modern replacement for [Browser]?

Also, is there a "smaltalk" way to find out recommended replacements for
deprecated objects?

- Steve

PS How do you open object [Browser] in Pharo5, so I can at least visually
see it? "Browser new open" and "Browser new openInWorld" both don't work.


[Pharo-users] Viewing all Spec icons

2020-02-03 Thread Steve Quezadas
Is there a "smalltalk" way of displaying all the icons that are
available in spec? Or a website with all the images, just so that I
can have a "bird eye's view" of the data?


[Pharo-users] ButtonPresenter in Spec2

2020-02-01 Thread Steve Quezadas
Is [ButtonPresenter] in the new spec2? In Spec1, anyway, it seems to be
subclassed from [AbstractWidgetPresenter] which is subclassed from
[ComposablePresenter], but doesn't seem anywhere in the Spec2 package, as
far as I can tell.

I checked spotter and it seems [ButtonPresenter] is deprecated now. What is
the "Spec2" way of placing buttons? There are references to it in some of
the demos, but I can't get the demos to work.


Re: [Pharo-users] Spec2 demos

2020-02-01 Thread Steve Quezadas
So if I'm messing around with Spec, do you recommend I use Spec1 or Spec2
at this point?

On Sat, Feb 1, 2020 at 5:34 AM Esteban Lorenzano 
wrote:

>
>
> On 1 Feb 2020, at 13:38, Steve Quezadas  wrote:
>
> But Spec1 is already being deprecated in Pharo8! Why is it being
> deprecated if Spec2 is not even done? What am I supposed to use if I want
> to build something today?
>
>
> Spec2
> Spec1 never actually worked.
> Spec2 is not finished, but is already a lot better than Spec1.
> Yes, it may change… but not so much as to be “radically” other thing.
>
> Esteban
>
>
> On Sat, Feb 1, 2020 at 3:37 AM Norbert Hartl  wrote:
>
>>
>>
>> Am 01.02.2020 um 02:50 schrieb Steve Quezadas :
>>
>> 
>> When I try that, it gives me "Instance of SpDemo did not understand
>> #openWithSpec
>>
>> Is Spec2 "finished" or is it still in development?
>>
>> Spec2 is far from being finished. Everything in the image is a preview
>> and might change.
>>
>> Norbert
>>
>> On Fri, Jan 31, 2020 at 4:07 PM Cyril Ferlicot 
>> wrote:
>>
>>> Hi,
>>>
>>> Most demo can be open via the menu bar « help => Spec 2 demos ».
>>>
>>> Some of them are not yet integrated into this demo browser tho.
>>>
>>> On Sat 1 Feb 2020 at 00:50, Steve Quezadas  wrote:
>>>
>>>> Hey guys,
>>>>
>>>> Forgive the naive question, but does anyone know how to open the demos
>>>> in Spec2? The package "Spec2-Examples" has a few example objects that I
>>>> would like to toy with:
>>>> SpDemo
>>>> SpDemoButtonsPresenter
>>>> SpCheckBoxExample
>>>>
>>>> "SpDemo openInWorld" is not working.
>>>>
>>> --
>>> Cyril Ferlicot
>>> https://ferlicot.fr
>>>
>>
>


Re: [Pharo-users] Spec2 demos

2020-02-01 Thread Steve Quezadas
But Spec1 is already being deprecated in Pharo8! Why is it being deprecated
if Spec2 is not even done? What am I supposed to use if I want to build
something today?

On Sat, Feb 1, 2020 at 3:37 AM Norbert Hartl  wrote:

>
>
> Am 01.02.2020 um 02:50 schrieb Steve Quezadas :
>
> 
> When I try that, it gives me "Instance of SpDemo did not understand
> #openWithSpec
>
> Is Spec2 "finished" or is it still in development?
>
> Spec2 is far from being finished. Everything in the image is a preview and
> might change.
>
> Norbert
>
> On Fri, Jan 31, 2020 at 4:07 PM Cyril Ferlicot 
> wrote:
>
>> Hi,
>>
>> Most demo can be open via the menu bar « help => Spec 2 demos ».
>>
>> Some of them are not yet integrated into this demo browser tho.
>>
>> On Sat 1 Feb 2020 at 00:50, Steve Quezadas  wrote:
>>
>>> Hey guys,
>>>
>>> Forgive the naive question, but does anyone know how to open the demos
>>> in Spec2? The package "Spec2-Examples" has a few example objects that I
>>> would like to toy with:
>>> SpDemo
>>> SpDemoButtonsPresenter
>>> SpCheckBoxExample
>>>
>>> "SpDemo openInWorld" is not working.
>>>
>> --
>> Cyril Ferlicot
>> https://ferlicot.fr
>>
>


Re: [Pharo-users] Spec2 demos

2020-01-31 Thread Steve Quezadas
When I try that, it gives me "Instance of SpDemo did not understand
#openWithSpec

Is Spec2 "finished" or is it still in development?

On Fri, Jan 31, 2020 at 4:07 PM Cyril Ferlicot 
wrote:

> Hi,
>
> Most demo can be open via the menu bar « help => Spec 2 demos ».
>
> Some of them are not yet integrated into this demo browser tho.
>
> On Sat 1 Feb 2020 at 00:50, Steve Quezadas  wrote:
>
>> Hey guys,
>>
>> Forgive the naive question, but does anyone know how to open the demos in
>> Spec2? The package "Spec2-Examples" has a few example objects that I would
>> like to toy with:
>> SpDemo
>> SpDemoButtonsPresenter
>> SpCheckBoxExample
>>
>> "SpDemo openInWorld" is not working.
>>
> --
> Cyril Ferlicot
> https://ferlicot.fr
>


[Pharo-users] Spec2 demos

2020-01-31 Thread Steve Quezadas
Hey guys,

Forgive the naive question, but does anyone know how to open the demos in
Spec2? The package "Spec2-Examples" has a few example objects that I would
like to toy with:
SpDemo
SpDemoButtonsPresenter
SpCheckBoxExample

"SpDemo openInWorld" is not working.


Re: [Pharo-users] smalltalk conferences

2020-01-31 Thread Steve Quezadas
I'm in LA, and I would definitely attend meetups. I'm writing these little
small apps in pharo just getting used to the environment and I think it's
great.

On Fri, Jan 31, 2020 at 9:42 AM tbrunz  wrote:

> Thanks, Mariano.  Wish I had known about the Portland event; I might have
> made arrangements to take time off & attend it.  How often do they have
> west-coast events?
>
> I'm currently generating interest in the L.A. area for Pharo/Smalltalk,
> with
> the idea of eventually coordinating regular meetups.  There's a fairly
> active technical community in my area, with many users groups using
> meetup.com for SIGs.  I think a Pharo SIG would fit right in.
>
> -t
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>


Re: [Pharo-users] Latest PharoJS Success Story

2020-01-28 Thread Steve Quezadas
Does Apache cordova drain a lot of battery from the phone?

On Tue, Jan 28, 2020 at 10:19 AM N. Bouraqadi  wrote:

> The latest PharoJS-powered smartphone app is now live.
> Development has been made using Pharo.
> Then, javascript code is generated using PharoJS.
> Last, the app is built to target both iOS and Android thanks to Apache
> Cordova.
>
> Learn more and Download at
> https://nootrix.com/projects/brain-treats-app/
>
> Noury
>


Re: [Pharo-users] smalltalk conferences

2020-01-28 Thread Steve Quezadas
Yeah, I went to the portland one, it was great. I regretted missing the
Charlotte one.

On Tue, Jan 28, 2020 at 4:46 AM Mariano Martinez Peck 
wrote:

>
>
> On Mon, Jan 27, 2020 at 10:30 PM tbrunz  wrote:
>
>> We need to start one.  Along with a North American version of ESUG.
>>
>>
> There are a few Camp Smalltalk held in United States. The last one held by
> Instantiations at Charlotte, NC last year [1] was more like a small
> conference rather than a Camp and it a lot of fun as you can see in this
> video [2]. Then there was another one at Portland too [3] that was
> sponsored by many companies and vendors.
>
> I guess that's a good start.
>
> [1]
> https://www.eventbrite.com/e/camp-smalltalk-charlotte-2019-tickets-52380940804#
> [2] https://youtu.be/TLIHjbTipQw
> [3]
> https://www.eventbrite.com/e/camp-smalltalk-portland-2019-tickets-66639706155#
>
>
>
> --
> Mariano Martinez Peck
> Email: marianop...@gmail.com
> Twitter: @MartinezPeck
> LinkedIn: www.linkedin.com/in/mariano-martinez-peck
> 
> Blog: https://marianopeck.wordpress.com/
>


Re: [Pharo-users] Is Pharo is a good frontend system for a game console?

2020-01-27 Thread Steve Quezadas
What do you like about Lua? curious;

On Thu, Jan 16, 2020 at 5:20 PM Vince Refiti <
vince.ref...@trapezegroup.com.au> wrote:

> Hi
>
> I would use Lua Love (https://love2d.org/) for such things.
>
> Vince
>
> -Original Message-
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf
> Of ponyatov
> Sent: Friday, 17 January 2020 9:29 AM
> To: pharo-users@lists.pharo.org
> Subject: [Pharo-users] Is Pharo is a good frontend system for a game
> console?
>
> EXTERNAL: Do not click links or open attachments if you do not recognize
> the sender.
>
> Good day
>
> I'm playing with custom little Linux for retrogaming console based on
> Raspberry Pi 4.
>
> Is Pharo is a good frontend system (GUI) for a game console?
>
> There is no mouse or keyboard by default, only joystick. So running
> Smalltalk interface on system bootup has some questions on usability. Also,
> it should be able to run external native binary programs that can use
> OpenGL and SDL/SDL2 so I'm not sure is the Pharo graphics system will be
> run on direct framebuffer without X11, and is it stable to be used with
> such libraries.
>
>
>
>
> --
> Sent from:
> https://urldefense.com/v3/__http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html__;!!I_DbfM1H!V4Xnp6AaGOc64G2uGZb1U4FQnxQNdLxIUBb2c_cIqr2Zakh1Z3erb1Hpkpllw1Vm8pZM0WxqAw$
>
>


Re: [Pharo-users] What is the idiomatic way to store data in pharo?

2020-01-27 Thread Steve Quezadas
is voyage the most common way to do it?

On Mon, Jan 27, 2020 at 5:32 PM tbrunz  wrote:

> How about Voyage?
>
> https://github.com/pharo-nosql/voyage
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>


[Pharo-users] smalltalk conferences

2020-01-27 Thread Steve Quezadas
Does anyone know of any upcoming smalltalk conferences in the United States?


[Pharo-users] What is the idiomatic way to store data in pharo?

2020-01-27 Thread Steve Quezadas
I am writing a simple "quote-of-the-day" object for pharo that stores both
quotes and pictures. What is the "idiomatic" way of storing data in pharo?
Do I connect to some sort mysql database or is there a better "smalltalk"
way to do it?

Forgive the naive question.

- Steve


Re: [Pharo-users] spec 2 documentation

2020-01-24 Thread Steve Quezadas
Great, I learn a lot by playing around with the demos

On Fri, Jan 24, 2020 at 1:56 AM Kasper Østerbye 
wrote:

> Hi
>
> Just to make sure - you guys know about the class SpDemo (part of the
> image), it has examples of a lot of things. It is seriously a treasure
> trove of how-to.
>
> Best,
>
> Kasper
>
>
>
>
>


Re: [Pharo-users] spec 2 documentation

2020-01-23 Thread Steve Quezadas
Does any stuff from Spec 1 transfer over to Spec 2? Is it more-or-less
interchangeable with a few tweaks here and there?

On Thu, Jan 23, 2020 at 11:48 AM ASAM  wrote:

> I looked for the same one and even donated. But as far as I know there is
> no
> book yet.
>
>
> https://www.okpal.com/building-user-interfaces-with-spec/?utm_campaign=01DKKYM06QR7GF0K4S5YA3VVZ0_medium=campaign_edit-okpuid_01DKKYKZ99J5VPEAKHNXH8375A-20190903_source=share_directlink#/
>
> -Joerg
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>


[Pharo-users] spec 2 documentation

2020-01-23 Thread Steve Quezadas
guys,

is there any "official" documentation on spec 2? I found a video on
youtube, a slide deck from a presentation, and this github page:
https://github.com/dionisiydk/Spec2

It seems to have some sort of integration with gtk, but not too much
documentation.

- Steve


Re: [Pharo-users] Spec2 and Gtk3

2019-10-09 Thread Steve Quezadas
Can't wait. You guys are doing an amazing job with this Glamorous Toolkit
stuff!

On Wed, Oct 9, 2019 at 5:04 AM Cyril Ferlicot 
wrote:

> On Wed, Oct 9, 2019 at 11:47 AM Shaping  wrote:
> >
> > Is there an ETA for Pharo's Spec2 with Gtk3 bindings?
> >
>
> Hi,
>
> The project is currently in development and should have a stable
> version for the Pharo 8 release.
>
>
> > When is the earliest I can test it?
> >
> >
> > Shaping
> >
> >
> >
>
>
> --
> Cyril Ferlicot
> https://ferlicot.fr
>
>


[Pharo-users] keyboard shortcut for switching from "instance side" to "class side"

2019-10-08 Thread Steve Quezadas
Does anyone know of a keyboard shortcut in pharo that switches from the
method selectors in the "class side" to the "instance side"? I can't seem
to find anything by browsing google.

Ctrl-h seems to be an undocumented keystroke command to switch to "heirchy
list" when the object in the browser is selected. So I would imagine there
would also be something to switch to the class side/instance side.

- Steve


[Pharo-users] spec2 documentation?

2019-10-06 Thread Steve Quezadas
Is there any documentation to the new spec2 object?


Re: [Pharo-users] [Pharo-dev] [ANN] Pharo TechTalk Sept 26

2019-09-26 Thread Steve Quezadas
can you post the meeting in UTC time? It's easier to coordinate across the
globe in UTC time

On Thu, Sep 26, 2019 at 5:24 AM Esteban Lorenzano 
wrote:

> It is my fault :)
> I’m sorry, but my week is being complicated and sadly I didn’t manage to
> clean up the mess :(
>
> Anyway, next slot I promise it will be done!
>
> Esteban
>
>
> > On 26 Sep 2019, at 14:13, Marcus Denker  wrote:
> >
> >
> >
> > Sadly we have to cancel the TechTalk that was planned for today the last
> minute.
> >
> > It will be done (most likely) at the next TechTalk slot (Oct 17).
> >
> > We are sorry for the late change.
> >
> > I will send an new invitation for the next techtalk slot next week
> >
> >
> >
> >> On 18 Sep 2019, at 15:45, Marcus Denker  wrote:
> >>
> >> A regular chat about Pharo. Happens on Discord.
> >>
> >> The Tech talks are open to both members and non-members!
> >>
> >> Topic:  Spec2 and GTK
> >>
> >>
> >> NOTE: one week later then originally planned!
> >>
> >>
> >> https://association.pharo.org/event-3419544
> >>
> >>
> >>
> >
> >
>
>
>


Re: [Pharo-users] Code of Conduct

2019-09-23 Thread Steve Quezadas
Thank you for that well-stated argument. I agree, offray's argument is
silly. It's like saying that there aren't many male kindergarten teachers
and that this is evidence that the school system is "sexist".

- Steve

PS Can we please just kill the CoC  it's making this maillist political.

On Mon, Sep 23, 2019 at 8:25 PM Richard O'Keefe  wrote:

> Let's look at some official numbers.
>
> Looking at
> https://www.hesa.ac.uk/news/11-01-2018/sfr247-higher-education-student-statistics/qualifications
> we see that overall, female graduates outnumbered male graduates about
> 4 to 3 in each of the three years
> recorded.  The imbalance in science graduates was less, but it was
> still consistently women significantly
> outnumbering men.  Computer science stood out as consistently about 4
> men to 1 woman, and Computer
> Science departments are tying themselves into knots trying to figure
> out what to do about it.  Meanwhile,
> nobody worries that "subjects allied to medicine" was about 4 women to 1
> man.
>
> If there are models explaining that "colleges" are set up to favour
> white males, why are women succeeding
> so much more than men?
>
> In my own country, ten years ago the main newspaper ran an article
> pointing out that "Two-thirds of bachelor
> degrees last year went to women, the highest figure on record" and
> that "Women have outnumbered men
> in the tertiary sector for more than a decade", blaming "a secondary
> school system which may discourage
> or poorly prepare boys for further learning".
>
> Look now at Canada.
>
> https://www.conferenceboard.ca/hcp/Details/education/gender-gap-tertiary.aspx?AspxAutoDetectCookieSupport=1
> tells us that "Canadian women aged 25 to 64 are 17 per cent more
> likely than Canadian men to have a tertiary education.
> The imbalance in educational attainment between Canadian men and women
> has increased over the past decade,
> raising questions about whether higher education in Canada is becoming
> less hospitable to male learners."  This is not new.
> "the overall gender imbalance tipped in women’s favour in Canada in
> the early 1990s.  ...
> Many are asking whether there is a 'boy crisis' in education and
> wondering what can be done to address it. In fact, a
> growing 'boy gap' in education can be seen across OECD countries, with
> the problem beginning long before students
>  reach post-secondary age. According to a recent report, 'boys, as a
> group, rank behind girls by nearly every measure
> of scholastic achievement'—including reading and writing scores—and
> they are 'also more likely to be picked out for
> behavioural problems, more likely to repeat a grade and to drop out of
> school altogether.”  "when we examine th
> more recent cohort of graduates—those aged 25 to 34—nearly every
> country has a gender imbalance that favours
> women. In most cases, moreover, women’s advantage has become much more
> pronounced."
>
> So models that explain why colleges favour white males are rather like
> models that explain why the sun is dark.
> If "colleges" are set up to favour white males, they are doing a
> catastrophically bad job of it.  So much so that I
> have been glad I have daughters, not sons.
>
> If you want to say that Computer Science numbers are due to some sort
> of discriminatory environment rather than
> preference, then you have to explain the equally large imbalance the
> other way in "medicine-related subjects" as
> discrimination rather than preference.
>
>
> On Tue, 24 Sep 2019 at 02:39, Stephan Eggermont  wrote:
> >
> > Steve Quezadas  wrote:
> > > Your interpreting this information with a SJW lens.
> >
> > SJW is a political construct from the extreme right. As a straight white
> > male from Western Europe I have seen enough discriminatory practices
> > applied to less privileged friends to know there is a problem. And as I
> can
> > afford to speak up, I do.
> >
> > > Look at the low proportion of blacks and women who
> > > apply for CS majors in college. Are you going to say that colleges are
> > > using discriminatory practices to keep blacks and women from taking CS
> > > classes?
> >
> > Yes, the colleges are set up to make it easier for white males to
> succeed.
> > There are enough models explaining why that happens
> >
> > > Maybe the bulk of the low recruitment statistics is simply due to
> > > non-interest within that sub-culture.
> >
> > Back to identity politics?
> >
> > Stephan
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>


Re: [Pharo-users] Reminder: Smalltalk Webcamp, 22nd of October

2019-09-23 Thread Steve Quezadas
This is way too far for me. I am going to the one in portland in a week
though.

Also, it's nice to know where these pharo smalltalk conventions and camps
are. What is the best way to learn about these? Through this maillist or is
it posted somewhere?

On Mon, Sep 23, 2019 at 10:58 AM Johan Brichau  wrote:

> Hi,
>
> Are you doing Web development with Smalltalk? Then this meeting is for you.
> We organise an informal meetup on Smalltalk Web Technologies at the
> Yesplan offices.
>
> ===
> Smalltalk WebCamp
> ---
> Date: Tuesday October 22nd, 2019 (9h30 -> 18h00)
> Location: Yesplan offices in Gent, Belgium. (www.yesplan.be)
> ===
>
> This is an un-conference: everyone is invited to actively participate by
> presenting their project.
> Come and share your web development experience with Smalltalk.
> Wether you are doing Seaside, Teapot, PharoJS, Amber, SqueakJs, Zinc REST,
> … or anything else that involves Smalltalk and web technologies: come and
> share your experience!
>
> We provide ample time to discuss and collaborate on topics, meet people
> and have a beer in the evening.
>
> Attendance is free, but please register before October 15th if you are
> attending, so we can plan accordingly.
> Registration link:
> https://www.eventbrite.com/e/smalltalk-webcamp-tickets-69185265993
>
> At this time, there are 9 participants, excluding the Yesplan team.
>
> Questions? Please send me an email.
>
> Best regards
> Johan Brichau
> jo...@yesplan.be
>


Re: [Pharo-users] Code of Conduct

2019-09-23 Thread Steve Quezadas
I am a dark-skinned hispanic male from the United States and have not
experienced any discriminatary practices whatsoever. Nor have I witnessed
anything that I find that "is a problem" in the tech world. As far as
"colleges are set up to make it easier for white males to succeed" is
patently false. Most colleges, at least in the united states, are very
biased to left-wing political views.

So no.

On Mon, Sep 23, 2019 at 7:39 AM Stephan Eggermont  wrote:

> Steve Quezadas  wrote:
> > Your interpreting this information with a SJW lens.
>
> SJW is a political construct from the extreme right. As a straight white
> male from Western Europe I have seen enough discriminatory practices
> applied to less privileged friends to know there is a problem. And as I can
> afford to speak up, I do.
>
> > Look at the low proportion of blacks and women who
> > apply for CS majors in college. Are you going to say that colleges are
> > using discriminatory practices to keep blacks and women from taking CS
> > classes?
>
> Yes, the colleges are set up to make it easier for white males to succeed.
> There are enough models explaining why that happens
>
> > Maybe the bulk of the low recruitment statistics is simply due to
> > non-interest within that sub-culture.
>
> Back to identity politics?
>
> Stephan
>
>
>
>
>
>
>
>
>
>


Re: [Pharo-users] Code of Conduct

2019-09-22 Thread Steve Quezadas
> But the low rate at which marginalized people are recruited, and
> the high rate at which they leave the industry
<https://www.kaporcenter.org/tech-leavers/>, point to a larger
> cultural and systemic problem.

Your interpreting this information with a SJW lens. Otherwise known as
"confirmation bias".  Look at the low proportion of blacks and women who
apply for CS majors in college. Are you going to say that colleges are
using discriminatory practices to keep blacks and women from taking CS
classes? Maybe the bulk of the low recruitment statistics is simply due to
non-interest within that sub-culture.

I believe this CoC is a way to wedge left-wing politics in a non-political
maillist. I want it out.

On Sun, Sep 22, 2019 at 7:37 PM Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:

> I agreed that the last decision should be on the ones who made the bulk
> of the work. But I don't see relationship between a code of conduct and
> not being able to talk about code or contributions quality. Just looking
> at the FAQ of the original CoC that originated the whole think, I see a
> lot of answers about the stuff being said on this thread (minorities,
> left wing progressive agenda, diminish of code quality because of it,
> mixing tech with non-tech stuff), so I will refer to it, because as I
> said, I think that the PR should be the place for the bulk of the
> discussion:
>
> https://www.contributor-covenant.org/faq
>
> The FAQ name goes pretty well, considering the amount of repeated
> arguments they deal with. I think that many of the FAQ apply for other
> CoCs, despite of the possible different nature of CoC for the online
> community and the CoC for other face to face events. BTW, Thanks for the
> links, both provide a better context for the emergence of the CoC in the
> Erlang community.
>
> As said, I will try to see for specific contributions in the
> correspondent PR in the repo, and made some if I have a one. For the
> moment I'm trying to make my contributions on this thread, but is taking
> a lot.
>
> Cheers,
>
> Offray
>
> On 22/09/19 7:40 p. m., Richard O'Keefe wrote:
> > This is not a question of left vs right.  It's a question of
> > authoritarian vs libertarian.
> > And this is very relevant to the community.
> > It's also not a question of democracy vs central authority.
> > It's a question of vs παρρησία vs goodspeak.
> > And this is very relevant to the community also.
> >
> > Pharo is "owned" by the people who do the bulk of the work on it,
> > and they are kind enough to share it with us.  That there is such a
> > thing as a *Pharo* community is the result of their work.
> >
> > That there is such a thing as a Pharo *community* depends on the ability
> of
> > that community to communicate freely.  This cuts BOTH ways.  If people
> are
> > scared off by incivility, that's bad.  If people are driven away by
> incivility,
> > that's bad.  But when you stop seeing rudeness as rudeness, which may be
> > amended, and start seeing it as crimethink, you drive people away, and
> that
> > is bad too.
> >
> > Let's consider a recent thread.  I took the position that << and putOn:
> were
> > confusing, unreliable, and unnecessary.  The unreliability issue has been
> > addressed in Pharo 8; had I not been able to speak I would never have
> learned
> > that.  Some people apparently think that it improves readability, where
> I find
> > that << impairs my ability to understand.  The fact that BOTH sides were
> able
> > to speak freely means that we now know (a) that there is no consensus for
> > removing them from the system and (b) if you want other people to read
> your
> > code you might want to think twice before using them, and we are all
> better off.
> > But if criticising someone's opinion were construed as harassment, the
> thread
> > would have been shut down before I displayed my code with a
> generalisation
> > that is worth having if << is worth having at all.
> >
> > I probably should have mentioned the Erlang code of conduct
> > http://erlang.org/download/erlang_org_code_of_conduct.txt
> > It is pretty a-political, has graduated response, and potential for
> forgiveness.
> >
> > A code of conduct for *events* is another matter, which is why I bring
> > Erlang up.
> > http://erlang.org/pipermail/erlang-questions/2015-March/083849.html
> > is eye-opening.  (It's mainly about Ruby community issues.)
> >
> > On Mon, 23 Sep 2019 at 11:51, Offray Vladimir Luna Cárdenas
> >  wrote:
> >> My point was that this community, as a the big majority of

Re: [Pharo-users] Code of Conduct

2019-09-22 Thread Steve Quezadas
This isn't science, this is a community. We don't need a CoC, there haven't
been any problems on this list regarding nazis or whatever. This is just a
group of people trying to enforce their political ideologies on everyone
else. Let's just remove the CoC altogether and just replace it with one
line: "this maillist is about Pharo, anything else is offtopic".

If you want to debate on the merits of Islam vs Christianity/ right vs left
/ thugs vs racists , you are free to hold your opinion on some other sub,
but it's offtopic here.

On Sun, Sep 22, 2019 at 4:23 PM Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:

> There is no data to support such supposed majority. But even so, free,
> libre, open source communities are not democracies. Imagine the quality of
> code or argumentation based on perceived majorities? If science would be a
> democracy, the earth would be "still" flat.
> On 22/09/19 6:04 p. m., Steve Quezadas wrote:
>
> I would say that the majority don't seem to be in favor of it. This should
> be a democracy.
>
> On Sun, Sep 22, 2019 at 1:53 PM Offray Vladimir Luna Cárdenas <
> offray.l...@mutabit.com> wrote:
>
>>
>> On 22/09/19 3:38 p. m., Steve Quezadas wrote:
>> > > The discussion so far shows that CoC is not a distraction to many
>> >
>> > Actually, the discussion shows that the CoC is "a distraction to many".
>>
>> Actually it shows that some people consider it a distraction, others
>> don't. I think that every body here is able to form its own opinion on
>> that and invest time and effort accordingly.
>>
>> Cheers,
>>
>> Offray
>>
>>
>>
>>


Re: [Pharo-users] Code of Conduct

2019-09-22 Thread Steve Quezadas
I would say that the majority don't seem to be in favor of it. This should
be a democracy.

On Sun, Sep 22, 2019 at 1:53 PM Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:

>
> On 22/09/19 3:38 p. m., Steve Quezadas wrote:
> > > The discussion so far shows that CoC is not a distraction to many
> >
> > Actually, the discussion shows that the CoC is "a distraction to many".
>
> Actually it shows that some people consider it a distraction, others
> don't. I think that every body here is able to form its own opinion on
> that and invest time and effort accordingly.
>
> Cheers,
>
> Offray
>
>
>
>


Re: [Pharo-users] Code of Conduct

2019-09-22 Thread Steve Quezadas
> The discussion so far shows that CoC is not a distraction to many

Actually, the discussion shows that the CoC is "a distraction to many".

On Sun, Sep 22, 2019 at 10:12 AM Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:

> Hi,
>
> On 21/09/19 11:38 p. m., Jerry Kott wrote:
> > The point here is: as a community, Pharo (and other Smalltalk groups)
> > has a lot of work to do. Code of Conduct is an unnecessary and
> > wasteful distraction. In the meantime, I see no discussions here about
> > how are we going to address the world-wide crisis of Privacy Erosion,
> > or how to establish ethical coding best practices. How can we ensure
> > that information collected as a result of our work remains
> > confidential and secure where needed, and is used ethically for the
> > betterment of the planet and the human race?
> >
> > [...]
> >
> > Happy Autumnal Equinox, everyone!
>
>
> The discussion so far shows that CoC is not a distraction to many and
> the ones who think so, should be leading by not being distracted with
> long threads and emails, and also showing how to start and continue the
> discussions and projects on the topics they care about here and in the
> repositories. I, for example, have a concern about data and privacy and
> the way it influences our vision and shape of the world. Maybe we can
> share some interest and projects on that front.
>
> Here, we don't have proper seasons, but I wish everyone interesting and
> insightful times where ever you are.
>
> Cheers,
>
> Offray
>
>
>


Re: [Pharo-users] pharo for ios and android

2019-09-21 Thread Steve Quezadas
Ahhh, interesting! I didn't know caffeine even existed! Thank you for
sharing.

On Sat, Sep 21, 2019 at 3:24 PM Craig Latta 
wrote:

>
> Hi--
>
> > Craig Latta runs Smalltalk images on the javascript vm written by Bert
> > Freudenberg. Search for Caffeine
>
>  Yes, https://caffeine.js.org is my main development system these
> days, and it runs nicely on my iPhone (or any device, with any web
> browser). Caffeine is the https://squeak.js.org virtual machine (which
> can run Squeak, Pharo, and Cuis) with Web platform and frameworks support.
>
>
>  thanks,
>
> -C
>
> --
> Craig Latta
> Black Page Digital
> Amsterdam :: San Francisco
> cr...@blackpagedigital.com
> +31   6 2757 7177
> + 1 415  287 3547
>
>


Re: [Pharo-users] Code of Conduct

2019-09-21 Thread Steve Quezadas
My issue is that this covenant is selectively applied to some things, but
not others. The wording might change, but the cultural attitude will
prevail on how it gets "enforced". Again, the best thing to do is simply
keep it neutral and anything not related to pharo get thrown out as
"off-topic".

Harassment has never been a problem with this list. And any talk about the
danger of "nazis" or "thugs" is irrelevent and should be thrown out. I, for
one, don't want to see it on this list.

On Sat, Sep 21, 2019 at 9:36 AM James Foster  wrote:

> A nice thing about open source and the use of Git is that changes can be
> proposed and adopted quickly. Any proposal should be judged, not on whether
> it is perfect, but whether it makes an improvement. As a corollary, don’t
> assume that the current state is the ideal, but treat it as a platform for
> continuous improvements.
>
> In this case, the phrase you objected to was removed before you made your
> comment.
>
> James
>
> > On Sep 20, 2019, at 11:43 PM, Hilaire  wrote:
> >
> > Le 19/09/2019 à 21:20, Esteban Lorenzano a écrit :
> >>
> >> So we are going to take the simplest one we could find that still can
> >> serve our community, you can see it here:
> >>
> >> https://github.com/pharo-project/pharo/pull/4660
> >>
> > Hello,
> >
> > Given the heat up on the ml, I took a look on the PR. It looks honest
> > and simple for but...
> >
> > ...I am really surprised -- worried will be more accurate ! -- by the
> > second part of this sentence[1]. I think it is even dangerous! What is
> > happening outside of the Pharo community should not be ruled by the
> > 'WE'. The 'WE' is not the universal moral police or justice. If you
> > think a bit about the Richard Stallman event, he was forced to withdraw
> > of the Free Software Foundation because comments he made in a mailing
> > list not related to FSF. He wrote his email contents were misinterpreted
> > (and we know it happens often) and used against him. Whatever it is true
> > or not, I don't see why you should be socially banned (or socially
> > killed) from one place (or more like all place) because of what happen
> > in another place. This kind of important decision can only be taken by
> > the justice where all matter are taken in consideration. Imagine one of
> > you kicked out of Pharo community because you loose your mind in another
> > channel? It makes me feel a bit like the Aldous Huxley world.
> >
> > [1] /We will not tolerate harassment from anyone in the Pharo community,
> > even outside of Pharo’s public communication channels./
> >
> > Hilaire
> >
> > --
> > Dr. Geo
> > http://drgeo.eu
> >
> >
> >
> >
>
>
>


[Pharo-users] pharo for ios and android

2019-09-20 Thread Steve Quezadas
I am going to the portland meetup this october and I noticed that one of
the items listed is "Smalltalk on iOS and Android" which intrigues me. Is
some Guilfoyle-type here writing a VM for these platforms? I was joking
with a friend that we should write a vm for ios using the "smalltalk blue
book" and it would be fun to learn how vm's work by trying to write
sometihng for ios. Is someone already working on this?

- Steve


Re: [Pharo-users] Code of Conduct

2019-09-20 Thread Steve Quezadas
FYI, Richard Stallman got "cancelled" out of his life's work because some
silly side-comment trigged some "woke" individual out there. In the real
world, covenants are often used as an excuse to silence someone with an
implicit threat because he said something that someone didn't want to
hear,  whatever that may be.

This list was fine without it, we don't have any problems, just replace it
with "keep the subject matter on pharo, anything else is off-topic"

On Fri, Sep 20, 2019 at 3:11 PM Ramon Leon  wrote:

> On 2019-09-20 3:03 p.m., Steve Quezadas wrote:
> > I think the "covenant" should be a single line: "keep the subject matter
> on
> > pharo, anything else is off-topic".
> >
> > This list should be politically neutral.
>
> I agree. The leadership apparently does not, left wing social justice
> identity politics is now embedded into the community rules. Guess we'll see
> what happens when outsiders start trying to use it to cancel people as is
> happening just about everywhere these CoC's are introduced.
>
> --
> Ramón León
>
>
>


Re: [Pharo-users] Code of Conduct

2019-09-20 Thread Steve Quezadas
I think the "covenant" should be a single line: "keep the subject matter on
pharo, anything else is off-topic".

This list should be politically neutral. I personally hate politics because
neither side ever gets the other side to "see the light". It's a religous
argument basically. The problem is is that people tend to believe whatever
everyone else believes in their particular culture/time and you get this
militant ideology based out of it. And that's fine and dandy, but it has no
place here. The reason I come here is of the helpful community full of
bright programmers who are using the right paradigms of thought.

- Steve

On Fri, Sep 20, 2019 at 2:59 PM Ramon Leon  wrote:

> On 2019-09-20 12:33 p.m., Ben Coman wrote:
>
> A fair response Ben.
>
> > A good compromise is sometimes said to be when opposing parties are>
> **equally** dissatisfied.
>
> The new version is much better, I believe I said that.  James and Norbert
> made some final and excellent changes that mostly fixed what was wrong and
> removed the overreach and the lack of due process.
>
> > That feels to me like an extreme interpretation.
>
> It's not, identity politics are left wing politics and putting them in the
> CoC is absolutely imposing them on the community. I guess we'll see how it
> goes.
>
> --
> Ramón León
>
>
>


Re: [Pharo-users] Code of Conduct

2019-09-20 Thread Steve Quezadas
> That wording is an insult to all people that support a leftist vision of
the world.

Or maybe you're too easily offended and the problem lies with you.


On Fri, Sep 20, 2019 at 3:56 AM Sven Van Caekenberghe  wrote:

> I carefully worded my reply:
>
> saying "I have no interest in supporting a left-wing snowflake “Code of
> Conduct”.
>
> - is off topic
> - is political
> - implies a value judgement
>
> I tried to not reason against it, I am just saying that it has no place
> here.
>
> > On 20 Sep 2019, at 12:30, PBKResearch  wrote:
> >
> > Sven
> > I think all your complaints against John Pfersich are misconceived:
> > 1. He is talking about the content of the code, which is exactly the
> topic of the thread.
> > 2. He is claiming that the code as drafted has a political slant. This
> may be true, false or a matter of opinion, but to discuss whether it is so
> is not in any way introducing politics.
> > 3. I see nothing in his words which makes a value judgement about
> anybody.
> > I see a censoriousness in your comments which is worrying. Just recently
> you said, 'Guns have no place in a civilised society', which was certainly
> a value judgement, specifically about John Pfersich. Please stop.
> >
> > Peter Kenny
> >
> > -Original Message-
> > From: Pharo-users  On Behalf Of
> Sven Van Caekenberghe
> > Sent: 20 September 2019 10:11
> > To: Any question about pharo is welcome 
> > Subject: Re: [Pharo-users] Code of Conduct
> >
> >
> >
> >> On 20 Sep 2019, at 06:17, john pfersich  wrote:
> >>
> >> I have no interest in supporting a left-wing snowflake “Code of
> Conduct”.
> >
> > You are violating the implicit rules of engagement in this mailing list:
> you are going off topic, you are using this platform to talk about politics
> and you are giving value judgements about others. Please stop.
> >
> >
>
>
>


Re: [Pharo-users] Code of Conduct

2019-09-19 Thread Steve Quezadas
Yeah, I agree, what I say or do outside the Pharo channels is completely my
business. this 'code' has no place here. Hell, Richard Stallman got
deprived out of his LIFE'S WORK over a technical definition of what
constitutes statutory rape, which is silly.

Please remove this nonsense out of the pharo community, it has no place
here.

On Thu, Sep 19, 2019 at 9:45 PM James Foster  wrote:

> First, my guess is that it was part of the thing they copied and that
> aspect might not have gotten as much thought as you’ve given it.
>
> Second, this is an international organization and maybe the intent (by the
> original author(s)) was to extend the reach of the NZ/UK/EU-style laws to
> apply to those in jurisdictions with less strict speech codes or where the
> legal remedy is impractical. That is, maybe the author(s) don’t feel it is
> sufficient to tell someone who is harassed, “We can’t do anything about it.
> Hire a NZ lawyer.”
>
> These are speculations on my part and, as a US citizen, I’m partial to our
> free speech protections. I’d prefer to have private organizations practice
> ostracization rather than have the government put rude people in jail. I
> say this, not to start a political discussion, but to point out that some
> harassment that would be illegal in NZ might not have a legal remedy if the
> actor was a US citizen.
>
> In any case, I found that when I submitted a PR then something happened
> pretty quickly. So, I’d suggest that you channel your analysis and concerns
> into a proposed improvement.
>
> James
>
> On Sep 19, 2019, at 8:44 PM, Richard O'Keefe  wrote:
>
> On the whole, the new code is pretty good.
>
> There was one thing that troubled me, though:
> "even outside of Pharo's public communication channels."
> What business is it of the Pharo Board what anyone says in any
> other community?  I've heard too many cases where A says something
> to B and C complains about it as harassment when B didn't mind.
> I have personally known people *affectionately* address each other
> in terms that most would consider a deadly insult.
>
> My behaviour in all digital media is subject to the
> Harmful Digital Communications Act 2015.  See
> http://www.legislation.govt.nz/act/public/2015/0063/latest/whole.html
> which extends the Harassment Act 1997.  See
> http://www.legislation.govt.nz/act/public/1997/0092/latest/whole.html
> for a definition of harassment.
> If I harass anyone according to these Acts, they have a legal remedy.
> I understand the the UK and the EU have similar laws.
>
> So I don't understand why the Pharo Board want to extend their reach.
>
>
> On Fri, 20 Sep 2019 at 07:21, Esteban Lorenzano 
> wrote:
>
>> Hello,
>>
>> I’m talking on behalf of the Pharo Board here.
>> As start, we accepted Serge’s proposition without actually discussing it
>> much because we didn’t think it was going to be really a problem. Our
>> community has been self-regulating since the beginning and we were doing it
>> fine until now. Once or twice we (the board) needed to act, but never had a
>> real situation as the ones the CoC tries to cover.
>> So, we can say we opened the umbrella without rain, just in case.
>>
>> Now, after observe the situation, we have decided to retract the code.
>> But sadly, we cannot just remove it and let things continue as before
>> because as it’s know “it you open a can or worms, you will need a bigger
>> can to put them back in”. Which means now we need a code of conduct.
>>
>> So we are going to take the simplest one we could find that still can
>> serve our community, you can see it here:
>>
>> https://github.com/pharo-project/pharo/pull/4660
>>
>> This PR will be accepted, but as anything in our community, you can still
>> discuss it and propose modifications.
>> Just remember be respectful of people disagreeing with your ideas :)
>>
>> Cheers,
>> Esteban
>>
>> PS: As personal note: I blocked a github user that insulted a member of
>> our community, a user who did not had history with us (or any other visible
>> project), who did not had a name or ways to contact him so I assumed it was
>> just another troll. Now, he identifies himself here... I will unblock him,
>> but that does not means the kind of disrespectful messages he sent can be
>> sent :)
>>
>>
>> On 19 Sep 2019, at 19:47, Ben Coman  wrote:
>>
>> makes me wonder whether he's such a machiavellian sociopath, or a useful
>> idiot.
>>
>> On Thu, 19 Sep 2019 at 23:07, Eugen Leitl via Pharo-users <
>> pharo-users@lists.pharo.org> wrote:
>>
>>> Let's see, I've posted one email to this list describing the dangers
>>> of abusing CoCs
>>
>>
>> I guess you refer to this one...
>> > On Tue, 17 Sep 2019 at 19:39, Eugen Leitl via Pharo-users <
>> pharo-users@lists.pharo.org> wrote:
>> > I agree. Technical people are too easy to exploit by malignant
>> manipulators of people.
>> > All too often they don't even realize it after the fact.
>>
>> Thats fairly benign and doubt it had anything to do with being blocked on
>> github.

Re: [Pharo-users] R: Code of Conduct

2019-09-18 Thread Steve Quezadas
Yeah, I agree. Why is this even here? The thing I like about this maillist
is that its very community oriented and everyone here helps each other.
It's devoid of all the political-soapbox nonsense that I would find on,
say, facebook. Which is why I don't deal with that platform anymore.

And most of this is common sense anyway. Yeah, don't harass people and make
fun of them or whatever, Like most people on this list doesn't already know
that. Im very vocal about certain political and social opinions, am not
ashamed about my opinions, am open about it, is currently "unpopular" but
don't discuss them here because it's offtopic and I don't want to piss off
people in any event. I don't want it turning into another facebook
basically.

I think we should all close this conversation, it's offtopic and not
relevant to any problems this list has in any meaningful  way.

- Steve

On Wed, Sep 18, 2019 at 1:07 PM Kasper Østerbye 
wrote:

> When I read the Code of conduct which is part of Pharo, my reaction was
> "OK, I don't expect to run into trouble over that one, so no worries".
>
> After having read the discussion here I would rather it was not there.
>
> -- Kasper
>


[Pharo-users] Putting checkboxes in ListPresenter

2019-08-24 Thread Steve Quezadas
Guys,

I am learning this new "spec" thing. I created a simple Spec "list" object
with the following code:
arbitraryList := ListPresenter new.
arbitraryList
   items: #('one' 'two' 'three' 'four. . .');
   title: 'Arbitrary list'.
arbitraryList openWithSpec.

Which creates a simple list like follows:
https://steverstuff.s3.amazonaws.com/arbitrary_list.png

Is there any way to make a SpecPresenter object with an arbitrary list of
checkboxes? Kind of like a check-off list?

What is the best way of doing this? Should I put checkbox objects in the
"items:" selector? Or is there another way to do it?

Please forgive the naive question.


Re: [Pharo-users] Finding replacements for deprecated functions

2019-08-23 Thread Steve Quezadas
Ok, so with, for example, "SpecColumnLayout", how would I find the new
method selector to use?

On Mon, Aug 19, 2019 at 11:34 AM Cyril Ferlicot 
wrote:

>
>
> On Mon 19 Aug 2019 at 20:30, Steve Quezadas  wrote:
>
>> I am experimenting with smalltalk. Sometimes a function gets
>> deprecated and is crossed out. Is there a "smalltalk way" of finding
>> the equivalent replacement function?
>>
> Hello,
>
> Most of the time the deprecation explains what is the new way directly.
> If it’s a change in the API with an equivalent method, it will be the one
> called in the deprecated method that should now be called.
>
> For more complex cases, if you don’t know the equivalent I guess the
> easiest way is to ask the community on this ML.
> --
> Cyril Ferlicot
> https://ferlicot.fr
>


Re: [Pharo-users] Spec Book

2019-08-21 Thread Steve Quezadas
ComposableModel is now ComposablePresenter. You have to change all the spec
"Model" to "Presenter". As for documentation, I don't think there is any
except for that book. The github page is pretty much empty.  Is there any
documentation other than that book?

On Wed, Aug 21, 2019 at 7:37 AM Vitor Medina Cruz 
wrote:

> Hello,
>
> The book of Spec is outdated? I download a Pharo7 image, copy the first
> example and learn that the ComposableModel is deprecated...
>
> Should I wait to learn Spec? Or it shouldn't be to hard to apply what I
> learn with the book on the new classes later?
>
> Regards,
> Vitor
>


[Pharo-users] Finding replacements for deprecated functions

2019-08-19 Thread Steve Quezadas
I am experimenting with smalltalk. Sometimes a function gets
deprecated and is crossed out. Is there a "smalltalk way" of finding
the equivalent replacement function?


[Pharo-users] finds replacements for deprecated objects

2019-08-14 Thread Steve Quezadas
Forgive the naive question here. But if an object gets deprecated, how do
you find the closest replacement object in Pharo? Is there a way to do it
within the VM or do you just have to check the documentation?

- Steve


[Pharo-users] alt-tab in pharo?

2019-08-14 Thread Steve Quezadas
Is there an equivalent of alt-tab in pharo? I am looking in the keyboards
shortcuts and I can't find anything.


Re: [Pharo-users] [ANN] Pharo Pomodoro now on GitHub

2019-08-13 Thread Steve Quezadas
Wonderful, thank you. I am starting to write my own tools in pharo because
it's s much easier. I'm glad to be rid of html

On Tue, Aug 13, 2019 at 1:26 PM Cyril Ferlicot D. 
wrote:

> Le 13/08/2019 à 22:23, Steve Quezadas a écrit :
> > How did you put that in the menubar?
> >
> >
>
> Hi,
>
> We have a documentation about this in pharo-wiki:
>
> https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/MenuBar.md#add-your-own-entries
>
> --
> Cyril Ferlicot
> https://ferlicot.fr
>
>


Re: [Pharo-users] [ANN] Pharo Pomodoro now on GitHub

2019-08-13 Thread Steve Quezadas
How did you put that in the menubar?

On Tue, Aug 13, 2019 at 4:26 AM Torsten Bergmann  wrote:

> Guillermo wrote
> > Is it pure morphic or you’ve updated it to spec?
>
> still Morphic based - have not done much in Spec yet. There is a Pharo8.0
> branch
> you can send PR to ;)
>
> Bye
> T.
>
>


[Pharo-users] resetting iceberg

2019-08-12 Thread Steve Quezadas
I was playing around with the settings of iceberg and I must have messed up
a setting or something because now when I open iceberg, I get a "object not
found - no match for id".

Is there a way to "reset the settings" of iceberg so I can at least open it
back up?

- Steve


Re: [Pharo-users] "whenSelectedItemChanged:" in Spec

2019-07-17 Thread Steve Quezadas
Oh, I see. Ok, I am somewhat new to pharo smalltalk so I'm getting used to
the paradigm. Thank you. The best way to learn is to "do". I can learn a
lot by trying to figure out ways around unexpected behavior.

On Tue, Jul 16, 2019 at 5:39 PM Ben Coman  wrote:

> I'm not familiar with Spec but I'll have a go...
>
> On Wed, 17 Jul 2019 at 07:03, Steve Quezadas  wrote:
>
> > On Tue, Jul 16, 2019 at 7:43 AM Ben Coman  wrote:
> >>
> >> On Tue, 16 Jul 2019 at 12:49, Steve Quezadas 
> wrote:
> >> >
> >> > I am running through the "Spec UI Framework" tutorial, and in it has
> a widget class inherited from "ComposablePresenter" (ComposablePresenter
> subclass: #WidgetClassList). But for some reason the
> "whenSelectedItemChanged:" method call does not execute when I select any
> item on the GUI list. Is there anything I'm missing?
> >> >
> >> > I posted this earlier on the list, and someone suggested I try
> "whenActivatedDo:" or "whenSelectionChangedDo:", but it doesn't do anything
> as well. The code looks like this:
> >> >
> >> > whenSelectedItemChanged: aBlock
> >> > Transcript show: 'should get here; cr.
> >> >
> >> > I am using Pharo 7.
> >>
> >> Can you FileOut the entire sample class and attached it?
> >>
> >> cheers -ben
> >>
> >
> > Ok, I filed out and it exported the file 'WidgetClassList.st' . This is
> the contents of the file:
> >
> > 'From Pharo7.0.3 of 12 April 2019 [Build information:
> Pharo-7.0.3+build.158.sha.0903ade8a6c96633f07e0a7f1baa9a5d48cfdf55 (64
> Bit)] on 16 July 2019 at 3:58:28.785036 pm'!
> > ComposablePresenter subclass: #WidgetClassList
> > instanceVariableNames: 'list'
> > classVariableNames: ''
> > poolDictionaries: ''
> > category: 'QuotesProg'!
> >
> > !WidgetClassList methodsFor: 'initialization' stamp: 'SteveQuezadas
> 7/10/2019 14:07'!
> > initializeWidgets
> > list := self newList.
> > list items: (AbstractWidgetPresenter allSubclasses
> > sorted: [:a :b | a name < b name ]).
> > self focusOrder add: list.! !
> >
> >
> > !WidgetClassList methodsFor: 'events-shortcuts' stamp: 'SteveQuezadas
> 7/15/2019 21:40'!
> > whenSelectedItemChanged: aBlock
> > Transcript show: 'got here'; cr.
> > ! !
>
> Looking at ListPresenter>>whenSelectedItemChanged: aBlock
> it is registering aBlock on selectionHolder using #whenChangedDo:
> Reviewing selectionHolder "Code search...>References to it" I see that
> selectionHolder is initialized as an instance of SelectionHolderClass.
>
> So it seems you are expecting whenSelectedItemChanged: to be called
> every time the-selection-is-changed
> when actually it is only called once (by your application) to register
> the block-to-be-called when the-selection-is-changed.
> You don't seem to have done any such registration.
>
> cheers -ben
>
>


Re: [Pharo-users] "whenSelectedItemChanged:" in Spec

2019-07-16 Thread Steve Quezadas
Ok, I filed out and it exported the file 'WidgetClassList.st' . This is the
contents of the file:

'From Pharo7.0.3 of 12 April 2019 [Build information:
Pharo-7.0.3+build.158.sha.0903ade8a6c96633f07e0a7f1baa9a5d48cfdf55 (64
Bit)] on 16 July 2019 at 3:58:28.785036 pm'!
ComposablePresenter subclass: #WidgetClassList
instanceVariableNames: 'list'
classVariableNames: ''
poolDictionaries: ''
category: 'QuotesProg'!

!WidgetClassList methodsFor: 'initialization' stamp: 'SteveQuezadas
7/10/2019 14:07'!
initializeWidgets
list := self newList.
list items: (AbstractWidgetPresenter allSubclasses
sorted: [:a :b | a name < b name ]).
self focusOrder add: list.! !


!WidgetClassList methodsFor: 'events-shortcuts' stamp: 'SteveQuezadas
7/15/2019 21:40'!
whenSelectedItemChanged: aBlock
Transcript show: 'got here'; cr.
! !


!WidgetClassList methodsFor: 'api' stamp: 'SteveQuezadas 6/26/2019 18:22'!
title
^ 'Widgets'! !

!WidgetClassList methodsFor: 'api' stamp: 'SteveQuezadas 7/15/2019 19:09'!
list

^ list.! !

"-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- "!

WidgetClassList class
instanceVariableNames: ''!

!WidgetClassList class methodsFor: 'specs' stamp: 'SteveQuezadas 7/10/2019
14:14'!
defaultSpec
^ SpecLayout composed
add: #list;
yourself! !

On Tue, Jul 16, 2019 at 7:43 AM Ben Coman  wrote:

> On Tue, 16 Jul 2019 at 12:49, Steve Quezadas  wrote:
> >
> > I am running through the "Spec UI Framework" tutorial, and in it has a
> widget class inherited from "ComposablePresenter" (ComposablePresenter
> subclass: #WidgetClassList). But for some reason the
> "whenSelectedItemChanged:" method call does not execute when I select any
> item on the GUI list. Is there anything I'm missing?
> >
> > I posted this earlier on the list, and someone suggested I try
> "whenActivatedDo:" or "whenSelectionChangedDo:", but it doesn't do anything
> as well. The code looks like this:
> >
> > whenSelectedItemChanged: aBlock
> > Transcript show: 'should get here; cr.
> >
> > I am using Pharo 7.
>
> Can you FileOut the entire sample class and attached it?
>
> cheers -ben
>
>


[Pharo-users] "whenSelectedItemChanged:" in Spec

2019-07-15 Thread Steve Quezadas
I am running through the "Spec UI Framework" tutorial, and in it has a
widget class inherited from "ComposablePresenter" (ComposablePresenter
subclass: #WidgetClassList). But for some reason the
"whenSelectedItemChanged:" method call does not execute when I select any
item on the GUI list. Is there anything I'm missing?

I posted this earlier on the list, and someone suggested I try
 "whenActivatedDo:" or "whenSelectionChangedDo:", but it doesn't do
anything as well. The code looks like this:

whenSelectedItemChanged: aBlock
Transcript show: 'should get here; cr.

I am using Pharo 7.

- Steve


Re: [Pharo-users] Block/Brick

2019-06-03 Thread Steve Quezadas
Glenn,

Thank you for your response. Ok, so you can browse examples by inspecting
the class? Which classes do you mean because I can't seem to find any ones
with examples. For example, here:
https://steverstuff.s3.amazonaws.com/pharo2.png

I can't find the examples tag! Maybe I am looking in the wrong package. I
am looking under the classes of package "Brick". Do you know what objects,
specifically, that has an Examples tab?

On Tue, May 7, 2019 at 3:53 AM Glenn Cavarlé 
wrote:

> H Steve,
>
> I just saw that you sent me a personal email about that.
> Thanks for your interest in Brick, I have been slightly away from the
> project for some time so maybe  Aliaksei or Doru could provide a better
> answer.
>
> For my part, since Brick is using GtExample, I'm just browsing examples by
> inspecting the class.
> When the inspector is open, you can browse and show examples in the tab
> named "Examples".
>
>
> test email wrote
> > PS Is Brick/Block the thing to learn these days? Is this where
> development
> > is heading?
>
> Good question.
> There are 2 actively developed projects : Spec2 and Bloc/Brick.
> Some fresh info here:
>
> http://forum.world.st/Explaining-Spec2-and-why-Bloc-is-on-the-roadmap-td5098841.html
>
>
> Spec (https://github.com/pharo-spec/Spec) is a UI Builder which aim to be
> backend-independent.
> All "native" tools shipped in the Pharo image are developped using it (or
> should be).
> A new version is actively developed and already show great results. Spec2
> should probably support Bloc/Brick as backend in the near future.
>
> Brick is a redesigned widget layer on top of Bloc, a new UI infrastructure
> which aim to replace Morphic, one day.
> The original github repo is https://github.com/pharo-graphics/Brick but I
> saw that the Feenk team (which actively develop it) forked the repo in
> Febrary (https://github.com/feenkcom/Brick).
> So i don't know what is exactly the current state of each version.
>
> I hope I have answered your questions ;)
> Cheers,
>
>
>
> -
> Glenn Cavarlé
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>


[Pharo-users] Does anyone know Spec?

2019-05-22 Thread Steve Quezadas
I created a simple listbox. It looks like this:
https://s3.amazonaws.com/steverstuff/items.png

If I hit a specific selection, say "Item B", how can I make smalltalk run
an arbitrary piece of code? (ie: "Transcript show: 'got here'").

Method "whenSelectedItemChanged" should, in theory, do this. It is
mentioned in the [[
https://benjamin.vanryseghem.com/projects/spec/docs/example/#protocolList][spec]]
tutorial, but for some reason it's not executing.

Did a new verion of spec change things since the documentation was written?
There doesn't seem to be a spec community where I can ask the question.


[Pharo-users] Block/Brick

2019-05-04 Thread Steve Quezadas
I am trying to experiment with Bloc and Brick. I downloaded the packages,
and want to "play around with it" by experimenting with the examples in it.
But how do I open the examples? The github page for both Block and Brick
doesn't really list much documentation.

Taking from an arbitrary Brick example, these things don't work:
foo := BrExamplesShowroom new. foo openInWorld.
- or -
BrExamplesShowroom openPlayer

Sorry for the naive quesiton.

- Steve

PS Is Brick/Block the thing to learn these days? Is this where development
is heading?


Re: [Pharo-users] How do you rotate a morph by degrees

2019-04-26 Thread Steve Quezadas
Yes, that "addFlexOf" thing seems to be the message I needed to add to get
the morph to rotate. Forgive the naive question.

On Thu, Apr 25, 2019 at 9:19 AM K K Subbu  wrote:

> On 25/04/19 7:29 PM, Steve Quezadas wrote:
> > I am trying to rotate an instance of a [Transformation morph]. I am
> > sending an "angle:" message, which should work since "angle:" is listed
> > as a method in it's parent class, yet when I sent a message, it claims
> > "it does not understand #angle". Shouldn't messagepassing forward the
> > message to it's parent class?
>
> Did you mean "TransformationMorph"?
>
> I just tried the one-liner below in Pharo 7 (64b Linux) and it worked
>
> (TransformationMorph new asFlexOf: ('Hello' asMorph)) angle: (Float pi /
> 4); openInHand.
>
> Regards .. Subbu
>
>


[Pharo-users] How do you rotate a morph by degrees

2019-04-25 Thread Steve Quezadas
I am trying to rotate an instance of a [Transformation morph]. I am sending
an "angle:" message, which should work since "angle:" is listed as a method
in it's parent class, yet when I sent a message, it claims "it does not
understand #angle". Shouldn't messagepassing forward the message to it's
parent class?

- Steve


Re: [Pharo-users] glamorous toolkit forum/maillist

2019-04-19 Thread Steve Quezadas
Forgive my ignorance, but what is Discord?

On Thu, Apr 18, 2019 at 1:29 AM Serge Stinckwich 
wrote:

> I think #gtoolkit channel on Discord is the best way to discuss with
> people.
>
> On Tue, Apr 16, 2019 at 6:37 PM Steve Quezadas  wrote:
>
>> Is there a forum or maillist for glamorous toolkit? I can't find anything
>> on the official website or google searches.
>>
>
>
> --
> Serge Stinckwic
> ​h​
>
> Int. Research Unit
>  on Modelling/Simulation of Complex Systems (UMMISCO)
> ​Sorbonne University
>  (SU)
> French National Research Institute for Sustainable Development (IRD)​
> U
> ​niversity of Yaoundé I​, Cameroun
> "Programs must be written for people to read, and only incidentally for
> machines to execute."
> https://twitter.com/SergeStinckwich
> ​
>


[Pharo-users] "Instance of SampleForm did not understand #myInstanceVariable"

2019-04-14 Thread Steve Quezadas
I am going through the "Spec UI framework" manual and creating a simple UI
interface for a program I am writing. When I do a:
foo := SampleForm new openWithSpec.

I am getting the following error:
"Instance of SampleForm did not understand #okButton"

okButton is an "instance variable" of the [SampleForm] class and for some
reason the class method is not seeing it. The exact line that brings up
this error is here:

SampleForm class >> defaultSpec
   ^ SpecLayout composed
 newRow: [ :row |
   row add: #okButton ]  <- error happens here
 origin: 0 @ 0 corner: 1 @ 0.7;
 yourself

Am I missing something incredibly simple? Should I refer to a instance
variable with a hash tag in front of it?


Re: [Pharo-users] eval from the linux commandline

2019-03-25 Thread Steve Quezadas
is it part of the base image? It's not listed in spotter. I also checked
the packages for something beginning with Clap and it's not there either.

I am also running linux, so "eval" is not an option in my commandline.

On Sun, Mar 24, 2019 at 12:06 PM Alistair Grant 
wrote:

> On Sun, 24 Mar 2019 at 00:54, test email  wrote:
> >
> > i need to eval an object from my linux commandline. I understand that
> clap-st is able to do this, but I can't seem to import it into pharo7, I
> suppose because of compatability reasons.
>
> Clap is now part of the base image, so you should be able to just
> download the latest image and use it "out of the box".
>
> Cheers,
> Alistair
>
>


Re: [Pharo-users] splitting a string using regex

2019-01-14 Thread Steve Quezadas

I am answering my own question because I found the solution for it.

This is the code that didn't work:
> myString := 'one\n\ntwo\n\n'.
> re := '\n\n' asRegex.
> myString splitOn: re.

The reason it didn't work was because you apparently have to escape the 
newlines pattern in the regex line. So the correct (working) example is 
here:

> myString := 'one\n\ntwo\n\n'.
> re := '\\n\\n' asRegex.
> myString splitOn: re.

I am putting this on here just in case someone else runs into the same 
problem.


- Steve



On 01/14/2019 09:06 AM, Steve Quezadas wrote:

I am trying to split a string in pharo using a regular expression.

A simple example that works:
myString := 'one\n\ntwo\n\n'.
myString splitOn: '\n\n'.

A simple example that does not work:
myString := 'one\n\ntwo\n\n'.
re := '\n\n' asRegex.
myString splitOn: re.

The result of the above is I get the regular old string back 
('one\n\ntwo\n\n'). I went through the source code and it should be able 
to handle a regex object:

 > "splitter - can be a subsequence, a Block or a Regex (String receiver
 > only). Any other object used as a splitter is treated as an Array
 > containing that object."

I am baffled as to why it's not working. is there something simple I am 
missing?


- Steve





[Pharo-users] splitting a string using regex

2019-01-14 Thread Steve Quezadas

I am trying to split a string in pharo using a regular expression.

A simple example that works:
myString := 'one\n\ntwo\n\n'.
myString splitOn: '\n\n'.

A simple example that does not work:
myString := 'one\n\ntwo\n\n'.
re := '\n\n' asRegex.
myString splitOn: re.

The result of the above is I get the regular old string back 
('one\n\ntwo\n\n'). I went through the source code and it should be able 
to handle a regex object:

> "splitter - can be a subsequence, a Block or a Regex (String receiver
> only). Any other object used as a splitter is treated as an Array
> containing that object."

I am baffled as to why it's not working. is there something simple I am 
missing?


- Steve



[Pharo-users] rotating a morph through messaging

2018-12-30 Thread Steve Quezadas
I am experimenting with pharo right now, particularly with Morphs. The 
weird thing is that some morphs can have a rotation halo and others do not.


This has a "rotate halo":
bar := EllipseMorph new.
bar openInWorld.

This does not:
foo := Morph new.
foo openInWorld

Am I missing something? Also, how do I send message "rotate" to a morph? 
I can't seem to find a "rotate" method anywhere in the browser.


- Steve



[Pharo-users] Sending a message to pharo from commandline

2018-12-25 Thread Steve Quezadas

What happened to the pharo commandline "eval" function?

Does anyone know what happened to the pharo "eval" function on the 
comnandline? It seems to have disappeared in the newer versions. The 
Coral thing also seems to be abandoned as the readme is no longer there:

http://smalltalkhub.com/#!/~PharoExtras/Coral

Is there any way to send messages to pharo from commandline? Sometimes I 
write an object in pharo and it can be useful to use if I am runing a 
linux shell. Sometimes I have a bash script or something that needs an 
answer from pharo.


- Steve