Re: [Pharo-users] [Ann] Blog entry about using Pharo / Smalltalk to build a bot

2017-08-17 Thread john pfersich
+1 Sent from my iPhone > On Aug 17, 2017, at 06:11, Dimitris Chloupis wrote: > > there was one claim you made in that post that got me thinking > > ""No one else knows Smalltalk." > > So I wonder how many developers amount to "no one". > > Now my data is questionable to say the least but I

Re: [Pharo-users] [ANN] PharoLambda 1.5 - Pharo running on AWS Lambda now with saved Debug sessions via S3

2017-08-17 Thread Guillermo Polito
On Thu, Aug 17, 2017 at 8:51 PM, Alistair Grant wrote: > Hi Tim, > > On Thu, Aug 17, 2017 at 01:07:06PM +0100, Tim Mackinnon wrote: > > Just thought I would report back a bit more on this - > > > > The Unicode change doesn?t work in my case (possibly not for command > line Pharo > > as well) as I

Re: [Pharo-users] [ANN] PharoLambda 1.5 - Pharo running on AWS Lambda now with saved Debug sessions via S3

2017-08-17 Thread Alistair Grant
Hi Tim, On Thu, Aug 17, 2017 at 01:07:06PM +0100, Tim Mackinnon wrote: > Just thought I would report back a bit more on this - > > The Unicode change doesn?t work in my case (possibly not for command line > Pharo > as well) as I get an error where OS filename?s need unicode support (actually >

Re: [Pharo-users] Preference to for not showing hidden files in the FileBrowser?

2017-08-17 Thread Peter Uhnak
There's no such option. I've created File Dialog ( https://github.com/peteruhnak/file-dialog ) which will be in P7 when I find the time to go through the incorporation process... which practically means September... Peter On Thu, Aug 17, 2017 at 01:05:25PM +0200, Guillermo Polito wrote: > On

Re: [Pharo-users] Looking for small boards and tiny computers which can run Pharo

2017-08-17 Thread Marcus Denker
> On 24 Jul 2017, at 21:30, Steven Costiou wrote: > > Hi, > > i am looking for: > > - small hardware, boards/computers, "embeddable" devices, etc. that can run > Pharo (except Raspberry pi that i already know) > > - robots, flying drones or things alike with an open linux which can possibly

Re: [Pharo-users] [Ann] Blog entry about using Pharo / Smalltalk to build a bot

2017-08-17 Thread Dimitris Chloupis
there was one claim you made in that post that got me thinking ""No one else knows Smalltalk." So I wonder how many developers amount to "no one". Now my data is questionable to say the least but I dont think I am very far from the truth. According to a quick estimate I found online there are 1

Re: [Pharo-users] [ANN] PharoLambda 1.5 - Pharo running on AWS Lambda now with saved Debug sessions via S3

2017-08-17 Thread Tim Mackinnon
Actually it looks like that extra 1.5mb is not worth having as It seems that something does end up using the class organisation and so it must recompute when the image is launched. Tim > On 17 Aug 2017, at 13:07, Tim Mackinnon wrote: > > Just thought I would report back a bit more on this -

Re: [Pharo-users] [ANN] PharoLambda 1.5 - Pharo running on AWS Lambda now with saved Debug sessions via S3

2017-08-17 Thread Tim Mackinnon
Just thought I would report back a bit more on this - The Unicode change doesn’t work in my case (possibly not for command line Pharo as well) as I get an error where OS filename’s need unicode support (actually I think this is where its trying to write to stdout, but I didn’t dig more into th

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban A. Maringolo
2017-08-17 6:51 GMT-03:00 Esteban Lorenzano : > > On 17 Aug 2017, at 11:34, jtuc...@objektfabrik.de wrote: > > Am 17.08.17 um 11:31 schrieb Esteban Lorenzano: > >>> On 17 Aug 2017, at 11:28, jtuc...@objektfabrik.de wrote: > >>> > >>> Herby, > >>> > >>> back when Alan was maintaining Glorp, he took

Re: [Pharo-users] How to find where pharo is killing processor power?

2017-08-17 Thread Dimitris Chloupis
Are you aware of the profile tools inside Pharo ? They capture execution and offer detailed analysis of how much time is spent on each task. One of it can be found in World Menu -> Tools -> Time Profiler Generally speaking a while loop that runs all the time without any kind of delays is a very po

Re: [Pharo-users] Encoding Login information in your image (safely)

2017-08-17 Thread Dimitris Chloupis
I am clueless when it comes to encryption and safety , so as you would expect I will offer my opinion on this. I do not think that encryption from the side of Pharo would be a good idea because having the image you have access to everything . Including any kind of context even its not stored in a

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-17 Thread Denis Kudriashov
Yes. Also simple solution can be to override compiler of problem classes to return old compiler. I know it is better to rewrite code but it can be not simple task when there are a lot of ffi-methods. 2017-08-17 13:17 GMT+02:00 Guillermo Polito : > > > On Thu, Aug 17, 2017 at 1:09 PM, Denis Kud

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-17 Thread bdurin
Hi, Thank you Denis and Esteban for your help. I agree, the way to go is to rewrite correct UFFI bindings. Denis' solution seems fragile. About my points 3 and 4 I think I was not clear. I did not want to force old FFI syntax. I explained why I thought that the way Pharo 5 was failing at depreca

[Pharo-users] Loading and saving packages to filetree repos

2017-08-17 Thread Luke Gorrie
Hoi, I want to have a quick "cheat mode" for loading and saving the Smalltalk packages in my project. This is to make life easy for newbies who are not very familiar with Monticello and Metacello. The "cheat" is to assume that there is one filetree:// repository that contains all of the relevant

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-17 Thread Guillermo Polito
On Thu, Aug 17, 2017 at 1:09 PM, Denis Kudriashov wrote: > > Sorry, but we will not accept old pragma format (as I said, is invalid… >> and ugly ;) ). > > > But we will be able load old compiler (when it will be removed from > standard image) to support such old code > But then you should compil

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-17 Thread Denis Kudriashov
> Sorry, but we will not accept old pragma format (as I said, is invalid… > and ugly ;) ). But we will be able load old compiler (when it will be removed from standard image) to support such old code 2017-08-17 11:48 GMT+02:00 Esteban Lorenzano : > hi, > > Old way to do FFI calls is no longer s

Re: [Pharo-users] Preference to for not showing hidden files in the FileBrowser?

2017-08-17 Thread Guillermo Polito
On Wed, Aug 16, 2017 at 1:26 PM, H. Hirzel wrote: > Hello > > Is there a preference for not showing hidden files in the FileBrowser? > I don't think such preference exists, sorry... Maybe implementing it would not be so hard? > I checked menu 'System' -> 'Settings' searching for 'hidden'. > Th

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban Lorenzano
> On 17 Aug 2017, at 11:34, jtuc...@objektfabrik.de wrote: > > Am 17.08.17 um 11:31 schrieb Esteban Lorenzano: >>> On 17 Aug 2017, at 11:28, jtuc...@objektfabrik.de wrote: >>> >>> Herby, >>> >>> back when Alan was maintaining Glorp, he took care for portability, he even >>> maintained the port

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-17 Thread Esteban Lorenzano
hi, Old way to do FFI calls is no longer supported on Pharo, but this deprecation is very old (since Pharo 2). Now, in Pharo 4 we replaced the compiler (for OpalCompiler) and we no longer supported “pragma-like” calls, in part because they are “invalid” pragma calls (they do not agrees with pra

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread jtuc...@objektfabrik.de
Am 17.08.17 um 11:31 schrieb Esteban Lorenzano: On 17 Aug 2017, at 11:28, jtuc...@objektfabrik.de wrote: Herby, back when Alan was maintaining Glorp, he took care for portability, he even maintained the port to VA Smalltalk, IIRC. Niall and Tim(?) at Cincom also try not to break any dialect i

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban Lorenzano
> On 17 Aug 2017, at 11:28, jtuc...@objektfabrik.de wrote: > > Herby, > > back when Alan was maintaining Glorp, he took care for portability, he even > maintained the port to VA Smalltalk, IIRC. Niall and Tim(?) at Cincom also > try not to break any dialect in their changes and they also work

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread jtuc...@objektfabrik.de
Herby, back when Alan was maintaining Glorp, he took care for portability, he even maintained the port to VA Smalltalk, IIRC. Niall and Tim(?) at Cincom also try not to break any dialect in their changes and they also work on keeping things portable. I am not sure there ever was any (semi-)au

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-17 Thread Denis Kudriashov
Hi. I think your problem related to the old FFI syntax. In Pharo UFFI is the way to do external calls. To enable old FFI syntax try to switch compiler: Smalltalk compilerClass: Compiler I used this trick to port some small library which was based on old FFI. I made migration manually but maybe t

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Guillermo Polito
but! we could have github.pharo.org that redirects to the pharo organization in github :P On Thu, Aug 17, 2017 at 10:53 AM, Herby Vojčík wrote: > Esteban Lorenzano wrote: > >> >> On 17 Aug 2017, at 10:35, Guillermo Polito >> > wrote: >>> >>> Just a thought out o

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Herby Vojčík
Esteban Lorenzano wrote: On 17 Aug 2017, at 10:35, Guillermo Polito mailto:guillermopol...@gmail.com>> wrote: Just a thought out of thin air: wasn't filetree supposed to provide common ground for this kind of scenarios? If we shared a single repository in github that would save us a lot of dis

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban Lorenzano
> On 17 Aug 2017, at 10:49, Herby Vojčík wrote: > > Guillermo Polito wrote: >> >> >> On Thu, Aug 17, 2017 at 10:32 AM, Esteban Lorenzano > > wrote: >> >> >>> On 17 Aug 2017, at 10:18, Herby Vojčík >> wrote: >>> >>> jtuc..

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Herby Vojčík
Guillermo Polito wrote: On Thu, Aug 17, 2017 at 10:32 AM, Esteban Lorenzano mailto:esteba...@gmail.com>> wrote: > On 17 Aug 2017, at 10:18, Herby Vojčík mailto:he...@mailbox.sk>> wrote: > > jtuc...@objektfabrik.de wrote: > > Herby, > >

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban Lorenzano
> On 17 Aug 2017, at 10:35, Guillermo Polito wrote: > > Just a thought out of thin air: wasn't filetree supposed to provide common > ground for this kind of scenarios? If we shared a single repository in github > that would save us a lot of discussion :P it doesn’t :) while exporting VM-Glorp

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Guillermo Polito
On Thu, Aug 17, 2017 at 10:32 AM, Esteban Lorenzano wrote: > > > On 17 Aug 2017, at 10:18, Herby Vojčík wrote: > > > > jtuc...@objektfabrik.de wrote: > >> Herby, > >> > >> my ccomments were not meant to say you are not competent enough to fix > >> Glorp. I know you have been active as the mainta

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban Lorenzano
> On 17 Aug 2017, at 10:18, Herby Vojčík wrote: > > jtuc...@objektfabrik.de wrote: >> Herby, >> >> my ccomments were not meant to say you are not competent enough to fix >> Glorp. I know you have been active as the maintainer of Amber for quite >> a while now and know you are an experienced Sma

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Herby Vojčík
jtuc...@objektfabrik.de wrote: Herby, my ccomments were not meant to say you are not competent enough to fix Glorp. I know you have been active as the maintainer of Amber for quite a while now and know you are an experienced Smalltalker. So this is not Not really. Actually, never did any produ

Re: [Pharo-users] GTInspect auto-update in raw view?

2017-08-17 Thread Esteban Lorenzano
> On 17 Aug 2017, at 01:02, Aliaksei Syrel wrote: > > Hello Esteban, > > You can enable auto-refresh with: GTInspector enableStepRefresh > For performance reasons it is disabled by default. If you are curious why I > think Andrei could explain a bit more :) I want to know why is disabled and