Re: [Pharo-project] SqueakSource down... again

2011-02-21 Thread Camillo Bruni
how about a file based system and git? On 2011-02-21, at 16:48, Fabrizio Perin wrote: Well more or less every 10 days i need to restart it. This discussion happen already in different threads but again the problems are: 1- The machine hosting squeaksource is an old mac. Maybe on a new machine

Re: [Pharo-project] SqueakSource down... again

2011-02-21 Thread Camillo Bruni
here), we won't have any new problems. And then same, lack of people who can address them. On 21 February 2011 17:39, Adrian Lienhard a...@netstyle.ch wrote: On Feb 21, 2011, at 17:22 , Camillo Bruni wrote: how about a file based system and git? yea, just discussed this very idea

Re: [Pharo-project] SqueakSource down... again

2011-02-21 Thread Camillo Bruni
can address them. On 21 February 2011 17:39, Adrian Lienhard a...@netstyle.ch wrote: On Feb 21, 2011, at 17:22 , Camillo Bruni wrote: how about a file based system and git? yea, just discussed this very idea an hour ago... The simplest thing that could work: - Write out changes

[Pharo-project] Pharo Sources Google Hit Ratio

2011-02-21 Thread Camillo Bruni
I just figured you cannot use google to program in pharo!! At least my common approach is to use google to search for some code snippets in order to fill my overloaded brain. How about setting up a website, Browse Pharo, which has a simple UI for browsing the majority of the Pharo sources.

Re: [Pharo-project] Pharo Sources Google Hit Ratio

2011-02-22 Thread Camillo Bruni
On 2011-02-22, at 09:21, Geert Claes wrote: Camillo Bruni wrote: I just figured you cannot use google to program in pharo!! At least my common approach is to use google to search for some code snippets in order to fill my overloaded brain. How about setting up a website, Browse

Re: [Pharo-project] Pharo Sources Google Hit Ratio

2011-02-22 Thread Camillo Bruni
On 2011-02-22, at 10:45, laurent laffont wrote: On Tue, Feb 22, 2011 at 10:27 AM, Camillo Bruni camillo.br...@inria.frwrote: On 2011-02-22, at 09:21, Geert Claes wrote: Camillo Bruni wrote: I just figured you cannot use google to program in pharo!! At least my common approach

[Pharo-project] Context Sensitive Browsing

2011-02-22 Thread Camillo Bruni
I just implemented some hacky solution to have more intelligent CMD-b browsing. For instance in the following example: Exception handles: having the cursor somewhere on the handles: selector and pressing CMD-b should directly jump to the implementation of handles: on the Exception

Re: [Pharo-project] Fwd: [ANN] pharo focused sprint - bern, feb 26

2011-02-22 Thread Camillo Bruni
I'll be there. From what I have done this week so far, I would like to work on extending the IDE and reduce the amount of clicks / keystrokes to browse things... m(o_o)m camillo On 2011-02-21, at 19:42, Tudor Girba wrote: Hi, I would like to remind you that this Saturday, February 26, we

Re: [Pharo-project] Pharo Sources Google Hit Ratio

2011-02-24 Thread Camillo Bruni
we are close... - full smalltalk sources formatter for seaside - http://rubydoc.info/docs/yard/0.6.4/frames like interface todo: - fix some formatting issues for the st sources - get the urls fully working - adapt the javascript queries so I guess tomorrow

Re: [Pharo-project] SqueakSource3 (was: Re: Pharo Sources Google Hit Ratio)

2011-02-25 Thread Camillo Bruni
On 2011-02-25, at 10:19, laurent laffont wrote: On Fri, Feb 25, 2011 at 10:14 AM, Tobias Pape das.li...@gmx.de wrote: Am 2011-02-22 um 23:59 schrieb Stéphane Ducasse: what is squeaksource3? when did it start? Stef I do not know the exact circumstances of squeaksource's amazing low

Re: [Pharo-project] [ANN] More on Keymappings

2011-02-26 Thread Camillo Bruni
Hi, I am currently writing a more complete set of commands for the editors. I ll post soon. m(^_-)m camillo On 2011-02-26, at 14:12, Francisco Ortiz Peñaloza wrote: Guille i was using 1.4 and worked excellent, just tried 1.5 and on every stroke i made i've got a DNU on #realtarget

Re: [Pharo-project] [ANN] More on Keymappings

2011-02-26 Thread Camillo Bruni
on vacation, but my girlfriend will kill me :). I'd love to know what you're working on so we don't do innecesary work! Guille On Sat, Feb 26, 2011 at 12:55 PM, Camillo Bruni camillo.br...@inria.frwrote: Hi, I am currently writing a more complete set of commands for the editors. I

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-03 Thread Camillo Bruni
Right, the stable has a preconditio which limits it to pharo 1.2. Furthermore the initialization code seems to be incompatible as it uses to:do: on Character which is AFAIK not implemented in the core image Pharo 1.3. Hence apply the following changes: KMKeyEvent class

