Re: [Pharo-users] New booklets organisation and new booklet

2018-01-29 Thread Stephane Ducasse
Now I wonder if it makes sense to have all the docs of drGeo here. I
can do it but I'm thinking about it.
May be I could create another category. I "read" your handbook and I
do not think that it should be listed among the pharo books.
Now what I would love to have is a handbook: Pharo for the Data
Journalist. Do you have something like that?

Stef

On Mon, Jan 29, 2018 at 1:35 AM, Offray Vladimir Luna Cárdenas
 wrote:
> Hi,
>
> Nice to see this collection organized in this way with more targeted reading
> audiences.
>
> The DrGeo PDFs are linked in the page  Phil pointed to:
>
> English: https://launchpadlibrarian.net/300141633/drgeo-english.pdf
> French: https://launchpadlibrarian.net/322576649/drgeo.pdf
>
> You could add several books which are made with Grafoscopio:
>
> The User Manual (pdf):
> http://mutabit.com/repos.fossil/grafoscopio/doc/tip/Docs/En/Books/Manual/manual.pdf
> Manual de Periodismo de datos (The Data Driven Journalist Handbook)
>
> PDF: http://mutabit.com/repos.fossil/mapeda/uv/mapeda.pdf
> Epub: http://mutabit.com/repos.fossil/mapeda/uv/mapeda.epub
> Repo: http://mutabit.com/repos.fossil/mapeda/
>
> Pasos para una Biblioteca Digital de Bogotá (Steps towards the Bogota
> Digital Library):
>
> PDF:
> http://mutabit.com/repos.fossil/dataweek/uv/Artefactos/BibliotecaDigitalBogota/pasos-para-bidibog.pdf
> Repo:
> http://mutabit.com/repos.fossil/dataweek/doc/tip/Artefactos/BibliotecaDigitalBogota/intro.md
>
> We are just starting, but I think that the local community will be producing
> a good collection of digital publications, mainly books and booklets,
> powered by Grafoscopio, and done easily in a multiplatform and portable
> setup (Windows, Linux, Mac). We plan to follow a similar approach to GitBook
> [1] and LeanPub [2], and we have made some contacts with some publishers,
> authors and translators who would like to have a Open Reproducible
> Publishing Light Environment. Once we have more work done we will build our
> own books and booklets collection, so, may be we can showcase this work in
> some "powered by Pharo" publishing examples.
>
> [1] https://www.gitbook.com/
> [2] https://leanpub.com/
>
> I know there is a very vocal opposition in this community about using
> anything but Pillar for documentation, but I think that showing that there
> is a strong support for writing complex documents, using Pharo powered tools
> and playing well with others, can be a strong point of advocacy about what
> is possible within this ecosystem, tech and community for a wider audience
> beyond programmers, like kids, school teachers, journalist, hacktivist,
> librarians, and so on.
>
> Cheers,
>
> Offray
>
>
> On 28/01/18 16:44, Stephane Ducasse wrote:
>
> If hilaire send me a pdf I will add them. I did not about them.
>
> Stef
>
> On Sun, Jan 28, 2018 at 11:55 AM, p...@highoctane.be 
> wrote:
>
> Looks nice.
>
> We should also put the books of Dr Geo in there but maybe they are GPL.
>
> But at least a link to http://www.drgeo.eu/help would be nice.
>
> Phil
>
> On Sun, Jan 28, 2018 at 10:47 AM, Esteban Lorenzano 
> wrote:
>
> +1
>
> On 27 Jan 2018, at 20:55, Stephane Ducasse 
> wrote:
>
> Hi
>
> We reorganised the books.pharo.org web site to make the distinction
> between technology and teaching oriented booklet.
> We will have specific covers soon and print available on lulu.
>
> In addition we got the new booklet from C. Bera that explains Call
> Stack Management.
>
> http://books.pharo.org
>
> Stef
>
>
>
>
>



Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread Norbert Hartl


> Am 30.01.2018 um 08:26 schrieb "p...@highoctane.be" :
> 
> 
> 
>> On Tue, Jan 30, 2018 at 12:12 AM, Torsten Bergmann  wrote:
>> @Phil: Maybe because I wrote the package back when I was on "Vista" and you 
>> should not
>>use on Linux ;)
>> 
> :-p
> 
> Cursor>>beCursor with Cursor being a Form makes a lot of sense on any 
> platform.
> 
Sorry but Cursor>>beCursor does not make any sense on any platform :P

Norbert
> On this age of Hi DPI I can't live with a tiny cursor that I cannot spot.
> 
> And we should basically be able to have massive cursors with animations etc.
> 
> 
>  
>> To be serious: Yes - changing the cursor in Linux never worked (for me). And 
>> the windows
>>VM had large cursor introduced as "experimental" in 2009:
>> 
>>
>> http://forum.world.st/squeak-dev-New-Window-VM-Closures-FT2Plugin-Large-Cursors-td81092.html
>> 
>> Agree that more parts should be moved to image, especially window and key 
>> event related things. But this
>> is on the list since years - so the basic question is more if Estebans has 
>> the time to work on it.
> 
> Event logic should be in the image indeed. The current system is a tad 
> convoluted and one needs a couple of mental hops for understanding what comes 
> from where.
> 
> Also, this will maybe allow for cleaner stopping of runaway loops.  
> 
> Best,
> Phil
>> 
>> Bye
>> T.
>> 
>> > Gesendet: Montag, 29. Januar 2018 um 23:48 Uhr
>> > Von: "Sven Van Caekenberghe" 
>> > An: "Any question about pharo is welcome" 
>> > Betreff: Re: [Pharo-users] Pharo IDE - change mouse cursor color/size
>> >
>> > Repeat [ More on the image side where we can all see it and work on it in 
>> > a proper language, with proper design, using proper tools ]
>> >
>> > > On 29 Jan 2018, at 21:17, Stephane Ducasse  
>> > > wrote:
>> > >
>> > > Hi phil
>> > >
>> > > Yes we want to kill all the VM logic related to events because IT GETS
>> > > ON OUR NERVES.
>> > > Kill them all. Esteban told me that he is super upset by all the event
>> > > / screen logic and that he is looking at ronie' changes.
>> > > Stef
>> > >
>> > > On Mon, Jan 29, 2018 at 8:10 AM, p...@highoctane.be  
>> > > wrote:
>> > >> If you are on Windows you can load Vista cursors from the catalog. Then 
>> > >> you
>> > >> will have settings for the size.
>> > >>
>> > >> Not all cursors are implemented but it is easy to do.
>> > >>
>> > >> On Linux I had VM crashes when doing #beCursor. Maybe is it fixed these
>> > >> days.
>> > >>
>> > >> Phil
>> > >>
>> > >>
>> > >> On Jan 29, 2018 06:22, "Animosity"  
>> > >> wrote:
>> > >>>
>> > >>> Hi there,
>> > >>>
>> > >>> I'm not able to find any setting in the Pharo IDE related to changing 
>> > >>> the
>> > >>> mouse cursor color or size?
>> > >>> Can this be done at all? Thanks in advance.
>> > >>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>> > >>>
>> > >>>
>> > >>
>> > >
>> >
>> >
>> >
>> 
>> 
> 


Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread p...@highoctane.be
On Tue, Jan 30, 2018 at 12:12 AM, Torsten Bergmann  wrote:

> @Phil: Maybe because I wrote the package back when I was on "Vista" and
> you should not
>use on Linux ;)
>
> :-p

Cursor>>beCursor with Cursor being a Form makes a lot of sense on any
platform.

On this age of Hi DPI I can't live with a tiny cursor that I cannot spot.

And we should basically be able to have massive cursors with animations etc.




> To be serious: Yes - changing the cursor in Linux never worked (for me).
> And the windows
>VM had large cursor introduced as "experimental" in 2009:
>
>http://forum.world.st/squeak-dev-New-Window-VM-Closures-
> FT2Plugin-Large-Cursors-td81092.html
>
> Agree that more parts should be moved to image, especially window and key
> event related things. But this
> is on the list since years - so the basic question is more if Estebans has
> the time to work on it.
>

Event logic should be in the image indeed. The current system is a tad
convoluted and one needs a couple of mental hops for understanding what
comes from where.

Also, this will maybe allow for cleaner stopping of runaway loops.

Best,
Phil

>
> Bye
> T.
>
> > Gesendet: Montag, 29. Januar 2018 um 23:48 Uhr
> > Von: "Sven Van Caekenberghe" 
> > An: "Any question about pharo is welcome" 
> > Betreff: Re: [Pharo-users] Pharo IDE - change mouse cursor color/size
> >
> > Repeat [ More on the image side where we can all see it and work on it
> in a proper language, with proper design, using proper tools ]
> >
> > > On 29 Jan 2018, at 21:17, Stephane Ducasse 
> wrote:
> > >
> > > Hi phil
> > >
> > > Yes we want to kill all the VM logic related to events because IT GETS
> > > ON OUR NERVES.
> > > Kill them all. Esteban told me that he is super upset by all the event
> > > / screen logic and that he is looking at ronie' changes.
> > > Stef
> > >
> > > On Mon, Jan 29, 2018 at 8:10 AM, p...@highoctane.be <
> p...@highoctane.be> wrote:
> > >> If you are on Windows you can load Vista cursors from the catalog.
> Then you
> > >> will have settings for the size.
> > >>
> > >> Not all cursors are implemented but it is easy to do.
> > >>
> > >> On Linux I had VM crashes when doing #beCursor. Maybe is it fixed
> these
> > >> days.
> > >>
> > >> Phil
> > >>
> > >>
> > >> On Jan 29, 2018 06:22, "Animosity" 
> wrote:
> > >>>
> > >>> Hi there,
> > >>>
> > >>> I'm not able to find any setting in the Pharo IDE related to
> changing the
> > >>> mouse cursor color or size?
> > >>> Can this be done at all? Thanks in advance.
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> > >>>
> > >>>
> > >>
> > >
> >
> >
> >
>
>
>


Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread Torsten Bergmann
@Phil: Maybe because I wrote the package back when I was on "Vista" and you 
should not
   use on Linux ;)

To be serious: Yes - changing the cursor in Linux never worked (for me). And 
the windows
   VM had large cursor introduced as "experimental" in 2009: 

   
http://forum.world.st/squeak-dev-New-Window-VM-Closures-FT2Plugin-Large-Cursors-td81092.html

Agree that more parts should be moved to image, especially window and key event 
related things. But this 
is on the list since years - so the basic question is more if Estebans has the 
time to work on it.

Bye
T.

> Gesendet: Montag, 29. Januar 2018 um 23:48 Uhr
> Von: "Sven Van Caekenberghe" 
> An: "Any question about pharo is welcome" 
> Betreff: Re: [Pharo-users] Pharo IDE - change mouse cursor color/size
>
> Repeat [ More on the image side where we can all see it and work on it in a 
> proper language, with proper design, using proper tools ]
> 
> > On 29 Jan 2018, at 21:17, Stephane Ducasse  wrote:
> > 
> > Hi phil
> > 
> > Yes we want to kill all the VM logic related to events because IT GETS
> > ON OUR NERVES.
> > Kill them all. Esteban told me that he is super upset by all the event
> > / screen logic and that he is looking at ronie' changes.
> > Stef
> > 
> > On Mon, Jan 29, 2018 at 8:10 AM, p...@highoctane.be  
> > wrote:
> >> If you are on Windows you can load Vista cursors from the catalog. Then you
> >> will have settings for the size.
> >> 
> >> Not all cursors are implemented but it is easy to do.
> >> 
> >> On Linux I had VM crashes when doing #beCursor. Maybe is it fixed these
> >> days.
> >> 
> >> Phil
> >> 
> >> 
> >> On Jan 29, 2018 06:22, "Animosity"  wrote:
> >>> 
> >>> Hi there,
> >>> 
> >>> I'm not able to find any setting in the Pharo IDE related to changing the
> >>> mouse cursor color or size?
> >>> Can this be done at all? Thanks in advance.
> >>> 
> >>> 
> >>> 
> >>> --
> >>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> >>> 
> >>> 
> >> 
> > 
> 
> 
> 



Re: [Pharo-users] Sending notifications from Pharo to your Mobile via Pushover.net

2018-01-29 Thread Torsten Bergmann
If you need more than just a simple push notification you can try Discord 
to send text, pictures, ... into own discord server and channels. Or work with 
Bots.

Code is here  https://github.com/JurajKubelka/DiscordSt 
and techtalk video here:  https://www.youtube.com/watch?v=y1EzOnfHUe0

Maybe some of you already have the Discord app on the mobile anyway (for Pharo)

Bye
T.



