Re: [Pharo-users] [Glass] Webminar about VA Smalltalk new OS Process Framework

2020-06-30 Thread Damien Pollet
ck.wordpress.com/ > ___ > Glass mailing list > gl...@lists.gemtalksystems.com > https://lists.gemtalksystems.com/mailman/listinfo/glass > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] [Pharo-dev] [ANN] New Headless VM (Still Alpha, but getting better)

2020-02-03 Thread Damien Pollet
ke to thank all the contributors specially Guille, Esteban, > Ronnie. And also, Feenk and Schmidt that they are using it, reporting > issues and contributing. > > Just a friendly reminder, if you want to contribute, you are always > welcome!! > > https://github.com/pharo-project/

Re: [Pharo-users] [Pharo-dev] About Iceberg

2019-02-19 Thread Damien Pollet
; This is a thank you note about Iceberg. > > -- > Dr. Geo > http://drgeo.eu > > > > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

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

2018-12-26 Thread Damien Pollet
Hi Steve, Have a look at Clap: https://github.com/cdlm/clap-st https://speakerdeck.com/cdlm/clap-esug-2018 Coral was a nice idea but tried to be too many things at once (scripting syntax ≠ commandline API); in contrast, Clap is only about defining commandline APIs for Pharo code. Feel free to se

Re: [Pharo-users] Deprecation rewrite introduces infinite recursion… how to prevent that?

2018-08-13 Thread Damien Pollet
Turns out it was pretty easy to implement: https://github.com/pharo-project/pharo/pull/1683 On Sat, 11 Aug 2018 at 15:59, Damien Pollet wrote: > I have a double-dispatch chain: > x generic: y → y firstDispatch: x → x secondDispatchFromY: y > > However this has been added after

[Pharo-users] Deprecation rewrite introduces infinite recursion… how to prevent that?

2018-08-11 Thread Damien Pollet
ut it seems like a lot of noise in the code for a small deprecation… Thinking of it, this is not really a deprecation, more like an advice on proper use… -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] [Pharo-dev] New Iceberg Version 1.2.1

2018-08-08 Thread Damien Pollet
ase…)? On the other hand, separate source directories would be helpful to work with git-subrepo and similar tools… -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] BS Web and Pharo

2018-08-03 Thread Damien Pollet
On Thu, 2 Aug 2018 at 18:15, Tim Mackinnon wrote: > the constant pestering to sign up for the Pharo newsletter. > which pestering, where ? :confused:

Re: [Pharo-users] Pharo 7 file streams guideline

2018-07-31 Thread Damien Pollet
On Tue, 31 Jul 2018 at 18:28, Damien Pollet wrote: > Hi Sven… a couple questions: > For context, I'm considering options in Clap, for providing accessors to Stdio that: - are convenient in most cases - discourage users from explicitly referencing the Stdio global (so that one can i

Re: [Pharo-users] Pharo 7 file streams guideline

2018-07-31 Thread Damien Pollet
Hi Sven… a couple questions: - is there a preferred order of composition between the encoding and buffering streams ? If yes, it the same for read and write stream, or reversed ? E.g. if Stdio binaryStdin was implemented, Stdio stdin should be decoded, but buffering it as well would be a problem f

Re: [Pharo-users] Pharo 7 file streams guideline

2018-07-25 Thread Damien Pollet
On Wed, 25 Jul 2018 at 13:48, Sven Van Caekenberghe wrote: > > On 25 Jul 2018, at 13:39, Damien Pollet > wrote: > > Related issue: command line arguments come from VM system attributes as > ByteStrings… and thus interpreted as iso-8859-1, which is incorrect in most > cases

Re: [Pharo-users] Pharo 7 file streams guideline

2018-07-25 Thread Damien Pollet
On Tue, 24 Jul 2018 at 11:39, Alistair Grant wrote: > > On 23 Jul 2018, at 12:07, Sven Van Caekenberghe wrote: >> So, >> >> Stdio stdout >> >> should return return a character write stream with UTF-8 encoding while >> >> Stdio binaryStdout >> >> should be the lower level binary one. >> This

Re: [Pharo-users] [Pharo-dev] Which command-line handlers do you use most?

2018-07-10 Thread Damien Pollet
t; I intend to provide similar features and a path for migrating with minimal headaches, but there are several idiosyncrasies that I hope to get rid of as well. I guess the big users of deploy/run code will come see me at ESUG and we can see what's best ;-) -- Damien Pollet type less

