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-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] 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] 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] 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] Strange colour reversal on the Spec site

2014-09-11 Thread Damien Pollet
Issue reported https://github.com/spec-framework/spec-framework.github.io/issues/2 On 11 September 2014 06:07, Alain Busser wrote: > Hi, > > I can confirm that this page looks really strange: > http://spec.st/docs/own-model/ > > At the end, only the word "bindings" appears, the rest is security

[Pharo-users] BabyMock2: Stubbing individual methods from existing instance?

2014-10-28 Thread Damien Pollet
echnically possible in BabyMock2, since it uses the same approach as Ghost proxies, but the readme does not show how… is it currently possible ? (if it's not there, consider this an official feature request :) -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

Re: [Pharo-users] BabyMock2: Stubbing individual methods from existing instance?

2014-10-29 Thread Damien Pollet
Well, I'm porting existing code with tests, so I would prefer to avoid changing how they work. Now I might as well consider it a rewrite… On 28 October 2014 21:49, Attila Magyar wrote: > This is not supported. BabyMock is designed to test the message flow between > objects, and not the internal i

Re: [Pharo-users] Memoization Question

2014-11-04 Thread Damien Pollet
mutate a literal array ? :D On 3 November 2014 16:10, p...@highoctane.be wrote: > How can I do memoization in Pharo? > > I mean, a generic mechanism that will help me wrap the caching around the > method invocations / messages. > > I have expensive calls that do not have to refresh their results

Re: [Pharo-users] Citizen example for manipulating a bibtex file

2014-11-18 Thread Damien Pollet
== >>>>> | bibFile bibliography | >>>>> bibFile := ((FileLocator documents / 'U/Libertadores/Grafoscopio') >>>>> children >>>>> detect: [:each | each basename endsWith: 'bib' ]) contents. >>>>>

Re: [Pharo-users] Citizen example for manipulating a bibtex file

2014-11-20 Thread Damien Pollet
or Zotero > bibliographic integration via BibTeX. > > I'll keep you posted on my experiments on Zotero integration in using Pharo > for open/citizen/garage science & research writing. > > Cheers, > > Offray > > El 18/11/14 a las #4, Damien Pollet escribió: >

Re: [Pharo-users] Extending GTSpotter

2014-12-11 Thread Damien Pollet
> Cmd+Enter: ‘Package' Doru, your blog post does not mention this piece of information: how to invoke GTSpotter It does not seem to be mentioned in your announcement email either; I found it here after going through threads talking about GTSpotter. Nobody else asked for it, so I'm guessing it was

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Damien Pollet
e open that lists useful >>> tools and their shortcuts? Plus put new tools and their shortcuts prominent >>> in the release notes for each new release? (cause us old timers don’t look >>> at those workspaces anymore ;-) ). >>> >>>> On Dec 11, 2014, at

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Damien Pollet
complicated and we need to simplify it. > > Cheers, > Doru > > > > On Fri, Jan 9, 2015 at 2:19 PM, Damien Pollet > wrote: >> >> Back to this thread! >> >> I'm not completely fond of the way GTSpotter matches candidates using >> just #incl

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Damien Pollet
tand the question. A duplication of what? > > Doru > > On Fri, Jan 9, 2015 at 3:48 PM, Damien Pollet > wrote: >> >> I've seen #includesSubstring: in >> GTSpotterCandidatesProcessor>>is:matching: as well… is it duplication >> or a legitimately different use? (

[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

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 t

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

2015-01-30 Thread Damien Pollet
I did a proper release of the PDF book on Github: https://github.com/SquareBracketAssociates/NumericalMethods/releases Try the big green button there, or direct link to the PDF: https://github.com/SquareBracketAssociates/NumericalMethods/releases/download/snapshot-2015-01-26/NumericalMethods-jan20

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

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 wrote: > I see! something like? > > self addMor

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 Confi

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 wrote: > how does one makes that in LaTeX? > Le 5 mars 2015 15:20, "Damien Cassou" a écrit : > > >> On Feb 27, 2015 3:06 AM, "p...@highoctane.be" wrote: >>

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 wrot

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 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 string syntax.

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 wrote: > > Am 07.04.2015 um 21:31 schrieb Peter Uhnák : > > > 'BormParticipant' allButFirst: 4 > > ('BormParticipant' splitOn: 'Borm

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

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] 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] 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] 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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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…

[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] 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

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] 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] 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] 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] 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] 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] 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] [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] 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] [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] 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] 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] 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] 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] 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] 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] [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] [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
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] 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] 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] 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] 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 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 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 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] 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] 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] 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] [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] 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] 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] 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] [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] [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] [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-07 Thread Damien Pollet
ks and MOOC. -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet

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] 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] 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] [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] 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-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] [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] 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] 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] [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] 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

  1   2   >