Re: [Pharo-users] Pharo on the SqueakJS virtual machine (was "PharoJS")

2017-06-29 Thread Craig Latta
Hi Aik-Siong-- > Great news for Pharo. I presume it will be after you are done with > Squeak running on SqueakJS. Now that I've gotten a release of Caffeine out[1], and written some blog posts about it[2], I've turned my attention to Pharo in web browsers. I also want Squeak and Pharo in we

[Pharo-users] Logging in with VNC

2017-06-29 Thread sergio ruiz
Hey, all.. I need to be able to log in to my production image with VNC until i am comfortable with the command line interface. I know that every time i have had to do it, it seems like i used a different package. Which package is everyone using these days for remote GUI access? Thanks!

[Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-06-29 Thread Hilaire
Hi, I try to build a dedicated browser for user scripting on DrGeo. I am learning from the Deep into Pharo Glamour chapter, extending the given example. Regarding the method category pane, I need both instance and class side, so I write it like this: categoriesIn: constructor constructor list

[Pharo-users] Anyone in Oslo ?

2017-06-29 Thread Alexandre Bergel
Hi! I am in Oslo for a couple of days. Anyone up for a beer ? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.

[Pharo-users] Question about writeStream

2017-06-29 Thread Jérémie Regnault
Hi, I am writing tests with streams, and I noticed that a stream opened on a string doesn't close, but FileStreams do close. Is it normal ? -- Jérémie Regnault

Re: [Pharo-users] Question about writeStream

2017-06-29 Thread Sven Van Caekenberghe
> On 29 Jun 2017, at 16:07, Jérémie Regnault > wrote: > > Hi, > > I am writing tests with streams, and I noticed that a stream opened on a > string doesn't close, but FileStreams do close. Is it normal ? How do you mean that ? That FileStreams close automatically ? That is indeed the case,

[Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Tim Mackinnon
Hi - I really like the playground metaphor, it really is such a nice way to experiment. However I've noticed that unlike older versions of Smalltalk, it seems that DoIt operations in playground don't end up in the .changes file anymore (which I guess is a mixed blessing when you want to recover

[Pharo-users] Pharo command line, stdout and integrating with other tools?

2017-06-29 Thread Tim Mackinnon
Hi - I've been playing with using Pharo with Aws lambda and have got an image to launch in that environment. However now I need to better integrate Pharo with its calling environment - and I know there was a concerted effort to make Pharo play better which I should be able to leverage. So I am

Re: [Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Sven Van Caekenberghe
One of the more hidden Playground features are named Pages. Double-click the page tab title and give it a name, it will then be saved automagically in pharo-local/play-stash (and auto saves on changes from then on). I use that all the time. > On 29 Jun 2017, at 16:45, Tim Mackinnon wrote: > >

Re: [Pharo-users] Pharo on the SqueakJS virtual machine

2017-06-29 Thread Craig Latta
Well, that didn't take as long as I thought. :) Probably due to progress Bert made since we looked at it at ESUG 2016. For more details, see https://tinyurl.com/y727fz4a (thiscontext.com). Let the bugfixing begin. :) thanks again, -C -- Craig Latta Black Page Digital Amsterdam

Re: [Pharo-users] Pharo on the SqueakJS virtual machine

2017-06-29 Thread Pavel Krivanek
WOW!!! Thank you all very much for this effort. -- Pavel 2017-06-29 18:56 GMT+02:00 Craig Latta : > > Well, that didn't take as long as I thought. :) Probably due to > progress Bert made since we looked at it at ESUG 2016. > > For more details, see https://tinyurl.com/y727fz4a > (t

Re: [Pharo-users] Pharo on the SqueakJS virtual machine

2017-06-29 Thread Sven Van Caekenberghe
> On 29 Jun 2017, at 19:14, Pavel Krivanek wrote: > > WOW!!! +10 > Thank you all very much for this effort. > > -- Pavel > > > > 2017-06-29 18:56 GMT+02:00 Craig Latta : > > Well, that didn't take as long as I thought. :) Probably due to > progress Bert made since we looked at it at

Re: [Pharo-users] Pharo on the SqueakJS virtual machine

2017-06-29 Thread Pavel Krivanek
If I understand it well, for a local copy we need: clone repository: git clone g...@github.com:ccrraaiigg/ccrraaiigg.github.io.git inside the clone to run a webserver, e.g.: python -m SimpleHTTPServer 9090 then go to: http://localhost:9090/pharo/squeakjspharo.html -- Pavel 2017-06-29 18:56 GMT

Re: [Pharo-users] Question about writeStream

2017-06-29 Thread Guillermo Polito
In fact the question comes from the fact that they are not polymorphic and you should know if you're manipulating a closable stream or not... Maybe a solution is indeed to use #writeStreamDo:, that should behave well even for in-memory, collection streams, no? On Thu, Jun 29, 2017 at 4:58 PM, Sve

[Pharo-users] [ANN] An evening with Pharo and the ESP32 microcontroller

2017-06-29 Thread Ben Coman
Nothing too dramatic, but for a hardware hackathon I'm attending I wanted some online material I could expose to people to who hadn't heard of Pharo before. Maybe some Pharo regulars might also find it of interest. All comments welcome. http://blog.openinworld.com/2017/06/evening-with-pharo-esp

Re: [Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Tim Mackinnon
Cool - I was missing that insight. Tim Sent from my iPhone > On 29 Jun 2017, at 18:04, Sven Van Caekenberghe wrote: > > One of the more hidden Playground features are named Pages. Double-click the > page tab title and give it a name, it will then be saved automagically in > pharo-local/play-

Re: [Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Esteban A. Maringolo
Please allow me a little rant here... I still find disturbing the"autosave" feature without having the option to explicitly save the contents in the filesystem as I did with Workspaces. Sometimes I don't want the contents of a file/tab updated by a criteria different than when to save the image, i

[Pharo-users] Solved: ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-06-29 Thread Offray Vladimir Luna Cárdenas
Hi, Thanks Sven. This solves the problem. The issue was the 32 bit library. I don't know if this should be added as some kind of annotation or footnode to [1], because the chapter suposse a 32-bit Ubuntu Gnu/Linux deployment, but some of us are going to try similar stuff in similar environment, f

Re: [Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Offray Vladimir Luna Cárdenas
Hi, Tim, I have made a project, called Grafoscopio, that, in its core, is about saving playgrounds and embed them into bigger context/narratives. You can see more details and examples here: [1] http://mutabit.com/grafoscopio/index.en.html Still needs work to do, for example improving English doc

[Pharo-users] Validate password with PBKDF2

2017-06-29 Thread Francis via Pharo-users
--- Begin Message --- Hi folks I'm playing with the PBKDF2 package of Udo: http://www.smalltalkhub.com/#!/~UdoSchneider/PBKDF2 (thanks Udo), but I can't find how to validate a stored hash. Can you point me in the right direction? Thanks Francis -- View this message in context: http://forum.w

Re: [Pharo-users] Validate password with PBKDF2

2017-06-29 Thread Paul DeBruicker
Looks like you'll have to store the salt when making the original hash of the password. With that you can do | salt originalPassword userInputPassword originalHash newHash secretKey | salt:='salt'. originalPassword:='password'. userInputPassword:='12345678'. originalHash:=PBKDF2 derivedKeySHA

Re: [Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Tim Mackinnon
Hi Offray - I hadn't understood your project was in this area, I'll have a look. It does sound like some tweaks in playground might be useful. Like many of these things though - you have to live with them for a while to really understand. Tim Sent from my iPhone Sent from my iPhone > On 29