Re: [Pharo-users] neo json and valueSchema for integer attributes ...

2014-03-24 Thread Sven Van Caekenberghe
tPutAs: symmetrical to NeoJSONReader>>#next:as: Added 4 unit test to exercise the new options === Regards, Sven On 21 Feb 2014, at 15:00, Sven Van Caekenberghe wrote: > Hi Marten, > > There is indeed something currently not completely implemented: #valueSchema: > and #next

Re: [Pharo-users] [Pharo-dev] installing gtoolkit

2014-03-25 Thread Sven Van Caekenberghe
On 25 Mar 2014, at 10:02, p...@highoctane.be wrote: > Question: if one has opened a Miller column too far, how can we close that > one? It was annoying to have to use to precisely use the scrollbar down there > to get back to where I was. And if the column is not out of view, it keeps on > upd

Re: [Pharo-users] [Pharo-dev] New website about Spec - http://spec.st

2014-03-28 Thread Sven Van Caekenberghe
Super nice, very professional, congratulations to everybody who working on this! On 28 Mar 2014, at 14:18, Benjamin wrote: > Hi guys :) > > I am glad to announce (even if Philippe already let the cat out :P) a website > dedicated to Spec: http://spec.st. > You can find a quick introduction, do

Re: [Pharo-users] Pharo 1

2014-03-31 Thread Sven Van Caekenberghe
You can only enter one method at a time. And methods should be small and be lowercase. On 31 Mar 2014, at 15:03, Roelof Wobben wrote: > What did I do wring this time ?

Re: [Pharo-users] challenges

2014-03-31 Thread Sven Van Caekenberghe
That book is too advanced I think. On 31 Mar 2014, at 19:07, p...@highoctane.be wrote: > On Mon, Mar 31, 2014 at 6:41 PM, Roelof Wobben wrote: > Ben Coman schreef op 31-3-2014 18:30: > Roelof Wobben wrote: > Hello, > > I almost get book 1 ready. > > Now I wonder if there are challenges so I ca

Re: [Pharo-users] challenges

2014-03-31 Thread Sven Van Caekenberghe
On 31 Mar 2014, at 20:01, p...@highoctane.be wrote: > > On Mon, Mar 31, 2014 at 7:55 PM, Sven Van Caekenberghe wrote: > That book is too advanced I think. > > That set of Andrès books sure made my head hurt. > > Like in: Read a couple pages. Feel dizzy. Re-read. Code

Re: [Pharo-users] [ANN] JNIPort for Pharo 3.0 alpha

2014-04-08 Thread Sven Van Caekenberghe
On 05 Apr 2014, at 23:35, Joachim Geidel wrote: > Yes, #become: is *very* slow in Pharo. No problem at all in VisualWorks or > Dolphin Smalltalk or Pharo 1.2, though! > > Time millisecondsToRun: [1000 timesRepeat: [String new become: String new ]] > > Pharo 3.0 (and also in 2.0 and 1.4): >

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
What are you loading ? There was a report back of some package overwriting system code leading to this error, I'll see if I can find it. On 08 Apr 2014, at 21:05, Esteban A. Maringolo wrote: > I'm trying to load a Metacello Configuration I use in Pharo 2 into a brand > new Pharo 3 image. > >

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
https://pharo.fogbugz.com/f/cases/12667 It was BabyMock-Examples. HTH, Sven On 08 Apr 2014, at 21:59, Sven Van Caekenberghe wrote: > What are you loading ? There was a report back of some package overwriting > system code leading to this error, I'll see if I can find it. > &g

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
ds! > > > Esteban A. Maringolo > > > 2014-04-08 17:00 GMT-03:00 Sven Van Caekenberghe : > https://pharo.fogbugz.com/f/cases/12667 > > It was BabyMock-Examples. > > HTH, > > Sven > > On 08 Apr 2014, at 21:59, Sven Van Caekenberghe wrote: > >

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
On 08 Apr 2014, at 23:06, Stephan Eggermont wrote: > We might be better off renaming Cache to WeightedCache (or NeoCache or > SystemCache). > The class comment in Cache seems to cover more than what Cache actually does > itself. > > Stephan I disagree: third-party code should not use un-pref

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 00:16, Esteban A. Maringolo wrote: > From my standpoint GLORP is abandoned in the Pharo realm. > There are some people, like me, that still use it, but no one maintains it. > It worries me that not a single person ran into this issue before, > during the whole testing of Pharo

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 00:51, Stephan Eggermont wrote: > "When #totalWeight is no longer below #maximumWeight, the least recently used > item of the cache is evicted (removed) to make room. „ is not part of the > Cache behavior, but of LRUCache. Yes, you are correct: how room is made available an

Re: [Pharo-users] Error: No factory specified

2014-04-08 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 03:31, Esteban A. Maringolo wrote: > OpenDBX aside (which I don't plan to use), I don't see how this will > get GLORP running :) It is maintained as part of DBXTalk, as far as I understand http://www.smalltalkhub.com/#!/~DBXTalk/Glorp/ and yes that is a bit confusing, but

Re: [Pharo-users] open file in append mode

2014-04-09 Thread Sven Van Caekenberghe
Norbert, Just use #setToEnd once you opened the file stream. HTH, Sven On 09 Apr 2014, at 10:08, Norbert Hartl wrote: > How can I open a file in append mode in order to start writing at the end of > the file? > > thanks, > > Norbert

Re: [Pharo-users] Pharo Consortium: New Gold Member Lam Research

2014-04-09 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 10:38, Marcus Denker wrote: > The Pharo Consortium is very happy to announce that Lam Research has joined > the Consortium as a Gold Industrial Member. > > More about > - Lam Research: http://lamrc.com > - Pharo Consortium: http://consortium.pharo.org Again, gr

Re: [Pharo-users] Error: No factory specified

2014-04-09 Thread Sven Van Caekenberghe
Thanks, Stephan. I will have a look and try to load/use Glorp myself towards the end of the week. On 09 Apr 2014, at 11:08, Stephan Eggermont wrote: > Ok, there is a bug in The ConfigurationOfDBXDriver, > the baseline has a versionString entry. That should be removed > > After removing that (a

Re: [Pharo-users] Memory profiling: usage per class - instance in old memory

2014-04-09 Thread Sven Van Caekenberghe
Hi Thomas, Fixing memory consumption problems is hard, but important: memory efficient code is automatically faster in the long run as well. Your issue sounds serious. However, I would start by trying to figure out what is happening at your coding level: somehow you (or something you use) must

Re: [Pharo-users] Zinc HTTP server seems to convert always ...

2014-04-09 Thread Sven Van Caekenberghe
Hi Marten, I will need (much) more detail, what are you trying to do that is not working according to you ? As far as I know Zinc HTTP Components does the right thing and can be used (configured) to do almost anything you want. It mostly depends on your mime types and their charset options. S

Re: [Pharo-users] Zinc HTTP server seems to convert always ...

2014-04-09 Thread Sven Van Caekenberghe
ho'; entity: (ZnEntity with: 'An der schönen blauen Donau' type: (ZnMimeType textPlain clearCharSet; yourself)); post; yourself. HTH, Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill

Re: [Pharo-users] Memory profiling: usage per class - instance in old memory

2014-04-09 Thread Sven Van Caekenberghe
e the computation is costly > and I need its output multiple times. > > I will make further testing to see why the memory is not released at the end > of the execution. Good luck. > Thanks again ! > > > > 2014-04-09 15:19 GMT+02:00 Sven Van Caekenberghe : > Hi Tho

Re: [Pharo-users] Zinc HTTP server seems to convert always ...

2014-04-09 Thread Sven Van Caekenberghe
Marten, On 09 Apr 2014, at 18:25, itli...@schrievkrom.de wrote: > Ok, if the browser sends POST/PUT request with a JSON structure it also > sends charset = utf8 (in my case). That's ok, because for JSON this is > more or less the default charset. > > Zinc now seems to notice, that UTF8 charset i

Re: [Pharo-users] NeoJSON Parsing Nested Objects

2014-04-09 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 19:18, Sean P. DeNigris wrote: > I'm wrapping the Digital Ocean API. Cool !

Re: [Pharo-users] Zinc HTTP server seems to convert always ...

2014-04-09 Thread Sven Van Caekenberghe
ithout decoding to Strings. You will get ZnZnByteArrayEntity objects back, containing the original binary representation. BTW, I think this is an interesting discussion. Regards, Sven > Marten > > Am 09.04.2014 18:42, schrieb Sven Van Caekenberghe: >> Marten, >> >> On 0

Re: [Pharo-users] NeoJSON Parsing Nested Objects

2014-04-09 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 19:28, Sean P. DeNigris wrote: > Sean P. DeNigris wrote >> I'd like to convert them to DropletSize objects > > Duh :-P > > reader for: DoResponse do: [ :m | > m mapInstVar: #status. > (m mapInstVar: #contents to: #sizes) valueSchema: > #ArrayOfD

Re: [Pharo-users] Zinc HTTP server seems to convert always ...

2014-04-09 Thread Sven Van Caekenberghe
On 09 Apr 2014, at 20:54, itli...@schrievkrom.de wrote: > And now the additional information: I'm working under Gemstone and I > noticed quite some differences between Pharo and its Gemstone port > of Zinc in this area ... I have to take a closer look here. > > Marten I already expected that mu

Re: [Pharo-users] Zinc HTTP server seems to convert always ...

2014-04-10 Thread Sven Van Caekenberghe
On 10 Apr 2014, at 07:03, itli...@schrievkrom.de wrote: > Am 10.04.2014 03:09, schrieb Paul DeBruicker: >> +1 to Sven's comment and Marten - you should post this on the GemStone list >> as one of their guys will be able to help you with the encoding issues. > > Its ok for me. Due to Sven's softw

Re: [Pharo-users] RDBMS Atomic Counter?

2014-04-16 Thread Sven Van Caekenberghe
If you are thinking about an RDBMS like postgresql, why not just use sequences ? http://www.neilconway.org/docs/sequences/ Especially the INSERT ... RETURNING ... ; is useful. On 16 Apr 2014, at 21:52, Esteban A. Maringolo wrote: > Hi, > > A few weeks ago Sven was asking for a lock-free in-im

Re: [Pharo-users] RDBMS Atomic Counter?

2014-04-18 Thread Sven Van Caekenberghe
On 18 Apr 2014, at 17:48, Norbert Hartl wrote: > > Am 18.04.2014 um 17:11 schrieb Stephan Eggermont : > >>> Think of invoices, I must have a consecutive set of invoices, like >>> 0001, 0002, 0003, there can't be gaps in between. >> >> That is not the rule in most countries, AFAIK. >> > In

Re: [Pharo-users] Pillar in TextMate

2014-04-21 Thread Sven Van Caekenberghe
Well said +1 On 21 Apr 2014, at 15:31, kilon alios wrote: > I dont get what you are implying . There is tons of cross platform > text editors , my favorite being emacs , vim being extremely capable > too. > > I have no serious experience with Textmate but looks very capable too. > > I have u

Re: [Pharo-users] Pillar in TextMate

2014-04-22 Thread Sven Van Caekenberghe
On 22 Apr 2014, at 12:02, Robert Shiplett wrote: > Pharo 3 for coding in Japanese is now the best IDE of which I am aware. And > it is a great pleasure to see that. > > My thanks to everyone who helped bring Unicode to Pharo and Pharo to Unicode > fonts. That is good to hear, Robert. Maybe

Re: [Pharo-users] [ANN] Gravatar for Pharo Smalltalk

2014-04-23 Thread Sven Van Caekenberghe
There is already code for that in the image: (PharoUser new retrieveGravatarFromMail: 's...@stfx.eu') openInWindow. PharoUser is an odd class (this code should be on the class side). Maybe both approaches can be combined ? On 23 Apr 2014, at 13:44, Torsten Bergmann wrote: > Hi, > > The "Grav

[Pharo-users] [OT] TDD is dead. Long live testing. (DHH)

2014-04-23 Thread Sven Van Caekenberghe
More or less what I think: testing is necessary and should be pragmatic & fun, not a dogma http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html

Re: [Pharo-users] glorp

2014-04-25 Thread Sven Van Caekenberghe
Here is another nice opinion: http://use-the-index-luke.com/blog/2013-04/whats-left-of-nosql On 25 Apr 2014, at 11:52, Franz Josef Konrad wrote: > Slightly off topic but on the other hand it fits perfectly into the > discussion: IMHO a very enlightening podcast about RDBMS, NoSQL, NewSQL >

Re: [Pharo-users] glorp

2014-04-25 Thread Sven Van Caekenberghe
On 25 Apr 2014, at 22:20, Esteban A. Maringolo wrote: > So coming back to Pharo realm, this is why I think ORM is really > important for us, and I'm really happy this discussion finally took > place. But one of his points was that ORM layers made SQL obsolete by hiding much of its power, the a

Re: [Pharo-users] Base64 or HMAC problem

2014-04-28 Thread Sven Van Caekenberghe
Hi Spilios, There is not enough information in your mail. Where exactly did you load SHA256 from and how ? What are the correct/incorrect answers that you get ? From where do you get the references values ? How sure are you they are correct ? If you make it easy for others to execute the same e

Re: [Pharo-users] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
Tested on Mac OS X: $ mkdir pharo3 $ cd pharo3/ $ curl get.pharo.org/vm | bash $ curl get.pharo.org/30 | bash $ ./pharo-ui Pharo.image Loaded some configurations, ran some tests, recompiled all. All OK. Super ! On 29 Apr 2014, at 12:53, Marcus Denker wrote: > Hi, > > We have a sources file

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
On 29 Apr 2014, at 15:05, Norbert Hartl wrote: > > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe : > >> Tested on Mac OS X: >> >> $ mkdir pharo3 >> $ cd pharo3/ >> $ curl get.pharo.org/vm | bash >> $ curl get.pharo.org/30 | bash >> $

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
> > > On 29 April 2014 10:22, Robert Shiplett wrote: > I have to add a line to my pharo.ini to use sources named '30' ? > > Pharo comes up with latest.zip + sources 30 but complains not able to find > sources '20' > > > On 29 April 2014 10:11,

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
ioned this about pharo.ini options >> >> Maybe if I look in Squeak pages it will turn up there ... >> >> THIS IS my idiosyncratic USER testing ;-) >> >> >> >> >> On 29 April 2014 10:35, Sven Van Caekenberghe wrote: >> Maybe it is bette

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
ioned this about pharo.ini options >> >> Maybe if I look in Squeak pages it will turn up there ... >> >> THIS IS my idiosyncratic USER testing ;-) >> >> >> >> >> On 29 April 2014 10:35, Sven Van Caekenberghe wrote: >> Maybe it is bette

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
On 29 Apr 2014, at 16:39, Marcus Denker wrote: > > On 29 Apr 2014, at 15:51, Marcus Denker wrote: > >> >> On 29 Apr 2014, at 15:34, Marcus Denker wrote: >> >>> >>> On 29 Apr 2014, at 15:32, Robert Shiplett wrote: >>> looked through 2 PDF's for "pharo.ini" and "sources" but did not

