Ah ah yeah sure is cool. Now I was explaining some Seaside stuff to a friend who is doing .Net and he had a hard time grasping the thing. Phil , October 24, 2013, Igor Stasenko <siguctua@gmail.com> wrote:
On 24 October 2013 14:42, Sven Van Caekenberghe <sven@stfx.eu> wrote:
And to save on parenthesis, you could also write
Compiler evaluate: 'http://my.url.with.script.st' asZnUrl
retrieveContents.
CodeImporter evaluateString: 'http://my.url.with.script.st' asUrl
retrieveContents.
this is why i love smalltalk: that you can express highly complex stuff (there's a lot of stuff happens under the hood) by single line expression.
Comparing to most examples of C frameworks, where you had to manually allocate buffers, initialize some data structures, and pass several options and flags here and there, which at the end does what you need, but floods your mind with hundreds of tiny irrelevant details..
With #asUrl and #asZnUrl soon to be 100% the same thing.
On 24 Oct 2013, at 14:32, Esteban Lorenzano <estebanlm@gmail.com> wrote:
you mean:
CodeImporter evaluateString: (ZnEasy get: 'my-url') contents.
:)
On Oct 23, 2013, at 11:17 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 23 October 2013 20:21, Sven Van Caekenberghe <sven@stfx.eu> wrote: This is really cool, is that in the image already ? What about plain HTTP repos ?
indeed, what could be simpler than:
Compiler evaluate: (ZnEasy get: 'http://my.url.with.script.st')
and you can, of course place it on github, if you need version
control, like:
https://raw.github.com/pharo-project/pharo-vm/master/codegen-scripts/LoadVMM...
On 23 Oct 2013, at 20:04, Sean P. DeNigris <sean@clipperadams.com>
wrote:
philippeback wrote
Would be great to have a logout, in order to give images to other
people
without leaving credentials around.
Done, added to world menu under the individual repo login options
The way the logins work is that a file named .mcconfig is expected in the general preferences folder with the format:
[squeaksource] user := 'me'. password := 'pwd'. [squeaksource3] user := 'me'. password = 'pwd'. [smalltalkhub] user := 'me'. password := 'pwd'.
----- Cheers, Sean -- View this message in context: http://forum.world.st/Startup-Preferences-An-Alternative-tp4713968p4716686.h... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller