Re: [Pharo-users] pharo and ui again

2015-02-11 Thread Sven Van Caekenberghe
> On 12 Feb 2015, at 00:46, Nicolai Hess wrote: > > But much howtos or tutorials widely scattered and aren't up to date. Johan Fabry's talk at the Pharo Days was an excellent introduction to Spec, watch it.

Re: [Pharo-users] pharo and ui again

2015-02-12 Thread Sven Van Caekenberghe
They are not yet public but soon will be. > On 12 Feb 2015, at 17:09, Pablo R. Digonzelli wrote: > > where can i watch it? > > Pablo > > - Mensaje original - > De: "Sven Van Caekenberghe" > Para: nicolaih...@web.de, "Any question about pharo

Re: [Pharo-users] pharo and ui again

2015-02-12 Thread Sven Van Caekenberghe
BTW, Johan, I cannot find your slides in http://www.slideshare.net/pharoproject/presentations ? > On 12 Feb 2015, at 13:45, Johan Fabry wrote: > > >> On Feb 12, 2015, at 07:29, Sven Van Caekenberghe wrote: >> >> >>> On 12 Feb 2015, at 00:46, Nicolai Hess

[Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-12 Thread Sven Van Caekenberghe
t; passwordField text I think this is pretty cool. I really can't imagine how much easier, how much less code this should take. LoginModel.st Description: Binary data Let us all learn to use what we have, accept it the way it is, and make it better, together. Sven BTW: While writin

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Sven Van Caekenberghe
wrong way to go, but I would also rather devide the scpec the model and >> the controll layer into different classes. >> >> But since there is no example available for this I think one can't even >> properly discuss that. >> >> For beginners ther eshould

Re: [Pharo-users] Changes file size

2015-02-13 Thread Sven Van Caekenberghe
> On 11 Feb 2015, at 16:07, Esteban A. Maringolo wrote: > > 2015-02-11 10:02 GMT-03:00 Sven Van Caekenberghe : >>> ps: As said in another thread, Torsten's version (descendant of mine) >>> didn't seem to have this issue. > >> Yes, we are making (

[Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
long. Have fun ! Sven PS: Once you have done all the above, you are most welcome to help improve Spec by discussing specific, concrete issues. -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Sven Van Caekenberghe
Hi Stephan, You are 100% right: I had similar code in there during my hacking but I decided to take it out to simplify things. A couple of important semantic constants are indeed missing. But it is not just that, IMHO, the LoginModel should say 'I am 2 fields heigh', the wrapping in the Dialog

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
ro-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/DynamicSpec/DynamicSpec.pier.html And I am sure there are more. > On 13 Feb 2015, at 10:12, Sven Van Caekenberghe wrote: > > Hi, > > > From now on it is forbidden to complain about Spec in g

Re: [Pharo-users] Spec terminology: renaming some terms.

2015-02-13 Thread Sven Van Caekenberghe
> On 13 Feb 2015, at 18:47, Esteban Lorenzano wrote: > > >> On 13 Feb 2015, at 18:29, Johan Fabry wrote: >> >> >> If we think about renaming things in Spec, actually I’d rename: >> - ComposableModel to ComposableUI >> - all the protocols ‘protocol-*’ to ‘API-*’ > > +100 > I’m super tired of

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
tests based on what I 've learnt now, I have no >> idea about adaptors, yet, but it seems they need to be understod a little >> later.... >> Is there a project/repository where one could push code to give other the >> chance to review and chance it before it is pub

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
chance it before it is published as a "demo" or example? You could just start a new repo on smalltalkhub.com or even github.com > Sebastian > > > Am 13.02.2015 um 01:12 schrieb Sven Van Caekenberghe: >> Hi, >> >> >> From now on it is forbidde

[Pharo-users] Running Pharo on Ubuntu 14.04.1 LTS 64-bit

2015-02-14 Thread Sven Van Caekenberghe
$ curl get.pharo.org/40+vm | bash $ ./pharo Pharo.image eval "ZnClient new get: 'https://google.com'" $ ./pharo-ui Pharo.image HTH, Sven PS: You can use ldd to check if all dependencies of the VM and its plugins in the pharo-vm directory are satisfied -- Sven Van Caekenbergh

Re: [Pharo-users] Learning Spec

2015-02-15 Thread Sven Van Caekenberghe
ples to fit. However, whenever I try to > add a third column to the model, I get a "Subscript Out of Bounds". > I also tried to change the oddRowColor, but it had no effect. > > I hope that is specific enough for you. > > Craig > > -Original Message- > From

Re: [Pharo-users] Small benchmark

2015-02-17 Thread Sven Van Caekenberghe
> On 17 Feb 2015, at 11:06, Clément Bera wrote: > > Hello Andrea, > > The way you wrote you algorithm is nice but makes extensive use of closures > and iterates a lot over collections. I was about to say the same thing. > Those are two aspects where the performance of Pharo have issues. Elio

Re: [Pharo-users] GSOC 2015 Call for Ideas

2015-02-18 Thread Sven Van Caekenberghe
> On 18 Feb 2015, at 09:52, Andrea Ferretti wrote: > > Also, these tasks > often involve consuming data from various sources, such as CSV and > Json files. NeoCSV and NeoJSON are still a little too rigid for the > task - libraries like pandas allow to just feed a csv file and try to > make head

Re: [Pharo-users] GSOC 2015 Call for Ideas

2015-02-18 Thread Sven Van Caekenberghe
know it, but that is not the case for everyone. Like not everyone knows CSV, HTTP, ... But I do agree that sometimes I too would like a convenience method here or there ;-) > 2015-02-18 10:12 GMT+01:00 Sven Van Caekenberghe : >> >>> On 18 Feb 2015, at 09:52, Andrea Ferretti

Re: [Pharo-users] GSOC 2015 Call for Ideas

2015-02-18 Thread Sven Van Caekenberghe
suggest that the documentation on Neo could benefit >> from a reorganization. Right now, the first topic on the NeoJSON >> paper introduces JSON itself. I would argue that everyone that tries >> to use the library knows what JSON is already. Still, there is no >> example of

Re: [Pharo-users] GSOC 2015 Call for Ideas

2015-02-18 Thread Sven Van Caekenberghe
ore freely. > > 2015-02-18 10:39 GMT+01:00 Sven Van Caekenberghe : >> Well, you are certainly free to contribute. >> >> Heuristic interpretation of data could be useful, but looks like an addition >> on top, the core library should be fast and efficient. >> >

Re: [Pharo-users] Conditional CSV parsing

2015-02-22 Thread Sven Van Caekenberghe
21:03, Hernán Morales Durand a écrit : >> >> >> 2015-01-26 9:01 GMT-03:00 Sven Van Caekenberghe : >> Hernán, >> >> > On 26 Jan 2015, at 08:00, Hernán Morales Durand >> > wrote: >> > >> > It is possible :) >> > I work with

Re: [Pharo-users] i feel dumb / Pharo3 > OrderedCollection >> do:

2015-02-23 Thread Sven Van Caekenberghe
(class side) #new: (instance side) #growAtFirst #growAtLast #makeRoomAtFirst #makeRoomAtLast > On 23 Feb 2015, at 21:15, Mariano Martinez Peck wrote: > > > > On Fri, Feb 20, 2015 at 5:48 AM, Clément Bera wrote: > It depends on your OrderedCollection implementation. > > OrderedCo

Re: [Pharo-users] Filetree repository from string error

2015-02-25 Thread Sven Van Caekenberghe
Jan, That is wishful thinking, there are no backslashes in URLs. Furthermore, the drive is not a host, but is part of the path, hence you need 3 backslashes: Try: 'filetree:///C:/Users/User/Pharo/ourproject/repository' asUrl. 'file:///C:/Users/User/Pharo/ourproject/repository' asUrl asFileRefe

Re: [Pharo-users] Filetree repository from string error

2015-02-25 Thread Sven Van Caekenberghe
new >baseline: 'OurProject'; >repository: 'filetree:///C:\Users\User\Pharo\ourproject\repository'; >load. > > I got mislead by that when I add filetree repository via monticello GUI, it > shows there as repository > filetree://C:\Users\User\Pha

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-02-27 Thread Sven Van Caekenberghe
Sabine, > On 27 Feb 2015, at 16:36, Sabine Manaa wrote: > > Hi Sven, > Hi all, > > I try to send a curl command (which works at command line) from Pharo. > I get the error: "SSL Exception: decrypt failed code:5" > > The working command line command is: > > curl -v -H 'Accept: applicatio

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-02-27 Thread Sven Van Caekenberghe
mand at command line > < HTTP/1.1 200 OK > same < Date: Fri, 27 Feb 2015 17:58:37 GMT > same < X-Content-Type-Options: nosniff > same < X-XSS-Protection: 1; mode=block > same < Cache-Control: no-cache, no-store, max-age=0, must-revalidate > same < Pragma: no-cache

[Pharo-users] Zn using String>>#substrings:

2015-02-28 Thread Sven Van Caekenberghe
Hi, Zinc HTTP Components' latest stable version 2.6.2 which was integrated in Pharo 4.0 is using String>>#substrings: instead of String>>#subStrings: For Pharo 4 this is of course OK. String>>#substrings: was also added to Pharo 3.0. For Pharo 2.0 Zinc will load a 'forward compatibility' packa

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-02-28 Thread Sven Van Caekenberghe
Read-td4785735.html >> >> Unfortunately, we did not investigate any further. Instead, we work around >> the bug by just retrying the connection on this failure as it always works >> on a second try. >> >> Johan >> >>> On 27 Feb 2015, at 23:36,

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-03-01 Thread Sven Van Caekenberghe
Arg, and on Linux it works too. Below the image layer, the normal Pharo code that we see, both the Socket plugin and the SSL plugin are three totally different implementations. This is really frustrating. The Mac code originates from *before* Mac OS X came on the scene ! Today, Mac OS X could p

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-03-01 Thread Sven Van Caekenberghe
e now. Thanks for that. I am indeed afraid that you might need to think about a workaround, I can't promise anything about fixing this. Of course, anyone is free to help. Sven > Regards > Sabine > > > Am Sonntag, 1. März 2015 schrieb Sven Van Caekenberghe : > Arg, and

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-03-02 Thread Sven Van Caekenberghe
'SSL Exception: ' << text << ' [code:'. > stream print: code. > stream << ']' ]) > > >>error: uses Error and this is not resumable. > > Could you make the Exception resumable?