Re: [Pharo-users] Some code to share - Twitter access

2014-04-29 Thread Sven Van Caekenberghe
- you would be giving something back to an open source community that helped you first Anyway, it is cool that your experiments are succeeding. Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
The thing is, my time is limited as well, and I just took 15 minutes to double-check that things work and to write an email to you. IMHO you should try the official way using the fresh download (like in the movie) and tell us whether that works or not and report back. For some reason, you seem

Re: [Pharo-users] [Pharo-dev] Pharo 3.0 Released!

2014-04-30 Thread Sven Van Caekenberghe
gs are changing but the system gets more stable. Moving from Pharo >>> 2 to Pharo 3 is almost a matter of just loading the code. >>> >>> Remember that Pharo is your platform. We thank all the contributors of this >>> release: Jean-Baptiste Arnaud, Simon Al

Re: [Pharo-users] Right-click and tutorial

2014-04-30 Thread Sven Van Caekenberghe
e tree based HelpBrowser (apart and together) without opening a new one - make HelpBrowser>>#onItemClicked: deselect in the text view This needs a review; some hacking was involved. === Sven On 30 Apr 2014, at 12:43, Ben Coman wrote: > Sven Van Caekenberghe wrote: >> Ben, >&g

Re: [Pharo-users] [Pharo-dev] Pharo 3.0 Released!