[Pharo-users] Which command-line handlers do you use most?

2018-07-09 Thread Damien Pollet
esides the current command-line handlers, we can have a deprecation period to minimize breakage and leave time for people to adapt before we kill old command line handlers for real. -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] Pharo 7 streams API

2018-07-03 Thread Damien Pollet
On Tue, 3 Jul 2018 at 11:36, Sven Van Caekenberghe wrote: > Most probably this idea of functional composition has been discussed > before ... > Transducers (aka. Reducers) come to mind…

Re: [Pharo-users] SmalltalkCI now supports loading tonel-based projects

2018-04-18 Thread Damien Pollet
I can confirm coverage is back. I think the drop is at least partly due to the changes I did while it was broken. However the Pharo 7 builds seem to be broken now, with what looks like a libgit issue… https://travis-ci.org/cdlm/clap-st On 18 April 2018 at 13:24, Gabriel Cotelli wrote: > Hi, > W

Re: [Pharo-users] Porting Transducers to Pharo

2018-03-21 Thread Damien Pollet
I think I used FileOut30 and encodings were part of the adhoc fixing before loading into Pharo (using iconv certainly, but I don't recall) On 21 March 2018 at 14:29, Esteban A. Maringolo wrote: > Hi Steffen, > > 2017-06-06 7:44 GMT-03:00 Steffen Märcker : > > I assumed so. I used file-outs only

Re: [Pharo-users] inquiring question about ifTrue: implementation

2018-03-19 Thread Damien Pollet
On 19 March 2018 at 13:40, Petr Fischer wrote: > > How would you define the semantics of > > > > 123 ifTrue: [ ... ] > > 123 is not "true", so, ignore the block. > What anout 123 ifFalse: [ … ], then, given that 123 is not false either?

Re: [Pharo-users] The Spec UI Framework. first translation to korean finish.

2017-08-29 Thread Damien Pollet
On 28 August 2017 at 06:34, peter yoo wrote: > 1. failed to compile the SPEC UI Framework. Xetex would have caught the > error, but I do not know about luatex. > 2. I am using texlive 2017 with gentoo linux. Can you send me a copy of the error you are getting ? The English version should build

Re: [Pharo-users] Dark Mode

2017-08-26 Thread Damien Pollet
Sure it is… AFAIK the light theme is still available in the settings On 27 August 2017 at 00:40, horrido wrote: > I found this interesting article > for-people-like-molly-watt-ae9fdc38479f> > . I wanted to express my opinion... > > Da

Re: [Pharo-users] Compiling documents with Pillar

2017-07-24 Thread Damien Pollet
Docker provides a working and sufficiently complete TeX installation which is used on Travis to build the most recent books (e..g the booklets with the blue cover plus a couple other ones). But the build itself relies on makefiles, templates etc. Pillar is only one step in that process. Currently

Re: [Pharo-users] Porting Transducers to Pharo

2017-06-14 Thread Damien Pollet
On 14 June 2017 at 17:21, Steffen Märcker wrote: > I played a bit with Iceberg in Pharo, managed to check out the repository, > and load Transducers-Core. As a bit of a surprise, multiple packages show > up in the SystemBrowser; one for each method category, e.g., > Transducers-accessing and Tran

Re: [Pharo-users] Porting Transducers to Pharo

2017-06-07 Thread Damien Pollet
I wouldn't bother with SmalltalkHub at this point. Check Iceberg, it's the future: https://github.com/pharo-vcs/iceberg/ On 7 June 2017 at 11:29, Steffen Märcker wrote: > Hi Phil, > > that's great. I do have a GitHub account (merkste) but none at > SmalltalkHub. Is there a recommendable doc on h

Re: [Pharo-users] Porting Transducers to Pharo

2017-06-02 Thread Damien Pollet
If I recall correctly, there is an alternate protocol that looks more like xtreams or the traditional select/collect iterations. On 2 June 2017 at 21:12, Stephane Ducasse wrote: > I have a design question > > why the library is implemented in functional style vs messages? > I do not see why this

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Damien Pollet
> exchange code between VW and Pharo? > > Best, > Steffen > > > > Am .05.2017, 16:16 Uhr, schrieb Damien Pollet < > damien.pollet+ph...@gmail.com>: > > As you know I experimented with that a while ago. My code is at >> http://smalltalkhub.com/#!/~cdl

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Damien Pollet
As you know I experimented with that a while ago. My code is at http://smalltalkhub.com/#!/~cdlm/Experiments/source On 31 May 2017 at 15:00, Sven Van Caekenberghe wrote: > > > On 31 May 2017, at 14:23, Steffen Märcker wrote: > > > > Hi, > > > > I am the developer of the library 'Transducers' fo

Re: [Pharo-users] [Seaside] Strange behaviours?

2017-05-30 Thread Damien Pollet
On 30 May 2017 at 12:46, Alidra Abdelghani via Pharo-users < pharo-users@lists.pharo.org> wrote: > I did not knew about that one :) > Still, it is too bad that we have this constraint, because it is very > difficult to find the problem if you dont know about this rule already > (especially for new

Re: [Pharo-users] SquareBracket Associate github org ownership

2017-05-23 Thread Damien Pollet
; >> Thank you Damien. Works now ! >> >> On Mon, May 22, 2017 at 9:41 AM, Damien Pollet >> wrote: >> > Should be fixed; there are no per-repo permissions but the default for >> all >> > members changed somehow. >> > >> > On 22 May 2

Re: [Pharo-users] SquareBracket Associate github org ownership

2017-05-22 Thread Damien Pollet
Should be fixed; there are no per-repo permissions but the default for all members changed somehow. On 22 May 2017 at 05:35, Serge Stinckwich wrote: > Dear all, > > who is in charge of SquareBracket Associate github org ? I can't > commit anymore on : > https://github.com/SquareBracketAssociates

Re: [Pharo-users] [Pharo-dev] Need help with Pillar

2017-05-19 Thread Damien Pollet
ve no idea who > to make the docker image use my local files. > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > On May 19, 2017, at 10:06 AM, Damien Pollet > wrote: > > I think

Re: [Pharo-users] [Pharo-dev] Need help with Pillar

2017-05-19 Thread Damien Pollet
> Is it because of some missing Latex .cls? If yes, which one? How can I > install them? > > Thanks for your help! > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.

Re: [Pharo-users] Anyone knows how to get the list of available archetype with Pillar?

2017-05-19 Thread Damien Pollet
There is one archtype for each directory under https://github.com/pillar-markup/Pillar-Archetype On 19 May 2017 at 15:50, Alexandre Bergel wrote: > Hello! > > Still on my quest to use Pillar :-) > > What are the different Archetypes available for Pillar? > It would be great to have: ./pillar arc

Re: [Pharo-users] [Pharo-dev] Need help with Pillar

2017-05-18 Thread Damien Pollet
website is it trying to get access to? > That would be Inria CI, they're having problems with CloudStack currently -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] iceberg

2017-03-16 Thread Damien Pollet
+1 (for some big value of one) On 16 March 2017 at 11:42, Norbert Hartl wrote: > Sometimes tools change and you feel the change like a quantum leap. For me > it is the case when using iceberg. > > Well done, thank you very much for that. > > If Versionner would be able to edit baselines we would

Re: [Pharo-users] Convert Markdown to Pillar?

2017-03-07 Thread Damien Pollet
Should be possible, but that would involve writing a markdown to pillar converter :) The other way around already exists, but the conversion is lossy; from markdown to pillar it should be possible to maintain most of the semantics. On 7 March 2017 at 17:55, sergio ruiz wrote: > > Just wonderin