Re: [Pharo-users] Zinc SSL Exception: decrypt failed code:5

2015-03-02 Thread Sven Van Caekenberghe
gt; Sabine > > 2015-03-02 11:02 GMT+01:00 Sven Van Caekenberghe-2 [via Smalltalk] <[hidden > email]>: > Sabine, > > Here is a possible fix that works for me, this still has to be tested more > broadly, but I think it will be good. Could you please try it by manually &

[Pharo-users] Hacking a SOAP call - Checking a EU VAT number

2015-03-02 Thread Sven Van Caekenberghe
ictionary( 'address'->'31, RUE STE ZITHE L-2763 LUXEMBOURG' 'countryCode'->'LU' 'name'->'ITUNES S.A R.L.' 'requestDate'->'2015-03-03+01:00' 'valid'->'true' 'vatNumber'->'20165772' ) Of course, this will only work with simple SOAP interfaces. Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Fwd: [Pharo Consortium] Your organization application has been rejected.

2015-03-03 Thread Sven Van Caekenberghe
Well, we're not alone: Mozilla not accepted for Google Summer of Code 2015 http://blog.queze.net/post/2015/03/03/Mozilla-not-accepted-for-Google-Summer-of-Code-2015 Like Stef said, we just continue. > On 03 Mar 2015, at 10:01, Clément Bera wrote: > > Well, this year google it looks like accep