2014-04-30 Thread Sven Van Caekenberghe
he contributors of this > release: Jean-Baptiste Arnaud, Simon Allier, Philippe Back, Clément Bera, > Alexandre Bergel, Torsten Bergmann, Usman Bhatti, Vincent Blondeau, Noury > Bouraqadi, Johan Brichau, Camillo Bruni, Sven Van Caekenberghe, Damien > Cassou, Nicolas Cellier, Guido C

Re: [Pharo-users] [Pharo-dev] Pharo 3.0 Released!

2014-04-30 Thread Sven Van Caekenberghe
We need more votes & comments to get to the front page ! On 30 Apr 2014, at 16:27, Sven Van Caekenberghe wrote: > https://news.ycombinator.com/item?id=7673462 > > On 30 Apr 2014, at 16:24, Esteban Lorenzano wrote: > >> and is also at ycombinator >> >> thumb

Re: [Pharo-users] Pharo 3.0 Released!

2014-04-30 Thread Sven Van Caekenberghe
On 30 Apr 2014, at 22:57, Tudor Girba wrote: > It means that we are so happy that CodeCity is built in Pharo and that we can > draw Pharo so beautifully from within Pharo. The same applies for Roassal :) Hear, hear ! Indeed: the fact that Pharo is written in Pharo, with accessible and friendl

Re: [Pharo-users] pharo-vm-nox command line

2014-05-02 Thread Sven Van Caekenberghe
Try $ ./pharo Pharo.image printVersion [version] 3.0 #30845 $ ./pharo Pharo.image eval --no-quit '42 factorial' 14050061177528798985431426062445115699363840 it keeps the image running after printing the result of the expression. On 02 May 2014, at 11:56, Bernat Romagosa wrote: > Hi

Re: [Pharo-users] Updating packages from command line

2014-05-02 Thread Sven Van Caekenberghe
The best approach is to use Configurations and the config handler: $ ./pharo Pharo.image config Command line handler for dealing with Metacello configurations from the command line Usage: config [--help] [] [--install[=]] [--group=] [--username=] [--password=] --help show

Re: [Pharo-users] Updating packages from command line

