Re: [Pharo-users] SerialPlugin on MacOS

2014-02-20 Thread Bernat Romagosa
Hi list,

I've been too busy to look into this lately, but today I tried the latest
MacOS version and I still get the same PrimitiveFailed error when trying to
write a byte array through the serial port.

Has there been any further development on this?

Thanks!

Best,
Bernat.


2013-11-12 13:07 GMT+01:00 Bernat Romagosa tibabenfortlapala...@gmail.com:

 Thanks, Esteban.

 Anything I can do to help, I'm available :)


 2013/11/12 Esteban Lorenzano esteba...@gmail.com


 On Nov 12, 2013, at 5:58 AM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I can confirm I still got the same issue after replacing my VM by the
 vmLatest found at files.pharo.org/vm/pharo/mac under the name
 Pharo-VM-mac-latest.zip


 I will check next week :)


 When trying to write a byte array to the serial port (aSerialPort
 nextPutAll: #[249]), SerialPort fails with a primitiveFailed: primitive
 #primWritePortByName:from:startingAt:count:

 The port does open correctly, though.


 2013/11/11 Bernat Romagosa tibabenfortlapala...@gmail.com

 Thanks guys,

 files.pharo.org is down right now

 I'll try with a newer VM as soon as it's up again :)


 2013/11/9 Stéphane Ducasse stephane.duca...@inria.fr


 On Nov 9, 2013, at 2:19 PM, Camillo Bruni camillobr...@gmail.com
 wrote:

  Luc proposed a pull request on github
  - got validated by travis
  - I integrated it into the master branch
  - I pushed the changes to the develop branch
 
  so the vmLatest should include the fixes

 I like the process and that esteban releases some steam :)

 Stef

 
  On 2013-11-09, at 13:56, Stéphane Ducasse stephane.duca...@inria.fr
 wrote:
  Esteban
 
  we should organize some sessions where you show to people what you
 are doing and see how we
  should distribute and share load.
 
  Stef
 
  On Nov 9, 2013, at 12:29 PM, Esteban Lorenzano esteba...@gmail.com
 wrote:
 
  Hi,
 
  it is stable but AFAIK it does not includes the latest fix for
 SerialPlugin.
  So many things to do when I come back... :)
 
  Esteban
 
 
  On Nov 5, 2013, at 8:27 AM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:
 
  Hi Luc,
 
  Smalltalk vm version reports:
 
  'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:
 a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
  NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:
 a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
  git://gitorious.org/cogvm/blessed.git Commit:
 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100
 By: Esteban Lorenzano esteba...@gmail.com Jenkins build #14535
  '
 
  It's the one listed as latest at the downloads section in
 pharo-project.org
 
  Cheers,
  Bernat.
 
 
  2013/11/5 Luc Fabresse luc.fabre...@gmail.com
 
 
  2013/11/5 Luc Fabresse luc.fabre...@gmail.com
  Hi Bernat,
 
   Which VM version?
   because MacOsX and Linux now use the same C part of the
 SerialPlugin.
   So if it works on Linux, it be the same on OsX.
   but I have not tried.
 
  yes we only use Linux here for serial stuff.
 
 
  do you use the right protName?
 
  Cheers,
 
  Luc
 
 
  2013/11/5 Bernat Romagosa tibabenfortlapala...@gmail.com
  Hi list,
 
  Developing a multi-platform application is not so easy when you
 have to deal with hardware it seems...
 
  So I'm having this PrimitiveFailed error on MacOS, using the
 latest stable VM listed on the pharo-project website on Pharo20:
 
  PrimitiveFailed: primitive
 #primWritePortByName:from:startingAt:count: in SerialPort failed
 
  The same code works fine both in Gnu/Linux and Win32, so I'm
 guessing it's a problem with the serial plugin included in this VM. Any
 ideas?
 
  Cheers,
  Bernat.
 
  --
  Bernat Romagosa.
 
 
 
 
 
  --
  Bernat Romagosa.
 
 
 
 





 --
 Bernat Romagosa.




 --
 Bernat Romagosa.





 --
 Bernat Romagosa.




