Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread H. Hirzel
And add the overview to Grafoscopio

Aug 20, 2017
[Pharo-users] [Ann] [Grafoscopio] New release with major improvements

On 8/21/17, H. Hirzel  wrote:
> On 8/20/17, Dimitris Chloupis  wrote:
> ..
>>
>> you make any submission you want here in this thread and I will port it
>> to
>> wiki with copy paste and a bit of structuring :)
>>
> Dimitris,
>
> Could you please do add a link in
> https://github.com/SquareBracketAssociates/PharoWiki
>
> to Torsten's wiki
>
>  http://wiki.astares.com/pharo
>
> It has over 500 pages with good content I was not aware of
>
>
> Thanks,
> Hannes
>



Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread H. Hirzel
On 8/20/17, Dimitris Chloupis  wrote:
..
>
> you make any submission you want here in this thread and I will port it to
> wiki with copy paste and a bit of structuring :)
>
Dimitris,

Could you please do add a link in
https://github.com/SquareBracketAssociates/PharoWiki

to Torsten's wiki

 http://wiki.astares.com/pharo

It has over 500 pages with good content I was not aware of


Thanks,
Hannes



Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-20 Thread Holger Freyther

> On 18. Aug 2017, at 16:46, Denis Kudriashov  wrote:
> 
> @Esteban: Would you accept a change to the FFI-Pharo5Compat to not use the 
> currentScope variable/reduce error checking? Or would you accept it in a 
> FFI-Pharo6Compat package?
> I think it would help to be able to load the Nacl code in Pharo6 and then fix 
> it?
> 
> But you can just switch default compiler. Is not works for you? 

yes. But I think it gets more difficult in Pharo7? So being able to load old 
code to rewrite it would be nice. :)

holger


Re: [Pharo-users] Pharo on the SqueakJS virtual machine

2017-08-20 Thread Craig Latta

Hi Torsten--

> > The next big step is getting a WebAssembly version of Cog running.
>
> Anyone known already to work on such a beast?

 Yes, I'm working on it.

> Another path could be to run on a Linux booting in the browser:
>
> https://bellard.org/jslinux

 Blech! :)


-C

--
Craig Latta
Black Page Digital
Amsterdam :: San Francisco
cr...@blackpagedigital.com
voice through 2017-09-12:
+ 1 510 833 5799 (SMS ok)
+31  20 893 2796 (no SMS)




Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-20 Thread Luke Gorrie
I wish that somebody would take my original question at face value.

It is frustrating to be told that I don't really understand the problem. I
actually believe that the solution I am looking for is what I need in this
project at this time. I don't want to write an essay-length justification
for this position though.


Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Dimitris Chloupis
Oh thanks for reminding me, there is no make a github account for those not
familair with github / git

you make any submission you want here in this thread and I will port it to
wiki with copy paste and a bit of structuring :)

As I said this wiki is very unofficial so anything will be accepted as long
as of course its related to Pharo

On Sun, Aug 20, 2017 at 4:57 PM Dimitris Chloupis 
wrote:

> yeap its github only, though none stops your from forking it and sending
> me pull request from whatever source you want
>
> On Sun, Aug 20, 2017 at 4:47 PM Herby Vojčík  wrote:
>
>> Stephane Ducasse wrote:
>> > I added some links to books and blogs.
>> >
>> >
>> > On Sat, Aug 19, 2017 at 11:20 PM, Dimitris Chloupis
>> >   wrote:
>> >> I also turned it to be published as a webpage, its can be viewed from
>> this
>> >> link
>> >>
>> >> https://squarebracketassociates.github.io/PharoWiki/
>>
>> Seems like another github-account-only solution, is it?
>>
>> >> On Sat, Aug 19, 2017 at 11:54 PM Dimitris Chloupis<
>> kilon.al...@gmail.com>
>> >> wrote:
>> >>> Many seemed to like the idea of a Pharo wiki , I like it too. I
>> created
>> >>> one, can be found here and super easy to contribute to.
>> >>>
>> >>> https://github.com/SquareBracketAssociates/PharoWiki
>> >>>
>> >>> Will keep this thread for alerting for important updates to wiki.
>> Have fun
>> >>> :)
>> >
>>
>>
>>


Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Dimitris Chloupis
yeap its github only, though none stops your from forking it and sending me
pull request from whatever source you want