2014-05-02 Thread Sven Van Caekenberghe
;> package: 'ConfigurationOfStarUOCs'; >> load. >> >> ConfigurationOfStarUOCs load. >> >> What can be happening? My version is: >> >> pharo-vm-nox Pharo.image printVersion >> [version] 3.0 #30846 >> >> >> >

Re: [Pharo-users] Pharo 3 minor issue

2014-05-03 Thread Sven Van Caekenberghe
That is apparently a Spec problem (i.e. all buttons created with Spec react like this): ButtonModel new label: 'Right-click Me'; action: [ self inform: 'Clicked !' ]; openWithSpec CC'ing to Pharo dev. We probably have to turn this into an bug tracker issue. Thanks for reporting. On 03 M

Re: [Pharo-users] No sources files on http://pharo.org/download

2014-05-05 Thread Sven Van Caekenberghe
In http://files.pharo.org/sources/ you can find http://files.pharo.org/sources/PharoV30.sources http://files.pharo.org/sources/PharoV30.sources.zip And if you use a very recent VM you get them for free ;-) On 05 May 2014, at 18:49, Johan Fabry wrote: > Hi all, > > looking at the http://ph

Re: [Pharo-users] No sources files on http://pharo.org/download

2014-05-05 Thread Sven Van Caekenberghe
.0/Pharo-Image-3.0-latest/PharoV30.sources.) > > On May 5, 2014, at 1:04 PM, Sven Van Caekenberghe wrote: > >> In http://files.pharo.org/sources/ you can find >> >> http://files.pharo.org/sources/PharoV30.sources >> http://files.pharo.org/sources/PharoV30.sources

Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-05 Thread Sven Van Caekenberghe
The EyeCollectionInspector show the 'collection view' (what enumeration does), the EyeBasicInspector shows the actual instance variables as well as the variable part (and thus allows a look inside). That is why there are multiple views. On 05 May 2014, at 23:50, Nicolai Hess wrote: > 2014-05-

Re: [Pharo-users] Best/simplest way to read and write to a MySQL database

2014-05-07 Thread Sven Van Caekenberghe
Hi Andy, On 07 May 2014, at 15:09, Andy Burnett wrote: > I need to write some agents that will process data in a MySQL database. They > don't need to do anything particularly clever, and performance isn't a huge > issue. > > I read the threads about Glorp and DBXTalk, and I was left feeling

Re: [Pharo-users] Creating a subclass from nautilus/Pharo3

2014-05-10 Thread Sven Van Caekenberghe
On 10 May 2014, at 15:57, Hilaire Fernandes wrote: > Hi, > > In Nautilus, to creat a subclass I have to go in menu Class > 'Refactoring>Class Refactoring>Generate Subclass...' (Why is it > refactring? It seems NOT for me), The class menu in Nautilus is not perfect (in the sense of ordering thi

Re: [Pharo-users] blog post explaining the codecity visualization of pharo changes

2014-05-19 Thread Sven Van Caekenberghe
On 18 May 2014, at 10:47, Hilaire Fernandes wrote: > It is really a nice way to announce/talk smartly and originally on Pharo > release out there. Yes, really nice. If only we knew what #detect:ifOne:ifNone: did ;-) > Thanks > > Hilaire > > Le 18/05/2014 09:52, Tudor Girba a écrit : >> Hi,

Re: [Pharo-users] Pharo 3 / osx / Keyboard shortcuts ?

2014-05-20 Thread Sven Van Caekenberghe
It is command-j command-m like in Emacs. You keep de command (apple) key pressed. On 20 May 2014, at 14:31, sergio_101 wrote: > > i noticed last night that the keyboard shortcuts are a bit different in pharo > 3. for instance, to when i mouse over a method, to run the tests, i see there > ar

Re: [Pharo-users] A possible problem coming from Zinc?

2014-05-21 Thread Sven Van Caekenberghe
On 21 May 2014, at 13:30, Usman Bhatti wrote: > Hi, > > When turning on ZincFileLogger on a Zinc server, after some time (1h or so) I > get the FileWrite error (see screenshot). I browsed through the bugs related > to Zinc in the Fogbugz but couldn't find any bug related to my problem. I get

Re: [Pharo-users] A possible problem coming from Zinc?

2014-05-21 Thread Sven Van Caekenberghe
On 21 May 2014, at 16:59, Usman Bhatti wrote: > > > > On Wed, May 21, 2014 at 1:37 PM, Sven Van Caekenberghe wrote: > > On 21 May 2014, at 13:30, Usman Bhatti wrote: > > > Hi, > > > > When turning on ZincFileLogger on a Zinc server, after some t

Re: [Pharo-users] A possible problem coming from Zinc?

2014-05-21 Thread Sven Van Caekenberghe
Hi Usman, Thanks for the feedback, there must be something wrong with ZnFileLogger then I guess. I'll put it on the todo list ;-) Sven

Re: [Pharo-users] name selector

2014-05-26 Thread Sven Van Caekenberghe
Object>>#name should be removed, it is possible, I tried it once. Most senders of #name are asking for the name of a class. On 26 May 2014, at 18:15, Stephan Eggermont wrote: > Do I understand correctly that name is to be understood as inspectorName > and so should never be implemented as subcla

Re: [Pharo-users] NeoJSON mapping of nil properties

2014-05-28 Thread Sven Van Caekenberghe
Hi Esteban, Your wish is my command ;-) In #bleedingEdge you can now do: String streamContents: [ :stream | (NeoJSONWriter on: stream) writeNil: true; mapAllInstVarsFor: Point; nextPut: Point new. which will give you: {"x":null,"y":null} instead of: {} which rem

Re: [Pharo-users] STON on ScaledDecimal?

2014-05-31 Thread Sven Van Caekenberghe
Hi José, On 31 May 2014, at 01:32, José Comesaña wrote: > Wouldn't it be good if STON could save ScaledDecimals as 12345.678s?. That > way, we could read them back again as ScaledDecimal, instead of Float. I have > tried and it seems quite useful. > > Regards That is an interesting idea and

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread Sven Van Caekenberghe
> know I am thinking from a Pharo-only perspective...). Seeing that number > parsing always ends with this condition: > > readStream atEnd not and: [ readStream peek isDigit ] > > why not create a temporary string (including possibility of $e, $s, $/, even > $@ ...) to that point

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread Sven Van Caekenberghe
] > > why not create a temporary string (including possibility of $e, $s, $/, even > $@ ...) to that point (tmpString) and do: > > number := Number readFromString: tmpString > > That way, we would have a "native" parsing in each language > > Hope

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread Sven Van Caekenberghe
g from a Pharo-only perspective...). Seeing that number >> parsing always ends with this condition: >> >> readStream atEnd not and: [ readStream peek isDigit ] >> >> why not create a temporary string (including possibility of $e, $s, $/, even >> $@ ...) to that

Re: [Pharo-users] Xcode's Swift Playground

2014-06-03 Thread Sven Van Caekenberghe
On 03 Jun 2014, at 10:53, kilon alios wrote: > For anyone who has not not watched it yet, you can watch the Playground demo > here. Looks like they were inspired by Bred Victor demos. > > https://www.youtube.com/watch?v=l62x8Oq_QP4 > > Swift is statically typed with type inference. BUT it has

Re: [Pharo-users] Saving Seaside components to Monticello

2014-06-04 Thread Sven Van Caekenberghe
On 04 Jun 2014, at 21:47, p...@highoctane.be wrote: > > Le 4 juin 2014 21:17, "spearson" a écrit : > > > > Hello, > > I created a Monticello repository on Smalltalkhub. When I commit my > > package, my Object subclasses all get saved to the repository. However, > > only my WAComponent subclas

Re: [Pharo-users] Slowness question

2014-06-06 Thread Sven Van Caekenberghe
On 04 Jun 2014, at 23:15, Hilaire Fernandes wrote: > Programmed sketch in DrGeo can be animated, for example like the script > bellow. > The "canvas do:" message forks the block so user is not blocked. > At #udpate message the items and views (morph) are recomputed and refreshed > . > Before por

Re: [Pharo-users] MorphTree behavior changed

2014-06-06 Thread Sven Van Caekenberghe
On 06 Jun 2014, at 14:41, Hilaire Fernandes wrote: > Just confused by the shift to Annoucement. Ok now. > Again I beg for consolidations in Pharo to avoid confusion with multiple > frameworks doing the same things. But is it not normal that first the basic building blocks of something new are

Re: [Pharo-users] [ANN] Generating beautiful html books from Pillar

2014-06-07 Thread Sven Van Caekenberghe
On 06 Jun 2014, at 21:48, Yuriy Tymchuk wrote: > Sent from my iPhone And it is responsive (works well on iPhone/iPad) with different font sizes, very nice !

Re: [Pharo-users] Another Pharo based solution released

2014-06-09 Thread Sven Van Caekenberghe
Nice to see that things are going well, keep it up ! On 09 Jun 2014, at 20:22, Esteban A. Maringolo wrote: > Last Friday my company released a new software solution that involves > Pharo in the server side. > > It consists of a Android based app running on tablets, used for the > showcase and s

Re: [Pharo-users] Base64 encoding + UTF8 ?

2014-06-11 Thread Sven Van Caekenberghe
Bonsoir François, From the class comment of ZnBase64Encoder: [...] Note that to encode a String as Base64, you first have to encode the characters as bytes using a character encoder. [...] Sending #asByteArray to a String is the same as doing no encoding (or doing null encoding). Consider: Z

Re: [Pharo-users] ZnClient Chunked data ?

2014-06-24 Thread Sven Van Caekenberghe
François, There is no encoding specified in the response, Zn falls back to ZnNullDecoder by default. You can change that with the recently introduced DynamicVariable ZnDefaultCharacterEncoder. Like this: ZnDefaultCharacterEncoder value: ZnUTF8Encoder new during: [ ^ ZnClient new get: 'http

Re: [Pharo-users] [Tutorial] Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator

2014-06-25 Thread Sven Van Caekenberghe
Apparently it already got posted on YC News https://news.ycombinator.com/item?id=7943876 so it needs votes and comments to survive. On 25 Jun 2014, at 15:29, Sven Van Caekenberghe wrote: > I have written a new, extensive, long form, introductory article about Pharo. > > Redi

Re: [Pharo-users] [Pharo-dev] [Tutorial] Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator

2014-06-26 Thread Sven Van Caekenberghe
is beautiful! > > Doru > > > On Wed, Jun 25, 2014 at 3:29 PM, Sven Van Caekenberghe wrote: > Hi, > > I have written a new, extensive, long form, introductory article about Pharo. > > Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator &g

Re: [Pharo-users] [Pharo-dev] [Tutorial] Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator

2014-06-26 Thread Sven Van Caekenberghe
fference, I am sure. > On Wed, Jun 25, 2014 at 3:29 PM, Sven Van Caekenberghe wrote: > Hi, > > I have written a new, extensive, long form, introductory article about Pharo. > > Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator > > A tutorial

Re: [Pharo-users] [Tutorial] Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator

2014-06-26 Thread Sven Van Caekenberghe
On 25 Jun 2014, at 17:05, Sven Van Caekenberghe wrote: > Apparently it already got posted on YC News > > https://news.ycombinator.com/item?id=7943876 > > so it needs votes and comments to survive. Let's try again - it is hard to get up the rankings, both votes & comments help - thanks.

Re: [Pharo-users] ZnClient get then post?

2014-06-26 Thread Sven Van Caekenberghe
I didn't notice this thread until just now. Doing OAuth and similar things is not easy. There is Zinc-SSO https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md http://sso.stfx.eu/sso-demo You might also learn something from #testGetAfterPost HTH, Sven On 25 Jun 2014, at 20:4

Re: [Pharo-users] [Pharo-dev] [Tutorial] Rediscovering the UX of the legendary HP-35 Scientific Pocket Calculator

2014-06-26 Thread Sven Van Caekenberghe
, yet, and some small quirks ;-( ). I think, your info about > your Pharo implementation will help to review my Python version ... Yes, that is a nice one as well. It is a nice project to try to implement an emulator, a pretty deep subject. > 2014-06-26 9:06 GMT+02:00 Sven Van Caekenbergh

Re: [Pharo-users] Reading the last n lines from a file without using lots of memory

2014-06-27 Thread Sven Van Caekenberghe
http://stackoverflow.com/questions/10164597/how-would-you-implement-tail-efficiently http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/tail.c I would work with the growing buffer read backwards. It would be great fun doing that in Pharo. On 27 Jun 2014, at 18:50, p...@highoctane.be wrote:

Re: [Pharo-users] Reading the last n lines from a file without using lots of memory

2014-06-29 Thread Sven Van Caekenberghe
0 Sven Van Caekenberghe : > http://stackoverflow.com/questions/10164597/how-would-you-implement-tail-efficiently > http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/tail.c > > I would work with the growing buffer read backwards. > It would be great fun doing that in Pharo. &g

Re: [Pharo-users] Modulecounts (and Smalltalkhub)

2014-06-30 Thread Sven Van Caekenberghe
On 30 Jun 2014, at 20:22, Esteban A. Maringolo wrote: > http://modulecounts.com/ shows npm (node.js package manager) surpassed > Java MavenCentral count of modules, and it is the fastest growing > package manager. > > Though Pharo won't be up there anytime soon, the "1640 repositories" > report

Re: [Pharo-users] PillarHub

2014-07-02 Thread Sven Van Caekenberghe
Wow, amazing - great work ! On 02 Jul 2014, at 09:28, Yuriy Tymchuk wrote: > Hi everyone. > > I’m so excited that I cannot keep silent. Guys from Pharocloud have > implemented online editor (and storage) for Pillar documents. This is really > amazing, and you can check it out here: > http://

Re: [Pharo-users] ZnLineTooLong override alternative?

2014-07-03 Thread Sven Van Caekenberghe
Hi, The jQuery code is above my level of understanding I am afraid. I wonder where/how exactly you hit the line length limit. Because it is only applicable when reading the HTTP header, normally not the body. Sven On 02 Jul 2014, at 15:42, Sabine Knöfel wrote: > Hi Sven, all, > > I ran into

Re: [Pharo-users] ZnLineTooLong override alternative?

2014-07-03 Thread Sven Van Caekenberghe
On 03 Jul 2014, at 12:08, Sabine Knöfel wrote: > Hi Sven, > > the tag I want to read is in the header section. > > The jQuery code simply gets the text within the

[Pharo-users] [Article] Elegant Pharo Code

2014-07-07 Thread Sven Van Caekenberghe
back, remarks, comments, alternative solutions and other examples. The idea is to create yet another way to lure people into exploring Pharo while explaining by example why we like Pharo. Enjoy! Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org

Re: [Pharo-users] Close to 1000 followers on twitter... (>990 right now)

2014-07-08 Thread Sven Van Caekenberghe
Nice, impressive number, more than I expected. On 08 Jul 2014, at 08:59, Marcus Denker wrote: > … who will be the 1000th follower? > > Marcus

Re: [Pharo-users] [Article] Elegant Pharo Code

2014-07-09 Thread Sven Van Caekenberghe
ut certainly not in all of them, out of the box. I would really like to see the standard deviation one (17) done in other languages, for example. > Hope you could find them useful. Yes ;-) Sven > Hernán > > > > > 2014-07-07 19:21 GMT-03:00 Sven Van Caekenberghe : > Hi,

Re: [Pharo-users] [Blog] PBKDF2 for Pharo

2014-07-10 Thread Sven Van Caekenberghe
Udo, On 10 Jul 2014, at 10:44, Udo Schneider wrote: > > About this larger project was it developed in Pharo? > It /is/ still developed - and it's Pharo all the way down. I removed the last > non-Pharo component (stunnel) last week when I succeeded in combining the > existing LDAP bindings with

Re: [Pharo-users] get the names of the currently loaded mcz files

2014-07-10 Thread Sven Van Caekenberghe
Here is something I sometimes use: (MCWorkingCopy allManagers asSortedCollection: [ :a :b | a packageName <= b packageName ]) collect: #description. Have a look at WAVersionUploader or WASeasideVersionStatus. But I guess that there are possibilities with Ring as well. On 10 Jul 2014, at 15:18,

Re: [Pharo-users] Working with timezones

2014-07-10 Thread Sven Van Caekenberghe
On 10 Jul 2014, at 23:26, Esteban A. Maringolo wrote: > What is the best way to work across timezones? > > Today my app assumes a global, shared, timezone for data input, storage, etc. > I want to make this configurable, and for that purpose I > > For what I read and thought about, I understan

Re: [Pharo-users] Working with timezones

2014-07-11 Thread Sven Van Caekenberghe
Exactly ! On 11 Jul 2014, at 11:26, Stephan Eggermont wrote: > Esteban wrote: >> Anyhow this is too much to add to my app without giving it proper thinking. >> So let's KISS. > > If you only work with a single server/all servers in the same timezone that > translates to: > - Do everything in

Re: [Pharo-users] [Article] Elegant Pharo Code

2014-07-11 Thread Sven Van Caekenberghe
On 09 Jul 2014, at 17:04, Buddha Buck wrote: > > On Wed, Jul 9, 2014 at 10:13 AM, Sven Van Caekenberghe wrote: > > I don't know how this could be useful besides doing many things: "Split a > > string on dashes, reverse the order of the elements and join them using

Re: [Pharo-users] Recommended Pharo image updating and Metacello commit policy

2014-07-24 Thread Sven Van Caekenberghe
Hi Peter, I and I guess most people, keep their working image for days to weeks. After all, it is one of the main strengths to have a persistent environment containing all you customisations, all code you loaded, your workspaces, in essence, your world. That being said, you should keep all you

Re: [Pharo-users] Commandline

2014-07-24 Thread Sven Van Caekenberghe
Hi Norbert, On 24 Jul 2014, at 12:37, Norbert Hartl wrote: > What are you using to do jobs on the commandline. I'm sick of doing bash and > sed,perl,jq,... stuff. What would be the quickest start when using a normal > image? And what if I want to give coral a start. Does it work in 3.0? Best

Re: [Pharo-users] Commandline

2014-07-24 Thread Sven Van Caekenberghe
On 24 Jul 2014, at 16:34, p...@highoctane.be wrote: > One question I have is how fast the load of an image and processing by an > image is when compared with bash. Obviously, it is slower, there is a whole image that needs to be loaded, etc. $ cat test.st #!/Users/sven/tmp/pharo4/pharo-vm/Pha

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