-- 
Bernat Romagosa.


Re: [Pharo-users] SerialPlugin on MacOS

2014-02-20 Thread Esteban Lorenzano
Hi Bernat, 

yes, I’m committed to have it ready before Pharo3 release.

Esteban

On 20 Feb 2014, at 12:54, Bernat Romagosa tibabenfortlapala...@gmail.com 
wrote:

 Hi list,
 
 I've been too busy to look into this lately, but today I tried the latest 
 MacOS version and I still get the same PrimitiveFailed error when trying to 
 write a byte array through the serial port.
 
 Has there been any further development on this?
 
 Thanks!
 
 Best,
 Bernat.
 
 
 2013-11-12 13:07 GMT+01:00 Bernat Romagosa tibabenfortlapala...@gmail.com:
 Thanks, Esteban.
 
 Anything I can do to help, I'm available :)
 
 
 2013/11/12 Esteban Lorenzano esteba...@gmail.com
 
 On Nov 12, 2013, at 5:58 AM, Bernat Romagosa tibabenfortlapala...@gmail.com 
 wrote:
 
 I can confirm I still got the same issue after replacing my VM by the 
 vmLatest found at files.pharo.org/vm/pharo/mac under the name 
 Pharo-VM-mac-latest.zip
 
 I will check next week :) 
 
 
 When trying to write a byte array to the serial port (aSerialPort 
 nextPutAll: #[249]), SerialPort fails with a primitiveFailed: primitive 
 #primWritePortByName:from:startingAt:count:
 
 The port does open correctly, though.
 
 
 2013/11/11 Bernat Romagosa tibabenfortlapala...@gmail.com
 Thanks guys,
 
 files.pharo.org is down right now
 
 I'll try with a newer VM as soon as it's up again :)
 
 
 2013/11/9 Stéphane Ducasse stephane.duca...@inria.fr
 
 On Nov 9, 2013, at 2:19 PM, Camillo Bruni camillobr...@gmail.com wrote:
 
  Luc proposed a pull request on github
  - got validated by travis
  - I integrated it into the master branch
  - I pushed the changes to the develop branch
 
  so the vmLatest should include the fixes
 
 I like the process and that esteban releases some steam :)
 
 Stef
 
 
  On 2013-11-09, at 13:56, Stéphane Ducasse stephane.duca...@inria.fr 
  wrote:
  Esteban
 
  we should organize some sessions where you show to people what you are 
  doing and see how we
  should distribute and share load.
 
  Stef
 
  On Nov 9, 2013, at 12:29 PM, Esteban Lorenzano esteba...@gmail.com 
  wrote:
 
  Hi,
 
  it is stable but AFAIK it does not includes the latest fix for 
  SerialPlugin.
  So many things to do when I come back... :)
 
  Esteban
 
 
  On Nov 5, 2013, at 8:27 AM, Bernat Romagosa 
  tibabenfortlapala...@gmail.com wrote:
 
  Hi Luc,
 
  Smalltalk vm version reports:
 
  'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: 
  a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
  NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: 
  a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
  git://gitorious.org/cogvm/blessed.git Commit: 
  412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 
  +0100 By: Esteban Lorenzano esteba...@gmail.com Jenkins build #14535
  '
 
  It's the one listed as latest at the downloads section in 
  pharo-project.org
 
  Cheers,
  Bernat.
 
 
  2013/11/5 Luc Fabresse luc.fabre...@gmail.com
 
 
  2013/11/5 Luc Fabresse luc.fabre...@gmail.com
  Hi Bernat,
 
   Which VM version?
   because MacOsX and Linux now use the same C part of the SerialPlugin.
   So if it works on Linux, it be the same on OsX.
   but I have not tried.
 
  yes we only use Linux here for serial stuff.
 
 
  do you use the right protName?
 
  Cheers,
 
  Luc
 
 
  2013/11/5 Bernat Romagosa tibabenfortlapala...@gmail.com
  Hi list,
 
  Developing a multi-platform application is not so easy when you have to 
  deal with hardware it seems...
 
  So I'm having this PrimitiveFailed error on MacOS, using the latest 
  stable VM listed on the pharo-project website on Pharo20:
 
  PrimitiveFailed: primitive #primWritePortByName:from:startingAt:count: 
  in SerialPort failed
 
  The same code works fine both in Gnu/Linux and Win32, so I'm guessing 
  it's a problem with the serial plugin included in this VM. Any ideas?
 
  Cheers,
  Bernat.
 
  --
  Bernat Romagosa.
 
 
 
 
 
  --
  Bernat Romagosa.
 
 
 
 
 
 
 
 
 
 -- 
 Bernat Romagosa.
 
 
 
 -- 
 Bernat Romagosa.
 
 
 
 
 -- 
 Bernat Romagosa.
 
 
 
 -- 
 Bernat Romagosa.



