Re: [Pharo-users] Gettext with pharo 3 and seaside 3.1.2

2014-09-08 Thread Alain Busser
Hi, I don't know if it is related but I have problems importing french files inside Pharo 3: Anytime when there is an accentuated character there is an error, and the file is not imported. Even if the character is a quote inside double quotes (like in "it don't work") there is an error message. Ri

Re: [Pharo-users] Math Ontologie on Pharo 3.0

2014-09-09 Thread Alain Busser
; students. >> >> I am suspecting the new compiler or something related does not accepted >> >> accented caracters or something different to ASCII. >> >> >> >> Alain, in your package I noted the sources is not utf-8 but iso-8859-15 >> >> (

Re: [Pharo-users] Strange colour reversal on the Spec site

2014-09-10 Thread Alain Busser
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 ink... Also, all the lines are separated by a darker shade of gray and the script, if it was visible, would appear as a collection of lines rath

[Pharo-users] Scratch in Flash or Phratch?

2014-10-11 Thread Alain Busser
Hello, I must present Scratch to my pupils on Tuesday, and I want to show to them the French and Creole versions. But Scratch is not programmed in Squeak anymore. Rather, it is in Flash. Hence my question: Is there a French version of Phratch? And will there be a creole version before tuesday? Th

Re: [Pharo-users] Scratch in Flash or Phratch?

2014-10-12 Thread Alain Busser
the french > sentences by creole ones. > Then, send me the file, I would be happy to integrate it in the release. > > Cheers, > Jannik > > > 2014-10-12 14:12 GMT+02:00 stepharo : > >> ask jannik directly. >> >> Stef >> >> On 12/10/14 08:03

Re: [Pharo-users] [Ann] Phratch 4.0

2014-10-17 Thread Alain Busser
great news. I finally made my little experiment with Scratch 1.4 (the one under Squeak) and they didn't like to program in Creole just because it is not their Creole (Reunion Island vs Haiti). As they are too lazy to "create the future") I will try to give the job to some who will be punished, as

Re: [Pharo-users] [Ann] Phratch 4.0

2014-10-18 Thread Alain Busser
hment". Besides, when one of them understands that it is the only way to have a software in reunionese creole maybe it will give them some energy, we can still dream... On Sat, Oct 18, 2014 at 6:53 PM, Hilaire wrote: > Le 17/10/2014 14:26, Alain Busser a écrit : > > they are too lazy to

Re: [Pharo-users] Pratsch

2014-10-28 Thread Alain Busser
To understand better the Pharo "philosophy", I would advocate Pharo by example, which helped me a lot to understand how I can display objects in the transcript with Transcript show: (8*7) or to know more of the object with (8*7) inspect (actually I know this not from the book because Hilaire to

Re: [Pharo-users] how do you use scripts?

2014-12-12 Thread Alain Busser
For me, a script is an example for MathsOntologie, which is what I want to run when copied in the Workspace then Alt-D-ed. I distribute them with MathsOntologie and they are not versioned. I have ont script per file, all the scripts are grouped in an "exeamples" folder on disk, but I can not alway

[Pharo-users] a successful success story

2015-02-12 Thread Alain Busser
answer to this. But I insist also to say that these students seem to dislike probability theory too. Finally, some stats about these stats: I can rapidly find the bugs when the text appears in red, and most of the time a point was missing at the end of a line, or a right bracket was missing or misplace

[Pharo-users] Logic in Pharo ?

2015-03-18 Thread Alain Busser
Hello, I am currently working on mechanical means to solve Aristotle's syllogisms. My project is here: https://github.com/AlainBusser/LogicGame (programmed in CoffeeScript for a webApp). When I will present it (in a little more than two months) I plan to solve the same syllogisms with a software t

Re: [Pharo-users] New random generator

2015-03-19 Thread Alain Busser
the method from l'Ecuyer is already used in the texas instruments graphic calculators. But they don't seem to have patented it (I don't know how to check that). Anyway I agree to have more RNGs which can be useful for statistics simulations or kryptography. And I would like to know how one can pl

Re: [Pharo-users] Using VirtualGPU

2015-05-12 Thread Alain Busser
Hi Serge, I made some experiments with GPU computing with JavaScript. I understood that the computings are made forever inside the GPU, so you just throw data and programs once and you let the GPU compute for you. Yet the problem is to read the data once they are computed. With webGL it seems impo

[Pharo-users] a 'doesNotUnderstand' message that I do not understand...

2013-05-14 Thread Alain Busser
Hi all, Exploring the system browser (Pharo 2.0), I see that there exists a class called TextEditorDialogWindow; as this name sounds interesting to me, I want to test one, and I see that there is only one method in the category 'create': this method is called newTextEditorMorph. So, I send the mes

Re: [Pharo-users] a 'doesNotUnderstand' message that I do not understand...

2013-05-15 Thread Alain Busser
So it was that simple! Thanks alot for these messages, now I will be able to make *new* and *classy* things instantly :-D Alain On Tue, May 14, 2013 at 10:21 PM, Chris wrote: > This method is on the instance side of the class and therefore requires > TextEditorDialogWindow new newTextEditorMo

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-16 Thread Alain Busser
Hi, I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0) Alain On Thu, May 16, 2013 at 8:56 PM, Camille Teruel wrote: > > On 16 mai 2013, at 17:59, stephane ducasse wrote: > > yes normally the moose people. > This is strange because eyesee is in M

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-17 Thread Alain Busser
e using PetitParser and it loads in 20. > so where you took the code from? > > The official repositories are on SmalltalkHub/Moose > > Stef > > On May 16, 2013, at 8:27 PM, Alain Busser wrote: > > Hi, > > I have a similar problem with PetitParser (loads well under P

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-17 Thread Alain Busser
, May 17, 2013 at 9:11 PM, Alain Busser wrote: > I made > > Gofer new > renggli: 'petit'; > package: 'ConfigurationOfPetitParser'; > load. > (Smalltalk at: #ConfigurationOfPetitParser) > perform: #loadDefault. > > > The tool is

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-18 Thread Alain Busser
evelopment > > Cheers, > Doru > > > On May 17, 2013, at 7:23 PM, Alain Busser wrote: > > > > > OK, I used Monticello with the Moose address, and downloaded > petitsmalltalk and PetitParser, as well as configuration files. I made > > > > (Smalltalk a

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-19 Thread Alain Busser
/pharo $JOB_NAME.image test --junit-xml-output "Petit.*" > mv ./pharo-vm/PharoV20.sources ./ > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources > > Cheers, > Doru > > > > On May 18, 2013, at 7:56 PM, Alain Busser wrote: > > > Done,

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-20 Thread Alain Busser
up. > > What do you do exactly when you are building your image? > > Also, could you try following the instructions from the previous mail and > let me know if it still fails? > > Cheers, > Doru > > > On May 19, 2013, at 1:24 PM, Alain Busser wrote: > > >

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-21 Thread Alain Busser
somewhere else but where? On Mon, May 20, 2013 at 10:37 PM, Tudor Girba wrote: > Hi, > > On May 20, 2013, at 6:05 PM, Alain Busser wrote: > > > I dropped the image on Pharo and I still have this illegal subtraction > message. > > > > I don't build anyth

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-21 Thread Alain Busser
#x27;PetitParser'; package: 'ConfigurationOfPetitParser'; load. and that's all! With a fresh image, I will have to load Athens and MathsOntologie again, won't I? Plus the changes that I already made to MathsOntologie... On Tue, May 21, 2013 at 4:56 PM, stephane ducasse

Re: [Pharo-users] [ANN] BioSmalltalk published in Bioinformatics Journal

2013-07-19 Thread Alain Busser
That's great, even faster than bioPython, and thanks to Petit Parser. That's great! I hope it will be on good place on Pharo's web site... On Wed, Jul 17, 2013 at 11:14 PM, Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > Hi Marcus, > > Thank you for the comments, I have been checking

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-04 Thread Alain Busser
Hi, as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-) Alain On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar wrote:

Re: [Pharo-users] [ANN] Phratch 1.0beta

2013-12-17 Thread Alain Busser
I think Hilaire could help here, as he knows how to make a Cog work under Android; and for me, the main advantage Scratch has on other programming languages, is that the (virtual) keyboard is not used much, so that one can, at last, program with a tablet... Alain On Tue, Dec 17, 2013 at 2:08 PM,

Re: [Pharo-users] towards moose in the pharo ide (gtinspector / gtdebugger)

2013-12-31 Thread Alain Busser
OK I understood the message :-D I plan to test the Moose image with MathsOntologie and you will get plenty of stupid questions like "how can I do this?" or "why that doesn't work?", after all this is all that you deserve [?] This is my peculiar way to wish to you and all the team an happy and suc

Re: [Pharo-users] Pharo on Android - is it available?

2013-12-31 Thread Alain Busser
Thank you for making Amber known, but you forgot a link to it: I guess you talk about this: http://amber-lang.net/ Alain On Tue, Dec 31, 2013 at 9:35 PM, kilon alios wrote: > I have tried squeak on my android devices, it basically runs on android > yes but it does not behave well with multi to

Re: [Pharo-users] Life, Ukraine, Developers

2014-01-25 Thread Alain Busser
My first thought was that Ukraine is famous for the beauty of its women (as sang Ringo Starr "the Ukraine girls really knock me out") and I didn't dare to write it here, for fear that the women on this list tackle me as sexist. Then, I realized that there are maybe only men here, am I wrong (that's

Re: [Pharo-users] iStoa, some new

2014-02-02 Thread Alain Busser
Hi Hilaire, The instructions are written in small characters, which supposes that the child who tries the exercises is rather old; yet before a child is able to read complete sentences like this, he/she learns the numbers. So I wonder if your application would not benefit from voice synthesis. Wh

Re: [Pharo-users] iStoa, some new

2014-02-02 Thread Alain Busser
b 2014, at 17:39, Alain Busser wrote: > > Hi Hilaire, > > The instructions are written in small characters, which supposes that the > child who tries the exercises is rather old; yet before a child is able to > read complete sentences like this, he/she learns the number

Re: [Pharo-users] Pharo 3.0 image shrink

2014-03-16 Thread Alain Busser
Welcome to the club ;-) Alain On Sun, Mar 16, 2014 at 10:22 PM, Hilaire Fernandes < hilaire.fernan...@gmail.com> wrote: > I will, but I need to reiterate because I removed a bit two much. > > Hilaire > > Le 16/03/2014 11:21, Pharo4Stef a écrit : > > could you let me know the list of classes you

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-16 Thread Alain Busser
First of all, you could simplify your code with dotProduct, writing dot2 := p1 dotProduct: p2. But maybe you just need ((p1 normalized) dotProduct: (p2 normalized)) arcCos ;-) You can also explore the polar coordinates... Alain On Sun, Mar 16, 2014 at 8:01 PM, MartinW wrote: > Hell

Re: [Pharo-users] Question on style

2014-04-02 Thread Alain Busser
As solving an equation is basically giving the set of its solutions, I prefer to use a set to solve the equation.Instead of the OrederedCollection of course. It simplifies the algorithm if the discriminant is 0, because adding two times the same root yields a set with only one element, not the same

Re: [Pharo-users] Question on style

2014-04-02 Thread Alain Busser
Yes, and if there are no solution, you get an empty set instead of an error message. I find it more coherent, and simpler to use. On Wed, Apr 2, 2014 at 9:48 PM, nacho <0800na...@gmail.com> wrote: > Alain, > Very good idea. A Set it's much better than an OrderedCollection. Already > changed that

Re: [Pharo-users] a Pharo talk from a ruby conference

2014-04-28 Thread Alain Busser
Also, Ruby is famous for these methods: *select *reject *collect do these names not remind you something ;-) ? Alain On Mon, Apr 28, 2014 at 8:12 PM, Marcus Denker wrote: > … more a Smalltalk one using Pharo: > > MountainWest RubyConf 2014 > > Noel Rappin: "But Really, You Should Learn Smallt

Re: [Pharo-users] Slowness question

2014-06-05 Thread Alain Busser
What does the profiler say? Alain On Thu, Jun 5, 2014 at 1:15 AM, Hilaire Fernandes < hilaire.fernan...@gmail.com> wrote: > Hi, > > > Programmed sketch in DrGeo can be animated, for example like the script > bellow. > The "canvas do:" message forks the block so user is not blocked. > At #udpate

Re: [Pharo-users] A question about sets

2014-06-15 Thread Alain Busser
Hi Fabien and welcome, you just discovered this phenomenon: http://en.wikipedia.org/wiki/Birthday_problem and you can be proud having discovered it by yourself! Alain On Sun, Jun 15, 2014 at 12:12 AM, Hilaire Fernandes < hilaire.fernan...@gmail.com> wrote: > Hi Fabien, > > As other already ex

Re: [Pharo-users] A question about sets

2014-06-25 Thread Alain Busser
About the birthday problem, I already pulished something that I had exeperimented in the classroom, but it is in French: http://irem.univ-reunion.fr/spip.php?article618 (clic on "problème des anniversaires" tab). The idea is that if you add say 30 times a "365 atRandom" to a bag (instead of a set)

Re: [Pharo-users] A question about sets

2014-06-26 Thread Alain Busser
e did here: http://www.epi.asso.fr/revue/articles/a1211b.htm (I had forgotten this) Alain On Thu, Jun 26, 2014 at 8:21 PM, Hilaire Fernandes < hilaire.fernan...@gmail.com> wrote: > Great! > Now I wonder how it could be used within Dr. Geo. > > Thanks > > Hilaire > >

Re: [Pharo-users] A question about sets

2014-06-27 Thread Alain Busser
You're right but it should not have a fixed length because I want to remove numbers from it. I guess an SortedCollection is the best way to retrieve the next prime number. And the exercise is a good way to discover select and reject... Alain On Fri, Jun 27, 2014 at 1:41 PM, hilaire wrote: > Wh

Re: [Pharo-users] A question about sets

2014-06-28 Thread Alain Busser
t; > Il y a une version dispo? > > Phil > Le 25 juin 2014 18:33, "Alain Busser" a écrit : > > About the birthday problem, I already pulished something that I had >> exeperimented in the classroom, but it is in French: >> http://irem.univ-reunion.fr/spip.php

Re: [Pharo-users] Number is not accepted by UI

2014-07-16 Thread Alain Busser
That's where the Inspector comes in: To debug, it is good to insert a self width inspect so that the inspector opens up and reveals what exactly the width is. OK, it is a number; then open the browser and look at the number's methods; or in the finder, try 2 . -2 in the examples... Pharo is excel

Re: [Pharo-users] Number is not accepted by UI

2014-07-16 Thread Alain Busser
mbers may be negated ->- self width. > > More helpful would have been something like: „only literals may be negated > with - use negated instead“. > > I was irritated and on the wrong track because I was absolutely sure that > self width is a number. > > Regards > > Ma

Re: [Pharo-users] The fourth R

2014-09-07 Thread Alain Busser
Strangely, I am preparing a Python session for pupils who are supposed ti know almost nothing about programming; and I finally came up with the turtle module! I realized that *COBOL has been invented so that people who work in banks and do not know how to program, can program *Basic was supposed t