[Pharo-users] Fwd: ZnUrl issue with German characters

2015-03-05 Thread Sven Van Caekenberghe
As this might be useful to others, forwarding: > Begin forwarded message: > > Subject: Re: ZnUrl issue > From: Sven Van Caekenberghe > Date: 5 Mar 2015 09:55:46 CET > To: Gerhard Obermann > > Hi Gerhard, > >> On 05 Mar 2015, at 08:36, Gerhard Obermann wro

Re: [Pharo-users] scaled decimal number for currency

2015-03-05 Thread Sven Van Caekenberghe
I would store whole cents in the database. EUR 10.99 would be stored as 1099 eurocent. But yes, the mapping is what is missing and what you should look at. > On 05 Mar 2015, at 15:40, Esteban A. Maringolo wrote: > > Can you please share with us how are you defining the mapping for such field?

Re: [Pharo-users] ZnClient --data {}

2015-03-05 Thread Sven Van Caekenberghe
Basically, this is how you should do it (after loading NeoJSON): ZnClient new https; host: 'user.gini.net'; path: 'api/users'; headerAt: 'Authorization' add: ('BEARER {1}' format: { #myToken }); accept: ZnMimeType applicationJson; contentReader: [ :entity | NeoJSONReader fromString: en

Re: [Pharo-users] ZnClient --data {}

2015-03-05 Thread Sven Van Caekenberghe
is is experimental. We'll see what the CI says. And if it behaves the same on all platforms. Sven > On 05 Mar 2015, at 19:42, Sven Van Caekenberghe wrote: > > Basically, this is how you should do it (after loading NeoJSON): > > ZnClient new > https; >

Re: [Pharo-users] Pillar and GT tools in Pharo4

2015-03-06 Thread Sven Van Caekenberghe
> On 06 Mar 2015, at 09:21, Torsten Bergmann wrote: > > Pharo is on the right track... Yes, and it is very impressive what you did, but please guys, write/blog (more) about this, help others (me) understand how all this works and fits together. The goal is that everybody should be able to do

Re: [Pharo-users] ZnClient --data {}

2015-03-07 Thread Sven Van Caekenberghe
th gini. > I will come back to you if there is something open. > Will your versions be included in the configurationOf for the next versions? > > @Norbert: I used the curl string as a comment in a method and forgot to > remove the double quotation marks in my post. :-) > &g

Re: [Pharo-users] calling block from within itself

2015-03-07 Thread Sven Van Caekenberghe
Hi Peter, See the section 'How can a block refer to itself ?' in https://medium.com/concerning-pharo/lambda-calculus-in-pharo-a4a571869594 HTH, Sven > On 07 Mar 2015, at 13:44, Peter Uhnák wrote: > > Hi, > > I want to use a block from within itself... is there a better way than > passing i

Re: [Pharo-users] Pharo / J - Integration

2015-03-08 Thread Sven Van Caekenberghe
Nice work & a cool presentation ! > On 08 Mar 2015, at 13:13, Herr Martin Saurer wrote: > > Hello All > > Pharo now has an integration into the J programming language. > > Please see: http://youtu.be/5JMMgZGRMHw > > for a Demo as well as for download and installation instructions. > > Have f

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-09 Thread Sven Van Caekenberghe
The thing before the @ indicates the kind of file system you are on (there are not just disk based files, but virtual in-memory ones, or in-zip ones). > On 09 Mar 2015, at 16:06, Sebastian Sastre > wrote: > > A frequent thing to do is to work with files, so their paths. > > Take the image dir

Re: [Pharo-users] Cleaning changes file?

2015-03-09 Thread Sven Van Caekenberghe
Laura, You can do that using the expression: PharoChangesCondenser condense Although that also means you lose the version history of methods inside your image. This is typically not done a lot, maybe for production deploy, maybe for release of Pharo itself. Sven > On 10 Mar 2015, at 05:49,

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sven Van Caekenberghe
Sorry, but the mechanism is one thing, the semantics another. Calling it displayString won't solve the problem. The problem is that there is often more than one useful string representation. Like for the example at hand. (FileLocator desktop / 'foo.txt') resolve. Has the following #printString

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sven Van Caekenberghe
r example, according to universal standards, ZnUrl and ZnMimeType can do this, but these are exceptions > On 10 Mar 2015, at 16:47, Sebastian Sastre > wrote: > > >> On Mar 10, 2015, at 8:43 AM, Sven Van Caekenberghe wrote: >> >> OK, both of the following make s

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sven Van Caekenberghe
> On 10 Mar 2015, at 17:31, Peter Uhnák wrote: > > /Users/sven/Desktop/foo.txt > file:///Users/sven/Desktop/foo.txt > > But what about native (OS platform) conventions ? > > I don't want to see Windows backslashes, but Windows user might disagree. > > file:// is URI scheme and as per RFC ( ht

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Sven Van Caekenberghe
Mariano, I assume you what this while reading JSON. That won't be possible. NeoJSON is designed as an efficient stream parser, working as it goes. So it never knows the whole JSON expression. I would do it manually, but that can only be done at the top level. Sven > On 12 Mar 2015, at 21:22,

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Sven Van Caekenberghe
an be used to reproduce the full original input. Pick the second level in that structure and use it. > On 12 Mar 2015, at 21:47, Mariano Martinez Peck wrote: > > > > On Thu, Mar 12, 2015 at 5:32 PM, Sven Van Caekenberghe wrote: > Mariano, > > I assume you what this

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-13 Thread Sven Van Caekenberghe
The breaking point seems to be around 5 concatenations: str:= Character alphabet. [ str, str, str, str, str ] bench. "'1,020,043 per second'" [ String new: str size * 5 streamContents: [ :out | 5 timesRepeat: [ out nextPutAll: str ] ] ] bench. "'949,738 per second'" > On 13 Mar 2015, at

Re: [Pharo-users] Cleaning changes file?

2015-03-13 Thread Sven Van Caekenberghe
> On 13 Mar 2015, at 21:24, stepharo wrote: > > >>> I do not understand your stress. If we produce a condense change files what >>> is the problem. >>> You are talking about the problem of having multiple .sources? >> >> yes. we download always *all* sources files with the VM. >> > > I do n

Re: [Pharo-users] Tide

2015-03-14 Thread Sven Van Caekenberghe
> On 14 Mar 2015, at 09:05, Esteban Lorenzano wrote: > >> >> On 13 Mar 2015, at 20:36, stepharo wrote: >> Am 13.03.2015 um 14:51 schrieb Esteban Lorenzano : As one of the authors of Tide, I wouldn’t recommend to use it today… unless you are planning to maintain it too, b

Re: [Pharo-users] speed of streams?

2015-03-15 Thread Sven Van Caekenberghe
You are measuring image startup time, not the actual code. 'bar.txt' asFileReference writeStreamDo: [ :out | 1 timesRepeat: [ out << Character alphabet; crlf ] ]. [ 'bar.txt' asFileReference contents ] bench. "37.296 per second" [ 'bar.txt' asFileReference contents ] timeToRun. "0:00:00:00

Re: [Pharo-users] [Pharo4] Please test Pharo4 *now*

2015-03-16 Thread Sven Van Caekenberghe
> On 16 Mar 2015, at 17:39, Marcus Denker wrote: > > Hello, > > As every year: We can only fix what we know. > > And this means that no, just because *you* think that X and Y obviously needs > to be fixed, > it will only be fixed if > a) there is an issue on the issue tracker >