[Pharo-project] Fixed Width Font for COG

2011-03-11 Thread Camillo Bruni
Hey, I recently ran into the issue that I cannot use a fixed width/monospace font when working under COG. How can I include a custom font in the image? m(^_-)m camillo

Re: [Pharo-project] [Vm-dev] VM Benchmarks (Was: Re: [squeak-dev] [4.2] - VM - image release coordination)

2011-03-11 Thread Camillo Bruni
I am maybe an ignorant here writing like that. I like to see a nice set of benchmarks popping up in Pharo. But did you have a look at my benchmark implementation we use in Pinocchio? Its in the PBenchmark package of the Pinocchio project: MCHttpRepository location:

Re: [Pharo-project] [Vm-dev] VM Benchmarks (Was: Re: [squeak-dev] [4.2] - VM - image release coordination)

2011-03-11 Thread Camillo Bruni
On 2011-03-11, at 15:35, Mariano Martinez Peck wrote: On Fri, Mar 11, 2011 at 3:23 PM, Camillo Bruni camillo.br...@inria.frwrote: I am maybe an ignorant here writing like that. I like to see a nice set of benchmarks popping up in Pharo. But did you have a look at my benchmark

Re: [Pharo-project] Fixed Width Font for COG

2011-03-12 Thread Camillo Bruni
Does anyone know what the proceedure is to include a new font directly in the image without plugin support? eg Issue 3809 using DejaVu Mono in the image camillo On 2011-03-11, at 15:21, Stéphane Ducasse wrote: may be the freetype plugin is missing. On Mar 11, 2011, at 2:57 PM, Camillo

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-13 Thread Camillo Bruni
I started on the last Lille sprint a complete rewrite of the Keymapping package. As of now it is not yet functional but the growing test-coverage should help to solve this issue. m(^_-)m camillo On 2011-03-03, at 15:16, Camillo Bruni wrote: Right, the stable has a preconditio which limits

Re: [Pharo-project] Fixed Width Font for COG

2011-03-13 Thread Camillo Bruni
: On 12 March 2011 15:12, Camillo Bruni camillo.br...@inria.fr wrote: Does anyone know what the proceedure is to include a new font directly in the image without plugin support? eg Issue 3809 using DejaVu Mono in the image i don't think that possible because to rasterize fonts you need

Re: [Pharo-project] Do you want to add the background picture to the image like we did with Pharo 1.1 ?

2011-03-13 Thread Camillo Bruni
+1 as usual, this is doesn't have to be an either / or question. provide a decent setting to enable/disable all backgrounds. camillo On 2011-03-13, at 19:29, Adrian Lienhard wrote: On Mar 13, 2011, at 18:40 , Tudor Girba wrote: I vote against using a picture as a background. +1

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-13 Thread Camillo Bruni
we don't step into the other work? Guille On Sun, Mar 13, 2011 at 6:04 PM, Camillo Bruni camillo.br...@inria.frwrote: I started on the last Lille sprint a complete rewrite of the Keymapping package. As of now it is not yet functional but the growing test-coverage should help to solve

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-13 Thread Camillo Bruni
furthermore, lets use a single repos/package (or whatever this is called in MC). I do not like to commit 3 times while refactoring. later on we can still split it up so people can actually decide on what to load. camillo On 2011-03-13, at 22:20, Camillo Bruni wrote: I can push my changes

Re: [Pharo-project] Fixed Width Font for COG

2011-03-13 Thread Camillo Bruni
, skrev Igor Stasenko: On 12 March 2011 15:12, Camillo Bruni camillo.br...@inria.fr wrote: Does anyone know what the proceedure is to include a new font directly in the image without plugin support? eg Issue 3809 using DejaVu Mono in the image i don't think that possible because to rasterize

Re: [Pharo-project] PBenchmark as a general framework for benchmarking in Smalltalk (commit access)

2011-03-13 Thread Camillo Bruni
Lets factor it out as a separate project. I would go for SBench :). camillo On 2011-03-13, at 23:30, Stefan Marr wrote: Hi: For the others, I am currently adapting the benchmarking infrastructure used for Pinocchio to be a bit more general, and enable me to integrate our RoarVM

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-14 Thread Camillo Bruni
, and saving them individually (for now) it's a small price to pay. Cheers, Doru On 13 Mar 2011, at 22:28, Camillo Bruni wrote: furthermore, lets use a single repos/package (or whatever this is called in MC). I do not like to commit 3 times while refactoring. later on we can still

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-14 Thread Camillo Bruni
, but the internals will be much cleaner and more explicit Cheers, Doru On 14 Mar 2011, at 15:15, Camillo Bruni wrote: I pushed everying into a single Keymapping package for now. As soon as there is full functionality we should separate it again. camillo On 2011-03-13, at 22:40

