Re: [Pharo-users] BitField

2015-11-19 Thread abdelghani ALIDRA
Thanks Stef. It Seems to be what I am looking for. Abdelghani En date de : Jeu 19.11.15, stepharo a écrit : Objet: Re: [Pharo-users] BitField À: "abdelghani ALIDRA" , "Any question about pharo is welcome" Date: Jeudi 19 novembre 2015, 20h57

Re: [Pharo-users] [ANN][EPHESTOS] ChronosManager a time managment tool

2015-11-19 Thread Dimitris Chloupis
Thanks stef , as I said previously, the leds are just a set of images creating an animation, one for each second. I add stuff to it all the time, its far from v1.0 and I have a lot more to add before its version 1.0 , I think in a year probably will reach version 1.0. Today I added alarm sound th

Re: [Pharo-users] [ANN][EPHESTOS] ChronosManager a time managment tool

2015-11-19 Thread stepharo
This is quite cool. I will have to have a look how you did the led :) In my game I rescued the LEDMorph but there are a lot uglier :) May be you should call it v1.0 Stef Le 18/11/15 02:29, Dimitris Chloupis a écrit : and here is a video tutorial of how to use ChronosManager https://youtu.be/

Re: [Pharo-users] Enable/Disable GTSpotter

2015-11-19 Thread stepharo
Le 18/11/15 13:56, Esteban Lorenzano a écrit : On 18 Nov 2015, at 09:50, Tudor Girba wrote: Hi, Ok, for that problem we already have a solution provided by the Keymapping engine: (KMRepository default globalCategories detect: [ :each | each isKindOf: GTSpotterGlobalShortcut ]) allEntri

Re: [Pharo-users] BitField

2015-11-19 Thread stepharo
Have a look at the chapter on number in deep into pharo. You get some illustrations of bit operations for numbers bitShift: bitAnd: ... Stef Le 16/11/15 21:16, abdelghani ALIDRA a écrit : Hi everybody, I was discussing with Thibault about the performance of some methods defined on set

Re: [Pharo-users] [Pharo-dev] Possible dates for PharoDays 2016

2015-11-19 Thread Alexandre Bergel
No idea if I can attend, but beginning of March is better for me. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Nov 19, 2015, at 3:57 PM, stepharo wrote: > > Hi > > Okay dates woul

Re: [Pharo-users] BitField

2015-11-19 Thread Marcus Denker
Hello, You maybe can use Integers as bitfield: bitField := 0 bitAt: 200 put: 1. executing bitField bitAt: 200 will return 1. The only thing to take care is that it # bitAt:put does not change the object itself, but instead returns a new one. Marcus > On 16 Nov 2015, at 17

Re: [Pharo-users] Array : very weird behavior

2015-11-19 Thread Marcus Denker
Hello, You are changing the “literal array” itself. The #(0 0 0 0) creates an array as part of the compiledMethod and you are changing this. (Yes, many people think that all literals should be immutable…). If you add a #copy it will work. bitArray1 := #(0 0 0 0) copy or create the arr

Re: [Pharo-users] Stuck at lookup implementation in "Building ObjVlisp" tutorial

2015-11-19 Thread stepharo
I checked testNilWhenErrorInLookup "(self selector: #testNilWhenErrorInLookup) run" self assert: (pointClass lookup: #zork) isNil. "The method zork is NOT implement on pointClass" testRaisesErrorSendWhenErrorInLookup "(self selector: #testRaisesErrorSendWhenErrorInLookup) run

Re: [Pharo-users] Stuck at lookup implementation in "Building ObjVlisp" tutorial

2015-11-19 Thread stepharo
Hi edouard I will check as soon as I get some time. I'm new on this mailing list, this is my first mail :-) welcome I'm a student from University of Lille (France). I'm studying this tutorial (I'm using Pharo 4 but it seems not to be a problem): http://sdmeta.gforge.inria.fr/Teaching/ObjVLis

Re: [Pharo-users] More fun with Roassal: 1st iteration of a Roassal Mindmapping tool

2015-11-19 Thread Alexandre Bergel
Looks good You are @embee on Slack right ? :-) Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Nov 19, 2015, at 4:03 PM, Martin Bähr > wrote: > > Excerpts from stepharo's

[Pharo-users] Array : very weird behavior