Re: [Pharo-users] Error retrieven GlorpDriverPostgreSQL from SmalltalkHub

2015-03-16 Thread Sven Van Caekenberghe
You are probably on Pharo 3 String>>#substrings: is a new method renamed from String>>#subStrings: Zinc normally loads a 'forward compatibility' package to add this alias I think the very latest Pharo 3 also has it > On 16 Mar 2015, at 21:29, Esteban A. Maringolo wrote: > > I'm getting the follo

Re: [Pharo-users] [Pharo-dev] trying a hot update un smalltalkhub

2015-03-17 Thread Sven Van Caekenberghe
Very nice. For those who want to parse the result: ZnClient new contentReader: [ :entity | NeoJSONReader fromString: entity contents ]; get: 'http://smalltalkhub.com/list/json'. Or even: ZnClient new contentReader: [ :entity | STON fromString: entity contents ]; get: 'http://smalltalk

Re: [Pharo-users] [Pharo-dev] Cleaning/Simplifying Nautilus

2015-03-21 Thread Sven Van Caekenberghe
But seriously, for 4.0 ? Now ? > On 22 Mar 2015, at 00:04, Nicolai Hess wrote: > > > > 2015-03-21 23:02 GMT+01:00 stepharo : > Hi > > I want to clean Nautilus and to simplify its code and functionality. > In addition I want to reduce to student load in the context of the Mooc we > will start

