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

2020-06-30 Thread Damien Pollet
ess.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
> I will like 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

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
, but 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] 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
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

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
> 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, do

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

2018-07-09 Thread Damien Pollet
rrent 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

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 : >

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

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

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., >

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

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

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Damien Pollet
come a convenient way to > 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://smalltal

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

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

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

2017-05-23 Thread Damien Pollet
.stinckw...@gmail.com> wrote: > >> Thank you Damien. Works now ! >> >> On Mon, May 22, 2017 at 9:41 AM, Damien Pollet >> <damien.pollet+ph...@gmail.com> wrote: >> > Should be fixed; there are no per-repo permissions but the default for >> all >>

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 : >

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

2017-05-19 Thread Damien Pollet
a 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 <damie

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

2017-05-19 Thread Damien Pollet
opbox/Pillar> > > 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

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

2017-05-18 Thread Damien Pollet
archetype book > > Which 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

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

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: > > > >

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

2017-01-07 Thread Damien Pollet
oing through the books 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 <hila...@drgeo.eu> 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://peo

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

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

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 >

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

Re: [Pharo-users] Cover for PBE5

2016-10-30 Thread Damien Pollet
On 30 October 2016 at 21:56, stepharo <steph...@free.fr> 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

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

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

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

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

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

2016-09-29 Thread Damien Pollet
failed or unfinished). On 29 September 2016 at 16:50, stepharo <steph...@free.fr> 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 wor

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 &

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

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

2016-09-17 Thread Damien Pollet
s, > 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 something

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

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

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) :) > >

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

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

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,

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 >

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

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

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

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

2016-04-17 Thread Damien Pollet
016 18:49, Damien Pollet a écrit : > >> On 15 April 2016 at 17:39, Thierry Goubier <thierry.goub...@gmail.com >> <mailto:thierry.goub...@gmail.com>> wrote: >> >> And then you can load your project with: >> >> Metacello new >>

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

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

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

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:

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

2016-04-12 Thread Damien Pollet
hub.com/dalehenrich/metacello-work/blob/master/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 proje

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

2016-04-12 Thread Damien Pollet
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://people.untyped.org

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

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 >

Re: [Pharo-users] GTSpotter fuzzy search

2016-03-29 Thread Damien Pollet
a sprint :) On 10 March 2016 at 03:13, Damien Pollet <damien.pollet+ph...@gmail.com> 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 <

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

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

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]

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

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 <hernan.mora...@gmail.com> wrote: > Hi Damien, > > I didn't understood, which kind of sequences? > > > 2016-03-19 7:40 GMT-03:00 Damien Pollet <damien.pollet+

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

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,

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

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

Re: [Pharo-users] NativeBoost replacement?

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

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

2016-02-25 Thread Damien Pollet
about this 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

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

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 matthieu.laca...@gmail.com 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

Re: [Pharo-users] String operations

2015-04-09 Thread Damien Pollet
Indeed, there is much to say about the String API :) Thanks for mentioning this, I'm gathering missing behavior like this ! On 8 April 2015 at 17:56, Norbert Hartl norb...@hartl.name wrote: Am 07.04.2015 um 21:31 schrieb Peter Uhnák i.uh...@gmail.com: 'BormParticipant' allButFirst: 4

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread Damien Pollet
On 31 March 2015 at 17:17, Peter Uhnák i.uh...@gmail.com wrote: So at least to me PetitParser feels like a more practical regex library than Regex itself. In which use-cases is Regex less practical? I'm thinking it could get a builder with a PetitParser-like API in addition to the current

Re: [Pharo-users] Get OS uptime

2015-03-19 Thread Damien Pollet
/proc are entries in the filesystem, as such I don't see why the file plugin would fail to access them… unless you cannot use block devices and such like any other file? In Unix, everything is a file, except those that have to be special-cased apart? On 19 March 2015 at 13:08, Norbert Hartl

Re: [Pharo-users] Tables in Pillar

2015-03-05 Thread Damien Pollet
AFAIK, LaTeX does not wrap text in table cells unless you explicitly fix the column's width. On 5 March 2015 at 17:21, p...@highoctane.be p...@highoctane.be wrote: how does one makes that in LaTeX? Le 5 mars 2015 15:20, Damien Cassou damien.cas...@gmail.com a écrit : On Feb 27, 2015 3:06

Re: [Pharo-users] BaselineOf vs ConfigurationOf

2015-02-25 Thread Damien Pollet
Thierry or Dale will confirm, but basically that's the gist of it. For git projects, you can specify dependencies to all things that refer to commits in git. So you can depend on a particular commit, on a tag, the tip of a branch… Therefore the release/version management part of metacello in

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Damien Pollet
What if inspectors and workspaces were able to copy-paste object references? When pasting, a new binding would be made with some automatic name. I always wondered why this was not part of Morphic… On 7 February 2015 at 23:52, Hernán Morales Durand hernan.mora...@gmail.com wrote: I see!

Re: [Pharo-users] New book for Pharo :)

2015-01-30 Thread Damien Pollet
Let me demo the release process to the other maintainers, then we'll see ;) On 30 January 2015 at 18:46, Werner Kassens wkass...@libello.com wrote: Hi Damien, useful info indeed, thanks. do you intend to do the same with the big version? werner On 01/30/2015 05:45 PM, Damien Pollet wrote

Re: [Pharo-users] Why single inheritance?

2015-01-28 Thread Damien Pollet
Mostly, multiple inheritance is difficult to implement well in a simple enough form. The only language I know of that has a reasonably usable version of it is Eiffel (probably Nit too, but I don't know enough about it http://nitlanguage.org). There is the diamond inheritance problem, the problem

[Pharo-users] Compatibility of Cypress, FileTree, STIG ?

2015-01-28 Thread Damien Pollet
Hi all, I'm trying to exchange code between VW and Pharo, but STIG does not seem to generate the same properties, and puts comment at the start of method files instead of the method category name, which confuses FileTree on the Pharo end. Any suggestions? -- Damien Pollet type less, do more

  1   2   >