On Sun, Aug 20, 2017 at 4:47 PM Herby Vojčík  wrote:

> Stephane Ducasse wrote:
> > I added some links to books and blogs.
> >
> >
> > On Sat, Aug 19, 2017 at 11:20 PM, Dimitris Chloupis
> >   wrote:
> >> I also turned it to be published as a webpage, its can be viewed from
> this
> >> link
> >>
> >> https://squarebracketassociates.github.io/PharoWiki/
>
> Seems like another github-account-only solution, is it?
>
> >> On Sat, Aug 19, 2017 at 11:54 PM Dimitris Chloupis<
> kilon.al...@gmail.com>
> >> wrote:
> >>> Many seemed to like the idea of a Pharo wiki , I like it too. I created
> >>> one, can be found here and super easy to contribute to.
> >>>
> >>> https://github.com/SquareBracketAssociates/PharoWiki
> >>>
> >>> Will keep this thread for alerting for important updates to wiki. Have
> fun
> >>> :)
> >
>
>
>


Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Herby Vojčík

Stephane Ducasse wrote:

I added some links to books and blogs.


On Sat, Aug 19, 2017 at 11:20 PM, Dimitris Chloupis
  wrote:

I also turned it to be published as a webpage, its can be viewed from this
link

https://squarebracketassociates.github.io/PharoWiki/


Seems like another github-account-only solution, is it?


On Sat, Aug 19, 2017 at 11:54 PM Dimitris Chloupis
wrote:

Many seemed to like the idea of a Pharo wiki , I like it too. I created
one, can be found here and super easy to contribute to.

https://github.com/SquareBracketAssociates/PharoWiki

Will keep this thread for alerting for important updates to wiki. Have fun
:)







Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Dimitris Chloupis
Thanks mate :)

I really appreciate it

On Sun, 20 Aug 2017 at 12:25, Stephane Ducasse 
wrote:

> I added some links to books and blogs.
>
>
> On Sat, Aug 19, 2017 at 11:20 PM, Dimitris Chloupis
>  wrote:
> > I also turned it to be published as a webpage, its can be viewed from
> this
> > link
> >
> > https://squarebracketassociates.github.io/PharoWiki/
> >
> > On Sat, Aug 19, 2017 at 11:54 PM Dimitris Chloupis <
> kilon.al...@gmail.com>
> > wrote:
> >>
> >> Many seemed to like the idea of a Pharo wiki , I like it too. I created
> >> one, can be found here and super easy to contribute to.
> >>
> >> https://github.com/SquareBracketAssociates/PharoWiki
> >>
> >> Will keep this thread for alerting for important updates to wiki. Have
> fun
> >> :)
>
>


Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Dimitris Chloupis
Completely up to you , personal I love having many options.

This is my wiki thus will be maintained by me.

Basically it occurred to me that because I already spent time reading
mailing list posts , then why not copy paste this extremely valuable posts
to a wiki with some structure that is much easier to navigate for newcomers
compared to archives of mailing lists.

I have no intention of maintaining the content to keep it up to date
because I agree that Pharo books should remain as the single source of
polished official documentation.

The wiki is there to act as a clipboard for content that may or may not
enter into one of the books.

My No1 goal is a zero maintenance , zero cost , zero learning curve wiki (
assuming you are already a github user). Because also is part of our github
group for the books all contributors have already immediate access to it.
So I think for my goals this solution is by far the best.

I have no intention of creating a swiki for Pharo because as you so
correctly said , software won't be much of a problem, keeping the content
up to date will be.

