Re: [Pharo-users] Commandline

2014-07-25 Thread Sven Van Caekenberghe
et Pharo3.0 to work on .st files in arbitary directores? Are you using the shebang or direct version ? In any case, I am always using absolute paths. Does that not work for you ? > Dale > > > On Thu, Jul 24, 2014 at 7:42 AM, Sven Van Caekenberghe wrote: > > On 24 Jul 2014, at

Re: [Pharo-users] Commandline

2014-07-25 Thread Sven Van Caekenberghe
mmandLineHandler)>>activate > PharoCommandLineHandler>>activate > PharoCommandLineHandler class(CommandLineHandler class)>>activateWith: > PharoCommandLineHandler class>>activateWith: in Block: [ super activateWith: > aCommandLine ] > WorldState>>runStepM

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Sven Van Caekenberghe
Hi Norbert, Neo-Caching was an experiment, a proof of concept, it has been integrated in Pharo. See category 'System-Caching', the hierarchy AbstractCache, LRUCache and TTLCache. HTH, Sven On 28 Jul 2014, at 13:48, Norbert Hartl wrote: > I try to give Neo-Caching a shot in a project of mine

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Sven Van Caekenberghe
On 28 Jul 2014, at 14:59, Norbert Hartl wrote: > > Am 28.07.2014 um 14:19 schrieb Sven Van Caekenberghe : > >> Hi Norbert, >> >> Neo-Caching was an experiment, a proof of concept, it has been integrated in >> Pharo. >> See category 'System-Caching

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread Sven Van Caekenberghe
I think we need a better bug report, for me (Mac OS X) this works fine: $ ./pharo Pharo.image eval 'FileStream stdout nextPutAll: 42 factorial asString; cr. #done' > out.txt $ cat out.txt 14050061177528798985431426062445115699363840 #done So, what exactly is not working ? On 28 Jul 20

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-29 Thread Sven Van Caekenberghe
rote: > Yes, it works for me on OSX.l But it says "FileWriteError: File stdout is > closed" when doing exactly the same thing on the Arch Linux of one of our > programmer. > > We'll investigate and test on another Linux distro... > > > On Mon, Jul 28, 2014 at

Re: [Pharo-users] strange question

2014-07-29 Thread Sven Van Caekenberghe
Hi Werner, On 29 Jul 2014, at 14:50, Werner Kassens wrote: > Hi, > is there a way for a method, to look up the name of the method from where > itself was called ? > werner That is what thisContext is for (one of the few special variables, like self and super). Use the Finder to search for all

Re: [Pharo-users] Syncing local cache and SmalltalkHub

2014-08-02 Thread Sven Van Caekenberghe
Hi Offray, Once you create your StHub repository and define it in your image, you can just copy versions (mcz files) from your package cache to the new repository using the Copy button in the Repository browser (which you get by selecting your local package cache in the Monticello browser and c

Re: [Pharo-users] rethinking compilation notifications

2014-08-03 Thread Sven Van Caekenberghe
On 04 Aug 2014, at 00:07, Sean P. DeNigris wrote: > Tudor Girba-2 wrote >> compilation notifications... we used a popper interface to show the error >> without >> affecting the underlying text editor: > > Thank god! At least it used to be highlighted so you could delete it easily, > but now we

Re: [Pharo-users] [ANN] HelloPharo - webapp deployment tool

2014-08-14 Thread Sven Van Caekenberghe
On 14 Aug 2014, at 13:08, François Stephany wrote: > Oh, I forgot to mention Sven. He wrote the original > http://stfx.eu/pharo-server/ > We basically stole all his Bash-fu to build the main script: > > https://github.com/fstephany/hello-pharo/blob/master/app > > Thanks a lot Sven! You're w

Re: [Pharo-users] [Pharo-business] [Pharo-dev] [ANN] HelloPharo - webapp deployment tool

2014-08-14 Thread Sven Van Caekenberghe
> I'll update the README to be more clear about what is done behind the scene. > Showing the tree of directories created by HelloPharo will be worth a > thousand words (especially if you've used capistrano before). > > > On Thu, Aug 14, 2014 at 3:13 PM, Sven Van Cae

Re: [Pharo-users] [Pharo-business] [Pharo-dev] [ANN] HelloPharo - webapp deployment tool

2014-08-14 Thread Sven Van Caekenberghe
(implicitly) 'we closed your session for security reasons'. > On Thu, Aug 14, 2014 at 10:27 PM, Sven Van Caekenberghe wrote: > > On 14 Aug 2014, at 15:21, François Stephany wrote: > > > Good idea, I add monit as one of the next step. > > > > Load

Re: [Pharo-users] A Slice

2014-08-14 Thread Sven Van Caekenberghe
Another way, more technical way to say the same thing: a slice is an empty Monticello package which has a number of other packages as its so called requirements - loading the main slice package will then load the required packages. so it is a way to group modified packages. BTW, Monticello is a