Re: [Pharo-project] Keymapping development issues

2011-03-18 Thread Camillo Bruni
contains a lot of refactorings already. It's preety better. I removed the string matching between shortcuts, and the ugly selectors to look at the match of a mapping. I'd like it to reviewed... Cheers, Doru Cheers, Guille On 14 Mar 2011, at 15:20, Camillo Bruni wrote

Re: [Pharo-project] [ANN] More on Keymappings

2011-03-20 Thread Camillo Bruni
The keymapping framework is already close to be completely rewritten. Most tests work (except for 3). Half of the methods are gone and the event matching works directly on Event level, no more evil string matching. I'll ping as soon as the rest of the tests work properly. camillo On

[Pharo-project] custom code on squeaksource

2011-03-24 Thread Camillo Bruni
We are currently working on first-class slots and layouts in pharo. This required some changes in how the class definitions are printed: = Object subclass: #Layout layout: ObjectLayout slots: { #host = Slot.

Re: [Pharo-project] What is the future of GUI in Pharo?

2011-03-24 Thread Camillo Bruni
On 2011-03-24, at 15:00, Janko Mivšek wrote: Let me think a bit towards very far vision, don't be angry on me .. :) Here it is: - a common UI for both Pharo and the web, by extending Morphic ideas to the web while things like CSS back to Morphic. that would be called Glamour and works

Re: [Pharo-project] custom code on squeaksource

2011-03-24 Thread Camillo Bruni
well the bitfield stuff would already work, thats fairly easy to implement. The only issue right now is that we rely on helvetia for the source code transformation. And I urge not to introduce custom syntax for slot creation, that doesn't make sense. Right now the class definition has always

Re: [Pharo-project] Remove #class as a Compiler optimization

2011-03-25 Thread Camillo Bruni
I am against non-transparent optimizations as well. However, I think special selectors like ifTrue: / class and so forth should still be used in the VM since its cheap way getting some performance improvements. But to make them work in a decent OO way they should also be able to deal with a

Re: [Pharo-project] Remove #class as a Compiler optimization

2011-03-25 Thread Camillo Bruni
On 2011-03-25, at 18:12, Marcus Denker wrote: On Mar 25, 2011, at 5:51 PM, Marcus Denker wrote: On Mar 25, 2011, at 5:46 PM, Camillo Bruni wrote: Arguing with absolute values is a bit dangerous: But it makes 13ms / 17ms * 100% = 76% = 25% speed improvement! in COG 50ms / 60ms

Re: [Pharo-project] Remove #class as a Compiler optimization

2011-03-28 Thread Camillo Bruni
I don't care. I have it working for my usage. This was just an example. And don't compare #class with all the boolean methods like #ifNil: and friends or the bytecodes for integer operationsI think #class is sent far less times than those... Yes. and i predict that performance

Re: [Pharo-project] who is using softSqueak and standard Squeak

2011-03-28 Thread Camillo Bruni
Anyone who is going to touch my beloved standard squeak will be killed!!! Just kidding, but I still use it. However, IMO don't invest time in rewriting the UI for the 10th time! There is plenty of other things which are more important to get the language up to date. (^o^) camillo On

[Pharo-project] MC dependency issue

2011-04-01 Thread Camillo Bruni
Hhere is my problem. v169 has (v165 and v168) as ancestors. BUT v165 does no longer exist, locally nor on the squeaksource server. Is there way to manually fix this? Due to this I am currently unable to load any future versions... ~(x_x)~ camillo

Re: [Pharo-project] MC dependency issue

2011-04-01 Thread Camillo Bruni
On 2011-04-01, at 16:13, Marcus Denker wrote: On Apr 1, 2011, at 1:30 PM, Camillo Bruni wrote: Hhere is my problem. v169 has (v165 and v168) as ancestors. BUT v165 does no longer exist, locally nor on the squeaksource server. Is there way to manually fix this? Due to this I am

Re: [Pharo-project] MC dependency issue

2011-04-01 Thread Camillo Bruni
On 2011-04-01, at 16:31, Marcus Denker wrote: On Apr 1, 2011, at 4:27 PM, Camillo Bruni wrote: On 2011-04-01, at 16:13, Marcus Denker wrote: On Apr 1, 2011, at 1:30 PM, Camillo Bruni wrote: Hhere is my problem. v169 has (v165 and v168) as ancestors. BUT v165 does no longer exist