Keeping up to date Content is something I deal with only Updated Pharo By
Example. It's Definetly far harder than copy pasting stuff.
On Sun, 20 Aug 2017 at 12:44, Torsten Bergmann  wrote:

> >> Many seemed to like the idea of a Pharo wiki , I like it too. I created
> >> one, can be found here and super easy to contribute to.
> >>
> >> https://github.com/SquareBracketAssociates/PharoWiki
>
> I still prefer to have one based on Smalltalk and as there never was an
> official one
> maintain my own private hosted Pharo wiki since 2015
>
>http://wiki.astares.com/pharo
>
> including lots of useful informations.
>
> It us a Swiki server ("Winterlong" release) - so it is based on Squeak +
> Comanche.
> http://wiki.squeak.org/swiki/
>
> I once offered it to the community but there were doubts as Swiki is not
> more
> maintained and a Pharo solutions would be preferable.
>
> Unfortunately there never was a Pharo based wiki implementation although
> we have all the bits
> and pieces (Pillar, Teapot/Tealight, Zinc, ...) to write one.
>
> I have several swikis running over the years and all of them run very very
> stable and
> without any problems. Even in case of trouble they are easy to repair and
> extend as the
> content is written into XML files.
>
> Also it has an UNZIP and go concept - so it is easy to install/run and
> maintain or move
> to a different server. Squeak community is running their swiki for years
> already.
> The only problem there is that it is not well maintained and lost of pages
> are outdated
> - but this is a problem independent from the wiki technology used.
>
> So creating a wiki is quick and easy - be able to maintain up to date
> infos another issue.
>
> Thanks
> T.
>
>
>
>
>
>


Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-20 Thread stephan

On 17-08-17 13:25, Luke Gorrie wrote:
I want to have a quick "cheat mode" for loading and saving the Smalltalk 
packages in my project. This is to make life easy for newbies who are 
not very familiar with Monticello and Metacello.


I'm afraid you might do newbies a disservice by adding yet another way 
of loading and saving combinations of packages. Dependency management is 
a 5-dimensional problem, so there are no solutions that are both simple 
and cover the needed variation [1]. In the current discussions on 
version management on this list the focus seems to be on the solving of 
simple problems, whilst avoiding the question of how to deal with many 
repositories. Metacello might not be ideal there, but it provides a 
shared solution.


Stephan

[1] Peter van den Hamer & Kees Lepoeter (1996) Managing Design Data: The 
Five Dimensions of CAD Frameworks, Configuration Management, and Product 
Data Management






Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-20 Thread Thierry Goubier

Hi Luke,

ok, it's a high tech solution, this is more because I could not on the 
spot remember what you would need as a script (and also because your 'no 
metadata' requirement makes the filetree solution problematic).


But I'd suggest still one bit of advice that is implicit in my solution: 
create at least a baseline for your project (covering say all packages 
in your repository); instead of hacking around with Monticello and 
FileTree, it will allow you to use a simple Metacello command to load 
everything and prepare correct, long term use of your project.


And you will have the save everything as well.

Regards,

Thierry

Le 20/08/2017 à 10:36, Luke Gorrie a écrit :

Hi Thierry,

I am really looking for a "low-tech" solution here - five line 
Monticello code snippet - that will be easy for me to understand (as a 
newbie) and also easy for new contributors to my project to understand 
(who will have no prior exposure to Pharo.)


I don't know what AltBrowser is, but just as a user I need to get a bit 
more "winnage" before I am ready to take another iteration at learning 
more tools. The tools currently represent barriers in the way of solving 
my problems. I am sure this will change over time with more gradual 
learning and experience.



On 18 August 2017 at 16:28, Thierry Goubier > wrote:


Hi Luke,

if you use gitfiletree with AltBrowser and configurations/baselines,
then you'll see that you have a command to do the writing for you,
without metadata and with a single git commit.

Regards,

Thierry


Le 17/08/2017 à 13:25, Luke Gorrie a écrit :

Hoi,

I want to have a quick "cheat mode" for loading and saving the
Smalltalk packages in my project. This is to make life easy for
newbies who are not very familiar with Monticello and Metacello.

The "cheat" is to assume that there is one filetree://
repository that contains all of the relevant packages, and all
we need to do is load or save each of those packages in that
repository.

I have the loading part working already:

  repo := MCFileTreeRepository new directory: '/foo/bar/baz'
asFileReference.
  repo allFileNames do: [ :file |
  (repo versionFromFileNamed: file) load.
].

but now I am wondering how to do the saving part? That is, given
a path to a filetree repo like '/foo/bar/baz', how do I save
each package in that repo i.e. export the code in the image?

Ideally I would like the same operation to skip metadata that is
likely to cause conflicts when the code is checked into Git
later e.g. package timestamps and versions.

Tips would be appreciated :).











[Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Torsten Bergmann
>> Many seemed to like the idea of a Pharo wiki , I like it too. I created
>> one, can be found here and super easy to contribute to.
>>
>> https://github.com/SquareBracketAssociates/PharoWiki

I still prefer to have one based on Smalltalk and as there never was an 
official one
maintain my own private hosted Pharo wiki since 2015

   http://wiki.astares.com/pharo

including lots of useful informations.

It us a Swiki server ("Winterlong" release) - so it is based on Squeak + 
Comanche.  
http://wiki.squeak.org/swiki/

I once offered it to the community but there were doubts as Swiki is not more 
maintained and a Pharo solutions would be preferable. 

Unfortunately there never was a Pharo based wiki implementation although we 
have all the bits
and pieces (Pillar, Teapot/Tealight, Zinc, ...) to write one.

I have several swikis running over the years and all of them run very very 
stable and 
without any problems. Even in case of trouble they are easy to repair and 
extend as the 
content is written into XML files.

Also it has an UNZIP and go concept - so it is easy to install/run and maintain 
or move
to a different server. Squeak community is running their swiki for years 
already. 
The only problem there is that it is not well maintained and lost of pages are 
outdated
- but this is a problem independent from the wiki technology used.

So creating a wiki is quick and easy - be able to maintain up to date infos 
another issue.

Thanks
T.







Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-20 Thread Stephane Ducasse
I added some links to books and blogs.


On Sat, Aug 19, 2017 at 11:20 PM, Dimitris Chloupis
 wrote:
> I also turned it to be published as a webpage, its can be viewed from this
> link
>
> https://squarebracketassociates.github.io/PharoWiki/
>
> On Sat, Aug 19, 2017 at 11:54 PM Dimitris Chloupis 
> wrote:
>>
>> Many seemed to like the idea of a Pharo wiki , I like it too. I created
>> one, can be found here and super easy to contribute to.
>>
>> https://github.com/SquareBracketAssociates/PharoWiki
>>
>> Will keep this thread for alerting for important updates to wiki. Have fun
>> :)



[Pharo-users] Pharo on the SqueakJS virtual machine

2017-08-20 Thread Torsten Bergmann
Craig Latta wrote 
>The next big step is getting a WebAssembly version of Cog running.

Anyone known already to work on such a beast? Or is this question better asked 
on vm-dev?

Another path could be to run on a Linux booting in the browser:

https://bellard.org/jslinux/

Regards
T.



Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-20 Thread Luke Gorrie
Hi Thierry,

I am really looking for a "low-tech" solution here - five line Monticello
code snippet - that will be easy for me to understand (as a newbie) and
also easy for new contributors to my project to understand (who will have
no prior exposure to Pharo.)

I don't know what AltBrowser is, but just as a user I need to get a bit
more "winnage" before I am ready to take another iteration at learning more
tools. The tools currently represent barriers in the way of solving my
problems. I am sure this will change over time with more gradual learning
and experience.


On 18 August 2017 at 16:28, Thierry Goubier 
wrote:

> Hi Luke,
>
> if you use gitfiletree with AltBrowser and configurations/baselines, then
> you'll see that you have a command to do the writing for you, without
> metadata and with a single git commit.
>
> Regards,
>
> Thierry
>
>
> Le 17/08/2017 à 13:25, Luke Gorrie a écrit :
>
>> Hoi,
>>
>> I want to have a quick "cheat mode" for loading and saving the Smalltalk
>> packages in my project. This is to make life easy for newbies who are not
>> very familiar with Monticello and Metacello.
>>
>> The "cheat" is to assume that there is one filetree:// repository that
>> contains all of the relevant packages, and all we need to do is load or
>> save each of those packages in that repository.
>>
>> I have the loading part working already:
>>
>>  repo := MCFileTreeRepository new directory: '/foo/bar/baz'
>> asFileReference.
>>  repo allFileNames do: [ :file |
>>  (repo versionFromFileNamed: file) load.
>>].
>>
>> but now I am wondering how to do the saving part? That is, given a path
>> to a filetree repo like '/foo/bar/baz', how do I save each package in that
>> repo i.e. export the code in the image?
>>
>> Ideally I would like the same operation to skip metadata that is likely
>> to cause conflicts when the code is checked into Git later e.g. package
>> timestamps and versions.
>>
>> Tips would be appreciated :).
>>
>>
>>
>>
>
>


Re: [Pharo-users] Tealight (similar to Teapot) installs fine in Pharo 6.1

2017-08-20 Thread Torsten Bergmann
Hi Hannes,

thanks, glad you like it. All that would not have been possible without Teapot 
and Zinc, so again a big thanks from my side to Attila and Sven!

Bye
T.

> Gesendet: Samstag, 19. August 2017 um 15:06 Uhr
> Von: "H. Hirzel" 
> An: "Torsten Bergmann" 
> Cc: "Any question about pharo is welcome" 
> Betreff: Tealight (similar to Teapot) installs fine in Pharo 6.1
>
> Hello Torsten
> 
> Tealight installs very fine into the latest Pharo release (6.0 / 6.1).
> 
> It is easy to use and the documentation is great!
> 
> --Hannes
 



Re: [Pharo-users] Pharo on the SqueakJS virtual machine

2017-08-20 Thread Craig Latta

Hi Sean--

> > https://tinyurl.com/y727fz4a
>
> Cool!
>
> A few things:
> - There is a very noticeable lag (e.g. ~5 seconds to open an "About"
> window). Any idea what it would take to deliver performance levels
> that feel more native?

 The next big step is getting a WebAssembly version of Cog running.
Until then, we're riding the performance improvements in the web browser
JavaScript engines. At the moment, Chrome seems a lot faster than the
others. Bert's just-in-time translation of compiled methods to JS (which
the web browser's JS engine then translates to native code) helped a lot.

> - I wonder how Tether compares to Denis' Seamless

 I think Tether's serialization takes more advantage of the fact
that the participants are live Smalltalk systems with many of the same
objects already in all locations. Tether also attempts to allow remote
messages with parameters from multiple object memories (e.g., in a
context on machine A, a message is sent to an object on B, with
parameters on C and D).

> - I was going to ask the same question for Naiad vs Epicea, but after
> reading on your blog, it seems Naiad is much more ambitious than
> simply tracking changes

 Yes, Naiad is ultimately a deployment vehicle, enabling the
accurate construction and deconstruction of systems. I want a coherent
way to release apps and work in teams, livecoding all the time.

> - I got a few errors off the bat
>   - UnixResolver>>#cantFindOriginError from #getEnvViaFFI
>   - "The primitiveFetchMourner is missing. Please upgrade your virtual
> machine..."

 Mm, I haven't delved into any of the non-fatal Pharo errors yet. :)


 thanks!

-C

--
Craig Latta
Black Page Digital
Amsterdam :: San Francisco
cr...@blackpagedigital.com
voice through 2017-09-12:
+ 1 510 833 5799 (SMS ok)
+31  20 893 2796 (no SMS)