Re: [Pharo-users] Collection with memory?

2015-03-22 Thread Sven Van Caekenberghe
> On 22 Mar 2015, at 21:44, Denis Kudriashov wrote: > > Hi > > It is another perfect task for XStreams: > > r := #('a12' 'b12' 'a13' 'a14' 'c23' 'a16') reading selecting: [:each | each > first = $a]. > r get > a12 > r get > a13 Beautiful ! Thx Denis. > 2015-03-22 20:47 GMT+03:00 stepharo :

Re: [Pharo-users] Collection with memory?

2015-03-22 Thread Sven Van Caekenberghe
> On 22 Mar 2015, at 22:40, stepharo wrote: > > > > Le 22/3/15 22:05, Sven Van Caekenberghe a écrit : >>> On 22 Mar 2015, at 21:44, Denis Kudriashov wrote: >>> >>> Hi >>> >>> It is another perfect task for XStreams: >>&g

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread Sven Van Caekenberghe
> On 23 Mar 2015, at 07:57, stepharo wrote: > > > > Le 22/3/15 23:01, Sven Van Caekenberghe a écrit : >>> On 22 Mar 2015, at 22:40, stepharo wrote: >>> >>> >>> >>> Le 22/3/15 22:05, Sven Van Caekenberghe a écrit : >>>

[Pharo-users] Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz

2015-03-23 Thread Sven Van Caekenberghe
I hadn't seen this posted on the mailing list, but this is really cool stuff. Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz > http://www.min.at/prinz/?x=entry:entry150318-104537 > Nice wor

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread Sven Van Caekenberghe
Stef, Like Denis said, there is no #next: in Xtreams, AFIACT. There are XTReadStream>>#get "Read an object from self. If there aren't any elements left in the stream, the Incomplete exception is raised." and XTReadStream>>#read: anInteger "Read anInteger's worth of elements from self

Re: [Pharo-users] Collection with memory?

2015-03-25 Thread Sven Van Caekenberghe
OK, I get your point now, #read and #read: are a better combination than #get and #read: About #++ and friends, yes I think they are so uncommon that they do not warrant a special selector, what is the point ? > On 25 Mar 2015, at 09:12, stepharo wrote: > >> Stef, >> >> Like Denis said, ther

Re: [Pharo-users] GRNumberPrinter

2015-03-25 Thread Sven Van Caekenberghe
According to GRPrinterTest>>#testIntegerPrinter this is expected behaviour ;-) There is also a GRSignPrinter, but since there are no class comments ... > On 25 Mar 2015, at 20:14, Cameron Sanders via Pharo-users > wrote: > > > Date: 25 Mar 2015 20:13:59 CET > Subject: GRNumberPrinter > From:

Re: [Pharo-users] Serving static content