Re: [Pharo-project] Remove #class as a Compiler optimization

2011-04-05 Thread Camillo Bruni
This is exactly why you have to provide some confidence interval / deviation, otherwise it is hard to make any reasonable conclusion. run it 100 times and take the average and provide the standard deviation. I am not a big fan of relying on incomplete benchmarking results: Please read:

Re: [Pharo-project] Remove #class as a Compiler optimization

2011-04-05 Thread Camillo Bruni
for systematic errors, like warm up and stuff, but nevertheless you should provide the raw results... read the paper... Nicolas 2011/4/5 Camillo Bruni camillo.br...@inria.fr: This is exactly why you have to provide some confidence interval / deviation, otherwise it is hard to make any

Re: [Pharo-project] Remove #class as a Compiler optimization

2011-04-05 Thread Camillo Bruni
, depending on your sleep rhythm). or you reduce the number of runs to something at least bigger than 1 :D. On 5 April 2011 14:53, Camillo Bruni camillo.br...@inria.fr wrote: This is exactly why you have to provide some confidence interval / deviation, otherwise it is hard to make any reasonable

Re: [Pharo-project] Brussels Sprint: gathering number of attendes

2011-04-11 Thread Camillo Bruni
I'll come as well ;) On 2011-04-11, at 17:39, Stefan Marr wrote: On 11 Apr 2011, at 17:33, Veronica Isabel Uquillas Gomez wrote: On 11 Apr 2011, at 11:23, Johan Brichau wrote: - Steph - Marcus - Sven - Mariano - Craig Latta - Thomas Holzer - Andy - Johan - Veronica - Stefan -

Re: [Pharo-project] keymapping

2011-04-12 Thread Camillo Bruni
Hi Doru, The last version I worked on together with guille is in KeyMapping. Furthermore I think the Configurations were not adapted, so you will have to load the packages manually: - Core - Settings - Shortcuts - Test cheers, Camillo On 2011-04-12, at 12:24, Tudor Girba wrote: Hi, I

Re: [Pharo-project] keymapping

2011-04-12 Thread Camillo Bruni
AM, Camillo Bruni camillo.br...@inria.fr wrote: Hi Doru, The last version I worked on together with guille is in KeyMapping. Furthermore I think the Configurations were not adapted, so you will have to load the packages manually: - Core - Settings - Shortcuts - Test

Re: [Pharo-project] Improving Pharo's Exception Hierarchy

2011-04-13 Thread Camillo Bruni
Hey, What I've seen so far and I like is to use small helper methods to signal exceptions: usage Dictionary at: aKey ... self keyNotFound: aKey. helper method to fill the exceptions params Dictionary keyNotFound: aKey KeyNotFoundException signalWithKey: aKey helper

Re: [Pharo-project] Improving Pharo's Exception Hierarchy

2011-04-13 Thread Camillo Bruni
On 2011-04-13, at 18:55, Miguel Cobá wrote: El mié, 13-04-2011 a las 14:52 +0200, Camillo Bruni escribió: And as Mariano pointed out, there should be a convention on the naming: I am still not sure about suffixing the exception classes with Exception, but I guess this is a good thing to do

Re: [Pharo-project] Improving Pharo's Exception Hierarchy

2011-04-13 Thread Camillo Bruni
idea is to make single exceptions recognizable and not just use one single, basically meaningless, exception type. best regards, Camillo Bruni On 2011-04-13, at 21:22, Sven Van Caekenberghe wrote: Thanks a lot everybody for the reactions, this could become a nice discussion next Friday. All

Re: [Pharo-project] Improving Pharo's Exception Hierarchy

2011-04-14 Thread Camillo Bruni
On 2011-04-14, at 14:19, Hernan Wilkinson wrote: On Thu, Apr 14, 2011 at 9:08 AM, Toon Verwaest toon.verwa...@gmail.com wrote: Right, so you confirm the experience of Dale. In the case of flagging errors without classes, do you generally just use a simple symbol, or concatenate

Re: [Pharo-project] Smalltalk, git, files, the universe and everything...okay not everything:)

2011-04-20 Thread Camillo Bruni
Objection! ;) Using git has nothing to do with a file based system. The approach would be to use git as a storage backend for monticello. Git just stores 3 types of objects: commit, tree, blob. There are no files involved!! So this would be perfectly compatible with and image based system

[Pharo-project] curl / http request

2011-04-23 Thread Camillo Bruni
I am too dumb and there is too little documentation which is hard to find :). So can anyone tell me how I do the following bash thingy in pharo? curl $URL --data-binary $SOME_FILE -H 'Content-type:application/json' I don't manage to get this working properly. I guess HTTPSocket is the class to

