Re: [Pharo-dev] DND refactoring

2013-05-24 Thread Clément Bera
I like a lot these drag'n'drop refactorings. 2013/5/24 Sean P. DeNigris s...@clipperadams.com Carla F. Griggio wrote Actually when I use Pharo I use the mouse quite a lot Actually, me too. But only because I don't know any good ways to do what I want with the keyboard :/ On the

Re: [Pharo-dev] Memory leaks with Spec?

2013-05-27 Thread Clément Bera
2013/5/27 stephane ducasse stephane.duca...@free.fr we found the problem. It is not spec but the EyeInspector polling update. So we should find a solution. Probably it should register WindowClosed and kill the process. Actually the inspector is already registered on WindowClosed event. This

Re: [Pharo-dev] Spec: resizing columns/rows

2013-05-28 Thread Clément Bera
If you mean in the spec description class side, then it is : newRow: aBlock height: aNumber newColumn : aBlock width: aNumber If you mean when the window is opened, how to resize the subpanels, you need to add splitters between the panels. Ex : ^ SpecLayout composed add: #firstItem origin: 0@0

Re: [Pharo-dev] using fogbugz for other projects (like moose)

2013-05-31 Thread Clément Bera
Actually in fogbugz you have project and area. For example if you create a bug on project Mate you can choose between Mate DSL, Mate SSA or Virtual CPU in the area select box. So you could do something similar for moose and then we would only see 1 label moose in project select box. So I think

Re: [Pharo-dev] zeroconf --headless/-headless

2013-05-31 Thread Clément Bera
Hey, Now the argument are with: - - no ? It should be --headless ? I'm not sure. Camillo has probably already fixed it reading your mail anyway 2013/5/31 Andrei Vasile Chis chisvasileand...@gmail.com Hi, If I try to execute './pharo Pharo.image' after downloading the latest Pharo Vm with

Re: [Pharo-dev] Debugger: why generated accessors #shouldBeImplemented?

2013-06-06 Thread Clément Bera
Answered on fogbugz. 2013/6/6 Sean P. DeNigris s...@clipperadams.com 10220 Debugger-generated accessors send #shouldBeImplemented The debugger offered me the following implementation: description: aByteString self shouldBeImplemented. description := aByteString What's with line

Re: [Pharo-dev] Pharo asO2Node error

2013-06-09 Thread Clément Bera
hey, What university are you in ? In your case I guess you can do 'self delete' In a class method self represents the class not the instance. 2013/6/9 Palindrom sertac.o...@gmail.com Hi, Thank you for your answer.. My university say that you must use this.. I guess they do not know how

Re: [Pharo-dev] Cairo vs openGL

2013-06-12 Thread Clément Bera
I asked Igor a few weeks ago. Basically his answers were : Cairo is for 2D. OpenGL is for 3D. If you do 2D with openGL it is possible but much more complex : a lot of API are missing fr 2D rendering. Moreover, Cairo is faster for 2D. Then other guys than me can give other explanations.

Re: [Pharo-dev] Object#if:then:else:

2013-06-18 Thread Clément Bera
I don't like this new structure. Then people coming from non object language using all the time control structure will do : #someRandomObject if: then: else: thinking of doing a C style condition and not using at all the receiver. I like how it is now. 2013/6/18 kilon theki...@yahoo.co.uk

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-18 Thread Clément Bera
On Javascript, there are : - onkeypress - onkeydown - onkeyup I think we should have same API than other languages, especially popular ones. So 1 of these 3 would be the best for me. Why not onKeyPress:do: ? 2013/6/18 Goubier Thierry thierry.goub...@cea.fr Additionally, this is

Re: [Pharo-dev] Block Printing in 3.0

2013-06-19 Thread Clément Bera
2013/6/19 Damien Cassou damien.cas...@gmail.com On Wed, Jun 19, 2013 at 9:35 AM, Sven Van Caekenberghe s...@stfx.eu wrote: Yes, for end users, improving the debugger based on Opal should be the next step. when do we activate the new debugger by default? We cannot activate both Opal and

Re: [Pharo-dev] Startup preferences

2013-06-21 Thread Clément Bera
It should be. You have to put the script in ~/Library/Preferences/pharo/ You can check the startup script of Camillo in its github repository ( https://github.com/dh83/script/blob/master/pharo-preferences.st). 2013/6/21 Stéphane Ducasse stephane.duca...@inria.fr Hi guys I want to write

Re: [Pharo-dev] [update 3.0] #30221

2013-06-25 Thread Clément Bera
No actually we changed our mind and there is still the old debugger by default. But there is the new inspectors by default. The ObjectExplorer uses the new inspector instead of the old one, so it is kind of new too. I fixed the objectExplorer for compatibility with the new inspectors (in 30221 it

Re: [Pharo-dev] [update 3.0] #30221

2013-06-25 Thread Clément Bera
2013/6/25 Andrei Vasile Chis chisvasileand...@gmail.com 10817 Spec inspector https://pharo.fogbugz.com/f/cases/10817/ WARNING: This change sets new debugger as default :) Had a quick look and saw that the old debugger is still the default one. Yeah that was a miscommunication

Re: [Pharo-dev] Boolean

2013-06-26 Thread Clément Bera
I guess they are too many ... At some point what would be nice is to define some class and API as 'system' or 'meta' that you can only use if you are in root mode and your project would be in some kind of sandbox. But this is too much work to implement this in a way stable enough for a release..

Re: [Pharo-dev] Boolean

2013-06-27 Thread Clément Bera
2013/6/27 Levente Uzonyi le...@elte.hu On Wed, 26 Jun 2013, Guillermo Polito wrote: On Wed, Jun 26, 2013 at 11:20 PM, Levente Uzonyi le...@elte.hu wrote: On Wed, 26 Jun 2013, Clément Bera wrote: Actually this code: True basicNew ifTrue: [ some code

Re: [Pharo-dev] Sprint tomorrow

2013-06-27 Thread Clément Bera
I confirm.The sprint will happen tomorrow in Lille. 2013/6/27 p...@highoctane.be p...@highoctane.be Hello, Is the sprint occuring in Lille tomorrow? I'd be glad to join but want to be sure it happens. Regards, Phil -- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue

[Pharo-dev] thisContext usecases

2013-07-09 Thread Clément Bera
Hello pharoers, Recently I have been looking at the Pharo thisContext capabilities, in order to perhaps one day in the far future edit its implementation with the Pharo dev team. Nothing is planned or confirmed, it is just to discuss. A context has instances variables (method closureOrNil

Re: [Pharo-dev] thisContext usecases

2013-07-09 Thread Clément Bera
2013/7/9 Stefan Marr smallt...@stefan-marr.de Hi Clément: On 09 Jul 2013, at 10:15, Clément Bera bera.clem...@gmail.com wrote: Now I'd like to know what context's state do we modify, and what states are just internal representations ? I extended my VM with additional information

Re: [Pharo-dev] the return of the strange methods

2013-07-09 Thread Clément Bera
They may be useful. Imagine you are too lazy to create a subclass of Error, but not lazy enough to create a test and copy paste a String. Then you write in your method: self error: 'some strange error happened' And you can test it: self shouldnt: [ some strange code ] raise: Error

Re: [Pharo-dev] Some Spec questions

2013-07-10 Thread Clément Bera
Hello, So in the current spec debugger, the receiver's inspector widget is changed dynamically. Even if it looks like the same because it is always an inspector, it is not the same widget (could be any subclass of EyeInspector depending on receiver's type). So it is possible to change the main

Re: [Pharo-dev] Some Spec questions

2013-07-12 Thread Clément Bera
Andrei, Clara, What about integrating the new debugger by default now ? I mean the new debugger is now in Pharo 3.0 alpha but the old debugger is still triggered by default, for example when you do Cmd+Maj+d or when you set the setting 'Always open full debugger'. We (Marcus and I) would like to

Re: [Pharo-dev] opal bug with the old debugger

2013-07-15 Thread Clément Bera
Hi, Actually I saw the bug, tried in the new debugger, it worked. So I didn't fix it because the new debugger will be integrated before the release. 2013/7/14 Andrei Vasile Chis chisvasileand...@gmail.com Hi, Executing '1 haba' in a workspace and then choosing create method from the pre

Re: [Pharo-dev] Monticello deleting all code

2013-07-22 Thread Clément Bera
I don't know sometimes it happens when I click on the wrong repository on monticello browser. Then the selected package is not present on this uncorrect repository so it shows all method as deleted. (If it happened to you after a huge amount of time spent on working on Pharo it might be that :) )

Re: [Pharo-dev] unwinding the stack

2013-07-22 Thread Clément Bera
2013/7/23 Stéphane Ducasse stephane.duca...@inria.fr On Jul 23, 2013, at 12:25 AM, Eliot Miranda eliot.mira...@gmail.com wrote: On Mon, Jul 22, 2013 at 1:58 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys I'm trying to explain the following sentence (I wrote long time

Re: [Pharo-dev] thisContext and block

2013-07-25 Thread Clément Bera
]. b2 value]. b1 value Ignore the bN appears to be undefined at this point and evaluate the above. No assert fails. Draw a picture. Stef On Jul 23, 2013, at 6:58 AM, Clément Bera bera.clem...@gmail.com wrote: This is because of compilation optimization. 2013/7/22 Stéphane

Re: [Pharo-dev] thisContext and block

2013-07-25 Thread Clément Bera
and evaluate the above. No assert fails. Draw a picture. Stef On Jul 23, 2013, at 6:58 AM, Clément Bera bera.clem...@gmail.com wrote: This is because of compilation optimization. 2013/7/22 Stéphane Ducasse stephane.duca...@inria.fr Hi when I execute the following first Bexp new

Re: [Pharo-dev] much better version of the block chapter

2013-07-28 Thread Clément Bera
The continuation class is here since Pharo 3. It is not relevant to put it in the chapter because the release of Deep into Pharo will be before Pharo 3. 2013/7/28 Stéphane Ducasse stephane.duca...@inria.fr Thanks a lot for this! I realized that I'm slow but at the end I often write on

[Pharo-dev] Mariano BehaviormethodDict

2013-08-09 Thread Clément Bera
Hello Mariano and others, In Pharo there is a method: BehaviormethodDict methodDict == nil ifTrue: [^ MethodDictionary new ]. ^ methodDict It seems (according to the latest author) that it is Mariano who changed it from: BehaviormethodDict methodDict == nil ifTrue: [self error:

Re: [Pharo-dev] adding temporary adds them outside the temp declaration?

2013-08-11 Thread Clément Bera
This is in Pharo 3, isn't it ? There are currently bugs with Opal's exception handing in Pharo 3.0. It was fixed then some other changes broke it again. So yeah it is known. You might have bug with: OCShadowVariableWarning. OCUndeclaredVariableWarning. OCUninitializedVariableWarning.

Re: [Pharo-dev] bug with new inspector?

2013-08-12 Thread Clément Bera
yeah it tries to do 'bag at: 1' which fails. How would look like a nice bag inspector ? 2013/8/11 Stéphane Ducasse stephane.duca...@inria.fr (Bag new add: 3 ; add: 3 ; add: 3 ; add: 2 ;yourself) inspect we got an error when trying to see the second element. Stef

Re: [Pharo-dev] bug with new inspector?

2013-08-12 Thread Clément Bera
2013/8/12 Stéphane Ducasse stephane.duca...@inria.fr On Aug 12, 2013, at 10:15 AM, Clément Bera bera.clem...@gmail.com wrote: 2013/8/12 Stéphane Ducasse stephane.duca...@inria.fr yeah it tries to do 'bag at: 1' which fails. How would look like a nice bag inspector ? same as set

Re: [Pharo-dev] [update 3.0] #30331

2013-08-12 Thread Clément Bera
Wow ! That's a lot :) Pharo's improving. 2013/8/12 Stéphane Ducasse stephane.duca...@inria.fr 30331 - - issue 11312 Kernel packages are extending non-kernel packages https://pharo.fogbugz.com/default.asp?11312 - issue 11182 Button should have default state to false

Re: [Pharo-dev] Questions about spec

2013-08-13 Thread Clément Bera
I've just realized there was the MultiColumnListModel. Sorry for this mail. 2013/8/13 Clément Bera bera.clem...@gmail.com Hey guys, How do you detect when the user scroll in an element of a window in spec ? I would like to use the event 'whenListScroll:' or something like that but I don't

Re: [Pharo-dev] doLayoutIn: killing the image

2013-08-15 Thread Clément Bera
try to switch to the old debugger and retry. Smalltalk tools register: Debugger as: #debugger. might be related to the image crash. Le 15 août 2013 10:45, Stéphane Ducasse stephane.duca...@inria.fr a écrit : probably that show: invokes somehow doLayoutIn: Stef On Aug 15, 2013, at 10:23 AM,

Re: [Pharo-dev] Debugger recursion

2013-08-27 Thread Clément Bera
Hello, Are you on Pharo 2 or 3 ? In Pharo 2, debugging or inspecting with ProtoObject subclasses resulted in infinite loops or image crashes. I tried to have a look with the new debugger and inspectors in Pharo 3 but there is still some work to do. 2013/8/24 jan.struz public+ph...@struz.cz

Re: [Pharo-dev] Compilation code in grease not compatible with Pharo 3.0

2013-08-27 Thread Clément Bera
I didn't check (I'm not on my laptop) but I would say the problem is that CompiledMethodWithNode does not exist any more. Something like that would fix it: GRPharoPlatformcompile: aString into: aClass classified: aSymbol The trick here is to be as silently a possible so that the package is

Re: [Pharo-dev] Debugger 'thisContext' variable name change to 'self'

2013-09-11 Thread Clément Bera
Hello, Actually I ported this inspector to Spec and I forgot to change the label. To me this is a bug. I opened bug 11576 https://pharo.fogbugz.com/default.asp?11576 . A slice is in inbox. I guess it will be in Pharo 3 before the end of the day. Thanks for the feedback :) Clement 2013/9/11

Re: [Pharo-dev] About Morphic Documentation

2013-09-19 Thread Clément Bera
2013/9/19 kilon theki...@yahoo.co.uk This is why I insist on collecting things on one place, inside pharo. Web is all over the place, its great for finding information and for getting people work together , but not great learning things you are not familiar with. Why not having the

[Pharo-dev] bytecode table

2013-09-19 Thread Clément Bera
Hey, Yesterday I printed the bytecode set of Pharo / Squeak (named SqueakV3PlusClosure) in a nice way to have a better overview. Perhaps some people will be interested in it. You can print it on a A3. Best, PS: Thanks Guille for the page layout, margins and stuff. ByteCode.pdf Description:

Re: [Pharo-dev] How to find a not defined class in my image?

2013-09-23 Thread Clément Bera
Hello, Smalltalk at: #MyClassName = raise KeyNotFound Error if MyClassName does not exist = answers MyClassName if the class exists 2013/9/23 Sabine Knöfel sabine.knoe...@gmail.com Hi, I am looking for a way to find out, if I have Classes referenced in my image which are not defined. I

Re: [Pharo-dev] What is WeakActionSequence?

2013-10-04 Thread Clément Bera
This is a good question I was always wondering. I think it is related to event triggered in DependentFields of Object. It triggers several events. Weak because somehow there are weak event handled without weak references, probably due to the lack of ephemerons. (in some case the activation of the

Re: [Pharo-dev] [update 3.0] #30456

2013-10-06 Thread Clément Bera
Is it me or recently there was many more updates on Pharo than it used to be ? Last week I saw 9 to 15 updates per day instead of the usual 3. Do we have even more contributors ? 2013/10/6 Marcus Denker marcus.den...@inria.fr 30456 - 11789 Trivial Critic clean in *Completion

Re: [Pharo-dev] Pharo Sprint Lille 18th October

2013-10-08 Thread Clément Bera
Who will spend its day integrating fixes ? (If not Marcus) 2013/10/8 Stéphane Ducasse stephane.duca...@inria.fr 06 30 93 66 73 in case of problem stef On Oct 8, 2013, at 5:08 PM, Marcus Denker marcus.den...@inria.fr wrote: On Oct 8, 2013, at 4:07 PM, p...@highoctane.be wrote:

Re: [Pharo-dev] [Job] One time Pharo job

2013-10-09 Thread Clément Bera
I didn't get it, what company does want this consultant ? 2013/10/9 Marcus Denker marcus.den...@inria.fr I have no other information about this: Job Description - I need a part time freelancing consultant versed in Pharo (a version of smalltalk) for a preliminary

Re: [Pharo-dev] SmalltalkHub red

2013-10-09 Thread Clément Bera
I'd say something related to RPackage instead of packageInfo. Esteban can give you a clue. 2013/10/9 Yuriy Tymchuk yuriy.tymc...@me.com So SmalltalkHub went red for about a week ago https://ci.inria.fr/pharo-contribution/job/SmalltalkHub/. The issue is related to grease stuff, because while

Re: [Pharo-dev] Please contributors fill up this form...

2013-10-09 Thread Clément Bera
Is the mail display on the website a joke on purpose ? For example, I get on my screen: $@ join: #('guillermopolito' 'gmail.com') instead of: guillermopol...@gmail.com I don't know if it is nice to have that non smalltalker may read this page and my not understand. Best, 2013/10/9 Sven Van

Re: [Pharo-dev] ShortRunArray not in Pharo 3.0 anymore, leading to problems with FFI-Kernel-tbn.25

2013-10-09 Thread Clément Bera
I guess we can put back ShortRunArray, RunArray and the 3rd one. It was in Ballon, but there were no users in the image, so I removed them. We need to support FFI without NativeBoost I guess, or we would need to reimplement all what was done with FFI in NativeBoost. 2013/10/9 p...@highoctane.be

Re: [Pharo-dev] Question about Opal

2013-10-18 Thread Clément Bera
Hello. anAST methodNode methodClass: aClass. anAST doSemanticAnalysis. You can create the method in RBProgramNode to directly call it if you need it: RBProgramNodedoSemanticAnalysisIn: aClass self methodNode methodClass: aClass. self doSemanticAnalysis. If you make a slice with this

Re: [Pharo-dev] Unwind error during termination

2013-10-22 Thread Clément Bera
Hello, I'm interested. Please send me the image in private mail not to overload the mailing list with large attachment. Alternatively, give me a place where I can download it. The steps to reproduce are: open the image, execute 1halt, close debugger ? Best, 2013/10/22 b...@openinworld.com

Re: [Pharo-dev] Unwind error during termination

2013-10-24 Thread Clément Bera
will try to find some time to look at this problem. Though it is not an easy one it will take some time to be fixed. 2013/10/24 b...@openinworld.com ** Clément Bera wrote: Hello, I'm interested. Please send me the image in private mail not to overload the mailing list with large attachment

Re: [Pharo-dev] Unwind error during termination

2013-10-24 Thread Clément Bera
OK I'll wait for another use case or until it happened to me. Like a usecase from a fresh image. It's just it may be due to the new inspector, new debugger or new compiler. Just wondering. 2013/10/24 Eliot Miranda eliot.mira...@gmail.com On Thu, Oct 24, 2013 at 12:10 AM, Clément Bera

Re: [Pharo-dev] Are there still halos in Pharo 3.0?

2013-10-29 Thread Clément Bera
Well I use them all the time. I press shift then while shift is still pressed I select an area and all morphics inside are trapped in the halo. Very useful to delete multiple morphics at once. 2013/10/29 Nicolas Cellier nicolas.cellier.aka.n...@gmail.com Thanks Esteban, It works perfectly. I

Re: [Pharo-dev] Unwind error during termination

2013-10-29 Thread Clément Bera
(Igor speaking with Clement) Another, tangent. I feel extremely wrong with given piece of code (however it works): [ ^ 2 ] ensure: [ ^ 5 ] my point, that you cannot return from same context twice, and what happens here is really weird. Or even more weird: [ ^ 2 ] ifCurtailed: [ ^ 5 ] or

Re: [Pharo-dev] CI

2013-10-30 Thread Clément Bera
I tried. Got *Error #500* error :Empty or too short HTTP message: '' I think this is due to yesterday maintenance. It will be fixed soon. For further informations, mails from the CI guys (both sent yesterday): mail1 Dear users, A maintenance has to be performed on the network hardware of the

Re: [Pharo-dev] Losing instance variable addition

2013-10-31 Thread Clément Bera
Basically here we discuss how to introduce in Pharo stateful class extension and stateful traits. I like these features a lot because it means I would be able to reuse the same class differently depending on the context and the surrounding classes. But if we overuse that we will definitely go into

Re: [Pharo-dev] Duplicate IVs | Bug or feature?

2013-11-04 Thread Clément Bera
Hey, This is a feature but it had side effect problems. For instance, in the inspector you can see twice the instance variable of that name, 1 being nil and the other one having the correct value. Therefore in Pharo 3.0 with the new class builder / object layout this feature was removed. Now

Re: [Pharo-dev] Text fixed Bug? emergency evaluator comes up in 3.0

2013-11-08 Thread Clément Bera
Hello, *1) I asssume that my task is to test it? If the test would be ok, should I click on resolve in Fog Buz?* So basically when you resolved your bug, you added a slice and put the status fix review needed. Then, the monkey (which is a script) took the latest pharo image, added your slice

Re: [Pharo-dev] Unexpected block variable change of value

2013-11-11 Thread Clément Bera
There is a bug left in double nested blocks in the debugger (some variables then shows incorrect value). Retry with the old compiler (world menusettingscompilerCompiler) and see if this is fixed. 2013/11/11 Max Leske maxle...@gmail.com Not sure if it’s related to your issue but I’ve been

Re: [Pharo-dev] help needed with fixing the SpecDebugger

2013-11-12 Thread Clément Bera
Camillo we should have a look together. Are you at work today ? 2013/11/11 Tudor Girba tu...@tudorgirba.com Hi, I need a bit of help with the issue of the SpecDebugger relying on the default inspector being implemented in Spec. I investigated a bit, but now I am stuck. Details here:

Re: [Pharo-dev] Remove Class Category

2013-11-12 Thread Clément Bera
Hello, I would look at: SystemOrganizerremoveCategory: and you access it with: Smalltalk organization But I'm not sure it will help you. 2013/11/11 Jimmie Houchin jlhouc...@gmail.com Hello, I am wanting to write a method which uninstalls all of the Classes which I have created. I have

Re: [Pharo-dev] Unexpected block variable change of value

2013-11-12 Thread Clément Bera
not SpecRowLayoutprivateAsArray. regards, Ben Clément Bera wrote: There is a bug left in double nested blocks in the debugger (some variables then shows incorrect value). Retry with the old compiler (world menusettingscompilerCompiler) and see if this is fixed. 2013/11/11 Max Leske maxle

Re: [Pharo-dev] help needed with fixing the SpecDebugger

2013-11-12 Thread Clément Bera
for a nice assessment case study. Cheers, Doru On Tue, Nov 12, 2013 at 9:50 AM, Clément Bera bera.clem...@gmail.comwrote: Camillo we should have a look together. Are you at work today ? 2013/11/11 Tudor Girba tu...@tudorgirba.com Hi, I need a bit of help with the issue

Re: [Pharo-dev] PharoV20.source

2013-11-12 Thread Clément Bera
Hello, Currently the idea is to put the source file as a compressed AST in the image. The status is: - standard AST is 300Mb for the whole image, which is too much - standard AST with nodes shared between RBMethodNodes (made by Camille) is 16Mb, so already half the size of the current sources -

[Pharo-dev] Fwd: Fwd: [Pharo-users] State of Flamel?

2013-11-14 Thread Clément Bera
camille.ter...@gmail.com Begin forwarded message: *From: *Clément Bera bera.clem...@gmail.com *Subject: **[Pharo-dev] Fwd: [Pharo-users] State of Flamel?* *Date: *14 novembre 2013 13:05:32 UTC+1 *To: *Discusses Development of Pharo pharo-dev@lists.pharo.org, step...@stack.nl *Reply-To: *Pharo

Re: [Pharo-dev] Tuning Opal Optimizations

2013-11-20 Thread Clément Bera
2013/11/20 Eliot Miranda eliot.mira...@gmail.com On Wed, Nov 20, 2013 at 8:47 AM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: The only thing that annoyed me is that I failed to discover the incantation thru sender/implementor chain because some messages are constructed...

Re: [Pharo-dev] is this ok?

2013-11-22 Thread Clément Bera
Well this had been here for a while. I discovered it because it was triggered :). But it is very rare that this is triggered. Now when I look into the latest Pharo 3, this halt is not present. So I guess Andrei fixed it when we switched to the new debugger. 2013/11/22 Esteban Lorenzano

Re: [Pharo-dev] VM with fragmented memory

2013-11-25 Thread Clément Bera
Hello, To answer your question, V8 definitely supports memory segments. I don't know about papers but in the code each segment is an instance of Heap (see heap.cc and heap.h in the source). The 2 young spaces are in another contiguous segment of 8Mb. Each segment of V8 are one of this kind (all

Re: [Pharo-dev] [Vm-dev] Frequent SegFaults in PharoVM with Pharo 3.0

2013-11-25 Thread Clément Bera
Yeah you cannot compile without inlining specific messages. You can disable inlining of #timesRepeat: at image level because we added it for fun to see if it was easy to do in Opal. Now all other optimizations were in the old compiler and are mandatories. However, you can now in Opal disable these

Re: [Pharo-dev] VM with fragmented memory

2013-11-25 Thread Clément Bera
Eliot do you think we could earn performance on Cog just by editing its settings ? I mean for example the settings: - number of PICs maximum case - JIT cache size - ... If we had something (like a job on a build server) that would try all the values in a range possible for each setting, I mean

Re: [Pharo-dev] The Second Coming of Java article

2013-11-26 Thread Clément Bera
To have Java running on top of Pharo (which means on top of Cog), you would need to have as they did in STX, a JIT compatible with java bytecode, an interpreter for java bytecode, runtime objects such as JavaContext, ... It is at least 1 year of work for an expert in virtual machines (I think

Re: [Pharo-dev] Nautilus no longer guards against changed methods

2013-11-26 Thread Clément Bera
I lost a lot of changes because of that too. Very boring bug. 2013/11/26 Stephan Eggermont step...@stack.nl Chris wrote: Sean wrote: In general in UIs, he best approach is to do what the user requests without hesitation, and make everything undoable. Ah, thanks for saying that.

Re: [Pharo-dev] [Vm-dev] Frequent SegFaults in PharoVM with Pharo 3.0

2013-11-26 Thread Clément Bera
, Clément Bera bera.clem...@gmail.com wrote: Yeah you cannot compile without inlining specific messages. You can disable inlining of #timesRepeat: at image level because we added it for fun to see if it was easy to do in Opal. Now all other optimizations were in the old compiler and are mandatories

Re: [Pharo-dev] [Review needed] fix for Pharo2 text highlighting incorrect

2013-11-28 Thread Clément Bera
Are you talking about text highlighting in the debugger or is this not related ? 2013/11/28 Goubier Thierry thierry.goub...@cea.fr Le 27/11/2013 20:36, Stéphane Ducasse a écrit : That's me the solution provided doesn't work very well either. I would need to spend time on the code

Re: [Pharo-dev] Stepping through with GLORP Proxies

2013-11-30 Thread Clément Bera
Hello, 2013/11/30 Eliot Miranda eliot.mira...@gmail.com On Fri, Nov 29, 2013 at 2:22 PM, Esteban A. Maringolo emaring...@gmail.com wrote: 2013/11/29 Eliot Miranda eliot.mira...@gmail.com: On Fri, Nov 29, 2013 at 1:06 PM, Marcus Denker marcus.den...@inria.fr wrote: On 29 Nov 2013,

Re: [Pharo-dev] Stepping through with GLORP Proxies

2013-12-01 Thread Clément Bera
One thing with Pharo 3.0 is that the debugger is quite different than it used to be. It is now split into a model (DebugSession + DebugContext) and the view, SpecDebugger. I don't know what Eliot does have to change but the new code may require some extra work due to the debugger being different.

Re: [Pharo-dev] Stepping through with GLORP Proxies

2013-12-02 Thread Clément Bera
, 2013 at 11:44 AM, Clément Bera bera.clem...@gmail.comwrote: One thing with Pharo 3.0 is that the debugger is quite different than it used to be. It is now split into a model (DebugSession + DebugContext) and the view, SpecDebugger. I don't know what Eliot does have to change but the new code

Re: [Pharo-dev] Opal hook?

2013-12-03 Thread Clément Bera
Well if the class does not exists it calls the method on UndefinedObject (UndeclaredBinding). And you have: UndefinedObjectsubclass: nameOfClass instanceVariableNames: instVarNames classVariableNames: classVarNames poolDictionaries: poolDictnames category: category Calling this method is now

Re: [Pharo-dev] Versionner CI?

2013-12-03 Thread Clément Bera
The jobs's on Rmod: https://ci.inria.fr/rmod/job/Versionner/ 2013/12/3 Sean P. DeNigris s...@clipperadams.com I was surprised there was no job on community contributions... - Cheers, Sean -- View this message in context: http://forum.world.st/Versionner-CI-tp4726899.html Sent

[Pharo-dev] Spec table problem

2013-12-03 Thread Clément Bera
This example I used to have does not work any more in the latest Pharo 3: tree := TreeModel new. tree openWithSpec. tree columns: (Array with: (TreeColumnModel new displayBlock: [:node | node content first asString ]; headerLabel: 'Name'; yourself) with: (TreeColumnModel new displayBlock:

Re: [Pharo-dev] Opal hook?

2013-12-03 Thread Clément Bera
Then for your project replace ProtoObject by StubRootClass in UndefinedObjectsubclass:instanceVariableNames:classVariableNames: poolDictionaries:category: it will work. An alternative is to catch OCSemanticWarning or its subclass OCUndeclaredVariableWarning while loading the new classes and

Re: [Pharo-dev] Opal hook?

2013-12-03 Thread Clément Bera
asSymbol in: OCUndeclaredVariableWarning defaultAction which then later triggers the code in UndefinedObject. 2013/12/3 Stéphane Ducasse stephane.duca...@inria.fr On Dec 3, 2013, at 11:20 AM, Clément Bera bera.clem...@gmail.com wrote: Then for your project replace ProtoObject

Re: [Pharo-dev] explore is broken

2013-12-03 Thread Clément Bera
It works in 30615 but is broken in 30616. No one knows about it yet I guess because 30616 is from today. The bug is from the one of the 30616 change. Can someone with a good Spec knowledge have a look at it ? 2013/12/3 Oscar Nierstrasz @ gmail oscar.nierstr...@gmail.com There is something

Re: [Pharo-dev] CompiledMethod#= is broken

2013-12-03 Thread Clément Bera
Marcus/Esteban I opened the bug and it is ready to integrate. https://pharo.fogbugz.com/f/cases/12331/Fixed-CompiledMethod 2013/12/3 Eliot Miranda eliot.mira...@gmail.com On Tue, Dec 3, 2013 at 11:27 AM, Eliot Miranda eliot.mira...@gmail.comwrote: On Tue, Dec 3, 2013 at 9:49 AM, Oscar

Re: [Pharo-dev] Open vs Closed issues visualised

2013-12-05 Thread Clément Bera
Does that mean we closed around 2000 issues since May ? And all the time there were around 100 issues opened ? 2013/12/5 Marcus Denker marcus.den...@inria.fr start is may this year... Untitled 3.png

Re: [Pharo-dev] Smalltalk in a C World

2013-12-09 Thread Clément Bera
How can people even know Smalltalk MT still exist with their website and their communication ? I looked at other Smalltalks a while ago, for Smalltalk MT I clicked on what's new on their website and I got that: [image: Images intégrées 1] Then I thought this Smalltalk was dead (nothing new in

Re: [Pharo-dev] [OT] Data structure visualizations

2013-12-19 Thread Clément Bera
This is amazing. These visualizations, Breadth-First Search and Depth-First Search, are really cool. I use them all the time and learnt them from a compiler book, but in the book you cannot see things moving around :). 2013/12/18 Sebastian Sastre sebast...@flowingconcept.com Making those

[Pharo-dev] FFI loadable in Pharo 3.0

2013-12-20 Thread Clément Bera
Hello, https://pharo.fogbugz.com/f/cases/12438/Old-FFI-Check-that-it-is-parsed-correctly-and-works I was fixing this bug with Guille today. You can load FFI with the Configuration browser. Please try to load, use it and review the issue. We also added the new configuration in the old metacello

[Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Clément Bera
Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte code for #== in the compiler to be able to override == ?

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Clément Bera
of performance (just removed 1 indirection). 2014/1/6 Frank Shearar frank.shea...@gmail.com On 6 January 2014 11:11, Nicolai Hess nicolaih...@web.de wrote: 2014/1/6 Clément Bera bera.clem...@gmail.com Hello, here I have a class A== ^ true Now: a := A new. b := A new

Re: [Pharo-dev] logCr in SpecDebugger

2014-01-09 Thread Clément Bera
No. Please remove it. 2014/1/9 Esteban Lorenzano esteba...@gmail.com Hi, I found this in SpecDebugger#updateCodeFromContext: ... self logCr: aContext receiver class. ... is there any any reason? Esteban

Re: [Pharo-dev] bugs with blocks

2014-01-27 Thread Clément Bera
Hello, I don't think this line was there by mistake. In some cases, the activePC with this code is lower than the startpc and then the debugger shows an error 'no ast node found at this pc' and cannot properly highlight the current executed code because the pc is outside the method bytecode. I

Re: [Pharo-dev] bugs with blocks

2014-01-27 Thread Clément Bera
: On 27 janv. 2014, at 09:28, Clément Bera bera.clem...@gmail.com wrote: Hello, I don't think this line was there by mistake. In some cases, the activePC with this code is lower than the startpc and then the debugger shows an error 'no ast node found at this pc' and cannot properly highlight

Re: [Pharo-dev] subscript out of bounds in protocol creation

2014-01-31 Thread Clément Bera
I had the same problem. I had to reload my project from a fresh image to solve it. Very hard to reproduce. In addition, after editing a few method you cannot anymore edit the class comment (you need to open another Nautilus to do it). 2014/1/31 Jordi Delgado jdelg...@lsi.upc.edu Hi, I

Re: [Pharo-dev] When code performs super...

2014-02-03 Thread Clément Bera
Right, that's why there's #perform:withArguments:inSuperclass: . Amazingly, #perform:withArguments:inSuperclass: works only if the superclass is in the lookup chain but does not necessarily requires the direct superclass. Let's say A inherits from B inherits from C. Afoo ^ #c Bfoo ^ #b

[Pharo-dev] Smalltalk job

2014-02-05 Thread Clément Bera
Hiring now! Searching for a Smalltalk Developer - 6 month (renewable) contract with a major direct client in Omaha Nebraska! Call or email Natalie Wharton: # 630.465.7833 nwhar...@cssus.net Major qualifications, * 3+ years of Smalltalk, preferably VisualWorks * 3+ years of relational database,

Re: [Pharo-dev] OpalCompiler and Semantic analyzer

2014-02-05 Thread Clément Bera
Arf you are too fast to fix bugs we don't have time to review :-) I guess Marcus or I will have a look friday afternoon, if possible before. Regards. 2014-02-05 Nicolai Hess nicolaih...@web.de: 2014-02-03 Nicolai Hess nicolaih...@web.de: Can someone with some background knowledget on the

Re: [Pharo-dev] What will change in Pharo with Spur the new Cog memory manager ...

2014-02-06 Thread Clément Bera
than they used to due to the lack of full GC pauses. Now that's the theory we need to make it real and this summer we will see... On Feb 6, 2014, at 12:48 PM, Clément Bera bera.clem...@gmail.com wrote: Hello pharoers, The new Cog memory manager, Spur, is simply *amazing*. I saw at FOSDEM

Re: [Pharo-dev] Log of the february dev meeting

2014-02-23 Thread Clément Bera
Hello, 2014-02-23 14:51 GMT+01:00 Alexandre Bergel alexandre.ber...@me.com: Hi! What is PharoS? For marketing, Cog VM = Pharo VM Stack VM = PharoS VM Alexandre Le 22-02-2014 à 7:44, Pharo4Stef pharo4s...@free.fr a écrit : HI guys we did not have a full team meeting since

Re: [Pharo-dev] LargePositiveInteger indexIfCompact isZero (inconsistency)

2014-02-24 Thread Clément Bera
Hello, Try : Smalltalk compactClassesArray at: 5 put: nil. LargePositiveInteger becomeUncompact. LargePositiveInteger becomeCompactSimplyAt: 5. then: LargePositiveInteger indexIfCompact. is correct. Same script is needed for LargeNegativeInteger. I think this bug is due to the introduction

  1   2   3   4   5   >