2015-03-25 Thread Sven Van Caekenberghe
Using Zinc this becomes something like: ZnServer startDefaultOn: 1701. ZnServer default delegate: ( (ZnStaticFileServerDelegate new) prefixFromString: 'apple/macosx'; directory: '/Library/WebServer/Documents' asFileReference; yourself). http://localhost:1701/apple/macoxs/ >

[Pharo-users] [ Added to Concerning Pharo ] Building a Mongo Browser in Pharo

2015-03-26 Thread Sven Van Caekenberghe
oming Pharo 4 release is looking really great ! Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

[Pharo-users] Spec TextModel

2015-03-27 Thread Sven Van Caekenberghe
Hi, I have a question about Spec's TextModel. How do you use it without the assumption that it contains code ? I just want to show real text and not have a code menu or active coding shortcuts. It is probably me, but I can't find it. Thx, Sven

Re: [Pharo-users] Spec TextModel

2015-03-27 Thread Sven Van Caekenberghe
lkEditor. > For your needs you would need to change it to TextEditor, but I don't see any > easy way how to change it. > > If you will not be able to find a way, please open an issue (for Pharo5), > because I think this should be possible. > > Peter > > On Fri, Mar 27,

Re: [Pharo-users] Spec TextModel

2015-03-27 Thread Sven Van Caekenberghe
> On 27 Mar 2015, at 11:37, Peter Uhnák wrote: > > Either TextModel should have configuration methods #beForCode and #beForText > or there should be TextModel and a CodeModel (sub)class. > > And from what you say, the plain variant is not even provided in Spec. > > I agree, please open issue

Re: [Pharo-users] MySQL framework for Pharo to analyze futures and options.

2015-03-29 Thread Sven Van Caekenberghe
> On 29 Mar 2015, at 04:47, Pierce Ng wrote: > > On Fri, Mar 27, 2015 at 02:21:01PM -0700, nacho wrote: >> I'm using MySQL to hold some data on commodities prices for futures >> valuation and want to - of course - use Smalltalk as a front-end. Which >> framework would you recommend? > > There

Re: [Pharo-users] Writing ConfigurationOf depending on beyond bleeding edge code

2015-03-29 Thread Sven Van Caekenberghe
Hi Pierce, > On 29 Mar 2015, at 05:20, Pierce Ng wrote: > > Maybe if Sven reads this he can mark .29 as the stable release. That'll work > too. :-) Done ! Anything for my users ;-) Sven PS: I had forgotten about this, next time, ping me sooner. -- Sven Van Caekenberg