Re: [Pharo-project] curl / http request

2011-04-24 Thread Camillo Bruni
Hi Sven, Thanks a lot. Zinc is my friend ;). Nice and understandable. bon weekend, camillo On 2011-04-23, at 21:27, Sven Van Caekenberghe wrote: Hey Camillo, On 23 Apr 2011, at 20:05, Camillo Bruni wrote: I am too dumb and there is too little documentation which is hard to find :). So

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Camillo Bruni
I think a nice way to have a decent debugger is to run the program on top of a changeable interpreter. Since a classical debugger is nothing else but an interpreter with slightly changed semantics. The object flow VM does a great job at tracing back stuff.. however it might pose a massive

Re: [Pharo-project] Online Pharo Documentation

2011-04-26 Thread Camillo Bruni
nice job! Maybe we could set up a running instance somewhere and link it from the Pharo website? Bernat. 2011/4/22 laurent laffont laurent.laff...@gmail.com That's really nice Camillo. Thank you. I hope to see it online soon ;) Laurent. On Fri, Apr 22, 2011 at 9:52 PM, Camillo Bruni

Re: [Pharo-project] Why we have Behavior flushCache?

2011-04-26 Thread Camillo Bruni
How about putting such methods on an Interpreter class? On 2011-04-26, at 14:35, Alexandre Bergel wrote: Not using the receiver is indeed misleading. I thought it simply flushes the cache for a particular class Alexandre On 26 Apr 2011, at 06:34, Mariano Martinez Peck wrote: Hi.

[Pharo-project] GitFs / MCGit

2011-04-27 Thread Camillo Bruni
Hi Max, I took another effort to work on the git bindings of MC. However I ran into troubles with FSGitFilesystem on commiting. 1. I fail when saving the repos in GitCommit parents when it starts to lazily load the object which does not exist yet... 2. GitRespository

Re: [Pharo-project] GitFs / MCGit

2011-04-27 Thread Camillo Bruni
: Hi, I am not sure I understand the implication. Could you explain, please? :) Cheers, Doru On 27 Apr 2011, at 21:37, Camillo Bruni wrote: Thanks for your help :) So Lukas Git Repository for Monticello works again. ByeBye sqeaksource for me... ;) On 2011-04-27, at 19:14, Max

Re: [Pharo-project] GitFs / MCGit

2011-04-27 Thread Camillo Bruni
On 2011-04-27, at 22:37, Stefan Marr wrote: Hi Camillo: On 27 Apr 2011, at 22:09, Camillo Bruni wrote: Lukas once implemented a small MC Repository type that simple stores the source.st in a git repository. Due to changes in the recent pharo versions some of the git code didn't work

Re: [Pharo-project] digitAt: issue

2011-05-02 Thread Camillo Bruni
DigitAt: is a horrible name then, should rather be bitAt:. the digitAt: implementation you're looking for: ^ self // (10 raisedTo: index - 1) \\ 10 thats quite short :) On 2011-05-02, at 11:35, Bernat Romagosa wrote: Ouch, understood! Then what would be the proper way to address a

[Pharo-project] SVN vs Git for the cogvm

2011-05-02 Thread Camillo Bruni
Hi eliot, I wanted to know if there is a particular reason that you use svn over git? Since it is quite a hassle each time to merge the svn history to the git repos, which I think is a bit of useless repetitive work which could be avoided. I think it would be nice if you could switch to git as

[Pharo-project] MCGit

2011-05-02 Thread Camillo Bruni
On 2011-05-02, at 17:41, Stefan Marr wrote: PS: Camillo, what happened to the MCGit, it just works? well, sort of. I am still in the writing phase :D. I seem to trigger some library bug on deleting unused items form the repository. So you'll end up with tons of dangling trees and blobs, which

Re: [Pharo-project] SVN vs Git for the cogvm

2011-05-02 Thread Camillo Bruni
On 2011-05-02, at 17:59, Eliot Miranda wrote: Hi Camillo, On May 2, 2011, at 8:22 AM, Camillo Bruni camillo.br...@inria.fr wrote: Hi eliot, I wanted to know if there is a particular reason that you use svn over git? History. Since it is quite a hassle each time to merge the svn

Re: [Pharo-project] SVN vs Git for the cogvm

2011-05-02 Thread Camillo Bruni
On 2011-05-02, at 17:59, Eliot Miranda wrote: Hi Camillo, On May 2, 2011, at 8:22 AM, Camillo Bruni camillo.br...@inria.fr wrote: Hi eliot, I wanted to know if there is a particular reason that you use svn over git? History. Since it is quite a hassle each time to merge the svn

