[Pharo-users] [PhD] Opening for an Internship/PhD on Refactoring

2015-11-26 Thread Thierry Goubier
Hi all,

I have an opening on a PhD subject on refactoring for embedded software
(start 10/2016), with a 6 month internship before, at CEA List.

The PhD title is : 'Reuse of embedded sofware code artefacts by
Refactoring' and concern itself with the evolution of embedded software
when targetting new parallel embedded platforms or evaluation platforms,
and how this can be expressed and supported by domain-specific Refactorings.

The internship is about a practical study of the changes undertaken by
embedded software code when it is evaluated and re-architectured/optimised
in industrial projects undertaken by the laboratory.

Both take place at CEA List, LCE lab, in Saclay (SW of Paris), in a
laboratory known for its research in simulation of Systems on Chip (SoC),
SoC design, compilation for manycores, and neural networks architectures.
CEA is a fair employer for internships and PhD students, with a higher than
average salary and significant benefits.

Interested candidates should contact me.

Regards,

Thierry Goubier,
Research Engineer,
CEA List, LCE


[Pharo-users] catching exceptions

2015-11-26 Thread abdelghani ALIDRA
Hi everyBody,
I know there is some kind of exceptions handling mechanism  in Pharo but I cant 
exactly  remember where to find it.Actually, I would like to execute specific 
code if atRandomis called on an empty Array or Collection.I probably can still 
override errorEmptyCollection but maybe there is another (less radical) way.And 
by the way, Would it be quicker to use exception handling then just testing the 
Collection before calling atRandom.
Thanks
Abdelghani 

Re: [Pharo-users] catching exceptions

2015-11-26 Thread Skip Lentz
Hi, you can use BlockClosure>>on:do:, like this:

[ #() atRandom ] on: Exception do: [ 1 ].

Personally, I would check the collection to be empty before calling.

> On Nov 26, 2015, at 1:33 PM, abdelghani ALIDRA  wrote:
> 
> Hi everyBody,
> 
> I know there is some kind of exceptions handling mechanism  in Pharo but I 
> cant exactly  remember where to find it.
> Actually, I would like to execute specific code if atRandomis called on an 
> empty Array or Collection.
> I probably can still override errorEmptyCollection but maybe there is another 
> (less radical) way.
> And by the way, Would it be quicker to use exception handling then just 
> testing the Collection before calling atRandom.
> 
> Thanks
> 
> Abdelghani 



Re: [Pharo-users] Pharo RDBMS Support Survey

2015-11-26 Thread Offray Vladimir Luna Cárdenas

Esteban,

I can confirm Jimmie's bug report. Two different rows can not have the 
same column value. Please check and correct this and I will fill out and 
socialize the survey (but the smalltalkers I know are mostly here).


Cheers,

Offray

On 25/11/15 23:21, Jimmie Houchin wrote:

I attempted to answer the survey.

Question 6 behaved strangely. It would only allow answers to each 
question if each answer was a different answer. It would not allow 
more than one good, or more than one very good, or more than one of 
any of them.


This does not seem like expected behavior. So I stopped and did not 
proceed.


Thanks.

Jimmie


On 11/25/2015 09:02 PM, Esteban A. Maringolo wrote:

Hello all,

I just created this survey (https://goo.gl/pcc9u8) to collect
information about the users of RDBMS in Pharo.

Please promote it in the social networks, so I can get as many
responses as possible.

URL: https://goo.gl/pcc9u8

I'll share the results in a month or before if I get 100 responses. :)


Thank you!



Esteban A. Maringolo










Re: [Pharo-users] Pharo RDBMS Support Survey

2015-11-26 Thread Esteban A. Maringolo
Thank you for the feedback. I fixed it, a checkbox was marked by accident.

Regards!
Esteban A. Maringolo


2015-11-26 9:41 GMT-03:00 Offray Vladimir Luna Cárdenas :
> Esteban,
>
> I can confirm Jimmie's bug report. Two different rows can not have the same
> column value. Please check and correct this and I will fill out and
> socialize the survey (but the smalltalkers I know are mostly here).
>
> Cheers,
>
> Offray
>
>
> On 25/11/15 23:21, Jimmie Houchin wrote:
>>
>> I attempted to answer the survey.
>>
>> Question 6 behaved strangely. It would only allow answers to each question
>> if each answer was a different answer. It would not allow more than one
>> good, or more than one very good, or more than one of any of them.
>>
>> This does not seem like expected behavior. So I stopped and did not
>> proceed.
>>
>> Thanks.
>>
>> Jimmie
>>
>>
>> On 11/25/2015 09:02 PM, Esteban A. Maringolo wrote:
>>>
>>> Hello all,
>>>
>>> I just created this survey (https://goo.gl/pcc9u8) to collect
>>> information about the users of RDBMS in Pharo.
>>>
>>> Please promote it in the social networks, so I can get as many
>>> responses as possible.
>>>
>>> URL: https://goo.gl/pcc9u8
>>>
>>> I'll share the results in a month or before if I get 100 responses. :)
>>>
>>>
>>> Thank you!
>>>
>>>
>>>
>>> Esteban A. Maringolo
>>>
>>
>>
>>
>
>



[Pharo-users] Pharo Consortium New Gold Member: Thales

2015-11-26 Thread marcus . denker
The Pharo Consortium is very happy to announce that Thales 
has joined the Consortium as an Gold Member.

About
- Thales: https://www.thalesgroup.com
- Pharo Consortium: http://consortium.pharo.org

The goal of the Pharo Consortium is to allow companies and institutions to
support the ongoing development and future of Pharo.

Individuals can support Pharo via the Pharo Association:

  http://association.pharo.org



Re: [Pharo-users] catching exceptions

2015-11-26 Thread abdelghani ALIDRA
Hi Skip, 
It is working fine for me
Thank you. 
Abdelghani

  De : Skip Lentz 
 À : abdelghani ALIDRA ; Any question about pharo is 
welcome  
 Envoyé le : Jeudi 26 novembre 2015 13h38
 Objet : Re: [Pharo-users] catching exceptions
   
Hi, you can use BlockClosure>>on:do:, like this:
[ #() atRandom ] on: Exception do: [ 1 ].
Personally, I would check the collection to be empty before calling.



On Nov 26, 2015, at 1:33 PM, abdelghani ALIDRA  wrote:
Hi everyBody,
I know there is some kind of exceptions handling mechanism  in Pharo but I cant 
exactly  remember where to find it.Actually, I would like to execute specific 
code if atRandomis called on an empty Array or Collection.

I probably can still override errorEmptyCollection but maybe there is another 
(less radical) way.And by the way, Would it be quicker to use exception 
handling then just testing the Collection before calling atRandom.
Thanks
Abdelghani 



 

[Pharo-users] Spec: Binding widgets how to

2015-11-26 Thread Offray Vladimir Luna Cárdenas

Hi,

I'm starting to migrate my grafoscopio interface from only GT to 
Spec-Glamorous. I have kind of a working layout as you can see:




and now I want to bind the different widgets so when I select a tree 
node I can show/edit its title and contents. I have read the Spec 
documentation on how to do this [1] and the ListSelectionModel code from 
Spec-Examples, but seems I'm missing something.


[1] http://spec.st/docs/interactions/

So, I have a

GrafoscopioGUI>>initializePresenter
tree whenSelectedItemChanged: [ self updateHeader ]

and

GrafoscopioGUI>>updateHeader
"update the displayed text associated to the header"

^ nodeHeader text: tree selectedItem.


but when I move on the tree, nothing happens in the header panel at the 
bottom.


What I'm missing?

Thanks,

Offray


Re: [Pharo-users] Spec: Binding widgets how to

2015-11-26 Thread webwarrior
Try #whenHighlightedItemChanged: method.

I remember that distinction between selection/highlight is not very clear in
TreeModel.



--
View this message in context: 
http://forum.world.st/Spec-Binding-widgets-how-to-tp4863742p4863757.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Spec: Binding widgets how to

2015-11-26 Thread Offray Vladimir Luna Cárdenas

Hi,

I had tried that before and didn't work. Passing information between 
widgets and back in this spec interface seems my stop point now... If 
someone could help me with some kind of minimalist example that uses 
treeModel, that would be greatly appreciated.


Cheers,

Offray

On 26/11/15 12:47, webwarrior wrote:

Try #whenHighlightedItemChanged: method.

I remember that distinction between selection/highlight is not very clear in
TreeModel.



--
View this message in context: 
http://forum.world.st/Spec-Binding-widgets-how-to-tp4863742p4863757.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.







[Pharo-users] Analyzing Tweets

2015-11-26 Thread Alexandre Bergel
Hi!

Some students from Arizona State University are analyzing some tweets. This is 
pretty cool. Here are some short video and url full of pictures:

https://sites.google.com/a/asu.edu/project-geeko/
https://drive.google.com/file/d/0BxQoWoSofKvaTkN5bk9hN0NyQ28/view
https://www.youtube.com/watch?v=cnuc_crnWB0&feature=youtu.be

Impressive!

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Re: [Pharo-users] [Moose-dev] Analyzing Tweets

2015-11-26 Thread Tudor Girba
Nice work!

Doru


> On Nov 26, 2015, at 7:44 PM, Alexandre Bergel  wrote:
> 
> Hi!
> 
> Some students from Arizona State University are analyzing some tweets. This 
> is pretty cool. Here are some short video and url full of pictures:
> 
> https://sites.google.com/a/asu.edu/project-geeko/
> https://drive.google.com/file/d/0BxQoWoSofKvaTkN5bk9hN0NyQ28/view
> https://www.youtube.com/watch?v=cnuc_crnWB0&feature=youtu.be
> 
> Impressive!
> 
> Cheers,
> Alexandre
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> ___
> Moose-dev mailing list
> moose-...@list.inf.unibe.ch
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com

"Being happy is a matter of choice."






Re: [Pharo-users] Analyzing Tweets

2015-11-26 Thread Offray Vladimir Luna Cárdenas
Really nice and helpful... I don't see any public repo for the tool on . 
There is any?


Cheers,

Offray

On 26/11/15 13:44, Alexandre Bergel wrote:

Hi!

Some students from Arizona State University are analyzing some tweets. This is 
pretty cool. Here are some short video and url full of pictures:

https://sites.google.com/a/asu.edu/project-geeko/
https://drive.google.com/file/d/0BxQoWoSofKvaTkN5bk9hN0NyQ28/view
https://www.youtube.com/watch?v=cnuc_crnWB0&feature=youtu.be

Impressive!

Cheers,
Alexandre





Re: [Pharo-users] Analyzing Tweets

2015-11-26 Thread Alexandre Bergel
Their work is public, but they had to store their work on github. So, you need 
to look up on Github.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On Nov 26, 2015, at 5:07 PM, Offray Vladimir Luna Cárdenas 
>  wrote:
> 
> Really nice and helpful... I don't see any public repo for the tool on . 
> There is any?
> 
> Cheers,
> 
> Offray
> 
> On 26/11/15 13:44, Alexandre Bergel wrote:
>> Hi!
>> 
>> Some students from Arizona State University are analyzing some tweets. This 
>> is pretty cool. Here are some short video and url full of pictures:
>> 
>> https://sites.google.com/a/asu.edu/project-geeko/
>> https://drive.google.com/file/d/0BxQoWoSofKvaTkN5bk9hN0NyQ28/view
>> https://www.youtube.com/watch?v=cnuc_crnWB0&feature=youtu.be
>> 
>> Impressive!
>> 
>> Cheers,
>> Alexandre
> 
> 



Re: [Pharo-users] Analyzing Tweets

2015-11-26 Thread Offray Vladimir Luna Cárdenas
Never mind. I found it[1]. It was on the see more of the you tube video 
(I advice to make it more visible on the page of the project):


[1] https://github.com/ser515asu/AgileTweetViz-Technocrats
[2] https://sites.google.com/a/asu.edu/project-geeko/

Cheers,

Offray

On 26/11/15 15:07, Offray Vladimir Luna Cárdenas wrote:
Really nice and helpful... I don't see any public repo for the tool on 
. There is any?


Cheers,

Offray

On 26/11/15 13:44, Alexandre Bergel wrote:

Hi!

Some students from Arizona State University are analyzing some 
tweets. This is pretty cool. Here are some short video and url full 
of pictures:


https://sites.google.com/a/asu.edu/project-geeko/
https://drive.google.com/file/d/0BxQoWoSofKvaTkN5bk9hN0NyQ28/view
https://www.youtube.com/watch?v=cnuc_crnWB0&feature=youtu.be

Impressive!

Cheers,
Alexandre









Re: [Pharo-users] Analyzing Tweets

2015-11-26 Thread Arturo Zambrano
Looks nice, very similar to what Agustin presented in Smalltalks a few days
ago. We will post more info soon.


So there are at least 3 known projects working in Pharo + Roassal

Are the authors in this list? Great work!
It would be great to share the experience

On Thu, Nov 26, 2015 at 5:12 PM, Offray Vladimir Luna Cárdenas <
off...@riseup.net> wrote:

> Never mind. I found it[1]. It was on the see more of the you tube video (I
> advice to make it more visible on the page of the project):
>
> [1] https://github.com/ser515asu/AgileTweetViz-Technocrats
> [2] https://sites.google.com/a/asu.edu/project-geeko/
>
> Cheers,
>
> Offray
>
>
> On 26/11/15 15:07, Offray Vladimir Luna Cárdenas wrote:
>
>> Really nice and helpful... I don't see any public repo for the tool on .
>> There is any?
>>
>> Cheers,
>>
>> Offray
>>
>> On 26/11/15 13:44, Alexandre Bergel wrote:
>>
>>> Hi!
>>>
>>> Some students from Arizona State University are analyzing some tweets.
>>> This is pretty cool. Here are some short video and url full of pictures:
>>>
>>> https://sites.google.com/a/asu.edu/project-geeko/
>>> https://drive.google.com/file/d/0BxQoWoSofKvaTkN5bk9hN0NyQ28/view
>>> https://www.youtube.com/watch?v=cnuc_crnWB0&feature=youtu.be
>>>
>>> Impressive!
>>>
>>> Cheers,
>>> Alexandre
>>>
>>
>>
>>
>>
>
>


[Pharo-users] Python's argparse like CommandlineHandler?

2015-11-26 Thread Julien Delplanque

Hello,

Is there a way to specify:
- The "type" of command line arguments.
- The default value if none is given.
- That an argument is obligatory or optional?

A bit like argparse does in Python, if you know it.

Julien