Re: [Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-30 Thread Sven Van Caekenberghe
> On 31 Mar 2015, at 08:05, Norbert Hartl wrote: > > You didn't ask about desktop (GUI) or server (headless). There probably a lot > of people having a server running somewhere. I clicked both options: Mac and > Linux Me too, for the same reason. Desktop/server linux are two very different p

Re: [Pharo-users] Syslog client

2015-03-31 Thread Sven Van Caekenberghe
I believe logging to syslog(d) is part of SystemLogger. http://www.smalltalkhub.com/#!/~StephaneDucasse/SystemLogger See category SystemLogger-SysLogSender > On 31 Mar 2015, at 15:11, Dmitri Zagidulin wrote: > > YES! Awesome! :) I was just about to look to see if there was a decent Syslog > c

Re: [Pharo-users] [ANN] New service: The Pharo catalog

2015-04-01 Thread Sven Van Caekenberghe
Cool! > On 01 Apr 2015, at 12:13, Esteban Lorenzano wrote: > > Hi, > > Last week I made a super small project to consolidate all projects published > in all metarepos. > Is very simple, in the style of smalltalkhub repository list, but it shows > all projects with the info their owners prov

Re: [Pharo-users] Glorp with PostgresV2 on Pharo 4

2015-04-02 Thread Sven Van Caekenberghe
> On 03 Apr 2015, at 06:58, Pierce Ng wrote: > > Now that we know the PostgresV2 driver can talk to our database, using the > Monticello browser, open the PostgresV2 repository and load the package > GlorpDriverPostgreSQL. Here I had to edit > NativePostgresDriver>>connectionArgsFromCurrentLogi

Re: [Pharo-users] Devnology presentation slides

2015-04-02 Thread Sven Van Caekenberghe
+10 > On 03 Apr 2015, at 00:36, p...@highoctane.be wrote: > > Nice slideware!​ > > And interesting points at that. > > Phil

Re: [Pharo-users] IconFactory - utility for creating icons in Pharo

2015-04-04 Thread Sven Van Caekenberghe
Because composition/decomposition is good (among others for re-use), because with separate entries you can browse them more easily, because we don't like long methods, ... You get the idea ;-) > On 04 Apr 2015, at 16:45, kilon alios wrote: > > once more I really dont like idea of methods retur

Re: [Pharo-users] NeoCSV and big files

2015-04-04 Thread Sven Van Caekenberghe
There are also #select: and #select:thenDo: convenience methods. NeoCSV is properly streaming, it should not introduce memory consumption problems itself. But note that you cannot load more than about 1Gb of permanent data in the current VM. One known performance limitation is in handling extre

Re: [Pharo-users] Association postcopy (Pharo 3)

2015-04-05 Thread Sven Van Caekenberghe
> On 05 Apr 2015, at 12:06, Hartmut wrote: > > Hi, > > the Dictionary>>postCopy comment reads: > "Must copy the associations, or later store will affect both the original and > the copy You interpret the comment incorrectly: it talks about the association itself, not the value that it holds.

Re: [Pharo-users] Data scrapping in pharo: converting text with dates in Spanish

2015-04-05 Thread Sven Van Caekenberghe
You could have a look at the ZTimestamp package (you can load it using the Configuration Browser, the repository is http://www.smalltalkhub.com/#!/~SvenVanCaekenberghe/Neo). It has a class ZTimestampFormat which currently formats & parses dates/times/timestamps in 4 languages "by example". You

Re: [Pharo-users] IconFactory - utility for creating icons in Pharo

2015-04-05 Thread Sven Van Caekenberghe
only way I see for avoiding long methods. > > Or am I missing something here ? > > On Sat, Apr 4, 2015 at 6:01 PM, Sven Van Caekenberghe wrote: > Because composition/decomposition is good (among others for re-use), because > with separate entries you can browse them more easily,

Re: [Pharo-users] Object-oriented state-frozen logging

2015-04-05 Thread Sven Van Caekenberghe
Hi Peter, I would call this object logging, plain and simple. Some of us, myself included, believe this is the way forward. You could have a look at how Zinc does logging (ZnLogEvent): https://www.youtube.com/watch?v=rIBbeMdFCys https://www.youtube.com/watch?v=gaUxPNq6_7c This article might

Re: [Pharo-users] IconFactory - utility for creating icons in Pharo

2015-04-05 Thread Sven Van Caekenberghe
> On 05 Apr 2015, at 20:16, kilon alios wrote: > > Thank you for trying to help me understand :) You're welcome. > It was important for me to understand this because I want to import a lot of > SVG data into the image and I was not sure if I should use just SVG files or > instead use method

Re: [Pharo-users] Updating ZeroConf! Please do not use it until new advice!

2015-04-07 Thread Sven Van Caekenberghe
Good work, thanks. > On 07 Apr 2015, at 17:24, Esteban Lorenzano wrote: > > ok… success :) > now, this is the change: > > from now, each version is married with one vm. > > so, if you download /30+vm it will download the Pharo30 image with its > corresponding "vm30" > > which means some li

Re: [Pharo-users] ZnClient: getting more that 19 tweet for data scrapping