Re: [Pharo-users] A little expression interpreter for new forthcoming book

2017-01-09 Thread Damien Pollet
I just went through it and saw a few possible tweaks (you know me). I'll commit them directly if I get the time On 8 January 2017 at 20:50, Alexandre Bergel wrote: > Okay! > > Alexandre > > > > On Jan 8, 2017, at 4:34 PM, stepharong wrote: > > > > fixed. > > Alex > > this chapter alone is reall

Re: [Pharo-users] [Pharo-dev] Call of projects of open-dev lectures

2017-01-07 Thread Damien Pollet
ks and MOOC. -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] [Pharo-dev] Call of projects of open-dev lectures

2017-01-06 Thread Damien Pollet
On 6 January 2017 at 21:04, Hilaire wrote: > How should I understand 12 * 4 hours? > 12 hours by student in a team of four? > Ten weeks with 4 dedicated hours every friday afternoon, in groups of 3 to 5 -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] [Pharo-dev] Call of projects of open-dev lectures

2017-01-04 Thread Damien Pollet
> > > So if you have a project and you want to participate. > > We would like to have > > - web page? > > - mailing-list > > - bug trackers/todo? > > > > Stef > > > > -- > Serge Stinckwich > UCBN & UMI UMMISCO 209 (IRD/UPMC) > Every DSL ends up being Smalltalk > http://www.doesnotunderstand.org/ > > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] [Moose-dev] Re: Design Challenge: metrics missing value...

