Re: [Pharo-users] #subStrings: alternative preserving separators

2013-11-21 Thread Camillo Bruni
On 2013-11-21, at 08:18, Stéphane Ducasse stephane.duca...@inria.fr wrote: Propose allSubStrings: with a couple of tests and a nice comment. so that we improve the lib. if it forwards to split: this can be easily done (as pointed out by norbert): $| split: 'foo|bar||foobar|'

Re: [Pharo-users] How to discover which test fails (pharo 2.0)

2013-11-20 Thread Camillo Bruni
The TestRunner is usually a better choice in this case, no? WorldMenu / TestRunner On 2013-11-20, at 16:43, Davide Varvello varve...@yahoo.com wrote: Hi! I'm on Pharo 2.0. When I run a bunch of tests I usually select a lot of packages from Nautilus and click cmd-t to run them, but

Re: [Pharo-users] Current 3.0 download is broken

2013-11-10 Thread Camillo Bruni
It did not solve the issue yet :/, I will have to look into it next week. In any case, I think it would be unrelated to a bootstrap since FileLocator is already lazily initialized. There is just the typical problem on how and when to update a singleton... I should reopen the issue since the

Re: [Pharo-users] Current 3.0 download is broken

2013-11-09 Thread Camillo Bruni
seems to be resolved. Could you confirm? On 2013-11-08, at 20:53, Johan Fabry jfa...@dcc.uchile.cl wrote: Hi all, I wanted to toy around with 3.0 for a moment today, so I downloaded the last image from http://files.pharo.org/image/30/Pharo-Image-3.0-latest.zip It is unresponsive with

Re: [Pharo-users] Current 3.0 download is broken

2013-11-09 Thread Camillo Bruni
On 2013-11-09, at 14:29, Camillo Bruni camillobr...@gmail.com wrote: On 2013-11-09, at 14:17, Camillo Bruni camillobr...@gmail.com wrote: On 2013-11-09, at 14:00, Marcus Denker marcus.den...@inria.fr wrote: On 09 Nov 2013, at 13:55, Johan Fabry jfa...@dcc.uchile.cl wrote: Nope, I just unzip

[Pharo-users] Pharo VM + Travis Validation

2013-11-09 Thread Camillo Bruni
I finished the new setup for the Pharo VM github repository [1] - renamed codegen-scripts - scripts - separate setup scripts for linux (more to come later) - added scripts/build.sh which builds the VM automatically under linux - generating version info - dowloading fresh 2.0

Re: [Pharo-users] Pharo 3.0.0.dmg for Mac OSX - problem loading on OS 10.9

2013-11-08 Thread Camillo Bruni
On 2013-11-08, at 12:59, Camille Teruel camille.ter...@gmail.com wrote: On 8 nov. 2013, at 11:44, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Just downloaded last build. Works for me. (I’m on Mavericks of course) Not for me (on mavericks too)... Did you enable System Preferences /

Re: [Pharo-users] Repository of petit parser

2013-11-07 Thread Camillo Bruni
If we open an official one, given the importance of petitparser, it should be under PharoExtras. On 2013-11-07, at 10:10, Norbert Hartl norb...@hartl.name wrote: Looking at smalltalkhub there are plenty of PetitParser repos to find but none that looks official. So which is considered

Re: [Pharo-users] ImageMorph scaling

2013-11-04 Thread Camillo Bruni
Check what magic Ben applied for the Morph Inspector: `World inspect` then switch to morph view. On 2013-11-05, at 05:04, Sean P. DeNigris s...@clipperadams.com wrote: How would I get an ImageMorph to automatically resize inside a Spec UI? I put it in a PanelMorph with various layout

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-03 Thread Camillo Bruni
On 2013-11-03, at 15:52, Stephan Eggermont step...@stack.nl wrote: Kilon wrote I take a look at previous experiments like squeaksource and I find little justification to not support Github. But then I am not against Smalltalkhub or other repos being available to Pharo. The more the

Re: [Pharo-users] [Pharo-dev] moving moose to pharo 3.0

2013-11-03 Thread Camillo Bruni
On 2013-11-03, at 21:11, Tudor Girba tu...@tudorgirba.com wrote: Hi, We essentially finished moving Moose to Pharo 3.0 (we still have 6 yellow tests but they needed attention anyway). It took about 4 people looking into issues for a total probably around 2 man-days of effort. The largest

[Pharo-users] Automatic Issue Checker

2013-10-16 Thread Camillo Bruni
After a long debug session on monday I could finally overcome a tricky race condition for delays during image startup. This was the last obstacle to make the issue checker work under linux. The issue validator is now enabled again (the third time ;):

[Pharo-users] Spec Tree Shortcuts

2013-10-15 Thread Camillo Bruni
What is the current way to add shortcuts to the a TreeModel? I am a bit lost, since I thought I just do something like this: tree ^ tree ifNil: [ tree := self instantiate: TreeModel. tree whenBuiltDo: [ self initializeShortcuts ]]. initializeShortcuts

Re: [Pharo-users] Spec Tree Shortcuts

2013-10-15 Thread Camillo Bruni
, 2013, at 6:15 PM, Camillo Bruni camillobr...@gmail.com wrote: What is the current way to add shortcuts to the a TreeModel? I am a bit lost, since I thought I just do something like this: tree ^ tree ifNil: [ tree := self instantiate: TreeModel. tree

[Pharo-users] Spec Resize Announcement

2013-10-15 Thread Camillo Bruni
Is there an announcement I can register for resizing? signature.asc Description: Message signed with OpenPGP using GPGMail

[Pharo-users] kernelPackageNames

2013-10-15 Thread Camillo Bruni
What happened to SmalltalkImage#kernelPackageNames, it was removed / moved / renamed/, but there is a failing test now: https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-A-L/618/label=linux-stable-worker/testReport/Tests.Release/ReleaseTest/testKernelExtensions/ Where shall I

Re: [Pharo-users] Spec Resize Announcement

2013-10-15 Thread Camillo Bruni
For my morphic inspector, so I can re-render the morph when the inspector is resized :) On 2013-10-15, at 21:37, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Not I am aware of :) Why do you need that for ? Ben On Oct 15, 2013, at 8:27 PM, Camillo Bruni camillobr...@gmail.com

Re: [Pharo-users] Spec Resize Announcement

2013-10-15 Thread Camillo Bruni
ok, maybe easier ;) On 2013-10-15, at 21:44, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: We should have a look together, because it should happen by itself :) Ben On Oct 15, 2013, at 9:40 PM, Camillo Bruni camillobr...@gmail.com wrote: For my morphic inspector, so I can re

Re: [Pharo-users] Simple Spec Examples

2013-10-12 Thread Camillo Bruni
On 2013-10-12, at 15:37, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Actually, you can do (1-2 - 3) if you have multiple levels :) But clearly I will introduce a real data structure here. I just wanted to quickly hack it and have something where I can do #head and #tail easily,

Re: [Pharo-users] Simple Spec Examples

2013-10-11 Thread Camillo Bruni
Would it be possible to change the name of the selector? tree selectedItem: (1 - 11) for me that implies that the tree contains an actual item (1 - 11). What you want is maybe, #selectedPath: or #selectedItem:1 withParents:{11} My general rule is: Each time you have to use an association or a

Re: [Pharo-users] Morphic text filed plus autocompetion

2013-09-30 Thread Camillo Bruni
The thing you get in pharo when you press SHIFT+ENTER :) On 2013-09-30, at 10:29, p...@highoctane.be p...@highoctane.be wrote: Spotlight? On Monday, September 30, 2013, Norbert Hartl norb...@hartl.name wrote: I like to make myself a little command shell inside the image. For this I

Re: [Pharo-users] Morphic text filed plus autocompetion

2013-09-30 Thread Camillo Bruni
On 2013-09-30, at 10:53, Norbert Hartl norb...@hartl.name wrote: Am 30.09.2013 um 15:48 schrieb Camillo Bruni camillobr...@gmail.com: The thing you get in pharo when you press SHIFT+ENTER :) Thanks cami! Although it might sound embarrassing I was indeed googling for it to find a video

Re: [Pharo-users] Scoped Senders

2013-09-26 Thread Camillo Bruni
= create a refactoring scope (I don't know the menu entry, but the shortcut is: CMD-B CMD-R CMD-R (browse restricted regular expression) if you look for senders there you will only see the ones in your current scope. I am currently working on getting a nice scope/environment selector working

Re: [Pharo-users] How to load seaside currently?

2013-09-24 Thread Camillo Bruni
Strange the build is green: https://ci.inria.fr/pharo-contribution/job/Seaside/ What kind of error do you get? Does it happen the same way when you download on of the images from Jenkins? On 2013-09-24, at 19:03, Norbert Hartl norb...@hartl.name wrote: When loading seaside3 from the

[Pharo-users] Pharo Wiki cleanup

2013-09-23 Thread Camillo Bruni
In my attempt to make the contribution process for Pharo a bit simpler I cleaned up the fogbugz wikis which where left a bit unmaintained. There are now 5 important top-level categories: Welcome Page:https://pharo.fogbugz.com/default.asp?W41 Documentation:

Re: [Pharo-users] [Pharo-dev] Seaside Continuous Integration on ci.inria.fr

2013-09-16 Thread Camillo Bruni
Thanks a lot for the update :) On 2013-09-16, at 06:20, Philippe Marschall kus...@gmx.net wrote: Please try to keep the build green, otherwise we'll get spammed with emails. I like this ;) Currently we keep all the build (5GB already). Do we really need this? We live in 2013, 5GB is the data

Re: [Pharo-users] Benchmark

2013-09-14 Thread Camillo Bruni
Short Answer: - problemSize is used to calibrate your benchmark, so usually you adapt this value for your machine. And yes you are right, the result is not divided by the problemSize. Long Answer: The typical use case is like this: MathBench benchLoopSinus 1

Re: [Pharo-users] [Pharo-dev] What is the replacement for CMD-F to find a class in nautilus? [EOM]

2013-09-08 Thread Camillo Bruni
On 2013-09-08, at 15:49, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Sep 8, 2013, at 7:27 PM, Tobias Pape das.li...@gmx.de wrote: Am 08.09.2013 um 19:22 schrieb Camillo Bruni camillobr...@gmail.com: Hi, which pharo version are you using? I assume 3.0, Yes, but i had hands

[Pharo-users] Unstable CI Slaves

2013-09-08 Thread Camillo Bruni
2 linux slaves are down 1 windows slave is down = I sent reports to ci.inria.fr since I couldn't reach the slaves via ssh nor the cloud stack interface signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [Pharo-users] The Pharo Advantage: what is it for you?

2013-09-06 Thread Camillo Bruni
It seems like you missed some code, can you try the following? Gofer new smalltalkhubUser: 'PharoExtras' project: 'XMLParser'; configuration; loadStable. I am not sure if your code ever worked in Pharo 2.0. On 2013-09-06, at 17:16, S. Garth Holland

Re: [Pharo-users] [Pharo-dev] Pharo Sprint in Buenos Aires

2013-09-04 Thread Camillo Bruni
marianop...@gmail.com wrote: Cool. I'll be there, of course! Keep us informed. Cheers, On Mon, Sep 2, 2013 at 10:42 PM, Camillo Bruni camillobr...@gmail.comwrote: everything is open so far, guido had the idea of reserving a room at the UBA, we will have more details tomorrow

[Pharo-users] Pharo Sprint in Buenos Aires

2013-09-02 Thread Camillo Bruni
I spend a month in Buenos Aires working together with Guido Chari @ the UBA, we take this opportunity to organize a Pharo sprint outside France ;) We are in early preparation phase and the date nor location isn't fixed yet, so if you are motivated to join, can mark possible dates on this

Re: [Pharo-users] Benchmark

2013-08-30 Thread Camillo Bruni
That you just need to run it from the command line which is not related to the benchmark project. Currently it seems like the ci has some troubles, so I cannot get to the configuration either. On 2013-08-30, at 17:25, Natalia Moskovchuk natalia.moskovc...@unikernel.net wrote: Thanks. I

Re: [Pharo-users] How are you doing your jenkins build scripts?

2013-07-25 Thread Camillo Bruni
You use the built-in command line tools and no longer .st files. Pointers: = curl get.pharo.org | bash ./pharo Pharo.image --help ./pharo Pharo.image --list ./pharo Pharo.image test --help # everything should be pretty self explaining A typical script looks like this on jenkins:

Re: [Pharo-users] development image memory use: 180MB in Pharo 2 vs. 40MB in Pharo 1.4.....

2013-07-17 Thread Camillo Bruni
Did you check on Dictionaries / Sets (+ their Identity* versions) and Symbols as well? Another possibility would non terminated Processes (process browser)? The Arrays themselves already look suspicious. Usually the way to track such objects down is to find and interesting candidate and

[Pharo-users] 3.0 almost green

2013-07-16 Thread Camillo Bruni
very nice, 3.0 is almost green :) https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/lastCompletedBuild/testReport/ - some strange unknown processes only under mac and win - 3 Zinc failures under win - a chunkimport failure under win

Re: [Pharo-users] [DOC] Building and deploying your first web app with Pharo

2013-07-15 Thread Camillo Bruni
very nice! On 2013-07-15, at 13:12, Sven Van Caekenberghe s...@stfx.eu wrote: Hi, I wrote a new tutorial, Building and deploying your first web app with Pharo - Understanding HTTP fundamentals through Zinc HTTP Components. By chronologically following the development process, you will

Re: [Pharo-users] Problem with saving in repository

2013-07-15 Thread Camillo Bruni
Hi, To answer your question we need a bit more information :) Ehich Pharo version are you using? To which repository are you saving? thanks On 2013-07-15, at 14:49, Маркіян Різун mri...@gmail.com wrote: Hi guys, When I'm trying to save my code in repository it failes and gives me error. Am

Re: [Pharo-users] New win32 VM available (was: More than 500MB for windows)

2013-07-15 Thread Camillo Bruni
On 2013-07-15, at 15:35, Damien Cassou damien.cas...@gmail.com wrote: On Mon, Jul 15, 2013 at 3:27 PM, Tudor Girba tu...@tudorgirba.com wrote: Ok, I admit. I should read emails thoroughly :). Please ignore the second issue. Still, why is it called PharoS? may it be because this is a

Re: [Pharo-users] New win32 VM available (was: More than 500MB for windows)

2013-07-15 Thread Camillo Bruni
On 2013-07-15, at 17:00, Tudor Girba tu...@tudorgirba.com wrote: Aha :). Ok. I tested PharoS with 1GB and I got a 800MB image running well. Is there really no chance of getting Cog with this feature? :) should be the same setting for both Pharo and PharoS (note there is no more Cog,

Re: [Pharo-users] Phexample state keeping

2013-07-11 Thread Camillo Bruni
On 2013-07-11, at 11:50, Norbert Hartl norb...@hartl.name wrote: I'm playing with Phexampe because I think that in my current project the setup of test scenarios will be a huge part of the testing. So do it in a structured way reducing doubled initialization procedures should be something

Re: [Pharo-users] Regex question

2013-07-05 Thread Camillo Bruni
cr matchesRegex: '.' should return false in this case. But since at least Pharo1.3 (I don't try previous version), it returns true. Jannik On Jul 5, 2013, at 12:33 AM, Camillo Bruni camillobr...@gmail.com wrote: Yes this is ok, '.' matches only a single character. The alternatives

Re: [Pharo-users] Tudor Girba joins Pharo Board

2013-07-02 Thread Camillo Bruni
nice to hear! :) On 2013-07-02, at 16:12, Sven Van Caekenberghe s...@stfx.eu wrote: Hi, The Pharo Board is pleased to announce that Tudor Girba has recently joined the Pharo Board. Among others, he will try to contribute on long term issues like the positioning of Pharo. Stéphane,

[Pharo-users] unstable build

2013-06-29 Thread Camillo Bruni
I am not very happy with the current build it seems to be quite random when it comes to test results. I ran the tests multiple times and I get different outcomes each time. That said, I need somebody to pair program with me on the monkey since there is currently a non-deterministic bug present

Re: [Pharo-users] unstable build

2013-06-29 Thread Camillo Bruni
On 2013-06-29, at 20:14, Igor Stasenko siguc...@gmail.com wrote: On 29 June 2013 17:48, Camillo Bruni camillobr...@gmail.com wrote: I am not very happy with the current build it seems to be quite random when it comes to test results. I ran the tests multiple times and I get different

Re: [Pharo-users] How to do this in Pharo 2?

2013-06-29 Thread Camillo Bruni
look at String #format: On 2013-06-29, at 22:26, Donald dm...@instantiations.com wrote: Logs uses a package called Bindings-Core-tbn.1 that has this description: /Name: Bindings-Core-tbn.1// //Author: tbn// //Time: 11 July 2012, 9:46:06.521 am// //UUID:

Re: [Pharo-users] trait question

2013-06-29 Thread Camillo Bruni
On 2013-06-29, at 22:32, Igor Stasenko siguc...@gmail.com wrote: On 29 June 2013 21:21, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Jun 29, 2013, at 8:19 PM, Igor Stasenko siguc...@gmail.com wrote: On 29 June 2013 20:12, Camillo Bruni camillobr...@gmail.com wrote: Working

Re: [Pharo-users] trait question

2013-06-29 Thread Camillo Bruni
). But maybe for human comprehension it is better.. but not for implementing, because it certainly makes model more complex. On 29 June 2013 22:52, Camillo Bruni camillobr...@gmail.com wrote: On 2013-06-29, at 22:32, Igor Stasenko siguc...@gmail.com wrote: On 29 June 2013 21:21, Stéphane

Re: [Pharo-users] Remove a dependency (was Re: How to do this in Pharo 2?)

2013-06-29 Thread Camillo Bruni
On 2013-06-30, at 00:56, Camillo Bruni camillobr...@gmail.com wrote: On 2013-06-30, at 00:47, Donald dm...@instantiations.com wrote: On 6/29/2013 4:42 PM, Camillo Bruni wrote: look at String #format: ok, got that fixed. how do I remove the log4s dependency on Bindings-Core-tbn.1

Re: [Pharo-users] implementing #release in a domain object

2013-06-28 Thread Camillo Bruni
On 2013-06-28, at 13:59, Milan Mimica milan.mim...@gmail.com wrote: On 27 June 2013 21:07, Igor Stasenko siguc...@gmail.com wrote: yes, but in opposite direction. consider yourself a painter which start painting nodes , starting from root ones, then paint ones which they pointing to,

Re: [Pharo-users] implementing #release in a domain object

2013-06-27 Thread Camillo Bruni
On 2013-06-27, at 01:08, Paul DeBruicker pdebr...@gmail.com wrote: Sven Camillo, Ok thanks. And using the PointerFinder is there a way to know which of the pointers points to the SystemDictionary or Object someObject or whereever the GC begins so one would not have to check every pointer

Re: [Pharo-users] implementing #release in a domain object

2013-06-26 Thread Camillo Bruni
? On 06/26/2013 03:05 PM, Camillo Bruni wrote: There is no such thing as #release in Pharo. If you want your objects to be garbage collected just make sure to remove all references to it. You simply assign nil to instance variables which previously held such and object. Does that answer your

Re: [Pharo-users] smalltalkhub project as a repository

2013-06-25 Thread Camillo Bruni
On 2013-06-25, at 06:51, Bahman Movaqar bah...@bahmanm.com wrote: On Mon, 2013-06-24 at 22:15 +0200, Camillo Bruni wrote: On 2013-06-24, at 21:49, Bahman Movaqar bah...@bahmanm.com wrote: I just noticed it: when adding a new repository, there's an option for projects on 'smalltalkhub.com

Re: [Pharo-users] where is appendStream?

2013-06-25 Thread Camillo Bruni
you can use fileReference writeStream setToEnd instead of just writeStream, that should be the same behavior as appendStream... On 2013-06-24, at 14:20, Hayatou Oumarou hayat...@yahoo.fr wrote: Hello, I use in Pharo 2.0 the class FileSystem to write in a text file(csv

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-16 Thread Camillo Bruni
On 2013-06-15, at 18:09, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Jun 15, 2013, at 3:54 PM, Camillo Bruni camillobr...@gmail.com wrote: On 2013-06-15, at 13:16, Stéphane Ducasse stephane.duca...@inria.fr wrote: actually https://ci.inria.fr/pharo/view/VM/job/PharoVM-tests

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-15 Thread Camillo Bruni
yes I discovered the same behavior yesterday with esteban. thanks very much for the details! On 2013-06-14, at 23:53, Sven Van Caekenberghe s...@stfx.eu wrote: On 07 Jun 2013, at 17:15, Camillo Bruni camillobr...@gmail.com wrote: Can you try on the command line only? This is getting

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-15 Thread Camillo Bruni
On 2013-06-15, at 13:16, Stéphane Ducasse stephane.duca...@inria.fr wrote: actually https://ci.inria.fr/pharo/view/VM/job/PharoVM-tests/ succesfully detected the degeneration and thus failed. And yes, we will add real benchmarks at some point. But for that we first need dedicated

Re: [Pharo-users] SVN client and latex parser, are any there?

2013-06-12 Thread Camillo Bruni
I use git over svn, so I sleep properly at night at least :P what's the real problem you're dealing with? On 2013-06-12, at 09:38, Guillermo Polito guillermopol...@gmail.com wrote: Buon giorno! I got pissed off when committing latex and figures and stuff into svn by command line... So,

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-10 Thread Camillo Bruni
thanks for the insight. I opened an issue: https://pharo.fogbugz.com/default.asp?10879 can you try get.pharo.org/30+vmLatest to try out the unstable VM? On 2013-06-09, at 19:04, Sven Van Caekenberghe s...@stfx.eu wrote: I think that we do have a problem, and I think it is VM related. This

[Pharo-users] account search

2013-06-07 Thread Camillo Bruni
who is rem...@me.com on fogbugz?

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-07 Thread Camillo Bruni
Can you try on the command line only? curl get.pharo.org/30+vm | bash ./pharo Pharo.image eval [SystemNavigation new allCallsOn: #ifTrue: ] timeToRun On 2013-06-07, at 17:12, Marcus Denker marcus.den...@inria.fr wrote: On Jun 7, 2013, at 5:04 PM, Paul DeBruicker pdebr...@gmail.com wrote:

Re: [Pharo-users] DateAndTimeasTime

2013-06-06 Thread Camillo Bruni
can you save an image with the inspector opened on both x and y, x asTime and y asTime and provide a link to it? like that I can inspect it in all detail... On 2013-06-06, at 17:51, dmacq dm...@instantiations.com wrote: I tried it again this morning and still had the problem. This is

Re: [Pharo-users] DateAndTimeasTime

2013-06-05 Thread Camillo Bruni
On 2013-06-06, at 00:41, dmacq dm...@instantiations.com wrote: In Pharo V2, if I execute this snippet: | x | x := DateAndTime year: 1991 day: 196 hour: 20 minute: 5 second: 7. x asTime inspect I get '12:0-54:0-53 am' which is not what I expect. - where did you get this string from?

Re: [Pharo-users] DateAndTimeasTime

2013-06-05 Thread Camillo Bruni
it keeps on being strange ;), another try, what is your time zone? TimeZone local inspect TimeZone local offset inspect On 2013-06-06, at 01:14, dmacq dm...@instantiations.com wrote: SystemVersion current --- Pharo2.0 of 7 March 2013 update 20596 The string is from the inspector window.