Re: [Pharo-users] SerialPlugin on MacOS

2014-02-20 Thread Bernat Romagosa
Hi Esteban!

Oh, good to know!

The offer stays on, I can't help much more than testing, but I'm available
for anything you need me to do :)

Gracias!
Bernat.


2014-02-20 13:30 GMT+01:00 Esteban Lorenzano esteba...@gmail.com:

 Hi Bernat,

 yes, I’m committed to have it ready before Pharo3 release.

 Esteban

 On 20 Feb 2014, at 12:54, Bernat Romagosa tibabenfortlapala...@gmail.com
 wrote:

 Hi list,

 I've been too busy to look into this lately, but today I tried the latest
 MacOS version and I still get the same PrimitiveFailed error when trying to
 write a byte array through the serial port.

 Has there been any further development on this?

 Thanks!

 Best,
 Bernat.


 2013-11-12 13:07 GMT+01:00 Bernat Romagosa tibabenfortlapala...@gmail.com
 :

 Thanks, Esteban.

 Anything I can do to help, I'm available :)


 2013/11/12 Esteban Lorenzano esteba...@gmail.com


 On Nov 12, 2013, at 5:58 AM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I can confirm I still got the same issue after replacing my VM by the
 vmLatest found at files.pharo.org/vm/pharo/mac under the name
 Pharo-VM-mac-latest.zip


 I will check next week :)


 When trying to write a byte array to the serial port (aSerialPort
 nextPutAll: #[249]), SerialPort fails with a primitiveFailed: primitive
 #primWritePortByName:from:startingAt:count:

 The port does open correctly, though.


 2013/11/11 Bernat Romagosa tibabenfortlapala...@gmail.com

 Thanks guys,

 files.pharo.org is down right now

 I'll try with a newer VM as soon as it's up again :)


 2013/11/9 Stéphane Ducasse stephane.duca...@inria.fr


 On Nov 9, 2013, at 2:19 PM, Camillo Bruni camillobr...@gmail.com
 wrote:

  Luc proposed a pull request on github
  - got validated by travis
  - I integrated it into the master branch
  - I pushed the changes to the develop branch
 
  so the vmLatest should include the fixes

 I like the process and that esteban releases some steam :)

 Stef

 
  On 2013-11-09, at 13:56, Stéphane Ducasse stephane.duca...@inria.fr
 wrote:
  Esteban
 
  we should organize some sessions where you show to people what you
 are doing and see how we
  should distribute and share load.
 
  Stef
 
  On Nov 9, 2013, at 12:29 PM, Esteban Lorenzano esteba...@gmail.com
 wrote:
 
  Hi,
 
  it is stable but AFAIK it does not includes the latest fix for
 SerialPlugin.
  So many things to do when I come back... :)
 
  Esteban
 
 
  On Nov 5, 2013, at 8:27 AM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:
 
  Hi Luc,
 
  Smalltalk vm version reports:
 
  'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:
 a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
  NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:
 a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
  git://gitorious.org/cogvm/blessed.git Commit:
 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100
 By: Esteban Lorenzano esteba...@gmail.com Jenkins build #14535
  '
 
  It's the one listed as latest at the downloads section in
 pharo-project.org
 
  Cheers,
  Bernat.
 
 
  2013/11/5 Luc Fabresse luc.fabre...@gmail.com
 
 
  2013/11/5 Luc Fabresse luc.fabre...@gmail.com
  Hi Bernat,
 
   Which VM version?
   because MacOsX and Linux now use the same C part of the
 SerialPlugin.
   So if it works on Linux, it be the same on OsX.
   but I have not tried.
 
  yes we only use Linux here for serial stuff.
 
 
  do you use the right protName?
 
  Cheers,
 
  Luc
 
 
  2013/11/5 Bernat Romagosa tibabenfortlapala...@gmail.com
  Hi list,
 
  Developing a multi-platform application is not so easy when you
 have to deal with hardware it seems...
 
  So I'm having this PrimitiveFailed error on MacOS, using the
 latest stable VM listed on the pharo-project website on Pharo20:
 
  PrimitiveFailed: primitive
 #primWritePortByName:from:startingAt:count: in SerialPort failed
 
  The same code works fine both in Gnu/Linux and Win32, so I'm
 guessing it's a problem with the serial plugin included in this VM. Any
 ideas?
 
  Cheers,
  Bernat.
 
  --
  Bernat Romagosa.
 
 
 
 
 
  --
  Bernat Romagosa.
 
 
 
 





 --
 Bernat Romagosa.




 --
 Bernat Romagosa.





 --
 Bernat Romagosa.




 --
 Bernat Romagosa.