2016-12-21 Thread Damien Pollet
t; >>>the new collection." > >>> > >>>| newCollection | > >>>newCollection := self species new. > >>>self > >>>do: [ :each | each toCollect: aBlock on: newCollection ]. > >>>^ newColl

Re: [Pharo-users] Mustache and section

2016-12-06 Thread Damien Pollet
https://github.com/zalando/beard is in Scala :p On 5 December 2016 at 21:54, Stephane Ducasse wrote: > You mean that you would like to invent a much better mustache. > We could keep mustache as it is and invent Beard or rouquaflette :) > > On Mon, Dec 5, 2016 at 12:35 PM, Norbert Hartl wrote: >

Re: [Pharo-users] Execute a script from command line save image and exit

2016-11-28 Thread Damien Pollet
So… if I read that code correctly, when you pass both --save and --quit, the image will first save itself and quit (with an unspecified return code, or the one picked by the snapshot code). Then, next time you run this image, it will resume execution and exit immediately (that time with an explicit

Re: [Pharo-users] Little challenges for a friday evening

2016-11-11 Thread Damien Pollet
On 11 November 2016 at 12:02, stepharo wrote: > String>>#isIsogram >> | letters | >> letters := Dictionary new. >> self do: [ :x | letters at: x ifAbsent: [] ifPresent: [ ^false ]. >> > Yes I did that one too and I was surprised because it was as slow as the > bag implementation. >

Re: [Pharo-users] [ALERT] Pharo by Example version 5 is about to be released

2016-11-07 Thread Damien Pollet
On 7 November 2016 at 10:22, Nicolai Hess wrote: > My opinion is not that themes are not important, but that it looks out of > context in this chapter. > Also think of the print version. The print quality via Lulu is not great for grayscale images, so screenshots in light text over dark backgrou

Re: [Pharo-users] Cover for PBE5

2016-10-30 Thread Damien Pollet
On 30 October 2016 at 21:56, stepharo wrote: > Philemon is so great and strange :) > I was thinking of him visiting the strange islands of class diagrams and meeting the reflective bytecode resistance smuggling inline caches there :D > Le 30/10/16 à 21:23, Damien Pollet a écrit : &g

Re: [Pharo-users] Cover for PBE5

2016-10-30 Thread Damien Pollet
Somehow this makes me think of the cover of the Tintin album "L'Île Noire" http://www.images-booknode.com/book_cover/265/full/les-aventures-de-tintin---l-ile-noire-265103.jpg Perhaps a similar composition with close/far subjects and clean flat text would work better… as it is now, I find it too da

Re: [Pharo-users] OSProcess missing from Pharo 6 image