Re: [Pharo-project] Just starting out

2011-05-05 Thread Camillo Bruni
Reminds of the story of PGP where they could not export the algorithm directly, due to said restrictions. But what they did instead is printing a huge book and exporting the sources this way :D. http://www.pgpi.org/pgpi/project/scanning/ camillo On 2011-05-05, at 09:11, Douglas Brebner

Re: [Pharo-project] Popularity of Smalltalk in Software Industry

2011-05-05 Thread Camillo Bruni
On 2011-05-05, at 17:39, Cédrick Béler wrote: Le 5 mai 2011 à 17:32, Toon Verwaest a écrit : On 05/05/2011 05:26 PM, Cédrick Béler wrote: Lastly, most Smalltalk systems are image based... ...which makes you feel the system is alive, hence one **huge benefit** of Smalltalk: its

Re: [Pharo-project] problem with Dictionary and KeyNowFound

2011-05-19 Thread Camillo Bruni
IMO this shouldn't change a thing, since KeyNotFound inherits from Error... having a look at it On 2011-05-19, at 23:45, Mariano Martinez Peck wrote: So...it seems Pharo1.3 change Dictionary to throw KeyNotFound instead of Error. Now, my image freezes with a loop. I would appreciate some

Re: [Pharo-project] problem with Dictionary and KeyNowFound

2011-05-19 Thread Camillo Bruni
On 2011-05-20, at 00:03, Mariano Martinez Peck wrote: On Thu, May 19, 2011 at 11:55 PM, Camillo Bruni camillo.br...@inria.frwrote: IMO this shouldn't change a thing, since KeyNotFound inherits from Error... having a look at it yes i know :( but in pharo 1.2 it works. That's why I

Re: [Pharo-project] #assert:equals: feels backwards

2011-06-21 Thread Camillo Bruni
Why don't you use the Phexample tools, for me this feels much more natural and the error output is much more readable.. self assert: 1 = 2. becomes 1 should = 2. http://www.iam.unibe.ch/~akuhn/blog/2009/shoulda-use-this-in-pharo/

Re: [Pharo-project] [Lsehub-staff] what about a sprint at lille July 8

2011-06-22 Thread Camillo Bruni
I am certainly in :). On 2011-06-22, at 09:59, Stéphane Ducasse wrote: Hi guys I would like to get some energy around code :) and I propose a sprint july 8th at Lille... What do you think? Stef

Re: [Pharo-project] #assert:equals: feels backwards

2011-06-22 Thread Camillo Bruni
On 2011-06-22, at 08:38, laurent laffont wrote: On Wed, Jun 22, 2011 at 7:58 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Jun 22, 2011, at 7:44 AM, laurent laffont wrote: Camillo and Dennis, Thanks for answer and yes, I think you're right about using PhExample/Mocketry

Re: [Pharo-project] [TODO 1.3] Last items to be done this week...

2011-07-04 Thread Camillo Bruni
On 2011-07-04, at 21:34, Marcus Denker wrote: On Jul 4, 2011, at 9:25 PM, Marcus Denker wrote: On Jul 4, 2011, at 9:24 PM, Lukas Renggli wrote: The tests also hang with the Inria build of Cog. I just did run all the tests and it did not hang... Very strange. (Of course there

[Pharo-project] webdoc

2011-07-08 Thread Camillo Bruni
hi all, damien and me finally found enough time at the pharo sprint to put a working version of webdoc online: http://rmod.lille.inria.fr/webdoc/ Please test and give some feedback :) (the major issue right now is speed, but since we plan on using it only as an html generator which later-on

Re: [Pharo-project] webdoc

2011-07-10 Thread Camillo Bruni
On 2011-07-09, at 15:37, Sven Van Caekenberghe wrote: On 08 Jul 2011, at 21:29, Camillo Bruni wrote: damien and me finally found enough time at the pharo sprint to put a working version of webdoc online: http://rmod.lille.inria.fr/webdoc/ Yes this is very cool! Is it easy to install

Re: [Pharo-project] webdoc

2011-07-10 Thread Camillo Bruni
excuse ;) I simply took over existing code, will investigate that, since its rather bizarr Cheers, Doru On 9 Jul 2011, at 13:30, Noury Bouraqadi wrote: very cool On 8 juil. 2011, at 21:29, Camillo Bruni wrote: hi all, damien and me finally found enough time at the pharo sprint to put

Re: [Pharo-project] webdoc

2011-07-11 Thread Camillo Bruni
Ah sorry its called PetitMarkdown MCHttpRepository location: 'http://www.squeaksource.com/PetitMarkdown' user: '' password: '' camillo On 2011-07-11, at 08:17, Francois Stephany wrote: - PPMarkdownParser Where can we find it ? Is it stable/usable ? A search on Squeaksource

[Pharo-project] how to get new inspector running in 1.4

2011-07-13 Thread Camillo Bruni
is there an easy way to get newinspector running in a 1.4 image? thanks cami

[Pharo-project] Fancier Debugger

2011-07-17 Thread Camillo Bruni
Hi everyone, last friday I spent some 20mins on improving the debugging experience (at least for me) by doing to following: - removed many core message sends from the context stack in the debugger - automatically expand the context stack if the last stackframe is selected For the first task I

[Pharo-project] Exception return:?

2011-07-19 Thread Camillo Bruni
Can anyone explain me why it would make sense to use #return: in the following method? TestCase executeShould: aBlock inScopeOf: anExceptionalEvent ^[aBlock value. false] on: anExceptionalEvent do: [:ex | ex return: true] I would

Re: [Pharo-project] Exception return:?

2011-07-19 Thread Camillo Bruni
thanks ;) On 2011-07-19, at 17:23, Lukas Renggli wrote: Some Smalltalks required it (i.e. VA), that's probably also the reason why SUnit uses it. Likely has to do with how they implement exception handlers. Lukas On Tuesday, 19 July 2011, Camillo Bruni camillo.br...@inria.fr wrote

Re: [Pharo-project] UUIDs not so unique

2011-07-20 Thread Camillo Bruni
On 2011-07-20, at 08:36, Philippe Marschall wrote: On 07/19/2011 09:41 PM, Esteban Lorenzano wrote: yes... there is a problem in latest vm's and UUID generation (I don't know if it is present at any vm or just mines, but well...). For the moment, faster solution is by deactivating uuid

[Pharo-project] squeaksource down?

2011-08-01 Thread Camillo Bruni
http://www.downforeveryoneorjustme.com/squeaksource.com

[Pharo-project] omit support in PetitParser

2011-08-10 Thread Camillo Bruni
I quickly hacked (with a lot of tests) support for omit in PetitParser. This should simplify some parsing efforts as an additional filtering step could be avoided. parser := ($ asParser omit, $ asParser negate star flatten, $ asParser omit) parser parse: 'asdfsd' yields directly

Re: [Pharo-project] got a surprising behavior

2011-08-10 Thread Camillo Bruni
so let's test this :D On 2011-08-10, at 23:33, Stéphane Ducasse wrote: Hi guys I got a really strange behavior: I integrated - Issue 4607: Refactor Debugger content:notifying:. Thanks Camillo Bruni. http://code.google.com/p/pharo/issues/detail?id=4607

Re: [Pharo-project] got a surprising behavior

2011-08-10 Thread Camillo Bruni
could not reproduce in a fresh image ;) On 2011-08-11, at 01:53, Camillo Bruni wrote: so let's test this :D On 2011-08-10, at 23:33, Stéphane Ducasse wrote: Hi guys I got a really strange behavior: I integrated - Issue 4607: Refactor Debugger content:notifying

Re: [Pharo-project] omit support in PetitParser

2011-08-11 Thread Camillo Bruni
Thanks for the vast answers and pointing out critical parts of the implementation. On 2011-08-11, at 08:14, Tudor Girba wrote: Hi, Camillo, thanks for taking an interest and for letting us know that you committed. Lukas, thanks for the answer. I would also like to add one comment: omit is

Re: [Pharo-project] omit support in PetitParser

2011-08-11 Thread Camillo Bruni
the PetitParser repository? sure sure remove it :) Cheers, Doru On 11 Aug 2011, at 15:14, Camillo Bruni wrote: Thanks for the vast answers and pointing out critical parts of the implementation. On 2011-08-11, at 08:14, Tudor Girba wrote: Hi, Camillo, thanks for taking

[Pharo-project] startup errors

2011-08-11 Thread Camillo Bruni
While working on Coral we encountered a rather annoying behavior of pharo images when starting up. We wanted to check if we can debug the CoralScriptLoader, but of corse since this happens at image startup time this is not a good idea… HOWEVER we were no longer able to run the image as it

Re: [Pharo-project] latest filesystem is unloadable