-- 
Bernat Romagosa.


Re: [Pharo-users] Spec and an application menu

2014-02-20 Thread kmo
Great to see that application menus have arrived in Spec! Many thanks
Benjamin. I suppose it shows how well Spec has been designed and coded that
the menus could be added so quickly.



--
View this message in context: 
http://forum.world.st/Spec-and-an-application-menu-tp4744164p4745357.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] Contact for pharo association?

2014-02-20 Thread Johan Fabry
Hi all,

whom do I need to mail for questions regarding the pharo association and 
billing? The association web site has no contact information (or at least I 
cannot find it).

Also, I think it would be good to add contact information to the association 
web site. (Or make it more prominent.)

--- Save our in-boxes! http://emailcharter.org ---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile




Re: [Pharo-users] Dowser edges

2014-02-20 Thread Hernán Morales Durand
I know one of the guys in Object Profile was working on this feature before
his vacations, maybe you could check in a week or so. Not a cool solution
but right now if you click on each item lines will stay there.

Cheers,

Hernán



2014-02-18 16:35 GMT-03:00 rosariosm rosariosantamari...@gmail.com:

 Hi all,

 Is there a way in dowser to open a builder wich edges are immediately shown
 instead of appearing when you pass the mouse over the different nodes? I
 want to create a sort of static image.

 Thanks,
 Rosario



 --
 View this message in context:
 http://forum.world.st/Dowser-edges-tp4744705.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




[Pharo-users] neo json and valueSchema for integer attributes ...

2014-02-20 Thread itli...@schrievkrom.de
I have a class with an instance attribute x and this one contains an
integer value.

No when exporting this to json I want to write a string instead of this
number to the json string ...

neoJsonMapping: mapper
  mapper for: self do: [ :mapping |
(mapping mapInstVar: #x to: 'x') valueSchema: #AsString.
  ].

  mapper for: #AsString customDo: [ :mapping |
mapping encoder: [ :anInteger | x asString ].
mapping decoder: [ :aString | ... ] ].

But whatever I do ... only numbers are written out ... and yes of course
I could add additional accessors doing the conversion.

-- 
Marten Feldtmann