2016-10-28 Thread Damien Pollet
On 28 October 2016 at 14:12, Guille Polito wrote: > What is wrong in executing a simple Metacello command to load it? What's wrong is, it's not convenient / easy / publicized enough. There isn't a nice user story about dependency management and package loading, even though technically everythin

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 21:59, Damien Pollet wrote: > Might be that pillar archetype doesn't do a git clone but some kind of > archive extraction wait no… sbabook is a submodule, so it's like git clone :|

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 21:52, stepharo wrote: > I did a clean install. So I imagine that it should break on other machines > too. Might be that pillar archetype doesn't do a git clone but some kind of archive extraction… I know github and zip files have limitations with that

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 20:03, stepharo wrote: > I tried to add a title to a book > > { > "title":"Learning Programming with Pharo", > I think I tried with { "metadata": { "title": "bleb" } } in the book.pillar and that worked. No clue why the one from the conf is not inherited anymore.

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 19:49, stepharo wrote: > Are the files in Chapters automatically added to the pillar.conf? > No, they don't have to be in it. The main file includes them. > Does it mean that all the files should be always compiling? > Yes, only the whole-book compilation works for now. P

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 19:47, stepharo wrote: > - chmod +x support/latex/sbabook/gitinfo2.sh > > Now I have no idea where I should add this command. > That should be versioned as part of sbabook. On my machine when I check it out it's executable, and apparently it's harder to make git ignore file

Re: [Pharo-users] turning a collection (interval for example) into a stream

2016-09-29 Thread Damien Pollet
t's either failed or unfinished). On 29 September 2016 at 16:50, stepharo wrote: > I would love to see this package and a little documentation on it. > > Stef > > Le 29/9/16 à 15:02, Damien Pollet a écrit : > > Same with transducers/reducers, except they work by pushing valu

Re: [Pharo-users] turning a collection (interval for example) into a stream

2016-09-29 Thread Damien Pollet
Same with transducers/reducers, except they work by pushing values through the pipeline instead of pulling them. The library I started porting from VW last year had a dual API, one more like the original Clojure transducers, and one more like Xtreams. One nice point of going collection→stream & fi

Re: [Pharo-users] [ANN] Pillar 4.0.0

2016-09-17 Thread Damien Pollet
On 17 September 2016 at 13:26, Tudor Girba wrote: > I just tried the latest Makefile, but it does not work. Are you working on > it? Are you trying the book archetype ? (I'm trying not to do work stuff during weekends) > Interesting. However, given that we are anyway relying on Pharo, why are

Re: [Pharo-users] [ANN] Pillar 4.0.0

2016-09-17 Thread Damien Pollet
ers, > Doru > > > > On Sep 17, 2016, at 12:20 PM, Damien Pollet < > damien.pollet+ph...@gmail.com> wrote: > > > > I bet you left the makefile unchanged. Try `make > book-result/welcome.html` > > > > Here it tries to run ./pillar something som

Re: [Pharo-users] [ANN] Pillar 4.0.0

2016-09-17 Thread Damien Pollet
I bet you left the makefile unchanged. Try `make book-result/welcome.html` Here it tries to run ./pillar something something that looks correct (but fails because I didn't download the pillar image in that directory) DISCLAIMER: I'm not fixing the other archetypes until I'm happy with the book on

Re: [Pharo-users] pillar questions

2016-09-15 Thread Damien Pollet
I've been cleaning the book archetype's makefile this afternoon. I suspect there is no list of chapters because the example is quite minimal. Enterprise Pharo was the one Thibault and Yann worked with, so I need to compare with it. The recent work on pillar was about removing superfluous responsab

Re: [Pharo-users] difficult to kill objects - pesky hanging pointersTo

2016-09-08 Thread Damien Pollet
On 7 September 2016 at 20:45, stepharo wrote: > And wht I learned is that we should do > > > ClassOfObjectsThatMustDie allInstances first become: nil > but really String new. > But why a two-way become and not a becomeForward?

Re: [Pharo-users] Coral?

2016-06-24 Thread Damien Pollet
I should still have the sources for the old website somewhere, I'll check if I can re-deploy them On 24 June 2016 at 14:53, Valentin Ryckewaert wrote: > Hi, > > if there is any documentation I didn't see it sorry :( The syntax may > change in the future) :) > > 2016-06-24 14:50 GMT+02:00 Yuriy T

Re: [Pharo-users] Don't understand Array creation syntax

2016-06-14 Thread Damien Pollet
I don't understand what you've understood… Parentheses need to be paired for the outer literal array to be recognized. Technically, opening parentheses could become elements, but not closing parentheses, since then there would be nothing to close the literal array. And it would be strange to read

Re: [Pharo-users] Don't understand Array creation syntax

2016-06-11 Thread Damien Pollet
That's just how the syntax is; it allows to have arrays as elements of arrays. Also, to be coherent with what you thought, closing parentheses would have to become elements as well, and the array would never end. On 12 June 2016 at 05:23, Franklin Mike wrote: > Why the first element of #( ( 1 +

Re: [Pharo-users] Retina support in Pharo

2016-05-17 Thread Damien Pollet
On 17 May 2016 at 22:14, Alexandre Bergel wrote: > My email was _not_ about judging the community effort, but more on whether > pharo work on a Retina laptop. > What happens if Pharo is launched on a retina computer? > You get the same thing as on a non-retina display, except instead of each fuz

Re: [Pharo-users] [ANN] Arff generator for Pharo

2016-04-25 Thread Damien Pollet
So, ARFF is the file format… I propose that an OO modeling of it should be named the Attribute-Relation Graph Hierarchy :D On 25 April 2016 at 13:37, Julien Delplanque wrote: > Hello everyone, > > For a university project in ''Datamining and Datawarehousing'', I have to > convert data stored as

Re: [Pharo-users] meaning of #workingDirectory in in-memory file system

2016-04-21 Thread Damien Pollet
In a unix system, there is only one filesystem. Meaning: if you have several disks or partitions, either they are mounted in The Unique Filesystem, or they are not mounted and are just a blob of some gigabytes. The working directory is a per-process property, not per-filesystem. (except that window

Re: [Pharo-users] [Pharo-Users] Symbolic links

2016-04-20 Thread Damien Pollet
Specifically, there is DiskStore>>isSymlink: but the FilePlugin doesn't seem to have a primitive for the readlink(2) function of the libc On 20 April 2016 at 15:53, Valentin Ryckewaert < valentin.ryckewa...@gmail.com> wrote: > Hello everyone, > > does someone know a way to get the real path of a

Re: [Pharo-users] Any hope for Smalltalk on Raspberry Pi?

2016-04-17 Thread Damien Pollet
http://stephane.ducasse.free.fr/FreeBooks.html and in the middle is Smalltalk-80: The Language and its Implementation On 17 April 2016 at 19:37, Alistair Grant wrote: > On Sun, Apr 17, 2016 at 09:52:54AM +0200, stepharo wrote: > > ... > > check

Re: [Pharo-users] Load a project from GitHub with command line

2016-04-17 Thread Damien Pollet
On 17 April 2016 at 16:47, Thierry Goubier wrote: > In fact it is there, but indirect (you can give a $WHERE when you create a > remote git repository with Monticello: it's the name parameter). > But I'd have to somehow create the monticello repo then pass it to metacello? > But, if we focus o

Re: [Pharo-users] Load a project from GitHub with command line

2016-04-17 Thread Damien Pollet
Is there a convenient way to control where the clone will be made in the local filesystem? Meaning: using something else than the implicit value for $WHERE: git clone $GITHUB_CLONE_URL $WHERE On 15 April 2016 at 19:08, Thierry Goubier wrote: > Le 15/04/2016 18:49, Damien Pollet a éc

Re: [Pharo-users] Any hope for Smalltalk on Raspberry Pi?

2016-04-17 Thread Damien Pollet
libusb seems to be plain C, so it would make a nice use-case for uFFI http://www.libusb.org There was an attempt at making a binding last year: https://www.mail-archive.com/pharo-users@lists.pharo.org/msg17312.html On 17 April 2016 at 12:15, Peter Uhnák wrote: > This seems relevant: > > https:

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread Damien Pollet
On 16 April 2016 at 11:33, kmo wrote: > /Pharo is yours, so you can add it. :)/ > > Yes, but I don't want to add it. I expect it to be there out of the box. > If you expect a perfect system out of the box, you will never get it. > think it's quite enough work for me to add my own code on windo

Re: [Pharo-users] Load a project from GitHub with command line

2016-04-15 Thread Damien Pollet
On 15 April 2016 at 17:39, Thierry Goubier wrote: > And then you can load your project with: > > Metacello new > baseline: 'YourTribes'; > repository: 'gitfiletree://github.com/HappyPharoHackers/YourTribes'; > load: #(tests) > So this does the clone directly from github? YAY :D

Re: [Pharo-users] First impressions, was About Box

2016-04-13 Thread Damien Pollet
Heh. The last days I've had a look at Coral… my current goal is to remove the dependency to PetitParser from the argument parser, and to re-integrate that with the commandline handler system of the image. But that's only one part… On 14 April 2016 at 01:43, Ben Coman wrote: > On Wed, Apr 13, 201

Re: [Pharo-users] Conditional external dependencies in a Metacello BaselineOf?

2016-04-12 Thread Damien Pollet
ter/docs/LockCommandReference.md#lock-command-reference > [2] > https://github.com/dalehenrich/metacello-work/blob/master/docs/LockCommandReference.md#lock-the-projects > > > On 04/12/2016 11:18 AM, Damien Pollet wrote: > >> I have a couple projects that I develop together

[Pharo-users] Conditional external dependencies in a Metacello BaselineOf?

2016-04-12 Thread Damien Pollet
/ so that I can build new development images from scratch, with both projects ready to commit to gitfiletree, with minimal repo juggling and code reloading ? Is there a way to achieve that? Metacello project attributes? a git submodule? -- Damien Pollet type less, do more [ | ] http://peo

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-10 Thread Damien Pollet
On 10 April 2016 at 06:32, Ronie Salgado wrote: > In SDL2 there are also two APIs for joysticks, the Joystick API and the > GameController API Is this the same as Apple's GameController.framework? I happen to have a SteelSeries Stratus XL gamepad that works with it, if we need tests or demos…

Re: [Pharo-users] How to determine if a file is hidden

2016-04-09 Thread Damien Pollet
On 10 April 2016 at 00:13, Robert J Rothwell wrote: > Should I be able to use OSWindows to use getfileinfo from within pharo? No, to run external programs, the package you want is OSSubProcess.

Re: [Pharo-users] How to determine if a file is hidden

2016-04-09 Thread Damien Pollet
Hidden in what sense? On Linux, files whose name start with a period are "hidden" (by convention, many commands ignore them) On OS X, files and directories that are hidden to the Finder have a special attribute in the file system. I don't think there's an accessor for that in Pharo yet, but as a

Re: [Pharo-users] FFI return by reference

2016-04-07 Thread Damien Pollet
I think in that case you need to pass an instance of FFIExternalValueHolder. On 7 April 2016 at 17:42, Thibault Raffaillac wrote: > Hi again, > > Does anyone know what is the state of return by reference in FFI? > Example: > glGetAttribute: attr into: value > errorCode> > ^ self

Re: [Pharo-users] flags in pharo

2016-04-06 Thread Damien Pollet
It's just an empty method doing nothing. Then, as it says in the comment, you can use the tools to look for it. Nautilus knows to check for it and display a nice icon in the method list. On 6 April 2016 at 13:54, Thibault ARLOING wrote: > Hi, > > > Can someone explain me how ProtoObject>>flag:

Re: [Pharo-users] GTSpotter fuzzy search

2016-03-29 Thread Damien Pollet
a sprint :) On 10 March 2016 at 03:13, Damien Pollet wrote: > +1 > > I wanted to copy the algo from selecta but never got to it… > https://github.com/garybernhardt/selecta/blob/master/selecta > > On 9 March 2016 at 20:51, Tudor Girba wrote: > >> Hi, >> >

Re: [Pharo-users] [Metacello] Apparent loop in before / after ....

2016-03-26 Thread Damien Pollet
looks like you forgot something :D On 26 March 2016 at 21:56, stepharo wrote: > hi dale > > I'm working a pretty large configuration and I got the following error > messsage (and I do not understand I cannot debug). > Do you have any suggestion because I did not even know that this error > exist

Re: [Pharo-users] OpenGL project

2016-03-26 Thread Damien Pollet
On 26 March 2016 at 18:44, Thibault Raffaillac wrote: > Homebrew should place the GLFW folder in /usr/local/include, and cc should > list it among include directories with -v > No. It should put them in `brew --prefix`/include, which only happens to be /usr/local/include if you followed homebrew

Re: [Pharo-users] OpenGL project

2016-03-24 Thread Damien Pollet
Can you include a proper build script? cc --std=c99 -Wall --pedantic -I/opt/homebrew/Cellar/glfw3/3.1.2/include -L/opt/homebrew/Cellar/glfw3/3.1.2/lib -lglfw3 minimal-glfw.c -o minimal-glfw minimal-glfw.c:15:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2

Re: [Pharo-users] patterns for representing enumerations/constants

2016-03-23 Thread Damien Pollet
On 23 March 2016 at 18:40, Peter Uhnák wrote: > Why / how ? >> > > As explained in the first example. > > Try adding #organization or #package methods to the class-side. > I'd rather have selector namespaces to remove homonymy conflicts…

Re: [Pharo-users] patterns for representing enumerations/constants

2016-03-23 Thread Damien Pollet
On 23 March 2016 at 17:49, Peter Uhnák wrote: > > Color red. >> Color blue. >> >> Unfortunately this doesn't scale, because putting unary methods on the >> class-side is a good way to break your image. >> > Why / how ?

Re: [Pharo-users] Pharo launcher in homebrew cask

2016-03-22 Thread Damien Pollet
FYI I was also thinking of creating a homebrew tap for pharo (VM etc). Still at the draft stage, unfortunately. On 22 March 2016 at 13:00, Damien Cassou wrote: > Filip Krikava writes: > > > I find Pharo launcher incredibly useful and I was surprised not to find > it > > in homebrew cask [1]. Ph

Re: [Pharo-users] extracting segments in an array

2016-03-20 Thread Damien Pollet
SequenceableCollection mostly, but possibly streams as well On 19 March 2016 at 21:21, Hernán Morales Durand wrote: > Hi Damien, > > I didn't understood, which kind of sequences? > > > 2016-03-19 7:40 GMT-03:00 Damien Pollet : > >> Yeah if we redesign the String

Re: [Pharo-users] Use Shell Command from Pharo

2016-03-19 Thread Damien Pollet
On 19 March 2016 at 16:45, Peter Uhnák wrote: > I don't actually see the reason why it should assume root folder if you > don't specify a path… that's stupid on many levels (I blame mac). > It's root because that's where the system launches applications from, when you double-click them in the Fi

Re: [Pharo-users] [Pillar] Logo for Pillar

2016-03-19 Thread Damien Pollet
A simple test for logos is: make it tiny (~20 pixels high = the favicon of a website) and it should still work (meaning it should be visible, legible, and recognizable). Even better if just a monochrome silhouette still works. Try that with the logos of major brands. On 18 March 2016 at 19:30, Of

Re: [Pharo-users] extracting segments in an array

2016-03-19 Thread Damien Pollet
Yeah if we redesign the String API it should account for Arrays and probably other kinds of sequences too… On 19 March 2016 at 11:28, stepharo wrote: > copyFrom:to: > > Stef > > Le 19/3/16 11:22, stepharo a écrit : > > Hi >> >> I have an array and I would like to extract a segment of elements an

Re: [Pharo-users] GTSpotter fuzzy search

2016-03-09 Thread Damien Pollet
+1 I wanted to copy the algo from selecta but never got to it… https://github.com/garybernhardt/selecta/blob/master/selecta On 9 March 2016 at 20:51, Tudor Girba wrote: > Hi, > > Would you like to try to propose a implementation for this? This would fit > as a subclass of GTFilter? > > Cheers,

Re: [Pharo-users] NativeBoost replacement?

2016-03-06 Thread Damien Pollet
:hMenu:hInstance:lParam: > ffiCalloutOptions > getActiveWindow > getCapture > getClipboardOwnerWindow > getClipboardViewer > getDesktopWindow > getForegroundWindow > getWindowFromPoint: > > Should I try something else? > > Hernán > > > > 2016-03-06 18:10 GMT-0

Re: [Pharo-users] NativeBoost replacement?

2016-03-06 Thread Damien Pollet
The replacement is http://smalltalkhub.com/#!/~Pharo/FFI-NB The API should be mostly if not completely compatible. If not tell us, as I need to adapt my ESUG 2013 tutorial :) On 6 March 2016 at 21:18, Hernán Morales Durand wrote: > Hi guys, > > I am porting packages which uses NativeBoost in Ph

Re: [Pharo-users] I wish there were ePUB versions of Pharo books

2016-02-25 Thread Damien Pollet
some time ago. > > Best regards, > Martin. > > > > -- > View this message in context: > http://forum.world.st/I-wish-there-were-ePUB-versions-of-Pharo-books-tp4880836.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] What are immediate subclass and word variable subclass?

2016-02-17 Thread Damien Pollet
Immediate means it's stored in the OOP itself, like SmallInteger in 32 bits. Variable word is like variable byte (ByteArray) I suppose, variable size, with indices instead of named instance variables, but each index points to a full word (I guess either 32 or 64bit depending on the VM) On 17 Febru

Re: [Pharo-users] Use cases for methods with optional parameters

2016-01-29 Thread Damien Pollet
On 30 January 2016 at 00:29, David Allouche wrote: > What do you mean by "fluid api"? I suppose https://en.wikipedia.org/wiki/Fluent_interface An API that enables / encourages chaining messages in one expression. Smalltalk's message cascades and the default of returning self both help with tha

Re: [Pharo-users] Idea: Pharo application scaffold kickstarter

2015-05-27 Thread Damien Pollet
I have the same itch for simple images; get.pharo.org and PharoLauncher nearly scratch it, except that I work mostly from the terminal. For instance I'd like to be able to quickly rebuild an image from a configuration, with some workspaces, setting up some MC repositories, etc. For seaside apps I

Re: [Pharo-users] PharoCommonTools methods

2015-05-25 Thread Damien Pollet
On 25 May 2015 at 19:34, Matthieu Lacaton wrote: > What is the main purpose of doing this instead of actually implementing a > method ? > Being lazy: #doesNotUnderstand is implemented only once, independent of the number of different tools that will be added in the future.

Re: [Pharo-users] moving to git and preserving monticello history

2015-04-29 Thread Damien Pollet
On 20 February 2015 at 11:31, Thierry Goubier wrote: > Good point. Bad programmers do commits without messages :):) > That could be easily remedied by integrating MC with http://whatthecommit.com :D

  1   2   >