2015-04-07 Thread Sven Van Caekenberghe
What Paul showed is basically just a hack. What you probably what is full API access to Twitter, that gives you the real thing, but it is more work and you have to understand all the technical details (unless somebody already did it for you, I don't know - I know that Zinc-SSO can connect to Tw

Re: [Pharo-users] ZnClient: getting more that 19 tweet for data scrapping

2015-04-08 Thread Sven Van Caekenberghe
api: > http://forum.world.st/Data-scrapping-in-pharo-Extracting-tweets-contents-td4817746.html > and provided the download code in an ws.stfx.eu snippet. Paul, I know you understand, we're on the same page. Sven > Hope this helps > > Paul > > > Sven Van Caekenb

Re: [Pharo-users] STON can't handle classes?

2015-04-09 Thread Sven Van Caekenberghe
Yes, that is a know limitation, classes can't be serialised. The same is true for many system like objects. I usually store just the symbol name. > On 09 Apr 2015, at 13:24, Sean P. DeNigris wrote: > > "STON toStringPretty: Class" -> MessageNotUnderstood: > Metaclass>>stonAllInstVarNames > >

Re: [Pharo-users] ZnUrl directory

2015-04-13 Thread Sven Van Caekenberghe
ZnUrl>>#file and ZnUrl>>#directory are not well specified I guess, and maybe not that useful, but since these partially fall back to #path I am afraid you cannot just change them. I would convert to a FileReference as in (ZnUrl fromString: 'file:///tmp/') asFileReference. In short, ZnUrl is

Re: [Pharo-users] DoubleLinkedList vs LinkedList vs Collection

2015-04-14 Thread Sven Van Caekenberghe
Peter, > On 14 Apr 2015, at 13:52, Peter Uhnák wrote: > > I was surprised to learn that DoubleLinkedList is descendant of Object, while > LinkedList is descendant of SequencableCollection. Is there a particular > reason behind this? Are they really so conceptually different that DLL is not >

Re: [Pharo-users] DoubleLinkedList vs LinkedList vs Collection

2015-04-14 Thread Sven Van Caekenberghe
> On 14 Apr 2015, at 16:46, Peter Uhnák wrote: > > DoubleLinkedList was added to help the implementation of [LRU|TTL]Cache. It > was kept small and independent. > Does that mean that I probably shouldn't touch it? Because when I wanted to > use DDL I ran into a problem that once I add somethin

Re: [Pharo-users] Zinc, servicing a full website

2015-04-14 Thread Sven Van Caekenberghe
Hi Leo, > On 14 Apr 2015, at 14:28, Leo Paniceres wrote: > > Hi Sven, > > Thanks very much for your excellent Zinc package. > > Excuse me for contacting to your email, I couldn’t find the official support > email list. I much prefer answering question on the pharo-users ML, in CC. > My

Re: [Pharo-users] [Vm-dev] [ANN] Pharo 4.0 is released!

2015-04-16 Thread Sven Van Caekenberghe
> On 16 Apr 2015, at 11:55, Tudor Girba wrote: > > Great job! > > Thank you everyone for the contributions, support and trust. + 100

Re: [Pharo-users] STON references class removed in Pharo 5

2015-04-26 Thread Sven Van Caekenberghe
Jan, > On 25 Apr 2015, at 12:12, Jan Blizničenko wrote: > > Hello > > I'd just like to note that STON package is referencing class TimeStamp in > its tests, which has been deprecated and got removed in Pharo 5 (since image > 50003), so if I want to use latest image (which I do), I get a warning

Re: [Pharo-users] STON distributed control version and long lines (it was Re: Citizen example for manipulating a bibtex file)

2015-04-26 Thread Sven Van Caekenberghe
make any test from this side and report them back to you. > > Making STON DVCS friendly would open a lot of collaboration on interactive > documentation and other places where STON can be used as an storage format > (like we are doing). > > So, how can we proceed? > > Thanks, >

Re: [Pharo-users] Where to channel questions

2015-04-27 Thread Sven Van Caekenberghe
> On 27 Apr 2015, at 18:33, Sergio Fedi wrote: > > Hi, I'm new to the Pharo community and I was wondering where to channel > Pharo-use related questions. > > In the Pahro.org site it suggests to post questions on StackOverflow > > "If you have any question regarding Pharo, use StackOverflow.

Re: [Pharo-users] STON distributed control version and long lines (it was Re: Citizen example for manipulating a bibtex file)

2015-04-27 Thread Sven Van Caekenberghe
A package is not a configuration, try: Gofer new smalltalkhubUser: 'SvenVanCaekenberghe' project: 'STON'; configurationOf: 'Ston'; loadBleedingEdge. > On 27 Apr 2015, at 19:29, Offray Luna wrote: > > Hi Sven, > > I tried to load the last bleeding edge version of STON by running: > > ht

Re: [Pharo-users] [Ann] MorphicDraw

2015-04-30 Thread Sven Van Caekenberghe
I have not yet read it, but this is very cool, well done ! This kind of material is very welcome. > On 30 Apr 2015, at 01:57, Stephan Eggermont wrote: > > To better understand Morphic, I've started writing a small application that > can draw shapes and connect them. > > A pdf documenting what

Re: [Pharo-users] [ANN] Idea icon pack now in Configuration Browser

2015-04-30 Thread Sven Van Caekenberghe
Very nice and a super clean install procedure, I love it when things come together ! > On 30 Apr 2015, at 12:11, Esteban Lorenzano wrote: > > Hi, > > I made a configuration to install the new Idea Icon Pack from configurations > browser for Pharo 4. > You can install it and then choose your

Re: [Pharo-users] Reddit discussion (rant) about Pharo 4.0 first time users' experiences

2015-04-30 Thread Sven Van Caekenberghe
So he didn't find http://pharo.org/documentation ? It is the first hit if you search for 'Pharo Documentation' ! Of course, one on one mentoring is way better than any documentation for anything. > On 30 Apr 2015, at 13:40, Sergio Fedi wrote: > > Note: I haven't read the reddit link above) >

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread Sven Van Caekenberghe
Hi Volkert, Tip 1: use ZnClient and inspect the response in detail, more specifically to see whether the response content type specifies the encoding. ZnClient new get: 'http:///api/atm/801813'; yourself. Tip 2: you could try to force override the default encoding using ZnDefaultCharacterEnc

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread Sven Van Caekenberghe
> got. >>> >>> >>> >>> This is the Doc i see in Firefox. >>> >>> >>> >>> The JSON is served with ZnServer / Teapot. ;-) >>> >>> Volkert >>> >>> >>> Am 01.05.2015 um 12:21 schri

<    1   2   3   4   5   6   7   8   9   10   >