2015-11-19 Thread abdelghani ALIDRA
Hi everybody, I am experiencing a very weird behavior with Arrays : I writed a test case as follows ; testChange | bitArray1 | bitArray1 := #(0 0 0 0). (1 to: bitArray1 size) do: [ :index ||temp| temp := (bitArray1 at: index) + 1. bitArray1 at: index put: (temp). ]. self assert: bitArray1 = #(

[Pharo-users] More fun with Roassal: 1st iteration of a Roassal Mindmapping tool

2015-11-19 Thread Martin Bähr
Excerpts from stepharo's message of 2015-08-22 09:55:04 +0200: > would be fun to see if you can reuse the algo of roassal. i have taken a stab at that: === view := RTView new. | activenode prevnode | view

[Pharo-users] Possible dates for PharoDays 2016

2015-11-19 Thread stepharo
Hi Okay dates would be 3 & 4 /3 or 31/3 & 1/4 And the location would be at Namur in Belgium Could you tell us if there is a problem for one of these dates? Stef

Re: [Pharo-users] Stuck at lookup implementation in "Building ObjVlisp" tutorial

2015-11-19 Thread Ferlicot D. Cyril
Hi Edward, Le 19/11/2015 13:50, Edouard Delbar a écrit : > Hello everyone, > > I'm new on this mailing list, this is my first mail :-) > > I'm a student from University of Lille (France). I'm studying this > tutorial (I'm using Pharo 4 but it seems not to be a > problem): http://sdmeta.gforge.in

Re: [Pharo-users] How to play audio files with Pharo ?

2015-11-19 Thread Dimitris Chloupis
for the record I also tried wavParser on Ubuntu that fails too Gofer new smalltalkhubUser: 'MerwanOuddane' project: 'WAVParser'; package: 'ConfigurationOfWAVParser'; load. (Smalltalk at: #ConfigurationOfWAVParser) loadBleedingEdge. --> (Smalltalk at: #ALExamplesWAV) exampleBirdChirping Generic f

Re: [Pharo-users] How to play audio files with Pharo ?

2015-11-19 Thread Nicolai Hess
2015-11-19 15:07 GMT+01:00 Dimitris Chloupis : > thank you Esteban, it works on my IMac too :) > > but on Ubuntu I am getting this error > > sound_Start(default) soundStart: snd_add_pcm_handler: Function not > implemented sound_Start(default) soundStart: snd_add_pcm_handler: Function > not impleme

Re: [Pharo-users] How to play audio files with Pharo ?

2015-11-19 Thread Dimitris Chloupis
and how i do that exactly ? On Thu, Nov 19, 2015 at 4:18 PM Nicolai Hess wrote: > 2015-11-19 15:07 GMT+01:00 Dimitris Chloupis : > >> thank you Esteban, it works on my IMac too :) >> >> but on Ubuntu I am getting this error >> >> sound_Start(default) soundStart: snd_add_pcm_handler: Function not

Re: [Pharo-users] How to play audio files with Pharo ?

2015-11-19 Thread Dimitris Chloupis
thank you Esteban, it works on my IMac too :) but on Ubuntu I am getting this error sound_Start(default) soundStart: snd_add_pcm_handler: Function not implemented sound_Start(default) soundStart: snd_add_pcm_handler: Function not implemented On Thu, Nov 19, 2015 at 1:04 PM Esteban Lorenzano wro

[Pharo-users] Direct messaging using Slack

2015-11-19 Thread Alexandre Bergel
Hi! In case you are not aware of it, a great number of the Pharo, Moose, and Roassal community members are on Slack. Slack is a very cool messaging platform. If you want to chat with developers and get instantaneous help on a topic, then Slack simply rocks. More info on: http://pharo.org/commu

[Pharo-users] Stuck at lookup implementation in "Building ObjVlisp" tutorial

2015-11-19 Thread Edouard Delbar
Hello everyone, I'm new on this mailing list, this is my first mail :-) I'm a student from University of Lille (France). I'm studying this tutorial (I'm using Pharo 4 but it seems not to be a problem):  http://sdmeta.gforge.inria.fr/Teaching/ObjVLisp/ObjV.pillar.pdf. I'm working with the "ObjVLis

Re: [Pharo-users] How to play audio files with Pharo ?

2015-11-19 Thread Esteban Lorenzano
> On 18 Nov 2015, at 13:31, Clément Bera wrote: > > PharoSound was not working on Mac on my machine a few month ago. It was > reported to be working on the Raspberry Pie and windows. It works on mine, I made a couple of fixes to make it possible :) > > 2015-11-18 12:23 GMT-03:00 Merwan Oudda