> Gesendet: Montag, 29. Januar 2018 um 23:44 Uhr
> Von: "Sven Van Caekenberghe" 
> An: "Any question about pharo is welcome" 
> Betreff: Re: [Pharo-users] Sending notifications from Pharo to your Mobile 
> via Pushover.net
>
> 
> 
> > On 29 Jan 2018, at 21:34, Esteban A. Maringolo  wrote:
> > 
> > What is the difference between Pushover and other similar services? Do you 
> > need a Pushover client in the phone to handle such notifications?
> 
> Yes, you need to install their client, which then acts as a generic receiver 
> of notifications, but you can customise them a bit. Personal license is $5 
> for life. It is too new for me to have a real opinion about it, but it looks 
> cool & simple.
> 
> > Nonetheless, the conciseness of Pharo with Zinc never ceases to amaze me.
> 
> Yeah, that is why I keep posting snippets like that.
> 
> > Regards!
> > 
> > Esteban A. Maringolo
> > 
> > 2018-01-29 16:40 GMT-03:00 Sven Van Caekenberghe :
> > Hi,
> > 
> > Just a little snippet I wanted to share. Pushover (https://pushover.net) is 
> > a general service that delivers notifications to iOS, Android and desktop 
> > devices via an API (and an email gateway as well). It is really easy to get 
> > started with.
> > 
> > This is how you do it from Pharo:
> > 
> > ZnClient new
> >   systemPolicy;
> >   url: 'https://api.pushover.net/1/messages.json';
> >   accept: ZnMimeType applicationJson;
> >   contentReader: [ :entity | NeoJSONObject fromString: entity contents ];
> >   contentWriter: [ :object | ZnEntity json: object asString ];
> >   contents: (NeoJSONObject new 
> >token: 'ax4o55o6g5imb1a6st3m9x34hqu44z'; 
> >user: 'uv2fovx3f9sp3rgssrupvjgvdo8quw'; 
> >title: 'Test 3'; 
> >message: ('This is a test @ {1} by {2}.' format: { 
> > DateAndTime now. SystemVersion current }));
> >   post.
> > 
> > It will look like this on your mobile device (just seconds later):
> > 
> > 
> > 
> > Nothing special, but pretty handy.
> > 
> > Sven
> > 
> > --
> > Sven Van Caekenberghe
> > Proudly supporting Pharo
> > http://pharo.org
> > http://association.pharo.org
> > http://consortium.pharo.org
> > 
> > 
> > 
> > 
> > 
> 
> 
> 



Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread Sven Van Caekenberghe
Repeat [ More on the image side where we can all see it and work on it in a 
proper language, with proper design, using proper tools ]

> On 29 Jan 2018, at 21:17, Stephane Ducasse  wrote:
> 
> Hi phil
> 
> Yes we want to kill all the VM logic related to events because IT GETS
> ON OUR NERVES.
> Kill them all. Esteban told me that he is super upset by all the event
> / screen logic and that he is looking at ronie' changes.
> Stef
> 
> On Mon, Jan 29, 2018 at 8:10 AM, p...@highoctane.be  
> wrote:
>> If you are on Windows you can load Vista cursors from the catalog. Then you
>> will have settings for the size.
>> 
>> Not all cursors are implemented but it is easy to do.
>> 
>> On Linux I had VM crashes when doing #beCursor. Maybe is it fixed these
>> days.
>> 
>> Phil
>> 
>> 
>> On Jan 29, 2018 06:22, "Animosity"  wrote:
>>> 
>>> Hi there,
>>> 
>>> I'm not able to find any setting in the Pharo IDE related to changing the
>>> mouse cursor color or size?
>>> Can this be done at all? Thanks in advance.
>>> 
>>> 
>>> 
>>> --
>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>> 
>>> 
>> 
> 




Re: [Pharo-users] Sending notifications from Pharo to your Mobile via Pushover.net

2018-01-29 Thread Sven Van Caekenberghe


> On 29 Jan 2018, at 21:34, Esteban A. Maringolo  wrote:
> 
> What is the difference between Pushover and other similar services? Do you 
> need a Pushover client in the phone to handle such notifications?

Yes, you need to install their client, which then acts as a generic receiver of 
notifications, but you can customise them a bit. Personal license is $5 for 
life. It is too new for me to have a real opinion about it, but it looks cool & 
simple.

> Nonetheless, the conciseness of Pharo with Zinc never ceases to amaze me.

Yeah, that is why I keep posting snippets like that.

> Regards!
> 
> Esteban A. Maringolo
> 
> 2018-01-29 16:40 GMT-03:00 Sven Van Caekenberghe :
> Hi,
> 
> Just a little snippet I wanted to share. Pushover (https://pushover.net) is a 
> general service that delivers notifications to iOS, Android and desktop 
> devices via an API (and an email gateway as well). It is really easy to get 
> started with.
> 
> This is how you do it from Pharo:
> 
> ZnClient new
>   systemPolicy;
>   url: 'https://api.pushover.net/1/messages.json';
>   accept: ZnMimeType applicationJson;
>   contentReader: [ :entity | NeoJSONObject fromString: entity contents ];
>   contentWriter: [ :object | ZnEntity json: object asString ];
>   contents: (NeoJSONObject new 
>token: 'ax4o55o6g5imb1a6st3m9x34hqu44z'; 
>user: 'uv2fovx3f9sp3rgssrupvjgvdo8quw'; 
>title: 'Test 3'; 
>message: ('This is a test @ {1} by {2}.' format: { 
> DateAndTime now. SystemVersion current }));
>   post.
> 
> It will look like this on your mobile device (just seconds later):
> 
> 
> 
> Nothing special, but pretty handy.
> 
> Sven
> 
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
> 
> 
> 
> 
> 




Re: [Pharo-users] Regex: copy with ignoreCase

2018-01-29 Thread Herbert Vojčík



Julien wrote:

Hello,

Maybe what you’re looking for is String>>#asRegexIgnoringCase ?


No, I am looking at what I described (#copyWithIgnoreCase).


'a+' asRegexIgnoringCase matches: ''. "true"
'a+' asRegexIgnoringCase matches: ''. "true"

Cheers,

Julien

---
Julien Delplanque
Doctorant à l’Université de Lille 1
http://juliendelplanque.be/phd.html
Equipe Rmod, Inria
Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
Numéro de téléphone: +333 59 35 86 40

Le 29 janv. 2018 à 23:11, Herbert Vojčík > a écrit :


Hi!

String >> #asRegex return an instance of RxMatcher, as I tried. Now, 
I would like to get an object that behaves exactly as the one I got 
from asRegex, just that it ignores case (regardless whether it did or 
didn't in the original object).


I understand it is not possible to get that object with existing API, 
is it?


Herby







Re: [Pharo-users] Sending notifications from Pharo to your Mobile via Pushover.net

2018-01-29 Thread Sven Van Caekenberghe


> On 29 Jan 2018, at 21:04, Stephane Ducasse  wrote:
> 
> Cool sven 
> Is is a problem that you send you token/user around? 
> Can I publish it on pharo weekly like that?

These are not my real key ;-)

> Stef
> 
> On Mon, Jan 29, 2018 at 8:40 PM, Sven Van Caekenberghe  wrote:
> Hi,
> 
> Just a little snippet I wanted to share. Pushover (https://pushover.net) is a 
> general service that delivers notifications to iOS, Android and desktop 
> devices via an API (and an email gateway as well). It is really easy to get 
> started with.
> 
> This is how you do it from Pharo:
> 
> ZnClient new
>   systemPolicy;
>   url: 'https://api.pushover.net/1/messages.json';
>   accept: ZnMimeType applicationJson;
>   contentReader: [ :entity | NeoJSONObject fromString: entity contents ];
>   contentWriter: [ :object | ZnEntity json: object asString ];
>   contents: (NeoJSONObject new 
>token: 'ax4o55o6g5imb1a6st3m9x34hqu44z'; 
>user: 'uv2fovx3f9sp3rgssrupvjgvdo8quw'; 
>title: 'Test 3'; 
>message: ('This is a test @ {1} by {2}.' format: { 
> DateAndTime now. SystemVersion current }));
>   post.
> 
> It will look like this on your mobile device (just seconds later):
> 
> 
> 
> Nothing special, but pretty handy.
> 
> Sven
> 
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
> 
> 
> 
> 
> 




Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread p...@highoctane.be
I can relate to that.

Phil

On Jan 29, 2018 21:17, "Stephane Ducasse"  wrote:

> Hi phil
>
> Yes we want to kill all the VM logic related to events because IT GETS
> ON OUR NERVES.
> Kill them all. Esteban told me that he is super upset by all the event
> / screen logic and that he is looking at ronie' changes.
> Stef
>
> On Mon, Jan 29, 2018 at 8:10 AM, p...@highoctane.be 
> wrote:
> > If you are on Windows you can load Vista cursors from the catalog. Then
> you
> > will have settings for the size.
> >
> > Not all cursors are implemented but it is easy to do.
> >
> > On Linux I had VM crashes when doing #beCursor. Maybe is it fixed these
> > days.
> >
> > Phil
> >
> >
> > On Jan 29, 2018 06:22, "Animosity" 
> wrote:
> >>
> >> Hi there,
> >>
> >> I'm not able to find any setting in the Pharo IDE related to changing
> the
> >> mouse cursor color or size?
> >> Can this be done at all? Thanks in advance.
> >>
> >>
> >>
> >> --
> >> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> >>
> >>
> >
>
>
>


Re: [Pharo-users] Regex: copy with ignoreCase

2018-01-29 Thread Julien
Hello,

Maybe what you’re looking for is String>>#asRegexIgnoringCase ?

'a+' asRegexIgnoringCase matches: ''. "true"
'a+' asRegexIgnoringCase matches: ''. "true"

Cheers,

Julien

---
Julien Delplanque
Doctorant à l’Université de Lille 1
http://juliendelplanque.be/phd.html
Equipe Rmod, Inria
Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
Numéro de téléphone: +333 59 35 86 40

> Le 29 janv. 2018 à 23:11, Herbert Vojčík  a écrit :
> 
> Hi!
> 
> String >> #asRegex return an instance of RxMatcher, as I tried. Now, I would 
> like to get an object that behaves exactly as the one I got from asRegex, 
> just that it ignores case (regardless whether it did or didn't in the 
> original object).
> 
> I understand it is not possible to get that object with existing API, is it?
> 
> Herby
> 



Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread Animosity
VistaCursors worked great on windows. It also led me to the discovery of the
Cursor class, the different cursor types (normal, resizing, etc.) and masks.
Thank you for your help.

PS: I also found out how to register custom settings to be added to the
Settings dialog. That will come in handy at some point I'm sure.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[Pharo-users] Regex: copy with ignoreCase

2018-01-29 Thread Herbert Vojčík

Hi!

String >> #asRegex return an instance of RxMatcher, as I tried. Now, I 
would like to get an object that behaves exactly as the one I got from 
asRegex, just that it ignores case (regardless whether it did or didn't 
in the original object).


I understand it is not possible to get that object with existing API, is it?

Herby



Re: [Pharo-users] Sending notifications from Pharo to your Mobile via Pushover.net

2018-01-29 Thread Todd Blanchard
Based on the icon and my mobile dev experience ...

Either you need the Pushover app (hence the 'P' icon) to get a push 
notification or you can make your mobile app the recipient of the push 
notification (like UrbanAirship does) by including a library in your mobile app.

For SMS I generally use Twilio or Plivo - either is a perfectly decent SMS 
service.

Twilio and Plivo have similar REST apis and would have similar looking calls.

-Todd Blanchard

> On Jan 29, 2018, at 12:34 PM, Esteban A. Maringolo  
> wrote:
> 
> What is the difference between Pushover and other similar services? Do you 
> need a Pushover client in the phone to handle such notifications?
> 
> Nonetheless, the conciseness of Pharo with Zinc never ceases to amaze me.
> 
> 
> Regards!
> 
> Esteban A. Maringolo
> 
> 2018-01-29 16:40 GMT-03:00 Sven Van Caekenberghe  >:
> Hi,
> 
> Just a little snippet I wanted to share. Pushover (https://pushover.net 
> ) is a general service that delivers notifications to 
> iOS, Android and desktop devices via an API (and an email gateway as well). 
> It is really easy to get started with.
> 
> This is how you do it from Pharo:
> 
> ZnClient new
>   systemPolicy;
>   url: 'https://api.pushover.net/1/messages.json 
> ';
>   accept: ZnMimeType applicationJson;
>   contentReader: [ :entity | NeoJSONObject fromString: entity contents ];
>   contentWriter: [ :object | ZnEntity json: object asString ];
>   contents: (NeoJSONObject new 
>token: 'ax4o55o6g5imb1a6st3m9x34hqu44z'; 
>user: 'uv2fovx3f9sp3rgssrupvjgvdo8quw'; 
>title: 'Test 3'; 
>message: ('This is a test @ {1} by {2}.' format: { 
> DateAndTime now. SystemVersion current }));
>   post.
> 
> It will look like this on your mobile device (just seconds later):
> 
> 
> 
> Nothing special, but pretty handy.
> 
> Sven
> 
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org 
> http://association.pharo.org 
> http://consortium.pharo.org 
> 
> 
> 
> 
> 



Re: [Pharo-users] Pharo IDE - change mouse cursor color/size

2018-01-29 Thread Stephane Ducasse
Hi phil

Yes we want to kill all the VM logic related to events because IT GETS
ON OUR NERVES.
Kill them all. Esteban told me that he is super upset by all the event
/ screen logic and that he is looking at ronie' changes.
Stef

On Mon, Jan 29, 2018 at 8:10 AM, p...@highoctane.be  wrote:
> If you are on Windows you can load Vista cursors from the catalog. Then you
> will have settings for the size.
>
> Not all cursors are implemented but it is easy to do.
>
> On Linux I had VM crashes when doing #beCursor. Maybe is it fixed these
> days.
>
> Phil
>
>
> On Jan 29, 2018 06:22, "Animosity"  wrote:
>>
>> Hi there,
>>
>> I'm not able to find any setting in the Pharo IDE related to changing the
>> mouse cursor color or size?
>> Can this be done at all? Thanks in advance.
>>
>>
>>
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>
>>
>



Re: [Pharo-users] Iceberg and resource files

2018-01-29 Thread Stephane Ducasse
Guille shows me a filesystem git accessed and browsed from Pharo. Soon
to be public.



On Mon, Jan 29, 2018 at 10:14 AM, Christophe Demarey
 wrote:
> Hi Ken,
>
>> Le 27 janv. 2018 à 15:38, kmo  a écrit :
>>
>> I don't understand how iceberg handles resource files that you might also
>> like to version along with the pharo code.
>
> For now, Iceberg do not really handle these files but it is planned in a next 
> future.
>
>> Say I have an CSV file and a text file that my pharo application uses. How
>> do I include these in the iceberg commit/push? How do I see changes made in
>> these files from version to version?
>
> Currently, you cannot do anything related to this through the UI.
> What you could do is to call directly Iceberg API to commit ressources to the 
> git repository:
> 1/ write the resource content in git working copy (std file system). There is 
> a utility method: IceRepository>>#saveContent: aString inWorkingCopyFile: 
> aRelativePathString
> 2/ add these files to git index through: IceRepository>>addFilesToIndex: 
> aListOfPaths
> 3/ commit :
> iceRepository
> commitIndexWithMessage: commitMessage
> andParents:  { iceRepository headCommit }
>
> You can also read ressources by suing IceRepository>>#contentOfFileNamed: 
> aPathString commit: aCommitId
>
> Christophe.
>
>> Does iceberg only handle pharo code? Generally git clients don't care about
>> the file type - and it it is any kind of text you can see the actual
>> differences between each commit.
>>
>> Ken
>>
>>
>>
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>
>
>



Re: [Pharo-users] Problem with Traditional and Simplified Chinese parsing in Pharo

2018-01-29 Thread Clément Béra
Thanks all, Sven solution works.

Yes this is not JSON it's some kind of JSON-like format (Is it yml ? I
don't know it might be proprietary).

I was naive and thought there was some metadata in files precising the
encoding used, and that #readStream on FileReference was able to pick
automatically the correct decoder. Obviously it isn't the case.

Thanks anyway.

2018-01-29 18:59 GMT+01:00 Sven Van Caekenberghe :

> Your file is not in UTF-8 but in UTF-16 !
>
> This will do:
>
> (FileLocator desktop / 'schinese.txt') readStreamDo: [ :in |
>   (ZnCharacterReadStream on: in binary encoding: #utf16) upToEnd ].
>
> BTW, this is not valid JSON.
>
> From Windows, for sure ...
>
> > On 29 Jan 2018, at 18:49, Clément Bera  wrote:
> >
> > Hi,
> >
> > I am currently parsing lua and JSON-like file in Pharo. They contain
> both Simplified and Traditional Chinese characters for comments and for
> strings displayed in the UI. Lua files are parsed correctly. However the
> JSON-like files aren't.
> >
> > In attachment I put one of the problematic file with Simplified chinese
> characters (I've also copied the file at the end of the mail). The problem
> can be shown as follow in Pharo:
> >
> > 'schinese.txt' asFileReference readStream contents
> >
> > The contents function sends a UTF8InvalidText 'Invalid utf8 input
> detected' error.
> > However my text editor correctly displays the file and it is correctly
> parsed by the Lua runtime (The program parsed has been deployed in
> production for years and works fine).
> >
> > What can I do to parse this file correctly from Pharo ?
> >
> > Thanks,
> >
> > Below is the file content, non Chinese people may not have the font to
> display the characters, note that I have no idea what is written in Chinese
> (Please don't hold me responsible if there are offending contents):
> >
> > "lang"
> > {
> >   "Language"  "Schinese"
> >   "Tokens"
> >   {
> >   "text_store_cd" "贝壳商店的商品会每天随机刷新! 下次刷新冷却时间"
> >   "text_cannot_huidaoguoqu"   "现在不能使用回到过去~"
> >   "tips1" "利用鼠标滚轮可以调节视角距离,方便你查看场地全貌~"
> >   "tips2" "通过全部50关以后你还可以继续挑战更加有难度的无尽试炼模式!"
> >   "tips3" "每天早晨贝壳商店会随机刷新和随机打折,留心你想要的商品!"
> >   "tips4" "排行榜的前25名可以获得皇冠奖章,象征着你在塔防游戏中的卓越成绩!"
> >   "tips5" "每10波敌人会有一个BOSS关卡,它比普通敌人更难击杀~"
> >   "tips6" "飞行的敌人不会被石头阻挡,所以不能利用迷宫来增长怪物的线路~"
> >   "tips7" "开局的时候点击左下方的英雄选择图标可以查看并选择你拥有的英雄!"
> >   "tips8" "隐身的敌人必须通过蛋白系列塔的照明光环才能被发现!"
> >   "tips9" "点击右侧的合成公式按钮可以打开合成面板,了解高级塔的合成以及当前配件状态~"
> >   "tips10""邀请好友一起游戏,可以互相协作共同对抗强大的敌人!"
> >   "tips11""石板会对踩上去的敌人产生效果,所以最好放置在敌人必经的路线上~"
> >   "tips12""为英雄购买美丽的特效,当你可以一回合合成的时候所有配件都会有特效提示!"
> >   "tips13""每回合伤害最高的塔将会获得最多10层的MVP光环,增加物理和魔法输出!"
> >   "tips14""每个月的最后一天是赛季结算日,将会根据你这赛季的排名颁发丰厚的贝壳奖励!"
> >   "tips15""如果不知道怎样造迷宫,你可以点击右侧的迷宫指南按钮查看或者分享推荐的迷宫~"
> >   }
> > }
> >
> >
> >
> > --
> > Clément Béra
> > Pharo consortium engineer
> > https://clementbera.wordpress.com/
> > Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
> > 
>
>
>


Re: [Pharo-users] Problem with Traditional and Simplified Chinese parsing in Pharo

2018-01-29 Thread Cyril Ferlicot D.
Le 29/01/2018 à 18:49, Clément Bera a écrit :
> Hi,
> 
> I am currently parsing lua and JSON-like file in Pharo. They contain
> both Simplified and Traditional Chinese characters for comments and for
> strings displayed in the UI. Lua files are parsed correctly. However the
> JSON-like files aren't.
> 
> In attachment I put one of the problematic file with Simplified chinese
> characters (I've also copied the file at the end of the mail). The
> problem can be shown as follow in Pharo:
> 
> 'schinese.txt' asFileReference readStream contents
> 
> The contents function sends a UTF8InvalidText 'Invalid utf8 input
> detected' error.
> However my text editor correctly displays the file and it is correctly
> parsed by the Lua runtime (The program parsed has been deployed in
> production for years and works fine).
> 
> What can I do to parse this file correctly from Pharo ?
> 

Hi,

Here is how we manage encoding in Moose following Sven's advices.

We detect the encoding of a file with this code:

[ self fileReference binaryReadStreamDo: [ :in | (ZnCharacterEncoder
detectEncoding: in upToEnd) identifier ] ]
on: ZnCharacterEncodingError
do: [ nil ]

It is not bullet proof but I never got a problem since we use it.

Then to read a file we do this:

self fileReference
binaryReadStreamDo:
[ :in | (ZnCharacterReadStream on: in encoding: self
encoding) upToEnd ]

Here, self encoding return the result of the previous snippet.

Or you can use it this way:

ZnCharacterEncoder detectEncoding: ((FileLocator desktop / 'some.data')
binaryReadStreamDo: [ :in | in upToEnd ]).

(FileLocator desktop / 'some.data') binaryReadStreamDo: [ :in |
| bytes encoder |
bytes := in upToEnd.
encoder := ZnCharacterEncoder detectEncoding: bytes.
encoder decodeBytes: bytes ].

> Thanks,
> 
> Below is the file content, non Chinese people may not have the font to
> display the characters, note that I have no idea what is written in
> Chinese (Please don't hold me responsible if there are offending contents):
> 
> "lang"
> {
> "Language""Schinese"
> "Tokens"
> {
> "text_store_cd""贝壳商店的商品会每天随机刷新! 下次刷新冷却时间"
> "text_cannot_huidaoguoqu""现在不能使用回到过去~"
> "tips1""利用鼠标滚轮可以调节视角距离,方便你查看场地全貌~"
> "tips2""通过全部50关以后你还可以继续挑战更加有难度的无尽试炼模式!"
> "tips3""每天早晨贝壳商店会随机刷新和随机打折,留心你想要的商品!"
> "tips4""排行榜的前25名可以获得皇冠奖章,象征着你在塔防游戏中的卓越成绩!"
> "tips5""每10波敌人会有一个BOSS关卡,它比普通敌人更难击杀~"
> "tips6""飞行的敌人不会被石头阻挡,所以不能利用迷宫来增长怪物的线路~"
> "tips7""开局的时候点击左下方的英雄选择图标可以查看并选择你拥有的英雄!"
> "tips8""隐身的敌人必须通过蛋白系列塔的照明光环才能被发现!"
> "tips9""点击右侧的合成公式按钮可以打开合成面板,了解高级塔的合成以及当前
> 配件状态~"
> "tips10""邀请好友一起游戏,可以互相协作共同对抗强大的敌人!"
> "tips11""石板会对踩上去的敌人产生效果,所以最好放置在敌人必经的路线上~"
> "tips12""为英雄购买美丽的特效,当你可以一回合合成的时候所有配件都会有特
> 效提示!"
> "tips13""每回合伤害最高的塔将会获得最多10层的MVP光环,增加物理和魔法输出!"
> "tips14""每个月的最后一天是赛季结算日,将会根据你这赛季的排名颁发丰厚的
> 贝壳奖励!"
> "tips15""如果不知道怎样造迷宫,你可以点击右侧的迷宫指南按钮查看或者分享
> 推荐的迷宫~"
> }
> }
> 
> 
> 
> -- 
> Clément Béra
> Pharo consortium engineer
> https://clementbera.wordpress.com/
> Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq


-- 
Cyril Ferlicot
https://ferlicot.fr



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Problem with Traditional and Simplified Chinese parsing in Pharo

2018-01-29 Thread Sven Van Caekenberghe
Your file is not in UTF-8 but in UTF-16 !

This will do:

(FileLocator desktop / 'schinese.txt') readStreamDo: [ :in | 
  (ZnCharacterReadStream on: in binary encoding: #utf16) upToEnd ].

BTW, this is not valid JSON.

From Windows, for sure ...

> On 29 Jan 2018, at 18:49, Clément Bera  wrote:
> 
> Hi,
> 
> I am currently parsing lua and JSON-like file in Pharo. They contain both 
> Simplified and Traditional Chinese characters for comments and for strings 
> displayed in the UI. Lua files are parsed correctly. However the JSON-like 
> files aren't.
> 
> In attachment I put one of the problematic file with Simplified chinese 
> characters (I've also copied the file at the end of the mail). The problem 
> can be shown as follow in Pharo:
> 
> 'schinese.txt' asFileReference readStream contents
> 
> The contents function sends a UTF8InvalidText 'Invalid utf8 input detected' 
> error.
> However my text editor correctly displays the file and it is correctly parsed 
> by the Lua runtime (The program parsed has been deployed in production for 
> years and works fine).
> 
> What can I do to parse this file correctly from Pharo ?
> 
> Thanks,
> 
> Below is the file content, non Chinese people may not have the font to 
> display the characters, note that I have no idea what is written in Chinese 
> (Please don't hold me responsible if there are offending contents):
> 
> "lang"
> {
>   "Language"  "Schinese"
>   "Tokens"
>   {
>   "text_store_cd" "贝壳商店的商品会每天随机刷新! 下次刷新冷却时间"
>   "text_cannot_huidaoguoqu"   "现在不能使用回到过去~"
>   "tips1" "利用鼠标滚轮可以调节视角距离,方便你查看场地全貌~"
>   "tips2" "通过全部50关以后你还可以继续挑战更加有难度的无尽试炼模式!"
>   "tips3" "每天早晨贝壳商店会随机刷新和随机打折,留心你想要的商品!"
>   "tips4" "排行榜的前25名可以获得皇冠奖章,象征着你在塔防游戏中的卓越成绩!"
>   "tips5" "每10波敌人会有一个BOSS关卡,它比普通敌人更难击杀~"
>   "tips6" "飞行的敌人不会被石头阻挡,所以不能利用迷宫来增长怪物的线路~"
>   "tips7" "开局的时候点击左下方的英雄选择图标可以查看并选择你拥有的英雄!"
>   "tips8" "隐身的敌人必须通过蛋白系列塔的照明光环才能被发现!"
>   "tips9" "点击右侧的合成公式按钮可以打开合成面板,了解高级塔的合成以及当前配件状态~"
>   "tips10""邀请好友一起游戏,可以互相协作共同对抗强大的敌人!"
>   "tips11""石板会对踩上去的敌人产生效果,所以最好放置在敌人必经的路线上~"
>   "tips12""为英雄购买美丽的特效,当你可以一回合合成的时候所有配件都会有特效提示!"
>   "tips13""每回合伤害最高的塔将会获得最多10层的MVP光环,增加物理和魔法输出!"
>   "tips14""每个月的最后一天是赛季结算日,将会根据你这赛季的排名颁发丰厚的贝壳奖励!"
>   "tips15""如果不知道怎样造迷宫,你可以点击右侧的迷宫指南按钮查看或者分享推荐的迷宫~"
>   }
> }
> 
> 
> 
> -- 
> Clément Béra
> Pharo consortium engineer
> https://clementbera.wordpress.com/
> Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
> 




Re: [Pharo-users] Problem with Traditional and Simplified Chinese parsing in Pharo

2018-01-29 Thread Guillermo Polito
Are you sure that the file is encoded in utf8? Can you try

stream := ZnCharacterReadStream on: (File named: '...') readStream
encoding: 'utf8'.
stream upToEnd.

?

If that does not work, it could mean that the file is in another encoding...

2018-01-29 18:49 GMT+01:00 Clément Bera :

> Hi,
>
> I am currently parsing lua and JSON-like file in Pharo. They contain both
> Simplified and Traditional Chinese characters for comments and for strings
> displayed in the UI. Lua files are parsed correctly. However the JSON-like
> files aren't.
>
> In attachment I put one of the problematic file with Simplified chinese
> characters (I've also copied the file at the end of the mail). The problem
> can be shown as follow in Pharo:
>
> 'schinese.txt' asFileReference readStream contents
>
> The contents function sends a UTF8InvalidText 'Invalid utf8 input
> detected' error.
> However my text editor correctly displays the file and it is correctly
> parsed by the Lua runtime (The program parsed has been deployed in
> production for years and works fine).
>
> What can I do to parse this file correctly from Pharo ?
>
> Thanks,
>
> Below is the file content, non Chinese people may not have the font to
> display the characters, note that I have no idea what is written in Chinese
> (Please don't hold me responsible if there are offending contents):
>
> "lang"
> {
> "Language" "Schinese"
> "Tokens"
> {
> "text_store_cd" "贝壳商店的商品会每天随机刷新! 下次刷新冷却时间"
> "text_cannot_huidaoguoqu" "现在不能使用回到过去~"
> "tips1" "利用鼠标滚轮可以调节视角距离,方便你查看场地全貌~"
> "tips2" "通过全部50关以后你还可以继续挑战更加有难度的无尽试炼模式!"
> "tips3" "每天早晨贝壳商店会随机刷新和随机打折,留心你想要的商品!"
> "tips4" "排行榜的前25名可以获得皇冠奖章,象征着你在塔防游戏中的卓越成绩!"
> "tips5" "每10波敌人会有一个BOSS关卡,它比普通敌人更难击杀~"
> "tips6" "飞行的敌人不会被石头阻挡,所以不能利用迷宫来增长怪物的线路~"
> "tips7" "开局的时候点击左下方的英雄选择图标可以查看并选择你拥有的英雄!"
> "tips8" "隐身的敌人必须通过蛋白系列塔的照明光环才能被发现!"
> "tips9" "点击右侧的合成公式按钮可以打开合成面板,了解高级塔的合成以及当前配件状态~"
> "tips10" "邀请好友一起游戏,可以互相协作共同对抗强大的敌人!"
> "tips11" "石板会对踩上去的敌人产生效果,所以最好放置在敌人必经的路线上~"
> "tips12" "为英雄购买美丽的特效,当你可以一回合合成的时候所有配件都会有特效提示!"
> "tips13" "每回合伤害最高的塔将会获得最多10层的MVP光环,增加物理和魔法输出!"
> "tips14" "每个月的最后一天是赛季结算日,将会根据你这赛季的排名颁发丰厚的贝壳奖励!"
> "tips15" "如果不知道怎样造迷宫,你可以点击右侧的迷宫指南按钮查看或者分享推荐的迷宫~"
> }
> }
>
>
>
> --
> Clément Béra
> Pharo consortium engineer
> https://clementbera.wordpress.com/
> Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
>



-- 



Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - *http://www.cnrs.fr
*


*Web:* *http://guillep.github.io* 

*Phone: *+33 06 52 70 66 13


[Pharo-users] Problem with Traditional and Simplified Chinese parsing in Pharo

2018-01-29 Thread Clément Bera
Hi,

I am currently parsing lua and JSON-like file in Pharo. They contain both
Simplified and Traditional Chinese characters for comments and for strings
displayed in the UI. Lua files are parsed correctly. However the JSON-like
files aren't.

In attachment I put one of the problematic file with Simplified chinese
characters (I've also copied the file at the end of the mail). The problem
can be shown as follow in Pharo:

'schinese.txt' asFileReference readStream contents

The contents function sends a UTF8InvalidText 'Invalid utf8 input detected'
error.
However my text editor correctly displays the file and it is correctly
parsed by the Lua runtime (The program parsed has been deployed in
production for years and works fine).

What can I do to parse this file correctly from Pharo ?

Thanks,

Below is the file content, non Chinese people may not have the font to
display the characters, note that I have no idea what is written in Chinese
(Please don't hold me responsible if there are offending contents):

"lang"
{
"Language" "Schinese"
"Tokens"
{
"text_store_cd" "贝壳商店的商品会每天随机刷新! 下次刷新冷却时间"
"text_cannot_huidaoguoqu" "现在不能使用回到过去~"
"tips1" "利用鼠标滚轮可以调节视角距离,方便你查看场地全貌~"
"tips2" "通过全部50关以后你还可以继续挑战更加有难度的无尽试炼模式!"
"tips3" "每天早晨贝壳商店会随机刷新和随机打折,留心你想要的商品!"
"tips4" "排行榜的前25名可以获得皇冠奖章,象征着你在塔防游戏中的卓越成绩!"
"tips5" "每10波敌人会有一个BOSS关卡,它比普通敌人更难击杀~"
"tips6" "飞行的敌人不会被石头阻挡,所以不能利用迷宫来增长怪物的线路~"
"tips7" "开局的时候点击左下方的英雄选择图标可以查看并选择你拥有的英雄!"
"tips8" "隐身的敌人必须通过蛋白系列塔的照明光环才能被发现!"
"tips9" "点击右侧的合成公式按钮可以打开合成面板,了解高级塔的合成以及当前配件状态~"
"tips10" "邀请好友一起游戏,可以互相协作共同对抗强大的敌人!"
"tips11" "石板会对踩上去的敌人产生效果,所以最好放置在敌人必经的路线上~"
"tips12" "为英雄购买美丽的特效,当你可以一回合合成的时候所有配件都会有特效提示!"
"tips13" "每回合伤害最高的塔将会获得最多10层的MVP光环,增加物理和魔法输出!"
"tips14" "每个月的最后一天是赛季结算日,将会根据你这赛季的排名颁发丰厚的贝壳奖励!"
"tips15" "如果不知道怎样造迷宫,你可以点击右侧的迷宫指南按钮查看或者分享推荐的迷宫~"
}
}



-- 
Clément Béra
Pharo consortium engineer
https://clementbera.wordpress.com/
Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
"lang"
{
"Language"  "Schinese"
"Tokens"
{
"text_store_cd" "贝壳商店的商品会每天随机刷新! 下次刷新冷却时间"
"text_cannot_huidaoguoqu"   "现在不能使用回到过去~"
"tips1" "利用鼠标滚轮可以调节视角距离,方便你查看场地全貌~"
"tips2" "通过全部50关以后你还可以继续挑战更加有难度的无尽试炼模式!"
"tips3" "每天早晨贝壳商店会随机刷新和随机打折,留心你想要的商品!"
"tips4" "排行榜的前25名可以获得皇冠奖章,象征着你在塔防游戏中的卓越成绩!"
"tips5" "每10波敌人会有一个BOSS关卡,它比普通敌人更难击杀~"
"tips6" "飞行的敌人不会被石头阻挡,所以不能利用迷宫来增长怪物的线路~"
"tips7" "开局的时候点击左下方的英雄选择图标可以查看并选择你拥有的英雄!"
"tips8" "隐身的敌人必须通过蛋白系列塔的照明光环才能被发现!"
"tips9" "点击右侧的合成公式按钮可以打开合成面板,了解高级塔的合成以及当前配件状态~"
"tips10""邀请好友一起游戏,可以互相协作共同对抗强大的敌人!"
"tips11""石板会对踩上去的敌人产生效果,所以最好放置在敌人必经的路线上~"
"tips12""为英雄购买美丽的特效,当你可以一回合合成的时候所有配件都会有特效提示!"
"tips13""每回合伤害最高的塔将会获得最多10层的MVP光环,增加物理和魔法输出!"
"tips14""每个月的最后一天是赛季结算日,将会根据你这赛季的排名颁发丰厚的贝壳奖励!"
"tips15""如果不知道怎样造迷宫,你可以点击右侧的迷宫指南按钮查看或者分享推荐的迷宫~"
}
}


Re: [Pharo-users] P3 library - setting database in url?

2018-01-29 Thread Sven Van Caekenberghe


> On 29 Jan 2018, at 15:45, Ben Coman  wrote:
> 
> On 29 January 2018 at 22:40, Ben Coman  wrote:
>> On 29 January 2018 at 22:32, Sven Van Caekenberghe  wrote:
>>> Ben,
>>> 
 On 29 Jan 2018, at 15:27, Ben Coman  wrote:
 
 Hi Sven,
 
 I'm using your P3 library
   https://github.com/svenvc/P3
 
 to connect to TimescaleDB set up like this tutorial...
   http://docs.timescale.com/v0.8/tutorials/tutorial-hello-nyc
>>> 
>>> Cool.
>>> 
 but the following doesn't work unless I un-comment the second line...
 (P3Client new url:
 'psql://postgres:password@localhost:5432/nyc_data') in: [ :client |
  [  " client database: 'nyc_data'. "
 client query: 'SELECT date_trunc(''day'', pickup_datetime)
 as day, avg(fare_amount)
 FROM rides
 WHERE passenger_count > 1 AND pickup_datetime < 
 ''2016-01-08''
 GROUP BY day ORDER BY day;'
  ] ensure: [ client close ]
 ].
 
 Is it supposed to work without the second line,
 just with the database set in the url ?
>>> 
>>> Yes, it is supposed to work like that. Did you try with the latest #reset 
>>> patch (split settings/properties) ?
>> 
>> Yes.  This occurs after I tested the #reset patch.  I "think" it was
>> occurring prior but my memory is not sure.
> 
> Just checked, its the same behaviour prior to updating to the #reset patch.

For me, 

  (P3Client new url: 'psql://postgres:password@localhost:5432/nyc_data') 
database. 

  => 'nyc_data'

You'll have to trace how it fails, see #startupMessage where #database is used 
setting up the connection.

>> cheers -ben
>> 
>>> 
>>> Sven
>>> 
 cheers -ben
 
 
 P.S.  TimescaleDB looks like cool tech...
   
 https://blog.timescale.com/time-series-data-why-and-how-to-use-a-relational-database-instead-of-nosql-d0cd6975e87c
 
 Some notes for anyone wanting to try tutorial-hello-nyc...
 a. Postgresql >9.6.3 is required, for which the default install on
 Ubuntu 16.04 had a problem with libpq not being recent enough.   I
 needed to follow these steps...
 
 https://askubuntu.com/questions/831292/how-to-install-postgresql-9-6-on-any-ubuntu-version
 
 b. Downloading the sample data errored using the given "https" url,
 but plain "http" worked...
 http://timescaledata.blob.core.windows.net/datasets/nyc_data.tar.gz




Re: [Pharo-users] P3 library - setting database in url?

2018-01-29 Thread Ben Coman
On 29 January 2018 at 22:40, Ben Coman  wrote:
> On 29 January 2018 at 22:32, Sven Van Caekenberghe  wrote:
>> Ben,
>>
>>> On 29 Jan 2018, at 15:27, Ben Coman  wrote:
>>>
>>> Hi Sven,
>>>
>>> I'm using your P3 library
>>>https://github.com/svenvc/P3
>>>
>>> to connect to TimescaleDB set up like this tutorial...
>>>http://docs.timescale.com/v0.8/tutorials/tutorial-hello-nyc
>>
>> Cool.
>>
>>> but the following doesn't work unless I un-comment the second line...
>>>  (P3Client new url:
>>> 'psql://postgres:password@localhost:5432/nyc_data') in: [ :client |
>>>   [  " client database: 'nyc_data'. "
>>>  client query: 'SELECT date_trunc(''day'', pickup_datetime)
>>> as day, avg(fare_amount)
>>>  FROM rides
>>>  WHERE passenger_count > 1 AND pickup_datetime < 
>>> ''2016-01-08''
>>>  GROUP BY day ORDER BY day;'
>>>   ] ensure: [ client close ]
>>>  ].
>>>
>>> Is it supposed to work without the second line,
>>> just with the database set in the url ?
>>
>> Yes, it is supposed to work like that. Did you try with the latest #reset 
>> patch (split settings/properties) ?
>
> Yes.  This occurs after I tested the #reset patch.  I "think" it was
> occurring prior but my memory is not sure.

Just checked, its the same behaviour prior to updating to the #reset patch.

>
> cheers -ben
>
>>
>> Sven
>>
>>> cheers -ben
>>>
>>>
>>> P.S.  TimescaleDB looks like cool tech...
>>>
>>> https://blog.timescale.com/time-series-data-why-and-how-to-use-a-relational-database-instead-of-nosql-d0cd6975e87c
>>>
>>> Some notes for anyone wanting to try tutorial-hello-nyc...
>>> a. Postgresql >9.6.3 is required, for which the default install on
>>> Ubuntu 16.04 had a problem with libpq not being recent enough.   I
>>> needed to follow these steps...
>>>  
>>> https://askubuntu.com/questions/831292/how-to-install-postgresql-9-6-on-any-ubuntu-version
>>>
>>> b. Downloading the sample data errored using the given "https" url,
>>> but plain "http" worked...
>>>  http://timescaledata.blob.core.windows.net/datasets/nyc_data.tar.gz
>>>
>>
>>



Re: [Pharo-users] P3 library - setting database in url?

2018-01-29 Thread Ben Coman
On 29 January 2018 at 22:32, Sven Van Caekenberghe  wrote:
> Ben,
>
>> On 29 Jan 2018, at 15:27, Ben Coman  wrote:
>>
>> Hi Sven,
>>
>> I'm using your P3 library
>>https://github.com/svenvc/P3
>>
>> to connect to TimescaleDB set up like this tutorial...
>>http://docs.timescale.com/v0.8/tutorials/tutorial-hello-nyc
>
> Cool.
>
>> but the following doesn't work unless I un-comment the second line...
>>  (P3Client new url:
>> 'psql://postgres:password@localhost:5432/nyc_data') in: [ :client |
>>   [  " client database: 'nyc_data'. "
>>  client query: 'SELECT date_trunc(''day'', pickup_datetime)
>> as day, avg(fare_amount)
>>  FROM rides
>>  WHERE passenger_count > 1 AND pickup_datetime < 
>> ''2016-01-08''
>>  GROUP BY day ORDER BY day;'
>>   ] ensure: [ client close ]
>>  ].
>>
>> Is it supposed to work without the second line,
>> just with the database set in the url ?
>
> Yes, it is supposed to work like that. Did you try with the latest #reset 
> patch (split settings/properties) ?

Yes.  This occurs after I tested the #reset patch.  I "think" it was
occurring prior but my memory is not sure.

cheers -ben

>
> Sven
>
>> cheers -ben
>>
>>
>> P.S.  TimescaleDB looks like cool tech...
>>
>> https://blog.timescale.com/time-series-data-why-and-how-to-use-a-relational-database-instead-of-nosql-d0cd6975e87c
>>
>> Some notes for anyone wanting to try tutorial-hello-nyc...
>> a. Postgresql >9.6.3 is required, for which the default install on
>> Ubuntu 16.04 had a problem with libpq not being recent enough.   I
>> needed to follow these steps...
>>  
>> https://askubuntu.com/questions/831292/how-to-install-postgresql-9-6-on-any-ubuntu-version
>>
>> b. Downloading the sample data errored using the given "https" url,
>> but plain "http" worked...
>>  http://timescaledata.blob.core.windows.net/datasets/nyc_data.tar.gz
>>
>
>



Re: [Pharo-users] P3 library - setting database in url?

2018-01-29 Thread Sven Van Caekenberghe
Ben,

> On 29 Jan 2018, at 15:27, Ben Coman  wrote:
> 
> Hi Sven,
> 
> I'm using your P3 library
>https://github.com/svenvc/P3
> 
> to connect to TimescaleDB set up like this tutorial...
>http://docs.timescale.com/v0.8/tutorials/tutorial-hello-nyc

Cool.

> but the following doesn't work unless I un-comment the second line...
>  (P3Client new url:
> 'psql://postgres:password@localhost:5432/nyc_data') in: [ :client |
>   [  " client database: 'nyc_data'. "
>  client query: 'SELECT date_trunc(''day'', pickup_datetime)
> as day, avg(fare_amount)
>  FROM rides
>  WHERE passenger_count > 1 AND pickup_datetime < 
> ''2016-01-08''
>  GROUP BY day ORDER BY day;'
>   ] ensure: [ client close ]
>  ].
> 
> Is it supposed to work without the second line,
> just with the database set in the url ?

Yes, it is supposed to work like that. Did you try with the latest #reset patch 
(split settings/properties) ?

Sven

> cheers -ben
> 
> 
> P.S.  TimescaleDB looks like cool tech...
>
> https://blog.timescale.com/time-series-data-why-and-how-to-use-a-relational-database-instead-of-nosql-d0cd6975e87c
> 
> Some notes for anyone wanting to try tutorial-hello-nyc...
> a. Postgresql >9.6.3 is required, for which the default install on
> Ubuntu 16.04 had a problem with libpq not being recent enough.   I
> needed to follow these steps...
>  
> https://askubuntu.com/questions/831292/how-to-install-postgresql-9-6-on-any-ubuntu-version
> 
> b. Downloading the sample data errored using the given "https" url,
> but plain "http" worked...
>  http://timescaledata.blob.core.windows.net/datasets/nyc_data.tar.gz
> 




[Pharo-users] P3 library - setting database in url?

2018-01-29 Thread Ben Coman
Hi Sven,

I'm using your P3 library
https://github.com/svenvc/P3

to connect to TimescaleDB set up like this tutorial...
http://docs.timescale.com/v0.8/tutorials/tutorial-hello-nyc

but the following doesn't work unless I un-comment the second line...
  (P3Client new url:
'psql://postgres:password@localhost:5432/nyc_data') in: [ :client |
   [  " client database: 'nyc_data'. "
  client query: 'SELECT date_trunc(''day'', pickup_datetime)
as day, avg(fare_amount)
  FROM rides
  WHERE passenger_count > 1 AND pickup_datetime < ''2016-01-08''
  GROUP BY day ORDER BY day;'
   ] ensure: [ client close ]
  ].

Is it supposed to work without the second line,
just with the database set in the url ?

cheers -ben


P.S.  TimescaleDB looks like cool tech...

https://blog.timescale.com/time-series-data-why-and-how-to-use-a-relational-database-instead-of-nosql-d0cd6975e87c

Some notes for anyone wanting to try tutorial-hello-nyc...
a. Postgresql >9.6.3 is required, for which the default install on
Ubuntu 16.04 had a problem with libpq not being recent enough.   I
needed to follow these steps...
  
https://askubuntu.com/questions/831292/how-to-install-postgresql-9-6-on-any-ubuntu-version

b. Downloading the sample data errored using the given "https" url,
but plain "http" worked...
  http://timescaledata.blob.core.windows.net/datasets/nyc_data.tar.gz



Re: [Pharo-users] Download pillar image -> Error 403: Forbidden

2018-01-29 Thread Guillermo Polito
On Mon, Jan 29, 2018 at 6:52 AM, Hernán Morales Durand <
hernan.mora...@gmail.com> wrote:

> 2018-01-28 18:55 GMT-03:00 Stephane Ducasse :
> > Hernan
> >
> > what we can also do is the following: I set up the pillar project on
> > github with travis and bintray and when you commit
> > the book is automatically built.
> >
>
> Ok, I would try that way.
>
> >
> >> Tried both options, 1) downloading pre-compiled and 2) building from
> >> sources+setting up environment.
> >> 1) Nothing happened after "pillar archetype build", exit without
> >> error, no stdout output, no _result folder
> >
> > this is super strange. We should check the AppVeyor because it should
> > tell us what is not working on windows.
> >
> >> 2) I got confused with this:
> >>
> >> mv pillar ~/.pillar
> >
> > the idea was that once you get pillar on linux/mac we move the
> > donwloaded version into ~./pillar
> > so that after we have only one pillar installation for all the books
> > (contrary to what is done in Pillar 50 and 60).
> >
> > here is what I get in my .pillar
> >
> > cd build
> >
>
> A-ha, that's the thing. My build/ is created one level up and not
> inside .pillar/
>
> > ~/.pillar/build(newpipeline*) » ls
> > Pharo.changes mustache pharo-ui pillar-db
> > Pharo.image pharo pharo-vm pillar-dev-upgrade
> > archetypes pharo-local pillar pillar-upgrade
> >
>
> Another difference, you seem to have the wrapper scripts in build/
>
> ~/.pillar/build (newpipeline) $ ls
> pharo*  Pharo.changes  Pharo.image  PharoDebug.log  pharo-local/
> pharo-ui*  pharo-vm/  stderr  stdout
>
>
> > and
> >
> > cd pillar
> >
> > ~/.pillar/pillar(newpipeline*) » ls
> > LICENSE README.md archetypes scripts src
> >
>
>  ~/.pillar (newpipeline) $ ls
> archetypes/  build/  LICENSE  README.md  scripts/  src/
>
>
> >> because now I have two directories: the .pillar in HOME and the build/
> >> directory separated. And no "pillar" shell script so should I copy the
> >> one from 1) ?
> >
> >
> >
> >
> >
> >
> >> I will re-check tomorrow maybe I'm reading this the wrong way.
> >>
>
> So I checked, and discovered that the build image hasn't installed
> Pillar because there wasn't installed any command handler for
> introspect


> Invalid arguments: "pillar introspect
> --baseDirectory=C:/Users/mvs/.pillar mainDocument" [
>
> The build.sh installs Pillar as follows through a magic variable:
>
> Metacello new
> baseline: 'Pillar';
> repository:
> 'filetree:///c/MySmalltalkProjects/Pillar/Latest/pillar/scripts/../src';
> load.
>
> But gives a SubscriptOutOfBounds: 2 because
> WindowsStore>>printPath:on: expects "c:"
> (I would love a better error description in stdout file "Invalid
> arguments" is not that informative)
>
> Another load error is that BaselineOfPillar is installing OSSubprocess
> and it doesn't work on Windows (#externalCallFailed).
>
> Should I open issue?
>

And that, is because I was holding windows support from integration in a
separate branch.

https://github.com/pillar-markup/pillar/pull/183

I did not want to integrate it yet because for some reason AppVeyor builds
were failing the integration tests in pharo 61 and I couldn't grasp why nor
reproduce it locally (but strangely enough they work on pharo 50).

So, I'm going to wait the CI to finish and then integrate it. That should
add support for ProcessWrapper and several path fixes in windows.


>
>
> >>> so that I can see if this is working.
> >>> I know that guille worked on windows and AppVeyor support but he got
> >>> distracted by the github refactoring.
> >>> We hope to come back this week to Pillar. We plan to release a version
> >>> (still with Magritte) but with a full documentation.
> >>>
> >>
> >> Cool, I will test because I have several chapters ready to publish.
> >>
> >>> Stef
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Sat, Jan 27, 2018 at 4:47 PM, Hernán Morales Durand
> >>>  wrote:
>  Hi Stef
> 
>  2018-01-27 9:30 GMT-03:00 Stephane Ducasse :
> > Hi Hernan
> >
> >
> >
> > On Thu, Jan 25, 2018 at 10:30 PM, Hernán Morales Durand
> >  wrote:
> >> I am following the Publishing Pillar Booklet guide from here
> >> https://github.com/SquareBracketAssociates/Booklet-
> PublishingAPillarBooklet
> >
> > pay attention it is not public because it is in flux because we were
> > working on Pillar 70.
> >
> > Now if you follow the readme of pillar-markup/pillar/ it should work
> > since I used it yesterday.
> >
> > $ wget https://raw.githubusercontent.com/pillar-markup/pillar/
> master/download.sh
> >> $ chmod +x download.sh
> >> $ ./download.sh
> >
> >>./pillar archetype book
> > make book.
> >
> >
> > What you should know is that the stable version sucks at the
> > infrastructure level (relying on too many servers + silent failures
> in
> > bash files).
> >
> > Can 

Re: [Pharo-users] Iceberg and resource files

2018-01-29 Thread Christophe Demarey
Hi Ken,

> Le 27 janv. 2018 à 15:38, kmo  a écrit :
> 
> I don't understand how iceberg handles resource files that you might also
> like to version along with the pharo code.

For now, Iceberg do not really handle these files but it is planned in a next 
future.

> Say I have an CSV file and a text file that my pharo application uses. How
> do I include these in the iceberg commit/push? How do I see changes made in
> these files from version to version?

Currently, you cannot do anything related to this through the UI.
What you could do is to call directly Iceberg API to commit ressources to the 
git repository:
1/ write the resource content in git working copy (std file system). There is a 
utility method: IceRepository>>#saveContent: aString inWorkingCopyFile: 
aRelativePathString
2/ add these files to git index through: IceRepository>>addFilesToIndex: 
aListOfPaths
3/ commit :
iceRepository 
commitIndexWithMessage: commitMessage
andParents:  { iceRepository headCommit }

You can also read ressources by suing IceRepository>>#contentOfFileNamed: 
aPathString commit: aCommitId

Christophe.

> Does iceberg only handle pharo code? Generally git clients don't care about
> the file type - and it it is any kind of text you can see the actual
> differences between each commit. 
> 
> Ken   
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 




Re: [Pharo-users] Download pillar image -> Error 403: Forbidden

2018-01-29 Thread Guillermo Polito
On Sun, Jan 28, 2018 at 8:51 AM, Hernán Morales Durand <
hernan.mora...@gmail.com> wrote:

> Hi Stef,
>
> 2018-01-28 4:15 GMT-03:00 Stephane Ducasse :
> > Ok I see. I think that I never tried this version of Pillar on windows.
> > And I hate make because it is impossible for me to debug it. I will
> > check with Damien
> > because I do not get make.
> >
> > Now we removed the dependency to make in the dev branch
> > Could you try the following:
> > https://github.com/pillar-markup/pillar/blob/newpipeline/README.md
> >
>
> Tried both options, 1) downloading pre-compiled and 2) building from
> sources+setting up environment.
> 1) Nothing happened after "pillar archetype build", exit without
> error, no stdout output, no _result folder
> 2) I got confused with this:
>
> mv pillar ~/.pillar
>
> because now I have two directories: the .pillar in HOME and the build/
> directory separated. And no "pillar" shell script so should I copy the
> one from 1) ?
> I will re-check tomorrow maybe I'm reading this the wrong way.
>

Ah! the instructions are not right :) Sorry for that.

Actually, the instructions are written so you execute the build script from
within the pillar repository. Something like this.

$ git clone g...@github.com:pillar-markup/pillar.git -b newpipeline
$ cd pillar
$ ./scripts/build.sh



that is why the next lines are

$ mv pillar ~/.pillar


and

$ export PILLAR_HOME="$HOME/.pillar/build"$ export PATH="$PATH:$PILLAR_HOME"


Now, to fix your setup, you can try:

$ mv build ~/.pillar/

and that should make the pillar launcher scripts available.

We changed these scripts with stef a couple of weeks ago to keep not only
the build directory but also the git repository, and so be able to upgrade
pillar. But a docbug slipped in ^^.

Can you check it like that?


> > so that I can see if this is working.
> > I know that guille worked on windows and AppVeyor support but he got
> > distracted by the github refactoring.
> > We hope to come back this week to Pillar. We plan to release a version
> > (still with Magritte) but with a full documentation.
> >
>
> Cool, I will test because I have several chapters ready to publish.
>
> > Stef
> >
> >
> >
> >
> >
> > On Sat, Jan 27, 2018 at 4:47 PM, Hernán Morales Durand
> >  wrote:
> >> Hi Stef
> >>
> >> 2018-01-27 9:30 GMT-03:00 Stephane Ducasse :
> >>> Hi Hernan
> >>>
> >>>
> >>>
> >>> On Thu, Jan 25, 2018 at 10:30 PM, Hernán Morales Durand
> >>>  wrote:
>  I am following the Publishing Pillar Booklet guide from here
>  https://github.com/SquareBracketAssociates/Booklet-
> PublishingAPillarBooklet
> >>>
> >>> pay attention it is not public because it is in flux because we were
> >>> working on Pillar 70.
> >>>
> >>> Now if you follow the readme of pillar-markup/pillar/ it should work
> >>> since I used it yesterday.
> >>>
> >>> $ wget https://raw.githubusercontent.com/pillar-markup/pillar/
> master/download.sh
>  $ chmod +x download.sh
>  $ ./download.sh
> >>>
> ./pillar archetype book
> >>> make book.
> >>>
> >>>
> >>> What you should know is that the stable version sucks at the
> >>> infrastructure level (relying on too many servers + silent failures in
> >>> bash files).
> >>>
> >>> Can you retry and let me know?
> >>
> >> Ok I tried again using MinGW in Windows 8.1
> >> Image is downloaded ok but final step gives an error:
> >>
> >> $ make book
> >> support/makefiles/prepare.mk:1: *** Undefined setting OUTPUTDIRECTORY
> (Directory
> >>  for build products).  Stop.
> >>
> >> I replaced the expanded shell variables in main.mk from using := to =
> >> and it seems to "solve" this problem, though someone else should check
> >> why this happens
> >>
> >> MAIN = $(shell ./pillar introspect mainDocument)
> >>
> >> OUTPUTDIRECTORY = $(shell ./pillar introspect outputDirectory)
> >> LATEXTEMPLATE = $(shell ./pillar introspect latexTemplate)
> >> LATEXCHAPTERTEMPLATE = $(shell ./pillar introspect latexChapterTemplate)
> >> HTMLTEMPLATE = $(shell ./pillar introspect htmlTemplate)
> >> HTMLCHAPTERTEMPLATE = $(shell ./pillar introspect htmlChapterTemplate)
> >> CHAPTERS = $(shell ./pillar introspect chapters)
> >>
> >> $ make book
> >> make: *** No rule to make target `/.pdf', needed by `pdfbook'.  Stop.
> >>
> >> I am using
> >> $ make --version
> >> GNU Make 3.81
> >>
> >>
> >>> BTW why do you want to compile Booklet-PublishingAPillarBooklet/
> >>> If you want just create your own repo and do
> >>>
> >>> wget https://raw.githubusercontent.com/pillar-markup/pillar/
> master/download.sh
> >>> chmod +x download.sh
> >>> ./download.sh
> >>> ./pillar archetype book
> >>> make book.
> >>>
> >>
> >> Thanks, I just followed the install instructions.
> >>
> >> Hernán
> >>
> >>>
> >>> Stef
> >>>
> >>>
>  $ git clone g...@github.com:SquareBracketAssociates/Booklet-
> PublishingAPillarBooklet.git
>  $ cd Booklet-PublishingAPillarBooklet/
>  $ wget 

[Pharo-users] [JOB][PhD] Infrastructure and Language Kernels for IoT Systems

2018-01-29 Thread Marcus Denker
[JOB][PhD] Infrastructure and Language Kernels for IoT Systems


The RMOD team of INRIA Lille and the CAR theme of IMT Lille Douai have an open 
position for a PhD student on Infrastructure and language kernels for IoT 
Systems.

Description
==
Over the last years, the RMOD team of INRIA Lille and the CAR theme of IMT 
Lille Douai have been working together on creating tiny language core. For 
example, Guillermo Polito demonstrated in his PhD a fully reflective kernel 
that fits into 80 kb of memory and that it is possible to have hyper 
specialized kernels down to 11 kb. We have also worked on remote debugging (PhD 
of N. Papoulias) and dynamic code updates (PhD of P. Tesone) of such kernels. 
All of these works are prototyped in Pharo. More recently, RMOD have been 
working on advanced probes mechanisms (M. Denker) and a solid remote debugging 
infrastructure (D. Kudriashov). The goal of this PhD is to revisit the 
architecture around such mini-kernels for building IoT applications. 

The plan is to:
=

• improve the tools to edit, compile, debug, deploy and update such kernels on 
IoT devices. Learn how to debug remotely and dynamically update such IoT 
systems using the TelePharo/PharoThings environment. This task will be in 
cooperation with M. Denker and D. Kudriashov on remote debugging for IoT and G. 
Polito for the kernel edition and tooling.

• define some language extensions to manage groups of IoT devices to program 
them at once. Managing hundreds or even thousands of IoT devices is a 
challenging task. We want to explore different solutions to help deploying and 
updating groups of IoT devices using some registration mechanism in a cloud 
server or some groups/roles based approaches for example. Note that ZweiDenker 
GmbH http://zweidenker.de/en/ is interested in collaboration on the IoT cloud 
management infrastructure

• expressing the architecture of IoT applications. We would like to explore 
also how to express IoT architectures and what are the abstractions that should 
be offered to developers such as expressing event-driven architectures with 
declarative ECA (Event-Conditions-Actions) rules. But we will study a couple of 
typical IoT applications.

• dynamically update an IoT application. An IoT application needs to adapt 
itself because unreachable or faulty devices or the diminution of available 
bandwith. We would like that the whole application can reconfigure itself in 
such situations as Guillaume Grondin proposes it in its PhD. 

• explore Lightweight Virtual Machines. Virtual machines in the IoT context are 
very powerful for incremental deployment or dynamic updates. In this task, we 
would like to investigate what is the minimal memory consumption that we can 
reach for a VM usable for IoT.

Application
=
To apply, please send us : 

• a CV, 
• a copy of your Master diploma 
• a copy of your Master thesis 
• 2 (two) reference letters, with the contact details of the referents 
• links to videos of demos of your experiments and/or simulations

The application materials should be sent by email to Prof. S. Ducasse 
stephane.duca...@inria.fr. Email subject must start with : [PhD-RMoD-CAR-2018].

Bibliography 
=
• Guillermo Polito, Stephane Ducasse, N Bouraqadi, L Fabresse, M 
Mattone. Virtualization Support for Dynamic Core Library Update. Onward !, 
  Oct 2015, Pittsburg, USA. 
• Guillermo Polito. Virtualization Support for Application Runtime 
Virtualization and Extension. Ph.D. Thesis 2015. Co-delivree par l’Universite 
   de Lille et l’Ecole des Mines de Douai. 
• Extended results of Tornado : A Run-Fail-Grow approach for Dynamic 
Application Tayloring. Ecole des mines de Douai, France. 50p, July 2014
• Nick Papoulias, Noury Bouraqadi, Luc Fabresse, Stephane Ducasse and 
Marcus Denker, Mercury: Properties and Design of a Remote Debugging
   Solution using Reflection, Journal of Object Technology, 14, 1 
:1-36, 2015


Links
=
• Pharo: http://www.pharo.org
• PharoThings: https://github.com/pharo-iot/PharoThings
• INRIA RMOD: http://rmod.lille.inria.fr
• INRIA Lille: http://www.inria.fr/lille
• INRIA in General: http://www.inria.fr
• Lille:
• http://en.wikipedia.org/wiki/Lille
• http://wikitravel.org/en/Lille

Permanent Link: https://rmod.inria.fr/web/blog/2018-01-25