Re: [Pharo-users] How do I get ZnClient to follow redirects from Google App Scripts

2014-08-16 Thread Sven Van Caekenberghe
Hi Andy, Your URL actually does return '13' for me with Zinc following the redirect: So the question is why doesn't it work for you ? Which version of Pharo and/or Zinc are you using ? Are you behind a proxy ? Sven On 16 Aug 2014, at 16:55, Andy Burnett wrote: > Hello, > > Google Apps Scr

Re: [Pharo-users] How do I get ZnClient to follow redirects from Google App Scripts

2014-08-16 Thread Sven Van Caekenberghe
On 16 Aug 2014, at 17:50, Andy Burnett wrote: > ᐧ > Hi Sven, > That sounds encouraging. > > I am running Pharo 3.0, but I don't know how to get the release number of > Zinc. Is it stored in the class comments, or can I use monticello to get the > info? Yes, in the Monticello Browser, you can

Re: [Pharo-users] [ANN] Teapot 0.8 micro web framework

2014-08-24 Thread Sven Van Caekenberghe
http://forum.world.st/ANN-Teapot-0-8-micro-web-framework-tp4774449.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Workbook, exercises and problems

2014-08-25 Thread Sven Van Caekenberghe
Hi Ichiro, On 25 Aug 2014, at 16:26, Ichiseki wrote: > I'm trying to find examples and problems, exercises to solve in Pharo but it > seems that it is little in that department. > I come from Haskell, there we have 99 problems solved in Haskell and also, > Project Euler. > Also Python, Ruby

Re: [Pharo-users] Workbook, exercises and problems

2014-08-25 Thread Sven Van Caekenberghe
Start with Pharo by Example (PBE), http://pharo.org/documentation Teaching/learning design/style is plain hard and takes times. On 25 Aug 2014, at 16:40, Ichiseki wrote: > I would love to do that but: > I have neither a good understanding of smalltalk not pharo. I don't have a > good OO style

Re: [Pharo-users] Workbook, exercises and problems

2014-08-25 Thread Sven Van Caekenberghe
That is indeed a very good book, a big step above a plain introduction. But the best book is actually Andrés Valloud's "A mentoring course on Smalltalk" - I can guarantee you it will blow your mind ;-) The cool thing about Pharo/Smalltalk is that once you get the basics (minimal syntax, new app

Re: [Pharo-users] Can Pharo meet all your computing needs?

2014-08-26 Thread Sven Van Caekenberghe
ation, tools, environment, live objects and being able to learn. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill

Re: [Pharo-users] Problems Pharo 3.0 & Windows 8.1 (64 Bit)

2014-08-26 Thread Sven Van Caekenberghe
My children have a Windows 8.1 (64-bit) machine, last time I checked Pharo ran fine (actually this video was done in VirtualBox) : https://www.youtube.com/watch?v=FKokxrQtrg0 I could check again tonight, but I suspect it will just work. On 25 Aug 2014, at 17:34, volk...@nivoba.de wrote: > De

Re: [Pharo-users] Problems Pharo 3.0 & Windows 8.1 (64 Bit)

2014-08-26 Thread Sven Van Caekenberghe
ch conditions this behavior occurs and hope to give you a better > description. > > If someone found a strange behavior similar to mine, he/she should give me a > note. > > BW, > Volkert > > > Am 26.08.2014 um 14:37 schrieb Sven Van Caekenberghe: > My childre

Re: [Pharo-users] Installing STON from a playground/workspace

2014-08-28 Thread Sven Van Caekenberghe
Offray, I am glad you like STON. It is best to use a Metacello configuration, if there is one. Then, the load script would be: Gofer it smalltalkhubUser: 'SvenVanCaekenberghe' project: 'STON'; configuration; loadStable. STON lives both in StHub and on SS3, so alternatively you can do: Gofe

Re: [Pharo-users] Persistence on Moose browsers, showing always a selection in trees and making tree labels editable.

2014-08-28 Thread Sven Van Caekenberghe
Hi, On 28 Aug 2014, at 07:49, Offray Vladimir Luna Cárdenas wrote: > The last question its related with Sven's STON: Suppose that I would like to > store light markup languages in STON which have the single quote character > (') on them, without creating any escape sequence, is this possible

[Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-01 Thread Sven Van Caekenberghe
knowledge about Pharo (language and IDE). https://ci.inria.fr/pharo-contribution/job/Reddit/ http://www.smalltalkhub.com/#!/~SvenVanCaekenberghe/Reddit Enjoy! Sven PS: This article is actually an update of an article that I wrote in 2010 and that became unavailable/outdated. -- Sven Van

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread Sven Van Caekenberghe
On 02 Sep 2014, at 18:54, Sean P. DeNigris wrote: > jfabry wrote >> the tutorials are missing the basic explanation of the use of workspaces >> and browsers, and I don’t know where to get some documentation that treats >> just that. Any pointers to that kind of material? > > PBE? Yes, I would

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sven Van Caekenberghe
Check out ZTimestampFormatter (load ConfigurationOfZTimestamp). From the class comment: === I am ZTimestampFormat, an implementation of a textual representation for a timestamp, date or time that can be used for formatting or parsing. You instanciate me by specifying the textual format by examp

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sven Van Caekenberghe
library (http://golang.org/src/pkg/time/format.go) and some Ruby library I can't remember the name of. I implemented this as a proof of concept to see if/how it could be done. > Regards! > Esteban A. Maringolo > > > 2014-09-02 16:07 GMT-03:00 Sven Van Cae

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sven Van Caekenberghe
On 02 Sep 2014, at 23:15, Sean P. DeNigris wrote: > Esteban A. Maringolo wrote >> Curiosity #1: Why did you use an example date string instead of using >> regular patterns like , dd, hh/hh24, etc? > > I like the example concept because the user has less to remember (even if > those date pat

Re: [Pharo-users] Date text converter/formatter

2014-09-03 Thread Sven Van Caekenberghe
Hi Sean, On 03 Sep 2014, at 00:32, Sean P. DeNigris wrote: > Sven Van Caekenberghe-2 wrote >> Maybe you got the example and the input mixed up ? > > Oh yeah, I did, but even the example in that case is ambiguous, no? > > (ZTimestampFormat fromString

Re: [Pharo-users] Date text converter/formatter

2014-09-03 Thread Sven Van Caekenberghe
On 03 Sep 2014, at 15:24, Ben Coman wrote: > Sven Van Caekenberghe wrote: >> Hi Sean, >> >> On 03 Sep 2014, at 00:32, Sean P. DeNigris >> >> wrote: >> >> >>> Sven Van Caekenberghe-2 wrote >>> >>> >>>&

Re: [Pharo-users] Date text converter/formatter

2014-09-03 Thread Sven Van Caekenberghe
On 03 Sep 2014, at 15:44, Esteban A. Maringolo wrote: > Esteban A. Maringolo > > > 2014-09-02 17:46 GMT-03:00 Sven Van Caekenberghe : >> >> On 02 Sep 2014, at 21:39, Esteban A. Maringolo wrote: >> >>> Thank you. It is certainly better than the base p

Re: [Pharo-users] Pharo Glorp 1.7 <-> VisualWorks

2014-09-04 Thread Sven Van Caekenberghe
On 04 Sep 2014, at 16:18, François Stephany wrote: > Ok. Is there a process somewhere on how to convert VW code to Pharo? Just > load it would already be cool. Glorp is pretty big and complex. Porting something cross platform is a huge amount of work, I think most of it was basically done by

Re: [Pharo-users] Encoding CJK URL?

2014-09-04 Thread Sven Van Caekenberghe
Hi Dirk, Please try: ZnDefaultCharacterEncoder value: ZnUTF8Encoder new during: [ ZnClient new get: 'http://www.hatinosu.net/onsen/import.kml'; yourself ]. ZnDefaultCharacterEncoder value: ZnUTF8Encoder new during: [ 'http://www.hatinosu.net/onsen/imp

Re: [Pharo-users] [ANN] JSON datatype support in PostgresV2 package

2014-09-05 Thread Sven Van Caekenberghe
Great ! On 04 Sep 2014, at 21:34, Esteban A. Maringolo wrote: > Spurred by the last discussion about GLORP, Postgres and friends, I > spent the last few hours looking into the workings of PostgresV2 to > add support to the native JSON datatype provided by PostgreSQL 9.2. > > According to Postgr

Re: [Pharo-users] [ANN] JSON datatype support in PostgresV2 package

2014-09-05 Thread Sven Van Caekenberghe
On 04 Sep 2014, at 21:43, Esteban A. Maringolo wrote: > Even though I don't use PharoExtras/JSON for my daily JSON > manipulation (I use Seaside-JSON and NeoJSON), I found it to be the > most "modular"/"independent" JSON package out there. I don't see how the JSON and NeoJSON package differ in

Re: [Pharo-users] Weakness

2014-09-06 Thread Sven Van Caekenberghe
Magnitude weakSubclass: #WeakKeyAssociation instanceVariableNames: 'value' classVariableNames: '' category: 'Collections-Support' weakSubclass: ... On 06 Sep 2014, at 16:47, Ben Coman wrote: > > I'd like to learn a bit more about the implementation of Weak objects. For

Re: [Pharo-users] not a smalltalk!

2014-09-06 Thread Sven Van Caekenberghe
On 06 Sep 2014, at 17:42, p...@highoctane.be wrote: > At the moment I am running Pharo every single day for all day long and it is > a great recurring experience. Good for you !

Re: [Pharo-users] gtInspectorPresentation:, TreeModel, pragmas, visitors and polluting protocols

2015-06-18 Thread Sven Van Caekenberghe
I think what Peter means is: the object oriented way to handle different types is by dispatching on each type (~ double dispatch, ~ visiting). You could need this for different aspects of your application. In the end, the same core mechanism will be implemented multiple times. Sadly, minor seman

Re: [Pharo-users] Understanding edge connections and tree layout (it was Re: Visualizing a repository tree)

2015-06-19 Thread Sven Van Caekenberghe
> On 19 Jun 2015, at 14:41, Offray Vladimir Luna Cárdenas > wrote: > > Ps: Something was happening with ws.stfx.eu this morning at 7:00 (GMT -5) and > trying to publish a workspace gives a 500 error. Yes, there was a problem due to a recent upgrade to Pharo 4. It should be fixed now. Sven

Re: [Pharo-users] RESTful API with Pharo with Gemstones

2015-06-23 Thread Sven Van Caekenberghe
> On 23 Jun 2015, at 22:55, Sebastian Heidbrink wrote: > > Hi Sergio, > > Zinc-REST is part of the Zinc repository and a fork for Gemstone can be found > here: > https://github.com/GsDevKit/zinc/tree/gs_master/repository/Zinc-REST.package > Most part is to implement the code that generates th

[Pharo-users] [ OT ] About Encodings and Character Sets

2015-06-27 Thread Sven Van Caekenberghe
This is a nice article: What Every Programmer Absolutely, Positively Needs to Know About Encodings and Character Sets to Work With Text http://kunststube.net/encoding/ Which refers to this well known article: The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About

Re: [Pharo-users] Displaying an image from a file

2015-06-27 Thread Sven Van Caekenberghe
Here are two examples that contain elements of what you want: (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow. (FileLocator workingDirectory filesMatching: '*.jpg') do: [ :each | (each withExtension: 'png') writeStreamDo: [ :out | each readStreamDo: [ :in |

Re: [Pharo-users] RAM-efficient alternative to ZnMultiPartFormDataEntity

2015-06-29 Thread Sven Van Caekenberghe
Hi Mike, > On 29 Jun 2015, at 04:43, mikefilonov wrote: > > Hello, > > I'm searching for an alternative implementation of ZnMultiPartFormDataEntity > which dumps it's parts to Filesystem as files saving RAM. > > Is there such an addon or it should be developed? No, there is no such a thing,

Re: [Pharo-users] adding an element to an empty array

2015-06-29 Thread Sven Van Caekenberghe
> On 29 Jun 2015, at 14:23, Henrik Johansen > wrote: > > >> On 29 Jun 2015, at 2:18 , abdelghani ALIDRA wrote: >> >> Hi guys, >> >> Is there any way to add an element to an empty array (must not use new: >> anElement)? >> >> Cheers > > It sounds like you want to use an OrderedCollection,

Re: [Pharo-users] RAM-efficient alternative to ZnMultiPartFormDataEntity

2015-06-29 Thread Sven Van Caekenberghe
> On 29 Jun 2015, at 10:00, mikefilonov wrote: > > Hi Sven, > > Thank you for a prompt reply. > > I have in mind something similar to the followin nginx plugin: > http://www.grid.net.ru/nginx/upload.en.html > > We could dump entity body directly from socket stream to a file (buffered > reade

Re: [Pharo-users] HTTP file logging for Zinc

2015-06-29 Thread Sven Van Caekenberghe
> On 29 Jun 2015, at 21:40, Esteban A. Maringolo wrote: > > Hello everyone, > > I want to record everything that goes in or out from our REST API servers, > maybe including HTTP payload (JSON mostly). > > ZnLogEvent seems to have the basic building blocks for logging, but I want to > know if

Re: [Pharo-users] Interactive table support in Pharo (thanks to the new OS window architecture)

2015-06-30 Thread Sven Van Caekenberghe
> On 30 Jun 2015, at 11:10, Tudor Girba wrote: > > Very cool! Indeed. > Doru > > On Tue, Jun 30, 2015 at 11:05 AM, Thierry Goubier > wrote: > Cool :) > > Thierry > > > 2015-06-30 11:03 GMT+02:00 stepharo : > spread the words ;) > > Interactive table support in Pharo (thanks to the n

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-06-30 Thread Sven Van Caekenberghe
> On 30 Jun 2015, at 18:36, Peter Uhnák wrote: > > I think we've safely established that the bottleneck is disk operations. Let's take it one level down then, [ 'foo.txt' asFileReference in: [ :file | file writeStreamDo: [ :out | 3 timesRepeat: [ out << String loremIpsum ] ]. fil

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-06-30 Thread Sven Van Caekenberghe
me Profiler and write your expression there is how you do analysis on the whole tree. It is not perfect but should help you find the bottleneck. > Peter > > > > > On Tue, Jun 30, 2015 at 7:00 PM, Sven Van Caekenberghe wrote: > > > On 30 Jun 2015, at 18:36, Pete

Re: [Pharo-users] Mofify websockets status to deliver SVG?

2015-06-30 Thread Sven Van Caekenberghe
Use ZnLogEvent, for example, by using #logToTranscript. > On 30 Jun 2015, at 22:09, Stephan Eggermont wrote: > > Now the cardwall can export SVG, I thought it would be nice > to modify & reuse the websockets status code to serve the SVG. > How do I debug that? > > Stephan > >

Re: [Pharo-users] Mofify websockets status to deliver SVG?

2015-06-30 Thread Sven Van Caekenberghe
Nice ! > On 30 Jun 2015, at 22:46, Stephan Eggermont wrote: > > On 30-06-15 22:16, Sven Van Caekenberghe wrote: >> Use ZnLogEvent, for example, by using #logToTranscript. > > Thanks, I managed to get it to work. > > Stephan > > >

Re: [Pharo-users] NeoCSVReader and an empty field at the very end of a file

2015-07-01 Thread Sven Van Caekenberghe
Hi Joachim, First, thanks for the feedback. Second, since you are on a different platform, that might be a factor. Did you test your problem on Pharo itself ? Because there are already unit tests specifically for the case you describe: #testEmptyLastFieldUnquoted #testEmptyLastFieldQuoted Th

Re: [Pharo-users] NeoCSVReader and an empty field at the very end of a file

2015-07-01 Thread Sven Van Caekenberghe
gt; Thanks for answering. > > Joachim > > Am 01.07.15 um 14:05 schrieb Sven Van Caekenberghe: >> Hi Joachim, >> >> First, thanks for the feedback. >> >> Second, since you are on a different platform, that might be a factor. >> >> Did you test you

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-01 Thread Sven Van Caekenberghe
Esteban, > On 29 Jun 2015, at 21:40, Esteban A. Maringolo wrote: > > Hello everyone, > > I want to record everything that goes in or out from our REST API servers, > maybe including HTTP payload (JSON mostly). > > ZnLogEvent seems to have the basic building blocks for logging, but I want to

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-01 Thread Sven Van Caekenberghe
et us know how it goes. I am especially interested if other tools dig the output. > Thank you again. > > > Esteban A. Maringolo > > 2015-07-01 12:01 GMT-03:00 Sven Van Caekenberghe : > Esteban, > > > On 29 Jun 2015, at 21:40, Esteban A. Maringolo wrote: > >

Re: [Pharo-users] NeoCSVReader and an empty field at the very end of a file

2015-07-01 Thread Sven Van Caekenberghe
; What made the thing especially strange was that I only had that problem >>> with uploaded files because the Browser removes the trailing CrLf (or >>> better, doesn't add another one in the multipart form data). So reading >>> from a file all works like a charm, but

Re: [Pharo-users] 1$ Recognizer in Pharo

2015-07-01 Thread Sven Van Caekenberghe
Cool, cool, cool ! > On 01 Jul 2015, at 23:52, stepharo wrote: > > > Now that we have gestures we can interface recognisers. > Thanks Thales for the sponsoring. > > http://youtu.be/Ghxgv8c9OWM > > Stef >

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-02 Thread Sven Van Caekenberghe
> On 02 Jul 2015, at 01:04, Ben Coman wrote: > > On Thu, Jul 2, 2015 at 2:53 AM, Sven Van Caekenberghe wrote: >> >>> On 01 Jul 2015, at 19:54, Esteban A. Maringolo wrote: >>> >>> Thank you Sven! >> >> You're welcome. >> >

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-07-02 Thread Sven Van Caekenberghe
#flush on a stream means pushing all data to the final destination, clearing buffers, doing actual network transfers. What can happen when you disable that ? That some data does not arrive where it should I guess. Mind that #close most of the time does an automatic/implicit #flush. Anyway, I d

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-07-02 Thread Sven Van Caekenberghe
ctually happens when flush is called (how is the primitive primFlush: > achieved on Windows). > > Jan > > > Nicolai Hess wrote >> 2015-07-02 19:01 GMT+02:00 Sven Van Caekenberghe < > >> sven@ > >> >: >> >>> #flush on a stream means

Re: [Pharo-users] STON wtf parsing

2015-07-05 Thread Sven Van Caekenberghe
Hi Peter, > On 05 Jul 2015, at 14:36, Peter Uhnák wrote: > > How come this passes? > > STON fromString: '{ > "a": "b" > }wtf", > "x": "y" > '. > > The result is dictionary "a" -> "b". > > I would expect for it to die on parse error. > > Peter The reason this does not fail is bec

Re: [Pharo-users] STON wtf parsing

2015-07-05 Thread Sven Van Caekenberghe
flexible. > On 05 Jul 2015, at 15:47, Peter Uhnák wrote: > > Ok but how does the parser knows whether the input is multiexpression or an > error? > I mean it stops parsing in the middle of the string which seems really weird > to me. > > Peter > > On Sun, Ju

Re: [Pharo-users] Finding error in STON string

2015-07-05 Thread Sven Van Caekenberghe
> On 05 Jul 2015, at 14:19, Peter Uhnák wrote: > > Would be possible for STON to report context for error? > For example > > STON fromString: '[ > "first", > "second", > ]' > > reports "At character 23: invalid input" which is not very useful especially > in longer strings. > (at:

Re: [Pharo-users] Clearing objects from .changes

2015-07-06 Thread Sven Van Caekenberghe
What you (probably) want is called 'condensing the changes'. Have a look at the class PharoChangesCondenser. << I create a new more compact changes files with a single version of each method in the image. >> > On 06 Jul 2015, at 11:08, Peter Uhnák wrote: > > Is it possible to remove all refere

Re: [Pharo-users] Pharo on 64bit Ubuntu

2015-07-10 Thread Sven Van Caekenberghe
Does ldd on the executable tell you that all dynamic libraries are resolved ? > On 10 Jul 2015, at 14:28, Leo Noordhuizen wrote: > > > On Fri, Jul 10, 2015 at 10:30 AM, Stephan Eggermont wrote: > sudo apt-get install pharo-launcher > > I should have mentioned that I already had tried the desc

Re: [Pharo-users] GL inspector, editing attribute

2015-07-16 Thread Sven Van Caekenberghe
> On 16 Jul 2015, at 05:38, Hilaire wrote: > > Btw, from the palyground, when I print a value and want to browse the > printed class, how can I do it? Selecting the class and Alt/Ctrl-b does > not work (capture2) Normally you should be able to do command-click on class and selector names, that

Re: [Pharo-users] Openstreetmap on Pharo

2015-07-16 Thread Sven Van Caekenberghe
> On 16 Jul 2015, at 11:04, Thierry Goubier wrote: > > > > 2015-07-16 10:52 GMT+02:00 Alexandre Bergel : > Hi! > > The OpenStreetMap support in Roassal works pretty well… The easiest way to > start is probably take the latest version of Moose. Open the example browser > and look for OpenStr

Re: [Pharo-users] [OT] Bill Gross: The single biggest reason why startups succeed

2015-07-21 Thread Sven Van Caekenberghe
Hi Jose, Thank you for your well written feedback. It is very important to hear a voice like yours. It is hard to articulate why we like Pharo/Smalltalk. Like you say, it has to do because it is so different, because we learn from it, because it empowers us, because we feel it is a good way to

Re: [Pharo-users] New pretty printer Blue Ink

2015-07-22 Thread Sven Van Caekenberghe
Nice. All this new stuff (decompiler, formatter), what's next (new changes log ? ;-). > On 22 Jul 2015, at 10:44, Franck Warlouzet > wrote: > > Hello everyone, > > We just integrated Blue Ink, the new pretty printer, in the latest Pharo 5 > image ! Basically what was working still is and wha

Re: [Pharo-users] Using geographic data

2015-07-25 Thread Sven Van Caekenberghe
Arturo, In Pharo itself, you could just do it yourself, like this: T3GeoTools class>>#is: position inside: polygon "T3GeoTools is: 5.33732@50.92601 inside: { 5.48230@50.82249. 5.49523@50.81288. 5.50138@50.82008. 5.50228@50.82595. 5.49265@50.82560. 5.48230@50.82249 }" "T

Re: [Pharo-users] Loading code from a local git repository

2015-07-28 Thread Sven Van Caekenberghe
Just place the repository in a separate directory from the other stuff, like https://github.com/svenvc/zinc No ? > On 28 Jul 2015, at 12:42, Tommaso Dal Sasso > wrote: > > Hello, > > I am trying to version a project on git using filetree. > Since I also have some external resources (like i

Re: [Pharo-users] direct image code exchange

2015-08-06 Thread Sven Van Caekenberghe
> On 07 Aug 2015, at 00:13, Sebastian Heidbrink wrote: > > Is there a in-image monticello server available that would mimic a repository > server? Yes, it is called ZnMonticelloServerDelegate - it is meant as an example, but it works.

Re: [Pharo-users] [ANN] Pharo Consortium New Gold Member: Projector Software GmbH

2015-08-24 Thread Sven Van Caekenberghe
Excellent news! > On 24 Aug 2015, at 12:37, Marcus Denker wrote: > > > The Pharo Consortium is very happy to announce that Projector Software GmbH > has joined the Consortium as an Gold Member. > > About > - Projector Software GmbH: http://projector.de > - Pharo Consortium: http://consortium.p

Re: [Pharo-users] How can an object have its "self" and "name" instance variables nil after being instantiated?

2015-08-25 Thread Sven Van Caekenberghe
Well, name is an instance variable that is simply nil. Self is printed as nil because this object has its own #gtDisplayOn: method that prints just its name. You could try 'Basic Inspect' as well. > On 25 Aug 2015, at 17:30, Julien Delplanque wrote: > > I didn't do anything like using these n

Re: [Pharo-users] [ann] brick on top of bloc - preview

2015-08-25 Thread Sven Van Caekenberghe
Very nice ! > On 25 Aug 2015, at 22:13, Tudor Girba wrote: > > Hi, > > We are happy to announce the first preview version of Brick, a new widget set > created from scratch on top of Bloc. > > Brick is being developed primarily by Alex Syrel (together with Alain > Plantec, Andrei Chis and mys

Re: [Pharo-users] SixxExamples class >> example 4 . Preferences in Pharo 4.0

2015-08-28 Thread Sven Van Caekenberghe
Preferences does not exist as a class. You could use STON. > On 28 Aug 2015, at 10:31, H. Hirzel wrote: > > P.S. And BTW besides SIXX what options do I have to transfer > preferences from one Pharo 4.0 image to another? > > On 8/28/15, H. Hirzel wrote: >> Hello >> >> How would I write the fo

Re: [Pharo-users] where to find the ia32/i386 runtime libraries

2015-08-31 Thread Sven Van Caekenberghe
One among many: https://www.youtube.com/watch?v=I5ogPOs3PLM might help. Please ask again if you keep on having problems. > On 31 Aug 2015, at 09:39, Ben Coman wrote: > > It would seem you already have the necessary ia32 libs since you have > successfully opened Pharo. So the VM is there. I t

Re: [Pharo-users] [Pharo-dev] [ANN] Pillar 1.0.0.

2015-09-01 Thread Sven Van Caekenberghe
Thank you for your contributions, Cyril, we can only hope that you stick around. > On 01 Sep 2015, at 15:45, Ferlicot D. Cyril wrote: > > Hello guys! > > I finished 5 months of internship into the RMoD team. I worked on Pillar > and I am glad to announce the version 1.0.0! > You can find an upd

Re: [Pharo-users] [Pharo-dev] [ANN] Pillar 1.0.0.

2015-09-01 Thread Sven Van Caekenberghe
> On 01 Sep 2015, at 18:13, Ferlicot D. Cyril wrote: > > Le 01/09/2015 18:08, Sven Van Caekenberghe a écrit : >> Thank you for your contributions, Cyril, we can only hope that you stick >> around. >> > > I'll spend 2 years with Synectique wor

Re: [Pharo-users] Loading code with accent in the method or variable name

2015-09-07 Thread Sven Van Caekenberghe
I created a class with one method: Hilaire>>#français "élève" ^ self résoudre I can file that out and back in again in Pharo 4. Here is the .st file: Hilaire-français.st Description: Binary data I would guess something was done wrong with the original MCZ. But I d

Re: [Pharo-users] Loading code with accent in the method or variable name

2015-09-07 Thread Sven Van Caekenberghe
ter. > It seams to happen somewhere in #parseNextDeclaration. Initially just > before import but a the start of fileIn its converter is UTF8... You mean using MCZ ? > Hilaire > > Le 07/09/2015 16:30, Sven Van Caekenberghe a écrit : >> I created a class with one method: >

Re: [Pharo-users] Loading code with accent in the method or variable name

2015-09-07 Thread Sven Van Caekenberghe
> On 07 Sep 2015, at 17:43, Hilaire wrote: > > Le 07/09/2015 17:15, Sven Van Caekenberghe a écrit : >> Did you try my file out ? > > No, I blindly trusted you. >> Can you load it OK ? > > So I try it now and it does not work, but not apparently for enco

Re: [Pharo-users] Error pasting UTF8 text (Pharo 5-50298)

2015-09-08 Thread Sven Van Caekenberghe
I believe there is some command line switch to the VM to ask for Unicode clipboard handling, but I am not a Linux desktop user. BTW, due to font substitution it is not easy to figure out which fonts have full coverage, you cannot just try in some other app. Font substitution is what Pharo shoul

Re: [Pharo-users] New Pharo based solution in the wild

2015-09-08 Thread Sven Van Caekenberghe
> On 08 Sep 2015, at 19:51, Hilaire wrote: > > Le 08/09/2015 17:16, Esteban A. Maringolo a écrit : >> >> ps: On the personal level these bad news were overly compensated with >> the birth of my first daughter two months ago. :) >> > Congratualtion! Yeah ! > Hilaire > > -- > Dr. Geo > http:

Re: [Pharo-users] Something like pipeup.io?

2015-09-11 Thread Sven Van Caekenberghe
> On 12 Sep 2015, at 01:43, Hernán Morales Durand > wrote: > > Hi, > > We are starting a project here which involves executing scripts in a (remote) > CentOS HPC environment I have built. The stack is going to be Pharo + Seaside > + QCMagritte + Voyage. > > The bash scripts could take a lon

Re: [Pharo-users] Mocking ZnClient

2015-09-14 Thread Sven Van Caekenberghe
Damien, As far as I know this does not (yet) exist. I know that Norbert did some work mocking actual connections, so that a client can directly connect to a server's handler without doing any networking, if I remember correctly, but I don't think that is what you are looking for. Sven > On 14

Re: [Pharo-users] Problem loading Zinc

2015-09-16 Thread Sven Van Caekenberghe
Hi Sebastian, Yes, I made a mistake, in 2.6.5 it should have been Zinc-WebSocket-Core-LucFabresse.29 instead of Zinc-WebSocket-Core-SvenVanCaekenberghe.29 - fixed in new configuration version 2.6.6 Does it work again ? Sven > On 17 Sep 2015, at 01:51, Sebastian Sastre > wrote: > > Hi ther

Re: [Pharo-users] Problem loading Zinc

2015-09-17 Thread Sven Van Caekenberghe
> On 17 Sep 2015, at 15:01, sebast...@flowingconcept.com wrote: > > This loads fine: > > Gofer it > url: 'http://mc.stfx.eu/ZincHTTPComponents'; > package: 'ConfigurationOfZincHTTPComponents'; > loadStable. > > > The following command fails

Re: [Pharo-users] Pharo for Entreprise?

2015-09-17 Thread Sven Van Caekenberghe
http://files.pharo.org/books/enterprisepharo/ seems the most user friendly top level page > On 17 Sep 2015, at 16:23, Alexandre Bergel wrote: > > Hi! > > Where can I get the pdf? > I see something here: > https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/art

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
Volkert, I tried in 2 #40621 images of mine and it worked fine. Both Zn included and Zn #bleedingEdge. Maybe it was some temporary situation ? Sven > On 20 Sep 2015, at 09:19, Volkert wrote: > > Dear all, > > " 'http://bl.ocks.org/mbostock/raw/4063318/dji.csv' asUrl retrieveContents " > lea

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
n 20.09.2015 10:00, Volkert wrote: >> I just downloaded the latest version with "curl get.pharo.org | bash" >> same problem ... >> >> On 20.09.2015 09:33, Sven Van Caekenberghe wrote: >>> Volkert, >>> >>> I tried in 2 #40621 images of mine

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
From: > ZnResponse(ZnMessage)>>readFrom: > ZnResponse class(ZnMessage class)>>readFrom: > ZnClient>>readResponse > ZnClient>>executeRequestResponse > [ self executeRequestResponse ] in ZnClient>>getConnectionAndExecute in > Block: [ self executeRequestRespo

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
> > On 20.09.2015 11:20, Sven Van Caekenberghe wrote: >> Any proxying involved ? >> >>> On 20 Sep 2015, at 11:16, Volkert wrote: >>> >>> $ cat /etc/issue >>> Ubuntu 14.04.3 LTS \n \l >>> >>> $ uname -a >>> Linux ju

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
: bl.ocks.org > > btw, what user-agent does Zinc use? ZnConstants defaultUserAgent > [1] http://www.esqsoft.com/examples/troubleshooting-http-using-telnet.htm > > cheers -ben > > > On Sun, Sep 20, 2015 at 6:22 PM, Volkert > wrote: >> same behavior .

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
TP/1.1 >> Host: bl.ocks.org >> >> btw, what user-agent does Zinc use? >> >> [1] http://www.esqsoft.com/examples/troubleshooting-http-using-telnet.htm >> >> cheers -ben >> >> >> On Sun, Sep 20, 2015 at 6:22 PM, Volkert >> wrote: >>&

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-20 Thread Sven Van Caekenberghe
16:39:45 UTC > 2012 i686 i686 i386 GNU/Linux > plugin path: /home/volkert/Pharo/latest/pharo-vm/ [default: > /home/volkert/Pharo/latest/pharo > > On 20.09.2015 14:03, Sven Van Caekenberghe wrote: >> I am not sure we have to go that deep (yet). >> >> It is a publi

Re: [Pharo-users] Zn / Connection closed while waiting for data

2015-09-21 Thread Sven Van Caekenberghe
> On 21 Sep 2015, at 11:45, Andrei Chis wrote: > > So adding #beOneShot on some networks that are behind proxies, fails the > request. Well, I was already afraid that (possibly transparent) proxies were involved. The problem is, it is simply impossible for me to debug this remotely. One thin

Re: [Pharo-users] [ OT ] About Encodings and Character Sets

2015-09-27 Thread Sven Van Caekenberghe
he official book link: http://files.pharo.org/books/enterprisepharo/book/html/Zinc-Encoding-Meta.html Which you'll find starting from http://books.pharo.org > Cheers, > > Offray > > On 27/06/15 05:04, Sven Van Caekenberghe wrote: >> This is a nice article: >> >

Re: [Pharo-users] NeoCSV and special handling for some columns

2015-09-28 Thread Sven Van Caekenberghe
> On 28 Sep 2015, at 15:04, Mariano Martinez Peck wrote: > > Imagine something like this: > > neoCSVReader := (NeoCSVReader on: stream). > neoCSVReader > separator: $,; > recordClass: PriceRecord; > addIgnoredField; "" > addField:

<    5   6   7   8   9   10   11   12   13   14   >