2011-08-15 Thread Camillo Bruni
The issue is the Version FS-Disk-cwp.2 which introduces most probably a rename and pushed down the Primitive var. Seems like whoever (cwp? I'd appreciate long names…) committed it forgot a piece ;) cami On 2011-08-15, at 23:31, Tudor Girba wrote: Hi, The bleeding edge version of

[Pharo-project] Zinc HTTPS

2011-08-19 Thread Camillo Bruni
I'm working on the various GitProtocols, amongst them is the normal HTTP version which in popular cases (like github) requires the SSL version. So is there somewhere an SSL version for Zinc? (even partially working ;) cheers cami

[Pharo-project] RBNodes accept vs. visit

2011-08-23 Thread Camillo Bruni
Hi everyone, I just had a quick look at the RBNodes. Is there a particular reason why the visitor pattern methods are prefixed on both sides with 'accept'? eg. RBArrayNode acceptVisitor: aProgramNodeVisitor ^ aProgramNodeVisitor acceptArrayNode: self camillo

Re: [Pharo-project] RBNodes accept vs. visit

2011-08-23 Thread Camillo Bruni
Girba tu...@tudorgirba.com wrote: Indeed, this is really confusing :). I am not aware of any particular reason. Doru On 23 Aug 2011, at 15:33, Camillo Bruni wrote: Hi everyone, I just had a quick look at the RBNodes. Is there a particular reason why the visitor pattern methods

Re: [Pharo-project] Hudson build became unstable: Pharo Core 1.3 #400

2011-08-23 Thread Camillo Bruni
the server caretaker.wolf359.be seems to be down or unreachable... On 2011-08-23, at 15:54, marcus.den...@inria.fr wrote: See https://pharo-ic.lille.inria.fr/hudson/job/Pharo%20Core%201.3/400/

Re: [Pharo-project] Using system fonts in Pharo

2011-08-24 Thread Camillo Bruni
that should load all the fonts which are installed on your system and make them avail in the font dialogs :). But you have to make sure that the Freetype Plugin is installed (the easiest way is to download one of the latest VMs from jenkins: https://ci.lille.inria.fr/pharo/view/Cog/). On

[Pharo-project] Exceptions with Continuations

2011-08-26 Thread Camillo Bruni
It always bugged me that SUnit has to rerun the tests again when you want to debug them. So I made a little use-case where exceptions have an optional continuation, so you can resume/debug them later on. Here's a small example: |e| [ 0 / 0 ] on: Error do: [ :error| e := error

Re: [Pharo-project] Exceptions with Continuations

2011-08-26 Thread Camillo Bruni
On 2011-08-26, at 16:02, Frank Shearar wrote: On 26 August 2011 14:54, Camillo Bruni camillo.br...@inria.fr wrote: It always bugged me that SUnit has to rerun the tests again when you want to debug them. So I made a little use-case where exceptions have an optional continuation, so you can

Re: [Pharo-project] Exceptions with Continuations

2011-08-26 Thread Camillo Bruni
. so I will implement it with an optional setting in the TestRunner. When you find an annoying test that won't run consistently you can rerun it with the continuation being recorded. Lukas On Friday, 26 August 2011, Camillo Bruni camillo.br...@inria.fr wrote: On 2011-08-26, at 16:02

Re: [Pharo-project] Exceptions with Continuations

2011-08-26 Thread Camillo Bruni
On Friday, 26 August 2011, Camillo Bruni camillo.br...@inria.fr wrote: On 2011-08-26, at 16:28, Lukas Renggli wrote: Storing a continuation per failure/error potentially consumes a lot of memory. Memory leaks are also the reason why SUnit doesn't even remeber the exception (which only refer

[Pharo-project] MorphLayout

2011-08-29 Thread Camillo Bruni
Hi, I am looking for a sort of FlowLayout which works the same way usually text is handled: All submorphs are put on a single line and wrapped when the border is hit. Is there already a layout which does this?

Re: [Pharo-project] MorphLayout

2011-08-30 Thread Camillo Bruni
. Morph new color: Color blue. Morph new color: Color orange}) cellInset: 10; wrapDirection: #topToBottom; openInWindow Regards, Gary - Original Message - From: Camillo Bruni camillo.br...@inria.fr To: Pharo Development pharo-project@lists.gforge.inria.fr Sent: Monday, August 29

[Pharo-project] Scriptable CompileMethod interface

2011-08-31 Thread Camillo Bruni
Today on the train I was a bit bored on what I can do with CompiledMethods… It seems like there are no inspection methods on CompiledMethods. Now I lets say I use Pharo from the command line (we're almost there…) then I would like to have a small interface to browse and navigate through

Re: [Pharo-project] Scriptable CompileMethod interface

2011-08-31 Thread Camillo Bruni
On 2011-09-01, at 00:54, Nicolas Cellier wrote: 2011/9/1 Camillo Bruni camillo.br...@inria.fr: Today on the train I was a bit bored on what I can do with CompiledMethods… It seems like there are no inspection methods on CompiledMethods. Now I lets say I use Pharo from the command line

  1   2   3   4   5   6   7   8   9   10   >